| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/nextcloud/apps/richdocuments/js/ |
Upload File : |
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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="/js/",n(n.s=840)}({404:function(t,e,n){"use strict";var o=n(44),i=n.n(o),r=n(45),c=n.n(r)()(i.a);c.push([t.i,".rd-settings-documentation{max-width:50em}#richdocuments #use_group_select,#richdocuments #edit_group_select{width:200px;display:block}#richdocuments p{margin-bottom:15px}#richdocuments #s2id_use_group_select,#richdocuments #s2id_edit_group_select{margin-left:18px;margin-top:-4px;width:300px !important}#richdocuments>h2,#richdocuments-templates>h2{display:inline-flex;align-items:center}#richdocuments>h2 .icon-info,#richdocuments>h2 .icon-add,#richdocuments>h2 .icon-loading-small,#richdocuments-templates>h2 .icon-info,#richdocuments-templates>h2 .icon-add,#richdocuments-templates>h2 .icon-loading-small{width:44px;height:44px;margin:-6px;margin-left:10px;opacity:0.5;white-space:nowrap;line-height:44px;padding-left:44px;font-size:16px}#richdocuments>h2 .icon-info:hover,#richdocuments>h2 .icon-info:focus,#richdocuments>h2 .icon-info:active,#richdocuments>h2 .icon-add:hover,#richdocuments>h2 .icon-add:focus,#richdocuments>h2 .icon-add:active,#richdocuments>h2 .icon-loading-small:hover,#richdocuments>h2 .icon-loading-small:focus,#richdocuments>h2 .icon-loading-small:active,#richdocuments-templates>h2 .icon-info:hover,#richdocuments-templates>h2 .icon-info:focus,#richdocuments-templates>h2 .icon-info:active,#richdocuments-templates>h2 .icon-add:hover,#richdocuments-templates>h2 .icon-add:focus,#richdocuments-templates>h2 .icon-add:active,#richdocuments-templates>h2 .icon-loading-small:hover,#richdocuments-templates>h2 .icon-loading-small:focus,#richdocuments-templates>h2 .icon-loading-small:active{opacity:0.7}#richdocuments-templates>input:hover+h2 .icon-add,#richdocuments-templates>input:hover+h2 .icon-loading-small,#richdocuments-templates>input:focus+h2 .icon-add,#richdocuments-templates>input:focus+h2 .icon-loading-small,#richdocuments-templates>input:active+h2 .icon-add,#richdocuments-templates>input:active+h2 .icon-loading-small{opacity:0.7}#richdocuments-templates>input:hover+#emptycontent label,#richdocuments-templates>input:focus+#emptycontent label,#richdocuments-templates>input:active+#emptycontent label{color:var(--color-text-light)}#richdocuments-templates ul:not(.hidden){display:flex;flex-wrap:wrap}#richdocuments-templates ul:not(.hidden) li{border-radius:var(--border-radius);border:1px solid var(--color-border);margin:10px;position:relative}#richdocuments-templates ul:not(.hidden) li figure{display:flex;flex-direction:column;width:150px;margin:10px}#richdocuments-templates ul:not(.hidden) li figure img,#richdocuments-templates ul:not(.hidden) li figure .templatePlaceholder{width:150px;height:212.14286px;background-color:var(--color-background-dark)}#richdocuments-templates ul:not(.hidden) li figure figcaption{margin-top:10px}#richdocuments-templates ul:not(.hidden) li .delete-cover,#richdocuments-templates ul:not(.hidden) li .delete-template{width:150px;height:212.14286px;top:0;left:0;position:absolute;margin:10px;opacity:0;transition:opacity 250ms ease-in-out;z-index:3;line-height:212.14286px;text-align:center;font-size:20px;background-size:24px;color:var(--color-background-darker)}#richdocuments-templates ul:not(.hidden) li .delete-cover{background-color:var(--color-text-lighter);z-index:2}#richdocuments-templates ul:not(.hidden) li:hover .delete-template,#richdocuments-templates ul:not(.hidden) li .delete-template:focus,#richdocuments-templates ul:not(.hidden) li .delete-template.icon-loading{opacity:1}#richdocuments-templates ul:not(.hidden) li:hover .delete-template+.delete-cover,#richdocuments-templates ul:not(.hidden) li .delete-template:focus+.delete-cover,#richdocuments-templates ul:not(.hidden) li .delete-template.icon-loading+.delete-cover{opacity:0.5}\n","",{version:3,sources:["webpack://./css/admin.scss"],names:[],mappings:"AAAA,2BACC,cAAe,CACf,mEAIC,WAAY,CAAE,aAAc,CAF9B,iBAKE,kBAAmB,CALrB,6EASE,gBAAiB,CACjB,eAAgB,CAChB,sBAAuB,CACvB,8CAOA,mBAAoB,CACpB,kBAAmB,CALrB,4NAUG,UAAW,CACX,WAAY,CACZ,WAAY,CACZ,gBAAiB,CACjB,WAAY,CACZ,kBAAmB,CACnB,gBAAiB,CACjB,iBAAkB,CAClB,cAAe,CAlBlB,swBAsBI,WAAY,CACZ,4UAaA,WAAY,CARhB,4KAWI,6BAA8B,CAXlC,yCAgBE,YAAa,CACb,cAAe,CAjBjB,4CAsBG,kCAAmC,CACnC,oCAAqC,CACrC,WAHY,CAIZ,iBAAkB,CAzBrB,mDA2BI,YAAa,CACb,qBAAsB,CACtB,WAVW,CAWX,WATW,CArBf,+HAgCK,WAbU,CAcV,kBAbuB,CAcvB,6CAA8C,CAlCnD,8DAqCK,eAhBU,CArBf,uHA0CI,WAvBW,CAwBX,kBAvBwB,CAwBxB,KAAM,CACN,MAAO,CACP,iBAAkB,CAClB,WA1BW,CA2BX,SAAU,CACV,oCAAqC,CACrC,SAAU,CACV,uBA/BwB,CAgCxB,iBAAkB,CAClB,cAAe,CACf,oBAAqB,CAErB,oCAAqC,CAxDzC,0DA4DI,0CAA2C,CAC3C,SAAU,CA7Dd,gNAkEI,SAAU,CAlEd,0PAoEK,WAAY",sourcesContent:[".rd-settings-documentation {\n\tmax-width: 50em;\n}\n\n#richdocuments {\n\t#use_group_select, #edit_group_select {\n\t\twidth: 200px; display: block;\n\t}\n\tp {\n\t\tmargin-bottom: 15px;\n\t}\n\t#s2id_use_group_select,\n\t#s2id_edit_group_select {\n\t\tmargin-left: 18px;\n\t\tmargin-top: -4px;\n\t\twidth: 300px !important;\n\t}\n}\n\n#richdocuments,\n#richdocuments-templates {\n\t// inline buttons on section headers\n\t> h2 {\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\n\t\t.icon-info,\n\t\t.icon-add,\n\t\t.icon-loading-small {\n\t\t\twidth: 44px;\n\t\t\theight: 44px;\n\t\t\tmargin: -6px;\n\t\t\tmargin-left: 10px;\n\t\t\topacity: 0.5;\n\t\t\twhite-space: nowrap;\n\t\t\tline-height: 44px;\n\t\t\tpadding-left: 44px;\n\t\t\tfont-size: 16px;\n\t\t\t&:hover,\n\t\t\t&:focus,\n\t\t\t&:active {\n\t\t\t\topacity: 0.7;\n\t\t\t}\n\t\t}\n\t}\n}\n\n#richdocuments-templates {\n\t> input {\n\t\t// feedback for keyboard navigation\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\t+ h2 .icon-add,\n\t\t\t+ h2 .icon-loading-small {\n\t\t\t\topacity: 0.7;\n\t\t\t}\n\t\t\t+ #emptycontent label {\n\t\t\t\tcolor: var(--color-text-light);\n\t\t\t}\n\t\t}\n\t}\n\tul:not(.hidden) {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tli {\n\t\t\t$size: 150px;\n\t\t\t$sizeY: $size / 210 * 297;\n\t\t\t$space: 10px;\n\t\t\tborder-radius: var(--border-radius);\n\t\t\tborder: 1px solid var(--color-border);\n\t\t\tmargin: $space;\n\t\t\tposition: relative;\n\t\t\tfigure {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\twidth: $size;\n\t\t\t\tmargin: $space;\n\t\t\t\timg, .templatePlaceholder {\n\t\t\t\t\twidth: $size;\n\t\t\t\t\theight: $sizeY;\n\t\t\t\t\tbackground-color: var(--color-background-dark);\n\t\t\t\t}\n\t\t\t\tfigcaption {\n\t\t\t\t\tmargin-top: $space;\n\t\t\t\t}\n\t\t\t}\n\t\t\t.delete-cover,\n\t\t\t.delete-template {\n\t\t\t\twidth: $size;\n\t\t\t\theight: $sizeY;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tmargin: $space;\n\t\t\t\topacity: 0;\n\t\t\t\ttransition: opacity 250ms ease-in-out;\n\t\t\t\tz-index: 3;\n\t\t\t\tline-height: $sizeY;\n\t\t\t\ttext-align: center;\n\t\t\t\tfont-size: 20px;\n\t\t\t\tbackground-size: 24px;\n\t\t\t\t// text is set as bg\n\t\t\t\tcolor: var(--color-background-darker);\n\t\t\t}\n\t\t\t.delete-cover {\n\t\t\t\t// bg is set as color\n\t\t\t\tbackground-color: var(--color-text-lighter);\n\t\t\t\tz-index: 2;\n\t\t\t}\n\t\t\t&:hover .delete-template,\n\t\t\t.delete-template:focus,\n\t\t\t.delete-template.icon-loading {\n\t\t\t\topacity: 1;\n\t\t\t\t+ .delete-cover {\n\t\t\t\t\topacity: 0.5;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]),e.a=c},43:function(t,e,n){"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),c=[];function a(t){for(var e=-1,n=0;n<c.length;n++)if(c[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},o=[],i=0;i<t.length;i++){var r=t[i],s=e.base?r[0]+e.base:r[0],l=n[s]||0,d="".concat(s," ").concat(l);n[s]=l+1;var u=a(d),p={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(c[u].references++,c[u].updater(p)):c.push({identifier:d,updater:A(p,e),references:1}),o.push(d)}return o}function l(t){var e=document.createElement("style"),o=t.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(t){e.setAttribute(t,o[t])})),"function"==typeof t.insert)t.insert(e);else{var c=r(t.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(e)}return e}var d,u=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function p(t,e,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(t.styleSheet)t.styleSheet.cssText=u(e,i);else{var r=document.createTextNode(i),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(r,c[e]):t.appendChild(r)}}function m(t,e,n){var o=n.css,i=n.media,r=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var h=null,f=0;function A(t,e){var n,o,i;if(e.singleton){var r=f++;n=h||(h=l(e)),o=p.bind(null,n,r,!1),i=p.bind(null,n,r,!0)}else n=l(e),o=m.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var o=0;o<n.length;o++){var i=a(n[o]);c[i].references--}for(var r=s(t,e),l=0;l<n.length;l++){var d=a(n[l]);0===c[d].references&&(c[d].updater(),c.splice(d,1))}n=r}}}},44:function(t,e,n){"use strict";function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var c,a=t[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}t.exports=function(t){var e=o(t,4),n=e[1],i=e[3];if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),a="/*# ".concat(c," */"),s=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(s).concat([a]).join("\n")}return[n].join("\n")}},45:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(o)for(var r=0;r<this.length;r++){var c=this[r][0];null!=c&&(i[c]=!0)}for(var a=0;a<t.length;a++){var s=[].concat(t[a]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},801:function(t,e,n){"use strict";var o=n(43),i=n.n(o),r=n(404),c={insert:"head",singleton:!1};i()(r.a,c),r.a.locals},840:function(e,n,o){"use strict";o.r(n);o(801);$((function(){$('[data-toggle="tooltip"]').tooltip();var e=function(){this.templateInput=document.getElementById("templateInputField"),this.templateSelectButton=document.getElementById("templateSelectButton"),this.templateResetButton=document.getElementById("templateResetButton");var e=this;this.templateSelectButton.addEventListener("click",(function(){OC.dialogs.filepicker(t("richdocuments","Select a personal template folder"),(function(t,n){e.updateSetting(t)}),!1,"httpd/unix-directory",!0,OC.dialogs.FILEPICKER_TYPE_CHOOSE)})),this.templateResetButton.addEventListener("click",this.resetSettings.bind(this))};return e.prototype.updateSetting=function(t){var e=this;this._updateSetting({templateFolder:t},(function(){e.templateInput.value=t}),(function(){}))},e.prototype.resetSettings=function(){var t=this;this._updateSetting({templateFolder:""},(function(){t.templateInput.value=""}),(function(){}))},e.prototype._updateSetting=function(e,n,o){OC.msg.startAction("#documents-admin-msg",t("richdocuments","Saving…"));var i=new XMLHttpRequest;i.open("POST",OC.filePath("richdocuments","ajax","personal.php"),!0),i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("requesttoken",OC.requestToken),i.onload=function(){if(i.status>=200&&i.status<400){var t=JSON.parse(i.response);OC.msg.finishedAction("#documents-admin-msg",t),n(t)}else o(this.response)},i.onerror=function(){o(this.response)},i.send(JSON.stringify(e))},new e}))}});
//# sourceMappingURL=personal.js.map