proto-daisy-db 0.0.225 → 0.0.227

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.
@@ -628,8 +628,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
628
628
  * @param oldCh the old children of the parent node
629
629
  * @param newVNode the new VNode which will replace the parent
630
630
  * @param newCh the new children of the parent node
631
+ * @param isInitialRender whether or not this is the first render of the vdom
631
632
  */
632
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
633
+ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
633
634
  let oldStartIdx = 0;
634
635
  let newStartIdx = 0;
635
636
  let oldEndIdx = oldCh.length - 1;
@@ -653,25 +654,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
653
654
  else if (newEndVnode == null) {
654
655
  newEndVnode = newCh[--newEndIdx];
655
656
  }
656
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
657
+ else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
657
658
  // if the start nodes are the same then we should patch the new VNode
658
659
  // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
659
660
  // indices to reflect that. We don't need to move any DOM Nodes around
660
661
  // since things are matched up in order.
661
- patch(oldStartVnode, newStartVnode);
662
+ patch(oldStartVnode, newStartVnode, isInitialRender);
662
663
  oldStartVnode = oldCh[++oldStartIdx];
663
664
  newStartVnode = newCh[++newStartIdx];
664
665
  }
665
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
666
+ else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
666
667
  // likewise, if the end nodes are the same we patch new onto old and
667
668
  // decrement our end indices, and also likewise in this case we don't
668
669
  // need to move any DOM Nodes.
669
- patch(oldEndVnode, newEndVnode);
670
+ patch(oldEndVnode, newEndVnode, isInitialRender);
670
671
  oldEndVnode = oldCh[--oldEndIdx];
671
672
  newEndVnode = newCh[--newEndIdx];
672
673
  }
673
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
674
- patch(oldStartVnode, newEndVnode);
674
+ else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
675
+ patch(oldStartVnode, newEndVnode, isInitialRender);
675
676
  // We need to move the element for `oldStartVnode` into a position which
676
677
  // will be appropriate for `newEndVnode`. For this we can use
677
678
  // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
@@ -693,8 +694,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
693
694
  oldStartVnode = oldCh[++oldStartIdx];
694
695
  newEndVnode = newCh[--newEndIdx];
695
696
  }
696
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
697
- patch(oldEndVnode, newStartVnode);
697
+ else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
698
+ patch(oldEndVnode, newStartVnode, isInitialRender);
698
699
  // We've already checked above if `oldStartVnode` and `newStartVnode` are
699
700
  // the same node, so since we're here we know that they are not. Thus we
700
701
  // can move the element for `oldEndVnode` _before_ the element for
@@ -748,9 +749,10 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
748
749
  *
749
750
  * @param leftVNode the first VNode to check
750
751
  * @param rightVNode the second VNode to check
752
+ * @param isInitialRender whether or not this is the first render of the vdom
751
753
  * @returns whether they're equal or not
752
754
  */
