1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var partial = require("lodash/partial");
|
4 | var factory_1 = require("./factory");
|
5 | var applicators_1 = require("./applicators");
|
6 | var decorator = factory_1.DecoratorFactory.createInstanceDecorator(new factory_1.DecoratorConfig(partial, new applicators_1.PartialApplicator(), { property: true, method: false }));
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | function Partial() {
|
29 | var partials = [];
|
30 | for (var _i = 0; _i < arguments.length; _i++) {
|
31 | partials[_i] = arguments[_i];
|
32 | }
|
33 | return decorator.apply(void 0, partials);
|
34 | }
|
35 | exports.Partial = Partial;
|
36 | exports.partial = Partial;
|
37 | exports.default = decorator;
|
38 |
|
\ | No newline at end of file |