Loheide-eu-mitarbeiterplatt.../public/build/assets/useForwardExpose-CxX7fZdu.js
Friederich Loheide ea2200cb3e
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m46s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m49s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m8s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m51s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m29s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m12s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 5m33s
Plugin-SDK: Oberflächen für Kunden-Plugins, Generator, Doku (0.20.0)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 04:57:28 +00:00

1 line
No EOL
5 KiB
JavaScript

import{Dn as e,En as t,Ht as n,L as r,On as i,Tn as a,an as o,bn as s,ct as c,g as l,gn as u,in as d,it as f,nn as p,pn as m,pt as h,tt as g,un as _,vn as v,xn as y}from"./runtime-core.esm-bundler-B8D2lM98.js";function b(e,t){return o()?(m(e,t),!0):!1}function x(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return b(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function S(e){let t=!1,n,r=d(!0);return((...i)=>(t||=(n=r.run(()=>e(...i)),!0),n))}var C=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var w=e=>e!==void 0,T=Object.prototype.toString,E=e=>T.call(e)===`[object Object]`,D=O();function O(){var e,t;return C&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function k(e){return Array.isArray(e)?e:[e]}function A(e){return e||r()}function j(e){if(!C)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=d(!0),n=r.run(()=>e(...a))),b(i),n))}function M(e){return _(e)?u(new Proxy({},{get(t,n,r){return i(Reflect.get(e.value,n,r))},set(t,n,r){return _(e.value[n])&&!_(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):u(e)}function N(e){return M(l(e))}function P(e,...n){let r=n.flat(),i=r[0];return N(()=>Object.fromEntries(typeof i==`function`?Object.entries(a(e)).filter(([e,n])=>!i(t(n),e)):Object.entries(a(e)).filter(e=>!r.includes(e[0]))))}function F(e,n=1e4){return p((r,i)=>{let a=t(e),o,s=()=>setTimeout(()=>{a=t(e),i()},t(n));return b(()=>{clearTimeout(o)}),{get(){return r(),a},set(e){a=e,i(),clearTimeout(o),o=s()}}})}function I(e,t){A(t)&&f(e,t)}function L(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=y(!1),c;function l(){c&&=(clearTimeout(c),void 0)}function u(){o.value=!1,l()}function d(...r){a&&e(),l(),o.value=!0,c=setTimeout(()=>{o.value=!1,c=void 0,e(...r)},t(n))}return i&&(o.value=!0,C&&d()),b(u),{isPending:s(o),start:d,stop:u}}function R(e,t,r){return n(e,t,{...r,immediate:!0})}var z=C?window:void 0;C&&window.document,C&&window.navigator,C&&window.location;function B(e){let n=t(e);return n?.$el??n}function V(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=l(()=>{let n=k(t(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return R(()=>[r.value?.map(e=>B(e))??[z].filter(e=>e!=null),k(t(r.value?e[1]:e[0])),k(i(r.value?e[2]:e[1])),t(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=E(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function H(){let e=y(!1),t=r();return t&&c(()=>{e.value=!0},t),e}function U(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function W(...e){let n,r,i={};e.length===3?(n=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(n=!0,r=e[0],i=e[1]):(n=e[0],r=e[1]):(n=!0,r=e[0]);let{target:a=z,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=U(n);return V(a,o,e=>{e.repeat&&t(c)||l(e)&&r(e)},s)}function G(e){return JSON.parse(JSON.stringify(e))}function K(e,t,i,a={}){var o,s;let{clone:c=!1,passive:u=!1,eventName:d,deep:f=!1,defaultValue:p,shouldEmit:m}=a,h=r(),_=i||h?.emit||(h==null||(o=h.$emit)==null?void 0:o.bind(h))||(h==null||(s=h.proxy)==null||(s=s.$emit)==null?void 0:s.bind(h?.proxy)),y=d;t||=`modelValue`,y||=`update:${t.toString()}`;let b=e=>c?typeof c==`function`?c(e):G(e):e,x=()=>w(e[t])?b(e[t]):p,S=e=>{m?m(e)&&_(y,e):_(y,e)};if(u){let r=v(x()),i=!1;return n(()=>e[t],e=>{i||(i=!0,r.value=b(e),g(()=>i=!1))}),n(r,n=>{!i&&(n!==e[t]||f)&&S(n)},{deep:f}),r}return l({get(){return x()},set(e){S(e)}})}function q(){let t=r(),n=v(),i=l(()=>a());h(()=>{i.value!==a()&&e(n)});function a(){return n.value&&`$el`in n.value&&[`#text`,`#comment`].includes(n.value.$el.nodeName)?n.value.$el.nextElementSibling:B(n)}let o=Object.assign({},t.exposed),s={};for(let e in t.props)Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>t.props[e]});if(Object.keys(o).length>0)for(let e in o)Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>o[e]});Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=s;function c(e){if(n.value=e,e&&(Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>e instanceof Element?e:e.$el}),!(e instanceof Element)&&!Object.hasOwn(e,`$el`))){let n=e.$.exposed,r=Object.assign({},s);for(let e in n)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>n[e]});t.exposed=r}}return{forwardRef:c,currentRef:n,currentElement:i}}export{L as _,V as a,x as c,C as d,D as f,b as g,I as h,B as i,S as l,F as m,z as n,H as o,P as p,W as r,K as s,q as t,j as u};