proto-daisy-db 0.0.261 → 0.0.263
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.
|
@@ -6,7 +6,7 @@ const index = require('./index-3d89f5a8.js');
|
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.13.0 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-daisy-db.cjs.js', document.baseURI).href));
|
|
@@ -3,7 +3,7 @@ export { s as setNonce } from './index-e5be26d1.js';
|
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.13.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let e,n,t=!1;const
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},
|
|
1
|
+
let e,n,t=!1,l=!1;const o="slot-fb{display:contents}slot-fb[hidden]{display:none}",s={},i=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(e,n,...t)=>{let l=null,o=null,s=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!i(l))&&(l+=""),s&&c?r[r.length-1].t+=l:r.push(s?u(null,l):l),c=s)};if(f(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const a=u(e,null);return a.l=n,r.length>0&&(a.o=r),a.i=o,a},u=(e,n)=>({u:0,p:e,t:n,$:null,o:null,l:null,i:null}),f={},a=new WeakMap,d=e=>"sc-"+e.h,y=(e,n,t,l,o,s)=>{if(t!==l){let c=_(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=$(t),s=$(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else if(c||"o"!==n[0]||"n"!==n[1]){const r=i(l);if((c||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?c=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!c||4&s||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):_(J,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith(h);n=n.replace(m,""),t&&Q.rel(e,n,t,o),l&&Q.ael(e,n,l,o)}}},p=/\s/,$=e=>e?e.split(p):[],h="Capture",m=RegExp(h+"$"),v=(e,n,t,l)=>{const o=11===n.$.nodeType&&n.$.host?n.$.host:n.$,i=e&&e.l||s,c=n.l||s;for(l in i)l in c||y(o,l,i[l],void 0,t,n.u);for(l in c)y(o,l,i[l],c[l],t,n.u)},b=(l,o,s)=>{const i=o.o[s];let c,r,u=0;if(null!==i.t)c=i.$=K.createTextNode(i.t);else if(c=i.$=K.createElement(i.p),v(null,i,t),null!=e&&c["s-si"]!==e&&c.classList.add(c["s-si"]=e),i.o)for(u=0;u<i.o.length;++u)r=b(l,i,u),r&&c.appendChild(r);return c["s-hn"]=n,c},w=(e,t,l,o,s,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=b(null,l,s),c&&(o[s].$=c,r.insertBefore(c,t)))},S=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;e&&e.remove()}}},g=(e,n,t=!1)=>e.p===n.p&&(!!t||e.i===n.i),j=(e,n,l=!1)=>{const o=n.$=e.$,s=e.o,i=n.o,c=n.t;null===c?(v(e,n,t),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,f=0,a=n.length-1,d=n[0],y=n[a],p=l.length-1,$=l[0],h=l[p];for(;c<=a&&r<=p;)if(null==d)d=n[++c];else if(null==y)y=n[--a];else if(null==$)$=l[++r];else if(null==h)h=l[--p];else if(g(d,$,o))j(d,$,o),d=n[++c],$=l[++r];else if(g(y,h,o))j(y,h,o),y=n[--a],h=l[--p];else if(g(d,h,o))j(d,h,o),e.insertBefore(d.$,y.$.nextSibling),d=n[++c],h=l[--p];else if(g(y,$,o))j(y,$,o),e.insertBefore(y.$,d.$),y=n[--a],$=l[++r];else{for(u=-1,f=c;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===$.i){u=f;break}u>=0?(i=n[u],i.p!==$.p?s=b(n&&n[r],t,u):(j(i,$,o),n[u]=void 0,s=i.$),$=l[++r]):(s=b(n&&n[r],t,r),$=l[++r]),s&&d.$.parentNode.insertBefore(s,d.$)}c>a?w(e,null==l[p+1]?null:l[p+1].$,t,l,r,p):r>p&&S(n,c,a)})(o,s,n,i,l):null!==i?(null!==e.t&&(o.textContent=""),w(o,null,n,i,0,i.length-1)):null!==s&&S(s,0,s.length-1)):e.t!==c&&(o.data=c)},k=(e,n)=>{n&&!e.m&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.m=n)))},M=(e,n)=>{if(e.u|=16,!(4&e.u))return k(e,e.v),se((()=>O(e,n)));e.u|=512},O=(e,n)=>{const t=e.S;return C(void 0,(()=>P(e,t,n)))},C=(e,n)=>E(e)?e.then(n):n(),E=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,P=async(e,n,t)=>{var l;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.j,t=e.$hostElement$,l=n.u,s=((e,n)=>{var t;const l=d(n),s=I.get(l);if(e=11===e.nodeType?e:K,s)if("string"==typeof s){let i,r=a.get(e=e.head||e);if(r||a.set(e,r=new Set),!r.has(l)){{i=K.createElement("style"),i.innerHTML=s;const n=null!==(t=Q.k)&&void 0!==t?t:c(K);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=o),r&&r.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);x(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>A(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},x=(t,l,o,s)=>{try{l=l.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||u(null,null),c=(e=>e&&e.p===f)(l)?l:r(null,null,l);if(n=s.tagName,o&&c.l)for(const e of Object.keys(c.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(c.l[e]=s[e]);c.p=null,c.u|=4,t.M=c,c.$=i.$=s.shadowRoot||s,e=s["s-sc"],j(i,c,o)})(t,l,s)}catch(e){z(e,t.$hostElement$)}return null},A=e=>{const n=e.$hostElement$,t=e.S,l=e.v;64&e.u||(e.u|=64,R(n),N(t,"componentDidLoad"),e.O(n),l||L()),e.m&&(e.m(),e.m=void 0),512&e.u&&oe((()=>M(e,!1))),e.u&=-517},L=()=>{R(K.documentElement),oe((()=>(e=>{const n=Q.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(n),n})(J)))},N=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){z(e)}},R=e=>e.classList.add("hydrated"),T=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const s=Object.entries(n.C);if(s.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>F(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=F(e),s=o.P.get(n),c=o.u,r=o.S;t=((e,n)=>null==e||i(e)?e:1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==s||t===s||Number.isNaN(s)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&M(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){Q.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=F(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},U=async(e,n,t)=>{let l;if(!(32&n.u)){if(n.u|=32,t.L){if(l=G(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(T(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){z(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.h).then((()=>n.u|=128));if(l.style){let e=l.style;const n=d(t);if(!I.has(n)){const l=()=>{};((e,n,t)=>{let l=I.get(e);Y&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,I.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.v,s=()=>M(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},W=(e,n={})=>{var t;const l=[],s=n.exclude||[],i=J.customElements,r=K.head,u=r.querySelector("meta[charset]"),f=K.createElement("style"),a=[];let d,y=!0;Object.assign(Q,n),Q.N=new URL(n.resourcesUrl||"./",K.baseURI).href;let p=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],h:n[1],C:n[2],R:n[3]};4&t.u&&(p=!0),t.C=n[2];const o=t.h,c=class extends HTMLElement{constructor(e){super(e),V(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):Q.jmp((()=>(e=>{if(!(1&Q.u)){const n=F(e),t=n.j,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.T)&&n.T.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){k(n,n.v=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),U(e,n,t)}l()}})(this)))}disconnectedCallback(){Q.jmp((()=>(async()=>{if(!(1&Q.u)){const e=F(this);(null==e?void 0:e.S)||(null==e?void 0:e.T)&&e.T.then((()=>{}))}})()))}componentOnReady(){return F(this).T}};t.L=e[0],s.includes(o)||i.get(o)||(l.push(o),i.define(o,T(c,t,1)))}))})),l.length>0&&(p&&(f.textContent+=o),f.textContent+=l+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=Q.k)&&void 0!==t?t:c(K);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}y=!1,a.length?a.map((e=>e.connectedCallback())):Q.jmp((()=>d=setTimeout(L,30)))},q=e=>Q.k=e,D=new WeakMap,F=e=>D.get(e),H=(e,n)=>D.set(n.S=e,n),V=(e,n)=>{const t={u:0,$hostElement$:e,j:n,P:new Map};return t.T=new Promise((e=>t.O=e)),e["s-p"]=[],e["s-rc"]=[],D.set(e,t)},_=(e,n)=>n in e,z=(e,n)=>(0,console.error)(e,n),B=new Map,G=e=>{const n=e.h.replace(/-/g,"_"),t=e.L,l=B.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(B.set(t,e),e[n])),z)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},I=new Map,J="undefined"!=typeof window?window:{},K=J.document||{head:{}},Q={u:0,N:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},X=e=>Promise.resolve(e),Y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Z=[],ee=[],ne=(e,n)=>t=>{e.push(t),l||(l=!0,n&&4&Q.u?oe(le):Q.raf(le))},te=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){z(e)}e.length=0},le=()=>{te(Z),te(ee),(l=Z.length>0)&&Q.raf(le)},oe=e=>X().then(e),se=ne(ee,!0);export{W as b,r as h,X as p,H as r,q as s}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.263",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "4.
|
|
30
|
+
"@stencil/core": "4.13.0",
|
|
31
31
|
"mitt": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"autoprefixer": "10.4.18",
|
|
35
35
|
"concurrently": "8.2.2",
|
|
36
36
|
"cspell": "8.6.0",
|
|
37
|
-
"postcss": "8.4.
|
|
37
|
+
"postcss": "8.4.37",
|
|
38
38
|
"prettier": "3.2.5",
|
|
39
39
|
"prettier-plugin-tailwindcss": "0.5.12",
|
|
40
|
-
"proto-tailwindcss-clrs": "0.0.
|
|
40
|
+
"proto-tailwindcss-clrs": "0.0.316",
|
|
41
41
|
"tailwindcss": "3.4.1"
|
|
42
42
|
},
|
|
43
43
|
"license": "MIT"
|