From 75867bbda1986ceacb74aede29cf9a08396b43bb Mon Sep 17 00:00:00 2001 From: flarum-bot Date: Thu, 26 May 2022 19:19:09 +0000 Subject: [PATCH] Bundled output for commit 626ed5225aca9e59f711e342d073fc5f7a1c04e4 Includes transpiled JS/TS. [skip ci] --- js/dist/admin.js | 2 +- js/dist/admin.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/dist/admin.js b/js/dist/admin.js index 11ac33a..3f5f8cf 100644 --- a/js/dist/admin.js +++ b/js/dist/admin.js @@ -1,2 +1,2 @@ -(()=>{var r={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},d:(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r:r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}},e={};(()=>{"use strict";r.r(e);const t=flarum.core.compat["admin/app"];var o="fof-html-errors.admin.settings.";r.n(t)().initializers.add("fof-html-errors",(function(r){r.extensionData.for("fof-html-errors").registerSetting((function(){var e=this;return[403,404,500,503].map((function(t){return m("div",{className:"Form-group"},m("label",null,r.translator.trans(o+"error."+t)),m("textarea",{className:"FormControl",bidi:e.setting("flagrow-html-errors.custom"+t+"ErrorHtml"),placeholder:r.translator.trans(o+"placeholder.empty_for_default")}))}))}))}))})(),module.exports=e})(); +(()=>{var r={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},d:(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r:r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}},e={};(()=>{"use strict";r.r(e);const t=flarum.core.compat["admin/app"];var o=r.n(t),a="fof-html-errors.admin.settings.";o().initializers.add("fof-html-errors",(function(){var r=o().extensionData.for("fof-html-errors");[403,404,500,503].map((function(e){r.registerSetting({setting:"flagrow-html-errors.custom"+e+"ErrorHtml",label:o().translator.trans(a+"error."+e),placeholder:o().translator.trans(a+"placeholder.empty_for_default"),type:"textarea",rows:10})}))}))})(),module.exports=e})(); //# sourceMappingURL=admin.js.map \ No newline at end of file diff --git a/js/dist/admin.js.map b/js/dist/admin.js.map index aaca687..53c233e 100644 --- a/js/dist/admin.js.map +++ b/js/dist/admin.js.map @@ -1 +1 @@ -{"version":3,"file":"admin.js","mappings":"MACA,IAAIA,EAAsB,CCA1BA,EAAyBC,IACxB,IAAIC,EAASD,GAAUA,EAAOE,WAC7B,IAAOF,EAAiB,QACxB,IAAM,EAEP,OADAD,EAAoBI,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,GCLRF,EAAwB,CAACM,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXP,EAAoBS,EAAEF,EAAYC,KAASR,EAAoBS,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3ER,EAAwB,CAACc,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFf,EAAyBM,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,M,+BCLvD,MAAM,EAA+BC,OAAOC,KAAKC,OAAO,a,ICIlDC,EAAoB,kC,MAE1BC,GAAAA,aAAAA,IAAqB,mBAAmB,SAACA,GACvCA,EAAIC,cAAJ,IAAsB,mBAAmBC,iBAAgB,WAAY,WACnE,MAAO,CAAC,IAAK,IAAK,IAAK,KAAKC,KAAI,SAACC,GAAD,OAC9B,SAAKC,UAAU,cACb,eAAQL,EAAIM,WAAWC,MAAMR,EAAoB,SAAWK,IAC5D,cACEC,UAAU,cACVG,KAAM,EAAKC,QAAQC,6BAA4BN,EAAQ,aACvDO,YAAaX,EAAIM,WAAWC,MAAMR,EAAoB,8C","sources":["webpack://@fof/html-errors/webpack/bootstrap","webpack://@fof/html-errors/webpack/runtime/compat get default export","webpack://@fof/html-errors/webpack/runtime/define property getters","webpack://@fof/html-errors/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/html-errors/webpack/runtime/make namespace object","webpack://@fof/html-errors/external root \"flarum.core.compat['admin/app']\"","webpack://@fof/html-errors/./src/admin/index.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\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};","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['admin/app'];","import app from 'flarum/admin/app';\n\n// Keeping the old flagrow settings prefix because it's easier\nconst settingsPrefix = 'flagrow-html-errors.';\nconst translationPrefix = 'fof-html-errors.admin.settings.';\n\napp.initializers.add('fof-html-errors', (app) => {\n app.extensionData.for('fof-html-errors').registerSetting(function () {\n return [403, 404, 500, 503].map((error) => (\n
\n \n \n
\n ));\n });\n});\n"],"names":["__webpack_require__","module","getter","__esModule","d","a","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","flarum","core","compat","translationPrefix","app","extensionData","registerSetting","map","error","className","translator","trans","bidi","setting","settingsPrefix","placeholder"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"admin.js","mappings":"MACA,IAAIA,EAAsB,CCA1BA,EAAyBC,IACxB,IAAIC,EAASD,GAAUA,EAAOE,WAC7B,IAAOF,EAAiB,QACxB,IAAM,EAEP,OADAD,EAAoBI,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,GCLRF,EAAwB,CAACM,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXP,EAAoBS,EAAEF,EAAYC,KAASR,EAAoBS,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3ER,EAAwB,CAACc,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFf,EAAyBM,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,M,+BCLvD,MAAM,EAA+BC,OAAOC,KAAKC,OAAO,a,aCIlDC,EAAoB,kCAE1BC,IAAAA,aAAAA,IAAqB,mBAAmB,WACtC,IAAMC,EAAgBD,IAAAA,cAAAA,IAAsB,mBAE5C,CAAC,IAAK,IAAK,IAAK,KAAKE,KAAI,SAACC,GACxBF,EAAcG,gBAAgB,CAC5BC,QAAYC,6BAAuBH,EAA5B,YACPI,MAAOP,IAAAA,WAAAA,MAAwBD,EAAxB,SAAkDI,GACzDK,YAAaR,IAAAA,WAAAA,MAAwBD,EAAxB,iCACbU,KAAM,WACNC,KAAM,Y","sources":["webpack://@fof/html-errors/webpack/bootstrap","webpack://@fof/html-errors/webpack/runtime/compat get default export","webpack://@fof/html-errors/webpack/runtime/define property getters","webpack://@fof/html-errors/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/html-errors/webpack/runtime/make namespace object","webpack://@fof/html-errors/external root \"flarum.core.compat['admin/app']\"","webpack://@fof/html-errors/./src/admin/index.tsx"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\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};","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['admin/app'];","import app from 'flarum/admin/app';\n\n// Keeping the old flagrow settings prefix because it's easier\nconst settingsPrefix = 'flagrow-html-errors.';\nconst translationPrefix = 'fof-html-errors.admin.settings.';\n\napp.initializers.add('fof-html-errors', () => {\n const extensionData = app.extensionData.for('fof-html-errors');\n\n [403, 404, 500, 503].map((error) => {\n extensionData.registerSetting({\n setting: `${settingsPrefix}custom${error}ErrorHtml`,\n label: app.translator.trans(`${translationPrefix}error.${error}`),\n placeholder: app.translator.trans(`${translationPrefix}placeholder.empty_for_default`),\n type: 'textarea',\n rows: 10,\n });\n });\n});\n"],"names":["__webpack_require__","module","getter","__esModule","d","a","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","flarum","core","compat","translationPrefix","app","extensionData","map","error","registerSetting","setting","settingsPrefix","label","placeholder","type","rows"],"sourceRoot":""} \ No newline at end of file