proto-daisy-db 0.0.291 → 0.0.292
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-77ba82f1.js → index-a14a9584.js} +23 -7
- 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-32edc2f3.js → index-72a3976e.js} +23 -7
- 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-7da93240.js +2 -0
- package/dist/proto-daisy-db/{p-f93d09f0.entry.js → p-83a6673e.entry.js} +1 -1
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +2 -8
- package/package.json +4 -4
- package/dist/proto-daisy-db/p-f922ff94.js +0 -2
|
@@ -21,9 +21,10 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'proto-daisy-db';
|
|
24
|
+
const BUILD = /* proto-daisy-db */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
24
25
|
|
|
25
26
|
/*
|
|
26
|
-
Stencil Client Platform v4.18.
|
|
27
|
+
Stencil Client Platform v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
27
28
|
*/
|
|
28
29
|
var __defProp = Object.defineProperty;
|
|
29
30
|
var __export = (target, all) => {
|
|
@@ -569,8 +570,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
569
570
|
return writeTask(dispatch) ;
|
|
570
571
|
};
|
|
571
572
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
573
|
+
const elm = hostRef.$hostElement$;
|
|
572
574
|
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
573
575
|
const instance = hostRef.$lazyInstance$ ;
|
|
576
|
+
if (!instance) {
|
|
577
|
+
throw new Error(
|
|
578
|
+
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
579
|
+
);
|
|
580
|
+
}
|
|
574
581
|
let maybePromise;
|
|
575
582
|
endSchedule();
|
|
576
583
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
@@ -679,7 +686,10 @@ var safeCall = (instance, method, arg) => {
|
|
|
679
686
|
}
|
|
680
687
|
return void 0;
|
|
681
688
|
};
|
|
682
|
-
var addHydratedFlag = (elm) =>
|
|
689
|
+
var addHydratedFlag = (elm) => {
|
|
690
|
+
var _a;
|
|
691
|
+
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
692
|
+
};
|
|
683
693
|
|
|
684
694
|
// src/runtime/set-value.ts
|
|
685
695
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
@@ -776,11 +786,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
776
786
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
777
787
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
778
788
|
if (bundleId) {
|
|
779
|
-
|
|
780
|
-
if (
|
|
789
|
+
const CstrImport = loadModule(cmpMeta);
|
|
790
|
+
if (CstrImport && "then" in CstrImport) {
|
|
781
791
|
const endLoad = uniqueTime();
|
|
782
|
-
Cstr = await
|
|
792
|
+
Cstr = await CstrImport;
|
|
783
793
|
endLoad();
|
|
794
|
+
} else {
|
|
795
|
+
Cstr = CstrImport;
|
|
796
|
+
}
|
|
797
|
+
if (!Cstr) {
|
|
798
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
784
799
|
}
|
|
785
800
|
if (!Cstr.isProxied) {
|
|
786
801
|
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
@@ -801,9 +816,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
801
816
|
endNewInstance();
|
|
802
817
|
} else {
|
|
803
818
|
Cstr = elm.constructor;
|
|
804
|
-
|
|
819
|
+
const cmpTag = elm.localName;
|
|
820
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
805
821
|
}
|
|
806
|
-
if (Cstr.style) {
|
|
822
|
+
if (Cstr && Cstr.style) {
|
|
807
823
|
let style = Cstr.style;
|
|
808
824
|
const scopeId2 = getScopeId(cmpMeta);
|
|
809
825
|
if (!styles.has(scopeId2)) {
|
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-a14a9584.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-a14a9584.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.18.
|
|
9
|
+
Stencil Client Patch Browser v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var 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));
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const NAMESPACE = 'proto-daisy-db';
|
|
2
|
+
const BUILD = /* proto-daisy-db */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
2
3
|
|
|
3
4
|
/*
|
|
4
|
-
Stencil Client Platform v4.18.
|
|
5
|
+
Stencil Client Platform v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
5
6
|
*/
|
|
6
7
|
var __defProp = Object.defineProperty;
|
|
7
8
|
var __export = (target, all) => {
|
|
@@ -547,8 +548,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
547
548
|
return writeTask(dispatch) ;
|
|
548
549
|
};
|
|
549
550
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
551
|
+
const elm = hostRef.$hostElement$;
|
|
550
552
|
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
551
553
|
const instance = hostRef.$lazyInstance$ ;
|
|
554
|
+
if (!instance) {
|
|
555
|
+
throw new Error(
|
|
556
|
+
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
557
|
+
);
|
|
558
|
+
}
|
|
552
559
|
let maybePromise;
|
|
553
560
|
endSchedule();
|
|
554
561
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
@@ -657,7 +664,10 @@ var safeCall = (instance, method, arg) => {
|
|
|
657
664
|
}
|
|
658
665
|
return void 0;
|
|
659
666
|
};
|
|
660
|
-
var addHydratedFlag = (elm) =>
|
|
667
|
+
var addHydratedFlag = (elm) => {
|
|
668
|
+
var _a;
|
|
669
|
+
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
670
|
+
};
|
|
661
671
|
|
|
662
672
|
// src/runtime/set-value.ts
|
|
663
673
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
@@ -754,11 +764,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
754
764
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
755
765
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
756
766
|
if (bundleId) {
|
|
757
|
-
|
|
758
|
-
if (
|
|
767
|
+
const CstrImport = loadModule(cmpMeta);
|
|
768
|
+
if (CstrImport && "then" in CstrImport) {
|
|
759
769
|
const endLoad = uniqueTime();
|
|
760
|
-
Cstr = await
|
|
770
|
+
Cstr = await CstrImport;
|
|
761
771
|
endLoad();
|
|
772
|
+
} else {
|
|
773
|
+
Cstr = CstrImport;
|
|
774
|
+
}
|
|
775
|
+
if (!Cstr) {
|
|
776
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
762
777
|
}
|
|
763
778
|
if (!Cstr.isProxied) {
|
|
764
779
|
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
@@ -779,9 +794,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
779
794
|
endNewInstance();
|
|
780
795
|
} else {
|
|
781
796
|
Cstr = elm.constructor;
|
|
782
|
-
|
|
797
|
+
const cmpTag = elm.localName;
|
|
798
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
783
799
|
}
|
|
784
|
-
if (Cstr.style) {
|
|
800
|
+
if (Cstr && Cstr.style) {
|
|
785
801
|
let style = Cstr.style;
|
|
786
802
|
const scopeId2 = getScopeId(cmpMeta);
|
|
787
803
|
if (!styles.has(scopeId2)) {
|
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-72a3976e.js';
|
|
2
|
+
export { s as setNonce } from './index-72a3976e.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-72a3976e.js';
|
|
2
|
+
export { s as setNonce } from './index-72a3976e.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.18.
|
|
6
|
+
Stencil Client Patch Browser v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>r,map:()=>s,ok:()=>o,unwrap:()=>u,unwrapErr:()=>a});var o=e=>({isOk:!0,isErr:!1,value:e}),r=e=>({isOk:!1,isErr:!0,value:e});function s(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>o(e))):o(n)}if(e.isErr)return r(e.value);throw"should never get here"}var i,c,u=e=>{if(e.isOk)return e.value;throw e.value},a=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",h=(e,t,...l)=>{let o=null,r=null,s=!1,i=!1;const c=[],u=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!n(o))&&(o+=""),s&&i?c[c.length-1].t+=o:c.push(s?d(null,o):o),i=s)};if(u(l),t){t.key&&(r=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=d(e,null);return a.l=t,c.length>0&&(a.o=c),a.i=r,a},d=(e,t)=>({u:0,h:e,t,m:null,o:null,l:null,i:null}),m={},p=new WeakMap,y=e=>"sc-"+e.p,$=(e,t,l,o,r,s)=>{if(l!==o){let i=K(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,n=w(l),r=w(o);t.remove(...n.filter((e=>e&&!r.includes(e)))),t.add(...r.filter((e=>e&&!n.includes(e))))}else if("key"===t);else if(i||"o"!==t[0]||"n"!==t[1]){const c=n(o);if((i||c&&null!==o)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&s||r)&&!c&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):K(ee,c)?c.slice(2):c[2]+t.slice(3),l||o){const n=t.endsWith(b);t=t.replace(S,""),l&&ne.rel(e,t,l,n),o&&ne.ael(e,t,o,n)}}},v=/\s/,w=e=>e?e.split(v):[],b="Capture",S=RegExp(b+"$"),g=(e,n,l)=>{const o=11===n.m.nodeType&&n.m.host?n.m.host:n.m,r=e&&e.l||t,s=n.l||t;for(const e of j(Object.keys(r)))e in s||$(o,e,r[e],void 0,l,n.u);for(const e of j(Object.keys(s)))$(o,e,r[e],s[e],l,n.u)};function j(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var k=!1,O=(e,t,n)=>{const l=t.o[n];let o,r,s=0;if(null!==l.t)o=l.m=te.createTextNode(l.t);else if(o=l.m=te.createElement(l.h),g(null,l,k),null!=i&&o["s-si"]!==i&&o.classList.add(o["s-si"]=i),l.o)for(s=0;s<l.o.length;++s)r=O(e,l,s),r&&o.appendChild(r);return o["s-hn"]=c,o},E=(e,t,n,l,o,r)=>{let s,i=e;for(i.shadowRoot&&i.tagName===c&&(i=i.shadowRoot);o<=r;++o)l[o]&&(s=O(null,n,o),s&&(l[o].m=s,x(i,s,t)))},C=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.m;e&&e.remove()}}},M=(e,t,n=!1)=>e.h===t.h&&(!!n||e.i===t.i),P=(e,t,n=!1)=>{const l=t.m=e.m,o=e.o,r=t.o,s=t.t;null===s?(g(e,t,k),null!==o&&null!==r?((e,t,n,l,o=!1)=>{let r,s,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],m=l.length-1,p=l[0],y=l[m];for(;i<=f&&c<=m;)if(null==h)h=t[++i];else if(null==d)d=t[--f];else if(null==p)p=l[++c];else if(null==y)y=l[--m];else if(M(h,p,o))P(h,p,o),h=t[++i],p=l[++c];else if(M(d,y,o))P(d,y,o),d=t[--f],y=l[--m];else if(M(h,y,o))P(h,y,o),x(e,h.m,d.m.nextSibling),h=t[++i],y=l[--m];else if(M(d,p,o))P(d,p,o),x(e,d.m,h.m),d=t[--f],p=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===p.i){u=a;break}u>=0?(s=t[u],s.h!==p.h?r=O(t&&t[c],n,u):(P(s,p,o),t[u]=void 0,r=s.m),p=l[++c]):(r=O(t&&t[c],n,c),p=l[++c]),r&&x(h.m.parentNode,r,h.m)}i>f?E(e,null==l[m+1]?null:l[m+1].m,n,l,c,m):c>m&&C(t,i,f)})(l,o,t,r,n):null!==r?(null!==e.t&&(l.textContent=""),E(l,null,t,r,0,r.length-1)):null!==o&&C(o,0,o.length-1)):e.t!==s&&(l.data=s)},x=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),R=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},T=(e,t)=>{if(e.u|=16,!(4&e.u))return R(e,e.v),he((()=>A(e,t)));e.u|=512},A=(e,t)=>{const n=e.S;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);return L(void 0,(()=>D(e,n,t)))},L=(e,t)=>N(e)?e.then(t):t(),N=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,D=async(e,t,n)=>{var o;const r=e.$hostElement$,s=r["s-rc"];n&&(e=>{const t=e.j,n=e.$hostElement$,o=t.u,r=((e,t)=>{var n;const o=y(t),r=Z.get(o);if(e=11===e.nodeType?e:te,r)if("string"==typeof r){let s,i=p.get(e=e.head||e);if(i||p.set(e,i=new Set),!i.has(o)){{s=te.createElement("style"),s.innerHTML=r;const t=null!=(n=ne.k)?n:l(te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.u&&(s.innerHTML+=f),i&&i.add(o)}}else e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(e);F(e,t,r,n),s&&(s.map((e=>e())),r["s-rc"]=void 0);{const t=null!=(o=r["s-p"])?o:[],n=()=>H(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},F=(e,t,n,l)=>{try{t=t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O||d(null,null),r=(e=>e&&e.h===m)(t)?t:h(null,null,t);if(c=l.tagName,n&&r.l)for(const e of Object.keys(r.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.l[e]=l[e]);r.h=null,r.u|=4,e.O=r,r.m=o.m=l.shadowRoot||l,i=l["s-sc"],P(o,r,n)})(e,t,l)}catch(t){Q(t,e.$hostElement$)}return null},H=e=>{const t=e.$hostElement$,n=e.S,l=e.v;64&e.u||(e.u|=64,q(t),W(n,"componentDidLoad"),e.C(t),l||U()),e.$&&(e.$(),e.$=void 0),512&e.u&&fe((()=>T(e,!1))),e.u&=-517},U=()=>{q(te.documentElement),fe((()=>(e=>{const t=ne.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(t),t})(ee)))},W=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Q(e)}},q=e=>e.classList.add(("hydrated","hydrated")),G=(e,t,l)=>{var o;const r=e.prototype;if(t.M){const s=Object.entries(t.M);if(s.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>B(this).P.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=B(e);if(!r)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const s=r.P.get(t),i=r.u,c=r.S;l=((e,t)=>null==e||n(e)?e:1&t?e+"":e)(l,o.M[t][0]),8&i&&void 0!==s||l===s||Number.isNaN(s)&&Number.isNaN(l)||(r.P.set(t,l),c&&2==(18&i)&&T(r,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const n=new Map;r.attributeChangedCallback=function(e,l,o){ne.jmp((()=>{var s;const i=n.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(r.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const n=B(this),r=null==n?void 0:n.u;if(r&&!(8&r)&&128&r&&o!==l){const r=n.S,i=null==(s=t.R)?void 0:s[e];null==i||i.forEach((t=>{null!=r[t]&&r[t].call(r,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.R)?o:{}),...s.filter((([e,t])=>15&t[0])).map((([e,t])=>{const l=t[1]||e;return n.set(l,e),l}))]))}}return e},V=(e,t={})=>{var n;const o=[],r=t.exclude||[],s=ee.customElements,i=te.head,c=i.querySelector("meta[charset]"),u=te.createElement("style"),a=[];let h,d=!0;Object.assign(ne,t),ne.T=new URL(t.resourcesUrl||"./",te.baseURI).href;let m=!1;if(e.map((e=>{e[1].map((t=>{const n={u:t[0],p:t[1],M:t[2],A:t[3]};4&n.u&&(m=!0),n.M=t[2];const l=n.p,i=class extends HTMLElement{constructor(e){super(e),J(e=this,n),1&n.u&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),d?a.push(this):ne.jmp((()=>(e=>{if(!(1&ne.u)){const t=B(e),n=t.j,l=()=>{};if(1&t.u)(null==t?void 0:t.S)||(null==t?void 0:t.L)&&t.L.then((()=>{}));else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){R(t,t.v=n);break}}n.M&&Object.entries(n.M).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.u)){if(t.u|=32,n.N){const e=Y(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.p}#${t.D}" was not found`);l.isProxied||(G(l,n,2),l.isProxied=!0);const o=()=>{};t.u|=8;try{new l(t)}catch(e){Q(e)}t.u&=-9,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128));if(l&&l.style){let e=l.style;const t=y(n);if(!Z.has(t)){const l=()=>{};((e,t,n)=>{let l=Z.get(e);oe&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Z.set(e,l)})(t,e,!!(1&n.u)),l()}}}const o=t.v,r=()=>T(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(e,t,n)}l()}})(this)))}disconnectedCallback(){ne.jmp((()=>(async()=>{if(!(1&ne.u)){const e=B(this);(null==e?void 0:e.S)||(null==e?void 0:e.L)&&e.L.then((()=>{}))}})()))}componentOnReady(){return B(this).L}};n.N=e[0],r.includes(l)||s.get(l)||(o.push(l),s.define(l,G(i,n,1)))}))})),o.length>0&&(m&&(u.textContent+=f),u.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=ne.k)?n:l(te);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):ne.jmp((()=>h=setTimeout(U,30)))},_=e=>ne.k=e,z=new WeakMap,B=e=>z.get(e),I=(e,t)=>z.set(t.S=e,t),J=(e,t)=>{const n={u:0,$hostElement$:e,j:t,P:new Map};return n.L=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],z.set(e,n)},K=(e,t)=>t in e,Q=(e,t)=>(0,console.error)(e,t),X=new Map,Y=e=>{const t=e.p.replace(/-/g,"_"),n=e.N,l=X.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(X.set(n,e),e[t])),Q)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Z=new Map,ee="undefined"!=typeof window?window:{},te=ee.document||{head:{}},ne={u:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),oe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),re=!1,se=[],ie=[],ce=(e,t)=>n=>{e.push(n),re||(re=!0,t&&4&ne.u?fe(ae):ne.raf(ae))},ue=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Q(e)}e.length=0},ae=()=>{ue(se),ue(ie),(re=se.length>0)&&ne.raf(ae)},fe=e=>le().then(e),he=ce(ie,!0);export{V as b,h,le as p,I as r,_ as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a}from"./p-
|
|
1
|
+
import{r as t,h as a}from"./p-7da93240.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 +1 @@
|
|
|
1
|
-
import{p as t,b as
|
|
1
|
+
import{p as t,b as a}from"./p-7da93240.js";export{s as setNonce}from"./p-7da93240.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-83a6673e",[[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))));
|
|
@@ -795,7 +795,6 @@ export declare namespace JSXBase {
|
|
|
795
795
|
cite?: string;
|
|
796
796
|
}
|
|
797
797
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
798
|
-
autoFocus?: boolean;
|
|
799
798
|
disabled?: boolean;
|
|
800
799
|
form?: string;
|
|
801
800
|
formAction?: string;
|
|
@@ -922,8 +921,6 @@ export declare namespace JSXBase {
|
|
|
922
921
|
autocapitalize?: string;
|
|
923
922
|
autoComplete?: string;
|
|
924
923
|
autocomplete?: string;
|
|
925
|
-
autoFocus?: boolean;
|
|
926
|
-
autofocus?: boolean | string;
|
|
927
924
|
capture?: string;
|
|
928
925
|
checked?: boolean;
|
|
929
926
|
crossOrigin?: string;
|
|
@@ -980,8 +977,6 @@ export declare namespace JSXBase {
|
|
|
980
977
|
popoverTarget?: string;
|
|
981
978
|
}
|
|
982
979
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
983
|
-
autoFocus?: boolean;
|
|
984
|
-
autofocus?: boolean | string;
|
|
985
980
|
challenge?: string;
|
|
986
981
|
disabled?: boolean;
|
|
987
982
|
form?: string;
|
|
@@ -1130,7 +1125,6 @@ export declare namespace JSXBase {
|
|
|
1130
1125
|
type?: string;
|
|
1131
1126
|
}
|
|
1132
1127
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1133
|
-
autoFocus?: boolean;
|
|
1134
1128
|
disabled?: boolean;
|
|
1135
1129
|
form?: string;
|
|
1136
1130
|
multiple?: boolean;
|
|
@@ -1165,8 +1159,6 @@ export declare namespace JSXBase {
|
|
|
1165
1159
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1166
1160
|
autoComplete?: string;
|
|
1167
1161
|
autocomplete?: string;
|
|
1168
|
-
autoFocus?: boolean;
|
|
1169
|
-
autofocus?: boolean | string;
|
|
1170
1162
|
cols?: number;
|
|
1171
1163
|
disabled?: boolean;
|
|
1172
1164
|
form?: string;
|
|
@@ -1219,6 +1211,8 @@ export declare namespace JSXBase {
|
|
|
1219
1211
|
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
1220
1212
|
innerHTML?: string;
|
|
1221
1213
|
accessKey?: string;
|
|
1214
|
+
autoFocus?: boolean;
|
|
1215
|
+
autofocus?: boolean | string;
|
|
1222
1216
|
class?: string | {
|
|
1223
1217
|
[className: string]: boolean;
|
|
1224
1218
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.292",
|
|
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.18.
|
|
30
|
+
"@stencil/core": "4.18.2",
|
|
31
31
|
"mitt": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"autoprefixer": "10.4.19",
|
|
35
35
|
"concurrently": "8.2.2",
|
|
36
|
-
"cspell": "8.8.
|
|
36
|
+
"cspell": "8.8.3",
|
|
37
37
|
"postcss": "8.4.38",
|
|
38
38
|
"prettier": "3.2.5",
|
|
39
39
|
"prettier-plugin-tailwindcss": "0.5.14",
|
|
40
|
-
"proto-tailwindcss-clrs": "0.0.
|
|
40
|
+
"proto-tailwindcss-clrs": "0.0.333",
|
|
41
41
|
"tailwindcss": "3.4.3"
|
|
42
42
|
},
|
|
43
43
|
"license": "MIT"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,n={},t=e=>"object"==(e=typeof e)||"function"===e;function l(e){var n,t,l;return null!=(l=null==(t=null==(n=e.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?l:void 0}((n,t)=>{for(var l in t)e(n,l,{get:t[l],enumerable:!0})})({},{err:()=>s,map:()=>i,ok:()=>o,unwrap:()=>u,unwrapErr:()=>a});var o=e=>({isOk:!0,isErr:!1,value:e}),s=e=>({isOk:!1,isErr:!0,value:e});function i(e,n){if(e.isOk){const t=n(e.value);return t instanceof Promise?t.then((e=>o(e))):o(t)}if(e.isErr)return s(e.value);throw"should never get here"}var r,c,u=e=>{if(e.isOk)return e.value;throw e.value},a=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",h=(e,n,...l)=>{let o=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let l=0;l<n.length;l++)o=n[l],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!t(o))&&(o+=""),i&&r?c[c.length-1].t+=o:c.push(i?d(null,o):o),r=i)};if(u(l),n){n.key&&(s=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=d(e,null);return a.l=n,c.length>0&&(a.o=c),a.i=s,a},d=(e,n)=>({u:0,h:e,t:n,p:null,o:null,l:null,i:null}),p={},m=new WeakMap,y=e=>"sc-"+e.m,$=(e,n,l,o,s,i)=>{if(l!==o){let r=K(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,t=b(l),s=b(o);n.remove(...t.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!t.includes(e))))}else if("key"===n);else if(r||"o"!==n[0]||"n"!==n[1]){const c=t(o);if((r||c&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[n]=o;else{const t=null==o?"":o;"list"===n?r=!1:null!=l&&e[n]==t||(e[n]=t)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(n)||e.removeAttribute(n):(!r||4&i||s)&&!c&&e.setAttribute(n,o=!0===o?"":o)}else if(n="-"===n[2]?n.slice(3):K(ee,c)?c.slice(2):c[2]+n.slice(3),l||o){const t=n.endsWith(w);n=n.replace(S,""),l&&te.rel(e,n,l,t),o&&te.ael(e,n,o,t)}}},v=/\s/,b=e=>e?e.split(v):[],w="Capture",S=RegExp(w+"$"),g=(e,t,l)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,s=e&&e.l||n,i=t.l||n;for(const e of j(Object.keys(s)))e in i||$(o,e,s[e],void 0,l,t.u);for(const e of j(Object.keys(i)))$(o,e,s[e],i[e],l,t.u)};function j(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var k=!1,O=(e,n,t)=>{const l=n.o[t];let o,s,i=0;if(null!==l.t)o=l.p=ne.createTextNode(l.t);else if(o=l.p=ne.createElement(l.h),g(null,l,k),null!=r&&o["s-si"]!==r&&o.classList.add(o["s-si"]=r),l.o)for(i=0;i<l.o.length;++i)s=O(e,l,i),s&&o.appendChild(s);return o["s-hn"]=c,o},E=(e,n,t,l,o,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===c&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=O(null,t,o),i&&(l[o].p=i,x(r,i,n)))},C=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;e&&e.remove()}}},M=(e,n,t=!1)=>e.h===n.h&&(!!t||e.i===n.i),P=(e,n,t=!1)=>{const l=n.p=e.p,o=e.o,s=n.o,i=n.t;null===i?(g(e,n,k),null!==o&&null!==s?((e,n,t,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=n.length-1,h=n[0],d=n[f],p=l.length-1,m=l[0],y=l[p];for(;r<=f&&c<=p;)if(null==h)h=n[++r];else if(null==d)d=n[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(M(h,m,o))P(h,m,o),h=n[++r],m=l[++c];else if(M(d,y,o))P(d,y,o),d=n[--f],y=l[--p];else if(M(h,y,o))P(h,y,o),x(e,h.p,d.p.nextSibling),h=n[++r],y=l[--p];else if(M(d,m,o))P(d,m,o),x(e,d.p,h.p),d=n[--f],m=l[++c];else{for(u=-1,a=r;a<=f;++a)if(n[a]&&null!==n[a].i&&n[a].i===m.i){u=a;break}u>=0?(i=n[u],i.h!==m.h?s=O(n&&n[c],t,u):(P(i,m,o),n[u]=void 0,s=i.p),m=l[++c]):(s=O(n&&n[c],t,c),m=l[++c]),s&&x(h.p.parentNode,s,h.p)}r>f?E(e,null==l[p+1]?null:l[p+1].p,t,l,c,p):c>p&&C(n,r,f)})(l,o,n,s,t):null!==s?(null!==e.t&&(l.textContent=""),E(l,null,n,s,0,s.length-1)):null!==o&&C(o,0,o.length-1)):e.t!==i&&(l.data=i)},x=(e,n,t)=>null==e?void 0:e.insertBefore(n,t),T=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},A=(e,n)=>{if(e.u|=16,!(4&e.u))return T(e,e.v),he((()=>L(e,n)));e.u|=512},L=(e,n)=>{const t=e.S;return N(void 0,(()=>D(e,t,n)))},N=(e,n)=>R(e)?e.then(n):n(),R=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,D=async(e,n,t)=>{var o;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.j,t=e.$hostElement$,o=n.u,s=((e,n)=>{var t;const o=y(n),s=Z.get(o);if(e=11===e.nodeType?e:ne,s)if("string"==typeof s){let i,r=m.get(e=e.head||e);if(r||m.set(e,r=new Set),!r.has(o)){{i=ne.createElement("style"),i.innerHTML=s;const n=null!=(t=te.k)?t:l(ne);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=f),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);H(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],t=()=>U(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},H=(e,n,t,l)=>{try{n=n.render(),e.u&=-17,e.u|=2,((e,n,t=!1)=>{const l=e.$hostElement$,o=e.O||d(null,null),s=(e=>e&&e.h===p)(n)?n:h(null,null,n);if(c=l.tagName,t&&s.l)for(const e of Object.keys(s.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.l[e]=l[e]);s.h=null,s.u|=4,e.O=s,s.p=o.p=l.shadowRoot||l,r=l["s-sc"],P(o,s,t)})(e,n,l)}catch(n){Q(n,e.$hostElement$)}return null},U=e=>{const n=e.$hostElement$,t=e.S,l=e.v;64&e.u||(e.u|=64,F(n),q(t,"componentDidLoad"),e.C(n),l||W()),e.$&&(e.$(),e.$=void 0),512&e.u&&fe((()=>A(e,!1))),e.u&=-517},W=()=>{F(ne.documentElement),fe((()=>(e=>{const n=te.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(n),n})(ee)))},q=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){Q(e)}},F=e=>e.classList.add("hydrated"),G=(e,n,l)=>{var o;const s=e.prototype;if(n.M){const i=Object.entries(n.M);if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(s,e,{get(){return((e,n)=>B(this).P.get(n))(0,e)},set(l){((e,n,l,o)=>{const s=B(e);if(!s)throw Error(`Couldn't find host element for "${o.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=s.P.get(n),r=s.u,c=s.S;l=((e,n)=>null==e||t(e)?e:1&n?e+"":e)(l,o.M[n][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.P.set(n,l),c&&2==(18&r)&&A(s,!1))})(this,e,l,n)},configurable:!0,enumerable:!0})})),1&l){const t=new Map;s.attributeChangedCallback=function(e,l,o){te.jmp((()=>{var i;const r=t.get(e);if(this.hasOwnProperty(r))o=this[r],delete this[r];else{if(s.hasOwnProperty(r)&&"number"==typeof this[r]&&this[r]==o)return;if(null==r){const t=B(this),s=null==t?void 0:t.u;if(s&&!(8&s)&&128&s&&o!==l){const s=t.S,r=null==(i=n.T)?void 0:i[e];null==r||r.forEach((n=>{null!=s[n]&&s[n].call(s,o,l,e)}))}return}}this[r]=(null!==o||"boolean"!=typeof this[r])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.T)?o:{}),...i.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},V=(e,n={})=>{var t;const o=[],s=n.exclude||[],i=ee.customElements,r=ne.head,c=r.querySelector("meta[charset]"),u=ne.createElement("style"),a=[];let h,d=!0;Object.assign(te,n),te.A=new URL(n.resourcesUrl||"./",ne.baseURI).href;let p=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],m:n[1],M:n[2],L:n[3]};4&t.u&&(p=!0),t.M=n[2];const l=t.m,r=class extends HTMLElement{constructor(e){super(e),J(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),d?a.push(this):te.jmp((()=>(e=>{if(!(1&te.u)){const n=B(e),t=n.j,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.N)&&n.N.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){T(n,n.v=t);break}}t.M&&Object.entries(t.M).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(!(32&n.u)){if(n.u|=32,t.R){if(l=Y(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(G(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){Q(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.m).then((()=>n.u|=128));if(l.style){let e=l.style;const n=y(t);if(!Z.has(n)){const l=()=>{};((e,n,t)=>{let l=Z.get(e);oe&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,Z.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.v,s=()=>A(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,n,t)}l()}})(this)))}disconnectedCallback(){te.jmp((()=>(async()=>{if(!(1&te.u)){const e=B(this);(null==e?void 0:e.S)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}})()))}componentOnReady(){return B(this).N}};t.R=e[0],s.includes(l)||i.get(l)||(o.push(l),i.define(l,G(r,t,1)))}))})),o.length>0&&(p&&(u.textContent+=f),u.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(t=te.k)?t:l(ne);null!=e&&u.setAttribute("nonce",e),r.insertBefore(u,c?c.nextSibling:r.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):te.jmp((()=>h=setTimeout(W,30)))},_=e=>te.k=e,z=new WeakMap,B=e=>z.get(e),I=(e,n)=>z.set(n.S=e,n),J=(e,n)=>{const t={u:0,$hostElement$:e,j:n,P:new Map};return t.N=new Promise((e=>t.C=e)),e["s-p"]=[],e["s-rc"]=[],z.set(e,t)},K=(e,n)=>n in e,Q=(e,n)=>(0,console.error)(e,n),X=new Map,Y=e=>{const n=e.m.replace(/-/g,"_"),t=e.R,l=X.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(X.set(t,e),e[n])),Q)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Z=new Map,ee="undefined"!=typeof window?window:{},ne=ee.document||{head:{}},te={u:0,A:"",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)},le=e=>Promise.resolve(e),oe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),se=!1,ie=[],re=[],ce=(e,n)=>t=>{e.push(t),se||(se=!0,n&&4&te.u?fe(ae):te.raf(ae))},ue=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){Q(e)}e.length=0},ae=()=>{ue(ie),ue(re),(se=ie.length>0)&&te.raf(ae)},fe=e=>le().then(e),he=ce(re,!0);export{V as b,h,le as p,I as r,_ as s}
|