lakutata 2.0.11 → 2.0.13

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 (142) hide show
  1. package/com/database.cjs +13 -3
  2. package/com/database.mjs +13 -3
  3. package/com/docker.cjs +6 -2
  4. package/com/docker.d.ts +39 -11
  5. package/com/docker.mjs +6 -2
  6. package/com/logger.cjs +2 -2
  7. package/com/logger.mjs +2 -2
  8. package/decorator/orm.cjs +21 -11
  9. package/decorator/orm.mjs +13 -3
  10. package/helper.cjs +12 -12
  11. package/helper.d.ts +559 -82
  12. package/helper.mjs +5 -5
  13. package/lakutata.cjs +2 -2
  14. package/lakutata.mjs +2 -2
  15. package/orm.cjs +13 -3
  16. package/orm.mjs +39 -29
  17. package/package.json +2 -4
  18. package/src/components/Database.cjs +17 -7
  19. package/src/components/Database.mjs +13 -3
  20. package/src/components/Logger.cjs +2 -2
  21. package/src/components/Logger.mjs +2 -2
  22. package/src/components/docker/ConnectionOptionsBuilder.cjs +6 -2
  23. package/src/components/docker/ConnectionOptionsBuilder.mjs +6 -2
  24. package/src/components/docker/Docker.cjs +10 -3
  25. package/src/components/docker/Docker.mjs +10 -3
  26. package/src/components/docker/lib/DockerContainer.cjs +10 -6
  27. package/src/components/docker/lib/DockerContainer.mjs +6 -2
  28. package/src/components/docker/lib/DockerContainerTTY.cjs +6 -2
  29. package/src/components/docker/lib/DockerContainerTTY.mjs +6 -2
  30. package/src/components/docker/options/container/ContainerSettingOptions.cjs +4 -0
  31. package/src/components/docker/options/container/ContainerSettingOptions.mjs +4 -0
  32. package/src/decorators/orm/AfterInsert.cjs +13 -3
  33. package/src/decorators/orm/AfterInsert.mjs +17 -7
  34. package/src/decorators/orm/AfterLoad.cjs +17 -7
  35. package/src/decorators/orm/AfterLoad.mjs +13 -3
  36. package/src/decorators/orm/AfterRecover.cjs +17 -7
  37. package/src/decorators/orm/AfterRecover.mjs +17 -7
  38. package/src/decorators/orm/AfterRemove.cjs +17 -7
  39. package/src/decorators/orm/AfterRemove.mjs +22 -12
  40. package/src/decorators/orm/AfterSoftRemove.cjs +13 -3
  41. package/src/decorators/orm/AfterSoftRemove.mjs +24 -14
  42. package/src/decorators/orm/AfterUpdate.cjs +13 -3
  43. package/src/decorators/orm/AfterUpdate.mjs +22 -12
  44. package/src/decorators/orm/BeforeInsert.cjs +17 -7
  45. package/src/decorators/orm/BeforeInsert.mjs +17 -7
  46. package/src/decorators/orm/BeforeRecover.cjs +17 -7
  47. package/src/decorators/orm/BeforeRecover.mjs +22 -12
  48. package/src/decorators/orm/BeforeRemove.cjs +17 -7
  49. package/src/decorators/orm/BeforeRemove.mjs +17 -7
  50. package/src/decorators/orm/BeforeSoftRemove.cjs +17 -7
  51. package/src/decorators/orm/BeforeSoftRemove.mjs +23 -13
  52. package/src/decorators/orm/BeforeUpdate.cjs +17 -7
  53. package/src/decorators/orm/BeforeUpdate.mjs +22 -12
  54. package/src/decorators/orm/Check.cjs +18 -8
  55. package/src/decorators/orm/Check.mjs +13 -3
  56. package/src/decorators/orm/ChildEntity.cjs +13 -3
  57. package/src/decorators/orm/ChildEntity.mjs +13 -3
  58. package/src/decorators/orm/Column.cjs +29 -19
  59. package/src/decorators/orm/Column.mjs +23 -13
  60. package/src/decorators/orm/CreateDateColumn.cjs +19 -9
  61. package/src/decorators/orm/CreateDateColumn.mjs +24 -14
  62. package/src/decorators/orm/DeleteDateColumn.cjs +19 -9
  63. package/src/decorators/orm/DeleteDateColumn.mjs +23 -13
  64. package/src/decorators/orm/Entity.cjs +26 -16
  65. package/src/decorators/orm/Entity.mjs +32 -22
  66. package/src/decorators/orm/EventSubscriber.cjs +13 -3
  67. package/src/decorators/orm/EventSubscriber.mjs +18 -8
  68. package/src/decorators/orm/Exclusion.cjs +21 -11
  69. package/src/decorators/orm/Exclusion.mjs +21 -11
  70. package/src/decorators/orm/Generated.cjs +13 -3
  71. package/src/decorators/orm/Generated.mjs +13 -3
  72. package/src/decorators/orm/Index.cjs +22 -12
  73. package/src/decorators/orm/Index.mjs +27 -17
  74. package/src/decorators/orm/JoinColumn.cjs +19 -9
  75. package/src/decorators/orm/JoinColumn.mjs +27 -17
  76. package/src/decorators/orm/JoinTable.cjs +13 -3
  77. package/src/decorators/orm/JoinTable.mjs +29 -19
  78. package/src/decorators/orm/ManyToMany.cjs +25 -15
  79. package/src/decorators/orm/ManyToMany.mjs +26 -16
  80. package/src/decorators/orm/ManyToOne.cjs +25 -15
  81. package/src/decorators/orm/ManyToOne.mjs +26 -16
  82. package/src/decorators/orm/ObjectIdColumn.cjs +13 -3
  83. package/src/decorators/orm/ObjectIdColumn.mjs +26 -16
  84. package/src/decorators/orm/OneToMany.cjs +21 -11
  85. package/src/decorators/orm/OneToMany.mjs +22 -12
  86. package/src/decorators/orm/OneToOne.cjs +16 -6
  87. package/src/decorators/orm/OneToOne.mjs +36 -26
  88. package/src/decorators/orm/PrimaryColumn.cjs +22 -12
  89. package/src/decorators/orm/PrimaryColumn.mjs +24 -14
  90. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +32 -22
  91. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +18 -8
  92. package/src/decorators/orm/RelationId.cjs +19 -9
  93. package/src/decorators/orm/RelationId.mjs +18 -8
  94. package/src/decorators/orm/TableInheritance.cjs +17 -7
  95. package/src/decorators/orm/TableInheritance.mjs +26 -16
  96. package/src/decorators/orm/Tree.cjs +13 -3
  97. package/src/decorators/orm/Tree.mjs +26 -16
  98. package/src/decorators/orm/TreeChildren.cjs +15 -5
  99. package/src/decorators/orm/TreeChildren.mjs +18 -8
  100. package/src/decorators/orm/TreeLevelColumn.cjs +13 -3
  101. package/src/decorators/orm/TreeLevelColumn.mjs +20 -10
  102. package/src/decorators/orm/TreeParent.cjs +19 -9
  103. package/src/decorators/orm/TreeParent.mjs +13 -3
  104. package/src/decorators/orm/Unique.cjs +29 -19
  105. package/src/decorators/orm/Unique.mjs +30 -20
  106. package/src/decorators/orm/UpdateDateColumn.cjs +19 -9
  107. package/src/decorators/orm/UpdateDateColumn.mjs +25 -15
  108. package/src/decorators/orm/VersionColumn.cjs +13 -3
  109. package/src/decorators/orm/VersionColumn.mjs +26 -16
  110. package/src/decorators/orm/ViewColumn.cjs +13 -3
  111. package/src/decorators/orm/ViewColumn.mjs +26 -16
  112. package/src/decorators/orm/ViewEntity.cjs +27 -17
  113. package/src/decorators/orm/ViewEntity.mjs +19 -9
  114. package/src/decorators/orm/VirtualColumn.cjs +18 -8
  115. package/src/decorators/orm/VirtualColumn.mjs +30 -20
  116. package/src/lib/base/internal/PatternManager.cjs +2 -2
  117. package/src/lib/base/internal/PatternManager.mjs +2 -2
  118. package/src/lib/core/Application.cjs +2 -2
  119. package/src/lib/core/Application.mjs +2 -2
  120. package/src/lib/helpers/Glob.cjs +1220 -1149
  121. package/src/lib/helpers/Glob.mjs +769 -700
  122. package/src/lib/helpers/IsXML.cjs +863 -801
  123. package/src/lib/helpers/IsXML.mjs +862 -800
  124. package/src/lib/ioc/ListModules.cjs +967 -909
  125. package/src/lib/ioc/ListModules.mjs +849 -791
  126. package/src/lib/validation/VLD.cjs +20 -10
  127. package/src/lib/validation/VLD.mjs +20 -10
  128. package/vendor/Package.1.cjs +170 -129
  129. package/vendor/Package.1.mjs +169 -128
  130. package/vendor/Package.13.cjs +0 -2
  131. package/vendor/Package.13.mjs +0 -2
  132. package/vendor/Package.14.cjs +8748 -8652
  133. package/vendor/Package.14.mjs +8665 -8581
  134. package/vendor/Package.16.cjs +36855 -15590
  135. package/vendor/Package.16.mjs +36893 -15633
  136. package/vendor/Package.2.cjs +2442 -2440
  137. package/vendor/Package.2.mjs +444 -442
  138. package/vendor/Package.4.cjs +325 -319
  139. package/vendor/Package.4.mjs +326 -320
  140. package/vendor/Package.7.cjs +299 -299
  141. package/vendor/Package.7.mjs +299 -299
  142. package/vendor/TypeDef.5.d.ts +6 -0
