1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-03-16 00:40:04 +00:00
pixelfed/public/js/developers.js

1 line
23 KiB
JavaScript
Raw Normal View History

2025-03-12 00:40:27 -06:00
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[755],{703:(t,e,s)=>{"use strict";s.r(e);var a=s(19318),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},13025:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".action-link[data-v-1b737fda]{cursor:pointer}",""]);const n=o},15905:(t,e,s)=>{Vue.component("passport-clients",s(19308).default),Vue.component("passport-authorized-clients",s(22593).default),Vue.component("passport-personal-access-tokens",s(87036).default)},19308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(28004),o=s(71991),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(54019);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"d71fe564",null).exports},19318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(85072),o=s.n(a),n=s(13025),r={insert:"head",singleton:!1};o()(n.default,r);const i=n.default.locals||{}},22593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93638),o=s(83382),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);s.d(e,n);s(703);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"1b737fda",null).exports},28004:(t,e,s)=>{"use strict";s.r(e);var a=s(47665),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},34758:(t,e,s)=>{"use strict";s.r(e);var a=s(45149),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},37622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(85072),o=s.n(a),n=s(49921),r={insert:"head",singleton:!1};o()(n.default,r);const i=n.default.locals||{}},38335:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(88838),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=a.default},41671:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[t.tokens.length>0?e("div",[e("div",{staticClass:"card card-default mb-4"},[e("div",{staticClass:"card-header font-weight-bold bg-white"},[t._v("Authorized Applications")]),t._v(" "),e("div",{staticClass:"card-body"},[e("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),e("tbody",t._l(t.tokens,(function(s){return e("tr",[e("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(s.client.name)+"\n ")]),t._v(" "),e("td",{staticStyle:{"vertical-align":"middle"}},[s.scopes.length>0?e("span",[t._v("\n "+t._s(s.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),e("td",{staticStyle:{"vertical-align":"middle"}},[e("a",{staticClass:"action-link text-danger",on:{click:function(e){return t.revoke(s)}}},[t._v("\n Revoke\n ")])])])})),0)])])])]):t._e()])},o=[function(){var t=this,e=t._self._c;return e("thead",[e("tr",[e("th",[t._v("Name")]),t._v(" "),e("th",[t._v("Scopes")]),t._v(" "),e("th")])])}]},45149:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(85072),o=s.n(a),n=s(49464),r={insert:"head",singleton:!1};o()(n.default,r);const i=n.default.locals||{}},47665:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card card-default mb-4"},[e("div",{staticClass:"card-header font-weight-bold bg-white"},[e("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[e("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),e("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),e("div",{staticClass:"card-body"},[0===t.clients.length?e("p",{staticClass:"mb-0 font-weight-bold text-center lead p-5"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?e("table",{staticClass:"t