mirror of
https://gitlab.silvrtree.co.uk/martind2000/ft-webplatform.git
synced 2025-01-26 21:46:16 +00:00
1 line
7.0 KiB
Plaintext
1 line
7.0 KiB
Plaintext
{"version":3,"sources":["components/test/index.js","components/test/docs/docs-router.js","components/test/docs/docs.js","components/test/docs/ft-doc.js","components/test/docs/main.js","components/test/elements/ft-full-width-page-no-panel.js","components/test/elements/ft-full-width-page.js","components/test/elements/ft-header.js"],"names":["configure","config","globalResources","DocsRouter","docs","nav","route","redirect","moduleId","name","getNavigation","configureRouter","router","map","activate","hash","location","Docs","navigation","_createNav","pages","getContent","page","push","settings","index","_createSectionPages","section","ret","Array","isArray","href","title","FtDoc","path","content","aurelia","use","basicConfiguration","history","feature","developmentLogging","http","fetch","then","json","container","registerInstance","start","setRoot","FtFullWidthPageNoPanel","cssRoot","FtFullWidthPage","FtHeader"],"mappings":";;;;;;UAAgBA,YAAAA;AAAT,WAASA,SAAT,CAAmBC,MAAnB,EAA2B;AAChCA,WAAOC,eAAP,CAAuB,CACrB,+BADqB,EAErB,wCAFqB,EAGrB,sBAHqB,EAIrB,2BAJqB,EAKrB,gCALqB,EAMrB,+BANqB,EAOrB,8BAPqB,EAQrB,eARqB,EASrB,oBATqB,CAAvB;AAWD;;;;;;;;;;;;;;;;;;MCTYC,qBAAAA,qBADZ,8BAAO,MAAP;AASC,wBAAYC,IAAZ,EAAkB;AAAA;;AAAA,WAPlBC,GAOkB,GAPZ,CACJ,EAAEC,OAAO,EAAT,EAAaC,UAAU,MAAvB,EADI,EAEJ,EAAED,OAAO,MAAT,EAAiBE,UAAU,6BAA3B,EAA0DH,KAAK,IAA/D,EAFI,EAGJ,EAAEC,OAAO,qBAAT,EAAgCG,MAAM,SAAtC,EAAiDD,UAAU,6BAA3D,EAA0FH,KAAK,KAA/F,EAHI,CAOY;;AAChB,WAAKA,GAAL,GAAWD,KAAKM,aAAL,EAAX;AACD;;yBAEDC,2CAAgBV,QAAQW,QAAQ;AAC9BX,aAAOY,GAAP,CAA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,WAAKC,OAAL,GAAe,KAAK/B,IAAL,CAAUiB,UAAV,CAAqB,KAAKZ,IAA1B,CAAf;AACD;;;;;;;;;;;UCTaT,YAAAA;AAAT,WAASA,SAAT,CAAmBoC,OAAnB,EAA4B;AACjCA,YAAQC,GAAR,CACGC,kBADH,GAEG1B,MAFH,GAGG2B,OAHH,GAIGC,OAJH,CAIW,iBAJX;AAKAJ,YAAQC,GAAR,CAAYI,kBAAZ;;AAEA,QAAIC,OAAO,oCAAX;AACAA,SAAKC,KAAL,CAAW,kBAAX,EACGC,IADH,CACQ;AAAA,aAAQC,KAAKA,IAAL,EAAR;AAAA,KADR,EAEGD,IAFH,CAEQ,iBAAS;AACb,UAAIxC,OAAO,eAASgB,KAAT,CAAX;AACAgB,cAAQU,SAAR,CAAkBC,gBAAlB,CAAmC,MAAnC,EAA2C3C,IAA3C;AACAgC,cAAQY,KAAR,GAAgBJ,IAAhB,CAAqB;AAAA,eAAMR,QAAQa,OAAR,CAAgB,kCAAhB,CAAN;AAAA,OAArB;AACD,KANH;AAOD;;;;;;;;;;;;;;;;;;;;;;;;MCbYC,iCAAAA,yBAEX,kCAAc;AAAA;;AAAA,SADdC,OACc,GADJ,EACI;;AACZ,SAAKA,OAAL,GAAe,sBAAYA,OAA3B;AACD;;;;;;;;;;;;;;;;;;;;;;;;MCJUC,0BAAAA,kBAEX,2BAAc;AAAA;;AAAA,SADdD,OACc,GADJ,EACI;;AACZ,SAAKA,OAAL,GAAe,sBAAYA,OAA3B;AACD;;;;;;;;;;;;;;;;;;;;;;;;MCJUE,mBAAAA,WAEX,oBAAc;AAAA;;AAAA,SADdF,OACc,GADJ,EACI;;AACZ,SAAKA,OAAL,GAAe,sBAAYA,OAA3B;AACD","file":"local-test.js","sourcesContent":["export function configure(config) {\n config.globalResources([\n './elements/ft-full-width-page',\n './elements/ft-full-width-page-no-panel',\n './elements/ft-header',\n './elements/ft-footer.html',\n './elements/ft-breadcrumbs.html',\n './elements/ft-fund-title.html',\n './elements/ft-fund-tabs.html',\n './docs/ft-doc',\n './docs/docs-router'\n ]);\n}\n","import {inject} from 'aurelia-framework';\r\n\r\n@inject('Docs')\r\nexport class DocsRouter {\r\n nav = [\r\n { route: '', redirect: 'home' },\r\n { route: 'home', moduleId: 'components/test/docs/ft-doc', nav: true},\r\n { route: 'page/:section/*path', name: 'section', moduleId: 'components/test/docs/ft-doc', nav: false}\r\n ];\r\n\r\n\r\n constructor(docs) {\r\n this.nav = docs.getNavigation();\r\n }\r\n\r\n configureRouter(config, router) {\r\n config.map(this.nav);\r\n this.router = router;\r\n }\r\n\r\n activate() {\r\n this.hash = location.hash;\r\n }\r\n\r\n}\r\n","export class Docs {\r\n navigation = [\r\n { route: '', redirect: '/page/General/README.md' }\r\n ];\r\n\r\n constructor(docs) {\r\n this._createNav(docs);\r\n this.pages = docs.pages;\r\n }\r\n\r\n getNavigation() {\r\n return this.navigation;\r\n }\r\n\r\n getContent(page) {\r\n return this.pages[page];\r\n }\r\n\r\n _createNav(docs) {\r\n this.navigation.push(\r\n {\r\n route: 'page/:section/*path',\r\n name: 'section',\r\n moduleId: 'components/test/docs/ft-doc',\r\n settings: docs.index,\r\n nav: false\r\n });\r\n }\r\n\r\n _createSectionPages(section) {\r\n let ret = {};\r\n if (Array.isArray(section.pages)) {\r\n ret.pages = section.pages.map(page => {\r\n return {\r\n href: `#/page/${section.section}/${page}`,\r\n title: page\r\n };\r\n });\r\n }\r\n return ret;\r\n }\r\n\r\n}\r\n","import {inject} from 'aurelia-framework';\r\n\r\n@inject('Docs')\r\nexport class FtDoc {\r\n constructor(docs) {\r\n this.docs = docs;\r\n }\r\n\r\n activate(section, path) {\r\n this.section = section.section;\r\n this.name = section.path;\r\n this.content = this.docs.getContent(this.name);\r\n }\r\n}\r\n","import {HttpClient} from 'aurelia-fetch-client';\nimport {Docs} from './docs';\n\nexport function configure(aurelia) {\n aurelia.use\n .basicConfiguration()\n .router()\n .history()\n .feature('components/test');\n aurelia.use.developmentLogging();\n\n let http = new HttpClient();\n http.fetch('assets/docs.json')\n .then(json => json.json())\n .then(pages => {\n let docs = new Docs(pages);\n aurelia.container.registerInstance('Docs', docs);\n aurelia.start().then(() => aurelia.setRoot('components/test/docs/docs-router'));\n });\n}\n","/**\r\n * Created by bstjohn on 24/03/2017.\r\n */\r\n\r\nimport environment from '../../../environment';\r\n\r\nexport class FtFullWidthPageNoPanel {\r\n cssRoot = '';\r\n constructor() {\r\n this.cssRoot = environment.cssRoot;\r\n }\r\n}\r\n","/**\r\n * Created by bstjohn on 24/03/2017.\r\n */\r\n\r\nimport environment from '../../../environment';\r\n\r\nexport class FtFullWidthPage {\r\n cssRoot = '';\r\n constructor() {\r\n this.cssRoot = environment.cssRoot;\r\n }\r\n}\r\n","/**\r\n * Created by bstjohn on 24/03/2017.\r\n */\r\n\r\nimport environment from '../../../environment';\r\n\r\nexport class FtHeader {\r\n cssRoot = '';\r\n constructor() {\r\n this.cssRoot = environment.cssRoot;\r\n }\r\n}\r\n"],"sourceRoot":"../.."} |