Newer
Older
map / js / dist / admin.js
@Réz István Réz István on 9 Nov 2021 3 KB first commit
module.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=14)}({0:function(t,n){t.exports=flarum.core.compat["admin/app"]},14:function(t,n,e){"use strict";e.r(n);var r=e(0),i=e.n(r),o=e(2),a=e(9),u=function(t){function n(){return t.apply(this,arguments)||this}Object(o.a)(n,t);var e=n.prototype;return e.oninit=function(n){t.prototype.oninit.call(this,n),this.setting=this.setting.bind(this)},e.content=function(){return[m("div",{className:"container"},m("div",{className:"MapSettingsPage"},m("div",{className:"Form"},m("div",{className:"Form-group"},m("h2",null,i.a.translator.trans("map.admin.settings.configuration_title"))),m("div",{className:"Form-group"},m("label",null,i.a.translator.trans("map.admin.settings.consentText")),m("textarea",{required:!0,className:"FormControl",bidi:this.setting("ubuntuhu-map.consentText")})),this.buildSettingComponent({type:"password",setting:"ubuntuhu-map.gidSecret",required:!0,label:i.a.translator.trans("map.admin.settings.gidSecret")}),this.buildSettingComponent({type:"text",setting:"ubuntuhu-map.contentTitle",required:!0,label:i.a.translator.trans("map.admin.settings.contentTitle")}),this.buildSettingComponent({type:"text",setting:"ubuntuhu-map.contentTitleIcon",required:!0,label:i.a.translator.trans("map.admin.settings.contentTitleIcon")}),this.buildSettingComponent({type:"text",setting:"ubuntuhu-map.contentMenuTitle",required:!0,label:i.a.translator.trans("map.admin.settings.contentMenuTitle")}),this.buildSettingComponent({type:"text",setting:"ubuntuhu-map.contentMenuTitleIcon",required:!0,label:i.a.translator.trans("map.admin.settings.contentMenuTitleIcon")}),this.buildSettingComponent({type:"text",setting:"ubuntuhu-map.formButtonTitle",required:!0,label:i.a.translator.trans("map.admin.settings.formButtonTitle")}),this.submitButton())))]},n}(e.n(a).a);i.a.initializers.add("ubuntuhu-map",(function(){i.a.extensionData.for("ubuntuhu-map").registerPage(u)}))},2:function(t,n,e){"use strict";function r(t,n){return(r=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function i(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n)}e.d(n,"a",(function(){return i}))},9:function(t,n){t.exports=flarum.core.compat["admin/components/ExtensionPage"]}});
//# sourceMappingURL=admin.js.map