@autoafleveren/ui 0.14.3 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/eslint.cjs +2 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/package.json +1 -1
package/dist/config/eslint.cjs
CHANGED
|
@@ -60,7 +60,7 @@ module.exports = {
|
|
|
60
60
|
programic: {
|
|
61
61
|
vue: {
|
|
62
62
|
extendedComputedProperties: {
|
|
63
|
-
vueuse: [
|
|
63
|
+
'@vueuse/core': [
|
|
64
64
|
'computedAsync',
|
|
65
65
|
'computedEager',
|
|
66
66
|
'computedInject',
|
|
@@ -69,7 +69,7 @@ module.exports = {
|
|
|
69
69
|
],
|
|
70
70
|
},
|
|
71
71
|
extendedWatchers: {
|
|
72
|
-
vueuse: [
|
|
72
|
+
'@vueuse/core': [
|
|
73
73
|
'until',
|
|
74
74
|
'watchArray',
|
|
75
75
|
'watchAtMost',
|
package/dist/ui.cjs
CHANGED
|
@@ -104,4 +104,4 @@ found in
|
|
|
104
104
|
${t.map((o,i)=>`${(i===0?"---> ":E5(" ",5+i*2))+(Array.isArray(o)?`${Zo(o[0])}... (${o[1]} recursive calls)`:Zo(o))}`).join(`
|
|
105
105
|
`)}`}return`
|
|
106
106
|
|
|
107
|
-
(found in ${Zo(e)})`},I5=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:o}=e.config;e.config.errorHandler=(i,s,l)=>{const u=Zo(s,!1),c=s?x5(s):"",d={componentName:u,lifecycleHook:l,trace:c};if(t.attachProps&&s&&(s.$options&&s.$options.propsData?d.propsData=s.$options.propsData:s.$props&&(d.propsData=s.$props)),setTimeout(()=>{_i(i,{captureContext:{contexts:{vue:d}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,i,s,l),t.logErrors){const p=typeof console<"u",h=`Error in ${l}: "${i&&i.toString()}"`;r?r.call(null,h,s,c):p&&!o&&dr(()=>{console.error(`[Vue warn]: ${h}${c}`)})}}},P5=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,fh="ui.vue",N5={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function O5(){return dn().getTransaction()}function D5(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}const M5=e=>{const t=(e.hooks||[]).concat(Sy).filter((r,o,i)=>i.indexOf(r)===o),n={};for(const r of t){const o=N5[r];if(!o){P5&&Q.warn(`Unknown hook: ${r}`);continue}for(const i of o)n[i]=function(){const s=this.$root===this;s&&ju()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||xs({name:"Application Render",op:`${fh}.render`,origin:"auto.ui.vue"}));const l=Zo(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(l)>-1:e.trackComponents;if(!(!s&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},i==o[0]){if(this.$root&&this.$root.$_sentryRootSpan||ju()){const d=this.$_sentrySpans[r];d&&d.end(),this.$_sentrySpans[r]=xs({name:`Vue <${l}>`,op:`${fh}.${r}`,origin:"auto.ui.vue"})}}else{const c=this.$_sentrySpans[r];if(!c)return;c.end(),D5(this,Co(),e.timeout)}}}return n},B5=Ge,A5={Vue:B5.Vue,attachProps:!0,logErrors:!0,hooks:Sy,timeout:2e3,trackComponents:!1},Cy="Vue",R5=(e={})=>({name:Cy,setupOnce(){},setup(t){$5(t,e)}}),Ty=R5;Pr(Cy,Ty);function $5(e,t){const n={...A5,...e.getOptions(),...t};if(!n.Vue&&!n.app){dr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?jc(n.app).forEach(o=>ph(o,n)):n.Vue&&ph(n.Vue,n)}const ph=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&dr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),I5(e,t),Ea(t)&&e.mixin(M5({...t,...t.tracingOptions}))};function L5(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:ci}],version:ci}},defaultIntegrations:[...Bg(),Ty()],...e};JR(t)}function V5(e,t={}){return(n,r=!0,o=!0)=>{r&&We&&We.location&&n({name:We.location.pathname,op:"pageload",attributes:{[kr]:"auto.pageload.vue",[Fn]:"url"}}),F5(e,{routeLabel:t.routeLabel||"name",instrumentNavigation:o,instrumentPageLoad:r},n)}}function F5(e,t,n){e.onError(r=>_i(r,{mechanism:{handled:!1}})),e.beforeEach((r,o,i)=>{const s=o.name==null&&o.matched.length===0,l={[kr]:"auto.navigation.vue"};for(const d of Object.keys(r.params))l[`params.${d}`]=r.params[d];for(const d of Object.keys(r.query)){const p=r.query[d];p&&(l[`query.${d}`]=p)}let u=r.path,c="url";if(r.name&&t.routeLabel!=="path"?(u=r.name.toString(),c="custom"):r.matched[0]&&r.matched[0].path&&(u=r.matched[0].path,c="route"),t.instrumentPageLoad&&s){const d=O5();d&&((Lt(d).data||{})[Fn]!=="custom"&&(d.updateName(u),d.setAttribute(Fn,c)),d.setAttributes({...l,[kr]:"auto.pageload.vue"}))}t.instrumentNavigation&&!s&&(l[Fn]=c,n({name:u,op:"navigation",attributes:l})),i&&i()})}const H5={title:"Er lijkt iets mis te zijn gegaan",subtitle:"Ons team is op de hoogte gesteld. Het helpt enorm als je ons vertelt wat er is gebeurd.",subtitle2:"",labelName:"Naam",labelEmail:"E-mailadres",labelComments:"Omschrijf wat er gebeurd is",labelClose:"Sluiten",labelSubmit:"Verstuur rapport",errorGeneric:"Er is iets mis gegaan",errorFormEntry:"Niet alle velden zijn correct ingevuld",successMessage:"Je feedback is verzonden. Bedankt!"};function U5(e,t,n){L5({app:e,dsn:n.dsn,environment:n.environment,release:n.release,initialScope:{tags:{platform:n.platform,language:"vue"}},beforeSend(r,o){const i=n!=null&&n.beforeSend?n.beforeSend(r,o):r;return i.exception&&n.reportDialog!==!1&&ZR({eventId:i.event_id,...H5,user:i==null?void 0:i.user,onLoad:()=>{var s,l,u;(s=document.querySelector(".sentry-error-embed-wrapper #id_name"))==null||s.setAttribute("placeholder",""),(l=document.querySelector(".sentry-error-embed-wrapper #id_email"))==null||l.setAttribute("placeholder",""),(u=document.querySelector(".sentry-error-embed-wrapper #id_comments"))==null||u.setAttribute("placeholder","")}}),i},integrations:[new HA({routingInstrumentation:V5(t)}),...(n==null?void 0:n.replay)===!0?[new gl]:[]],tracesSampleRate:parseFloat(`${(n==null?void 0:n.tracesSampleRate)??1}`),tracePropagationTargets:["localhost",".auto.test",n.url,/^\//]})}const z5={class:"flex items-center space-x-5"},j5={class:"font-serif text-base font-bold text-zinc-900","data-test-title":""},W5=["innerHTML"],su=a.defineComponent({__name:"Toast",props:{title:{},content:{default:void 0},type:{},options:{default:void 0}},emits:["closeToast"],setup(e,{emit:t}){const n=t;return(r,o)=>{var i;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([{"cursor-pointer":(i=r.options)==null?void 0:i.onClick},"relative"])},[a.createVNode(a.unref(Ws),{class:"absolute right-0 top-0 size-4 cursor-pointer",onClick:o[0]||(o[0]=a.withModifiers(()=>n("closeToast"),["stop"]))}),a.createElementVNode("div",z5,[a.createElementVNode("div",null,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(rm)[r.type]),{class:"size-7","data-test-icon":""}))]),a.createElementVNode("div",null,[a.createElementVNode("p",j5,a.toDisplayString(r.title),1),r.content?(a.openBlock(),a.createElementBlock("p",{key:0,class:"font-serif text-base text-zinc-700","data-test-content":"",innerHTML:r.content},null,8,W5)):a.createCommentVNode("",!0)])])],2)}}});function q5(e){const t=Db(e);return{...t,success:(n,r,o)=>t.success({component:su,props:{title:n,content:r,type:"success",options:o}},o),warning:(n,r,o)=>t.warning({component:su,props:{title:n,content:r,type:"warning",options:o}},o),error:(n,r,o)=>t.error({component:su,props:{title:n,content:r,type:"error",options:o}},o)}}const Ey={install:(e,t)=>{var o;t!=null&&t.pusher&&sv(t.pusher.appKey,t.pusher.authorizer),(o=t==null?void 0:t.sentry)!=null&&o.dsn&&U5(e,t.sentry.router,t==null?void 0:t.sentry);const n={position:ei.TOP_RIGHT,transition:"Vue-Toastification__bounce",maxToasts:5,icon:!1,hideProgressBar:!0,newestOnTop:!0,...(t==null?void 0:t.toast)??{}};e.use(Mb,n);const r={defaultProps:{placement:"top"},...(t==null?void 0:t.tippy)??{}};e.use(Cw,r)}},Y5={class:"flex min-h-screen flex-col md:flex-row md:bg-secondary"},G5={class:"flex h-full grow flex-col bg-white md:h-auto md:w-1/2 md:grow-0 md:rounded-l-2xl","data-test-main-wrapper":""},K5={class:"flex grow justify-center px-10 transition-all md:items-center md:px-24"},X5={class:"mx-auto md:max-w-lg"},J5={class:"hidden w-1/2 md:block","data-test-layout-image-wrapper":""},Z5=["src"],Q5=a.defineComponent({__name:"Auth",setup(e){const{layoutImage:t}=vc();return(n,r)=>(a.openBlock(),a.createElementBlock("div",Y5,[a.createVNode(a.unref(Zs)),a.createElementVNode("div",G5,[a.renderSlot(n.$slots,"secondaryNavBar"),a.createElementVNode("main",K5,[a.createElementVNode("div",X5,[a.renderSlot(n.$slots,"default")])])]),a.createElementVNode("div",J5,[a.unref(t)?(a.openBlock(),a.createElementBlock("img",{key:0,src:a.unref(t),class:"h-screen w-full object-fill"},null,8,Z5)):a.createCommentVNode("",!0)])]))}}),e4={class:"flex min-h-screen w-screen flex-col bg-zinc-100 md:flex-row"},t4={class:"relative order-4 flex shrink-0 grow flex-col overflow-y-auto overflow-x-hidden bg-zinc-100 transition-all duration-300 md:order-3 md:-mt-0 md:h-screen md:basis-0 md:overflow-y-auto md:overflow-x-hidden"},n4={class:"w-full px-4 py-8 md:px-6 md:py-12"},r4={id:"sidebar-wrapper",class:"order-3 flex w-full max-w-full shrink-0 grow-0 flex-col overflow-x-hidden bg-zinc-100 px-4 pt-8 transition-all empty:-mr-96 empty:ml-0 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:order-4 md:max-h-screen md:w-96 md:overflow-hidden md:rounded-l-3xl md:bg-white md:p-12 xl:w-110 empty:xl:-mr-110 2xl:w-141 empty:2xl:-mr-141","data-test-layout-sidebar-wrapper":""},a4=a.defineComponent({__name:"Base",setup(e){const t=a.ref(null),n=a.ref(!0),r=new MutationObserver(o);a.onMounted(()=>{t.value&&(r.observe(t.value,{childList:!0,subtree:!0}),o())}),a.onUnmounted(()=>{r.disconnect()});function o(){const i=document.getElementById("sidebar-left-wrapper");n.value=!!(i!=null&&i.innerHTML)}return a.provide("sidebarLeftHasContent",n),(i,s)=>(a.openBlock(),a.createElementBlock("div",e4,[a.createVNode(a.unref(Zs),{class:"z-50 order-1"}),a.createElementVNode("div",{id:"sidebar-left-wrapper",ref_key:"sidebarLeft",ref:t,class:"order-2 flex shrink-0 grow-0 flex-col overflow-y-auto bg-white p-4 transition-all empty:-ml-96 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:mb-4 md:max-h-screen md:w-96 md:px-6 md:pt-8","data-test-layout-sidebar-left-wrapper":""},[a.renderSlot(i.$slots,"sidebarLeft")],512),a.createElementVNode("main",t4,[a.createVNode(a.unref(Rc)),a.createElementVNode("div",n4,[a.renderSlot(i.$slots,"default")])]),a.createElementVNode("div",r4,[a.renderSlot(i.$slots,"sidebar")])]))}}),o4={class:"flex min-h-screen w-screen flex-col bg-zinc-100 md:flex-row"},i4={class:"relative order-4 flex min-h-[calc(100vh-5rem)] shrink-0 flex-col overflow-y-auto overflow-x-hidden bg-zinc-100 transition-all duration-300 md:order-3 md:-mt-0 md:h-screen md:grow md:basis-0 md:overflow-y-auto md:overflow-x-hidden"},s4={class:"w-full px-4 py-8 md:px-8 md:py-12"},l4={id:"sidebar-wrapper",class:"order-5 flex w-full max-w-full shrink-0 grow-0 flex-col overflow-x-hidden bg-zinc-100 px-4 py-8 transition-all empty:-mr-96 empty:ml-0 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:order-4 md:max-h-screen md:w-96 md:overflow-hidden md:rounded-l-3xl md:bg-white md:px-6 md:pb-6 md:pt-12 xl:w-[580px] empty:xl:mr-[-580px]","data-test-layout-sidebar-wrapper":""},u4=a.defineComponent({__name:"Platform",setup(e){const t=a.ref(null),n=a.ref(!0),r=new MutationObserver(o);a.onMounted(()=>{t.value&&(r.observe(t.value,{childList:!0,subtree:!0}),o())}),a.onUnmounted(()=>{r.disconnect()});function o(){const i=document.getElementById("sidebar-left-wrapper");n.value=!!(i!=null&&i.innerHTML)}return a.provide("sidebarLeftHasContent",n),(i,s)=>(a.openBlock(),a.createElementBlock("div",o4,[a.createVNode(a.unref(Zs),{class:"z-50 order-1"}),a.createElementVNode("div",{id:"sidebar-left-wrapper",ref_key:"sidebarLeft",ref:t,class:a.normalizeClass([{"z-[200]":n.value},"relative order-2 flex shrink-0 grow-0 flex-col overflow-y-auto rounded-l-2xl bg-white p-4 transition-all empty:-ml-72 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:max-h-screen md:w-72 md:px-6 md:pt-8"]),"data-test-layout-sidebar-left-wrapper":""},[a.renderSlot(i.$slots,"sidebarLeft")],2),a.createElementVNode("main",i4,[a.createVNode(a.unref(Rc)),a.createElementVNode("div",s4,[a.renderSlot(i.$slots,"default")])]),a.createElementVNode("div",l4,[a.renderSlot(i.$slots,"sidebar")])]))}});exports.AppActionBar=Rc;exports.AppAlert=t1;exports.AppAvatar=f1;exports.AppBackButton=x1;exports.AppBadge=ds;exports.AppButton=ma;exports.AppCard=Q1;exports.AppConfirm=sm;exports.AppContextMenu=tv;exports.AppDataTable=nO;exports.AppDefinitionList=kk;exports.AppDisclosure=Sk;exports.AppDisclosureButton=Tk;exports.AppDisclosurePanel=Ek;exports.AppDropdownButton=W1;exports.AppInput=Fm;exports.AppInputLabel=Ac;exports.AppLicensePlate=Gm;exports.AppLoader=ka;exports.AppMaps=rP;exports.AppMenu=kO;exports.AppModal=lm;exports.AppNavigationMenu=Zs;exports.AppPagination=ev;exports.AppSection=IO;exports.AppSelect=Bc;exports.AppTable=OP;exports.AppTimeline=SP;exports.AppTimelineItem=Xm;exports.AppTimelineItemIcon=Km;exports.AppToggle=hO;exports.AuthLayout=Q5;exports.BaseLayout=a4;exports.PlatformLayout=u4;exports.default=Ey;exports.getOrCreateListener=iv;exports.hex2rgb=Fo;exports.plugin=Ey;exports.registerEcho=sv;exports.rgb2Hex=Ew;exports.toastInjectionKey=ic;exports.useActionBar=yi;exports.useConfirm=OO;exports.useContextMenu=tl;exports.useEcho=YO;exports.useGoogleApi=Ow;exports.useLayout=vc;exports.useModal=DO;exports.useNavigation=_o;exports.useTippy=mc;exports.useToast=q5;
|
|
107
|
+
(found in ${Zo(e)})`},I5=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:o}=e.config;e.config.errorHandler=(i,s,l)=>{const u=Zo(s,!1),c=s?x5(s):"",d={componentName:u,lifecycleHook:l,trace:c};if(t.attachProps&&s&&(s.$options&&s.$options.propsData?d.propsData=s.$options.propsData:s.$props&&(d.propsData=s.$props)),setTimeout(()=>{_i(i,{captureContext:{contexts:{vue:d}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,i,s,l),t.logErrors){const p=typeof console<"u",h=`Error in ${l}: "${i&&i.toString()}"`;r?r.call(null,h,s,c):p&&!o&&dr(()=>{console.error(`[Vue warn]: ${h}${c}`)})}}},P5=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,fh="ui.vue",N5={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function O5(){return dn().getTransaction()}function D5(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}const M5=e=>{const t=(e.hooks||[]).concat(Sy).filter((r,o,i)=>i.indexOf(r)===o),n={};for(const r of t){const o=N5[r];if(!o){P5&&Q.warn(`Unknown hook: ${r}`);continue}for(const i of o)n[i]=function(){const s=this.$root===this;s&&ju()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||xs({name:"Application Render",op:`${fh}.render`,origin:"auto.ui.vue"}));const l=Zo(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(l)>-1:e.trackComponents;if(!(!s&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},i==o[0]){if(this.$root&&this.$root.$_sentryRootSpan||ju()){const d=this.$_sentrySpans[r];d&&d.end(),this.$_sentrySpans[r]=xs({name:`Vue <${l}>`,op:`${fh}.${r}`,origin:"auto.ui.vue"})}}else{const c=this.$_sentrySpans[r];if(!c)return;c.end(),D5(this,Co(),e.timeout)}}}return n},B5=Ge,A5={Vue:B5.Vue,attachProps:!0,logErrors:!0,hooks:Sy,timeout:2e3,trackComponents:!1},Cy="Vue",R5=(e={})=>({name:Cy,setupOnce(){},setup(t){$5(t,e)}}),Ty=R5;Pr(Cy,Ty);function $5(e,t){const n={...A5,...e.getOptions(),...t};if(!n.Vue&&!n.app){dr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?jc(n.app).forEach(o=>ph(o,n)):n.Vue&&ph(n.Vue,n)}const ph=(e,t)=>{const n=e;(n._instance&&n._instance.isMounted)===!0&&dr(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),I5(e,t),Ea(t)&&e.mixin(M5({...t,...t.tracingOptions}))};function L5(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:ci}],version:ci}},defaultIntegrations:[...Bg(),Ty()],...e};JR(t)}function V5(e,t={}){return(n,r=!0,o=!0)=>{r&&We&&We.location&&n({name:We.location.pathname,op:"pageload",attributes:{[kr]:"auto.pageload.vue",[Fn]:"url"}}),F5(e,{routeLabel:t.routeLabel||"name",instrumentNavigation:o,instrumentPageLoad:r},n)}}function F5(e,t,n){e.onError(r=>_i(r,{mechanism:{handled:!1}})),e.beforeEach((r,o,i)=>{const s=o.name==null&&o.matched.length===0,l={[kr]:"auto.navigation.vue"};for(const d of Object.keys(r.params))l[`params.${d}`]=r.params[d];for(const d of Object.keys(r.query)){const p=r.query[d];p&&(l[`query.${d}`]=p)}let u=r.path,c="url";if(r.name&&t.routeLabel!=="path"?(u=r.name.toString(),c="custom"):r.matched[0]&&r.matched[0].path&&(u=r.matched[0].path,c="route"),t.instrumentPageLoad&&s){const d=O5();d&&((Lt(d).data||{})[Fn]!=="custom"&&(d.updateName(u),d.setAttribute(Fn,c)),d.setAttributes({...l,[kr]:"auto.pageload.vue"}))}t.instrumentNavigation&&!s&&(l[Fn]=c,n({name:u,op:"navigation",attributes:l})),i&&i()})}const H5={title:"Er lijkt iets mis te zijn gegaan",subtitle:"Ons team is op de hoogte gesteld. Het helpt enorm als je ons vertelt wat er is gebeurd.",subtitle2:"",labelName:"Naam",labelEmail:"E-mailadres",labelComments:"Omschrijf wat er gebeurd is",labelClose:"Sluiten",labelSubmit:"Verstuur rapport",errorGeneric:"Er is iets mis gegaan",errorFormEntry:"Niet alle velden zijn correct ingevuld",successMessage:"Je feedback is verzonden. Bedankt!"};function U5(e,t,n){L5({app:e,dsn:n.dsn,environment:n.environment,release:n.release,initialScope:{tags:{platform:n.platform,language:"vue"}},beforeSend(r,o){const i=n!=null&&n.beforeSend?n.beforeSend(r,o):r;return i.exception&&n.reportDialog!==!1&&ZR({eventId:i.event_id,...H5,user:i==null?void 0:i.user,onLoad:()=>{var s,l,u;(s=document.querySelector(".sentry-error-embed-wrapper #id_name"))==null||s.setAttribute("placeholder",""),(l=document.querySelector(".sentry-error-embed-wrapper #id_email"))==null||l.setAttribute("placeholder",""),(u=document.querySelector(".sentry-error-embed-wrapper #id_comments"))==null||u.setAttribute("placeholder","")}}),i},integrations:[new HA({routingInstrumentation:V5(t)}),...(n==null?void 0:n.replay)===!0?[new gl]:[]],tracesSampleRate:parseFloat(`${(n==null?void 0:n.tracesSampleRate)??1}`),tracePropagationTargets:["localhost",".auto.test",n.url,/^\//]})}const z5={class:"flex items-center space-x-5"},j5={class:"pr-6 font-serif text-base font-bold text-zinc-900","data-test-title":""},W5=["innerHTML"],su=a.defineComponent({__name:"Toast",props:{title:{},content:{default:void 0},type:{},options:{default:void 0}},emits:["closeToast"],setup(e,{emit:t}){const n=t;return(r,o)=>{var i;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([{"cursor-pointer":(i=r.options)==null?void 0:i.onClick},"relative"])},[a.createVNode(a.unref(Ws),{class:"absolute right-0 top-0 size-4 cursor-pointer",onClick:o[0]||(o[0]=a.withModifiers(()=>n("closeToast"),["stop"]))}),a.createElementVNode("div",z5,[a.createElementVNode("div",null,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(rm)[r.type]),{class:"size-7","data-test-icon":""}))]),a.createElementVNode("div",null,[a.createElementVNode("p",j5,a.toDisplayString(r.title),1),r.content?(a.openBlock(),a.createElementBlock("p",{key:0,class:"font-serif text-base text-zinc-700","data-test-content":"",innerHTML:r.content},null,8,W5)):a.createCommentVNode("",!0)])])],2)}}});function q5(e){const t=Db(e);return{...t,success:(n,r,o)=>t.success({component:su,props:{title:n,content:r,type:"success",options:o}},o),warning:(n,r,o)=>t.warning({component:su,props:{title:n,content:r,type:"warning",options:o}},o),error:(n,r,o)=>t.error({component:su,props:{title:n,content:r,type:"error",options:o}},o)}}const Ey={install:(e,t)=>{var o;t!=null&&t.pusher&&sv(t.pusher.appKey,t.pusher.authorizer),(o=t==null?void 0:t.sentry)!=null&&o.dsn&&U5(e,t.sentry.router,t==null?void 0:t.sentry);const n={position:ei.TOP_RIGHT,transition:"Vue-Toastification__bounce",maxToasts:5,icon:!1,hideProgressBar:!0,newestOnTop:!0,...(t==null?void 0:t.toast)??{}};e.use(Mb,n);const r={defaultProps:{placement:"top"},...(t==null?void 0:t.tippy)??{}};e.use(Cw,r)}},Y5={class:"flex min-h-screen flex-col md:flex-row md:bg-secondary"},G5={class:"flex h-full grow flex-col bg-white md:h-auto md:w-1/2 md:grow-0 md:rounded-l-2xl","data-test-main-wrapper":""},K5={class:"flex grow justify-center px-10 transition-all md:items-center md:px-24"},X5={class:"mx-auto md:max-w-lg"},J5={class:"hidden w-1/2 md:block","data-test-layout-image-wrapper":""},Z5=["src"],Q5=a.defineComponent({__name:"Auth",setup(e){const{layoutImage:t}=vc();return(n,r)=>(a.openBlock(),a.createElementBlock("div",Y5,[a.createVNode(a.unref(Zs)),a.createElementVNode("div",G5,[a.renderSlot(n.$slots,"secondaryNavBar"),a.createElementVNode("main",K5,[a.createElementVNode("div",X5,[a.renderSlot(n.$slots,"default")])])]),a.createElementVNode("div",J5,[a.unref(t)?(a.openBlock(),a.createElementBlock("img",{key:0,src:a.unref(t),class:"h-screen w-full object-fill"},null,8,Z5)):a.createCommentVNode("",!0)])]))}}),e4={class:"flex min-h-screen w-screen flex-col bg-zinc-100 md:flex-row"},t4={class:"relative order-4 flex shrink-0 grow flex-col overflow-y-auto overflow-x-hidden bg-zinc-100 transition-all duration-300 md:order-3 md:-mt-0 md:h-screen md:basis-0 md:overflow-y-auto md:overflow-x-hidden"},n4={class:"w-full px-4 py-8 md:px-6 md:py-12"},r4={id:"sidebar-wrapper",class:"order-3 flex w-full max-w-full shrink-0 grow-0 flex-col overflow-x-hidden bg-zinc-100 px-4 pt-8 transition-all empty:-mr-96 empty:ml-0 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:order-4 md:max-h-screen md:w-96 md:overflow-hidden md:rounded-l-3xl md:bg-white md:p-12 xl:w-110 empty:xl:-mr-110 2xl:w-141 empty:2xl:-mr-141","data-test-layout-sidebar-wrapper":""},a4=a.defineComponent({__name:"Base",setup(e){const t=a.ref(null),n=a.ref(!0),r=new MutationObserver(o);a.onMounted(()=>{t.value&&(r.observe(t.value,{childList:!0,subtree:!0}),o())}),a.onUnmounted(()=>{r.disconnect()});function o(){const i=document.getElementById("sidebar-left-wrapper");n.value=!!(i!=null&&i.innerHTML)}return a.provide("sidebarLeftHasContent",n),(i,s)=>(a.openBlock(),a.createElementBlock("div",e4,[a.createVNode(a.unref(Zs),{class:"z-50 order-1"}),a.createElementVNode("div",{id:"sidebar-left-wrapper",ref_key:"sidebarLeft",ref:t,class:"order-2 flex shrink-0 grow-0 flex-col overflow-y-auto bg-white p-4 transition-all empty:-ml-96 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:mb-4 md:max-h-screen md:w-96 md:px-6 md:pt-8","data-test-layout-sidebar-left-wrapper":""},[a.renderSlot(i.$slots,"sidebarLeft")],512),a.createElementVNode("main",t4,[a.createVNode(a.unref(Rc)),a.createElementVNode("div",n4,[a.renderSlot(i.$slots,"default")])]),a.createElementVNode("div",r4,[a.renderSlot(i.$slots,"sidebar")])]))}}),o4={class:"flex min-h-screen w-screen flex-col bg-zinc-100 md:flex-row"},i4={class:"relative order-4 flex min-h-[calc(100vh-5rem)] shrink-0 flex-col overflow-y-auto overflow-x-hidden bg-zinc-100 transition-all duration-300 md:order-3 md:-mt-0 md:h-screen md:grow md:basis-0 md:overflow-y-auto md:overflow-x-hidden"},s4={class:"w-full px-4 py-8 md:px-8 md:py-12"},l4={id:"sidebar-wrapper",class:"order-5 flex w-full max-w-full shrink-0 grow-0 flex-col overflow-x-hidden bg-zinc-100 px-4 py-8 transition-all empty:-mr-96 empty:ml-0 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:order-4 md:max-h-screen md:w-96 md:overflow-hidden md:rounded-l-3xl md:bg-white md:px-6 md:pb-6 md:pt-12 xl:w-[580px] empty:xl:mr-[-580px]","data-test-layout-sidebar-wrapper":""},u4=a.defineComponent({__name:"Platform",setup(e){const t=a.ref(null),n=a.ref(!0),r=new MutationObserver(o);a.onMounted(()=>{t.value&&(r.observe(t.value,{childList:!0,subtree:!0}),o())}),a.onUnmounted(()=>{r.disconnect()});function o(){const i=document.getElementById("sidebar-left-wrapper");n.value=!!(i!=null&&i.innerHTML)}return a.provide("sidebarLeftHasContent",n),(i,s)=>(a.openBlock(),a.createElementBlock("div",o4,[a.createVNode(a.unref(Zs),{class:"z-50 order-1"}),a.createElementVNode("div",{id:"sidebar-left-wrapper",ref_key:"sidebarLeft",ref:t,class:a.normalizeClass([{"z-[200]":n.value},"relative order-2 flex shrink-0 grow-0 flex-col overflow-y-auto rounded-l-2xl bg-white p-4 transition-all empty:-ml-72 empty:whitespace-nowrap empty:p-0 md:sticky md:top-0 md:max-h-screen md:w-72 md:px-6 md:pt-8"]),"data-test-layout-sidebar-left-wrapper":""},[a.renderSlot(i.$slots,"sidebarLeft")],2),a.createElementVNode("main",i4,[a.createVNode(a.unref(Rc)),a.createElementVNode("div",s4,[a.renderSlot(i.$slots,"default")])]),a.createElementVNode("div",l4,[a.renderSlot(i.$slots,"sidebar")])]))}});exports.AppActionBar=Rc;exports.AppAlert=t1;exports.AppAvatar=f1;exports.AppBackButton=x1;exports.AppBadge=ds;exports.AppButton=ma;exports.AppCard=Q1;exports.AppConfirm=sm;exports.AppContextMenu=tv;exports.AppDataTable=nO;exports.AppDefinitionList=kk;exports.AppDisclosure=Sk;exports.AppDisclosureButton=Tk;exports.AppDisclosurePanel=Ek;exports.AppDropdownButton=W1;exports.AppInput=Fm;exports.AppInputLabel=Ac;exports.AppLicensePlate=Gm;exports.AppLoader=ka;exports.AppMaps=rP;exports.AppMenu=kO;exports.AppModal=lm;exports.AppNavigationMenu=Zs;exports.AppPagination=ev;exports.AppSection=IO;exports.AppSelect=Bc;exports.AppTable=OP;exports.AppTimeline=SP;exports.AppTimelineItem=Xm;exports.AppTimelineItemIcon=Km;exports.AppToggle=hO;exports.AuthLayout=Q5;exports.BaseLayout=a4;exports.PlatformLayout=u4;exports.default=Ey;exports.getOrCreateListener=iv;exports.hex2rgb=Fo;exports.plugin=Ey;exports.registerEcho=sv;exports.rgb2Hex=Ew;exports.toastInjectionKey=ic;exports.useActionBar=yi;exports.useConfirm=OO;exports.useContextMenu=tl;exports.useEcho=YO;exports.useGoogleApi=Ow;exports.useLayout=vc;exports.useModal=DO;exports.useNavigation=_o;exports.useTippy=mc;exports.useToast=q5;
|
package/dist/ui.js
CHANGED
|
@@ -34464,7 +34464,7 @@ function q6(e, t, n) {
|
|
|
34464
34464
|
});
|
|
34465
34465
|
}
|
|
34466
34466
|
const Y6 = { class: "flex items-center space-x-5" }, G6 = {
|
|
34467
|
-
class: "font-serif text-base font-bold text-zinc-900",
|
|
34467
|
+
class: "pr-6 font-serif text-base font-bold text-zinc-900",
|
|
34468
34468
|
"data-test-title": ""
|
|
34469
34469
|
}, X6 = ["innerHTML"], Gu = /* @__PURE__ */ Se({
|
|
34470
34470
|
__name: "Toast",
|