Commit 357fbb52 authored by Igor Kulikov's avatar Igor Kulikov

Fix

parent 3ff2c794
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -190,4 +190,4 @@ if (false) { ...@@ -190,4 +190,4 @@ if (false) {
*/ */
FcRectangleSelectService.prototype.applyFunction; FcRectangleSelectService.prototype.applyFunction;
} }
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdGFuZ2xlc2VsZWN0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZmxvd2NoYXJ0LyIsInNvdXJjZXMiOlsibGliL3JlY3RhbmdsZXNlbGVjdC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxPQUFPLFlBQVksTUFBTSxnQkFBZ0IsQ0FBQzs7OztBQUUxQyx3QkFLQzs7O0lBSkMsdUJBQVc7O0lBQ1gsdUJBQVc7O0lBQ1gsdUJBQVc7O0lBQ1gsdUJBQVc7O0FBR2IsTUFBTSxPQUFPLHdCQUF3Qjs7Ozs7O0lBZW5DLFlBQVksWUFBNEIsRUFDNUIsYUFBMEIsRUFDMUIsYUFBa0Q7UUFmN0MsZUFBVSxHQUFjO1lBQ3ZDLEVBQUUsRUFBRSxDQUFDO1lBQ0wsRUFBRSxFQUFFLENBQUM7WUFDTCxFQUFFLEVBQUUsQ0FBQztZQUNMLEVBQUUsRUFBRSxDQUFDO1NBQ04sQ0FBQztRQVdBLElBQUksQ0FBQyxZQUFZLEdBQUcsWUFBWSxDQUFDO1FBQ2pDLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ25DLElBQUksQ0FBQyxjQUFjLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsaUJBQWlCLENBQUMsQ0FBQztRQUM3RCxJQUFJLENBQUMsYUFBYSxHQUFHLENBQUMsQ0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IHg0IC0geDMgKyAncHgnO1xuICAgIHRoaXMuc2VsZWN0RWxlbWVudC5zdHlsZS5oZWlnaHQgPSB5NCAtIHkzICsgJ3B4JztcbiAgfVxuXG4gIHByaXZhdGUgc2VsZWN0T2JqZWN0cyhyZWN0Qm94OiBGY1JlY3RCb3gpIHtcbiAgICB0aGlzLmFwcGx5RnVuY3Rpb24oKCkgPT4ge1xuICAgICAgdGhpcy5tb2RlbFNlcnZpY2Uuc2VsZWN0QWxsSW5SZWN0KHJlY3RCb3gpO1xuICAgIH0pO1xuICB9XG5cbn1cblxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -214,4 +214,4 @@ if (false) { ...@@ -214,4 +214,4 @@ if (false) {
*/ */
FcRectangleSelectService.prototype.applyFunction; FcRectangleSelectService.prototype.applyFunction;
} }
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdGFuZ2xlc2VsZWN0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZmxvd2NoYXJ0LyIsInNvdXJjZXMiOlsibGliL3JlY3RhbmdsZXNlbGVjdC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxPQUFPLFlBQVksTUFBTSxnQkFBZ0IsQ0FBQzs7OztBQUUxQyx3QkFLQzs7O0lBSkMsdUJBQVc7O0lBQ1gsdUJBQVc7O0lBQ1gsdUJBQVc7O0lBQ1gsdUJBQVc7O0FBR2I7SUFlRSxrQ0FBWSxZQUE0QixFQUM1QixhQUEwQixFQUMxQixhQUFrRDtRQWY3QyxlQUFVLEdBQWM7WUFDdkMsRUFBRSxFQUFFLENBQUM7WUFDTCxFQUFFLEVBQUUsQ0FBQztZQUNMLEVBQUUsRUFBRSxDQUFDO1lBQ0wsRUFBRSxFQUFFLENBQUM7U0FDTixDQUFDO1FBV0EsSUFBSSxDQUFDLFlBQVksR0FBRyxZQUFZLENBQUM7UUFD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GNvbnN0IHg0ID0gTWF0aC5tYXgodGhpcy5zZWxlY3RSZWN0LngxLCB0aGlzLnNlbGVjdFJlY3QueDIpO1xuICAgIGNvbnN0IHkzID0gTWF0aC5taW4odGhpcy5zZWxlY3RSZWN0LnkxLCB0aGlzLnNlbGVjdFJlY3QueTIpO1xuICAgIGNvbnN0IHk0ID0gTWF0aC5tYXgodGhpcy5zZWxlY3RSZWN0LnkxLCB0aGlzLnNlbGVjdFJlY3QueTIpO1xuICAgIHRoaXMuc2VsZWN0RWxlbWVudC5zdHlsZS5sZWZ0ID0geDMgKyAncHgnO1xuICAgIHRoaXMuc2VsZWN0RWxlbWVudC5zdHlsZS50b3AgPSB5MyArICdweCc7XG4gICAgdGhpcy5zZWxlY3RFbGVtZW50LnN0eWxlLndpZHRoID0geDQgLSB4MyArICdweCc7XG4gICAgdGhpcy5zZWxlY3RFbGVtZW50LnN0eWxlLmhlaWdodCA9IHk0IC0geTMgKyAncHgnO1xuICB9XG5cbiAgcHJpdmF0ZSBzZWxlY3RPYmplY3RzKHJlY3RCb3g6IEZjUmVjdEJveCkge1xuICAgIHRoaXMuYXBwbHlGdW5jdGlvbigoKSA9PiB7XG4gICAgICB0aGlzLm1vZGVsU2VydmljZS5zZWxlY3RBbGxJblJlY3QocmVjdEJveCk7XG4gICAgfSk7XG4gIH1cblxufVxuXG4iXX0=
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
import { FcModelService } from './model.service'; import { FcModelService } from './model.service';
import { FcRectBox } from 'ngx-flowchart-dev'; import { FcRectBox } from './ngx-flowchart.models';
import scrollparent from './scrollparent'; import scrollparent from './scrollparent';
interface Rectangle { interface Rectangle {
......
...@@ -11,7 +11,12 @@ ...@@ -11,7 +11,12 @@
"lib": [ "lib": [
"dom", "dom",
"es2018" "es2018"
] ],
"paths": {
"@angular/*": [
"./node_modules/@angular/*"
]
}
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"annotateForClosureCompiler": true, "annotateForClosureCompiler": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment