Phase 0: Fundament für Inhaus
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7197eaebf2
commit
9c0f8de791
15771 changed files with 1564103 additions and 5 deletions
33
public/.htaccess
Normal file
33
public/.htaccess
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<IfModule mod_rewrite.c>
|
||||
<IfModule mod_negotiation.c>
|
||||
Options -MultiViews -Indexes
|
||||
</IfModule>
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
# Handle Authorization Header
|
||||
RewriteCond %{HTTP:Authorization} .
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
|
||||
# Handle X-XSRF-Token Header
|
||||
RewriteCond %{HTTP:x-xsrf-token} .
|
||||
RewriteRule .* - [E=HTTP_X_XSRF_TOKEN:%{HTTP:X-XSRF-Token}]
|
||||
|
||||
# Redirect Trailing Slashes If Not A Folder...
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_URI} (.+)/$
|
||||
RewriteRule ^ %1 [L,R=301]
|
||||
|
||||
# Send Requests To Front Controller...
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.php [L]
|
||||
</IfModule>
|
||||
|
||||
# Statische Assets tragen einen Hash (Vite) bzw. eine Versionsangabe (Filament)
|
||||
# und dürfen dauerhaft im Browser gecacht werden.
|
||||
<IfModule mod_headers.c>
|
||||
<FilesMatch "\.(js|css|woff2?)$">
|
||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
1
public/build/assets/AppLayout-B-Ci_eMI.css
Normal file
1
public/build/assets/AppLayout-B-Ci_eMI.css
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/AppLayout-CyW53UC0.js
Normal file
1
public/build/assets/AppLayout-CyW53UC0.js
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/Dashboard-BHIpzvpu.js
Normal file
1
public/build/assets/Dashboard-BHIpzvpu.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{Cn as e,Hn as t,It as n,Ln as r,Qt as i,Zt as a,mn as o,nn as s,qt as c,rn as l,tn as u,zt as d}from"./theme-D-tNmEQF.js";import{E as f,T as p,d as m}from"./transitions-Cew8HcaC.js";import{c as h,l as g,t as _}from"./AppLayout-CyW53UC0.js";import{g as v,n as y,v as b}from"./mdi-DiyhbERt.js";var x={class:`mb-8`},S={class:`text-headline-large`},C={class:`text-body-large text-medium-emphasis mt-1`},w={__name:`Dashboard`,setup(w){let T=d(),E=a(()=>T.props.auth.user),D=a(()=>E.value.name.split(` `)[0]),O=a(()=>{let e=new Date().getHours();return e<11?`Guten Morgen`:e<18?`Hallo`:`Guten Abend`});return(a,d)=>(o(),u(c,null,[l(r(n),{title:`Start`}),l(_,null,{default:e(()=>[i(`div`,x,[i(`h1`,S,t(O.value)+`, `+t(D.value)+`!`,1),i(`p`,C,`Willkommen in `+t(r(T).props.branding.portal_name)+`.`,1)]),l(h,null,{default:e(()=>[l(g,{cols:`12`,md:`4`},{default:e(()=>[l(m,{class:`h-100`,rounded:`xl`,href:`/profil/bearbeiten`},{default:e(()=>[l(f,{"prepend-icon":r(y),title:`Ihr Profil`},null,8,[`prepend-icon`]),l(p,null,{default:e(()=>[...d[0]||=[s(`Profilbild, Funktion und Kontaktdaten helfen Kolleginnen und Kollegen, Sie zu finden.`,-1)]]),_:1})]),_:1})]),_:1}),l(g,{cols:`12`,md:`4`},{default:e(()=>[l(m,{class:`h-100`,rounded:`xl`,color:`secondary-container`},{default:e(()=>[l(f,{"prepend-icon":r(v),title:`Neuigkeiten`},null,8,[`prepend-icon`]),l(p,null,{default:e(()=>[...d[1]||=[s(`Hier erscheinen bald Beiträge aus Ihren Kategorien.`,-1)]]),_:1})]),_:1})]),_:1}),l(g,{cols:`12`,md:`4`},{default:e(()=>[l(m,{class:`h-100`,rounded:`xl`,color:`tertiary-container`},{default:e(()=>[l(f,{"prepend-icon":r(b),title:`Module`},null,8,[`prepend-icon`]),l(p,null,{default:e(()=>[...d[2]||=[s(`Weitere Funktionen kommen als Plugins hinzu und lassen sich einzeln aktivieren.`,-1)]]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})],64))}};export{w as default};
|
||||
1
public/build/assets/Edit-B1eYkbRl.css
Normal file
1
public/build/assets/Edit-B1eYkbRl.css
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/Edit-CTqbbfHv.js
Normal file
1
public/build/assets/Edit-CTqbbfHv.js
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/ForgotPassword-BNaD65DN.js
Normal file
1
public/build/assets/ForgotPassword-BNaD65DN.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{$t as e,Cn as t,Hn as n,It as r,Kt as i,Ln as a,Lt as o,Qt as s,Rt as c,en as l,mn as u,nn as d,qt as f,rn as p,tn as m}from"./theme-D-tNmEQF.js";import{a as h}from"./transitions-Cew8HcaC.js";import{f as g,t as _}from"./VTextField-CwpDIPQC.js";import{t as v}from"./GuestLayout-BzNvqx8m.js";import{t as y}from"./VAlert-Ujdiz_H0.js";var b={class:`text-center mt-6`},x={__name:`ForgotPassword`,props:{status:{type:String,default:null}},setup(x){let S=c({email:``});return(c,C)=>(u(),m(f,null,[p(a(r),{title:`Passwort vergessen`}),p(v,{title:`Passwort vergessen`},{default:t(()=>[C[4]||=s(`p`,{class:`text-body-medium text-medium-emphasis mb-6`},` Geben Sie Ihre E-Mail-Adresse ein. Wir senden Ihnen einen Link, mit dem Sie ein neues Passwort festlegen können. `,-1),x.status?(u(),e(y,{key:0,type:`success`,variant:`tonal`,class:`mb-6`},{default:t(()=>[d(n(x.status),1)]),_:1})):l(``,!0),p(g,{onSubmit:C[1]||=i(e=>a(S).post(`/forgot-password`),[`prevent`])},{default:t(()=>[p(_,{modelValue:a(S).email,"onUpdate:modelValue":C[0]||=e=>a(S).email=e,label:`E-Mail-Adresse`,type:`email`,autocomplete:`username`,autofocus:``,"error-messages":a(S).errors.email,class:`mb-4`},null,8,[`modelValue`,`error-messages`]),p(h,{type:`submit`,size:`large`,block:``,loading:a(S).processing},{default:t(()=>[...C[2]||=[d(`Link senden`,-1)]]),_:1},8,[`loading`]),s(`div`,b,[p(a(o),{href:`/login`,class:`text-primary text-body-medium`},{default:t(()=>[...C[3]||=[d(`Zurück zur Anmeldung`,-1)]]),_:1})])]),_:1})]),_:1})],64))}};export{x as default};
|
||||
1
public/build/assets/GuestLayout-BzNvqx8m.js
Normal file
1
public/build/assets/GuestLayout-BzNvqx8m.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{$t as e,Bn as t,Cn as n,Hn as r,Qt as i,S as a,Vn as o,_n as s,en as c,k as l,l as u,mn as d,rn as f,tn as p}from"./theme-D-tNmEQF.js";import{G as m,W as h,X as g,Y as _,Z as v,d as y,l as b,ot as x,rt as S}from"./transitions-Cew8HcaC.js";var C=l({fluid:{type:Boolean,default:!1},...x(),...h(),..._()},`VContainer`),w=a()({name:`VContainer`,props:C(),setup(e,{slots:n}){let{rtlClasses:r}=u(),{dimensionStyles:i}=m(e);return S(()=>f(e.tag,{class:t([`v-container`,{"v-container--fluid":e.fluid},r.value,e.class]),style:o([i.value,e.style])},n)),{}}}),T={class:`w-100 mx-auto`,style:{"max-width":`440px`}},E={class:`d-flex justify-center mb-8`},D={key:0,class:`text-headline-small mb-6`},O={__name:`GuestLayout`,props:{title:{type:String,default:``}},setup(t){return(a,o)=>(d(),e(g,null,{default:n(()=>[f(b,{class:`bg-surface-container`},{default:n(()=>[f(w,{class:`fill-height d-flex align-center justify-center`},{default:n(()=>[i(`div`,T,[i(`div`,E,[f(v,{height:48})]),f(y,{rounded:`xl`,color:`surface`,class:`pa-4 pa-sm-8`},{default:n(()=>[t.title?(d(),p(`h1`,D,r(t.title),1)):c(``,!0),s(a.$slots,`default`)]),_:3})])]),_:3})]),_:3})]),_:3}))}};export{O as t};
|
||||
1
public/build/assets/GuestLayout-ku9EbwM-.css
Normal file
1
public/build/assets/GuestLayout-ku9EbwM-.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
@layer vuetify-components{.v-container{width:100%;margin-left:auto;margin-right:auto;padding:16px}@media (width>=840px){.v-container{max-width:700px}}@media (width>=1145px){.v-container{max-width:1000px}}@media (width>=1545px){.v-container{max-width:1400px}}@media (width>=2138px){.v-container{max-width:2000px}}.v-container--fluid{max-width:100%}}
|
||||
1
public/build/assets/Login-CbvHqsuP.css
Normal file
1
public/build/assets/Login-CbvHqsuP.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
@layer vuetify-components{.v-checkbox.v-input{flex:0 auto}.v-checkbox .v-selection-control{min-height:var(--v-input-control-height)}.v-selection-control{contain:layout;-webkit-user-select:none;user-select:none;flex:1 0;grid-area:control;align-items:center;display:flex;position:relative}.v-selection-control .v-label{white-space:normal;word-break:break-word;opacity:1;height:100%}.v-selection-control--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-label{color:rgb(var(--v-theme-error))}.v-selection-control--inline{flex:none;min-width:0;max-width:100%;display:inline-flex}.v-selection-control--inline .v-label{width:auto}.v-selection-control--density-default{--v-selection-control-size:40px}.v-selection-control--density-comfortable{--v-selection-control-size:36px}.v-selection-control--density-compact{--v-selection-control-size:28px}.v-selection-control__wrapper{width:var(--v-selection-control-size);height:var(--v-selection-control-size);flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.v-selection-control__input{width:var(--v-selection-control-size);height:var(--v-selection-control-size);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex;position:relative}.v-selection-control__input input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}.v-selection-control__input:before{opacity:0;pointer-events:none;content:"";background-color:currentColor;border-radius:100%;width:100%;height:100%;position:absolute;top:0;left:0}.v-selection-control__input:hover:before{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-selection-control__input>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-selection-control--disabled .v-selection-control__input>.v-icon,.v-selection-control--dirty .v-selection-control__input>.v-icon,.v-selection-control--indeterminate .v-selection-control__input>.v-icon,.v-selection-control--error .v-selection-control__input>.v-icon{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input>.v-icon{color:rgb(var(--v-theme-error))}.v-selection-control--focus-visible .v-selection-control__input:before{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}.v-selection-control-group{flex-direction:column;grid-area:control;display:flex}.v-selection-control-group--inline{flex-flow:wrap}}
|
||||
1
public/build/assets/Login-Dp72_P-r.js
Normal file
1
public/build/assets/Login-Dp72_P-r.js
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/ResetPassword-DynCq2zL.js
Normal file
1
public/build/assets/ResetPassword-DynCq2zL.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{Cn as e,It as t,Kt as n,Ln as r,Rt as i,mn as a,nn as o,qt as s,rn as c,tn as l}from"./theme-D-tNmEQF.js";import{a as u}from"./transitions-Cew8HcaC.js";import{f as d,t as f}from"./VTextField-CwpDIPQC.js";import{t as p}from"./GuestLayout-BzNvqx8m.js";var m={__name:`ResetPassword`,props:{email:{type:String,default:``},token:{type:String,required:!0}},setup(m){let h=m,g=i({token:h.token,email:h.email,password:``,password_confirmation:``});function _(){g.post(`/reset-password`,{onFinish:()=>g.reset(`password`,`password_confirmation`)})}return(i,m)=>(a(),l(s,null,[c(r(t),{title:`Neues Passwort`}),c(p,{title:`Neues Passwort festlegen`},{default:e(()=>[c(d,{onSubmit:n(_,[`prevent`])},{default:e(()=>[c(f,{modelValue:r(g).email,"onUpdate:modelValue":m[0]||=e=>r(g).email=e,label:`E-Mail-Adresse`,type:`email`,autocomplete:`username`,"error-messages":r(g).errors.email,class:`mb-2`},null,8,[`modelValue`,`error-messages`]),c(f,{modelValue:r(g).password,"onUpdate:modelValue":m[1]||=e=>r(g).password=e,label:`Neues Passwort`,type:`password`,autocomplete:`new-password`,autofocus:``,"error-messages":r(g).errors.password,class:`mb-2`},null,8,[`modelValue`,`error-messages`]),c(f,{modelValue:r(g).password_confirmation,"onUpdate:modelValue":m[2]||=e=>r(g).password_confirmation=e,label:`Passwort wiederholen`,type:`password`,autocomplete:`new-password`,class:`mb-4`},null,8,[`modelValue`]),c(u,{type:`submit`,size:`large`,block:``,loading:r(g).processing},{default:e(()=>[...m[3]||=[o(`Passwort speichern`,-1)]]),_:1},8,[`loading`])]),_:1})]),_:1})],64))}};export{m as default};
|
||||
1
public/build/assets/Show-CgP49K5f.js
Normal file
1
public/build/assets/Show-CgP49K5f.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{$t as e,Cn as t,Hn as n,It as r,Ln as i,Lt as a,Qt as o,Zt as s,en as c,gn as l,mn as u,nn as d,qt as f,rn as p,tn as m}from"./theme-D-tNmEQF.js";import{T as h,a as g,d as _}from"./transitions-Cew8HcaC.js";import{a as v,c as y,l as b,o as x,s as S,t as C}from"./AppLayout-CyW53UC0.js";import{_ as w,c as T,i as E,n as D,p as O,s as k}from"./mdi-DiyhbERt.js";var A={class:`d-flex flex-column flex-sm-row align-center ga-6 pa-6 pa-md-8`},j={class:`flex-grow-1 text-center text-sm-start`},M={class:`text-headline-medium`},N={key:0,class:`text-title-medium text-medium-emphasis mt-1`},P={__name:`Show`,props:{person:{type:Object,required:!0},isOwnProfile:{type:Boolean,default:!1}},setup(P){let F=P,I=s(()=>[{icon:T,label:`E-Mail`,value:F.person.email,href:`mailto:${F.person.email}`},{icon:w,label:`Telefon`,value:F.person.phone,href:F.person.phone&&`tel:${F.person.phone}`},{icon:E,label:`Mobil`,value:F.person.mobile,href:F.person.mobile&&`tel:${F.person.mobile}`},{icon:k,label:`Abteilung`,value:F.person.department},{icon:O,label:`Standort`,value:F.person.location}].filter(e=>e.value));return(s,w)=>(u(),m(f,null,[p(i(r),{title:P.person.name},null,8,[`title`]),p(C,null,{default:t(()=>[p(_,{rounded:`xl`,class:`mb-6`},{default:t(()=>[o(`div`,A,[p(S,{user:P.person,size:128},null,8,[`user`]),o(`div`,j,[o(`h1`,M,n(P.person.name),1),P.person.job_title?(u(),m(`div`,N,n(P.person.job_title),1)):c(``,!0)]),P.isOwnProfile?(u(),e(i(a),{key:0,href:`/profil/bearbeiten`},{default:t(()=>[p(g,{variant:`tonal`,"prepend-icon":i(D)},{default:t(()=>[...w[0]||=[d(`Profil bearbeiten`,-1)]]),_:1},8,[`prepend-icon`])]),_:1})):c(``,!0)])]),_:1}),p(y,null,{default:t(()=>[p(b,{cols:`12`,md:`5`},{default:t(()=>[p(_,{rounded:`xl`,title:`Kontakt`,class:`h-100`},{default:t(()=>[p(v,{"bg-color":`transparent`},{default:t(()=>[(u(!0),m(f,null,l(I.value,t=>(u(),e(x,{key:t.label,"prepend-icon":t.icon,title:t.value,subtitle:t.label,href:t.href||void 0},null,8,[`prepend-icon`,`title`,`subtitle`,`href`]))),128))]),_:1})]),_:1})]),_:1}),p(b,{cols:`12`,md:`7`},{default:t(()=>[p(_,{rounded:`xl`,title:`Über mich`,class:`h-100`},{default:t(()=>[P.person.about?(u(),e(h,{key:0,class:`text-body-large`,style:{"white-space":`pre-line`}},{default:t(()=>[d(n(P.person.about),1)]),_:1})):(u(),e(h,{key:1,class:`text-medium-emphasis`},{default:t(()=>[...w[1]||=[d(`Noch keine Angaben.`,-1)]]),_:1}))]),_:1})]),_:1})]),_:1})]),_:1})],64))}};export{P as default};
|
||||
1
public/build/assets/VAlert-DVXMoK42.css
Normal file
1
public/build/assets/VAlert-DVXMoK42.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
@layer vuetify-components{.v-alert{--v-border-color:currentColor;flex:1;grid-template-columns:max-content auto max-content max-content;grid-template-areas:"prepend content append close"".content. .";padding:16px;display:grid;position:relative;overflow:hidden}.v-alert--absolute{position:absolute}.v-alert--fixed{position:fixed}.v-alert--sticky{position:sticky}.v-alert{border-radius:4px}.v-alert--variant-plain,.v-alert--variant-outlined,.v-alert--variant-text,.v-alert--variant-tonal{color:inherit;background:0 0}.v-alert--variant-plain{opacity:.62}.v-alert--variant-plain:focus,.v-alert--variant-plain:hover{opacity:1}.v-alert--variant-plain .v-alert__overlay{display:none}.v-alert--variant-elevated,.v-alert--variant-flat{background:rgb(var(--v-theme-surface-light));color:color-mix(in srgb, rgb(var(--v-theme-on-surface-light)) calc(var(--v-high-emphasis-opacity) * 100%), transparent)}.v-alert--variant-elevated{box-shadow:0px 1px 2px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity,.3)), 0px 1px 3px 1px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity,.15));--v-elevation-overlay:color-mix(in srgb, var(--v-elevation-overlay-color) 2%, transparent)}.v-alert--variant-flat{box-shadow:0px 0px 0px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity,.3)), 0px 0px 0px 0px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity,.15));--v-elevation-overlay:color-mix(in srgb, var(--v-elevation-overlay-color) 0%, transparent)}.v-alert--variant-outlined{border:thin solid}.v-alert--variant-text .v-alert__overlay{background:currentColor}.v-alert--variant-tonal .v-alert__underlay{opacity:var(--v-activated-opacity);pointer-events:none;background:currentColor;inset:0}.v-alert .v-alert__underlay{position:absolute}.v-alert--prominent{grid-template-areas:"prepend content append close""prepend content. ."}.v-alert.v-alert--border.v-alert--border-start{padding-inline-start:24px}.v-alert.v-alert--border.v-alert--border-end{padding-inline-end:24px}.v-alert--variant-plain{transition:opacity .2s cubic-bezier(.4,0,.2,1)}.v-alert--density-default{padding-top:16px;padding-bottom:16px}.v-alert--density-default.v-alert--border-top{padding-top:24px}.v-alert--density-default.v-alert--border-bottom{padding-bottom:24px}.v-alert--density-comfortable{padding-top:12px;padding-bottom:12px}.v-alert--density-comfortable.v-alert--border-top{padding-top:20px}.v-alert--density-comfortable.v-alert--border-bottom{padding-bottom:20px}.v-alert--density-compact{padding-top:8px;padding-bottom:8px}.v-alert--density-compact.v-alert--border-top{padding-top:16px}.v-alert--density-compact.v-alert--border-bottom{padding-bottom:16px}.v-alert:not(:has(.v-alert-title)) .v-alert__content{padding-block:.125rem}.v-alert__border{border-radius:inherit;opacity:.38;pointer-events:none;border:0 solid;width:100%;position:absolute;inset:0}.v-alert__border--border{box-shadow:none;border-width:8px}.v-alert--border-start .v-alert__border{border-inline-start-width:8px}.v-alert--border-end .v-alert__border{border-inline-end-width:8px}.v-alert--border-top .v-alert__border{border-top-width:8px}.v-alert--border-bottom .v-alert__border{border-bottom-width:8px}.v-alert__close{flex:0 auto;grid-area:close}.v-alert__close>.v-btn{margin-block:calc(-1 * (var(--v-btn-height) + 12px - 1.75rem) / 2)}.v-alert__content{grid-area:content;align-self:center;overflow:hidden}.v-alert__content>:first-child{margin-top:0}.v-alert__content>:last-child{margin-bottom:0}.v-alert__append,.v-alert__close{margin-inline-start:16px}.v-alert__append{grid-area:append;align-self:flex-start}.v-alert__append+.v-alert__close{margin-inline-start:16px}.v-alert__prepend{grid-area:prepend;align-self:flex-start;align-items:center;min-height:1.75rem;margin-inline-end:16px;display:flex}.v-alert__prepend>.v-icon{width:1.75rem;height:1.75rem;font-size:1.75rem}.v-alert--prominent .v-alert__prepend{align-self:center}.v-alert__underlay{grid-area:none;position:absolute}.v-alert--border-start .v-alert__underlay{border-top-left-radius:0;border-bottom-left-radius:0}.v-alert--border-end .v-alert__underlay{border-top-right-radius:0;border-bottom-right-radius:0}.v-alert--border-top .v-alert__underlay{border-top-left-radius:0;border-top-right-radius:0}.v-alert--border-bottom .v-alert__underlay{border-bottom-right-radius:0;border-bottom-left-radius:0}.v-alert-title{-webkit-hyphens:auto;hyphens:auto;letter-spacing:normal;overflow-wrap:normal;text-transform:none;word-break:normal;word-wrap:break-word;align-self:center;align-items:center;font-size:1.5rem;font-weight:400;line-height:1.75rem;display:flex}@media (forced-colors:active){.v-alert:not(.v-alert--variant-text,.v-alert--variant-plain){border-style:solid}.v-alert--variant-outlined,.v-alert--variant-tonal{border-width:medium}.v-alert--variant-elevated,.v-alert--variant-flat{border-width:thick}}}
|
||||
1
public/build/assets/VAlert-Ujdiz_H0.js
Normal file
1
public/build/assets/VAlert-Ujdiz_H0.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
import{Bn as e,Pn as t,Qt as n,S as r,St as i,Vn as a,Zt as o,c as s,i as c,k as l,on as u,p as d,r as f,rn as p,u as m}from"./theme-D-tNmEQF.js";import{A as h,B as g,C as _,G as v,H as y,J as b,K as x,L as S,M as C,O as w,U as T,V as E,W as D,Y as O,_ as k,a as A,at as j,j as M,k as N,ot as P,v as F,w as I}from"./transitions-Cew8HcaC.js";var L=j(`v-alert-title`),R=l({iconSize:[Number,String],iconSizes:{type:Array,default:()=>[[`x-small`,10],[`small`,16],[`default`,24],[`large`,28],[`x-large`,32]]}},`iconSize`);function z(e,t){return{iconSize:o(()=>{let n=new Map(e.iconSizes),r=e.iconSize??t()??`default`;return n.has(r)?n.get(r):r})}}var B=[`success`,`info`,`warning`,`error`],V=l({border:{type:[Boolean,String],validator:e=>i(e)||[`top`,`end`,`bottom`,`start`].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:d,default:`$close`},closeLabel:{type:String,default:`$vuetify.close`},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>B.includes(e)},...P(),...M(),...D(),..._(),...R(),...y(),...k(),...g(),...O(),...f(),...N({variant:`flat`})},`VAlert`),H=r()({name:`VAlert`,props:V(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(r,{emit:i,slots:o}){let l=m(r,`modelValue`),d=t(()=>{if(r.icon!==!1)return r.type?r.icon??`$${r.type}`:r.icon}),{iconSize:f}=z(r,()=>r.prominent?44:void 0),{themeClasses:g}=c(r),{colorClasses:_,colorStyles:y,variantClasses:D}=h(()=>({color:r.color??r.type,variant:r.variant})),{densityClasses:O}=C(r),{dimensionStyles:k}=v(r),{elevationClasses:j}=I(r),{locationStyles:M}=T(r),{positionClasses:N}=F(r),{roundedClasses:P,roundedStyles:R}=E(r),{textColorClasses:B,textColorStyles:V}=b(()=>r.borderColor),{t:H}=s(),U=t(()=>({"aria-label":H(r.closeLabel),onClick(e){l.value=!1,i(`click:close`,e)}}));return()=>{let t=!!(o.prepend||d.value),i=!!(o.title||r.title),s=!!(o.close||r.closable),c={density:r.density,icon:d.value,size:r.iconSize||r.prominent?f.value:void 0};return l.value&&p(r.tag,{class:e([`v-alert`,r.border&&{"v-alert--border":!!r.border,[`v-alert--border-${r.border===!0?`start`:r.border}`]:!0},{"v-alert--prominent":r.prominent},g.value,_.value,O.value,j.value,N.value,P.value,D.value,r.class]),style:a([y.value,k.value,M.value,R.value,r.style]),role:`alert`},{default:()=>[w(!1,`v-alert`),r.border&&n(`div`,{key:`border`,class:e([`v-alert__border`,B.value]),style:a(V.value)},null),t&&n(`div`,{key:`prepend`,class:`v-alert__prepend`},[o.prepend?p(S,{key:`prepend-defaults`,disabled:!d.value,defaults:{VIcon:{...c}}},o.prepend):p(x,u({key:`prepend-icon`},c),null)]),n(`div`,{class:`v-alert__content`},[i&&p(L,{key:`title`},{default:()=>[o.title?.()??r.title]}),o.text?.()??r.text,o.default?.()]),o.append&&n(`div`,{key:`append`,class:`v-alert__append`},[o.append()]),s&&n(`div`,{key:`close`,class:`v-alert__close`},[o.close?p(S,{key:`close-defaults`,defaults:{VBtn:{icon:r.closeIcon,size:`x-small`,variant:`text`}}},{default:()=>[o.close?.({props:U.value})]}):p(A,u({key:`close-btn`,icon:r.closeIcon,size:`x-small`,variant:`text`},U.value),null)])]})}}});export{H as t};
|
||||
1
public/build/assets/VTextField-CwpDIPQC.js
Normal file
1
public/build/assets/VTextField-CwpDIPQC.js
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/VTextField-DVt19ZIG.css
Normal file
1
public/build/assets/VTextField-DVt19ZIG.css
Normal file
File diff suppressed because one or more lines are too long
6
public/build/assets/app-3XWRJL-R.js
Normal file
6
public/build/assets/app-3XWRJL-R.js
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/app-QaRPCFuX.css
Normal file
1
public/build/assets/app-QaRPCFuX.css
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/mdi-DiyhbERt.js
Normal file
1
public/build/assets/mdi-DiyhbERt.js
Normal file
File diff suppressed because one or more lines are too long
101
public/build/assets/theme-D-tNmEQF.js
Normal file
101
public/build/assets/theme-D-tNmEQF.js
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/transitions-B9S3qshp.css
Normal file
1
public/build/assets/transitions-B9S3qshp.css
Normal file
File diff suppressed because one or more lines are too long
1
public/build/assets/transitions-Cew8HcaC.js
Normal file
1
public/build/assets/transitions-Cew8HcaC.js
Normal file
File diff suppressed because one or more lines are too long
189
public/build/manifest.json
Normal file
189
public/build/manifest.json
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
{
|
||||
"_AppLayout-B-Ci_eMI.css": {
|
||||
"file": "assets/AppLayout-B-Ci_eMI.css",
|
||||
"src": "_AppLayout-B-Ci_eMI.css"
|
||||
},
|
||||
"_AppLayout-CyW53UC0.js": {
|
||||
"file": "assets/AppLayout-CyW53UC0.js",
|
||||
"name": "AppLayout",
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"resources/js/app.js",
|
||||
"_mdi-DiyhbERt.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/AppLayout-B-Ci_eMI.css"
|
||||
]
|
||||
},
|
||||
"_GuestLayout-BzNvqx8m.js": {
|
||||
"file": "assets/GuestLayout-BzNvqx8m.js",
|
||||
"name": "GuestLayout",
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/GuestLayout-ku9EbwM-.css"
|
||||
]
|
||||
},
|
||||
"_GuestLayout-ku9EbwM-.css": {
|
||||
"file": "assets/GuestLayout-ku9EbwM-.css",
|
||||
"src": "_GuestLayout-ku9EbwM-.css"
|
||||
},
|
||||
"_VAlert-DVXMoK42.css": {
|
||||
"file": "assets/VAlert-DVXMoK42.css",
|
||||
"src": "_VAlert-DVXMoK42.css"
|
||||
},
|
||||
"_VAlert-Ujdiz_H0.js": {
|
||||
"file": "assets/VAlert-Ujdiz_H0.js",
|
||||
"name": "VAlert",
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/VAlert-DVXMoK42.css"
|
||||
]
|
||||
},
|
||||
"_VTextField-CwpDIPQC.js": {
|
||||
"file": "assets/VTextField-CwpDIPQC.js",
|
||||
"name": "VTextField",
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/VTextField-DVt19ZIG.css"
|
||||
]
|
||||
},
|
||||
"_VTextField-DVt19ZIG.css": {
|
||||
"file": "assets/VTextField-DVt19ZIG.css",
|
||||
"src": "_VTextField-DVt19ZIG.css"
|
||||
},
|
||||
"_mdi-DiyhbERt.js": {
|
||||
"file": "assets/mdi-DiyhbERt.js",
|
||||
"name": "mdi"
|
||||
},
|
||||
"_theme-D-tNmEQF.js": {
|
||||
"file": "assets/theme-D-tNmEQF.js",
|
||||
"name": "theme"
|
||||
},
|
||||
"_transitions-B9S3qshp.css": {
|
||||
"file": "assets/transitions-B9S3qshp.css",
|
||||
"src": "_transitions-B9S3qshp.css"
|
||||
},
|
||||
"_transitions-Cew8HcaC.js": {
|
||||
"file": "assets/transitions-Cew8HcaC.js",
|
||||
"name": "transitions",
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/transitions-B9S3qshp.css"
|
||||
]
|
||||
},
|
||||
"resources/js/app.js": {
|
||||
"file": "assets/app-3XWRJL-R.js",
|
||||
"name": "app",
|
||||
"src": "resources/js/app.js",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"resources/js/pages/Auth/ForgotPassword.vue",
|
||||
"resources/js/pages/Auth/Login.vue",
|
||||
"resources/js/pages/Auth/ResetPassword.vue",
|
||||
"resources/js/pages/Dashboard.vue",
|
||||
"resources/js/pages/Profile/Edit.vue",
|
||||
"resources/js/pages/Profile/Show.vue"
|
||||
],
|
||||
"css": [
|
||||
"assets/app-QaRPCFuX.css"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Auth/ForgotPassword.vue": {
|
||||
"file": "assets/ForgotPassword-BNaD65DN.js",
|
||||
"name": "ForgotPassword",
|
||||
"src": "resources/js/pages/Auth/ForgotPassword.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"_VTextField-CwpDIPQC.js",
|
||||
"_GuestLayout-BzNvqx8m.js",
|
||||
"_VAlert-Ujdiz_H0.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Auth/Login.vue": {
|
||||
"file": "assets/Login-Dp72_P-r.js",
|
||||
"name": "Login",
|
||||
"src": "resources/js/pages/Auth/Login.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"_VTextField-CwpDIPQC.js",
|
||||
"_GuestLayout-BzNvqx8m.js",
|
||||
"_VAlert-Ujdiz_H0.js",
|
||||
"_mdi-DiyhbERt.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/Login-CbvHqsuP.css"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Auth/ResetPassword.vue": {
|
||||
"file": "assets/ResetPassword-DynCq2zL.js",
|
||||
"name": "ResetPassword",
|
||||
"src": "resources/js/pages/Auth/ResetPassword.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"_VTextField-CwpDIPQC.js",
|
||||
"_GuestLayout-BzNvqx8m.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Dashboard.vue": {
|
||||
"file": "assets/Dashboard-BHIpzvpu.js",
|
||||
"name": "Dashboard",
|
||||
"src": "resources/js/pages/Dashboard.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"_AppLayout-CyW53UC0.js",
|
||||
"_mdi-DiyhbERt.js"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Profile/Edit.vue": {
|
||||
"file": "assets/Edit-CTqbbfHv.js",
|
||||
"name": "Edit",
|
||||
"src": "resources/js/pages/Profile/Edit.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"_AppLayout-CyW53UC0.js",
|
||||
"_VTextField-CwpDIPQC.js",
|
||||
"resources/js/app.js",
|
||||
"_mdi-DiyhbERt.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/Edit-B1eYkbRl.css"
|
||||
]
|
||||
},
|
||||
"resources/js/pages/Profile/Show.vue": {
|
||||
"file": "assets/Show-CgP49K5f.js",
|
||||
"name": "Show",
|
||||
"src": "resources/js/pages/Profile/Show.vue",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_theme-D-tNmEQF.js",
|
||||
"_transitions-Cew8HcaC.js",
|
||||
"_AppLayout-CyW53UC0.js",
|
||||
"_mdi-DiyhbERt.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
2
public/css/filament/filament/app.css
Executable file
2
public/css/filament/filament/app.css
Executable file
File diff suppressed because one or more lines are too long
0
public/favicon.ico
Normal file
0
public/favicon.ico
Normal file
1
public/fonts/filament/filament/inter/index.css
Executable file
1
public/fonts/filament/filament/inter/index.css
Executable file
|
|
@ -0,0 +1 @@
|
|||
@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-wght-normal-DR6K5BQD.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-ext-wght-normal-A2J6H3EX.woff2") format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-wght-normal-ZABHMKQG.woff2") format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-vietnamese-wght-normal-VWEHJHBA.woff2") format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-ext-wght-normal-ZIT2UBIY.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-wght-normal-DIHYUR35.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|
||||
Binary file not shown.
BIN
public/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2
Executable file
BIN
public/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2
Executable file
Binary file not shown.
BIN
public/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2
Executable file
BIN
public/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2
Executable file
Binary file not shown.
BIN
public/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2
Executable file
BIN
public/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2
Executable file
Binary file not shown.
BIN
public/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2
Executable file
BIN
public/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2
Executable file
Binary file not shown.
BIN
public/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2
Executable file
BIN
public/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2
Executable file
Binary file not shown.
BIN
public/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2
Executable file
BIN
public/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2
Executable file
Binary file not shown.
20
public/index.php
Normal file
20
public/index.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
define('LARAVEL_START', microtime(true));
|
||||
|
||||
// Determine if the application is in maintenance mode...
|
||||
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
||||
require $maintenance;
|
||||
}
|
||||
|
||||
// Register the Composer autoloader...
|
||||
require __DIR__.'/../bootstrap/autoload.php';
|
||||
|
||||
// Bootstrap Laravel and handle the request...
|
||||
/** @var Application $app */
|
||||
$app = require_once __DIR__.'/../bootstrap/app.php';
|
||||
|
||||
$app->handleRequest(Request::capture());
|
||||
1
public/js/filament/actions/actions.js
Executable file
1
public/js/filament/actions/actions.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
(()=>{var o=({livewireId:s})=>({actionNestingIndex:null,shouldOverlayParentActions:!1,closedActionNestingIndexes:[],focusTargetsByNestingIndex:{},boundSyncActionModals:null,boundOnModalClosed:null,init(){this.boundSyncActionModals=e=>{e.detail.id===s&&this.syncActionModals(e.detail.newActionNestingIndex,e.detail.shouldOverlayParentActions??!1)},this.boundOnModalClosed=e=>{let t=this.getActionNestingIndexFromModalId(e.detail.id);t!==null&&((this.shouldOverlayParentActions||t===0)&&this.restorePreviouslyFocusedElement(t-1),this.closedActionNestingIndexes.push(t))},window.addEventListener("sync-action-modals",this.boundSyncActionModals),window.addEventListener("modal-closed",this.boundOnModalClosed)},destroy(){this.boundSyncActionModals&&(window.removeEventListener("sync-action-modals",this.boundSyncActionModals),this.boundSyncActionModals=null),this.boundOnModalClosed&&(window.removeEventListener("modal-closed",this.boundOnModalClosed),this.boundOnModalClosed=null)},syncActionModals(e,t=!1){if(this.actionNestingIndex===e){this.actionNestingIndex!==null&&this.$nextTick(()=>this.openModal());return}let n=this.actionNestingIndex!==null&&e!==null&&e>this.actionNestingIndex,i=this.actionNestingIndex!==null&&e!==null&&e<this.actionNestingIndex,d=this.actionNestingIndex===null&&e!==null;if((n||d)&&this.rememberPreviouslyFocusedElement(),this.actionNestingIndex!==null&&!(t&&n)&&this.closeModal(),this.actionNestingIndex=e,this.actionNestingIndex===null){this.restorePreviouslyFocusedElement(-1),this.closedActionNestingIndexes=[],this.focusTargetsByNestingIndex={},this.shouldOverlayParentActions=!1;return}if(this.shouldOverlayParentActions=t,this.closedActionNestingIndexes=this.closedActionNestingIndexes.filter(l=>l<=this.actionNestingIndex),!this.closedActionNestingIndexes.includes(this.actionNestingIndex)){if(!this.$el.querySelector(`#${this.generateModalId(e)}`)){this.$nextTick(()=>{this.openModal(),i&&this.restorePreviouslyFocusedElement()});return}this.openModal(),i&&this.restorePreviouslyFocusedElement()}},rememberPreviouslyFocusedElement(){let e=this.$focus.focused();if(!e)return;if(this.actionNestingIndex===null){this.focusTargetsByNestingIndex[-1]=e;return}this.$el.querySelector(`#${this.generateModalId(this.actionNestingIndex)}`)?.contains(e)&&(this.focusTargetsByNestingIndex[this.actionNestingIndex]=e)},restorePreviouslyFocusedElement(e=this.actionNestingIndex){let t=this.focusTargetsByNestingIndex[e];if(t){for(let n in this.focusTargetsByNestingIndex)Number(n)>=e&&delete this.focusTargetsByNestingIndex[n];requestAnimationFrame(()=>requestAnimationFrame(()=>this.$nextTick(()=>{t.focus({preventScroll:!0})})))}},generateModalId(e){return`fi-${s}-action-`+e},getActionNestingIndexFromModalId(e){let t=`fi-${s}-action-`;if(!e?.startsWith(t))return null;let n=Number(e.slice(t.length));return Number.isInteger(n)?n:null},openModal(){let e=this.generateModalId(this.actionNestingIndex);document.dispatchEvent(new CustomEvent("open-modal",{bubbles:!0,composed:!0,detail:{id:e}}))},closeModal(){let e=this.generateModalId(this.actionNestingIndex);document.dispatchEvent(new CustomEvent("close-modal-quietly",{bubbles:!0,composed:!0,detail:{id:e}}))}});document.addEventListener("alpine:init",()=>{window.Alpine.data("filamentActionModals",o)});})();
|
||||
1
public/js/filament/filament/app.js
Executable file
1
public/js/filament/filament/app.js
Executable file
File diff suppressed because one or more lines are too long
13
public/js/filament/filament/echo.js
Executable file
13
public/js/filament/filament/echo.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/forms/components/checkbox-list.js
Executable file
1
public/js/filament/forms/components/checkbox-list.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function c({livewireId:s}){return{areAllCheckboxesChecked:!1,checkboxListOptions:[],search:"",unsubscribeLivewireHook:null,visibleCheckboxListOptions:[],init(){this.checkboxListOptions=Array.from(this.$root.querySelectorAll(".fi-fo-checkbox-list-option")),this.updateVisibleCheckboxListOptions(),this.$nextTick(()=>{this.checkIfAllCheckboxesAreChecked()}),this.unsubscribeLivewireHook=Livewire.interceptMessage(({message:e,onSuccess:t})=>{t(()=>{this.$nextTick(()=>{e.component.id===s&&(this.checkboxListOptions=Array.from(this.$root.querySelectorAll(".fi-fo-checkbox-list-option")),this.updateVisibleCheckboxListOptions(),this.checkIfAllCheckboxesAreChecked())})})}),this.$watch("search",()=>{this.updateVisibleCheckboxListOptions(),this.checkIfAllCheckboxesAreChecked()})},checkIfAllCheckboxesAreChecked(){this.areAllCheckboxesChecked=this.visibleCheckboxListOptions.length===this.visibleCheckboxListOptions.filter(e=>e.querySelector("input[type=checkbox]:checked, input[type=checkbox]:disabled")).length},toggleAllCheckboxes(){this.checkIfAllCheckboxesAreChecked();let e=!this.areAllCheckboxesChecked;this.visibleCheckboxListOptions.forEach(t=>{let i=t.querySelector("input[type=checkbox]");i.disabled||i.checked!==e&&(i.checked=e,i.dispatchEvent(new Event("change")))}),this.areAllCheckboxesChecked=e},updateVisibleCheckboxListOptions(){this.visibleCheckboxListOptions=this.checkboxListOptions.filter(e=>["",null,void 0].includes(this.search)||e.querySelector(".fi-fo-checkbox-list-option-label")?.innerText.toLowerCase().includes(this.search.toLowerCase())?!0:e.querySelector(".fi-fo-checkbox-list-option-description")?.innerText.toLowerCase().includes(this.search.toLowerCase()))},destroy(){this.unsubscribeLivewireHook?.()}}}export{c as default};
|
||||
38
public/js/filament/forms/components/code-editor.js
Executable file
38
public/js/filament/forms/components/code-editor.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/forms/components/color-picker.js
Executable file
1
public/js/filament/forms/components/color-picker.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/forms/components/date-time-picker.js
Executable file
1
public/js/filament/forms/components/date-time-picker.js
Executable file
File diff suppressed because one or more lines are too long
116
public/js/filament/forms/components/file-upload.js
Executable file
116
public/js/filament/forms/components/file-upload.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/forms/components/key-value.js
Executable file
1
public/js/filament/forms/components/key-value.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function a({state:r}){return{state:r,rows:[],init(){this.updateRows(),this.rows.length<=0?this.rows.push({key:"",value:""}):this.updateState(),this.$watch("state",(e,t)=>{if(!Array.isArray(e))return;let s=i=>i===null?0:Array.isArray(i)?i.length:typeof i!="object"?0:Object.keys(i).length;s(e)===0&&s(t)===0||this.updateRows()})},addRow(){this.rows.push({key:"",value:""}),this.updateState()},deleteRow(e){this.rows.splice(e,1),this.rows.length<=0&&this.addRow(),this.updateState()},reorderRows(e){let t=Alpine.raw(this.rows);this.rows=[];let s=t.splice(e.oldIndex,1)[0];t.splice(e.newIndex,0,s),this.$nextTick(()=>{this.rows=t,this.updateState()})},updateRows(){let t=Alpine.raw(this.state).map(({key:s,value:i})=>({key:s,value:i}));this.rows.forEach(s=>{(s.key===""||s.key===null)&&t.push({key:"",value:s.value})}),this.rows=t},updateState(){let e=[];this.rows.forEach(t=>{t.key===""||t.key===null||e.push({key:t.key,value:t.value})}),JSON.stringify(this.state)!==JSON.stringify(e)&&(this.state=e)}}}export{a as default};
|
||||
51
public/js/filament/forms/components/markdown-editor.js
Executable file
51
public/js/filament/forms/components/markdown-editor.js
Executable file
File diff suppressed because one or more lines are too long
161
public/js/filament/forms/components/rich-editor.js
Executable file
161
public/js/filament/forms/components/rich-editor.js
Executable file
File diff suppressed because one or more lines are too long
11
public/js/filament/forms/components/select.js
Executable file
11
public/js/filament/forms/components/select.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/forms/components/slider.js
Executable file
1
public/js/filament/forms/components/slider.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/forms/components/tags-input.js
Executable file
1
public/js/filament/forms/components/tags-input.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function r({state:n,splitKeys:i,tagAddedMessage:a,tagRemovedMessage:s}){return{newTag:"",state:n,liveRegionClearTimeout:null,announce(e){let t=this.$refs.liveRegion;t&&(this.liveRegionClearTimeout!==null&&clearTimeout(this.liveRegionClearTimeout),t.textContent=e,this.liveRegionClearTimeout=setTimeout(()=>{t.textContent="",this.liveRegionClearTimeout=null},3e3))},createTag(){if(this.newTag=this.newTag.trim(),this.newTag!==""){if(this.state.includes(this.newTag)){this.newTag="";return}this.state.push(this.newTag),this.announce(a?.replace(":tag",()=>this.newTag)),this.newTag=""}},deleteTag(e){this.state=this.state.filter(t=>t!==e),this.announce(s?.replace(":tag",()=>e))},reorderTags(e){let t=this.state.splice(e.oldIndex,1)[0];this.state.splice(e.newIndex,0,t),this.state=[...this.state]},input:{"x-on:blur":"createTag()","x-model":"newTag","x-on:keydown"(e){["Enter",...i].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.createTag())},"x-on:paste"(){this.$nextTick(()=>{if(i.length===0){this.createTag();return}let e=i.map(t=>t.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).join("|");this.newTag.split(new RegExp(e,"g")).forEach(t=>{this.newTag=t,this.createTag()})})}}}}export{r as default};
|
||||
1
public/js/filament/forms/components/textarea.js
Executable file
1
public/js/filament/forms/components/textarea.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function n({initialHeight:e,shouldAutosize:s,state:i}){return{state:i,resizeObserver:null,wrapperEl:null,init(){this.wrapperEl=this.$el.parentNode,this.setInitialHeight(),s?this.$watch("state",()=>{this.resize()}):this.setUpResizeObserver()},setInitialHeight(){this.$el.scrollHeight<=0||(this.wrapperEl.style.height=e+"rem")},resize(){if(this.$el.scrollHeight<=0)return;let r=this.$el.style.height;this.$el.style.height="0px";let h=this.$el.scrollHeight;this.$el.style.height=r;let l=parseFloat(e)*parseFloat(getComputedStyle(document.documentElement).fontSize),t=Math.max(h,l)+"px";this.wrapperEl.style.height!==t&&(this.wrapperEl.style.height=t)},setUpResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{this.wrapperEl.style.height=this.$el.style.height}),this.resizeObserver.observe(this.$el)},destroy(){this.resizeObserver?.disconnect()}}}export{n as default};
|
||||
1
public/js/filament/notifications/notifications.js
Executable file
1
public/js/filament/notifications/notifications.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/schemas/components/actions.js
Executable file
1
public/js/filament/schemas/components/actions.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
var i=()=>({isSticky:!1,width:0,resizeObserver:null,boundUpdateWidth:null,init(){let e=this.$el.parentElement;e&&(this.updateWidth(),this.resizeObserver=new ResizeObserver(()=>this.updateWidth()),this.resizeObserver.observe(e),this.boundUpdateWidth=this.updateWidth.bind(this),window.addEventListener("resize",this.boundUpdateWidth))},enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1},updateWidth(){let e=this.$el.parentElement;if(!e)return;let t=getComputedStyle(this.$root.querySelector(".fi-ac"));this.width=e.offsetWidth+parseInt(t.marginInlineStart,10)*-1+parseInt(t.marginInlineEnd,10)*-1},destroy(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.boundUpdateWidth&&(window.removeEventListener("resize",this.boundUpdateWidth),this.boundUpdateWidth=null)}});export{i as default};
|
||||
1
public/js/filament/schemas/components/tabs.js
Executable file
1
public/js/filament/schemas/components/tabs.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function x({activeTab:h,isScrollable:m,isTabPersisted:T,isTabPersistedInQueryString:u,livewireId:g,schemaKey:D,tab:W,tabQueryStringKey:r}){return{boundResizeHandler:null,boundResetHandler:null,isScrollable:m,resizeDebounceTimer:null,tab:W,unsubscribeLivewireHook:null,withinDropdownIndex:null,withinDropdownMounted:!1,init(){let t=this.getTabs(),e=new URLSearchParams(window.location.search);u&&e.has(r)&&t.includes(e.get(r))&&(this.tab=e.get(r)),(!this.tab||!t.includes(this.tab))&&(this.tab=t[h-1]),this.$watch("tab",()=>{this.updateQueryString(),this.autofocusFields()}),this.autofocusFields(!0),this.unsubscribeLivewireHook=Livewire.interceptMessage(({message:i,onSuccess:a})=>{a(()=>{this.$nextTick(()=>{if(i.component.id!==g)return;let l=this.getTabs();l.includes(this.tab)||(this.tab=l[h-1]??this.tab)})})}),this.boundResetHandler=i=>{i.detail.livewireId!==g||i.detail.schemaKey!==D||T||u||this.$nextTick(()=>{this.tab=this.getTabs()[h-1]??this.tab})},window.addEventListener("reset-schema-component-state",this.boundResetHandler),m||(this.boundResizeHandler=this.debouncedUpdateTabsWithinDropdown.bind(this),window.addEventListener("resize",this.boundResizeHandler),this.updateTabsWithinDropdown())},calculateAvailableWidth(t){let e=window.getComputedStyle(t);return Math.floor(t.clientWidth)-Math.ceil(parseFloat(e.paddingLeft))*2},calculateContainerGap(t){let e=window.getComputedStyle(t);return Math.ceil(parseFloat(e.columnGap))},calculateDropdownIconWidth(t){let e=t.querySelector(".fi-icon");return Math.ceil(e.clientWidth)},calculateTabItemGap(t){let e=window.getComputedStyle(t);return Math.ceil(parseFloat(e.columnGap)||8)},calculateTabItemPadding(t){let e=window.getComputedStyle(t);return Math.ceil(parseFloat(e.paddingLeft))+Math.ceil(parseFloat(e.paddingRight))},findOverflowIndex(t,e,i,a,l,b){let p=t.map(n=>Math.ceil(n.clientWidth)),w=t.map(n=>{let d=n.querySelector(".fi-tabs-item-label"),s=n.querySelector(".fi-badge"),o=Math.ceil(d.clientWidth),c=s?Math.ceil(s.clientWidth):0;return{label:o,badge:c,total:o+(c>0?a+c:0)}});for(let n=0;n<t.length;n++){let d=p.slice(0,n+1).reduce((f,I)=>f+I,0),s=n*i,o=w.slice(n+1),c=o.length>0,v=c?Math.max(...o.map(f=>f.total)):0,y=c?l+v+a+b+i:0;if(d+s+y>e)return n}return-1},get isDropdownButtonVisible(){return this.withinDropdownMounted?this.withinDropdownIndex===null?!1:this.getTabs().findIndex(e=>e===this.tab)<this.withinDropdownIndex:!0},getTabs(){return this.$refs.tabsData?JSON.parse(this.$refs.tabsData.value):[]},updateQueryString(){if(!u)return;let t=new URL(window.location.href);t.searchParams.set(r,this.tab),history.replaceState(null,document.title,t.toString())},autofocusFields(t=!1){this.$nextTick(()=>{if(t&&document.activeElement&&document.activeElement!==document.body&&this.$el.compareDocumentPosition(document.activeElement)&Node.DOCUMENT_POSITION_PRECEDING)return;let e=this.$el.querySelectorAll(".fi-sc-tabs-tab.fi-active [autofocus]");for(let i of e)if(i.focus(),document.activeElement===i)break})},debouncedUpdateTabsWithinDropdown(){clearTimeout(this.resizeDebounceTimer),this.resizeDebounceTimer=setTimeout(()=>this.updateTabsWithinDropdown(),150)},async updateTabsWithinDropdown(){this.withinDropdownIndex=null,this.withinDropdownMounted=!1,await this.$nextTick();let t=this.$el.querySelector(".fi-tabs"),e=t.querySelector(".fi-tabs-item:last-child"),i=Array.from(t.children).slice(0,-1),a=i.map(s=>s.style.display);i.forEach(s=>s.style.display=""),t.offsetHeight;let l=this.calculateAvailableWidth(t),b=this.calculateContainerGap(t),p=this.calculateDropdownIconWidth(e),w=this.calculateTabItemGap(i[0]),n=this.calculateTabItemPadding(i[0]),d=this.findOverflowIndex(i,l,b,w,n,p);i.forEach((s,o)=>s.style.display=a[o]),d!==-1&&(this.withinDropdownIndex=d),this.withinDropdownMounted=!0},destroy(){this.unsubscribeLivewireHook?.(),this.boundResetHandler&&window.removeEventListener("reset-schema-component-state",this.boundResetHandler),this.boundResizeHandler&&window.removeEventListener("resize",this.boundResizeHandler),clearTimeout(this.resizeDebounceTimer)}}}export{x as default};
|
||||
1
public/js/filament/schemas/components/wizard.js
Executable file
1
public/js/filament/schemas/components/wizard.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function l({isSkippable:i,isStepPersistedInQueryString:n,key:o,livewireId:h,schemaKey:p,startStep:r,stepQueryStringKey:d}){return{boundResetHandler:null,step:null,init(){this.step=this.getSteps().at(r-1),this.$watch("step",()=>{this.updateQueryString(),this.autofocusFields()}),this.autofocusFields(!0),this.boundResetHandler=t=>{t.detail.livewireId!==h||t.detail.schemaKey!==p||n||this.$nextTick(()=>{this.step=this.getSteps().at(r-1)??this.step})},window.addEventListener("reset-schema-component-state",this.boundResetHandler)},async requestNextStep(){await this.$wire.callSchemaComponentMethod(o,"nextStep",{currentStepIndex:this.getStepIndex(this.step)})},goToNextStep(){let t=this.getStepIndex(this.step)+1;t>=this.getSteps().length||(this.step=this.getSteps()[t],this.scroll())},goToPreviousStep(){let t=this.getStepIndex(this.step)-1;t<0||(this.step=this.getSteps()[t],this.scroll())},goToStep(t){let e=this.getStepIndex(t);e<=-1||!i&&e>this.getStepIndex(this.step)||(this.step=t,this.scroll())},scroll(){this.$nextTick(()=>{this.$refs.header?.children[this.getStepIndex(this.step)].scrollIntoView({behavior:"smooth",block:"start"})})},autofocusFields(t=!1){this.$nextTick(()=>{if(t&&document.activeElement&&document.activeElement!==document.body&&this.$el.compareDocumentPosition(document.activeElement)&Node.DOCUMENT_POSITION_PRECEDING)return;let e=this.$refs[`step-${this.step}`]?.querySelectorAll("[autofocus]")??[];for(let s of e)if(s.focus(),document.activeElement===s)break})},getStepIndex(t){let e=this.getSteps().findIndex(s=>s===t);return e===-1?0:e},getSteps(){return JSON.parse(this.$refs.stepsData.value)},isFirstStep(){return this.getStepIndex(this.step)<=0},isLastStep(){return this.getStepIndex(this.step)+1>=this.getSteps().length},isStepAccessible(t){return i||this.getStepIndex(this.step)>this.getStepIndex(t)},updateQueryString(){if(!n)return;let t=new URL(window.location.href);t.searchParams.set(d,this.step),history.replaceState(null,document.title,t.toString())},destroy(){this.boundResetHandler&&window.removeEventListener("reset-schema-component-state",this.boundResetHandler)}}}export{l as default};
|
||||
1
public/js/filament/schemas/schemas.js
Executable file
1
public/js/filament/schemas/schemas.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
(()=>{var a=()=>({isSticky:!1,width:0,resizeObserver:null,boundUpdateWidth:null,init(){let i=this.$el.parentElement;i&&(this.updateWidth(),this.resizeObserver=new ResizeObserver(()=>this.updateWidth()),this.resizeObserver.observe(i),this.boundUpdateWidth=this.updateWidth.bind(this),window.addEventListener("resize",this.boundUpdateWidth))},enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1},updateWidth(){let i=this.$el.parentElement;if(!i)return;let e=getComputedStyle(this.$root.querySelector(".fi-ac"));this.width=i.offsetWidth+parseInt(e.marginInlineStart,10)*-1+parseInt(e.marginInlineEnd,10)*-1},destroy(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.boundUpdateWidth&&(window.removeEventListener("resize",this.boundUpdateWidth),this.boundUpdateWidth=null)}});var l=function(i,e,n){let t=i;if(e.startsWith("/")&&(n=!0,e=e.slice(1)),n)return e;for(;e.startsWith("../");)t=t.includes(".")?t.slice(0,t.lastIndexOf(".")):null,e=e.slice(3);return["",null,void 0].includes(t)?e:["",null,void 0].includes(e)?t:`${t}.${e}`},c=i=>{let e=Alpine.findClosest(i,n=>n.__livewire);if(!e)throw"Could not find Livewire component in DOM tree.";return e.__livewire},o=!1;document.addEventListener("invalid",i=>{let e=i.target;if(!e.closest("[data-field-wrapper]")||e.offsetParent!==null&&getComputedStyle(e).visibility!=="hidden"||(i.preventDefault(),o))return;o=!0;let n=e;for(;n;)n.dispatchEvent(new CustomEvent("expand")),n=n.parentNode;requestAnimationFrame(()=>requestAnimationFrame(()=>{e.form?.reportValidity(),setTimeout(()=>o=!1,100)}))},!0);document.addEventListener("alpine:init",()=>{window.Alpine.data("filamentSchema",({livewireId:i,schemaKey:e,isLoadingDeferred:n=!1})=>({intersectionObserver:null,isLoadingDeferredSchema:!1,init(){n&&(this.intersectionObserver=new IntersectionObserver(async t=>{if(!(!t[0]?.isIntersecting||this.isLoadingDeferredSchema)){this.isLoadingDeferredSchema=!0;try{await this.$wire.loadDeferredSchema(e),this.intersectionObserver?.disconnect()}catch{}finally{this.isLoadingDeferredSchema=!1}}}),this.intersectionObserver.observe(this.$el))},destroy(){this.intersectionObserver?.disconnect()},handleFormValidationError(t){t.detail.livewireId===i&&this.$nextTick(()=>{let r=this.$el.querySelector("[data-validation-error]");if(!r)return;let s=r;for(;s;)s.dispatchEvent(new CustomEvent("expand")),s=s.parentNode;setTimeout(()=>r.closest("[data-field-wrapper]").scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),200)})},handleClientSideStateReset(t){t.detail.livewireId!==i||t.detail.schemaKey!==e||this.$nextTick(()=>{let r=this.$el.querySelectorAll("[autofocus]");for(let s of r)if(s.offsetParent!==null&&(s.focus(),document.activeElement===s))break})},isStateChanged(t,r){if(t===void 0)return!1;try{return JSON.stringify(t)!==JSON.stringify(r)}catch{return t!==r}}})),window.Alpine.data("filamentSchemaComponent",({path:i,containerPath:e,$wire:n})=>({$statePath:i,$get:(t,r)=>n.$get(l(e,t,r)),$set:(t,r,s,d=!1)=>n.$set(l(e,t,s),r,d),get $state(){return n.$get(i)}})),window.Alpine.data("filamentActionsSchemaComponent",a),Livewire.interceptMessage(({message:i,onSuccess:e})=>{e(({payload:n})=>{n.effects?.dispatches?.forEach(t=>{if(!t.params?.awaitSchemaComponent)return;let r=Array.from(i.component.el.querySelectorAll(`[wire\\:partial="schema-component::${t.params.awaitSchemaComponent}"]`)).filter(s=>c(s)===i.component);if(r.length!==1){if(r.length>1)throw`Multiple schema components found with key [${t.params.awaitSchemaComponent}].`;window.addEventListener(`schema-component-${i.component.id}-${t.params.awaitSchemaComponent}-loaded`,()=>{window.dispatchEvent(new CustomEvent(t.name,{detail:t.params}))},{once:!0})}})})})});})();
|
||||
46
public/js/filament/support/support.js
Executable file
46
public/js/filament/support/support.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/tables/components/columns/checkbox.js
Executable file
1
public/js/filament/tables/components/columns/checkbox.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function a({name:r,recordKey:s,state:n}){return{error:void 0,isLoading:!1,state:n,unsubscribeLivewireHook:null,init(){this.unsubscribeLivewireHook=Livewire.interceptMessage(({message:e,onSuccess:t})=>{t(()=>{this.$nextTick(()=>{if(this.isLoading||e.component.id!==this.$root.closest("[wire\\:id]")?.attributes["wire:id"].value)return;let i=this.getServerState();i===void 0||Alpine.raw(this.state)===i||(this.state=i)})})}),this.$watch("state",async()=>{let e=this.getServerState();if(e===void 0||Alpine.raw(this.state)===e)return;this.isLoading=!0;let t=await this.$wire.updateTableColumnState(r,s,this.state);this.error=t?.error??void 0,!this.error&&this.$refs.serverState&&(this.$refs.serverState.value=this.state?"1":"0"),this.isLoading=!1})},getServerState(){if(this.$refs.serverState)return[1,"1"].includes(this.$refs.serverState.value)},destroy(){this.unsubscribeLivewireHook?.()}}}export{a as default};
|
||||
11
public/js/filament/tables/components/columns/select.js
Executable file
11
public/js/filament/tables/components/columns/select.js
Executable file
File diff suppressed because one or more lines are too long
1
public/js/filament/tables/components/columns/text-input.js
Executable file
1
public/js/filament/tables/components/columns/text-input.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function a({name:i,recordKey:s,state:n}){return{error:void 0,isLoading:!1,state:n,unsubscribeLivewireHook:null,init(){this.unsubscribeLivewireHook=Livewire.interceptMessage(({message:e,onSuccess:t})=>{t(()=>{this.$nextTick(()=>{if(this.isLoading||e.component.id!==this.$root.closest("[wire\\:id]")?.attributes["wire:id"].value)return;let r=this.getServerState();r===void 0||this.getNormalizedState()===r||(this.state=r)})})}),this.$watch("state",async()=>{let e=this.getServerState();if(e===void 0||this.getNormalizedState()===e)return;this.isLoading=!0;let t=await this.$wire.updateTableColumnState(i,s,this.state);this.error=t?.error??void 0,!this.error&&this.$refs.serverState&&(this.$refs.serverState.value=this.getNormalizedState()),this.isLoading=!1})},getServerState(){if(this.$refs.serverState)return[null,void 0].includes(this.$refs.serverState.value)?"":this.$refs.serverState.value.replaceAll('\\"','"')},getNormalizedState(){let e=Alpine.raw(this.state);return[null,void 0].includes(e)?"":e},destroy(){this.unsubscribeLivewireHook?.()}}}export{a as default};
|
||||
1
public/js/filament/tables/components/columns/toggle.js
Executable file
1
public/js/filament/tables/components/columns/toggle.js
Executable file
|
|
@ -0,0 +1 @@
|
|||
function a({name:r,recordKey:s,state:n}){return{error:void 0,isLoading:!1,state:n,unsubscribeLivewireHook:null,init(){this.unsubscribeLivewireHook=Livewire.interceptMessage(({message:e,onSuccess:t})=>{t(()=>{this.$nextTick(()=>{if(this.isLoading||e.component.id!==this.$root.closest("[wire\\:id]")?.attributes["wire:id"].value)return;let i=this.getServerState();i===void 0||Alpine.raw(this.state)===i||(this.state=i)})})}),this.$watch("state",async()=>{let e=this.getServerState();if(e===void 0||Alpine.raw(this.state)===e)return;this.isLoading=!0;let t=await this.$wire.updateTableColumnState(r,s,this.state);this.error=t?.error??void 0,!this.error&&this.$refs.serverState&&(this.$refs.serverState.value=this.state?"1":"0"),this.isLoading=!1})},getServerState(){if(this.$refs.serverState)return[1,"1"].includes(this.$refs.serverState.value)},destroy(){this.unsubscribeLivewireHook?.()}}}export{a as default};
|
||||
1
public/js/filament/tables/tables.js
Executable file
1
public/js/filament/tables/tables.js
Executable file
File diff suppressed because one or more lines are too long
31
public/js/filament/widgets/components/chart.js
Executable file
31
public/js/filament/widgets/components/chart.js
Executable file
File diff suppressed because one or more lines are too long
20
public/js/filament/widgets/components/stats-overview/stat/chart.js
Executable file
20
public/js/filament/widgets/components/stats-overview/stat/chart.js
Executable file
File diff suppressed because one or more lines are too long
2
public/robots.txt
Normal file
2
public/robots.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow:
|
||||
19
public/uploads/.htaccess
Normal file
19
public/uploads/.htaccess
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Hochgeladene Dateien (Profilbilder, Logos) werden nur als statische Dateien
|
||||
# ausgeliefert – niemals als Code ausgeführt.
|
||||
|
||||
<IfModule mod_php.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
|
||||
<FilesMatch "\.(php[0-9]?|phtml|phar|pl|py|cgi|sh)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
# SVG-Logos dürfen kein Skript ausführen, auch wenn man sie direkt öffnet.
|
||||
Header set Content-Security-Policy "default-src 'none'; img-src 'self' data:; style-src 'unsafe-inline'; sandbox"
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
|
||||
# Dateinamen enthalten einen Zufallsanteil und ändern sich bei jedem neuen Upload.
|
||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
||||
</IfModule>
|
||||
Loading…
Add table
Add a link
Reference in a new issue