mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Bundled output for commit 3c5229610f
Includes transpiled JS/TS. [skip ci]
This commit is contained in:
parent
3c5229610f
commit
aeafc483e3
2
extensions/nicknames/js/dist/admin.js
vendored
2
extensions/nicknames/js/dist/admin.js
vendored
|
@ -1,2 +1,2 @@
|
|||
module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=12)}({10:function(e,n){e.exports=flarum.core.compat["common/components/Link"]},12:function(e,n,t){"use strict";t.r(n);var r=t(9),a=t.n(r),i=t(10),s=t.n(i);app.initializers.add("flarum/nicknames",(function(){app.extensionData.for("flarum-nicknames").registerSetting((function(){if("nickname"!==app.data.settings.display_name_driver)return m("div",{className:"Form-group"},m(a.a,{dismissible:!1},app.translator.trans("flarum-nicknames.admin.wrong_driver",{a:m(s.a,{href:app.route("basics")})})))})).registerSetting({setting:"flarum-nicknames.unique",type:"boolean",label:app.translator.trans("flarum-nicknames.admin.settings.unique_label")}).registerSetting({setting:"flarum-nicknames.regex",type:"text",label:app.translator.trans("flarum-nicknames.admin.settings.regex_label")}).registerSetting({setting:"flarum-nicknames.min",type:"number",label:app.translator.trans("flarum-nicknames.admin.settings.min_label")}).registerSetting({setting:"flarum-nicknames.max",type:"number",label:app.translator.trans("flarum-nicknames.admin.settings.max_label")}).registerPermission({icon:"fas fa-user-tag",label:app.translator.trans("flarum-nicknames.admin.permissions.edit_own_nickname_label"),permission:"user.editOwnNickname"},"start")}))},9:function(e,n){e.exports=flarum.core.compat["common/components/Alert"]}});
|
||||
module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=13)}({10:function(e,n){e.exports=flarum.core.compat["common/components/Alert"]},11:function(e,n){e.exports=flarum.core.compat["common/components/Link"]},13:function(e,n,t){"use strict";t.r(n);var r=t(10),a=t.n(r),i=t(11),s=t.n(i);app.initializers.add("flarum/nicknames",(function(){app.extensionData.for("flarum-nicknames").registerSetting((function(){if("nickname"!==app.data.settings.display_name_driver)return m("div",{className:"Form-group"},m(a.a,{dismissible:!1},app.translator.trans("flarum-nicknames.admin.wrong_driver",{a:m(s.a,{href:app.route("basics")})})))})).registerSetting({setting:"flarum-nicknames.set_on_registration",type:"boolean",label:app.translator.trans("flarum-nicknames.admin.settings.set_on_registration_label")}).registerSetting({setting:"flarum-nicknames.random_username",type:"boolean",label:app.translator.trans("flarum-nicknames.admin.settings.random_username_label"),help:app.translator.trans("flarum-nicknames.admin.settings.random_username_help")}).registerSetting({setting:"flarum-nicknames.unique",type:"boolean",label:app.translator.trans("flarum-nicknames.admin.settings.unique_label")}).registerSetting({setting:"flarum-nicknames.regex",type:"text",label:app.translator.trans("flarum-nicknames.admin.settings.regex_label")}).registerSetting({setting:"flarum-nicknames.min",type:"number",label:app.translator.trans("flarum-nicknames.admin.settings.min_label")}).registerSetting({setting:"flarum-nicknames.max",type:"number",label:app.translator.trans("flarum-nicknames.admin.settings.max_label")}).registerPermission({icon:"fas fa-user-tag",label:app.translator.trans("flarum-nicknames.admin.permissions.edit_own_nickname_label"),permission:"user.editOwnNickname"},"start")}))}});
|
||||
//# sourceMappingURL=admin.js.map
|
2
extensions/nicknames/js/dist/admin.js.map
vendored
2
extensions/nicknames/js/dist/admin.js.map
vendored
File diff suppressed because one or more lines are too long
2
extensions/nicknames/js/dist/forum.js
vendored
2
extensions/nicknames/js/dist/forum.js
vendored
File diff suppressed because one or more lines are too long
2
extensions/nicknames/js/dist/forum.js.map
vendored
2
extensions/nicknames/js/dist/forum.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user