@sarafapp/ant-design 1.0.8 → 1.0.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 (24) hide show
  1. package/dist/baseTable/SarafTableGenerator.vue.es.js +7 -0
  2. package/dist/baseTable/SarafTableGenerator.vue.es2.js +221 -0
  3. package/dist/index.d.ts +25 -2
  4. package/dist/index.es.js +52 -50
  5. package/dist/index.js +19 -4
  6. package/dist/node_modules/tslib/tslib.es6.es.js +155 -0
  7. package/dist/node_modules/tsyringe/dist/esm5/dependency-container.es.js +256 -0
  8. package/dist/node_modules/tsyringe/dist/esm5/error-helpers.es.js +21 -0
  9. package/dist/node_modules/tsyringe/dist/esm5/index.es.js +9 -0
  10. package/dist/node_modules/tsyringe/dist/esm5/interceptors.es.js +25 -0
  11. package/dist/node_modules/tsyringe/dist/esm5/lazy-helpers.es.js +38 -0
  12. package/dist/node_modules/tsyringe/dist/esm5/providers/class-provider.es.js +6 -0
  13. package/dist/node_modules/tsyringe/dist/esm5/providers/factory-provider.es.js +6 -0
  14. package/dist/node_modules/tsyringe/dist/esm5/providers/injection-token.es.js +19 -0
  15. package/dist/node_modules/tsyringe/dist/esm5/providers/provider.es.js +10 -0
  16. package/dist/node_modules/tsyringe/dist/esm5/providers/token-provider.es.js +6 -0
  17. package/dist/node_modules/tsyringe/dist/esm5/providers/value-provider.es.js +6 -0
  18. package/dist/node_modules/tsyringe/dist/esm5/registry-base.es.js +27 -0
  19. package/dist/node_modules/tsyringe/dist/esm5/registry.es.js +12 -0
  20. package/dist/node_modules/tsyringe/dist/esm5/resolution-context.es.js +9 -0
  21. package/dist/node_modules/tsyringe/dist/esm5/types/disposable.es.js +9 -0
  22. package/dist/node_modules/tsyringe/dist/esm5/types/lifecycle.es.js +8 -0
  23. package/dist/style.css +1 -1
  24. package/package.json +1 -1
