proto-daisy-db 0.0.253 → 0.0.255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-bfac49b3.js → index-b5e45d1a.js} +11 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-daisy-db.cjs.js +2 -2
- package/dist/cjs/proto-daisy-db_5.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/{index-b4794de5.js → index-4dcb9412.js} +11 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-daisy-db.js +3 -3
- package/dist/esm/proto-daisy-db_5.entry.js +1 -1
- package/dist/proto-daisy-db/{p-ea18a518.entry.js → p-84b89d15.entry.js} +1 -1
- package/dist/proto-daisy-db/{p-66fb881c.js → p-c00bb3a7.js} +1 -1
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +1 -1
- package/package.json +3 -3
|
@@ -1536,11 +1536,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1536
1536
|
if (cmpTags.length > 0) {
|
|
1537
1537
|
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1538
1538
|
if (hasSlotRelocation) {
|
|
1539
|
-
dataStyles.
|
|
1539
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
1540
1540
|
}
|
|
1541
1541
|
// Add hydration styles
|
|
1542
1542
|
{
|
|
1543
|
-
dataStyles.
|
|
1543
|
+
dataStyles.textContent += cmpTags + HYDRATED_CSS;
|
|
1544
1544
|
}
|
|
1545
1545
|
// If we have styles, add them to the DOM
|
|
1546
1546
|
if (dataStyles.innerHTML.length) {
|
|
@@ -1633,6 +1633,14 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1633
1633
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1634
1634
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1635
1635
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1636
|
+
/**
|
|
1637
|
+
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1638
|
+
* the below, but instead retains a dynamic `import()` statement in the
|
|
1639
|
+
* emitted code.
|
|
1640
|
+
*
|
|
1641
|
+
* See here for details https://esbuild.github.io/api/#glob
|
|
1642
|
+
*/
|
|
1643
|
+
const MODULE_IMPORT_PREFIX = './';
|
|
1636
1644
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1637
1645
|
// loadModuleImport
|
|
1638
1646
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1647,7 +1655,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1647
1655
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1648
1656
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1649
1657
|
/* webpackMode: "lazy" */
|
|
1650
|
-
|
|
1658
|
+
`${MODULE_IMPORT_PREFIX}${bundleId}.entry.js${''}`)); }).then((importedModule) => {
|
|
1651
1659
|
{
|
|
1652
1660
|
cmpModules.set(bundleId, importedModule);
|
|
1653
1661
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-b5e45d1a.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-b5e45d1a.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.12.
|
|
9
|
+
Stencil Client Patch Browser v4.12.3 | 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));
|
|
@@ -1514,11 +1514,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1514
1514
|
if (cmpTags.length > 0) {
|
|
1515
1515
|
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1516
1516
|
if (hasSlotRelocation) {
|
|
1517
|
-
dataStyles.
|
|
1517
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
1518
1518
|
}
|
|
1519
1519
|
// Add hydration styles
|
|
1520
1520
|
{
|
|
1521
|
-
dataStyles.
|
|
1521
|
+
dataStyles.textContent += cmpTags + HYDRATED_CSS;
|
|
1522
1522
|
}
|
|
1523
1523
|
// If we have styles, add them to the DOM
|
|
1524
1524
|
if (dataStyles.innerHTML.length) {
|
|
@@ -1611,6 +1611,14 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1611
1611
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1612
1612
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1613
1613
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1614
|
+
/**
|
|
1615
|
+
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1616
|
+
* the below, but instead retains a dynamic `import()` statement in the
|
|
1617
|
+
* emitted code.
|
|
1618
|
+
*
|
|
1619
|
+
* See here for details https://esbuild.github.io/api/#glob
|
|
1620
|
+
*/
|
|
1621
|
+
const MODULE_IMPORT_PREFIX = './';
|
|
1614
1622
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1615
1623
|
// loadModuleImport
|
|
1616
1624
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1625,7 +1633,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1625
1633
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1626
1634
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1627
1635
|
/* webpackMode: "lazy" */
|
|
1628
|
-
|
|
1636
|
+
`${MODULE_IMPORT_PREFIX}${bundleId}.entry.js${''}`).then((importedModule) => {
|
|
1629
1637
|
{
|
|
1630
1638
|
cmpModules.set(bundleId, importedModule);
|
|
1631
1639
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-4dcb9412.js';
|
|
2
|
+
export { s as setNonce } from './index-4dcb9412.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-4dcb9412.js';
|
|
2
|
+
export { s as setNonce } from './index-4dcb9412.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.12.
|
|
6
|
+
Stencil Client Patch Browser v4.12.3 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a}from"./p-
|
|
1
|
+
import{r as t,h as a}from"./p-c00bb3a7.js";const s="proto-daisy-db:app-data",o=class{constructor(a){t(this,a),this.emitter=void 0}componentDidLoad(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter];t.on("app-data:get",(()=>{var a;console.log("app-data:get"),(a=localStorage.getItem(s),new Promise(((t,s)=>{try{t(JSON.parse(a))}catch(t){s(t)}}))).then((a=>{t.emit("app-data:value",a)})).catch((t=>{console.log(t)}))})),t.on("app-data:store",(t=>{console.log("app-data:store",t),(t=>{const a=JSON.stringify(t);localStorage.setItem(s,a)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return a("div",{key:"35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81"})}};o.style="";const e=class{constructor(a){t(this,a),this.data=void 0}render(){const t=this.data?Object.keys(this.data):[];return a("div",{key:"a423b82d951a69b266dd3d508a8dc11326a8008b",class:"flex flex-col"},t.map((t=>a("span",null,t))))}};e.style="";const r=class{constructor(a){t(this,a),this.data=void 0}render(){return a("div",{key:"f4837fa667d5d6e57086b09d1bc91719035442be",class:"flex"},a("span",{key:"a70fa27ba603ead243b5d262922082141420e0ac"},this.data?this.data.stamp:""))}};r.style="";const i=class{constructor(a){t(this,a),this.emitter=void 0,this.data=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("app-data:value",(t=>{this.data=t}))}emitData(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter],a={login:!0,stamp:Date.now(),theme:"dark",dealers:[]};this.data=void 0,t.emit("app-data:store",a)}}fetchData(){this.emitter&&window[this.emitter]&&window[this.emitter].emit("app-data:get",42)}render(){return a("div",{key:"47a9f4c68160b18fceedba61f54a7be29c75325a",class:"flex flex-col font-sans"},a("div",{key:"334f34a36a896139cf4cc01f66bbf0d09bd89505",class:"flex flex-row content-center gap-2"},a("button",{key:"784f07b93d4cd4a0287e6dd172bc73ab8e3c49e5",class:"btn bg-clrs-navy text-clrs-white",onClick:()=>this.emitData()},"Save"),a("button",{key:"8526e3216eb0a725ea22b288ac0cb3c503405ee4",class:"btn bg-clrs-blue text-clrs-white",onClick:()=>this.fetchData()},"Fetch")),a("proto-faux-type",{key:"3033b83816b2997c790fb8df1e1d90f387f62afa",class:"mt-4",emitter:this.emitter}),a("proto-faux-stamp",{key:"811eef59cdcdfa2edb318ee5facf7ae0bc497c82",class:"mt-2 text-xs",data:this.data}),a("proto-faux-keys",{key:"ed39e233d92c46f801841240d32d783ee6b0f0fd",class:"mt-2",data:this.data}))}};i.style="*,::before,::after{--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-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}::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-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.btn{border-radius:0.375rem;border-width:1px;border-style:solid;border-color:var(--clrs-aqua, #7fdbff);padding:0.5rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.flex{display:flex}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.content-center{align-content:center}.gap-2{gap:0.5rem}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.font-sans{font-family:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'}.text-xs{font-size:0.75rem;line-height:1rem}.italic{font-style:italic}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";const c=class{constructor(a){t(this,a),this.emitter=void 0,this.eventType=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("*",(t=>{this.eventType=t}))}render(){return a("div",{key:"d441f639241a54d1ef8ae9c26a4560b5266457df"},a("span",{key:"a192c0ce3af5f94d72856ca851300537fd00f31f",class:"text-xs italic"},this.eventType))}};c.style="proto-faux-type{}";export{o as proto_daisy_db,e as proto_faux_keys,r as proto_faux_stamp,i as proto_faux_trigger,c as proto_faux_type}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let e,n,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=e=>"object"==(e=typeof e)||"function"===e;function i(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 c=(e,n,...t)=>{let l=null,o=null,i=!1,c=!1;const u=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!s(l))&&(l+=""),i&&c?u[u.length-1].t+=l:u.push(i?r(null,l):l),c=i)};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=r(e,null);return a.l=n,u.length>0&&(a.o=u),a.i=o,a},r=(e,n)=>({u:0,p:e,t:n,$:null,o:null,l:null,i:null}),u={},f=new WeakMap,a=e=>"sc-"+e.h,d=(e,n,t,l,o,i)=>{if(t!==l){let c=H(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=p(t),s=p(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=s(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&i||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):H(G,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith($);n=n.replace(h,""),t&&J.rel(e,n,t,o),l&&J.ael(e,n,l,o)}}},y=/\s/,p=e=>e?e.split(y):[],$="Capture",h=RegExp($+"$"),v=(e,n,t,l)=>{const s=11===n.$.nodeType&&n.$.host?n.$.host:n.$,i=e&&e.l||o,c=n.l||o;for(l in i)l in c||d(s,l,i[l],void 0,t,n.u);for(l in c)d(s,l,i[l],c[l],t,n.u)},m=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.$=I.createTextNode(s.t);else if(i=s.$=I.createElement(s.p),v(null,s,!1),null!=e&&i["s-si"]!==e&&i.classList.add(i["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=m(t,s,r),c&&i.appendChild(c);return i["s-hn"]=n,i},b=(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=m(null,l,s),c&&(o[s].$=c,r.insertBefore(c,t)))},w=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;e&&e.remove()}}},S=(e,n,t=!1)=>e.p===n.p&&(!!t||e.i===n.i),g=(e,n,t=!1)=>{const l=n.$=e.$,o=e.o,s=n.o,i=n.t;null===i?(v(e,n,!1),null!==o&&null!==s?((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(S(d,$,o))g(d,$,o),d=n[++c],$=l[++r];else if(S(y,h,o))g(y,h,o),y=n[--a],h=l[--p];else if(S(d,h,o))g(d,h,o),e.insertBefore(d.$,y.$.nextSibling),d=n[++c],h=l[--p];else if(S(y,$,o))g(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=m(n&&n[r],t,u):(g(i,$,o),n[u]=void 0,s=i.$),$=l[++r]):(s=m(n&&n[r],t,r),$=l[++r]),s&&d.$.parentNode.insertBefore(s,d.$)}c>a?b(e,null==l[p+1]?null:l[p+1].$,t,l,r,p):r>p&&w(n,c,a)})(l,o,n,s,t):null!==s?(null!==e.t&&(l.textContent=""),b(l,null,n,s,0,s.length-1)):null!==o&&w(o,0,o.length-1)):e.t!==i&&(l.data=i)},j=(e,n)=>{n&&!e.v&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.v=n)))},k=(e,n)=>{if(e.u|=16,!(4&e.u))return j(e,e.m),le((()=>M(e,n)));e.u|=512},M=(e,n)=>{const t=e.S;return O(void 0,(()=>P(e,t,n)))},O=(e,n)=>C(e)?e.then(n):n(),C=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,P=async(e,n,t)=>{var o;const s=e.$hostElement$,c=s["s-rc"];t&&(e=>{const n=e.j,t=e.$hostElement$,o=n.u,s=((e,n)=>{var t;const o=a(n),s=B.get(o);if(e=11===e.nodeType?e:I,s)if("string"==typeof s){let c,r=f.get(e=e.head||e);if(r||f.set(e,r=new Set),!r.has(o)){{c=I.createElement("style"),c.innerHTML=s;const n=null!==(t=J.k)&&void 0!==t?t:i(I);null!=n&&c.setAttribute("nonce",n),e.insertBefore(c,e.querySelector("link"))}4&n.u&&(c.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);x(e,n,s,t),c&&(c.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>E(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||r(null,null),f=(e=>e&&e.p===u)(l)?l:c(null,null,l);if(n=s.tagName,o&&f.l)for(const e of Object.keys(f.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.l[e]=s[e]);f.p=null,f.u|=4,t.M=f,f.$=i.$=s.shadowRoot||s,e=s["s-sc"],g(i,f,o)})(t,l,s)}catch(e){V(e,t.$hostElement$)}return null},E=e=>{const n=e.$hostElement$,t=e.S,l=e.m;64&e.u||(e.u|=64,N(n),L(t,"componentDidLoad"),e.O(n),l||A()),e.v&&(e.v(),e.v=void 0),512&e.u&&te((()=>k(e,!1))),e.u&=-517},A=()=>{N(I.documentElement),te((()=>(e=>{const n=J.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(n),n})(G)))},L=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){V(e)}},N=e=>e.classList.add("hydrated"),R=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const i=Object.entries(n.C);if(i.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>q(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=q(e),i=o.P.get(n),c=o.u,r=o.S;t=((e,n)=>null==e||s(e)?e:1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&k(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){J.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=q(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:{}),...i.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},T=(e,n={})=>{var t;const o=[],s=n.exclude||[],c=G.customElements,r=I.head,u=r.querySelector("meta[charset]"),f=I.createElement("style"),d=[];let y,p=!0;Object.assign(J,n),J.L=new URL(n.resourcesUrl||"./",I.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],h:n[1],C:n[2],N:n[3]};4&t.u&&($=!0),t.C=n[2];const l=t.h,i=class extends HTMLElement{constructor(e){super(e),F(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),p?d.push(this):J.jmp((()=>(e=>{if(0==(1&J.u)){const n=q(e),t=n.j,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.R)&&n.R.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){j(n,n.m=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}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=z(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(R(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){V(e)}n.u&=-9,e()}if(l.style){let e=l.style;const n=a(t);if(!B.has(n)){const l=()=>{};((e,n,t)=>{let l=B.get(e);Q&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,B.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.m,s=()=>k(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.u)){const e=q(this);(null==e?void 0:e.S)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return q(this).R}};t.T=e[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,R(i,t,1)))}))})),o.length>0&&($&&(f.
|
|
1
|
+
let e,n,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=e=>"object"==(e=typeof e)||"function"===e;function i(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 c=(e,n,...t)=>{let l=null,o=null,i=!1,c=!1;const u=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!s(l))&&(l+=""),i&&c?u[u.length-1].t+=l:u.push(i?r(null,l):l),c=i)};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=r(e,null);return a.l=n,u.length>0&&(a.o=u),a.i=o,a},r=(e,n)=>({u:0,p:e,t:n,$:null,o:null,l:null,i:null}),u={},f=new WeakMap,a=e=>"sc-"+e.h,d=(e,n,t,l,o,i)=>{if(t!==l){let c=H(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=p(t),s=p(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=s(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&i||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):H(G,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith($);n=n.replace(h,""),t&&J.rel(e,n,t,o),l&&J.ael(e,n,l,o)}}},y=/\s/,p=e=>e?e.split(y):[],$="Capture",h=RegExp($+"$"),v=(e,n,t,l)=>{const s=11===n.$.nodeType&&n.$.host?n.$.host:n.$,i=e&&e.l||o,c=n.l||o;for(l in i)l in c||d(s,l,i[l],void 0,t,n.u);for(l in c)d(s,l,i[l],c[l],t,n.u)},m=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.$=I.createTextNode(s.t);else if(i=s.$=I.createElement(s.p),v(null,s,!1),null!=e&&i["s-si"]!==e&&i.classList.add(i["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=m(t,s,r),c&&i.appendChild(c);return i["s-hn"]=n,i},b=(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=m(null,l,s),c&&(o[s].$=c,r.insertBefore(c,t)))},w=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;e&&e.remove()}}},S=(e,n,t=!1)=>e.p===n.p&&(!!t||e.i===n.i),g=(e,n,t=!1)=>{const l=n.$=e.$,o=e.o,s=n.o,i=n.t;null===i?(v(e,n,!1),null!==o&&null!==s?((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(S(d,$,o))g(d,$,o),d=n[++c],$=l[++r];else if(S(y,h,o))g(y,h,o),y=n[--a],h=l[--p];else if(S(d,h,o))g(d,h,o),e.insertBefore(d.$,y.$.nextSibling),d=n[++c],h=l[--p];else if(S(y,$,o))g(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=m(n&&n[r],t,u):(g(i,$,o),n[u]=void 0,s=i.$),$=l[++r]):(s=m(n&&n[r],t,r),$=l[++r]),s&&d.$.parentNode.insertBefore(s,d.$)}c>a?b(e,null==l[p+1]?null:l[p+1].$,t,l,r,p):r>p&&w(n,c,a)})(l,o,n,s,t):null!==s?(null!==e.t&&(l.textContent=""),b(l,null,n,s,0,s.length-1)):null!==o&&w(o,0,o.length-1)):e.t!==i&&(l.data=i)},j=(e,n)=>{n&&!e.v&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.v=n)))},k=(e,n)=>{if(e.u|=16,!(4&e.u))return j(e,e.m),le((()=>M(e,n)));e.u|=512},M=(e,n)=>{const t=e.S;return O(void 0,(()=>P(e,t,n)))},O=(e,n)=>C(e)?e.then(n):n(),C=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,P=async(e,n,t)=>{var o;const s=e.$hostElement$,c=s["s-rc"];t&&(e=>{const n=e.j,t=e.$hostElement$,o=n.u,s=((e,n)=>{var t;const o=a(n),s=B.get(o);if(e=11===e.nodeType?e:I,s)if("string"==typeof s){let c,r=f.get(e=e.head||e);if(r||f.set(e,r=new Set),!r.has(o)){{c=I.createElement("style"),c.innerHTML=s;const n=null!==(t=J.k)&&void 0!==t?t:i(I);null!=n&&c.setAttribute("nonce",n),e.insertBefore(c,e.querySelector("link"))}4&n.u&&(c.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);x(e,n,s,t),c&&(c.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>E(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||r(null,null),f=(e=>e&&e.p===u)(l)?l:c(null,null,l);if(n=s.tagName,o&&f.l)for(const e of Object.keys(f.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.l[e]=s[e]);f.p=null,f.u|=4,t.M=f,f.$=i.$=s.shadowRoot||s,e=s["s-sc"],g(i,f,o)})(t,l,s)}catch(e){V(e,t.$hostElement$)}return null},E=e=>{const n=e.$hostElement$,t=e.S,l=e.m;64&e.u||(e.u|=64,N(n),L(t,"componentDidLoad"),e.O(n),l||A()),e.v&&(e.v(),e.v=void 0),512&e.u&&te((()=>k(e,!1))),e.u&=-517},A=()=>{N(I.documentElement),te((()=>(e=>{const n=J.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(n),n})(G)))},L=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){V(e)}},N=e=>e.classList.add("hydrated"),R=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const i=Object.entries(n.C);if(i.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>q(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=q(e),i=o.P.get(n),c=o.u,r=o.S;t=((e,n)=>null==e||s(e)?e:1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&k(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){J.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=q(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:{}),...i.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},T=(e,n={})=>{var t;const o=[],s=n.exclude||[],c=G.customElements,r=I.head,u=r.querySelector("meta[charset]"),f=I.createElement("style"),d=[];let y,p=!0;Object.assign(J,n),J.L=new URL(n.resourcesUrl||"./",I.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],h:n[1],C:n[2],N:n[3]};4&t.u&&($=!0),t.C=n[2];const l=t.h,i=class extends HTMLElement{constructor(e){super(e),F(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),p?d.push(this):J.jmp((()=>(e=>{if(0==(1&J.u)){const n=q(e),t=n.j,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.R)&&n.R.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){j(n,n.m=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}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=z(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(R(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){V(e)}n.u&=-9,e()}if(l.style){let e=l.style;const n=a(t);if(!B.has(n)){const l=()=>{};((e,n,t)=>{let l=B.get(e);Q&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,B.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.m,s=()=>k(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.u)){const e=q(this);(null==e?void 0:e.S)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return q(this).R}};t.T=e[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,R(i,t,1)))}))})),o.length>0&&($&&(f.textContent+=l),f.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=J.k)&&void 0!==t?t:i(I);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}p=!1,d.length?d.map((e=>e.connectedCallback())):J.jmp((()=>y=setTimeout(A,30)))},U=e=>J.k=e,W=new WeakMap,q=e=>W.get(e),D=(e,n)=>W.set(n.S=e,n),F=(e,n)=>{const t={u:0,$hostElement$:e,j:n,P:new Map};return t.R=new Promise((e=>t.O=e)),e["s-p"]=[],e["s-rc"]=[],W.set(e,t)},H=(e,n)=>n in e,V=(e,n)=>(0,console.error)(e,n),_=new Map,z=e=>{const n=e.h.replace(/-/g,"_"),t=e.T,l=_.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(_.set(t,e),e[n])),V)
|
|
2
2
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},B=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={u:0,L:"",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)},K=e=>Promise.resolve(e),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),X=[],Y=[],Z=(e,n)=>l=>{e.push(l),t||(t=!0,n&&4&J.u?te(ne):J.raf(ne))},ee=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){V(e)}e.length=0},ne=()=>{ee(X),ee(Y),(t=X.length>0)&&J.raf(ne)},te=e=>K().then(e),le=Z(Y,!0);export{T as b,c as h,K as p,D as r,U as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as
|
|
1
|
+
import{p as t,b as a}from"./p-c00bb3a7.js";export{s as setNonce}from"./p-c00bb3a7.js";import{g as e}from"./p-e1255160.js";(()=>{const a=import.meta.url,e={};return""!==a&&(e.resourcesUrl=new URL(".",a).href),t(e)})().then((async t=>(await e(),a([["p-84b89d15",[[0,"proto-faux-trigger",{emitter:[1],data:[1040]}],[1,"proto-daisy-db",{emitter:[1]}],[0,"proto-faux-keys",{data:[16]}],[0,"proto-faux-stamp",{data:[16]}],[0,"proto-faux-type",{emitter:[1],eventType:[1025,"event-type"]}]]]],t))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.255",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "4.12.
|
|
30
|
+
"@stencil/core": "4.12.3",
|
|
31
31
|
"mitt": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"autoprefixer": "10.4.17",
|
|
35
35
|
"concurrently": "8.2.2",
|
|
36
|
-
"cspell": "8.4.
|
|
36
|
+
"cspell": "8.4.1",
|
|
37
37
|
"postcss": "8.4.35",
|
|
38
38
|
"prettier": "3.2.5",
|
|
39
39
|
"prettier-plugin-tailwindcss": "0.5.11",
|