mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Bundled output for commit 876a964e1e
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
parent
876a964e1e
commit
7264941f91
2
extensions/sticky/js/dist/admin.js
generated
vendored
2
extensions/sticky/js/dist/admin.js
generated
vendored
|
@ -1,2 +1,2 @@
|
|||
(()=>{var e={n:r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},d:(r,t)=>{for(var s in t)e.o(t,s)&&!e.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:t[s]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};(()=>{"use strict";e.r(r),e.d(r,{extend:()=>l});const t=flarum.reg.get("core","admin/app");var s=e.n(t);const a=flarum.reg.get("core","common/extenders");var o=e.n(a);const i=flarum.reg.get("core","common/query/IGambit"),n=flarum.reg.get("core","common/app");var c=e.n(n);class m extends i.BooleanGambit{key(){return c().translator.trans("flarum-sticky.lib.gambits.discussions.sticky.key",{},!0)}filterKey(){return"sticky"}}flarum.reg.add("flarum-sticky","common/query/discussions/StickyGambit",m);const l=[(new(o().Search)).gambit("discussions",m),(new(o().Admin)).permission((()=>({icon:"fas fa-thumbtack",label:s().translator.trans("flarum-sticky.admin.permissions.sticky_discussions_label"),permission:"discussion.sticky"})),"moderate",95)];s().initializers.add("flarum-sticky",(()=>{}))})(),module.exports=r})();
|
||||
(()=>{var e={n:s=>{var t=s&&s.__esModule?()=>s.default:()=>s;return e.d(t,{a:t}),t},d:(s,t)=>{for(var r in t)e.o(t,r)&&!e.o(s,r)&&Object.defineProperty(s,r,{enumerable:!0,get:t[r]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},s={};(()=>{"use strict";e.r(s),e.d(s,{extend:()=>m});const t=flarum.reg.get("core","admin/app");var r=e.n(t);const n=flarum.reg.get("core","common/extenders");var a=e.n(n);const i=flarum.reg.get("core","common/query/IGambit"),o=flarum.reg.get("core","common/app");var l=e.n(o);class c extends i.BooleanGambit{key(){return l().translator.trans("flarum-sticky.lib.gambits.discussions.sticky.key",{},!0)}filterKey(){return"sticky"}}flarum.reg.add("flarum-sticky","common/query/discussions/StickyGambit",c);const m=[(new(a().Search)).gambit("discussions",c),(new(a().Admin)).permission((()=>({icon:"fas fa-thumbtack",label:r().translator.trans("flarum-sticky.admin.permissions.sticky_discussions_label"),permission:"discussion.sticky"})),"moderate",95).setting((()=>({setting:"flarum-sticky.only_sticky_unread_discussions",name:"onlyStickyUnreadDiscussions",type:"boolean",label:r().translator.trans("flarum-sticky.admin.settings.only_sticky_unread_discussions_label"),help:r().translator.trans("flarum-sticky.admin.settings.only_sticky_unread_discussions_help")})))];r().initializers.add("flarum-sticky",(()=>{}))})(),module.exports=s})();
|
||||
//# sourceMappingURL=admin.js.map
|
2
extensions/sticky/js/dist/admin.js.map
generated
vendored
2
extensions/sticky/js/dist/admin.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user