generator-upendodnn
Version:
Scaffolds DNN extensions, including Modules (Webforms, SPA, and MVC), Persona Bar, Skin Object, Library, Scheduler, and Hotcakes Commerce projects (based on the generator built by Matt Rutledge).
2 lines • 3.56 kB
JavaScript
(function(){"use strict";var t={8088:function(t,e,n){var o=n(9242),r=n(3396);function i(t,e){const n=(0,r.up)("router-view");return(0,r.wg)(),(0,r.iD)("div",null,[(0,r.Wm)(n)])}var u=n(89);const a={},c=(0,u.Z)(a,[["render",i]]);var s=c;function d(t,e,n){f(t,`${t.apiBaseUrl}API/<%= fullNamespace %>/Resx/GetResx?filename=${e}`,void 0,void 0,n)}function f(t,e,n,o,r){let i={method:"GET",headers:{"Content-Type":"application/json",moduleid:t.moduleId,tabid:t.tabId,RequestVerificationToken:t.rvt},body:o?JSON.stringify(o):null};n&&(i={...i,...n});const u=new Request(e);fetch(u,i).then((t=>200===t.status?t.json():null)).then((t=>{"function"===typeof r&&r("string"===typeof t?JSON.parse(t):t)}))}n(6229),n(7330),n(2062);var l=n(2483),p=n(7139),v=n(4870);const h={class:"text-center"},m={components:{},data(){return{}},mounted(){},methods:{}};var w=Object.assign(m,{__name:"HomeItem",setup(t){const e=(0,r.f3)("resx");return(t,n)=>((0,r.wg)(),(0,r.iD)("div",h,[(0,r._)("h2",null,(0,p.zw)((0,v.SU)(e).Welcome),1)]))}});const b=w;var g=b;const y=new URL(window.location.href),O=y.pathname,j=[{path:`${O}`,component:g},{path:"/:pathMatch(.*)*",redirect:`${O}`}],x=(0,l.p7)({history:(0,l.PO)(),routes:j});var k=x,_=n(65),C=(0,_.MT)({state:{},mutations:{},actions:{},modules:{}});const I=document.getElementsByClassName("appUpendoSendUI"),T=(0,o.ri)(s);function $(t,e){return new Promise((n=>{d(t,e,n)}))}function N(){for(var t=0;t<I.length;t++){const e=I[t],n={tabId:Number(e.getAttribute("data-tabid")),moduleId:Number(e.getAttribute("data-moduleid")),editMode:"true"===e.getAttribute("data-editmode").toLowerCase(),apiBaseUrl:e.getAttribute("data-apibaseurl"),rvt:window.$("input[name='__RequestVerificationToken']").val()};void 0===window.dtCallBacks&&(window.dtCallBacks=[]),$(n,"View").then((t=>{T.provide("dnnConfig",n),T.provide("resx",t),T.provide("window",window),T.provide("jQuery",window.$),T.mount(`#${e.id}`)})).catch((t=>{console.log(t)}))}}T.use(k),T.use(C),T.config.devtools=!0,N()}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o].call(i.exports,i,i.exports,n),i.exports}n.m=t,function(){var t=[];n.O=function(e,o,r,i){if(!o){var u=1/0;for(d=0;d<t.length;d++){o=t[d][0],r=t[d][1],i=t[d][2];for(var a=!0,c=0;c<o.length;c++)(!1&i||u>=i)&&Object.keys(n.O).every((function(t){return n.O[t](o[c])}))?o.splice(c--,1):(a=!1,i<u&&(u=i));if(a){t.splice(d--,1);var s=r();void 0!==s&&(e=s)}}return e}i=i||0;for(var d=t.length;d>0&&t[d-1][2]>i;d--)t[d]=t[d-1];t[d]=[o,r,i]}}(),function(){n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,{a:e}),e}}(),function(){n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={143:0};n.O.j=function(e){return 0===t[e]};var e=function(e,o){var r,i,u=o[0],a=o[1],c=o[2],s=0;if(u.some((function(e){return 0!==t[e]}))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(c)var d=c(n)}for(e&&e(o);s<u.length;s++)i=u[s],n.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return n.O(d)},o=self["webpackChunkclient_app"]=self["webpackChunkclient_app"]||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))}();var o=n.O(void 0,[998],(function(){return n(8088)}));o=n.O(o)})();
//# sourceMappingURL=app.js.map