You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
4.9 KiB
1 lines
4.9 KiB
{"version":3,"file":"admin.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAEAA,oEAAA,CAAiBI,GAAjB,CAAqB,kCAArB,EAAyD,YAAM;AAC7DJ,EAAAA,qEAAA,QAAsB,kCAAtB,EAA0DM,eAA1D,CAA0E;AACxEC,IAAAA,OAAO,EAAE,iDAD+D;AAExEC,IAAAA,IAAI,EAAE,iDAFkE;AAGxEC,IAAAA,IAAI,EAAE,MAHkE;AAIxEC,IAAAA,KAAK,EAAEV,kEAAA,CAAeY,KAAf,CAAqB,uDAArB,CAJiE;AAKxEC,IAAAA,IAAI,EAAEb,kEAAA,CAAeY,KAAf,CAAqB,4DAArB;AALkE,GAA1E;AAOAX,EAAAA,4DAAM,CAACC,uFAAD,EAAyB,SAAzB,EAAoC,UAAUa,KAAV,EAAiB;AACzDA,IAAAA,KAAK,CAACX,GAAN,CACE,UADF,EAEE;AACEI,MAAAA,IAAI,EAAER,kEAAA,CAAeY,KAAf,CAAqB,2DAArB,CADR;AAEEI,MAAAA,OAAO,EAAE,iBAACC,IAAD,EAAU;AAEjB,eAAO,eAAMA,IAAI,CAACC,IAAL,CAAUC,UAAV,CAAqBC,QAA3B,CAAP;AACD;AALH,KAFF,EASE,CAAC,EATH;AAWD,GAZK,CAAN;AAaD,CArBD;;;;;;;;;;;ACJA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D","sources":["webpack://@justoverclock/users-map-location/./src/admin/index.js","webpack://@justoverclock/users-map-location/external root \"flarum.core.compat['admin/app']\"","webpack://@justoverclock/users-map-location/external root \"flarum.core.compat['admin/components/UserListPage']\"","webpack://@justoverclock/users-map-location/external root \"flarum.core.compat['common/extend']\"","webpack://@justoverclock/users-map-location/webpack/bootstrap","webpack://@justoverclock/users-map-location/webpack/runtime/compat get default export","webpack://@justoverclock/users-map-location/webpack/runtime/define property getters","webpack://@justoverclock/users-map-location/webpack/runtime/hasOwnProperty shorthand","webpack://@justoverclock/users-map-location/webpack/runtime/make namespace object","webpack://@justoverclock/users-map-location/./admin.js"],"sourcesContent":["import app from 'flarum/admin/app';\nimport { extend } from 'flarum/common/extend';\nimport UserListPage from 'flarum/admin/components/UserListPage';\n\napp.initializers.add('justoverclock/users-map-location', () => {\n app.extensionData.for('justoverclock-users-map-location').registerSetting({\n setting: 'justoverclock-users-map-location.mapBox-api-key',\n name: 'justoverclock-users-map-location.mapBox-api-key',\n type: 'text',\n label: app.translator.trans('justoverclock-users-map-location.admin.mapBox-api-key'),\n help: app.translator.trans('justoverclock-users-map-location.admin.mapBox-api-key-help'),\n });\n extend(UserListPage.prototype, 'columns', function (items) {\n items.add(\n 'location',\n {\n name: app.translator.trans('justoverclock-users-map-location.admin.adminLocationField'),\n content: (user) => {\n\n return <div>{user.data.attributes.location}</div>;\n },\n },\n -50\n );\n });\n});\n","module.exports = flarum.core.compat['admin/app'];","module.exports = flarum.core.compat['admin/components/UserListPage'];","module.exports = flarum.core.compat['common/extend'];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from './src/admin';\n"],"names":["app","extend","UserListPage","initializers","add","extensionData","registerSetting","setting","name","type","label","translator","trans","help","prototype","items","content","user","data","attributes","location"],"sourceRoot":""} |