projen-cdktf-hybrid-construct 0.1.54 → 0.1.57
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.
- package/.gitattributes +0 -1
- package/.jsii +574 -0
- package/.projenrc.ts +17 -5
- package/API.md +7347 -0
- package/CHANGELOG.md +5 -7
- package/README.md +45 -21
- package/lib/defaults.d.ts +0 -1
- package/lib/defaults.js +1 -1
- package/lib/hybrid-module.d.ts +48 -20
- package/lib/hybrid-module.js +28 -20
- package/lib/index.js +3 -7
- package/lib/publishing.d.ts +5 -0
- package/lib/publishing.js +25 -3
- package/lib/terraform-module.d.ts +35 -16
- package/lib/terraform-module.js +19 -10
- package/node_modules/camel-case/LICENSE +21 -0
- package/node_modules/camel-case/README.md +47 -0
- package/node_modules/camel-case/dist/index.d.ts +5 -0
- package/node_modules/camel-case/dist/index.js +23 -0
- package/node_modules/camel-case/dist/index.js.map +1 -0
- package/node_modules/camel-case/dist/index.spec.d.ts +1 -0
- package/node_modules/camel-case/dist/index.spec.js +26 -0
- package/node_modules/camel-case/dist/index.spec.js.map +1 -0
- package/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
- package/node_modules/camel-case/dist.es2015/index.js +17 -0
- package/node_modules/camel-case/dist.es2015/index.js.map +1 -0
- package/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/camel-case/package.json +89 -0
- package/node_modules/capital-case/LICENSE +21 -0
- package/node_modules/capital-case/README.md +37 -0
- package/node_modules/capital-case/dist/index.d.ts +4 -0
- package/node_modules/capital-case/dist/index.js +16 -0
- package/node_modules/capital-case/dist/index.js.map +1 -0
- package/node_modules/capital-case/dist/index.spec.d.ts +1 -0
- package/node_modules/capital-case/dist/index.spec.js +24 -0
- package/node_modules/capital-case/dist/index.spec.js.map +1 -0
- package/node_modules/capital-case/dist.es2015/index.d.ts +4 -0
- package/node_modules/capital-case/dist.es2015/index.js +11 -0
- package/node_modules/capital-case/dist.es2015/index.js.map +1 -0
- package/node_modules/capital-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/capital-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/capital-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/capital-case/package.json +90 -0
- package/node_modules/change-case/LICENSE +21 -0
- package/node_modules/change-case/README.md +44 -0
- package/node_modules/change-case/dist/index.d.ts +11 -0
- package/node_modules/change-case/dist/index.js +15 -0
- package/node_modules/change-case/dist/index.js.map +1 -0
- package/node_modules/change-case/dist/index.spec.d.ts +1 -0
- package/node_modules/change-case/dist/index.spec.js +9 -0
- package/node_modules/change-case/dist/index.spec.js.map +1 -0
- package/node_modules/change-case/dist.es2015/index.d.ts +11 -0
- package/node_modules/change-case/dist.es2015/index.js +12 -0
- package/node_modules/change-case/dist.es2015/index.js.map +1 -0
- package/node_modules/change-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/change-case/dist.es2015/index.spec.js +7 -0
- package/node_modules/change-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/change-case/package.json +101 -0
- package/node_modules/constant-case/LICENSE +21 -0
- package/node_modules/constant-case/README.md +37 -0
- package/node_modules/constant-case/dist/index.d.ts +3 -0
- package/node_modules/constant-case/dist/index.js +12 -0
- package/node_modules/constant-case/dist/index.js.map +1 -0
- package/node_modules/constant-case/dist/index.spec.d.ts +1 -0
- package/node_modules/constant-case/dist/index.spec.js +26 -0
- package/node_modules/constant-case/dist/index.spec.js.map +1 -0
- package/node_modules/constant-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/constant-case/dist.es2015/index.js +8 -0
- package/node_modules/constant-case/dist.es2015/index.js.map +1 -0
- package/node_modules/constant-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/constant-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/constant-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/constant-case/package.json +90 -0
- package/node_modules/dot-case/LICENSE +21 -0
- package/node_modules/dot-case/README.md +37 -0
- package/node_modules/dot-case/dist/index.d.ts +3 -0
- package/node_modules/dot-case/dist/index.js +11 -0
- package/node_modules/dot-case/dist/index.js.map +1 -0
- package/node_modules/dot-case/dist/index.spec.d.ts +1 -0
- package/node_modules/dot-case/dist/index.spec.js +26 -0
- package/node_modules/dot-case/dist/index.spec.js.map +1 -0
- package/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/dot-case/dist.es2015/index.js +7 -0
- package/node_modules/dot-case/dist.es2015/index.js.map +1 -0
- package/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/dot-case/package.json +89 -0
- package/node_modules/header-case/LICENSE +21 -0
- package/node_modules/header-case/README.md +37 -0
- package/node_modules/header-case/dist/index.d.ts +3 -0
- package/node_modules/header-case/dist/index.js +11 -0
- package/node_modules/header-case/dist/index.js.map +1 -0
- package/node_modules/header-case/dist/index.spec.d.ts +1 -0
- package/node_modules/header-case/dist/index.spec.js +24 -0
- package/node_modules/header-case/dist/index.spec.js.map +1 -0
- package/node_modules/header-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/header-case/dist.es2015/index.js +7 -0
- package/node_modules/header-case/dist.es2015/index.js.map +1 -0
- package/node_modules/header-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/header-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/header-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/header-case/package.json +89 -0
- package/node_modules/lower-case/LICENSE +21 -0
- package/node_modules/lower-case/README.md +35 -0
- package/node_modules/lower-case/dist/index.d.ts +8 -0
- package/node_modules/lower-case/dist/index.js +53 -0
- package/node_modules/lower-case/dist/index.js.map +1 -0
- package/node_modules/lower-case/dist/index.spec.d.ts +1 -0
- package/node_modules/lower-case/dist/index.spec.js +36 -0
- package/node_modules/lower-case/dist/index.spec.js.map +1 -0
- package/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
- package/node_modules/lower-case/dist.es2015/index.js +48 -0
- package/node_modules/lower-case/dist.es2015/index.js.map +1 -0
- package/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
- package/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/lower-case/package.json +87 -0
- package/node_modules/no-case/LICENSE +21 -0
- package/node_modules/no-case/README.md +37 -0
- package/node_modules/no-case/dist/index.d.ts +10 -0
- package/node_modules/no-case/dist/index.js +35 -0
- package/node_modules/no-case/dist/index.js.map +1 -0
- package/node_modules/no-case/dist/index.spec.d.ts +1 -0
- package/node_modules/no-case/dist/index.spec.js +59 -0
- package/node_modules/no-case/dist/index.spec.js.map +1 -0
- package/node_modules/no-case/dist.es2015/index.d.ts +10 -0
- package/node_modules/no-case/dist.es2015/index.js +31 -0
- package/node_modules/no-case/dist.es2015/index.js.map +1 -0
- package/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/no-case/dist.es2015/index.spec.js +57 -0
- package/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/no-case/package.json +85 -0
- package/node_modules/param-case/LICENSE +21 -0
- package/node_modules/param-case/README.md +37 -0
- package/node_modules/param-case/dist/index.d.ts +3 -0
- package/node_modules/param-case/dist/index.js +11 -0
- package/node_modules/param-case/dist/index.js.map +1 -0
- package/node_modules/param-case/dist/index.spec.d.ts +1 -0
- package/node_modules/param-case/dist/index.spec.js +24 -0
- package/node_modules/param-case/dist/index.spec.js.map +1 -0
- package/node_modules/param-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/param-case/dist.es2015/index.js +7 -0
- package/node_modules/param-case/dist.es2015/index.js.map +1 -0
- package/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/param-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/param-case/package.json +91 -0
- package/node_modules/pascal-case/LICENSE +21 -0
- package/node_modules/pascal-case/README.md +47 -0
- package/node_modules/pascal-case/dist/index.d.ts +5 -0
- package/node_modules/pascal-case/dist/index.js +24 -0
- package/node_modules/pascal-case/dist/index.js.map +1 -0
- package/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
- package/node_modules/pascal-case/dist/index.spec.js +25 -0
- package/node_modules/pascal-case/dist/index.spec.js.map +1 -0
- package/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
- package/node_modules/pascal-case/dist.es2015/index.js +18 -0
- package/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/pascal-case/package.json +90 -0
- package/node_modules/path-case/LICENSE +21 -0
- package/node_modules/path-case/README.md +37 -0
- package/node_modules/path-case/dist/index.d.ts +3 -0
- package/node_modules/path-case/dist/index.js +11 -0
- package/node_modules/path-case/dist/index.js.map +1 -0
- package/node_modules/path-case/dist/index.spec.d.ts +1 -0
- package/node_modules/path-case/dist/index.spec.js +24 -0
- package/node_modules/path-case/dist/index.spec.js.map +1 -0
- package/node_modules/path-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/path-case/dist.es2015/index.js +7 -0
- package/node_modules/path-case/dist.es2015/index.js.map +1 -0
- package/node_modules/path-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/path-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/path-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/path-case/package.json +88 -0
- package/node_modules/sentence-case/LICENSE +21 -0
- package/node_modules/sentence-case/README.md +37 -0
- package/node_modules/sentence-case/dist/index.d.ts +4 -0
- package/node_modules/sentence-case/dist/index.js +19 -0
- package/node_modules/sentence-case/dist/index.js.map +1 -0
- package/node_modules/sentence-case/dist/index.spec.d.ts +1 -0
- package/node_modules/sentence-case/dist/index.spec.js +24 -0
- package/node_modules/sentence-case/dist/index.spec.js.map +1 -0
- package/node_modules/sentence-case/dist.es2015/index.d.ts +4 -0
- package/node_modules/sentence-case/dist.es2015/index.js +14 -0
- package/node_modules/sentence-case/dist.es2015/index.js.map +1 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/sentence-case/package.json +89 -0
- package/node_modules/snake-case/LICENSE +21 -0
- package/node_modules/snake-case/README.md +37 -0
- package/node_modules/snake-case/dist/index.d.ts +3 -0
- package/node_modules/snake-case/dist/index.js +11 -0
- package/node_modules/snake-case/dist/index.js.map +1 -0
- package/node_modules/snake-case/dist/index.spec.d.ts +1 -0
- package/node_modules/snake-case/dist/index.spec.js +25 -0
- package/node_modules/snake-case/dist/index.spec.js.map +1 -0
- package/node_modules/snake-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/snake-case/dist.es2015/index.js +7 -0
- package/node_modules/snake-case/dist.es2015/index.js.map +1 -0
- package/node_modules/snake-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/snake-case/dist.es2015/index.spec.js +23 -0
- package/node_modules/snake-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/snake-case/package.json +90 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/tslib/README.md +164 -0
- package/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +38 -0
- package/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +317 -0
- package/node_modules/upper-case/README.md +34 -0
- package/node_modules/upper-case/dist/index.d.ts +8 -0
- package/node_modules/upper-case/dist/index.js +49 -0
- package/node_modules/upper-case/dist/index.js.map +1 -0
- package/node_modules/upper-case/dist/index.spec.d.ts +1 -0
- package/node_modules/upper-case/dist/index.spec.js +34 -0
- package/node_modules/upper-case/dist/index.spec.js.map +1 -0
- package/node_modules/upper-case/dist.es2015/index.d.ts +8 -0
- package/node_modules/upper-case/dist.es2015/index.js +44 -0
- package/node_modules/upper-case/dist.es2015/index.js.map +1 -0
- package/node_modules/upper-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/upper-case/dist.es2015/index.spec.js +32 -0
- package/node_modules/upper-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/upper-case/package.json +86 -0
- package/node_modules/upper-case-first/LICENSE +21 -0
- package/node_modules/upper-case-first/README.md +32 -0
- package/node_modules/upper-case-first/dist/index.d.ts +4 -0
- package/node_modules/upper-case-first/dist/index.js +11 -0
- package/node_modules/upper-case-first/dist/index.js.map +1 -0
- package/node_modules/upper-case-first/dist/index.spec.d.ts +1 -0
- package/node_modules/upper-case-first/dist/index.spec.js +20 -0
- package/node_modules/upper-case-first/dist/index.spec.js.map +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.d.ts +4 -0
- package/node_modules/upper-case-first/dist.es2015/index.js +7 -0
- package/node_modules/upper-case-first/dist.es2015/index.js.map +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.js +18 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/upper-case-first/package.json +87 -0
- package/node_modules/uuid/CHANGELOG.md +229 -0
- package/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +505 -0
- package/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/uuid/dist/rng-browser.js +26 -0
- package/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/uuid/dist/stringify.js +39 -0
- package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/uuid/dist/v35.js +78 -0
- package/node_modules/uuid/dist/v4.js +37 -0
- package/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/uuid/package.json +135 -0
- package/node_modules/uuid/wrapper.mjs +10 -0
- package/package.json +37 -6
- package/releasetag.txt +1 -0
- package/version.txt +1 -0
@@ -0,0 +1,398 @@
|
|
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
|
+
|
16
|
+
/**
|
17
|
+
* Used to shim class extends.
|
18
|
+
*
|
19
|
+
* @param d The derived class.
|
20
|
+
* @param b The base class.
|
21
|
+
*/
|
22
|
+
export declare function __extends(d: Function, b: Function): void;
|
23
|
+
|
24
|
+
/**
|
25
|
+
* Copy the values of all of the enumerable own properties from one or more source objects to a
|
26
|
+
* target object. Returns the target object.
|
27
|
+
*
|
28
|
+
* @param t The target object to copy to.
|
29
|
+
* @param sources One or more source objects from which to copy properties
|
30
|
+
*/
|
31
|
+
export declare function __assign(t: any, ...sources: any[]): any;
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Performs a rest spread on an object.
|
35
|
+
*
|
36
|
+
* @param t The source value.
|
37
|
+
* @param propertyNames The property names excluded from the rest spread.
|
38
|
+
*/
|
39
|
+
export declare function __rest(t: any, propertyNames: (string | symbol)[]): any;
|
40
|
+
|
41
|
+
/**
|
42
|
+
* Applies decorators to a target object
|
43
|
+
*
|
44
|
+
* @param decorators The set of decorators to apply.
|
45
|
+
* @param target The target object.
|
46
|
+
* @param key If specified, the own property to apply the decorators to.
|
47
|
+
* @param desc The property descriptor, defaults to fetching the descriptor from the target object.
|
48
|
+
* @experimental
|
49
|
+
*/
|
50
|
+
export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any;
|
51
|
+
|
52
|
+
/**
|
53
|
+
* Creates an observing function decorator from a parameter decorator.
|
54
|
+
*
|
55
|
+
* @param paramIndex The parameter index to apply the decorator to.
|
56
|
+
* @param decorator The parameter decorator to apply. Note that the return value is ignored.
|
57
|
+
* @experimental
|
58
|
+
*/
|
59
|
+
export declare function __param(paramIndex: number, decorator: Function): Function;
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Creates a decorator that sets metadata.
|
63
|
+
*
|
64
|
+
* @param metadataKey The metadata key
|
65
|
+
* @param metadataValue The metadata value
|
66
|
+
* @experimental
|
67
|
+
*/
|
68
|
+
export declare function __metadata(metadataKey: any, metadataValue: any): Function;
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Converts a generator function into a pseudo-async function, by treating each `yield` as an `await`.
|
72
|
+
*
|
73
|
+
* @param thisArg The reference to use as the `this` value in the generator function
|
74
|
+
* @param _arguments The optional arguments array
|
75
|
+
* @param P The optional promise constructor argument, defaults to the `Promise` property of the global object.
|
76
|
+
* @param generator The generator function
|
77
|
+
*/
|
78
|
+
export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any;
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Creates an Iterator object using the body as the implementation.
|
82
|
+
*
|
83
|
+
* @param thisArg The reference to use as the `this` value in the function
|
84
|
+
* @param body The generator state-machine based implementation.
|
85
|
+
*
|
86
|
+
* @see [./docs/generator.md]
|
87
|
+
*/
|
88
|
+
export declare function __generator(thisArg: any, body: Function): any;
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Creates bindings for all enumerable properties of `m` on `exports`
|
92
|
+
*
|
93
|
+
* @param m The source object
|
94
|
+
* @param exports The `exports` object.
|
95
|
+
*/
|
96
|
+
export declare function __exportStar(m: any, o: any): void;
|
97
|
+
|
98
|
+
/**
|
99
|
+
* Creates a value iterator from an `Iterable` or `ArrayLike` object.
|
100
|
+
*
|
101
|
+
* @param o The object.
|
102
|
+
* @throws {TypeError} If `o` is neither `Iterable`, nor an `ArrayLike`.
|
103
|
+
*/
|
104
|
+
export declare function __values(o: any): any;
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Reads values from an `Iterable` or `ArrayLike` object and returns the resulting array.
|
108
|
+
*
|
109
|
+
* @param o The object to read from.
|
110
|
+
* @param n The maximum number of arguments to read, defaults to `Infinity`.
|
111
|
+
*/
|
112
|
+
export declare function __read(o: any, n?: number): any[];
|
113
|
+
|
114
|
+
/**
|
115
|
+
* Creates an array from iterable spread.
|
116
|
+
*
|
117
|
+
* @param args The Iterable objects to spread.
|
118
|
+
* @deprecated since TypeScript 4.2 - Use `__spreadArray`
|
119
|
+
*/
|
120
|
+
export declare function __spread(...args: any[][]): any[];
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Creates an array from array spread.
|
124
|
+
*
|
125
|
+
* @param args The ArrayLikes to spread into the resulting array.
|
126
|
+
* @deprecated since TypeScript 4.2 - Use `__spreadArray`
|
127
|
+
*/
|
128
|
+
export declare function __spreadArrays(...args: any[][]): any[];
|
129
|
+
|
130
|
+
/**
|
131
|
+
* Spreads the `from` array into the `to` array.
|
132
|
+
*
|
133
|
+
* @param pack Replace empty elements with `undefined`.
|
134
|
+
*/
|
135
|
+
export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[];
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Creates an object that signals to `__asyncGenerator` that it shouldn't be yielded,
|
139
|
+
* and instead should be awaited and the resulting value passed back to the generator.
|
140
|
+
*
|
141
|
+
* @param v The value to await.
|
142
|
+
*/
|
143
|
+
export declare function __await(v: any): any;
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Converts a generator function into an async generator function, by using `yield __await`
|
147
|
+
* in place of normal `await`.
|
148
|
+
*
|
149
|
+
* @param thisArg The reference to use as the `this` value in the generator function
|
150
|
+
* @param _arguments The optional arguments array
|
151
|
+
* @param generator The generator function
|
152
|
+
*/
|
153
|
+
export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any;
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Used to wrap a potentially async iterator in such a way so that it wraps the result
|
157
|
+
* of calling iterator methods of `o` in `__await` instances, and then yields the awaited values.
|
158
|
+
*
|
159
|
+
* @param o The potentially async iterator.
|
160
|
+
* @returns A synchronous iterator yielding `__await` instances on every odd invocation
|
161
|
+
* and returning the awaited `IteratorResult` passed to `next` every even invocation.
|
162
|
+
*/
|
163
|
+
export declare function __asyncDelegator(o: any): any;
|
164
|
+
|
165
|
+
/**
|
166
|
+
* Creates a value async iterator from an `AsyncIterable`, `Iterable` or `ArrayLike` object.
|
167
|
+
*
|
168
|
+
* @param o The object.
|
169
|
+
* @throws {TypeError} If `o` is neither `AsyncIterable`, `Iterable`, nor an `ArrayLike`.
|
170
|
+
*/
|
171
|
+
export declare function __asyncValues(o: any): any;
|
172
|
+
|
173
|
+
/**
|
174
|
+
* Creates a `TemplateStringsArray` frozen object from the `cooked` and `raw` arrays.
|
175
|
+
*
|
176
|
+
* @param cooked The cooked possibly-sparse array.
|
177
|
+
* @param raw The raw string content.
|
178
|
+
*/
|
179
|
+
export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Used to shim default and named imports in ECMAScript Modules transpiled to CommonJS.
|
183
|
+
*
|
184
|
+
* ```js
|
185
|
+
* import Default, { Named, Other } from "mod";
|
186
|
+
* // or
|
187
|
+
* import { default as Default, Named, Other } from "mod";
|
188
|
+
* ```
|
189
|
+
*
|
190
|
+
* @param mod The CommonJS module exports object.
|
191
|
+
*/
|
192
|
+
export declare function __importStar<T>(mod: T): T;
|
193
|
+
|
194
|
+
/**
|
195
|
+
* Used to shim default imports in ECMAScript Modules transpiled to CommonJS.
|
196
|
+
*
|
197
|
+
* ```js
|
198
|
+
* import Default from "mod";
|
199
|
+
* ```
|
200
|
+
*
|
201
|
+
* @param mod The CommonJS module exports object.
|
202
|
+
*/
|
203
|
+
export declare function __importDefault<T>(mod: T): T | { default: T };
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Emulates reading a private instance field.
|
207
|
+
*
|
208
|
+
* @param receiver The instance from which to read the private field.
|
209
|
+
* @param state A WeakMap containing the private field value for an instance.
|
210
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
211
|
+
*
|
212
|
+
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
213
|
+
*/
|
214
|
+
export declare function __classPrivateFieldGet<T extends object, V>(
|
215
|
+
receiver: T,
|
216
|
+
state: { has(o: T): boolean, get(o: T): V | undefined },
|
217
|
+
kind?: "f"
|
218
|
+
): V;
|
219
|
+
|
220
|
+
/**
|
221
|
+
* Emulates reading a private static field.
|
222
|
+
*
|
223
|
+
* @param receiver The object from which to read the private static field.
|
224
|
+
* @param state The class constructor containing the definition of the static field.
|
225
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
226
|
+
* @param f The descriptor that holds the static field value.
|
227
|
+
*
|
228
|
+
* @throws {TypeError} If `receiver` is not `state`.
|
229
|
+
*/
|
230
|
+
export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
|
231
|
+
receiver: T,
|
232
|
+
state: T,
|
233
|
+
kind: "f",
|
234
|
+
f: { value: V }
|
235
|
+
): V;
|
236
|
+
|
237
|
+
/**
|
238
|
+
* Emulates evaluating a private instance "get" accessor.
|
239
|
+
*
|
240
|
+
* @param receiver The instance on which to evaluate the private "get" accessor.
|
241
|
+
* @param state A WeakSet used to verify an instance supports the private "get" accessor.
|
242
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
243
|
+
* @param f The "get" accessor function to evaluate.
|
244
|
+
*
|
245
|
+
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
246
|
+
*/
|
247
|
+
export declare function __classPrivateFieldGet<T extends object, V>(
|
248
|
+
receiver: T,
|
249
|
+
state: { has(o: T): boolean },
|
250
|
+
kind: "a",
|
251
|
+
f: () => V
|
252
|
+
): V;
|
253
|
+
|
254
|
+
/**
|
255
|
+
* Emulates evaluating a private static "get" accessor.
|
256
|
+
*
|
257
|
+
* @param receiver The object on which to evaluate the private static "get" accessor.
|
258
|
+
* @param state The class constructor containing the definition of the static "get" accessor.
|
259
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
260
|
+
* @param f The "get" accessor function to evaluate.
|
261
|
+
*
|
262
|
+
* @throws {TypeError} If `receiver` is not `state`.
|
263
|
+
*/
|
264
|
+
export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
|
265
|
+
receiver: T,
|
266
|
+
state: T,
|
267
|
+
kind: "a",
|
268
|
+
f: () => V
|
269
|
+
): V;
|
270
|
+
|
271
|
+
/**
|
272
|
+
* Emulates reading a private instance method.
|
273
|
+
*
|
274
|
+
* @param receiver The instance from which to read a private method.
|
275
|
+
* @param state A WeakSet used to verify an instance supports the private method.
|
276
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
277
|
+
* @param f The function to return as the private instance method.
|
278
|
+
*
|
279
|
+
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
280
|
+
*/
|
281
|
+
export declare function __classPrivateFieldGet<T extends object, V extends (...args: any[]) => unknown>(
|
282
|
+
receiver: T,
|
283
|
+
state: { has(o: T): boolean },
|
284
|
+
kind: "m",
|
285
|
+
f: V
|
286
|
+
): V;
|
287
|
+
|
288
|
+
/**
|
289
|
+
* Emulates reading a private static method.
|
290
|
+
*
|
291
|
+
* @param receiver The object from which to read the private static method.
|
292
|
+
* @param state The class constructor containing the definition of the static method.
|
293
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
294
|
+
* @param f The function to return as the private static method.
|
295
|
+
*
|
296
|
+
* @throws {TypeError} If `receiver` is not `state`.
|
297
|
+
*/
|
298
|
+
export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V extends (...args: any[]) => unknown>(
|
299
|
+
receiver: T,
|
300
|
+
state: T,
|
301
|
+
kind: "m",
|
302
|
+
f: V
|
303
|
+
): V;
|
304
|
+
|
305
|
+
/**
|
306
|
+
* Emulates writing to a private instance field.
|
307
|
+
*
|
308
|
+
* @param receiver The instance on which to set a private field value.
|
309
|
+
* @param state A WeakMap used to store the private field value for an instance.
|
310
|
+
* @param value The value to store in the private field.
|
311
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
312
|
+
*
|
313
|
+
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
314
|
+
*/
|
315
|
+
export declare function __classPrivateFieldSet<T extends object, V>(
|
316
|
+
receiver: T,
|
317
|
+
state: { has(o: T): boolean, set(o: T, value: V): unknown },
|
318
|
+
value: V,
|
319
|
+
kind?: "f"
|
320
|
+
): V;
|
321
|
+
|
322
|
+
/**
|
323
|
+
* Emulates writing to a private static field.
|
324
|
+
*
|
325
|
+
* @param receiver The object on which to set the private static field.
|
326
|
+
* @param state The class constructor containing the definition of the private static field.
|
327
|
+
* @param value The value to store in the private field.
|
328
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
329
|
+
* @param f The descriptor that holds the static field value.
|
330
|
+
*
|
331
|
+
* @throws {TypeError} If `receiver` is not `state`.
|
332
|
+
*/
|
333
|
+
export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
|
334
|
+
receiver: T,
|
335
|
+
state: T,
|
336
|
+
value: V,
|
337
|
+
kind: "f",
|
338
|
+
f: { value: V }
|
339
|
+
): V;
|
340
|
+
|
341
|
+
/**
|
342
|
+
* Emulates writing to a private instance "set" accessor.
|
343
|
+
*
|
344
|
+
* @param receiver The instance on which to evaluate the private instance "set" accessor.
|
345
|
+
* @param state A WeakSet used to verify an instance supports the private "set" accessor.
|
346
|
+
* @param value The value to store in the private accessor.
|
347
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
348
|
+
* @param f The "set" accessor function to evaluate.
|
349
|
+
*
|
350
|
+
* @throws {TypeError} If `state` doesn't have an entry for `receiver`.
|
351
|
+
*/
|
352
|
+
export declare function __classPrivateFieldSet<T extends object, V>(
|
353
|
+
receiver: T,
|
354
|
+
state: { has(o: T): boolean },
|
355
|
+
value: V,
|
356
|
+
kind: "a",
|
357
|
+
f: (v: V) => void
|
358
|
+
): V;
|
359
|
+
|
360
|
+
/**
|
361
|
+
* Emulates writing to a private static "set" accessor.
|
362
|
+
*
|
363
|
+
* @param receiver The object on which to evaluate the private static "set" accessor.
|
364
|
+
* @param state The class constructor containing the definition of the static "set" accessor.
|
365
|
+
* @param value The value to store in the private field.
|
366
|
+
* @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
|
367
|
+
* @param f The "set" accessor function to evaluate.
|
368
|
+
*
|
369
|
+
* @throws {TypeError} If `receiver` is not `state`.
|
370
|
+
*/
|
371
|
+
export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
|
372
|
+
receiver: T,
|
373
|
+
state: T,
|
374
|
+
value: V,
|
375
|
+
kind: "a",
|
376
|
+
f: (v: V) => void
|
377
|
+
): V;
|
378
|
+
|
379
|
+
/**
|
380
|
+
* Checks for the existence of a private field/method/accessor.
|
381
|
+
*
|
382
|
+
* @param state The class constructor containing the static member, or the WeakMap or WeakSet associated with a private instance member.
|
383
|
+
* @param receiver The object for which to test the presence of the private member.
|
384
|
+
*/
|
385
|
+
export declare function __classPrivateFieldIn(
|
386
|
+
state: (new (...args: any[]) => unknown) | { has(o: any): boolean },
|
387
|
+
receiver: unknown,
|
388
|
+
): boolean;
|
389
|
+
|
390
|
+
/**
|
391
|
+
* Creates a re-export binding on `object` with key `objectKey` that references `target[key]`.
|
392
|
+
*
|
393
|
+
* @param object The local `exports` object.
|
394
|
+
* @param target The object to re-export from.
|
395
|
+
* @param key The property key of `target` to re-export.
|
396
|
+
* @param objectKey The property key to re-export as. Defaults to `key`.
|
397
|
+
*/
|
398
|
+
export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void;
|
@@ -0,0 +1 @@
|
|
1
|
+
<script src="tslib.es6.js"></script>
|
@@ -0,0 +1,248 @@
|
|
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
|
+
/* global Reflect, Promise */
|
16
|
+
|
17
|
+
var extendStatics = function(d, b) {
|
18
|
+
extendStatics = Object.setPrototypeOf ||
|
19
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
20
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
21
|
+
return extendStatics(d, b);
|
22
|
+
};
|
23
|
+
|
24
|
+
export function __extends(d, b) {
|
25
|
+
if (typeof b !== "function" && b !== null)
|
26
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
27
|
+
extendStatics(d, b);
|
28
|
+
function __() { this.constructor = d; }
|
29
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
30
|
+
}
|
31
|
+
|
32
|
+
export var __assign = function() {
|
33
|
+
__assign = Object.assign || function __assign(t) {
|
34
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
35
|
+
s = arguments[i];
|
36
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
37
|
+
}
|
38
|
+
return t;
|
39
|
+
}
|
40
|
+
return __assign.apply(this, arguments);
|
41
|
+
}
|
42
|
+
|
43
|
+
export function __rest(s, e) {
|
44
|
+
var t = {};
|
45
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
46
|
+
t[p] = s[p];
|
47
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
48
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
49
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
50
|
+
t[p[i]] = s[p[i]];
|
51
|
+
}
|
52
|
+
return t;
|
53
|
+
}
|
54
|
+
|
55
|
+
export function __decorate(decorators, target, key, desc) {
|
56
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
57
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
58
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
59
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
60
|
+
}
|
61
|
+
|
62
|
+
export function __param(paramIndex, decorator) {
|
63
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
64
|
+
}
|
65
|
+
|
66
|
+
export function __metadata(metadataKey, metadataValue) {
|
67
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
68
|
+
}
|
69
|
+
|
70
|
+
export function __awaiter(thisArg, _arguments, P, generator) {
|
71
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
72
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
73
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
74
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
75
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
76
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
77
|
+
});
|
78
|
+
}
|
79
|
+
|
80
|
+
export function __generator(thisArg, body) {
|
81
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
82
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
83
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
84
|
+
function step(op) {
|
85
|
+
if (f) throw new TypeError("Generator is already executing.");
|
86
|
+
while (_) try {
|
87
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
88
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
89
|
+
switch (op[0]) {
|
90
|
+
case 0: case 1: t = op; break;
|
91
|
+
case 4: _.label++; return { value: op[1], done: false };
|
92
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
93
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
94
|
+
default:
|
95
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
96
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
97
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
98
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
99
|
+
if (t[2]) _.ops.pop();
|
100
|
+
_.trys.pop(); continue;
|
101
|
+
}
|
102
|
+
op = body.call(thisArg, _);
|
103
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
104
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
export var __createBinding = Object.create ? (function(o, m, k, k2) {
|
109
|
+
if (k2 === undefined) k2 = k;
|
110
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
111
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
112
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
113
|
+
}
|
114
|
+
Object.defineProperty(o, k2, desc);
|
115
|
+
}) : (function(o, m, k, k2) {
|
116
|
+
if (k2 === undefined) k2 = k;
|
117
|
+
o[k2] = m[k];
|
118
|
+
});
|
119
|
+
|
120
|
+
export function __exportStar(m, o) {
|
121
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
122
|
+
}
|
123
|
+
|
124
|
+
export function __values(o) {
|
125
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
126
|
+
if (m) return m.call(o);
|
127
|
+
if (o && typeof o.length === "number") return {
|
128
|
+
next: function () {
|
129
|
+
if (o && i >= o.length) o = void 0;
|
130
|
+
return { value: o && o[i++], done: !o };
|
131
|
+
}
|
132
|
+
};
|
133
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
134
|
+
}
|
135
|
+
|
136
|
+
export function __read(o, n) {
|
137
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
138
|
+
if (!m) return o;
|
139
|
+
var i = m.call(o), r, ar = [], e;
|
140
|
+
try {
|
141
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
142
|
+
}
|
143
|
+
catch (error) { e = { error: error }; }
|
144
|
+
finally {
|
145
|
+
try {
|
146
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
147
|
+
}
|
148
|
+
finally { if (e) throw e.error; }
|
149
|
+
}
|
150
|
+
return ar;
|
151
|
+
}
|
152
|
+
|
153
|
+
/** @deprecated */
|
154
|
+
export function __spread() {
|
155
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
156
|
+
ar = ar.concat(__read(arguments[i]));
|
157
|
+
return ar;
|
158
|
+
}
|
159
|
+
|
160
|
+
/** @deprecated */
|
161
|
+
export function __spreadArrays() {
|
162
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
163
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
164
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
165
|
+
r[k] = a[j];
|
166
|
+
return r;
|
167
|
+
}
|
168
|
+
|
169
|
+
export function __spreadArray(to, from, pack) {
|
170
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
171
|
+
if (ar || !(i in from)) {
|
172
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
173
|
+
ar[i] = from[i];
|
174
|
+
}
|
175
|
+
}
|
176
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
177
|
+
}
|
178
|
+
|
179
|
+
export function __await(v) {
|
180
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
181
|
+
}
|
182
|
+
|
183
|
+
export function __asyncGenerator(thisArg, _arguments, generator) {
|
184
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
185
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
186
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
187
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
188
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
189
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
190
|
+
function fulfill(value) { resume("next", value); }
|
191
|
+
function reject(value) { resume("throw", value); }
|
192
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
193
|
+
}
|
194
|
+
|
195
|
+
export function __asyncDelegator(o) {
|
196
|
+
var i, p;
|
197
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
198
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
199
|
+
}
|
200
|
+
|
201
|
+
export function __asyncValues(o) {
|
202
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
203
|
+
var m = o[Symbol.asyncIterator], i;
|
204
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
205
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
206
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
207
|
+
}
|
208
|
+
|
209
|
+
export function __makeTemplateObject(cooked, raw) {
|
210
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
211
|
+
return cooked;
|
212
|
+
};
|
213
|
+
|
214
|
+
var __setModuleDefault = Object.create ? (function(o, v) {
|
215
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
216
|
+
}) : function(o, v) {
|
217
|
+
o["default"] = v;
|
218
|
+
};
|
219
|
+
|
220
|
+
export function __importStar(mod) {
|
221
|
+
if (mod && mod.__esModule) return mod;
|
222
|
+
var result = {};
|
223
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
224
|
+
__setModuleDefault(result, mod);
|
225
|
+
return result;
|
226
|
+
}
|
227
|
+
|
228
|
+
export function __importDefault(mod) {
|
229
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
230
|
+
}
|
231
|
+
|
232
|
+
export function __classPrivateFieldGet(receiver, state, kind, f) {
|
233
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
234
|
+
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");
|
235
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
236
|
+
}
|
237
|
+
|
238
|
+
export function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
239
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
240
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
241
|
+
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");
|
242
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
243
|
+
}
|
244
|
+
|
245
|
+
export function __classPrivateFieldIn(state, receiver) {
|
246
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
247
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
248
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
<script src="tslib.js"></script>
|