Initial commit: WitShop Laravel Online-Shop
- Laravel 11, Blade, Alpine.js, Tailwind CSS - Produkt- & Kategorieverwaltung mit Varianten - Checkout (Vorkasse + Rechnung), Session-Warenkorb - Admin-Backend (Dashboard, Bestellungen, Kunden, CMS) - DSGVO-konform: Cookie-Consent, Impressum, Widerruf, AGB - PDF-Rechnung via dompdf, SMTP-Mailversand - Kundenverwaltung mit manueller Freischaltung Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
41078fdc08
208 files changed
+21725
No files matched your search
@@ -0,0 +1,5 @@
|
||||
var e=!1,t=!1,n=[],r=-1,i=!1;function a(e){c(e)}function o(){i=!0}function s(){i=!1,u()}function c(e){n.includes(e)||n.push(e),u()}function l(e){let t=n.indexOf(e);t!==-1&&t>r&&n.splice(t,1)}function u(){if(!t&&!e){if(i)return;e=!0,queueMicrotask(d)}}function d(){e=!1,t=!0;for(let e=0;e<n.length;e++)n[e](),r=e;n.length=0,r=-1,t=!1}var f,p,m,ee,h=!0;function te(e){h=!1,e(),h=!0}function ne(e){f=e.reactive,m=e.release,p=t=>e.effect(t,{scheduler:e=>{h?a(e):e()}}),ee=e.raw}function re(e){p=e}function ie(e){let t=()=>{};return[n=>{let r=p(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),m(r))},r},()=>{t()}]}function ae(e,t){let n=!0,r,i,a=p(()=>{let a=e(),o=JSON.stringify(a);if(!n&&(typeof a==`object`||a!==r)){let e=typeof r==`object`?JSON.parse(i):r;queueMicrotask(()=>{t(a,e)})}r=a,i=o,n=!1});return()=>m(a)}async function oe(e){o();try{await e(),await Promise.resolve()}finally{s()}}var se=[],ce=[],le=[];function ue(e){le.push(e)}function de(e,t){typeof t==`function`?(e._x_cleanups||=[],e._x_cleanups.push(t)):(t=e,ce.push(t))}function fe(e){se.push(e)}function pe(e,t,n){e._x_attributeCleanups||={},e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function me(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(t===void 0||t.includes(n))&&(r.forEach(e=>e()),delete e._x_attributeCleanups[n])})}function he(e){for(e._x_effects?.forEach(l);e._x_cleanups?.length;)e._x_cleanups.pop()()}var ge=new MutationObserver(Te),_e=!1;function ve(){ge.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),_e=!0}function ye(){be(),ge.disconnect(),_e=!1}var g=[];function be(){let e=ge.takeRecords();g.push(()=>e.length>0&&Te(e));let t=g.length;queueMicrotask(()=>{if(g.length===t)for(;g.length>0;)g.shift()()})}function _(e){if(!_e)return e();ye();let t=e();return ve(),t}var xe=!1,Se=[];function Ce(){xe=!0}function we(){xe=!1,Te(Se),Se=[]}function Te(e){if(xe){Se=Se.concat(e);return}let t=[],n=new Set,r=new Map,i=new Map;for(let a=0;a<e.length;a++)if(!e[a].target._x_ignoreMutationObserver&&(e[a].type===`childList`&&(e[a].removedNodes.forEach(e=>{e.nodeType===1&&e._x_marker&&n.add(e)}),e[a].addedNodes.forEach(e=>{if(e.nodeType===1){if(n.has(e)){n.delete(e);return}e._x_marker||t.push(e)}})),e[a].type===`attributes`)){let t=e[a].target,n=e[a].attributeName,o=e[a].oldValue,s=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},c=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&o===null?s():t.hasAttribute(n)?(c(),s()):c()}i.forEach((e,t)=>{me(t,e)}),r.forEach((e,t)=>{se.forEach(n=>n(t,e))});for(let e of n)t.some(t=>t.contains(e))||ce.forEach(t=>t(e));for(let e of t)e.isConnected&&le.forEach(t=>t(e));t=null,n=null,r=null,i=null}function Ee(e){return b(y(e))}function v(e,t,n){return e._x_dataStack=[t,...y(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==t)}}function y(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot==`function`&&e instanceof ShadowRoot?y(e.host):e.parentNode?y(e.parentNode):[]}function b(e){return new Proxy({objects:e},Oe)}function De(e,t){return e===null||e===Object.prototype?null:Object.prototype.hasOwnProperty.call(e,t)?e:De(Object.getPrototypeOf(e),t)}var Oe={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(e=>Object.keys(e))))},has({objects:e},t){return t==Symbol.unscopables?!1:e.some(e=>Object.prototype.hasOwnProperty.call(e,t)||Reflect.has(e,t))},get({objects:e},t,n){return t==`toJSON`?ke:Reflect.get(e.find(e=>Reflect.has(e,t))||{},t,n)},set({objects:e},t,n,r){let i;for(let n of e)if(i=De(n,t),i)break;i||=e[e.length-1];let a=Object.getOwnPropertyDescriptor(i,t);return a?.set&&a?.get?a.set.call(r,n)||!0:Reflect.set(i,t,n)}};function ke(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function Ae(e){let t=e=>typeof e==`object`&&!Array.isArray(e)&&e!==null,n=(r,i=``)=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([a,{value:o,enumerable:s}])=>{if(s===!1||o===void 0||typeof o==`object`&&o&&o.__v_skip)return;let c=i===``?a:`${i}.${a}`;typeof o==`object`&&o&&o._x_interceptor?r[a]=o.initialize(e,c,a):t(o)&&o!==r&&!(o instanceof Element)&&n(o,c)})};return n(e)}function je(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,r){return e(this.initialValue,()=>Me(t,n),e=>Ne(t,n,e),n,r)}};return t(n),e=>{if(typeof e==`object`&&e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(r,i,a)=>(n.initialValue=e.initialize(r,i,a),t(r,i,a))}else n.initialValue=e;return n}}function Me(e,t){return t.split(`.`).reduce((e,t)=>e[t],e)}function Ne(e,t,n){if(typeof t==`string`&&(t=t.split(`.`)),t.length===1)e[t[0]]=n;else if(t.length===0)throw error;else if(e[t[0]])return Ne(e[t[0]],t.slice(1),n);else return e[t[0]]={},Ne(e[t[0]],t.slice(1),n)}var Pe={};function x(e,t){Pe[e]=t}function S(e,t){let n=Fe(t);rLine truncated
|
||||
|
||||
${n?`Expression: "`+n+`"
|
||||
|
||||
`:``}`,t),setTimeout(()=>{throw e},0)}var w=!0;function Be(e){let t=w;w=!1;let n=e();return w=t,n}function T(e,t,n={}){let r;return E(e,t)(e=>r=e,n),r}function E(...e){return Ve(...e)}var Ve=()=>{};function He(e){Ve=e}var Ue;function We(e){Ue=e}function Ge(e,t){let n={};S(n,e);let r=[n,...y(e)],i=typeof t==`function`?Ke(r,t):Ye(r,t,e);return Ie.bind(null,e,t,i)}function Ke(e,t){return(n=()=>{},{scope:r={},params:i=[],context:a}={})=>{if(!w){D(n,t,b([r,...e]),i);return}D(n,t.apply(b([r,...e]),i))}}var qe={};function Je(e,t){if(qe[e])return qe[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,i=(()=>{try{let t=new n([`__self`,`scope`],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(n){return C(n,t,e),Promise.resolve()}})();return qe[e]=i,i}function Ye(e,t,n){let r=Je(t,n);return(i=()=>{},{scope:a={},params:o=[],context:s}={})=>{r.result=void 0,r.finished=!1;let c=b([a,...e]);if(typeof r==`function`){let e=r.call(s,r,c).catch(e=>C(e,n,t));r.finished?(D(i,r.result,c,o,n),r.result=void 0):e.then(e=>{D(i,e,c,o,n)}).catch(e=>C(e,n,t)).finally(()=>r.result=void 0)}}}function D(e,t,n,r,i){if(w&&typeof t==`function`){let a=t.apply(n,r);a instanceof Promise?a.then(t=>D(e,t,n,r)).catch(e=>C(e,i,t)):e(a)}else typeof t==`object`&&t instanceof Promise?t.then(t=>e(t)):e(t)}function Xe(...e){return Ue(...e)}function Ze(e,t,n={}){let r={};S(r,e);let i=[r,...y(e)],a=b([n.scope??{},...i]),o=n.params??[];if(t.includes(`await`)){let e=Object.getPrototypeOf(async function(){}).constructor;return new e([`scope`],`with (scope) { let __result = ${/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(async()=>{ ${t} })()`:t}; return __result }`).call(n.context,a)}else{let e=/^[\n\s]*if.*\(.*\)/.test(t.trim())||/^(let|const)\s/.test(t.trim())?`(()=>{ ${t} })()`:t,r=Function([`scope`],`with (scope) { let __result = ${e}; return __result }`).call(n.context,a);return typeof r==`function`&&w?r.apply(a,o):r}}var Qe=`x-`;function O(e=``){return Qe+e}function $e(e){Qe=e}var et={};function k(e,t){return et[e]=t,{before(t){if(!et[t]){console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);return}let n=j.indexOf(t);j.splice(n>=0?n:j.indexOf(`DEFAULT`),0,e)}}}function tt(e){return Object.keys(et).includes(e)}function nt(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map(([e,t])=>({name:e,value:t})),r=rt(n);n=n.map(e=>r.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),t=t.concat(n)}let r={};return t.map(dt((e,t)=>r[e]=t)).filter(mt).map(gt(r,n)).sort(vt).map(t=>ct(e,t))}function rt(e){return Array.from(e).map(dt()).filter(e=>!mt(e))}var it=!1,A=new Map,at=Symbol();function ot(e){it=!0;let t=Symbol();at=t,A.set(t,[]);let n=()=>{for(;A.get(t).length;)A.get(t).shift()();A.delete(t)};e(n),it=!1,n()}function st(e){let t=[],n=e=>t.push(e),[r,i]=ie(e);return t.push(i),[{Alpine:H,effect:r,cleanup:n,evaluateLater:E.bind(E,e),evaluate:T.bind(T,e)},()=>t.forEach(e=>e())]}function ct(e,t){let n=et[t.type]||(()=>{}),[r,i]=st(e);pe(e,t.original,i);let a=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,r),n=n.bind(n,e,t,r),it?A.get(at).push(n):n())};return a.runCleanups=i,a}var lt=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r}),ut=e=>e;function dt(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:i}=ft.reduce((e,t)=>t(e),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var ft=[];function pt(e){ft.push(e)}function mt({name:e}){return ht().test(e)}var ht=()=>RegExp(`^${Qe}([^:^.]+)\\b`);function gt(e,t){return({name:n,value:r})=>{n===r&&(r=``);let i=n.match(ht()),a=n.match(/:([a-zA-Z0-9\-_:]+)/),o=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:i?i[1]:null,value:a?a[1]:null,modifiers:o.map(e=>e.replace(`.`,``)),expression:r,original:s}}}var _t=`DEFAULT`,j=[`ignore`,`ref`,`id`,`data`,`anchor`,`bind`,`init`,`for`,`model`,`modelable`,`transition`,`show`,`if`,_t,`teleport`];function vt(e,t){let n=j.indexOf(e.type)===-1?_t:e.type,r=j.indexOf(t.type)===-1?_t:t.type;return j.indexOf(n)-j.indexOf(r)}function M(e,t,n={},r={}){return e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0,...r}))}function N(e,t){if(typeof ShadowRoot==`function`&&e instanceof ShadowRoot){Array.from(e.children).forEach(e=>N(e,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)N(r,t,!1),r=r.nextElementSibling}function P(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var yt=!1;function bt(){yt&&P(`Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems.`),yt=!0,document.body||P("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you foLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Figtree,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([multiple]),textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6b7280;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}input:where([type=text]):focus,input:where(:not([type])):focus,input:where([type=email]):focus,input:where([type=url]):focus,input:where([type=password]):focus,input:where([type=number]):focus,input:where([type=date]):focus,input:where([type=datetime-local]):focus,input:where([type=month]):focus,input:where([type=search]):focus,input:where([type=tel]):focus,input:where([type=time]):focus,input:where([type=week]):focus,select:where([multiple]):focus,textarea:focus,select:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);Line truncated
|
||||
Reference in new issue
Block a user