753
- const isSameVnode = (leftVNode, rightVNode) => {
755
+ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
754
756
  // compare if two vnode to see if they're "technically" the same
755
757
  // need to have the same element tag, and same key to be the same
756
758
  if (leftVNode.$tag$ === rightVNode.$tag$) {
@@ -765,8 +767,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
765
767
  *
766
768
  * @param oldVNode an old VNode whose DOM element and children we want to update
767
769
  * @param newVNode a new VNode representing an updated version of the old one
770
+ * @param isInitialRender whether or not this is the first render of the vdom
768
771
  */
769
- const patch = (oldVNode, newVNode) => {
772
+ const patch = (oldVNode, newVNode, isInitialRender = false) => {
770
773
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
771
774
  const oldChildren = oldVNode.$children$;
772
775
  const newChildren = newVNode.$children$;
@@ -783,7 +786,7 @@ const patch = (oldVNode, newVNode) => {
783
786
  if (oldChildren !== null && newChildren !== null) {
784
787
  // looks like there's child vnodes for both the old and new vnodes
785
788
  // so we need to call `updateChildren` to reconcile them
786
- updateChildren(elm, oldChildren, newVNode, newChildren);
789
+ updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
787
790
  }
788
791
  else if (newChildren !== null) {
789
792
  // no old child vnodes, but there are new child vnodes to add
@@ -857,7 +860,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
857
860
  scopeId = hostElm['s-sc'];
858
861
  }
859
862
  // synchronous patch
860
- patch(oldVNode, rootVnode);
863
+ patch(oldVNode, rootVnode, isInitialLoad);
861
864
  };
862
865
  const attachToAncestor = (hostRef, ancestorComponent) => {
863
866
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2be78af5.js');
5
+ const index = require('./index-7e1f587b.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2be78af5.js');
5
+ const index = require('./index-7e1f587b.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.8.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  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));
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2be78af5.js');
5
+ const index = require('./index-7e1f587b.js');
6
6
 
7
7
  const KEY = 'proto-daisy-db:app-data';
8
8
  const promisedParseJSON = (json) => {
@@ -91,7 +91,7 @@ const ProtoFauxStamp = class {
91
91
  };
92
92
  ProtoFauxStamp.style = protoFauxStampCss;
93
93
 
94
- const protoFauxTriggerCss = "*,::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,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n Arial,\n 'Noto Sans',\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n '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)}";
94
+ const protoFauxTriggerCss = "*,::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)}";
95
95
 
96
96
  const ProtoFauxTrigger = class {
97
97
  constructor(hostRef) {
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "compiler": {
10
10
  "name": "@stencil/core",
11
- "version": "4.8.2",
11
+ "version": "4.9.0",
12
12
  "typescriptVersion": "5.2.2"
13
13
  },
14
14
  "collections": [],
@@ -147,21 +147,8 @@
147
147
  }
148
148
 
149
149
  .font-sans {
150
- font-family:
151
- ui-sans-serif,
152
- system-ui,
153
- -apple-system,
154
- BlinkMacSystemFont,
155
- 'Segoe UI',
156
- Roboto,
157
- 'Helvetica Neue',
158
- Arial,
159
- 'Noto Sans',
160
- sans-serif,
161
- 'Apple Color Emoji',
162
- 'Segoe UI Emoji',
163
- 'Segoe UI Symbol',
164
- 'Noto Color Emoji';
150
+ font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
151
+ 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
165
152
  }
166
153
 
167
154
  .text-xs {
@@ -1,4 +1,4 @@
1
1
  // WARNING: generated file...
2
- const TW_VERSION = '3.3.6';
2
+ const TW_VERSION = '3.4.0';
3
3
  export { TW_VERSION };
4
4
  export default TW_VERSION;
@@ -3,7 +3,7 @@ import { d as defineCustomElement$4 } from './proto-faux-keys2.js';
3
3
  import { d as defineCustomElement$3 } from './proto-faux-stamp2.js';
4
4
  import { d as defineCustomElement$2 } from './proto-faux-type2.js';
5
5
 
6
- const protoFauxTriggerCss = "*,::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,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n Arial,\n 'Noto Sans',\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n '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)}";
6
+ const protoFauxTriggerCss = "*,::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)}";
7
7
 
8
8
  const ProtoFauxTrigger$1 = /*@__PURE__*/ proxyCustomElement(class ProtoFauxTrigger extends HTMLElement {
9
9
  constructor() {
@@ -606,8 +606,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
606
606
  * @param oldCh the old children of the parent node
607
607
  * @param newVNode the new VNode which will replace the parent
608
608
  * @param newCh the new children of the parent node
609
+ * @param isInitialRender whether or not this is the first render of the vdom
609
610
  */
610
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
611
+ const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
611
612
  let oldStartIdx = 0;
612
613
  let newStartIdx = 0;
613
614
  let oldEndIdx = oldCh.length - 1;
@@ -631,25 +632,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
631
632
  else if (newEndVnode == null) {
632
633
  newEndVnode = newCh[--newEndIdx];
633
634
  }
634
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
635
+ else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
635
636
  // if the start nodes are the same then we should patch the new VNode
636
637
  // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
637
638
  // indices to reflect that. We don't need to move any DOM Nodes around
638
639
  // since things are matched up in order.
639
- patch(oldStartVnode, newStartVnode);
640
+ patch(oldStartVnode, newStartVnode, isInitialRender);
640
641
  oldStartVnode = oldCh[++oldStartIdx];
641
642
  newStartVnode = newCh[++newStartIdx];
642
643
  }
643
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
644
+ else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
644
645
  // likewise, if the end nodes are the same we patch new onto old and
645
646
  // decrement our end indices, and also likewise in this case we don't
646
647
  // need to move any DOM Nodes.
647
- patch(oldEndVnode, newEndVnode);
648
+ patch(oldEndVnode, newEndVnode, isInitialRender);
648
649
  oldEndVnode = oldCh[--oldEndIdx];
649
650
  newEndVnode = newCh[--newEndIdx];
650
651
  }
651
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
652
- patch(oldStartVnode, newEndVnode);
652
+ else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
653
+ patch(oldStartVnode, newEndVnode, isInitialRender);
653
654
  // We need to move the element for `oldStartVnode` into a position which
654
655
  // will be appropriate for `newEndVnode`. For this we can use
655
656
  // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
@@ -671,8 +672,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
671
672
  oldStartVnode = oldCh[++oldStartIdx];
672
673
  newEndVnode = newCh[--newEndIdx];
673
674
  }
674
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
675
- patch(oldEndVnode, newStartVnode);
675
+ else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
676
+ patch(oldEndVnode, newStartVnode, isInitialRender);
676
677
  // We've already checked above if `oldStartVnode` and `newStartVnode` are
677
678
  // the same node, so since we're here we know that they are not. Thus we
678
679
  // can move the element for `oldEndVnode` _before_ the element for
@@ -726,9 +727,10 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
726
727
  *
727
728
  * @param leftVNode the first VNode to check
728
729
  * @param rightVNode the second VNode to check
730
+ * @param isInitialRender whether or not this is the first render of the vdom
729
731
  * @returns whether they're equal or not
730
732
  */
731
- const isSameVnode = (leftVNode, rightVNode) => {
733
+ const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
732
734
  // compare if two vnode to see if they're "technically" the same
733
735
  // need to have the same element tag, and same key to be the same
734
736
  if (leftVNode.$tag$ === rightVNode.$tag$) {
@@ -743,8 +745,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
743
745
  *
744
746
  * @param oldVNode an old VNode whose DOM element and children we want to update
745
747
  * @param newVNode a new VNode representing an updated version of the old one
748
+ * @param isInitialRender whether or not this is the first render of the vdom
746
749
  */
747
- const patch = (oldVNode, newVNode) => {
750
+ const patch = (oldVNode, newVNode, isInitialRender = false) => {
748
751
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
749
752
  const oldChildren = oldVNode.$children$;
750
753
  const newChildren = newVNode.$children$;
@@ -761,7 +764,7 @@ const patch = (oldVNode, newVNode) => {
761
764
  if (oldChildren !== null && newChildren !== null) {
762
765
  // looks like there's child vnodes for both the old and new vnodes
763
766
  // so we need to call `updateChildren` to reconcile them
764
- updateChildren(elm, oldChildren, newVNode, newChildren);
767
+ updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
765
768
  }
766
769
  else if (newChildren !== null) {
767
770
  // no old child vnodes, but there are new child vnodes to add
@@ -835,7 +838,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
835
838
  scopeId = hostElm['s-sc'];
836
839
  }
837
840
  // synchronous patch
838
- patch(oldVNode, rootVnode);
841
+ patch(oldVNode, rootVnode, isInitialLoad);
839
842
  };
840
843
  const attachToAncestor = (hostRef, ancestorComponent) => {
841
844
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-bd105e77.js';
2
- export { s as setNonce } from './index-bd105e77.js';
1
+ import { b as bootstrapLazy } from './index-153e6a9f.js';
2
+ export { s as setNonce } from './index-153e6a9f.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-bd105e77.js';
2
- export { s as setNonce } from './index-bd105e77.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-153e6a9f.js';
2
+ export { s as setNonce } from './index-153e6a9f.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.8.2 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-bd105e77.js';
1
+ import { r as registerInstance, h } from './index-153e6a9f.js';
2
2
 
3
3
  const KEY = 'proto-daisy-db:app-data';
4
4
  const promisedParseJSON = (json) => {
@@ -87,7 +87,7 @@ const ProtoFauxStamp = class {
87
87
  };
88
88
  ProtoFauxStamp.style = protoFauxStampCss;
89
89
 
90
- const protoFauxTriggerCss = "*,::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,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n Arial,\n 'Noto Sans',\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n '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)}";
90
+ const protoFauxTriggerCss = "*,::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)}";
91
91
 
92
92
  const ProtoFauxTrigger = class {
93
93
  constructor(hostRef) {
@@ -0,0 +1 @@
1
+ import{r as t,h as s}from"./p-f71127fc.js";const o="proto-daisy-db:app-data",r=class{constructor(s){t(this,s),this.emitter=void 0}componentDidLoad(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter];t.on("app-data:get",(()=>{var s;console.log("app-data:get"),(s=localStorage.getItem(o),new Promise(((t,o)=>{try{t(JSON.parse(s))}catch(t){o(t)}}))).then((s=>{t.emit("app-data:value",s)})).catch((t=>{console.log(t)}))})),t.on("app-data:store",(t=>{console.log("app-data:store",t),(t=>{const s=JSON.stringify(t);localStorage.setItem(o,s)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return s("div",null)}};r.style="";const a=class{constructor(s){t(this,s),this.data=void 0}render(){const t=this.data?Object.keys(this.data):[];return s("div",{class:"flex flex-col"},t.map((t=>s("span",null,t))))}};a.style="";const e=class{constructor(s){t(this,s),this.data=void 0}render(){return s("div",{class:"flex"},s("span",null,this.data?this.data.stamp:""))}};e.style="";const i=class{constructor(s){t(this,s),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],s={login:!0,stamp:Date.now(),theme:"dark",dealers:[]};this.data=void 0,t.emit("app-data:store",s)}}fetchData(){this.emitter&&window[this.emitter]&&window[this.emitter].emit("app-data:get",42)}render(){return s("div",{class:"flex flex-col font-sans"},s("div",{class:"flex flex-row content-center gap-2"},s("button",{class:"btn bg-clrs-navy text-clrs-white",onClick:()=>this.emitData()},"Save"),s("button",{class:"btn bg-clrs-blue text-clrs-white",onClick:()=>this.fetchData()},"Fetch")),s("proto-faux-type",{class:"mt-4",emitter:this.emitter}),s("proto-faux-stamp",{class:"mt-2 text-xs",data:this.data}),s("proto-faux-keys",{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 n=class{constructor(s){t(this,s),this.emitter=void 0,this.eventType=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("*",(t=>{this.eventType=t}))}render(){return s("div",null,s("span",{class:"text-xs italic"},this.eventType))}};n.style="proto-faux-type{}";export{r as proto_daisy_db,a as proto_faux_keys,e as proto_faux_stamp,i as proto_faux_trigger,n as proto_faux_type}
@@ -0,0 +1,2 @@
1
+ let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=n=>"object"==(n=typeof n)||"function"===n;function i(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,t,...e)=>{let l=null,o=!1,i=!1;const c=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&i?c[c.length-1].t+=l:c.push(o?r(null,l):l),i=o)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=r(n,null);return a.l=t,c.length>0&&(a.o=c),a},r=(n,t)=>({i:0,u:n,t,p:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.h,d=(n,t,e,l,o,i)=>{if(e!==l){let c=H(n,t),r=t.toLowerCase();if("class"===t){const t=n.classList,o=p(e),s=p(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if(c||"o"!==t[0]||"n"!==t[1]){const r=s(l);if((c||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||o)&&!r&&n.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):H(G,r)?r.slice(2):r[2]+t.slice(3),e||l){const o=t.endsWith(h);t=t.replace($,""),e&&J.rel(n,t,e,o),l&&J.ael(n,t,l,o)}}},y=/\s/,p=n=>n?n.split(y):[],h="Capture",$=RegExp(h+"$"),m=(n,t,e,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,i=n&&n.l||o,c=t.l||o;for(l in i)l in c||d(s,l,i[l],void 0,e,t.i);for(l in c)d(s,l,i[l],c[l],e,t.i)},v=(e,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.p=I.createTextNode(s.t);else if(i=s.p=I.createElement(s.u),m(null,s,!1),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)c=v(e,s,r),c&&i.appendChild(c);return i["s-hn"]=t,i},b=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=v(null,l,s),c&&(o[s].p=c,r.insertBefore(c,e)))},w=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.p;n&&n.remove()}}},S=(n,t)=>n.u===t.u,g=(n,t,e=!1)=>{const l=t.p=n.p,o=n.o,s=t.o,i=t.t;null===i?(m(n,t,!1),null!==o&&null!==s?((n,t,e,l,o=!1)=>{let s,i=0,c=0,r=t.length-1,u=t[0],a=t[r],f=l.length-1,d=l[0],y=l[f];for(;i<=r&&c<=f;)null==u?u=t[++i]:null==a?a=t[--r]:null==d?d=l[++c]:null==y?y=l[--f]:S(u,d)?(g(u,d,o),u=t[++i],d=l[++c]):S(a,y)?(g(a,y,o),a=t[--r],y=l[--f]):S(u,y)?(g(u,y,o),n.insertBefore(u.p,a.p.nextSibling),u=t[++i],y=l[--f]):S(a,d)?(g(a,d,o),n.insertBefore(a.p,u.p),a=t[--r],d=l[++c]):(s=v(t&&t[c],e,c),d=l[++c],s&&u.p.parentNode.insertBefore(s,u.p));i>r?b(n,null==l[f+1]?null:l[f+1].p,e,l,c,f):c>f&&w(t,i,r)})(l,o,t,s,e):null!==s?(null!==n.t&&(l.textContent=""),b(l,null,t,s,0,s.length-1)):null!==o&&w(o,0,o.length-1)):n.t!==i&&(l.data=i)},j=(n,t)=>{t&&!n.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.$=t)))},M=(n,t)=>{if(n.i|=16,!(4&n.i))return j(n,n.m),ln((()=>O(n,t)));n.i|=512},O=(n,t)=>{const e=n.v;return k(void 0,(()=>P(n,e,t)))},k=(n,t)=>C(n)?n.then(t):t(),C=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,P=async(n,t,e)=>{var o;const s=n.$hostElement$,c=s["s-rc"];e&&(n=>{const t=n.S,e=n.$hostElement$,o=t.i,s=((n,t)=>{var e;const o=f(t),s=B.get(o);if(n=11===n.nodeType?n:I,s)if("string"==typeof s){let c,r=a.get(n=n.head||n);if(r||a.set(n,r=new Set),!r.has(o)){{c=I.createElement("style"),c.innerHTML=s;const t=null!==(e=J.j)&&void 0!==e?e:i(I);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(n);x(n,t,s,e),c&&(c.map((n=>n())),s["s-rc"]=void 0);{const t=null!==(o=s["s-p"])&&void 0!==o?o:[],e=()=>E(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},x=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,i=e.M||r(null,null),a=(n=>n&&n.u===u)(l)?l:c(null,null,l);if(t=s.tagName,o&&a.l)for(const n of Object.keys(a.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(a.l[n]=s[n]);a.u=null,a.i|=4,e.M=a,a.p=i.p=s.shadowRoot||s,n=s["s-sc"],g(i,a,o)})(e,l,s)}catch(n){V(n,e.$hostElement$)}return null},E=n=>{const t=n.$hostElement$,e=n.v,l=n.m;64&n.i||(n.i|=64,N(t),L(e,"componentDidLoad"),n.O(t),l||A()),n.$&&(n.$(),n.$=void 0),512&n.i&&en((()=>M(n,!1))),n.i&=-517},A=()=>{N(I.documentElement),en((()=>(n=>{const t=J.ce("appload",{detail:{namespace:"proto-daisy-db"}});return n.dispatchEvent(t),t})(G)))},L=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){V(n)}},N=n=>n.classList.add("hydrated"),R=(n,t,e)=>{var l;const o=n.prototype;if(t.k){const i=Object.entries(t.k);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(o,n,{get(){return((n,t)=>q(this).C.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=q(n),i=o.C.get(t),c=o.i,r=o.v;e=((n,t)=>null==n||s(n)?n:1&t?n+"":n)(e,l.k[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(o.C.set(t,e),r&&2==(18&c)&&M(o,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;o.attributeChangedCallback=function(n,l,s){J.jmp((()=>{var i;const c=e.get(n);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 e=q(this),o=null==e?void 0:e.i;if(o&&!(8&o)&&128&o&&s!==l){const o=e.v,c=null===(i=t.P)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},T=(n,t={})=>{var e;const o=[],s=t.exclude||[],c=G.customElements,r=I.head,u=r.querySelector("meta[charset]"),a=I.createElement("style"),d=[];let y,p=!0;Object.assign(J,t),J.A=new URL(t.resourcesUrl||"./",I.baseURI).href;let h=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],k:t[2],L:t[3]};4&e.i&&(h=!0),e.k=t[2];const l=e.h,i=class extends HTMLElement{constructor(n){super(n),F(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),p?d.push(this):J.jmp((()=>(n=>{if(0==(1&J.i)){const t=q(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.v)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){j(t,t.m=e);break}}e.k&&Object.entries(e.k).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=z(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(R(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){V(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=f(e);if(!B.has(t)){const l=()=>{};((n,t,e)=>{let l=B.get(n);Q&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,B.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.m,s=()=>M(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.i)){const n=q(this);(null==n?void 0:n.v)||(null==n?void 0:n.N)&&n.N.then((()=>{}))}})()))}componentOnReady(){return q(this).N}};e.R=n[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,R(i,e,1)))}))})),h&&(a.innerHTML+=l),a.innerHTML+=o+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const n=null!==(e=J.j)&&void 0!==e?e:i(I);null!=n&&a.setAttribute("nonce",n),r.insertBefore(a,u?u.nextSibling:r.firstChild)}p=!1,d.length?d.map((n=>n.connectedCallback())):J.jmp((()=>y=setTimeout(A,30)))},U=n=>J.j=n,W=new WeakMap,q=n=>W.get(n),D=(n,t)=>W.set(t.v=n,t),F=(n,t)=>{const e={i:0,$hostElement$:n,S:t,C:new Map};return e.N=new Promise((n=>e.O=n)),n["s-p"]=[],n["s-rc"]=[],W.set(n,e)},H=(n,t)=>t in n,V=(n,t)=>(0,console.error)(n,t),_=new Map,z=n=>{const t=n.h.replace(/-/g,"_"),e=n.R,l=_.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(_.set(e,n),n[t])),V)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},B=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={i:0,A:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},K=n=>Promise.resolve(n),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),X=[],Y=[],Z=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&J.i?en(tn):J.raf(tn))},nn=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){V(n)}n.length=0},tn=()=>{nn(X),nn(Y),(e=X.length>0)&&J.raf(tn)},en=n=>K().then(n),ln=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 e}from"./p-75528fed.js";export{s as setNonce}from"./p-75528fed.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((t=>e([["p-d1b26169",[[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)));
1
+ import{p as t,b as e}from"./p-f71127fc.js";export{s as setNonce}from"./p-f71127fc.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((t=>e([["p-8e9b406e",[[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)));
@@ -1,3 +1,3 @@
1
- declare const TW_VERSION = "3.3.6";
1
+ declare const TW_VERSION = "3.4.0";
2
2
  export { TW_VERSION };
3
3
  export default TW_VERSION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-daisy-db",
3
- "version": "0.0.225",
3
+ "version": "0.0.227",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "format": "prettier --write src"
28
28
  },
29
29
  "dependencies": {
30
- "@stencil/core": "4.8.2",
30
+ "@stencil/core": "4.9.0",
31
31
  "mitt": "3.0.1"
32
32
  },
33
33
  "devDependencies": {
@@ -37,8 +37,8 @@
37
37
  "postcss": "8.4.32",
38
38
  "prettier": "3.1.1",
39
39
  "prettier-plugin-tailwindcss": "0.5.9",
40
- "proto-tailwindcss-clrs": "0.0.296",
41
- "tailwindcss": "3.3.6"
40
+ "proto-tailwindcss-clrs": "0.0.298",
41
+ "tailwindcss": "3.4.0"
42
42
  },
43
43
  "license": "MIT"
44
44
  }
@@ -1,2 +0,0 @@
1
- let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=n=>"object"==(n=typeof n)||"function"===n;function i(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,t,...e)=>{let l=null,o=!1,i=!1;const c=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&i?c[c.length-1].t+=l:c.push(o?r(null,l):l),i=o)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=r(n,null);return a.l=t,c.length>0&&(a.o=c),a},r=(n,t)=>({i:0,u:n,t,p:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.h,d=(n,t,e,l,o,i)=>{if(e!==l){let c=H(n,t),r=t.toLowerCase();if("class"===t){const t=n.classList,o=p(e),s=p(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if(c||"o"!==t[0]||"n"!==t[1]){const r=s(l);if((c||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||o)&&!r&&n.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):H(G,r)?r.slice(2):r[2]+t.slice(3),e||l){const o=t.endsWith(h);t=t.replace($,""),e&&J.rel(n,t,e,o),l&&J.ael(n,t,l,o)}}},y=/\s/,p=n=>n?n.split(y):[],h="Capture",$=RegExp(h+"$"),m=(n,t,e,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,i=n&&n.l||o,c=t.l||o;for(l in i)l in c||d(s,l,i[l],void 0,e,t.i);for(l in c)d(s,l,i[l],c[l],e,t.i)},v=(e,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.p=I.createTextNode(s.t);else if(i=s.p=I.createElement(s.u),m(null,s,!1),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)c=v(e,s,r),c&&i.appendChild(c);return i["s-hn"]=t,i},b=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=v(null,l,s),c&&(o[s].p=c,r.insertBefore(c,e)))},w=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.p;n&&n.remove()}}},S=(n,t)=>n.u===t.u,g=(n,t)=>{const e=t.p=n.p,l=n.o,o=t.o,s=t.t;null===s?(m(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:S(r,f)?(g(r,f),r=t[++s],f=l[++i]):S(u,d)?(g(u,d),u=t[--c],d=l[--a]):S(r,d)?(g(r,d),n.insertBefore(r.p,u.p.nextSibling),r=t[++s],d=l[--a]):S(u,f)?(g(u,f),n.insertBefore(u.p,r.p),u=t[--c],f=l[++i]):(o=v(t&&t[i],e,i),f=l[++i],o&&r.p.parentNode.insertBefore(o,r.p));s>c?b(n,null==l[a+1]?null:l[a+1].p,e,l,i,a):i>a&&w(t,s,c)})(e,l,t,o):null!==o?(null!==n.t&&(e.textContent=""),b(e,null,t,o,0,o.length-1)):null!==l&&w(l,0,l.length-1)):n.t!==s&&(e.data=s)},j=(n,t)=>{t&&!n.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.$=t)))},M=(n,t)=>{if(n.i|=16,!(4&n.i))return j(n,n.m),ln((()=>O(n,t)));n.i|=512},O=(n,t)=>{const e=n.v;return k(void 0,(()=>P(n,e,t)))},k=(n,t)=>C(n)?n.then(t):t(),C=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,P=async(n,t,e)=>{var o;const s=n.$hostElement$,c=s["s-rc"];e&&(n=>{const t=n.S,e=n.$hostElement$,o=t.i,s=((n,t)=>{var e;const o=f(t),s=B.get(o);if(n=11===n.nodeType?n:I,s)if("string"==typeof s){let c,r=a.get(n=n.head||n);if(r||a.set(n,r=new Set),!r.has(o)){{c=I.createElement("style"),c.innerHTML=s;const t=null!==(e=J.j)&&void 0!==e?e:i(I);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(n);x(n,t,s,e),c&&(c.map((n=>n())),s["s-rc"]=void 0);{const t=null!==(o=s["s-p"])&&void 0!==o?o:[],e=()=>E(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},x=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,i=e.M||r(null,null),a=(n=>n&&n.u===u)(l)?l:c(null,null,l);if(t=s.tagName,o&&a.l)for(const n of Object.keys(a.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(a.l[n]=s[n]);a.u=null,a.i|=4,e.M=a,a.p=i.p=s.shadowRoot||s,n=s["s-sc"],g(i,a)})(e,l,s)}catch(n){V(n,e.$hostElement$)}return null},E=n=>{const t=n.$hostElement$,e=n.v,l=n.m;64&n.i||(n.i|=64,N(t),L(e,"componentDidLoad"),n.O(t),l||A()),n.$&&(n.$(),n.$=void 0),512&n.i&&en((()=>M(n,!1))),n.i&=-517},A=()=>{N(I.documentElement),en((()=>(n=>{const t=J.ce("appload",{detail:{namespace:"proto-daisy-db"}});return n.dispatchEvent(t),t})(G)))},L=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){V(n)}},N=n=>n.classList.add("hydrated"),R=(n,t,e)=>{var l;const o=n.prototype;if(t.k){const i=Object.entries(t.k);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(o,n,{get(){return((n,t)=>q(this).C.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=q(n),i=o.C.get(t),c=o.i,r=o.v;e=((n,t)=>null==n||s(n)?n:1&t?n+"":n)(e,l.k[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(o.C.set(t,e),r&&2==(18&c)&&M(o,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;o.attributeChangedCallback=function(n,l,s){J.jmp((()=>{var i;const c=e.get(n);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 e=q(this),o=null==e?void 0:e.i;if(o&&!(8&o)&&128&o&&s!==l){const o=e.v,c=null===(i=t.P)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},T=(n,t={})=>{var e;const o=[],s=t.exclude||[],c=G.customElements,r=I.head,u=r.querySelector("meta[charset]"),a=I.createElement("style"),d=[];let y,p=!0;Object.assign(J,t),J.A=new URL(t.resourcesUrl||"./",I.baseURI).href;let h=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],k:t[2],L:t[3]};4&e.i&&(h=!0),e.k=t[2];const l=e.h,i=class extends HTMLElement{constructor(n){super(n),F(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),p?d.push(this):J.jmp((()=>(n=>{if(0==(1&J.i)){const t=q(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.v)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){j(t,t.m=e);break}}e.k&&Object.entries(e.k).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=z(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(R(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){V(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=f(e);if(!B.has(t)){const l=()=>{};((n,t,e)=>{let l=B.get(n);Q&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,B.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.m,s=()=>M(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.i)){const n=q(this);(null==n?void 0:n.v)||(null==n?void 0:n.N)&&n.N.then((()=>{}))}})()))}componentOnReady(){return q(this).N}};e.R=n[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,R(i,e,1)))}))})),h&&(a.innerHTML+=l),a.innerHTML+=o+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const n=null!==(e=J.j)&&void 0!==e?e:i(I);null!=n&&a.setAttribute("nonce",n),r.insertBefore(a,u?u.nextSibling:r.firstChild)}p=!1,d.length?d.map((n=>n.connectedCallback())):J.jmp((()=>y=setTimeout(A,30)))},U=n=>J.j=n,W=new WeakMap,q=n=>W.get(n),D=(n,t)=>W.set(t.v=n,t),F=(n,t)=>{const e={i:0,$hostElement$:n,S:t,C:new Map};return e.N=new Promise((n=>e.O=n)),n["s-p"]=[],n["s-rc"]=[],W.set(n,e)},H=(n,t)=>t in n,V=(n,t)=>(0,console.error)(n,t),_=new Map,z=n=>{const t=n.h.replace(/-/g,"_"),e=n.R,l=_.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(_.set(e,n),n[t])),V)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},B=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={i:0,A:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},K=n=>Promise.resolve(n),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),X=[],Y=[],Z=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&J.i?en(tn):J.raf(tn))},nn=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){V(n)}n.length=0},tn=()=>{nn(X),nn(Y),(e=X.length>0)&&J.raf(tn)},en=n=>K().then(n),ln=Z(Y,!0);export{T as b,c as h,K as p,D as r,U as s}
@@ -1 +0,0 @@
1
- import{r as t,h as o}from"./p-75528fed.js";const s="proto-daisy-db:app-data",a=class{constructor(o){t(this,o),this.emitter=void 0}componentDidLoad(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter];t.on("app-data:get",(()=>{var o;console.log("app-data:get"),(o=localStorage.getItem(s),new Promise(((t,s)=>{try{t(JSON.parse(o))}catch(t){s(t)}}))).then((o=>{t.emit("app-data:value",o)})).catch((t=>{console.log(t)}))})),t.on("app-data:store",(t=>{console.log("app-data:store",t),(t=>{const o=JSON.stringify(t);localStorage.setItem(s,o)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return o("div",null)}};a.style="";const r=class{constructor(o){t(this,o),this.data=void 0}render(){const t=this.data?Object.keys(this.data):[];return o("div",{class:"flex flex-col"},t.map((t=>o("span",null,t))))}};r.style="";const e=class{constructor(o){t(this,o),this.data=void 0}render(){return o("div",{class:"flex"},o("span",null,this.data?this.data.stamp:""))}};e.style="";const i=class{constructor(o){t(this,o),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],o={login:!0,stamp:Date.now(),theme:"dark",dealers:[]};this.data=void 0,t.emit("app-data:store",o)}}fetchData(){this.emitter&&window[this.emitter]&&window[this.emitter].emit("app-data:get",42)}render(){return o("div",{class:"flex flex-col font-sans"},o("div",{class:"flex flex-row content-center gap-2"},o("button",{class:"btn bg-clrs-navy text-clrs-white",onClick:()=>this.emitData()},"Save"),o("button",{class:"btn bg-clrs-blue text-clrs-white",onClick:()=>this.fetchData()},"Fetch")),o("proto-faux-type",{class:"mt-4",emitter:this.emitter}),o("proto-faux-stamp",{class:"mt-2 text-xs",data:this.data}),o("proto-faux-keys",{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,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n Arial,\n 'Noto Sans',\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n '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 n=class{constructor(o){t(this,o),this.emitter=void 0,this.eventType=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("*",(t=>{this.eventType=t}))}render(){return o("div",null,o("span",{class:"text-xs italic"},this.eventType))}};n.style="proto-faux-type{}";export{a as proto_daisy_db,r as proto_faux_keys,e as proto_faux_stamp,i as proto_faux_trigger,n as proto_faux_type}