{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?5b85","webpack:///./src/components/Login.vue?40e4","webpack:///./src/App.vue?2001","webpack:///./src/components/Login.vue?dfbe","webpack:///./src/components/Login.vue?23a0","webpack:///./src/components/Login.vue?50fc","webpack:///./src/components/Login.vue?9d9e","webpack:///./src/App.vue?ec60","webpack:///./src/App.vue?bfbe","webpack:///./src/App.vue?a938","webpack:///./src/main.ts"],"names":["i","chunkIds","length","deferredModules","j","deferredModule","enumerable","get","getter","value","key","bind","module","Object","prototype","hasOwnProperty","call","object","property","jsonpArray","webpackJsonpCallback","render","_vm","this","_h","$createElement","_c","_self","attrs","_v","on","onLogin","login","addNew","load","_l","item","id","staticClass","staticStyle","directives","name","rawName","expression","domProps","$event","target","composing","$set","model","callback","$$v","Array","isArray","isEnabled","_i","$$a","$$el","$$c","checked","$$i","concat","slice","hasDesignerLicence","save","_e","staticRenderFns","usr","type","indexOf","_k","keyCode","raiseLogin","pwd","extend","data","methods","$emit","component","url","done","items","Promise","req","Request","method","headers","Headers","authHeaderValue","fetch","resp","status","alert","text","txt","json","got","map","endDate","Date","parse","toISOString","nw","push","isNew","subscriptionKey","trim","body","JSON","stringify","set","err","errors","console","log","entries","forEach","k","v","computed","btoa","components","Login","config","productionTip","use","h","App","$mount"],"mappings":"aACA,cAQA,IAPA,IAMA,IANA,OACA,OACA,OAIA,SACQA,EAAIC,EAASC,OAAQF,IAC7B,OACA,MACA,gBAEA,OAEA,WACA,4CACA,WAGA,QAEA,eACA,YAOA,OAHA,sBAGA,IAEA,aAEA,IADA,MACA,IAAkBA,EAAIG,EAAgBD,OAAQF,IAAK,CAGnD,IAFA,WACA,KACA,IAAmBI,EAAIC,EAAeH,OAAQE,IAAK,CACnD,WACA,iBAEA,IACA,gBACA,eAGA,SAIA,SAKA,GACA,OAGA,KAGA,cAGA,QACA,oBAGA,YACA,IACA,KACA,YAUA,OANA,mCAGA,OAGA,UAKA,MAGA,MAGA,oBACA,UACA,2BAA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P callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=35376d41&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=35376d41&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('h1',[_vm._v(\"Apportunix Document Creator Admin License Portal\")]),_c('p',[_vm._v(\"This is an admin environment for managing access of AAD Tenants or On-Premise Licensees to the Document Creator API.\")]),_c('Login',{on:{\"login\":_vm.onLogin}}),(_vm.login.done)?_c('div',{attrs:{\"id\":\"mainContent\"}},[_c('div',[_c('button',{on:{\"click\":_vm.addNew}},[_vm._v(\"+\")]),_c('button',{on:{\"click\":_vm.load}},[_vm._v(\"Refresh\")])]),_vm._l((_vm.items),function(item){return _c('div',{key:item.id,staticClass:\"item\"},[_c('div',{staticStyle:{\"float\":\"left\"}},[_c('div',[_c('label',[_vm._v(\"Company Name:\"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.name),expression:\"item.name\"}],domProps:{\"value\":(item.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(item, \"name\", $event.target.value)}}})]),_c('label',[_vm._v(\"AAD Tenant ID / VOICE ID:\"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.tenantId),expression:\"item.tenantId\"}],domProps:{\"value\":(item.tenantId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(item, \"tenantId\", $event.target.value)}}})]),_c('label',[_vm._v(\"Product Key:\"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.subscriptionKey),expression:\"item.subscriptionKey\"}],domProps:{\"value\":(item.subscriptionKey)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(item, \"subscriptionKey\", $event.target.value)}}})])]),_c('div',[_c('label',[_vm._v(\"End Date:\")]),_c('VueDatePicker',{attrs:{\"clearable\":\"\"},model:{value:(item.endDate),callback:function ($$v) {_vm.$set(item, \"endDate\", $$v)},expression:\"item.endDate\"}}),_c('label',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.isEnabled),expression:\"item.isEnabled\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(item.isEnabled)?_vm._i(item.isEnabled,null)>-1:(item.isEnabled)},on:{\"change\":function($event){var $$a=item.isEnabled,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(item, \"isEnabled\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(item, \"isEnabled\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(item, \"isEnabled\", $$c)}}}}),_vm._v(\"License valid indefinitely\")]),_c('hr'),_c('label',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(item.hasDesignerLicence),expression:\"item.hasDesignerLicence\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(item.hasDesignerLicence)?_vm._i(item.hasDesignerLicence,null)>-1:(item.hasDesignerLicence)},on:{\"change\":function($event){var $$a=item.hasDesignerLicence,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(item, \"hasDesignerLicence\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(item, \"hasDesignerLicence\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(item, \"hasDesignerLicence\", $$c)}}}}),_vm._v(\"Designer license\")])],1)]),_c('button',{staticStyle:{\"float\":\"right\"},on:{\"click\":function($event){return _vm.save(item)}}},[_vm._v(\"Save\")])])})],2):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"loginCtn\"}},[_c('p',[_vm._v(\"Username:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.usr),expression:\"usr\"}],domProps:{\"value\":(_vm.usr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.usr=$event.target.value}}}),_c('p',[_vm._v(\"Password:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.pwd),expression:\"pwd\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.pwd)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.raiseLogin($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.pwd=$event.target.value}}}),_c('br'),_c('button',{staticStyle:{\"margin-top\":\"10pt\"},on:{\"click\":_vm.raiseLogin}},[_vm._v(\"Set\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\n\r\n export default Vue.extend({\r\n name: 'Login',\r\n data: () => ({\r\n usr: '',\r\n pwd: ''\r\n }),\r\n methods: {\r\n raiseLogin() {\r\n this.$emit('login', this.usr, this.pwd)\r\n this.pwd = '';\r\n }\r\n },\r\n});\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--12-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--12-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=35376d41&scoped=true&\"\nimport script from \"./Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./Login.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=35376d41&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"35376d41\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst url = '/Tenant';\n\nimport Vue from 'vue';\nimport Login from './components/Login.vue';\n\ninterface Item {\n id: string | null;\n tenantId: string;\n name: string;\n subscriptionKey: string;\n isEnabled: boolean;\n endDate: string | null;\n licensedUserCount: number;\n hasDesignerLicence: boolean;\n}\n\nexport default Vue.extend({\n name: 'app',\n data: () => ({\n login: {\n usr: '',\n pwd: '',\n done: false\n },\n items: [] as Item[]\n }),\n methods: {\n async onLogin(usr: string, pwd: string) {\n this.login.usr = usr;\n this.login.pwd = pwd;\n await this.load();\n },\n async load(): Promise {\n this.items = [];\n let req = new Request(url, { method: 'GET', headers: new Headers({ 'Authorization': this.authHeaderValue }) });\n const resp = await fetch(req);\n if (resp.status != 200) {\n alert(`HTTP ${resp.status}`);\n const txt = await resp.text();\n if (txt != '') {\n alert(txt);\n }\n } else {\n const got = await resp.json() as any[];\n this.items = got.map(i => {\n i.endDate = i.endDate == null ? null : new Date(Date.parse(i.endDate)).toISOString();\n return i;\n });\n this.login.done = true;\n }\n },\n addNew() {\n const nw = {\n id: null,\n isEnabled: true,\n } as Item;\n this.items.push(nw);\n },\n async save(item: Item): Promise {\n const isNew = item.id == null;\n\n if(item.endDate != null) {\n item.endDate = new Date(item.endDate).toISOString();\n }\n if (item.subscriptionKey != null) {\n item.subscriptionKey = item.subscriptionKey.trim();\n }\n const body = JSON.stringify(item);\n\n let req = isNew ?\n new Request(url, { method: 'POST', body: body }) :\n new Request(`${url}/${item.id}`, { method: 'PATCH', body: body });\n req.headers.set('Authorization', this.authHeaderValue);\n req.headers.set('Content-Type', 'application/json');\n const resp = await fetch(req);\n if (resp.status != 200) {\n alert(`ERROR: HTTP ${resp.status}`);\n const err = await resp.json();\n if (err && err.errors) {\n console.log('error', err);\n Object.entries(err.errors).forEach(([k, v]) => alert(`ERROR; ${k}: ${(v)[0]}`));\n }\n } else {\n await this.load();\n }\n }\n },\n computed: {\n authHeaderValue() : string {\n let v = `${this.login.usr}:${this.login.pwd}`;\n v = btoa(v);\n return `Basic ${v}`;\n }\n },\n components: {\n Login\n }\n});\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/ts-loader/index.js??ref--12-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/ts-loader/index.js??ref--12-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=4547f50e&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport App from './App.vue'\r\n\r\nimport VueDatePicker from '@mathieustan/vue-datepicker';\r\nimport '@mathieustan/vue-datepicker/dist/vue-datepicker.min.css';\r\n\r\nVue.config.productionTip = false\r\n\r\nVue.use(VueDatePicker);\r\n\r\nnew Vue({\r\n render: h => h(App),\r\n}).$mount('#app')\r\n"],"sourceRoot":""}