@@ -24,7 +24,7 @@ var r = function() {
24
24
  r = Object.assign || function e(t) {
25
25
  for (var r, n = 1, o = arguments.length; n < o; n++) {
26
26
  r = arguments[n];
27
- for (var a in r) if (Object.prototype.hasOwnProperty.call(r, a)) t[a] = r[a];
27
+ for (var i in r) if (Object.prototype.hasOwnProperty.call(r, i)) t[i] = r[i];
28
28
  }
29
29
  return t;
30
30
  };
@@ -41,25 +41,25 @@ function n(e, t) {
41
41
  }
42
42
 
43
43
  function o(e, t, r, n) {
44
- var o = arguments.length, a = o < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, r) : n, i;
45
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") a = Reflect.decorate(e, t, r, n); else for (var c = e.length - 1; c >= 0; c--) if (i = e[c]) a = (o < 3 ? i(a) : o > 3 ? i(t, r, a) : i(t, r)) || a;
46
- return o > 3 && a && Object.defineProperty(t, r, a), a;
44
+ var o = arguments.length, i = o < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, r) : n, a;
45
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") i = Reflect.decorate(e, t, r, n); else for (var c = e.length - 1; c >= 0; c--) if (a = e[c]) i = (o < 3 ? a(i) : o > 3 ? a(t, r, i) : a(t, r)) || i;
46
+ return o > 3 && i && Object.defineProperty(t, r, i), i;
47
47
  }
