{"_id":"@acoustic-content-sdk/module-loader","_rev":"11-f17814a6dcc3625f803743340fad5641","name":"@acoustic-content-sdk/module-loader","dist-tags":{"latest":"9.0.10076"},"versions":{"9.0.10067":{"name":"@acoustic-content-sdk/module-loader","version":"9.0.10067","description":"Module to attach inline-edit functionality to an WCH based Angular application.","keywords":["acoustic","acoustic-content","angular","sdk"],"bugs":{"web":"https://developer.ibm.com/answers/smartspace/wch/index.html"},"license":"MIT","author":{"name":"Carsten Leue","email":"carsten.leue@de.ibm.com"},"sideEffects":false,"main":"bundles/acoustic-content-sdk-module-loader.umd.js","module":"esm5/acoustic-content-sdk-module-loader.js","typings":"acoustic-content-sdk-module-loader.d.ts","dependencies":{"@acoustic-content-sdk/api":"9.0.10067","@acoustic-content-sdk/rest-api":"9.0.10067","@acoustic-content-sdk/utils":"9.0.10067"},"peerDependencies":{"rxjs":"^6"},"es2015":"fesm2015/acoustic-content-sdk-module-loader.js","esm2015":"esm2015/acoustic-content-sdk-module-loader.js","esm5":"esm5/acoustic-content-sdk-module-loader.js","fesm2015":"fesm2015/acoustic-content-sdk-module-loader.js","fesm5":"fesm5/acoustic-content-sdk-module-loader.js","tsdoc":{"tsdocFlavor":"AEDoc"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"_id":"@acoustic-content-sdk/module-loader@9.0.10067","dist":{"shasum":"d2bec3356e232c0717632e191a1ca2a54c22e30d","integrity":"sha512-/D419Ydfdu/vawnE8rTcrqLx+eP/KJWlbVYdGU4eRBz67UlLmBreAuUly2w8abGwhoht27CkD6Qnx19s9xWOIg==","tarball":"https://registry.npmjs.org/@acoustic-content-sdk/module-loader/-/module-loader-9.0.10067.tgz","fileCount":33,"unpackedSize":180033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee2yECRA9TVsSAnZWagAARxoP+wUJ+WWVrLTEyjmZiTCJ\nk/PTrCgGp5DcrNaLLqZ8NsGo0JfBVWYR6EycwxIfO93WLI37CoYnp1ahecNn\nzKsJyxLIlHNPnXh4SI1/wTVb/PhqUeficYt9GEJGKFPfSeIZrSfLUL14ECGO\naLqayknvaH6j9HfQPoNIiCLbsbqiQxT06+ErlDd8rrgyteIMZEjfy2YbnoFx\npJAuuee3Cin9bGaiaqIkynIY/Mu6tCpZHcUvHzE0F0ZF+nxmC3u7sGSi+Oz8\ncZbTUFzY7QVu0ekBqaIwtuknszbup5VuPKEgZkuA1FoqP2+k0VAHLNkaqJP1\nfEP0QSMZ5MX1IVxmXyypYcrSBhvj3eJ0ERB26HS4Mp5UV48c3QtiaNP0gEIx\nH/pYz6bz1uQB8+tIUu3ZjgtJ+Xwmdor87Y/kueaEKNPF3Vq4hW2eTbbmUSS+\n6vxGCIr9PITGI/zeGMsr0sflWEzy7yt1VR/ag50s7OLAX/wujlbZU8DAOLNL\nIj6iZ0IbM82LaFAwGFrcjHJmOvalhBjk2BAuujk8MaqNF7yyjvP6WOgXgafp\nN2Esu6zbneaBOBKpoTCvaI2TYLOnUnbCBsWF2Zo1Raxb7+yXs5y/pNB6tKd0\naZ5x4vhIYBtL3S6Jw2eEUwWtF3yjfyOK87nv59TVjGRe+PeWi/ty4X1gq/Mw\nJ3lO\r\n=6QAm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHghDqFE6K1as4UNr/xEjFyfzoN2dbB+0fDWk2FMMqWgIhAKj/2FsGxG32Mt9DmGBs6bQwIWSNK4L9gcwvudDAKTpi"}]},"maintainers":[{"name":"orenaksakal","email":"orenaksakal@gmail.com"},{"name":"daherbst","email":"david.herbst@acoustic.co"},{"name":"mburati","email":"mike.burati@acoustic.com"},{"name":"joachim.loeffel","email":"joachim.loeffel@acoustic.co"},{"name":"buehlerd","email":"buehlerd@de.ibm.com"},{"name":"carstenleue","email":"carsten.leue@de.ibm.com"}],"_npmUser":{"name":"carstenleue","email":"carsten.leue@de.ibm.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-loader_9.0.10067_1585147011595_0.6657525276594389"},"_hasShrinkwrap":false},"9.0.10076":{"name":"@acoustic-content-sdk/module-loader","version":"9.0.10076","description":"Module to attach inline-edit functionality to an WCH based Angular application.","keywords":["acoustic","acoustic-content","angular","sdk"],"bugs":{"web":"https://developer.ibm.com/answers/smartspace/wch/index.html"},"license":"MIT","author":{"name":"Carsten Leue","email":"carsten.leue@de.ibm.com"},"sideEffects":false,"main":"bundles/acoustic-content-sdk-module-loader.umd.js","module":"esm5/acoustic-content-sdk-module-loader.js","typings":"acoustic-content-sdk-module-loader.d.ts","dependencies":{"@acoustic-content-sdk/api":"9.0.10076","@acoustic-content-sdk/rest-api":"9.0.10076","@acoustic-content-sdk/utils":"9.0.10076"},"peerDependencies":{"rxjs":"^6"},"es2015":"fesm2015/acoustic-content-sdk-module-loader.js","esm2015":"esm2015/acoustic-content-sdk-module-loader.js","esm5":"esm5/acoustic-content-sdk-module-loader.js","fesm2015":"fesm2015/acoustic-content-sdk-module-loader.js","fesm5":"fesm5/acoustic-content-sdk-module-loader.js","tsdoc":{"tsdocFlavor":"AEDoc"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"_id":"@acoustic-content-sdk/module-loader@9.0.10076","dist":{"shasum":"cd54393742fb90d15b395207911ed4f990ad86fb","integrity":"sha512-HiCdiNFGX7SmqeerGH3KfbapdMi95JyapRdA2u9ku6YdY8ScSh6eo9zCgskUsfnef8yqCXx8uA9ZAga1noGp5A==","tarball":"https://registry.npmjs.org/@acoustic-content-sdk/module-loader/-/module-loader-9.0.10076.tgz","fileCount":33,"unpackedSize":179983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefQBECRA9TVsSAnZWagAAhSwP+gMkusMueong/eJ9wNev\nLn61KhPzL+ukUItUo/PH/Gqs25Gja2w1e8Tzo/r1OqeAGRyA8/KqpDdp2UK4\npnwJrssXOjK03RHKzXVM38K1vVN3FbrcfDcrCZRuHYCwUtgKchDSJstyZHwf\nw/H6mqF8UECr23Q6CP1PdqW/At36sVva46cwSuEi4O6tow84eK0PAsEmFfax\noA+pmCgDXmRhdt2G1PiJ1g+CrwuwIqPdVzU1iq3RFOONqhfF+cYAm2uj9w+y\nVzODL1FzhSAc+aEshwrAjG0eG3tpbfq7m+UaOFGU5wSqV0kTQ8zCcKuBj3Vm\nlVG9jCA69S4dmqSQJsnlnebDMOjjjKgxMbLzyJZ5cWZV+CF2WKjYiird3TMW\nJMmejwfI4Wr/J8K8wRawWPrFPqVap+6eSeWtKSMPKBChfpJKW1r2LiJQi2cI\nAr+wQiS5Lvkz0a61DdRWKOdaxuHkIXU4KM+Lo0EYUXRVAJHjItGf1Oy6khyc\nBocjML1IC8gqLQFmWJ2Z27td9CyEeCQNIvsDg5Z5l0U1SMnhr0AU6nj7ovnR\nHd4FB+AtDtJZNvjQUY4QXKK90yqYO0QTary2WtoortzKyd9AVPC3uFGlDlgR\nmFglqvq4cLjDOBkiYiaqGKq9DgbQFw11rNi0HK5ihdq0BkEGaI7HoIu7xGYi\nZBLJ\r\n=vRQL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkUaW3BHC89TS5DbOqAka7I9EluN6KSLVOQRXbB2w2XQIhAPOTNKHt0cB8IArHlsX6ndpnOE35m5n5wVS2PUT9p19q"}]},"maintainers":[{"email":"carsten.leue@de.ibm.com","name":"carstenleue"},{"email":"david.herbst@acoustic.co","name":"daherbst"},{"email":"jim.patrick@acoustic.co","name":"jim.patrick"},{"email":"joe.john@acoustic.com","name":"joe.john"},{"email":"kevin.tapperson@acoustic.co","name":"kevintap"},{"email":"mike.burati@acoustic.com","name":"mburati"},{"email":"Neel.Patel@acoustic.co","name":"neelkanthpatel"},{"email":"orenaksakal@gmail.com","name":"orenaksakal"}],"_npmUser":{"name":"carstenleue","email":"carsten.leue@de.ibm.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-loader_9.0.10076_1585250371816_0.888232522054631"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-25T14:36:51.369Z","9.0.10067":"2020-03-25T14:36:51.708Z","modified":"2022-04-04T11:14:00.829Z","9.0.10076":"2020-03-26T19:19:32.008Z"},"maintainers":[{"email":"marcin.pasiewicz@gmail.com","name":"marcin-pasiewicz"},{"email":"nikodem.graczewski@acoustic.co","name":"nikodem.graczewski.acoustic"},{"email":"pawel.galias@acoustic.com","name":"pawel.galias-ac"},{"email":"orenaksakal@gmail.com","name":"orenaksakal"},{"email":"marcin.konopka@acoustic.com","name":"marcin.konopka-ac"}],"description":"Module to attach inline-edit functionality to an WCH based Angular application.","keywords":["acoustic","acoustic-content","angular","sdk"],"author":{"name":"Carsten Leue","email":"carsten.leue@de.ibm.com"},"bugs":{"web":"https://developer.ibm.com/answers/smartspace/wch/index.html"},"license":"MIT","readme":"<a name=\"_59d0734fad82dbdce1ce322fcd2b8165148d421810337dd3b7154e06f8f157dc\"></a>\n[![npm](https://img.shields.io/npm/v/@acoustic-content-sdk/module-loader.svg?style=flat-square)](https://www.npmjs.com/package/@acoustic-content-sdk/module-loader)\n\nImplementation of a simple module loader that resolves NPM modules from [unpkg](https://unpkg.com/). Resolution works as long as modules only require global modules it is not implemented for local imports.\n\n## Supported Modules\n\nThe following list some commonly used modules, the list not not complete, though:\n\n| Module     | Support | Comment                       |\n| ---------- | :-----: | ----------------------------- |\n| lodash     |   yes   |                               |\n| d3         |   yes   |                               |\n| chart.js   |   yes   |                               |\n| handlebars |   no    | use lodash templating instead |\n\n## Table of Contents\n\n- [API Documentation](#_7d8249bc9d84a3943ae81d793917f20c518d9f8998b2339dbdfabc108a6d708a)\n\n<a name=\"_7d8249bc9d84a3943ae81d793917f20c518d9f8998b2339dbdfabc108a6d708a\"></a>\n<!-- Do not edit this file. It is automatically generated by API Documenter. -->\n\n[Home](#_1f1aa18c14e2c910697de7ddfdc82ff90261c2ad924d5fec9d9f379ebf1df54f) &gt; [@acoustic-content-sdk/module-loader](#_7d8249bc9d84a3943ae81d793917f20c518d9f8998b2339dbdfabc108a6d708a)\n\n## module-loader package\n\nSimple implementation of a module loader based on unpkg\n\n## Functions\n\n|  Function | Description |\n|  --- | --- |\n|  [createModuleLoader(aResolver, aFetchText, aDocument, aWindow, aLogSvc)](#_ca7d6f60f66e433128bcad1d191bb0c6482708a013b88fb1ea11fbd87fdac458) | Implementation of a service that can load a module and its dependencies from <code>unpkg</code> |\n\n## Variables\n\n|  Variable | Description |\n|  --- | --- |\n|  [VERSION](#_bbc75fd5c0f5c9bbd484bbd81a0cfc4ca3c94357cb5161b9b8a1577ddf724e92) | Version and build number of the package |\n\n\n<a name=\"_59d0734fad82dbdce1ce322fcd2b8165148d421810337dd3b7154e06f8f157dc\"></a>\n\n<a name=\"_ca7d6f60f66e433128bcad1d191bb0c6482708a013b88fb1ea11fbd87fdac458\"></a>\n<!-- Do not edit this file. It is automatically generated by API Documenter. -->\n\n[Home](#_1f1aa18c14e2c910697de7ddfdc82ff90261c2ad924d5fec9d9f379ebf1df54f) &gt; [@acoustic-content-sdk/module-loader](#_7d8249bc9d84a3943ae81d793917f20c518d9f8998b2339dbdfabc108a6d708a) &gt; [createModuleLoader](#_ca7d6f60f66e433128bcad1d191bb0c6482708a013b88fb1ea11fbd87fdac458)\n\n## createModuleLoader() function\n\nImplementation of a service that can load a module and its dependencies from `unpkg`\n\n<b>Signature:</b>\n\n```typescript\nexport declare function createModuleLoader(aResolver: UnaryFunction<string, Observable<any>>, aFetchText: FetchText, aDocument: Document, aWindow: any, aLogSvc?: LoggerService): (aName: string, aVersion?: string) => Observable<any>;\n```\n\n## Parameters\n\n|  Parameter | Type | Description |\n|  --- | --- | --- |\n|  aResolver | <code>UnaryFunction&lt;string, Observable&lt;any&gt;&gt;</code> | resolver that tries to resolve the module, first. May return the empty observable |\n|  aFetchText | <code>FetchText</code> | callback that loads a remote resource as text |\n|  aDocument | <code>Document</code> | the document object |\n|  aWindow | <code>any</code> | the global window object |\n|  aLogSvc | <code>LoggerService</code> | optional logger service |\n\n<b>Returns:</b>\n\n`(aName: string, aVersion?: string) => Observable<any>`\n\na function that can load a module based on name and version\n\n\n<a name=\"_bbc75fd5c0f5c9bbd484bbd81a0cfc4ca3c94357cb5161b9b8a1577ddf724e92\"></a>\n<!-- Do not edit this file. It is automatically generated by API Documenter. -->\n\n[Home](#_1f1aa18c14e2c910697de7ddfdc82ff90261c2ad924d5fec9d9f379ebf1df54f) &gt; [@acoustic-content-sdk/module-loader](#_7d8249bc9d84a3943ae81d793917f20c518d9f8998b2339dbdfabc108a6d708a) &gt; [VERSION](#_bbc75fd5c0f5c9bbd484bbd81a0cfc4ca3c94357cb5161b9b8a1577ddf724e92)\n\n## VERSION variable\n\nVersion and build number of the package\n\n<b>Signature:</b>\n\n```typescript\nVERSION: {\n    version: {\n        major: string;\n        minor: string;\n        patch: string;\n        branch: string;\n    };\n    build: Date;\n}\n```\n","readmeFilename":"README.md"}