mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 20:22:58 +08:00
Bundled output for commit 339255f4fd
[skip ci]
This commit is contained in:
parent
339255f4fd
commit
60c955f3af
2
extensions/flags/js/dist/admin.js
vendored
2
extensions/flags/js/dist/admin.js
vendored
|
@ -1,2 +1,2 @@
|
|||
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=22)}({0:function(t,e){t.exports=flarum.core.compat.app},1:function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}n.d(e,"a",function(){return r})},2:function(t,e){t.exports=flarum.core.compat.extend},20:function(t,e){t.exports=flarum.core.compat["components/SettingsModal"]},22:function(t,e,n){"use strict";n.r(e);var r=n(2),o=n(0),a=n.n(o),s=n(8),i=n.n(s),l=n(1),u=n(20),f=function(t){function e(){return t.apply(this,arguments)||this}Object(l.a)(e,t);var n=e.prototype;return n.className=function(){return"FlagsSettingsModal Modal--small"},n.title=function(){return app.translator.trans("flarum-flags.admin.settings.title")},n.form=function(){return[m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-flags.admin.settings.guidelines_url_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-flags.guidelines_url")}))]},e}(n.n(u).a),c={"flags/components/FlagsSettingsModal":f},p=n(6);a.a.initializers.add("flarum-flags",function(){a.a.extensionSettings["flarum-flags"]=function(){return a.a.modal.show(new f)},Object(r.extend)(i.a.prototype,"moderateItems",function(t){t.add("viewFlags",{icon:"fas fa-flag",label:a.a.translator.trans("flarum-flags.admin.permissions.view_flags_label"),permission:"discussion.viewFlags"},65)}),Object(r.extend)(i.a.prototype,"replyItems",function(t){t.add("flagPosts",{icon:"fas fa-flag",label:a.a.translator.trans("flarum-flags.admin.permissions.flag_posts_label"),permission:"discussion.flagPosts"},70)})}),Object.assign(p.compat,c)},6:function(t,e){t.exports=flarum.core},8:function(t,e){t.exports=flarum.core.compat["components/PermissionGrid"]}});
|
||||
module.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.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 o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));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=23)}([function(t,n){t.exports=flarum.core.compat.app},function(t,n,e){"use strict";function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}e.d(n,"a",function(){return r})},function(t,n){t.exports=flarum.core.compat.extend},,function(t,n,e){"use strict";function r(){return(r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}e.d(n,"a",function(){return r})},,,function(t,n){t.exports=flarum.core},,function(t,n){t.exports=flarum.core.compat["components/PermissionGrid"]},,,,,,,,,,,,function(t,n){t.exports=flarum.core.compat["components/SettingsModal"]},,function(t,n,e){"use strict";e.r(n);var r=e(4),o=e(2),a=e(0),s=e.n(a),i=e(9),l=e.n(i),u=e(1),f=e(21),c=function(t){function n(){return t.apply(this,arguments)||this}Object(u.a)(n,t);var e=n.prototype;return e.className=function(){return"FlagsSettingsModal Modal--small"},e.title=function(){return app.translator.trans("flarum-flags.admin.settings.title")},e.form=function(){return[m("div",{className:"Form-group"},m("label",null,app.translator.trans("flarum-flags.admin.settings.guidelines_url_label")),m("input",{className:"FormControl",bidi:this.setting("flarum-flags.guidelines_url")}))]},n}(e.n(f).a),p={"flags/components/FlagsSettingsModal":c},d=e(7);s.a.initializers.add("flarum-flags",function(){s.a.extensionSettings["flarum-flags"]=function(){return s.a.modal.show(new c)},Object(o.extend)(l.a.prototype,"moderateItems",function(t){t.add("viewFlags",{icon:"fas fa-flag",label:s.a.translator.trans("flarum-flags.admin.permissions.view_flags_label"),permission:"discussion.viewFlags"},65)}),Object(o.extend)(l.a.prototype,"replyItems",function(t){t.add("flagPosts",{icon:"fas fa-flag",label:s.a.translator.trans("flarum-flags.admin.permissions.flag_posts_label"),permission:"discussion.flagPosts"},70)})}),Object(r.a)(d.compat,p)}]);
|
||||
//# sourceMappingURL=admin.js.map
|
2
extensions/flags/js/dist/admin.js.map
vendored
2
extensions/flags/js/dist/admin.js.map
vendored
File diff suppressed because one or more lines are too long
2
extensions/flags/js/dist/forum.js
vendored
2
extensions/flags/js/dist/forum.js
vendored
File diff suppressed because one or more lines are too long
2
extensions/flags/js/dist/forum.js.map
vendored
2
extensions/flags/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