From f93221eeff22a72c7a9d7f040788b8941ba9f268 Mon Sep 17 00:00:00 2001 From: flarum-bot Date: Sun, 12 Nov 2023 14:41:07 +0000 Subject: [PATCH] Bundled output for commit 9159035d2d63d45656b9e08fef42f7204ba5a3e1 Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci] --- js/dist/admin.js.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dist/admin.js.map b/js/dist/admin.js.map index c344062..4c5e890 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,CAAM,ECLdF,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,IAE1E,ECNDR,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,GAAO,G,+BCL9D,MAAM,EAA+BC,OAAOC,KAAKC,OAAO,a,aCAzC,SAASC,EAAgBhB,EAAGiB,GAKzC,OAJAD,EAAkBf,OAAOiB,eAAiBjB,OAAOiB,eAAeC,OAAS,SAAyBnB,EAAGiB,GAEnG,OADAjB,EAAEoB,UAAYH,EACPjB,CACR,EACMgB,EAAgBhB,EAAGiB,EAC3B,CCND,MAAM,EAA+BJ,OAAOC,KAAKC,OAAO,kC,aCAxD,MAAM,EAA+BF,OAAOC,KAAKC,OAAO,yB,aCKnCM,EAAAA,SAAAA,GCJN,IAAwBC,EAAUC,E,kDAAAA,E,GAAVD,E,GAC5Bf,UAAYN,OAAOuB,OAAOD,EAAWhB,WAC9Ce,EAASf,UAAUkB,YAAcH,EACjCJ,EAAeI,EAAUC,G,2BDEzBG,QAAA,WACE,OACE,SAAKC,UAAU,qCACb,SAAKA,UAAU,aACb,SAAKA,UAAU,cACZC,KAAKC,uBAAuBC,UAC5BF,KAAKG,iBAKf,E,EAEDF,qBAAA,WAAuB,WACfG,EAAQ,IAAIC,KAqBlB,OAjBAC,IAAAA,MAAAA,UAAoB,gCAAgCC,SAAQ,SAACC,GAC3D,IAAMrC,EAAMqC,EAAKrC,IACXsC,EAAOD,EAAKC,KACZC,EAAcF,EAAKxB,MAEzBoB,EAAMO,IACJxC,EACA,EAAKyC,sBAAsB,CACzBC,MAAOP,IAAAA,WAAAA,MAAA,+CAAoEnC,GAC3E2C,KAAMR,IAAAA,WAAAA,MAAA,+CAAoEnC,EAApE,SACN4C,QAZS,gCAYS5C,EAClBsC,KAAAA,EACAC,YAAAA,IAGL,IAEMN,CACR,E,EArCkBX,CAAqBuB,KEF1CV,IAAAA,aAAAA,IAAqB,gCAAgC,WACnDA,IAAAA,cAAAA,IAAsB,gCAAgCW,aAAaxB,EACpE,G","sources":["webpack://@fof/default-user-preferences/webpack/bootstrap","webpack://@fof/default-user-preferences/webpack/runtime/compat get default export","webpack://@fof/default-user-preferences/webpack/runtime/define property getters","webpack://@fof/default-user-preferences/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/default-user-preferences/webpack/runtime/make namespace object","webpack://@fof/default-user-preferences/external root \"flarum.core.compat['admin/app']\"","webpack://@fof/default-user-preferences/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@fof/default-user-preferences/external root \"flarum.core.compat['admin/components/ExtensionPage']\"","webpack://@fof/default-user-preferences/external root \"flarum.core.compat['common/utils/ItemList']\"","webpack://@fof/default-user-preferences/./src/admin/components/SettingsPage.tsx","webpack://@fof/default-user-preferences/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@fof/default-user-preferences/./src/admin/index.ts"],"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'];","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['admin/components/ExtensionPage'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/ItemList'];","import app from 'flarum/admin/app';\nimport ExtensionPage from 'flarum/admin/components/ExtensionPage';\nimport ItemList from 'flarum/common/utils/ItemList';\nimport type Mithril from 'mithril';\n\nexport default class SettingsPage extends ExtensionPage {\n content() {\n return (\n
\n
\n
\n {this.defaultSettingsItems().toArray()}\n {this.submitButton()}\n
\n
\n
\n );\n }\n\n defaultSettingsItems() {\n const items = new ItemList();\n\n const prefix = 'fof-default-user-preferences.';\n\n app.forum.attribute('fof-default-user-preferences').forEach((pref: Array) => {\n const key = pref.key;\n const type = pref.type;\n const placeholder = pref.value;\n\n items.add(\n key,\n this.buildSettingComponent({\n label: app.translator.trans(`fof-default-user-preferences.admin.settings.${key}`),\n help: app.translator.trans(`fof-default-user-preferences.admin.settings.${key}-help`),\n setting: prefix + key,\n type,\n placeholder,\n })\n );\n });\n\n return items;\n }\n}\n","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","import app from 'flarum/admin/app';\nimport SettingsPage from './components/SettingsPage';\n\napp.initializers.add('fof/default-user-preferences', () => {\n app.extensionData.for('fof-default-user-preferences').registerPage(SettingsPage);\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","_setPrototypeOf","p","setPrototypeOf","bind","__proto__","SettingsPage","subClass","superClass","create","constructor","content","className","this","defaultSettingsItems","toArray","submitButton","items","ItemList","app","forEach","pref","type","placeholder","add","buildSettingComponent","label","help","setting","ExtensionPage","registerPage"],"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,CAAM,ECLdF,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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,IAAAA,WAAeS,MAAM,+CAA+ClD,GAC3EmD,KAAMV,IAAAA,WAAeS,MAAM,+CAA+ClD,EAAG,SAC7EoD,QAZS,gCAYSpD,EAClB6C,KAAAA,EACAC,YAAAA,IAGN,IAEOP,CACT,EAACjB,CAAA,CArC8B,CAAS+B,KEF1CZ,IAAAA,aAAiBM,IAAI,gCAAgC,WACnDN,IAAAA,cAAiB,IAAK,gCAAgCa,aAAahC,EACrE,G","sources":["webpack://@fof/default-user-preferences/webpack/bootstrap","webpack://@fof/default-user-preferences/webpack/runtime/compat get default export","webpack://@fof/default-user-preferences/webpack/runtime/define property getters","webpack://@fof/default-user-preferences/webpack/runtime/hasOwnProperty shorthand","webpack://@fof/default-user-preferences/webpack/runtime/make namespace object","webpack://@fof/default-user-preferences/external root \"flarum.core.compat['admin/app']\"","webpack://@fof/default-user-preferences/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@fof/default-user-preferences/external root \"flarum.core.compat['admin/components/ExtensionPage']\"","webpack://@fof/default-user-preferences/external root \"flarum.core.compat['common/utils/ItemList']\"","webpack://@fof/default-user-preferences/./src/admin/components/SettingsPage.tsx","webpack://@fof/default-user-preferences/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@fof/default-user-preferences/./src/admin/index.ts"],"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'];","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['admin/components/ExtensionPage'];","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['common/utils/ItemList'];","import app from 'flarum/admin/app';\nimport ExtensionPage from 'flarum/admin/components/ExtensionPage';\nimport ItemList from 'flarum/common/utils/ItemList';\nimport type Mithril from 'mithril';\n\nexport default class SettingsPage extends ExtensionPage {\n content() {\n return (\n
\n
\n
\n {this.defaultSettingsItems().toArray()}\n {this.submitButton()}\n
\n
\n
\n );\n }\n\n defaultSettingsItems() {\n const items = new ItemList();\n\n const prefix = 'fof-default-user-preferences.';\n\n app.forum.attribute('fof-default-user-preferences').forEach((pref: Array) => {\n const key = pref.key;\n const type = pref.type;\n const placeholder = pref.value;\n\n items.add(\n key,\n this.buildSettingComponent({\n label: app.translator.trans(`fof-default-user-preferences.admin.settings.${key}`),\n help: app.translator.trans(`fof-default-user-preferences.admin.settings.${key}-help`),\n setting: prefix + key,\n type,\n placeholder,\n })\n );\n });\n\n return items;\n }\n}\n","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","import app from 'flarum/admin/app';\nimport SettingsPage from './components/SettingsPage';\n\napp.initializers.add('fof/default-user-preferences', () => {\n app.extensionData.for('fof-default-user-preferences').registerPage(SettingsPage);\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","_setPrototypeOf","p","setPrototypeOf","bind","__proto__","SettingsPage","_ExtensionPage","subClass","superClass","apply","arguments","create","constructor","_proto","content","m","className","this","defaultSettingsItems","toArray","submitButton","_this","items","ItemList","app","attribute","forEach","pref","type","placeholder","add","buildSettingComponent","label","trans","help","setting","ExtensionPage","registerPage"],"sourceRoot":""} \ No newline at end of file