@@ -0,0 +1,155 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */
15
+ var y = function(r, u) {
16
+ return y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
17
+ e.__proto__ = i;
18
+ } || function(e, i) {
19
+ for (var a in i) i.hasOwnProperty(a) && (e[a] = i[a]);
20
+ }, y(r, u);
21
+ };
22
+ function _(r, u) {
23
+ y(r, u);
24
+ function e() {
25
+ this.constructor = r;
26
+ }
27
+ r.prototype = u === null ? Object.create(u) : (e.prototype = u.prototype, new e());
28
+ }
29
+ function b(r, u, e, i) {
30
+ function a(t) {
31
+ return t instanceof e ? t : new e(function(o) {
32
+ o(t);
33
+ });
34
+ }
35
+ return new (e || (e = Promise))(function(t, o) {
36
+ function c(l) {
37
+ try {
38
+ n(i.next(l));
39
+ } catch (s) {
40
+ o(s);
41
+ }
42
+ }
43
+ function f(l) {
44
+ try {
45
+ n(i.throw(l));
46
+ } catch (s) {
47
+ o(s);
48
+ }
49
+ }
50
+ function n(l) {
51
+ l.done ? t(l.value) : a(l.value).then(c, f);
52
+ }
53
+ n((i = i.apply(r, [])).next());
54
+ });
55
+ }
56
+ function d(r, u) {
57
+ var e = { label: 0, sent: function() {
58
+ if (t[0] & 1) throw t[1];
59
+ return t[1];
60
+ }, trys: [], ops: [] }, i, a, t, o;
61
+ return o = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
62
+ return this;
63
+ }), o;
64
+ function c(n) {
65
+ return function(l) {
66
+ return f([n, l]);
67
+ };
68
+ }
69
+ function f(n) {
70
+ if (i) throw new TypeError("Generator is already executing.");
71
+ for (; e; ) try {
72
+ if (i = 1, a && (t = n[0] & 2 ? a.return : n[0] ? a.throw || ((t = a.return) && t.call(a), 0) : a.next) && !(t = t.call(a, n[1])).done) return t;
73
+ switch (a = 0, t && (n = [n[0] & 2, t.value]), n[0]) {
74
+ case 0:
75
+ case 1:
76
+ t = n;
77
+ break;
78
+ case 4:
79
+ return e.label++, { value: n[1], done: !1 };
80
+ case 5:
81
+ e.label++, a = n[1], n = [0];
82
+ continue;
83
+ case 7:
84
+ n = e.ops.pop(), e.trys.pop();
85
+ continue;
86
+ default:
87
+ if (t = e.trys, !(t = t.length > 0 && t[t.length - 1]) && (n[0] === 6 || n[0] === 2)) {
88
+ e = 0;
89
+ continue;
90
+ }
91
+ if (n[0] === 3 && (!t || n[1] > t[0] && n[1] < t[3])) {
92
+ e.label = n[1];
93
+ break;
94
+ }
95
+ if (n[0] === 6 && e.label < t[1]) {
96
+ e.label = t[1], t = n;
97
+ break;
98
+ }
99
+ if (t && e.label < t[2]) {
100
+ e.label = t[2], e.ops.push(n);
101
+ break;
102
+ }
103
+ t[2] && e.ops.pop(), e.trys.pop();
104
+ continue;
105
+ }
106
+ n = u.call(r, e);
107
+ } catch (l) {
108
+ n = [6, l], a = 0;
109
+ } finally {
110
+ i = t = 0;
111
+ }
112
+ if (n[0] & 5) throw n[1];
113
+ return { value: n[0] ? n[1] : void 0, done: !0 };
114
+ }
115
+ }
116
+ function w(r) {
117
+ var u = typeof Symbol == "function" && Symbol.iterator, e = u && r[u], i = 0;
118
+ if (e) return e.call(r);
119
+ if (r && typeof r.length == "number") return {
120
+ next: function() {
121
+ return r && i >= r.length && (r = void 0), { value: r && r[i++], done: !r };
122
+ }
123
+ };
124
+ throw new TypeError(u ? "Object is not iterable." : "Symbol.iterator is not defined.");
125
+ }
126
+ function h(r, u) {
127
+ var e = typeof Symbol == "function" && r[Symbol.iterator];
128
+ if (!e) return r;
129
+ var i = e.call(r), a, t = [], o;
130
+ try {
131
+ for (; (u === void 0 || u-- > 0) && !(a = i.next()).done; ) t.push(a.value);
132
+ } catch (c) {
133
+ o = { error: c };
134
+ } finally {
135
+ try {
136
+ a && !a.done && (e = i.return) && e.call(i);
137
+ } finally {
138
+ if (o) throw o.error;
139
+ }
140
+ }
141
+ return t;
142
+ }
143
+ function v() {
144
+ for (var r = [], u = 0; u < arguments.length; u++)
145
+ r = r.concat(h(arguments[u]));
146
+ return r;
147
+ }
148
+ export {
149
+ b as __awaiter,
150
+ _ as __extends,
151
+ d as __generator,
152
+ h as __read,
153
+ v as __spread,
154
+ w as __values
155
+ };
@@ -0,0 +1,256 @@
1
+ import { __spread as c, __values as h, __read as w, __awaiter as A, __generator as C } from "../../../tslib/tslib.es6.es.js";
2
+ import { isClassProvider as S } from "./providers/class-provider.es.js";
3
+ import { isFactoryProvider as R } from "./providers/factory-provider.es.js";
4
+ import { isNormalToken as a, isConstructorToken as D, isTokenDescriptor as P, isTransformDescriptor as m } from "./providers/injection-token.es.js";
5
+ import { isTokenProvider as y } from "./providers/token-provider.es.js";
6
+ import { isValueProvider as g } from "./providers/value-provider.es.js";
7
+ import { isProvider as I } from "./providers/provider.es.js";
8
+ import N from "./registry.es.js";
9
+ import p from "./types/lifecycle.es.js";
10
+ import d from "./resolution-context.es.js";
11
+ import { formatErrorCtor as T } from "./error-helpers.es.js";
12
+ import { DelayedConstructor as E } from "./lazy-helpers.es.js";
13
+ import { isDisposable as _ } from "./types/disposable.es.js";
14
+ import q from "./interceptors.es.js";
15
+ var V = /* @__PURE__ */ new Map(), b = function() {
16
+ function u(e) {
17
+ this.parent = e, this._registry = new N(), this.interceptors = new q(), this.disposed = !1, this.disposables = /* @__PURE__ */ new Set();
18
+ }
19
+ return u.prototype.register = function(e, r, s) {
20
+ s === void 0 && (s = { lifecycle: p.Transient }), this.ensureNotDisposed();
21
+ var t;
22
+ if (I(r) ? t = r : t = { useClass: r }, y(t))
23
+ for (var i = [e], o = t; o != null; ) {
24
+ var l = o.useToken;
25
+ if (i.includes(l))
26
+ throw new Error("Token registration cycle detected! " + c(i, [l]).join(" -> "));
27
+ i.push(l);
28
+ var n = this._registry.get(l);
29
+ n && y(n.provider) ? o = n.provider : o = null;
30
+ }
31
+ if ((s.lifecycle === p.Singleton || s.lifecycle == p.ContainerScoped || s.lifecycle == p.ResolutionScoped) && (g(t) || R(t)))
32
+ throw new Error('Cannot use lifecycle "' + p[s.lifecycle] + '" with ValueProviders or FactoryProviders');
33
+ return this._registry.set(e, { provider: t, options: s }), this;
34
+ }, u.prototype.registerType = function(e, r) {
35
+ return this.ensureNotDisposed(), a(r) ? this.register(e, {
36
+ useToken: r
37
+ }) : this.register(e, {
38
+ useClass: r
39
+ });
40
+ }, u.prototype.registerInstance = function(e, r) {
41
+ return this.ensureNotDisposed(), this.register(e, {
42
+ useValue: r
43
+ });
44
+ }, u.prototype.registerSingleton = function(e, r) {
45
+ if (this.ensureNotDisposed(), a(e)) {
46
+ if (a(r))
47
+ return this.register(e, {
48
+ useToken: r
49
+ }, { lifecycle: p.Singleton });
50
+ if (r)
51
+ return this.register(e, {
52
+ useClass: r
53
+ }, { lifecycle: p.Singleton });
54
+ throw new Error('Cannot register a type name as a singleton without a "to" token');
55
+ }
56
+ var s = e;
57
+ return r && !a(r) && (s = r), this.register(e, {
58
+ useClass: s
59
+ }, { lifecycle: p.Singleton });
60
+ }, u.prototype.resolve = function(e, r, s) {
61
+ r === void 0 && (r = new d()), s === void 0 && (s = !1), this.ensureNotDisposed();
62
+ var t = this.getRegistration(e);
63
+ if (!t && a(e)) {
64
+ if (s)
65
+ return;
66
+ throw new Error('Attempted to resolve unregistered dependency token: "' + e.toString() + '"');
67
+ }
68
+ if (this.executePreResolutionInterceptor(e, "Single"), t) {
69
+ var i = this.resolveRegistration(t, r);
70
+ return this.executePostResolutionInterceptor(e, i, "Single"), i;
71
+ }
72
+ if (D(e)) {
73
+ var i = this.construct(e, r);
74
+ return this.executePostResolutionInterceptor(e, i, "Single"), i;
75
+ }
76
+ throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.");
77
+ }, u.prototype.executePreResolutionInterceptor = function(e, r) {
78
+ var s, t;
79
+ if (this.interceptors.preResolution.has(e)) {
80
+ var i = [];
81
+ try {
82
+ for (var o = h(this.interceptors.preResolution.getAll(e)), l = o.next(); !l.done; l = o.next()) {
83
+ var n = l.value;
84
+ n.options.frequency != "Once" && i.push(n), n.callback(e, r);
85
+ }
86
+ } catch (f) {
87
+ s = { error: f };
88
+ } finally {
89
+ try {
90
+ l && !l.done && (t = o.return) && t.call(o);
91
+ } finally {
92
+ if (s) throw s.error;
93
+ }
94
+ }
95
+ this.interceptors.preResolution.setAll(e, i);
96
+ }
97
+ }, u.prototype.executePostResolutionInterceptor = function(e, r, s) {
98
+ var t, i;
99
+ if (this.interceptors.postResolution.has(e)) {
100
+ var o = [];
101
+ try {
102
+ for (var l = h(this.interceptors.postResolution.getAll(e)), n = l.next(); !n.done; n = l.next()) {
103
+ var f = n.value;
104
+ f.options.frequency != "Once" && o.push(f), f.callback(e, r, s);
105
+ }
106
+ } catch (v) {
107
+ t = { error: v };
108
+ } finally {
109
+ try {
110
+ n && !n.done && (i = l.return) && i.call(l);
111
+ } finally {
112
+ if (t) throw t.error;
113
+ }
114
+ }
115
+ this.interceptors.postResolution.setAll(e, o);
116
+ }
117
+ }, u.prototype.resolveRegistration = function(e, r) {
118
+ if (this.ensureNotDisposed(), e.options.lifecycle === p.ResolutionScoped && r.scopedResolutions.has(e))
119
+ return r.scopedResolutions.get(e);
120
+ var s = e.options.lifecycle === p.Singleton, t = e.options.lifecycle === p.ContainerScoped, i = s || t, o;
121
+ return g(e.provider) ? o = e.provider.useValue : y(e.provider) ? o = i ? e.instance || (e.instance = this.resolve(e.provider.useToken, r)) : this.resolve(e.provider.useToken, r) : S(e.provider) ? o = i ? e.instance || (e.instance = this.construct(e.provider.useClass, r)) : this.construct(e.provider.useClass, r) : R(e.provider) ? o = e.provider.useFactory(this) : o = this.construct(e.provider, r), e.options.lifecycle === p.ResolutionScoped && r.scopedResolutions.set(e, o), o;
122
+ }, u.prototype.resolveAll = function(e, r, s) {
123
+ var t = this;
124
+ r === void 0 && (r = new d()), s === void 0 && (s = !1), this.ensureNotDisposed();
125
+ var i = this.getAllRegistrations(e);
126
+ if (!i && a(e)) {
127
+ if (s)
128
+ return [];
129
+ throw new Error('Attempted to resolve unregistered dependency token: "' + e.toString() + '"');
130
+ }
131
+ if (this.executePreResolutionInterceptor(e, "All"), i) {
132
+ var o = i.map(function(n) {
133
+ return t.resolveRegistration(n, r);
134
+ });
135
+ return this.executePostResolutionInterceptor(e, o, "All"), o;
136
+ }
137
+ var l = [this.construct(e, r)];
138
+ return this.executePostResolutionInterceptor(e, l, "All"), l;
139
+ }, u.prototype.isRegistered = function(e, r) {
140
+ return r === void 0 && (r = !1), this.ensureNotDisposed(), this._registry.has(e) || r && (this.parent || !1) && this.parent.isRegistered(e, !0);
141
+ }, u.prototype.reset = function() {
142
+ this.ensureNotDisposed(), this._registry.clear(), this.interceptors.preResolution.clear(), this.interceptors.postResolution.clear();
143
+ }, u.prototype.clearInstances = function() {
144
+ var e, r;
145
+ this.ensureNotDisposed();
146
+ try {
147
+ for (var s = h(this._registry.entries()), t = s.next(); !t.done; t = s.next()) {
148
+ var i = w(t.value, 2), o = i[0], l = i[1];
149
+ this._registry.setAll(o, l.filter(function(n) {
150
+ return !g(n.provider);
151
+ }).map(function(n) {
152
+ return n.instance = void 0, n;
153
+ }));
154
+ }
155
+ } catch (n) {
156
+ e = { error: n };
157
+ } finally {
158
+ try {
159
+ t && !t.done && (r = s.return) && r.call(s);
160
+ } finally {
161
+ if (e) throw e.error;
162
+ }
163
+ }
164
+ }, u.prototype.createChildContainer = function() {
165
+ var e, r;
166
+ this.ensureNotDisposed();
167
+ var s = new u(this);
168
+ try {
169
+ for (var t = h(this._registry.entries()), i = t.next(); !i.done; i = t.next()) {
170
+ var o = w(i.value, 2), l = o[0], n = o[1];
171
+ n.some(function(f) {
172
+ var v = f.options;
173
+ return v.lifecycle === p.ContainerScoped;
174
+ }) && s._registry.setAll(l, n.map(function(f) {
175
+ return f.options.lifecycle === p.ContainerScoped ? {
176
+ provider: f.provider,
177
+ options: f.options
178
+ } : f;
179
+ }));
180
+ }
181
+ } catch (f) {
182
+ e = { error: f };
183
+ } finally {
184
+ try {
185
+ i && !i.done && (r = t.return) && r.call(t);
186
+ } finally {
187
+ if (e) throw e.error;
188
+ }
189
+ }
190
+ return s;
191
+ }, u.prototype.beforeResolution = function(e, r, s) {
192
+ s === void 0 && (s = { frequency: "Always" }), this.interceptors.preResolution.set(e, {
193
+ callback: r,
194
+ options: s
195
+ });
196
+ }, u.prototype.afterResolution = function(e, r, s) {
197
+ s === void 0 && (s = { frequency: "Always" }), this.interceptors.postResolution.set(e, {
198
+ callback: r,
199
+ options: s
200
+ });
201
+ }, u.prototype.dispose = function() {
202
+ return A(this, void 0, void 0, function() {
203
+ var e;
204
+ return C(this, function(r) {
205
+ switch (r.label) {
206
+ case 0:
207
+ return this.disposed = !0, e = [], this.disposables.forEach(function(s) {
208
+ var t = s.dispose();
209
+ t && e.push(t);
210
+ }), [4, Promise.all(e)];
211
+ case 1:
212
+ return r.sent(), [2];
213
+ }
214
+ });
215
+ });
216
+ }, u.prototype.getRegistration = function(e) {
217
+ return this.isRegistered(e) ? this._registry.get(e) : this.parent ? this.parent.getRegistration(e) : null;
218
+ }, u.prototype.getAllRegistrations = function(e) {
219
+ return this.isRegistered(e) ? this._registry.getAll(e) : this.parent ? this.parent.getAllRegistrations(e) : null;
220
+ }, u.prototype.construct = function(e, r) {
221
+ var s = this;
222
+ if (e instanceof E)
223
+ return e.createProxy(function(i) {
224
+ return s.resolve(i, r);
225
+ });
226
+ var t = function() {
227
+ var i = V.get(e);
228
+ if (!i || i.length === 0) {
229
+ if (e.length === 0)
230
+ return new e();
231
+ throw new Error('TypeInfo not known for "' + e.name + '"');
232
+ }
233
+ var o = i.map(s.resolveParams(r, e));
234
+ return new (e.bind.apply(e, c([void 0], o)))();
235
+ }();
236
+ return _(t) && this.disposables.add(t), t;
237
+ }, u.prototype.resolveParams = function(e, r) {
238
+ var s = this;
239
+ return function(t, i) {
240
+ var o, l, n;
241
+ try {
242
+ return P(t) ? m(t) ? t.multiple ? (o = s.resolve(t.transform)).transform.apply(o, c([s.resolveAll(t.token, new d(), t.isOptional)], t.transformArgs)) : (l = s.resolve(t.transform)).transform.apply(l, c([s.resolve(t.token, e, t.isOptional)], t.transformArgs)) : t.multiple ? s.resolveAll(t.token, new d(), t.isOptional) : s.resolve(t.token, e, t.isOptional) : m(t) ? (n = s.resolve(t.transform, e)).transform.apply(n, c([s.resolve(t.token, e)], t.transformArgs)) : s.resolve(t, e);
243
+ } catch (f) {
244
+ throw new Error(T(r, i, f));
245
+ }
246
+ };
247
+ }, u.prototype.ensureNotDisposed = function() {
248
+ if (this.disposed)
249
+ throw new Error("This container has been disposed, you cannot interact with a disposed container");
250
+ }, u;
251
+ }(), W = new b();
252
+ export {
253
+ W as default,
254
+ W as instance,
255
+ V as typeInfo
256
+ };
@@ -0,0 +1,21 @@
1
+ import { __read as s, __spread as u } from "../../../tslib/tslib.es6.es.js";
2
+ function c(r, n) {
3
+ if (r === null)
4
+ return "at position #" + n;
5
+ var o = r.split(",")[n].trim();
6
+ return '"' + o + '" at position #' + n;
7
+ }
8
+ function p(r, n, o) {
9
+ return o === void 0 && (o = " "), u([r], n.message.split(`
10
+ `).map(function(t) {
11
+ return o + t;
12
+ })).join(`
13
+ `);
14
+ }
15
+ function f(r, n, o) {
16
+ var t = s(r.toString().match(/constructor\(([\w, ]+)\)/) || [], 2), e = t[1], a = e === void 0 ? null : e, i = c(a, n);
17
+ return p("Cannot inject the dependency " + i + ' of "' + r.name + '" constructor. Reason:', o);
18
+ }
19
+ export {
20
+ f as formatErrorCtor
21
+ };
@@ -0,0 +1,9 @@
1
+ import { default as o } from "./types/lifecycle.es.js";
2
+ import { instance as f } from "./dependency-container.es.js";
3
+ import "./lazy-helpers.es.js";
4
+ if (typeof Reflect > "u" || !Reflect.getMetadata)
5
+ throw new Error(`tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point.`);
6
+ export {
7
+ o as Lifecycle,
8
+ f as container
9
+ };
@@ -0,0 +1,25 @@
1
+ import { __extends as e } from "../../../tslib/tslib.es6.es.js";
2
+ import o from "./registry-base.es.js";
3
+ var r = function(t) {
4
+ e(n, t);
5
+ function n() {
6
+ return t !== null && t.apply(this, arguments) || this;
7
+ }
8
+ return n;
9
+ }(o), s = function(t) {
10
+ e(n, t);
11
+ function n() {
12
+ return t !== null && t.apply(this, arguments) || this;
13
+ }
14
+ return n;
15
+ }(o), l = /* @__PURE__ */ function() {
16
+ function t() {
17
+ this.preResolution = new r(), this.postResolution = new s();
18
+ }
19
+ return t;
20
+ }();
21
+ export {
22
+ s as PostResolutionInterceptors,
23
+ r as PreResolutionInterceptors,
24
+ l as default
25
+ };
@@ -0,0 +1,38 @@
1
+ import { __spread as p } from "../../../tslib/tslib.es6.es.js";
2
+ var f = function() {
3
+ function n(e) {
4
+ this.wrap = e, this.reflectMethods = [
5
+ "get",
6
+ "getPrototypeOf",
7
+ "setPrototypeOf",
8
+ "getOwnPropertyDescriptor",
9
+ "defineProperty",
10
+ "has",
11
+ "set",
12
+ "deleteProperty",
13
+ "apply",
14
+ "construct",
15
+ "ownKeys"
16
+ ];
17
+ }
18
+ return n.prototype.createProxy = function(e) {
19
+ var a = this, s = {}, o = !1, t, r = function() {
20
+ return o || (t = e(a.wrap()), o = !0), t;
21
+ };
22
+ return new Proxy(s, this.createHandler(r));
23
+ }, n.prototype.createHandler = function(e) {
24
+ var a = {}, s = function(o) {
25
+ a[o] = function() {
26
+ for (var t = [], r = 0; r < arguments.length; r++)
27
+ t[r] = arguments[r];
28
+ t[0] = e();
29
+ var c = Reflect[o];
30
+ return c.apply(void 0, p(t));
31
+ };
32
+ };
33
+ return this.reflectMethods.forEach(s), a;
34
+ }, n;
35
+ }();
36
+ export {
37
+ f as DelayedConstructor
38
+ };
@@ -0,0 +1,6 @@
1
+ function r(s) {
2
+ return !!s.useClass;
3
+ }
4
+ export {
5
+ r as isClassProvider
6
+ };
@@ -0,0 +1,6 @@
1
+ function o(r) {
2
+ return !!r.useFactory;
3
+ }
4
+ export {
5
+ o as isFactoryProvider
6
+ };
@@ -0,0 +1,19 @@
1
+ import { DelayedConstructor as o } from "../lazy-helpers.es.js";
2
+ function e(n) {
3
+ return typeof n == "string" || typeof n == "symbol";
4
+ }
5
+ function r(n) {
6
+ return typeof n == "object" && "token" in n && "multiple" in n;
7
+ }
8
+ function i(n) {
9
+ return typeof n == "object" && "token" in n && "transform" in n;
10
+ }
11
+ function f(n) {
12
+ return typeof n == "function" || n instanceof o;
13
+ }
14
+ export {
15
+ f as isConstructorToken,
16
+ e as isNormalToken,
17
+ r as isTokenDescriptor,
18
+ i as isTransformDescriptor
19
+ };
@@ -0,0 +1,10 @@
1
+ import { isClassProvider as o } from "./class-provider.es.js";
2
+ import { isValueProvider as i } from "./value-provider.es.js";
3
+ import { isTokenProvider as m } from "./token-provider.es.js";
4
+ import { isFactoryProvider as t } from "./factory-provider.es.js";
5
+ function n(r) {
6
+ return o(r) || i(r) || m(r) || t(r);
7
+ }
8
+ export {
9
+ n as isProvider
10
+ };
@@ -0,0 +1,6 @@
1
+ function n(e) {
2
+ return !!e.useToken;
3
+ }
4
+ export {
5
+ n as isTokenProvider
6
+ };
@@ -0,0 +1,6 @@
1
+ function u(e) {
2
+ return e.useValue != null;
3
+ }
4
+ export {
5
+ u as isValueProvider
6
+ };
@@ -0,0 +1,27 @@
1
+ var s = function() {
2
+ function e() {
3
+ this._registryMap = /* @__PURE__ */ new Map();
4
+ }
5
+ return e.prototype.entries = function() {
6
+ return this._registryMap.entries();
7
+ }, e.prototype.getAll = function(t) {
8
+ return this.ensure(t), this._registryMap.get(t);
9
+ }, e.prototype.get = function(t) {
10
+ this.ensure(t);
11
+ var r = this._registryMap.get(t);
12
+ return r[r.length - 1] || null;
13
+ }, e.prototype.set = function(t, r) {
14
+ this.ensure(t), this._registryMap.get(t).push(r);
15
+ }, e.prototype.setAll = function(t, r) {
16
+ this._registryMap.set(t, r);
17
+ }, e.prototype.has = function(t) {
18
+ return this.ensure(t), this._registryMap.get(t).length > 0;
19
+ }, e.prototype.clear = function() {
20
+ this._registryMap.clear();
21
+ }, e.prototype.ensure = function(t) {
22
+ this._registryMap.has(t) || this._registryMap.set(t, []);
23
+ }, e;
24
+ }();
25
+ export {
26
+ s as default
27
+ };
@@ -0,0 +1,12 @@
1
+ import { __extends as e } from "../../../tslib/tslib.es6.es.js";
2
+ import i from "./registry-base.es.js";
3
+ var s = function(t) {
4
+ e(r, t);
5
+ function r() {
6
+ return t !== null && t.apply(this, arguments) || this;
7
+ }
8
+ return r;
9
+ }(i);
10
+ export {
11
+ s as default
12
+ };
@@ -0,0 +1,9 @@
1
+ var o = /* @__PURE__ */ function() {
2
+ function t() {
3
+ this.scopedResolutions = /* @__PURE__ */ new Map();
4
+ }
5
+ return t;
6
+ }();
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,9 @@
1
+ function i(e) {
2
+ if (typeof e.dispose != "function")
3
+ return !1;
4
+ var s = e.dispose;
5
+ return !(s.length > 0);
6
+ }
7
+ export {
8
+ i as isDisposable
9
+ };
@@ -0,0 +1,8 @@
1
+ var o;
2
+ (function(n) {
3
+ n[n.Transient = 0] = "Transient", n[n.Singleton = 1] = "Singleton", n[n.ResolutionScoped = 2] = "ResolutionScoped", n[n.ContainerScoped = 3] = "ContainerScoped";
4
+ })(o || (o = {}));
5
+ const t = o;
6
+ export {
7
+ t as default
8
+ };