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.6 KiB

{"version":3,"file":"admin.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAEAA,oEAAA,CAAiBI,GAAjB,CAAqB,iBAArB,EAAwC,YAAM;AAC5CJ,EAAAA,qEAAA,QAAsB,iBAAtB,EAAyCM,eAAzC,CAAyD;AACvDC,IAAAA,OAAO,EAAE,gCAD8C;AAEvDC,IAAAA,IAAI,EAAE,gCAFiD;AAGvDC,IAAAA,IAAI,EAAE,MAHiD;AAIvDC,IAAAA,KAAK,EAAEV,kEAAA,CAAeY,KAAf,CAAqB,sCAArB,CAJgD;AAKvDC,IAAAA,IAAI,EAAEb,kEAAA,CAAeY,KAAf,CAAqB,2CAArB;AALiD,GAAzD;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,0CAArB,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://@youen/users-map/./src/admin/index.js","webpack://@youen/users-map/external root \"flarum.core.compat['admin/app']\"","webpack://@youen/users-map/external root \"flarum.core.compat['admin/components/UserListPage']\"","webpack://@youen/users-map/external root \"flarum.core.compat['common/extend']\"","webpack://@youen/users-map/webpack/bootstrap","webpack://@youen/users-map/webpack/runtime/compat get default export","webpack://@youen/users-map/webpack/runtime/define property getters","webpack://@youen/users-map/webpack/runtime/hasOwnProperty shorthand","webpack://@youen/users-map/webpack/runtime/make namespace object","webpack://@youen/users-map/./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('youen/users-map', () => {\n app.extensionData.for('youen-users-map').registerSetting({\n setting: 'youen-users-map.mapbox-api-key',\n name: 'youen-users-map.mapbox-api-key',\n type: 'text',\n label: app.translator.trans('youen-users-map.admin.mapbox-api-key'),\n help: app.translator.trans('youen-users-map.admin.mapbox-api-key-help'),\n });\n extend(UserListPage.prototype, 'columns', function (items) {\n items.add(\n 'location',\n {\n name: app.translator.trans('youen-users-map.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":""}