UNPKG

app-decorators

Version:

Collection of useful ES7 Decorators, writtin in ES6, that can be used for building webapps

539 lines (537 loc) 18.8 kB
SystemJS.config({ transpiler: false, map: { "app-decorators": "src/index", "app-decorators/src/bootstrap": "src/bootstrap", "app-decorators/src/libs/customelement": "src/libs/customelement", "app-decorators/src/libs/random-storage": "src/libs/random-storage", "app-decorators/src/libs/element-to-function": "src/libs/element-to-function" }, packages: { "src": { "defaultExtension": "js" }, "test": { "defaultExtension": "js" }, "node_modules": { "defaultExtension": "js" } } }); SystemJS.config({ packageConfigPaths: [ "npm:@*/*.json", "npm:*.json", "github:*/*.json" ], map: { "assert": "npm:jspm-nodelibs-assert@0.2.1", "babel-polyfill": "npm:babel-polyfill@6.26.0", "buffer": "npm:jspm-nodelibs-buffer@0.2.3", "child_process": "npm:jspm-nodelibs-child_process@0.2.1", "constants": "npm:jspm-nodelibs-constants@0.2.1", "crypto": "npm:jspm-nodelibs-crypto@0.2.1", "events": "npm:jspm-nodelibs-events@0.2.2", "fs": "npm:jspm-nodelibs-fs@0.2.1", "handlebars": "npm:handlebars@4.0.10", "http": "npm:jspm-nodelibs-http@0.2.0", "https": "npm:jspm-nodelibs-https@0.2.2", "jquery": "npm:jquery@2.2.0", "module": "npm:jspm-nodelibs-module@0.2.1", "os": "npm:jspm-nodelibs-os@0.2.2", "path": "npm:jspm-nodelibs-path@0.2.3", "process": "npm:jspm-nodelibs-process@0.2.1", "querystring": "npm:jspm-nodelibs-querystring@0.2.2", "should": "npm:should@11.2.1", "sinon": "npm:sinon@3.3.0", "stream": "npm:jspm-nodelibs-stream@0.2.1", "string_decoder": "npm:jspm-nodelibs-string_decoder@0.2.2", "text-encoding": "npm:text-encoding@0.6.4", "tty": "npm:jspm-nodelibs-tty@0.2.1", "uglify-js": "npm:uglify-js@2.8.29", "uglify-to-browserify": "npm:uglify-to-browserify@1.0.2", "underscore": "npm:underscore@1.8.3", "url": "npm:jspm-nodelibs-url@0.2.1", "util": "npm:jspm-nodelibs-util@0.2.2", "vm": "npm:jspm-nodelibs-vm@0.2.1", "zlib": "npm:jspm-nodelibs-zlib@0.2.3" }, packages: { "npm:sinon@3.3.0": { "map": { "text-encoding": "npm:text-encoding@0.6.4", "lolex": "npm:lolex@2.3.1", "nise": "npm:nise@1.2.0", "formatio": "npm:formatio@1.2.0", "lodash.get": "npm:lodash.get@4.4.2", "build": "npm:build@0.1.4", "samsam": "npm:samsam@1.3.0", "native-promise-only": "npm:native-promise-only@0.8.1", "type-detect": "npm:type-detect@4.0.5", "diff": "npm:diff@3.4.0", "path-to-regexp": "npm:path-to-regexp@1.7.0" } }, "npm:should@11.2.1": { "map": { "should-equal": "npm:should-equal@1.0.1", "should-type-adaptors": "npm:should-type-adaptors@1.0.1", "should-type": "npm:should-type@1.4.0", "should-util": "npm:should-util@1.0.0", "should-format": "npm:should-format@3.0.3" } }, "npm:babel-polyfill@6.26.0": { "map": { "regenerator-runtime": "npm:regenerator-runtime@0.10.5", "core-js": "npm:core-js@2.5.3", "babel-runtime": "npm:babel-runtime@6.26.0" } }, "npm:handlebars@4.0.10": { "map": { "async": "npm:async@1.5.2", "optimist": "npm:optimist@0.6.1", "source-map": "npm:source-map@0.4.4" } }, "npm:should-equal@1.0.1": { "map": { "should-type": "npm:should-type@1.4.0" } }, "npm:babel-runtime@6.26.0": { "map": { "regenerator-runtime": "npm:regenerator-runtime@0.11.1", "core-js": "npm:core-js@2.5.3" } }, "npm:should-type-adaptors@1.0.1": { "map": { "should-type": "npm:should-type@1.4.0", "should-util": "npm:should-util@1.0.0" } }, "npm:should-format@3.0.3": { "map": { "should-type": "npm:should-type@1.4.0", "should-type-adaptors": "npm:should-type-adaptors@1.0.1" } }, "npm:formatio@1.2.0": { "map": { "samsam": "npm:samsam@1.3.0" } }, "npm:nise@1.2.0": { "map": { "lolex": "npm:lolex@1.6.0", "formatio": "npm:formatio@1.2.0", "path-to-regexp": "npm:path-to-regexp@1.7.0", "text-encoding": "npm:text-encoding@0.6.4", "just-extend": "npm:just-extend@1.1.27" } }, "npm:build@0.1.4": { "map": { "uglify-js": "npm:uglify-js@1.3.5", "jxLoader": "npm:jxLoader@0.1.1", "walker": "npm:walker@1.0.7", "jsmin": "npm:jsmin@1.0.1", "moo-server": "npm:moo-server@1.3.0", "winston": "npm:winston@2.4.0", "cssmin": "npm:cssmin@0.3.2", "timespan": "npm:timespan@2.3.0", "promised-io": "npm:promised-io@0.3.5", "wrench": "npm:wrench@1.3.9" } }, "npm:uglify-js@2.8.29": { "map": { "source-map": "npm:source-map@0.5.7", "yargs": "npm:yargs@3.10.0" } }, "npm:jspm-nodelibs-buffer@0.2.3": { "map": { "buffer": "npm:buffer@5.0.8" } }, "npm:optimist@0.6.1": { "map": { "wordwrap": "npm:wordwrap@0.0.2", "minimist": "npm:minimist@0.0.10" } }, "npm:source-map@0.4.4": { "map": { "amdefine": "npm:amdefine@1.0.1" } }, "npm:path-to-regexp@1.7.0": { "map": { "isarray": "npm:isarray@0.0.1" } }, "npm:winston@2.4.0": { "map": { "async": "npm:async@1.0.0", "cycle": "npm:cycle@1.0.3", "stack-trace": "npm:stack-trace@0.0.10", "isstream": "npm:isstream@0.1.2", "eyes": "npm:eyes@0.1.8", "colors": "npm:colors@1.0.3" } }, "npm:jxLoader@0.1.1": { "map": { "promised-io": "npm:promised-io@0.3.5", "walker": "npm:walker@1.0.7", "moo-server": "npm:moo-server@1.3.0", "js-yaml": "npm:js-yaml@0.3.7" } }, "npm:buffer@5.0.8": { "map": { "ieee754": "npm:ieee754@1.1.8", "base64-js": "npm:base64-js@1.2.1" } }, "npm:walker@1.0.7": { "map": { "makeerror": "npm:makeerror@1.0.11" } }, "npm:yargs@3.10.0": { "map": { "cliui": "npm:cliui@2.1.0", "camelcase": "npm:camelcase@1.2.1", "window-size": "npm:window-size@0.1.0", "decamelize": "npm:decamelize@1.2.0" } }, "npm:jspm-nodelibs-crypto@0.2.1": { "map": { "crypto-browserify": "npm:crypto-browserify@3.12.0" } }, "npm:jspm-nodelibs-stream@0.2.1": { "map": { "stream-browserify": "npm:stream-browserify@2.0.1" } }, "npm:makeerror@1.0.11": { "map": { "tmpl": "npm:tmpl@1.0.4" } }, "npm:jspm-nodelibs-string_decoder@0.2.2": { "map": { "string_decoder": "npm:string_decoder@0.10.31" } }, "npm:jspm-nodelibs-os@0.2.2": { "map": { "os-browserify": "npm:os-browserify@0.3.0" } }, "npm:jspm-nodelibs-http@0.2.0": { "map": { "http-browserify": "npm:stream-http@2.7.2" } }, "npm:jspm-nodelibs-zlib@0.2.3": { "map": { "browserify-zlib": "npm:browserify-zlib@0.1.4" } }, "npm:jspm-nodelibs-url@0.2.1": { "map": { "url": "npm:url@0.11.0" } }, "npm:cliui@2.1.0": { "map": { "wordwrap": "npm:wordwrap@0.0.2", "right-align": "npm:right-align@0.1.3", "center-align": "npm:center-align@0.1.3" } }, "npm:stream-browserify@2.0.1": { "map": { "inherits": "npm:inherits@2.0.3", "readable-stream": "npm:readable-stream@2.3.3" } }, "npm:crypto-browserify@3.12.0": { "map": { "inherits": "npm:inherits@2.0.3", "browserify-cipher": "npm:browserify-cipher@1.0.0", "create-ecdh": "npm:create-ecdh@4.0.0", "create-hash": "npm:create-hash@1.1.3", "create-hmac": "npm:create-hmac@1.1.6", "browserify-sign": "npm:browserify-sign@4.0.4", "diffie-hellman": "npm:diffie-hellman@5.0.2", "public-encrypt": "npm:public-encrypt@4.0.0", "randombytes": "npm:randombytes@2.0.5", "pbkdf2": "npm:pbkdf2@3.0.14", "randomfill": "npm:randomfill@1.0.3" } }, "npm:stream-http@2.7.2": { "map": { "inherits": "npm:inherits@2.0.3", "readable-stream": "npm:readable-stream@2.3.3", "to-arraybuffer": "npm:to-arraybuffer@1.0.1", "builtin-status-codes": "npm:builtin-status-codes@3.0.0", "xtend": "npm:xtend@4.0.1" } }, "npm:center-align@0.1.3": { "map": { "align-text": "npm:align-text@0.1.4", "lazy-cache": "npm:lazy-cache@1.0.4" } }, "npm:right-align@0.1.3": { "map": { "align-text": "npm:align-text@0.1.4" } }, "npm:url@0.11.0": { "map": { "querystring": "npm:querystring@0.2.0", "punycode": "npm:punycode@1.3.2" } }, "npm:browserify-zlib@0.1.4": { "map": { "readable-stream": "npm:readable-stream@2.3.3", "pako": "npm:pako@0.2.9" } }, "npm:align-text@0.1.4": { "map": { "repeat-string": "npm:repeat-string@1.6.1", "longest": "npm:longest@1.0.1", "kind-of": "npm:kind-of@3.2.2" } }, "npm:readable-stream@2.3.3": { "map": { "isarray": "npm:isarray@1.0.0", "string_decoder": "npm:string_decoder@1.0.3", "inherits": "npm:inherits@2.0.3", "process-nextick-args": "npm:process-nextick-args@1.0.7", "safe-buffer": "npm:safe-buffer@5.1.1", "util-deprecate": "npm:util-deprecate@1.0.2", "core-util-is": "npm:core-util-is@1.0.2" } }, "npm:create-hash@1.1.3": { "map": { "inherits": "npm:inherits@2.0.3", "ripemd160": "npm:ripemd160@2.0.1", "cipher-base": "npm:cipher-base@1.0.4", "sha.js": "npm:sha.js@2.4.9" } }, "npm:diffie-hellman@5.0.2": { "map": { "randombytes": "npm:randombytes@2.0.5", "bn.js": "npm:bn.js@4.11.8", "miller-rabin": "npm:miller-rabin@4.0.1" } }, "npm:create-hmac@1.1.6": { "map": { "create-hash": "npm:create-hash@1.1.3", "inherits": "npm:inherits@2.0.3", "safe-buffer": "npm:safe-buffer@5.1.1", "ripemd160": "npm:ripemd160@2.0.1", "cipher-base": "npm:cipher-base@1.0.4", "sha.js": "npm:sha.js@2.4.9" } }, "npm:public-encrypt@4.0.0": { "map": { "create-hash": "npm:create-hash@1.1.3", "randombytes": "npm:randombytes@2.0.5", "bn.js": "npm:bn.js@4.11.8", "browserify-rsa": "npm:browserify-rsa@4.0.1", "parse-asn1": "npm:parse-asn1@5.1.0" } }, "npm:browserify-sign@4.0.4": { "map": { "create-hash": "npm:create-hash@1.1.3", "create-hmac": "npm:create-hmac@1.1.6", "inherits": "npm:inherits@2.0.3", "elliptic": "npm:elliptic@6.4.0", "bn.js": "npm:bn.js@4.11.8", "browserify-rsa": "npm:browserify-rsa@4.0.1", "parse-asn1": "npm:parse-asn1@5.1.0" } }, "npm:randomfill@1.0.3": { "map": { "randombytes": "npm:randombytes@2.0.5", "safe-buffer": "npm:safe-buffer@5.1.1" } }, "npm:randombytes@2.0.5": { "map": { "safe-buffer": "npm:safe-buffer@5.1.1" } }, "npm:pbkdf2@3.0.14": { "map": { "safe-buffer": "npm:safe-buffer@5.1.1", "ripemd160": "npm:ripemd160@2.0.1", "create-hash": "npm:create-hash@1.1.3", "create-hmac": "npm:create-hmac@1.1.6", "sha.js": "npm:sha.js@2.4.9" } }, "npm:create-ecdh@4.0.0": { "map": { "elliptic": "npm:elliptic@6.4.0", "bn.js": "npm:bn.js@4.11.8" } }, "npm:browserify-cipher@1.0.0": { "map": { "browserify-aes": "npm:browserify-aes@1.1.1", "browserify-des": "npm:browserify-des@1.0.0", "evp_bytestokey": "npm:evp_bytestokey@1.0.3" } }, "npm:kind-of@3.2.2": { "map": { "is-buffer": "npm:is-buffer@1.1.6" } }, "npm:elliptic@6.4.0": { "map": { "bn.js": "npm:bn.js@4.11.8", "inherits": "npm:inherits@2.0.3", "hmac-drbg": "npm:hmac-drbg@1.0.1", "minimalistic-assert": "npm:minimalistic-assert@1.0.0", "hash.js": "npm:hash.js@1.1.3", "brorand": "npm:brorand@1.1.0", "minimalistic-crypto-utils": "npm:minimalistic-crypto-utils@1.0.1" } }, "npm:browserify-aes@1.1.1": { "map": { "cipher-base": "npm:cipher-base@1.0.4", "create-hash": "npm:create-hash@1.1.3", "evp_bytestokey": "npm:evp_bytestokey@1.0.3", "inherits": "npm:inherits@2.0.3", "safe-buffer": "npm:safe-buffer@5.1.1", "buffer-xor": "npm:buffer-xor@1.0.3" } }, "npm:sha.js@2.4.9": { "map": { "inherits": "npm:inherits@2.0.3", "safe-buffer": "npm:safe-buffer@5.1.1" } }, "npm:parse-asn1@5.1.0": { "map": { "browserify-aes": "npm:browserify-aes@1.1.1", "create-hash": "npm:create-hash@1.1.3", "evp_bytestokey": "npm:evp_bytestokey@1.0.3", "pbkdf2": "npm:pbkdf2@3.0.14", "asn1.js": "npm:asn1.js@4.9.2" } }, "npm:miller-rabin@4.0.1": { "map": { "bn.js": "npm:bn.js@4.11.8", "brorand": "npm:brorand@1.1.0" } }, "npm:string_decoder@1.0.3": { "map": { "safe-buffer": "npm:safe-buffer@5.1.1" } }, "npm:cipher-base@1.0.4": { "map": { "inherits": "npm:inherits@2.0.3", "safe-buffer": "npm:safe-buffer@5.1.1" } }, "npm:ripemd160@2.0.1": { "map": { "inherits": "npm:inherits@2.0.3", "hash-base": "npm:hash-base@2.0.2" } }, "npm:evp_bytestokey@1.0.3": { "map": { "safe-buffer": "npm:safe-buffer@5.1.1", "md5.js": "npm:md5.js@1.3.4" } }, "npm:browserify-des@1.0.0": { "map": { "cipher-base": "npm:cipher-base@1.0.4", "inherits": "npm:inherits@2.0.3", "des.js": "npm:des.js@1.0.0" } }, "npm:browserify-rsa@4.0.1": { "map": { "bn.js": "npm:bn.js@4.11.8", "randombytes": "npm:randombytes@2.0.5" } }, "npm:hmac-drbg@1.0.1": { "map": { "hash.js": "npm:hash.js@1.1.3", "minimalistic-assert": "npm:minimalistic-assert@1.0.0", "minimalistic-crypto-utils": "npm:minimalistic-crypto-utils@1.0.1" } }, "npm:hash.js@1.1.3": { "map": { "inherits": "npm:inherits@2.0.3", "minimalistic-assert": "npm:minimalistic-assert@1.0.0" } }, "npm:asn1.js@4.9.2": { "map": { "bn.js": "npm:bn.js@4.11.8", "inherits": "npm:inherits@2.0.3", "minimalistic-assert": "npm:minimalistic-assert@1.0.0" } }, "npm:md5.js@1.3.4": { "map": { "hash-base": "npm:hash-base@3.0.4", "inherits": "npm:inherits@2.0.3" } }, "npm:hash-base@2.0.2": { "map": { "inherits": "npm:inherits@2.0.3" } }, "npm:des.js@1.0.0": { "map": { "inherits": "npm:inherits@2.0.3", "minimalistic-assert": "npm:minimalistic-assert@1.0.0" } }, "npm:hash-base@3.0.4": { "map": { "inherits": "npm:inherits@2.0.3", "safe-buffer": "npm:safe-buffer@5.1.1" } } } });