48
48
 
49
- function a(e, t) {
49
+ function i(e, t) {
50
50
  return function(r, n) {
51
51
  t(r, n, e);
52
52
  };
53
53
  }
54
54
 
55
- function i(e, t, r, n, o, a) {
56
- function i(e) {
55
+ function a(e, t, r, n, o, i) {
56
+ function a(e) {
57
57
  if (e !== void 0 && typeof e !== "function") throw new TypeError("Function expected");
58
58
  return e;
59
59
  }
60
60
  var c = n.kind, f = c === "getter" ? "get" : c === "setter" ? "set" : "value";
61
- var u = !t && e ? n["static"] ? e : e.prototype : null;
62
- var s = t || (u ? Object.getOwnPropertyDescriptor(u, n.name) : {});
61
+ var s = !t && e ? n["static"] ? e : e.prototype : null;
62
+ var u = t || (s ? Object.getOwnPropertyDescriptor(s, n.name) : {});
63
63
  var l, p = false;
64
64
  for (var y = r.length - 1; y >= 0; y--) {
65
65
  var _ = {};
@@ -67,23 +67,23 @@ function i(e, t, r, n, o, a) {
67
67
  for (var d in n.access) _.access[d] = n.access[d];
68
68
  _.addInitializer = function(e) {
69
69
  if (p) throw new TypeError("Cannot add initializers after decoration has completed");
70
- a.push(i(e || null));
70
+ i.push(a(e || null));
71
71
  };
72
72
  var h = (0, r[y])(c === "accessor" ? {
73
- get: s.get,
74
- set: s.set
75
- } : s[f], _);
73
+ get: u.get,
74
+ set: u.set
75
+ } : u[f], _);
76
76
  if (c === "accessor") {
77
77
  if (h === void 0) continue;
78
78
  if (h === null || typeof h !== "object") throw new TypeError("Object expected");
79
- if (l = i(h.get)) s.get = l;
80
- if (l = i(h.set)) s.set = l;
81
- if (l = i(h.init)) o.unshift(l);
82
- } else if (l = i(h)) {
83
- if (c === "field") o.unshift(l); else s[f] = l;
79
+ if (l = a(h.get)) u.get = l;
80
+ if (l = a(h.set)) u.set = l;
81
+ if (l = a(h.init)) o.unshift(l);
82
+ } else if (l = a(h)) {
83
+ if (c === "field") o.unshift(l); else u[f] = l;
84
84
  }
85
85
  }
86
- if (u) Object.defineProperty(u, n.name, s);
86
+ if (s) Object.defineProperty(s, n.name, u);
87
87
  p = true;
88
88
  }
89
89
 
@@ -99,7 +99,7 @@ function f(e) {
99
99
  return typeof e === "symbol" ? e : "".concat(e);
100
100
  }
101
101
 
102
- function u(e, t, r) {
102
+ function s(e, t, r) {
103
103
  if (typeof t === "symbol") t = t.description ? "[".concat(t.description, "]") : "";
104
104
  return Object.defineProperty(e, "name", {
105
105
  configurable: true,
@@ -107,7 +107,7 @@ function u(e, t, r) {
107
107
  });
108
108
  }
109
109
 
110
- function s(e, t) {
110
+ function u(e, t) {
111
111
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(e, t);
112
112
  }
113
113
 
@@ -117,23 +117,23 @@ function l(e, t, r, n) {
117
117
  t(e);
118
118
  }));
119
119
  }
120
- return new (r || (r = Promise))((function(r, a) {
121
- function i(e) {
120
+ return new (r || (r = Promise))((function(r, i) {
121
+ function a(e) {
122
122
  try {
123
123
  f(n.next(e));
124
124
  } catch (e) {
125
- a(e);
125
+ i(e);
126
126
  }
127
127
  }
128
128
  function c(e) {
129
129
  try {
130
130
  f(n["throw"](e));
131
131
  } catch (e) {
132
- a(e);
132
+ i(e);
133
133
  }
134
134
  }
135
135
  function f(e) {
136
- e.done ? r(e.value) : o(e.value).then(i, c);
136
+ e.done ? r(e.value) : o(e.value).then(a, c);
137
137
  }
138
138
  f((n = n.apply(e, t || [])).next());
139
139
  }));
@@ -143,19 +143,15 @@ function p(e, t) {
143
143
  var r = {
144
144
  label: 0,
145
145
  sent: function() {
146
- if (a[0] & 1) throw a[1];
147
- return a[1];
146
+ if (i[0] & 1) throw i[1];
147
+ return i[1];
148
148
  },
149
149
  trys: [],
150
150
  ops: []
151
- }, n, o, a, i;
152
- return i = {
153
- next: c(0),
154
- throw: c(1),
155
- return: c(2)
156
- }, typeof Symbol === "function" && (i[Symbol.iterator] = function() {
151
+ }, n, o, i, a = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
152
+ return a.next = c(0), a["throw"] = c(1), a["return"] = c(2), typeof Symbol === "function" && (a[Symbol.iterator] = function() {
157
153
  return this;
158
- }), i;
154
+ }), a;
159
155
  function c(e) {
160
156
  return function(t) {
161
157
  return f([ e, t ]);
@@ -163,14 +159,14 @@ function p(e, t) {
163
159
  }
164
160
  function f(c) {
165
161
  if (n) throw new TypeError("Generator is already executing.");
166
- while (i && (i = 0, c[0] && (r = 0)), r) try {
167
- if (n = 1, o && (a = c[0] & 2 ? o["return"] : c[0] ? o["throw"] || ((a = o["return"]) && a.call(o),
168
- 0) : o.next) && !(a = a.call(o, c[1])).done) return a;
169
- if (o = 0, a) c = [ c[0] & 2, a.value ];
162
+ while (a && (a = 0, c[0] && (r = 0)), r) try {
163
+ if (n = 1, o && (i = c[0] & 2 ? o["return"] : c[0] ? o["throw"] || ((i = o["return"]) && i.call(o),
164
+ 0) : o.next) && !(i = i.call(o, c[1])).done) return i;
165
+ if (o = 0, i) c = [ c[0] & 2, i.value ];
170
166
  switch (c[0]) {
171
167
  case 0:
172
168
  case 1:
173
- a = c;
169
+ i = c;
174
170
  break;
175
171
 
176
172
  case 4:
@@ -192,25 +188,25 @@ function p(e, t) {
192
188
  continue;
193
189
 
194
190
  default:
195
- if (!(a = r.trys, a = a.length > 0 && a[a.length - 1]) && (c[0] === 6 || c[0] === 2)) {
191
+ if (!(i = r.trys, i = i.length > 0 && i[i.length - 1]) && (c[0] === 6 || c[0] === 2)) {
196
192
  r = 0;
197
193
  continue;
198
194
  }
199
- if (c[0] === 3 && (!a || c[1] > a[0] && c[1] < a[3])) {
195
+ if (c[0] === 3 && (!i || c[1] > i[0] && c[1] < i[3])) {
200
196
  r.label = c[1];
201
197
  break;
202
198
  }
203
- if (c[0] === 6 && r.label < a[1]) {
204
- r.label = a[1];
205
- a = c;
199
+ if (c[0] === 6 && r.label < i[1]) {
200
+ r.label = i[1];
201
+ i = c;
206
202
  break;
207
203
  }
208
- if (a && r.label < a[2]) {
209
- r.label = a[2];
204
+ if (i && r.label < i[2]) {
205
+ r.label = i[2];
210
206
  r.ops.push(c);
211
207
  break;
212
208
  }
213
- if (a[2]) r.ops.pop();
209
+ if (i[2]) r.ops.pop();
214
210
  r.trys.pop();
215
211
  continue;
216
212
  }
@@ -219,7 +215,7 @@ function p(e, t) {
219
215
  c = [ 6, e ];
220
216
  o = 0;
221
217
  } finally {
222
- n = a = 0;
218
+ n = i = 0;
223
219
  }
224
220
  if (c[0] & 5) throw c[1];
225
221
  return {
@@ -268,43 +264,43 @@ function d(e) {
268
264
  function h(e, t) {
269
265
  var r = typeof Symbol === "function" && e[Symbol.iterator];
270
266
  if (!r) return e;
271
- var n = r.call(e), o, a = [], i;
267
+ var n = r.call(e), o, i = [], a;
272
268
  try {
273
- while ((t === void 0 || t-- > 0) && !(o = n.next()).done) a.push(o.value);
269
+ while ((t === void 0 || t-- > 0) && !(o = n.next()).done) i.push(o.value);
274
270
  } catch (e) {
275
- i = {
271
+ a = {
276
272
  error: e
277
273
  };
278
274
  } finally {
279
275
  try {
280
276
  if (o && !o.done && (r = n["return"])) r.call(n);
281
277
  } finally {
282
- if (i) throw i.error;
278
+ if (a) throw a.error;
283
279
  }
284
280
  }
285
- return a;
281
+ return i;
286
282
  }
287
283
 
288
- function b() {
284
+ function v() {
289
285
  for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(h(arguments[t]));
290
286
  return e;
291
287
  }
292
288
 
293
- function v() {
289
+ function b() {
294
290
  for (var e = 0, t = 0, r = arguments.length; t < r; t++) e += arguments[t].length;
295
- for (var n = Array(e), o = 0, t = 0; t < r; t++) for (var a = arguments[t], i = 0, c = a.length; i < c; i++,
296
- o++) n[o] = a[i];
291
+ for (var n = Array(e), o = 0, t = 0; t < r; t++) for (var i = arguments[t], a = 0, c = i.length; a < c; a++,
292
+ o++) n[o] = i[a];
297
293
  return n;
298
294
  }
299
295
 
300
296
  function w(e, t, r) {
301
- if (r || arguments.length === 2) for (var n = 0, o = t.length, a; n < o; n++) {
302
- if (a || !(n in t)) {
303
- if (!a) a = Array.prototype.slice.call(t, 0, n);
304
- a[n] = t[n];
297
+ if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++) {
298
+ if (i || !(n in t)) {
299
+ if (!i) i = Array.prototype.slice.call(t, 0, n);
300
+ i[n] = t[n];
305
301
  }
306
302
  }
307
- return e.concat(a || Array.prototype.slice.call(t));
303
+ return e.concat(i || Array.prototype.slice.call(t));
308
304
  }
309
305
 
310
306
  function m(e) {
@@ -313,35 +309,44 @@ function m(e) {
313
309
 
314
310
  function g(e, t, r) {
315
311
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
316
- var n = r.apply(e, t || []), o, a = [];
317
- return o = {}, i("next"), i("throw"), i("return"), o[Symbol.asyncIterator] = function() {
312
+ var n = r.apply(e, t || []), o, i = [];
313
+ return o = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype),
314
+ c("next"), c("throw"), c("return", a), o[Symbol.asyncIterator] = function() {
318
315
  return this;
319
316
  }, o;
320
- function i(e) {
321
- if (n[e]) o[e] = function(t) {
322
- return new Promise((function(r, n) {
323
- a.push([ e, t, r, n ]) > 1 || c(e, t);
324
- }));
317
+ function a(e) {
318
+ return function(t) {
319
+ return Promise.resolve(t).then(e, l);
325
320
  };
326
321
  }
327
322
  function c(e, t) {
323
+ if (n[e]) {
324
+ o[e] = function(t) {
325
+ return new Promise((function(r, n) {
326
+ i.push([ e, t, r, n ]) > 1 || f(e, t);
327
+ }));
328
+ };
329
+ if (t) o[e] = t(o[e]);
330
+ }
331
+ }
332
+ function f(e, t) {
328
333
  try {
329
- f(n[e](t));
334
+ s(n[e](t));
330
335
  } catch (e) {
331
- l(a[0][3], e);
336
+ p(i[0][3], e);
332
337
  }
333
338
  }
334
- function f(e) {
335
- e.value instanceof m ? Promise.resolve(e.value.v).then(u, s) : l(a[0][2], e);
339
+ function s(e) {
340
+ e.value instanceof m ? Promise.resolve(e.value.v).then(u, l) : p(i[0][2], e);
336
341
  }
337
342
  function u(e) {
338
- c("next", e);
343
+ f("next", e);
339
344
  }
340
- function s(e) {
341
- c("throw", e);
345
+ function l(e) {
346
+ f("throw", e);
342
347
  }
343
- function l(e, t) {
344
- if (e(t), a.shift(), a.length) c(a[0][0], a[0][1]);
348
+ function p(e, t) {
349
+ if (e(t), i.shift(), i.length) f(i[0][0], i[0][1]);
345
350
  }
346
351
  }
347
352
 
@@ -371,8 +376,8 @@ function j(e) {
371
376
  }, r);
372
377
  function n(t) {
373
378
  r[t] = e[t] && function(r) {
374
- return new Promise((function(n, a) {
375
- r = e[t](r), o(n, a, r.done, r.value);
379
+ return new Promise((function(n, i) {
380
+ r = e[t](r), o(n, i, r.done, r.value);
376
381
  }));
377
382
  };
378
383
  }
@@ -386,7 +391,7 @@ function j(e) {
386
391
  }
387
392
  }
388
393
 
389
- function S(e, t) {
394
+ function P(e, t) {
390
395
  if (Object.defineProperty) {
391
396
  Object.defineProperty(e, "raw", {
392
397
  value: t
@@ -397,7 +402,7 @@ function S(e, t) {
397
402
  return e;
398
403
  }
399
404
 
400
- var P = Object.create ? function(e, t) {
405
+ var S = Object.create ? function(e, t) {
401
406
  Object.defineProperty(e, "default", {
402
407
  enumerable: true,
403
408
  value: t
@@ -406,21 +411,30 @@ var P = Object.create ? function(e, t) {
406
411
  e["default"] = t;
407
412
  };
408
413
 
409
- function E(e) {
414
+ var E = function(e) {
415
+ E = Object.getOwnPropertyNames || function(e) {
416
+ var t = [];
417
+ for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) t[t.length] = r;
418
+ return t;
419
+ };
420
+ return E(e);
421
+ };
422
+
423
+ function x(e) {
410
424
  if (e && e.__esModule) return e;
411
425
  var t = {};
412
- if (e != null) for (var r in e) if (r !== "default" && Object.prototype.hasOwnProperty.call(e, r)) y(t, e, r);
413
- P(t, e);
426
+ if (e != null) for (var r = E(e), n = 0; n < r.length; n++) if (r[n] !== "default") y(t, e, r[n]);
427
+ S(t, e);
414
428
  return t;
415
429
  }
416
430
 
417
- function x(e) {
431
+ function T(e) {
418
432
  return e && e.__esModule ? e : {
419
433
  default: e
420
434
  };
421
435
  }
422
436
 
423
- function T(e, t, r, n) {
437
+ function I(e, t, r, n) {
424
438
  if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
425
439
  if (typeof t === "function" ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
426
440
  return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
@@ -433,7 +447,7 @@ function D(e, t, r, n, o) {
433
447
  return n === "a" ? o.call(e, r) : o ? o.value = r : t.set(e, r), r;
434
448
  }
435
449
 
436
- function I(e, t) {
450
+ function R(e, t) {
437
451
  if (t === null || typeof t !== "object" && typeof t !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
438
452
  return typeof e === "function" ? t === e : e.has(t);
439
453
  }
@@ -441,7 +455,7 @@ function I(e, t) {
441
455
  function k(e, t, r) {
442
456
  if (t !== null && t !== void 0) {
443
457
  if (typeof t !== "object" && typeof t !== "function") throw new TypeError("Object expected.");
444
- var n;
458
+ var n, o;
445
459
  if (r) {
446
460
  if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
447
461
  n = t[Symbol.asyncDispose];
@@ -449,8 +463,16 @@ function k(e, t, r) {
449
463
  if (n === void 0) {
450
464
  if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
451
465
  n = t[Symbol.dispose];
466
+ if (r) o = n;
452
467
  }
453
468
  if (typeof n !== "function") throw new TypeError("Object not disposable.");
469
+ if (o) n = function() {
470
+ try {
471
+ o.call(this);
472
+ } catch (e) {
473
+ return Promise.reject(e);
474
+ }
475
+ };
454
476
  e.stack.push({
455
477
  value: t,
456
478
  dispose: n,
@@ -464,65 +486,83 @@ function k(e, t, r) {
464
486
  return t;
465
487
  }
466
488
 
467
- var R = typeof SuppressedError === "function" ? SuppressedError : function(e, t, r) {
489
+ var A = typeof SuppressedError === "function" ? SuppressedError : function(e, t, r) {
468
490
  var n = new Error(r);
469
491
  return n.name = "SuppressedError", n.error = e, n.suppressed = t, n;
470
492
  };
471
493
 
472
- function A(e) {
494
+ function F(e) {
473
495
  function t(t) {
474
- e.error = e.hasError ? new R(t, e.error, "An error was suppressed during disposal.") : t;
496
+ e.error = e.hasError ? new A(t, e.error, "An error was suppressed during disposal.") : t;
475
497
  e.hasError = true;
476
498
  }
477
- function r() {
478
- while (e.stack.length) {
479
- var n = e.stack.pop();
499
+ var r, n = 0;
500
+ function o() {
501
+ while (r = e.stack.pop()) {
480
502
  try {
481
- var o = n.dispose && n.dispose.call(n.value);
482
- if (n.async) return Promise.resolve(o).then(r, (function(e) {
483
- t(e);
484
- return r();
485
- }));
503
+ if (!r.async && n === 1) return n = 0, e.stack.push(r), Promise.resolve().then(o);
504
+ if (r.dispose) {
505
+ var i = r.dispose.call(r.value);
506
+ if (r.async) return n |= 2, Promise.resolve(i).then(o, (function(e) {
507
+ t(e);
508
+ return o();
509
+ }));
510
+ } else n |= 1;
486
511
  } catch (e) {
487
512
  t(e);
488
513
  }
489
514
  }
515
+ if (n === 1) return e.hasError ? Promise.reject(e.error) : Promise.resolve();
490
516
  if (e.hasError) throw e.error;
491
517
  }
492
- return r();
518
+ return o();
493
519
  }
494
520
 
495
- const F = {
521
+ function C(e, t) {
522
+ if (typeof e === "string" && /^\.\.?\//.test(e)) {
523
+ return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, (function(e, r, n, o, i) {
524
+ return r ? t ? ".jsx" : ".js" : n && (!o || !i) ? e : n + o + "." + i.toLowerCase() + "js";
525
+ }));
526
+ }
527
+ return e;
528
+ }
529
+
530
+ const z = {
496
531
  __extends: t,
497
532
  __assign: r,
498
533
  __rest: n,
499
534
  __decorate: o,
500
- __param: a,
501
- __metadata: s,
535
+ __param: i,
536
+ __esDecorate: a,
537
+ __runInitializers: c,
538
+ __propKey: f,
539
+ __setFunctionName: s,
540
+ __metadata: u,
502
541
  __awaiter: l,
503
542
  __generator: p,
504
543
  __createBinding: y,
505
544
  __exportStar: _,
506
545
  __values: d,
507
546
  __read: h,
508
- __spread: b,
509
- __spreadArrays: v,
547
+ __spread: v,
548
+ __spreadArrays: b,
510
549
  __spreadArray: w,
511
550
  __await: m,
512
551
  __asyncGenerator: g,
513
552
  __asyncDelegator: O,
514
553
  __asyncValues: j,
515
- __makeTemplateObject: S,
516
- __importStar: E,
517
- __importDefault: x,
518
- __classPrivateFieldGet: T,
554
+ __makeTemplateObject: P,
555
+ __importStar: x,
556
+ __importDefault: T,
557
+ __classPrivateFieldGet: I,
519
558
  __classPrivateFieldSet: D,
520
- __classPrivateFieldIn: I,
559
+ __classPrivateFieldIn: R,
521
560
  __addDisposableResource: k,
522
- __disposeResources: A
561
+ __disposeResources: F,
562
+ __rewriteRelativeImportExtension: C
523
563
  };
524
564
 
525
- const C = Object.freeze(Object.defineProperty({
565
+ const G = Object.freeze(Object.defineProperty({
526
566
  __proto__: null,
527
567
  __addDisposableResource: k,
528
568
  get __assign() {
@@ -533,37 +573,38 @@ const C = Object.freeze(Object.defineProperty({
533
573
  __asyncValues: j,
534
574
  __await: m,
535
575
  __awaiter: l,
536
- __classPrivateFieldGet: T,
537
- __classPrivateFieldIn: I,
576
+ __classPrivateFieldGet: I,
577
+ __classPrivateFieldIn: R,
538
578
  __classPrivateFieldSet: D,
539
579
  __createBinding: y,
540
580
  __decorate: o,
541
- __disposeResources: A,
542
- __esDecorate: i,
581
+ __disposeResources: F,
582
+ __esDecorate: a,
543
583
  __exportStar: _,
544
584
  __extends: t,
545
585
  __generator: p,
546
- __importDefault: x,
547
- __importStar: E,
548
- __makeTemplateObject: S,
549
- __metadata: s,
550
- __param: a,
586
+ __importDefault: T,
587
+ __importStar: x,
588
+ __makeTemplateObject: P,
589
+ __metadata: u,
590
+ __param: i,
551
591
  __propKey: f,
552
592
  __read: h,
553
593
  __rest: n,
594
+ __rewriteRelativeImportExtension: C,
554
595
  __runInitializers: c,
555
- __setFunctionName: u,
556
- __spread: b,
596
+ __setFunctionName: s,
597
+ __spread: v,
557
598
  __spreadArray: w,
558
- __spreadArrays: v,
599
+ __spreadArrays: b,
559
600
  __values: d,
560
- default: F
601
+ default: z
561
602
  }, Symbol.toStringTag, {
562
603
  value: "Module"
563
604
  }));
564
605
 
565
606
  exports.__decorate = o;
566
607
 
567
- exports.__metadata = s;
608
+ exports.__metadata = u;
568
609
 
569
- exports.tslib_es6 = C;
610
+ exports.tslib_es6 = G;