proto-daisy-db 0.1.10 → 0.1.12
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/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +2 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{index-0c0970fd.js → index-ChwyTvFq.js} +12 -33
- package/dist/cjs/index-ChwyTvFq.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/proto-daisy-db.cjs.js +8 -6
- package/dist/cjs/proto-daisy-db.cjs.js.map +1 -0
- package/dist/cjs/proto-daisy-db_5.cjs.entry.js +9 -14
- package/dist/cjs/proto-daisy-db_5.cjs.entry.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/styles/shadow.css +1 -1
- package/dist/collection/tokens.css +1 -1
- package/dist/collection/utils/tw-version.js +1 -1
- package/dist/components/proto-daisy-db.js +1 -2
- package/dist/components/proto-faux-keys2.js +1 -2
- package/dist/components/proto-faux-stamp2.js +1 -2
- package/dist/components/proto-faux-trigger.js +2 -3
- package/dist/components/proto-faux-type2.js +1 -2
- package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +2 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{index-1a1169f3.js → index-D0TLN-F0.js} +10 -11
- package/dist/esm/index-D0TLN-F0.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/proto-daisy-db.js +7 -4
- package/dist/esm/proto-daisy-db.js.map +1 -0
- package/dist/esm/proto-daisy-db_5.entry.js +9 -12
- package/dist/esm/proto-daisy-db_5.entry.js.map +1 -0
- package/dist/proto-daisy-db/index.esm.js +2 -0
- package/dist/proto-daisy-db/index.esm.js.map +1 -0
- package/dist/proto-daisy-db/{p-a342cc16.entry.js → p-7a20e5c7.entry.js} +2 -1
- package/dist/proto-daisy-db/p-7a20e5c7.entry.js.map +1 -0
- package/dist/proto-daisy-db/p-D0TLN-F0.js +3 -0
- package/dist/proto-daisy-db/p-D0TLN-F0.js.map +1 -0
- package/dist/proto-daisy-db/p-DQuL1Twl.js +2 -0
- package/dist/proto-daisy-db/p-DQuL1Twl.js.map +1 -0
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +2 -1
- package/dist/proto-daisy-db/proto-daisy-db.esm.js.map +1 -0
- package/dist/proto-daisy-db/tokens.css +1 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/tw-version.d.ts +1 -1
- package/package.json +5 -5
- package/dist/loader/package.json +0 -11
- package/dist/proto-daisy-db/p-3c7fcafe.js +0 -2
- package/dist/proto-daisy-db/p-e1255160.js +0 -1
- package/loader/package.json +0 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,30 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _interopNamespace(e) {
|
|
4
|
-
if (e && e.__esModule) return e;
|
|
5
|
-
var n = Object.create(null);
|
|
6
|
-
if (e) {
|
|
7
|
-
Object.keys(e).forEach(function (k) {
|
|
8
|
-
if (k !== 'default') {
|
|
9
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return e[k];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
n['default'] = e;
|
|
20
|
-
return Object.freeze(n);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
3
|
const NAMESPACE = 'proto-daisy-db';
|
|
24
|
-
const BUILD = /* proto-daisy-db */ {
|
|
4
|
+
const BUILD = /* proto-daisy-db */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
25
5
|
|
|
26
6
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
28
8
|
*/
|
|
29
9
|
var __defProp = Object.defineProperty;
|
|
30
10
|
var __export = (target, all) => {
|
|
@@ -75,13 +55,13 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
75
55
|
return module[exportName];
|
|
76
56
|
}
|
|
77
57
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
78
|
-
return
|
|
58
|
+
return import(
|
|
79
59
|
/* @vite-ignore */
|
|
80
60
|
/* webpackInclude: /\.entry\.js$/ */
|
|
81
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
82
62
|
/* webpackMode: "lazy" */
|
|
83
63
|
`./${bundleId}.entry.js${""}`
|
|
84
|
-
)
|
|
64
|
+
).then(
|
|
85
65
|
(importedModule) => {
|
|
86
66
|
{
|
|
87
67
|
cmpModules.set(bundleId, importedModule);
|
|
@@ -434,7 +414,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
434
414
|
}
|
|
435
415
|
} else {
|
|
436
416
|
const isComplex = isComplexType(newValue);
|
|
437
|
-
if ((isProp || isComplex && newValue !== null) &&
|
|
417
|
+
if ((isProp || isComplex && newValue !== null) && true) {
|
|
438
418
|
try {
|
|
439
419
|
if (!elm.tagName.includes("-")) {
|
|
440
420
|
const n = newValue == null ? "" : newValue;
|
|
@@ -518,7 +498,6 @@ function sortedAttrNames(attrNames) {
|
|
|
518
498
|
);
|
|
519
499
|
}
|
|
520
500
|
var hostTagName;
|
|
521
|
-
var useNativeShadowDom = false;
|
|
522
501
|
var isSvgMode = false;
|
|
523
502
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
524
503
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -534,7 +513,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
534
513
|
);
|
|
535
514
|
}
|
|
536
515
|
elm = newVNode2.$elm$ = win.document.createElement(
|
|
537
|
-
|
|
516
|
+
newVNode2.$tag$
|
|
538
517
|
);
|
|
539
518
|
{
|
|
540
519
|
updateElement(null, newVNode2, isSvgMode);
|
|
@@ -707,7 +686,6 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
707
686
|
};
|
|
708
687
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
709
688
|
const hostElm = hostRef.$hostElement$;
|
|
710
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
711
689
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
712
690
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
713
691
|
hostTagName = hostElm.tagName;
|
|
@@ -722,7 +700,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
722
700
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
723
701
|
hostRef.$vnode$ = rootVnode;
|
|
724
702
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
725
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
726
703
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
727
704
|
};
|
|
728
705
|
|
|
@@ -809,7 +786,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
|
809
786
|
try {
|
|
810
787
|
instance = instance.render() ;
|
|
811
788
|
{
|
|
812
|
-
hostRef.$flags$ &=
|
|
789
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
813
790
|
}
|
|
814
791
|
{
|
|
815
792
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
@@ -858,7 +835,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
858
835
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
859
836
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
860
837
|
}
|
|
861
|
-
hostRef.$flags$ &=
|
|
838
|
+
hostRef.$flags$ &= -517;
|
|
862
839
|
}
|
|
863
840
|
};
|
|
864
841
|
var appDidLoad = (who) => {
|
|
@@ -913,7 +890,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
913
890
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
914
891
|
var _a, _b;
|
|
915
892
|
const prototype = Cstr.prototype;
|
|
916
|
-
if (cmpMeta.$members$ || BUILD.watchCallback
|
|
893
|
+
if (cmpMeta.$members$ || BUILD.watchCallback) {
|
|
917
894
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
918
895
|
members.map(([memberName, [memberFlags]]) => {
|
|
919
896
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
@@ -1062,7 +1039,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1062
1039
|
consoleError(e, elm);
|
|
1063
1040
|
}
|
|
1064
1041
|
{
|
|
1065
|
-
hostRef.$flags$ &=
|
|
1042
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1066
1043
|
}
|
|
1067
1044
|
endNewInstance();
|
|
1068
1045
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
@@ -1295,3 +1272,5 @@ exports.h = h;
|
|
|
1295
1272
|
exports.promiseResolve = promiseResolve;
|
|
1296
1273
|
exports.registerInstance = registerInstance;
|
|
1297
1274
|
exports.setNonce = setNonce;
|
|
1275
|
+
|
|
1276
|
+
//# sourceMappingURL=index-ChwyTvFq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-0c0970fd.js');
|
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
3
|
+
var index = require('./index-ChwyTvFq.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
7
5
|
|
|
8
6
|
const defineCustomElements = async (win, options) => {
|
|
9
7
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -13,3 +11,5 @@ const defineCustomElements = async (win, options) => {
|
|
|
13
11
|
|
|
14
12
|
exports.setNonce = index.setNonce;
|
|
15
13
|
exports.defineCustomElements = defineCustomElements;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=loader.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-0c0970fd.js');
|
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
3
|
+
var index = require('./index-ChwyTvFq.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
7
5
|
|
|
6
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
8
7
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
10
9
|
*/
|
|
10
|
+
|
|
11
11
|
var patchBrowser = () => {
|
|
12
|
-
const importMeta = (typeof document === 'undefined' ?
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('proto-daisy-db.cjs.js', document.baseURI).href));
|
|
13
13
|
const opts = {};
|
|
14
14
|
if (importMeta !== "") {
|
|
15
15
|
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
@@ -23,3 +23,5 @@ patchBrowser().then(async (options) => {
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=proto-daisy-db.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-0c0970fd.js');
|
|
3
|
+
var index = require('./index-ChwyTvFq.js');
|
|
6
4
|
|
|
7
5
|
const KEY = 'proto-daisy-db:app-data';
|
|
8
6
|
const promisedParseJSON = (json) => {
|
|
@@ -29,7 +27,6 @@ const bag = {
|
|
|
29
27
|
};
|
|
30
28
|
|
|
31
29
|
const protoDaisyDbCss = "";
|
|
32
|
-
const ProtoDaisyDbStyle0 = protoDaisyDbCss;
|
|
33
30
|
|
|
34
31
|
const ProtoDaisyDB = class {
|
|
35
32
|
constructor(hostRef) {
|
|
@@ -62,10 +59,9 @@ const ProtoDaisyDB = class {
|
|
|
62
59
|
return index.h("div", { key: '35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81' });
|
|
63
60
|
}
|
|
64
61
|
};
|
|
65
|
-
ProtoDaisyDB.style =
|
|
62
|
+
ProtoDaisyDB.style = protoDaisyDbCss;
|
|
66
63
|
|
|
67
64
|
const protoFauxKeysCss = "";
|
|
68
|
-
const ProtoFauxKeysStyle0 = protoFauxKeysCss;
|
|
69
65
|
|
|
70
66
|
const ProtoFauxKeys = class {
|
|
71
67
|
constructor(hostRef) {
|
|
@@ -77,10 +73,9 @@ const ProtoFauxKeys = class {
|
|
|
77
73
|
return (index.h("div", { key: 'a423b82d951a69b266dd3d508a8dc11326a8008b', class: "flex flex-col" }, keys.map(key => (index.h("span", null, key)))));
|
|
78
74
|
}
|
|
79
75
|
};
|
|
80
|
-
ProtoFauxKeys.style =
|
|
76
|
+
ProtoFauxKeys.style = protoFauxKeysCss;
|
|
81
77
|
|
|
82
78
|
const protoFauxStampCss = "";
|
|
83
|
-
const ProtoFauxStampStyle0 = protoFauxStampCss;
|
|
84
79
|
|
|
85
80
|
const ProtoFauxStamp = class {
|
|
86
81
|
constructor(hostRef) {
|
|
@@ -92,10 +87,9 @@ const ProtoFauxStamp = class {
|
|
|
92
87
|
return (index.h("div", { key: 'f4837fa667d5d6e57086b09d1bc91719035442be', class: "flex" }, index.h("span", { key: 'a70fa27ba603ead243b5d262922082141420e0ac' }, stamp)));
|
|
93
88
|
}
|
|
94
89
|
};
|
|
95
|
-
ProtoFauxStamp.style =
|
|
90
|
+
ProtoFauxStamp.style = protoFauxStampCss;
|
|
96
91
|
|
|
97
|
-
const shadowCss = "/*! tailwindcss v4.0.
|
|
98
|
-
const ProtoFauxTriggerStyle0 = shadowCss;
|
|
92
|
+
const shadowCss = "/*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --radius-md: 0.375rem;\n }\n}\n@layer utilities {\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .flex {\n display: flex;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .content-center {\n align-content: center;\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-clrs-aqua {\n border-color: var(--clrs-aqua, #7fdbff);\n }\n .bg-clrs-blue {\n background-color: var(--clrs-blue, #0074d9);\n }\n .bg-clrs-navy {\n background-color: var(--clrs-navy, #001f3f);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .italic {\n font-style: italic;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n}\n@layer components {\n .btn {\n border-radius: var(--radius-md);\n border-style: var(--tw-border-style);\n border-width: 1px;\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-aqua, #7fdbff);\n padding: calc(var(--spacing) * 2);\n }\n}\n";
|
|
99
93
|
|
|
100
94
|
const ProtoFauxTrigger = class {
|
|
101
95
|
constructor(hostRef) {
|
|
@@ -133,10 +127,9 @@ const ProtoFauxTrigger = class {
|
|
|
133
127
|
return (index.h("div", { key: '47a9f4c68160b18fceedba61f54a7be29c75325a', class: "flex flex-col font-sans" }, index.h("div", { key: '334f34a36a896139cf4cc01f66bbf0d09bd89505', class: "flex flex-row content-center gap-2" }, index.h("button", { key: '784f07b93d4cd4a0287e6dd172bc73ab8e3c49e5', class: "btn bg-clrs-navy text-clrs-white", onClick: () => this.emitData() }, "Save"), index.h("button", { key: '8526e3216eb0a725ea22b288ac0cb3c503405ee4', class: "btn bg-clrs-blue text-clrs-white", onClick: () => this.fetchData() }, "Fetch")), index.h("proto-faux-type", { key: '3033b83816b2997c790fb8df1e1d90f387f62afa', class: "mt-4", emitter: this.emitter }), index.h("proto-faux-stamp", { key: '811eef59cdcdfa2edb318ee5facf7ae0bc497c82', class: "mt-2 text-xs", data: this.data }), index.h("proto-faux-keys", { key: 'ed39e233d92c46f801841240d32d783ee6b0f0fd', class: "mt-2", data: this.data })));
|
|
134
128
|
}
|
|
135
129
|
};
|
|
136
|
-
ProtoFauxTrigger.style =
|
|
130
|
+
ProtoFauxTrigger.style = shadowCss;
|
|
137
131
|
|
|
138
132
|
const protoFauxTypeCss = "proto-faux-type{}";
|
|
139
|
-
const ProtoFauxTypeStyle0 = protoFauxTypeCss;
|
|
140
133
|
|
|
141
134
|
const ProtoFauxType = class {
|
|
142
135
|
constructor(hostRef) {
|
|
@@ -156,10 +149,12 @@ const ProtoFauxType = class {
|
|
|
156
149
|
return (index.h("div", { key: 'd441f639241a54d1ef8ae9c26a4560b5266457df' }, index.h("span", { key: 'a192c0ce3af5f94d72856ca851300537fd00f31f', class: "text-xs italic" }, this.eventType)));
|
|
157
150
|
}
|
|
158
151
|
};
|
|
159
|
-
ProtoFauxType.style =
|
|
152
|
+
ProtoFauxType.style = protoFauxTypeCss;
|
|
160
153
|
|
|
161
154
|
exports.proto_daisy_db = ProtoDaisyDB;
|
|
162
155
|
exports.proto_faux_keys = ProtoFauxKeys;
|
|
163
156
|
exports.proto_faux_stamp = ProtoFauxStamp;
|
|
164
157
|
exports.proto_faux_trigger = ProtoFauxTrigger;
|
|
165
158
|
exports.proto_faux_type = ProtoFauxType;
|
|
159
|
+
|
|
160
|
+
//# sourceMappingURL=proto-daisy-db_5.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -25,7 +25,6 @@ const bag = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
const protoDaisyDbCss = "";
|
|
28
|
-
const ProtoDaisyDbStyle0 = protoDaisyDbCss;
|
|
29
28
|
|
|
30
29
|
const ProtoDaisyDB = /*@__PURE__*/ proxyCustomElement(class ProtoDaisyDB extends HTMLElement {
|
|
31
30
|
constructor() {
|
|
@@ -59,7 +58,7 @@ const ProtoDaisyDB = /*@__PURE__*/ proxyCustomElement(class ProtoDaisyDB extends
|
|
|
59
58
|
render() {
|
|
60
59
|
return h("div", { key: '35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81' });
|
|
61
60
|
}
|
|
62
|
-
static get style() { return
|
|
61
|
+
static get style() { return protoDaisyDbCss; }
|
|
63
62
|
}, [1, "proto-daisy-db", {
|
|
64
63
|
"emitter": [1]
|
|
65
64
|
}]);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
3
|
const protoFauxKeysCss = "";
|
|
4
|
-
const ProtoFauxKeysStyle0 = protoFauxKeysCss;
|
|
5
4
|
|
|
6
5
|
const ProtoFauxKeys = /*@__PURE__*/ proxyCustomElement(class ProtoFauxKeys extends HTMLElement {
|
|
7
6
|
constructor() {
|
|
@@ -13,7 +12,7 @@ const ProtoFauxKeys = /*@__PURE__*/ proxyCustomElement(class ProtoFauxKeys exten
|
|
|
13
12
|
const keys = this.data ? Object.keys(this.data) : [];
|
|
14
13
|
return (h("div", { key: 'a423b82d951a69b266dd3d508a8dc11326a8008b', class: "flex flex-col" }, keys.map(key => (h("span", null, key)))));
|
|
15
14
|
}
|
|
16
|
-
static get style() { return
|
|
15
|
+
static get style() { return protoFauxKeysCss; }
|
|
17
16
|
}, [0, "proto-faux-keys", {
|
|
18
17
|
"data": [16]
|
|
19
18
|
}]);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
3
|
const protoFauxStampCss = "";
|
|
4
|
-
const ProtoFauxStampStyle0 = protoFauxStampCss;
|
|
5
4
|
|
|
6
5
|
const ProtoFauxStamp = /*@__PURE__*/ proxyCustomElement(class ProtoFauxStamp extends HTMLElement {
|
|
7
6
|
constructor() {
|
|
@@ -13,7 +12,7 @@ const ProtoFauxStamp = /*@__PURE__*/ proxyCustomElement(class ProtoFauxStamp ext
|
|
|
13
12
|
const stamp = this.data ? this.data['stamp'] : '';
|
|
14
13
|
return (h("div", { key: 'f4837fa667d5d6e57086b09d1bc91719035442be', class: "flex" }, h("span", { key: 'a70fa27ba603ead243b5d262922082141420e0ac' }, stamp)));
|
|
15
14
|
}
|
|
16
|
-
static get style() { return
|
|
15
|
+
static get style() { return protoFauxStampCss; }
|
|
17
16
|
}, [0, "proto-faux-stamp", {
|
|
18
17
|
"data": [16]
|
|
19
18
|
}]);
|
|
@@ -3,8 +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 shadowCss = "/*! tailwindcss v4.0.
|
|
7
|
-
const ProtoFauxTriggerStyle0 = shadowCss;
|
|
6
|
+
const shadowCss = "/*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --radius-md: 0.375rem;\n }\n}\n@layer utilities {\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .flex {\n display: flex;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .content-center {\n align-content: center;\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-clrs-aqua {\n border-color: var(--clrs-aqua, #7fdbff);\n }\n .bg-clrs-blue {\n background-color: var(--clrs-blue, #0074d9);\n }\n .bg-clrs-navy {\n background-color: var(--clrs-navy, #001f3f);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .italic {\n font-style: italic;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n}\n@layer components {\n .btn {\n border-radius: var(--radius-md);\n border-style: var(--tw-border-style);\n border-width: 1px;\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-aqua, #7fdbff);\n padding: calc(var(--spacing) * 2);\n }\n}\n";
|
|
8
7
|
|
|
9
8
|
const ProtoFauxTrigger$1 = /*@__PURE__*/ proxyCustomElement(class ProtoFauxTrigger extends HTMLElement {
|
|
10
9
|
constructor() {
|
|
@@ -42,7 +41,7 @@ const ProtoFauxTrigger$1 = /*@__PURE__*/ proxyCustomElement(class ProtoFauxTrigg
|
|
|
42
41
|
render() {
|
|
43
42
|
return (h("div", { key: '47a9f4c68160b18fceedba61f54a7be29c75325a', class: "flex flex-col font-sans" }, h("div", { key: '334f34a36a896139cf4cc01f66bbf0d09bd89505', class: "flex flex-row content-center gap-2" }, h("button", { key: '784f07b93d4cd4a0287e6dd172bc73ab8e3c49e5', class: "btn bg-clrs-navy text-clrs-white", onClick: () => this.emitData() }, "Save"), h("button", { key: '8526e3216eb0a725ea22b288ac0cb3c503405ee4', class: "btn bg-clrs-blue text-clrs-white", onClick: () => this.fetchData() }, "Fetch")), h("proto-faux-type", { key: '3033b83816b2997c790fb8df1e1d90f387f62afa', class: "mt-4", emitter: this.emitter }), h("proto-faux-stamp", { key: '811eef59cdcdfa2edb318ee5facf7ae0bc497c82', class: "mt-2 text-xs", data: this.data }), h("proto-faux-keys", { key: 'ed39e233d92c46f801841240d32d783ee6b0f0fd', class: "mt-2", data: this.data })));
|
|
44
43
|
}
|
|
45
|
-
static get style() { return
|
|
44
|
+
static get style() { return shadowCss; }
|
|
46
45
|
}, [0, "proto-faux-trigger", {
|
|
47
46
|
"emitter": [1],
|
|
48
47
|
"data": [1040]
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
3
|
const protoFauxTypeCss = "proto-faux-type{}";
|
|
4
|
-
const ProtoFauxTypeStyle0 = protoFauxTypeCss;
|
|
5
4
|
|
|
6
5
|
const ProtoFauxType = /*@__PURE__*/ proxyCustomElement(class ProtoFauxType extends HTMLElement {
|
|
7
6
|
constructor() {
|
|
@@ -21,7 +20,7 @@ const ProtoFauxType = /*@__PURE__*/ proxyCustomElement(class ProtoFauxType exten
|
|
|
21
20
|
render() {
|
|
22
21
|
return (h("div", { key: 'd441f639241a54d1ef8ae9c26a4560b5266457df' }, h("span", { key: 'a192c0ce3af5f94d72856ca851300537fd00f31f', class: "text-xs italic" }, this.eventType)));
|
|
23
22
|
}
|
|
24
|
-
static get style() { return
|
|
23
|
+
static get style() { return protoFauxTypeCss; }
|
|
25
24
|
}, [0, "proto-faux-type", {
|
|
26
25
|
"emitter": [1],
|
|
27
26
|
"eventType": [1025, "event-type"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const NAMESPACE = 'proto-daisy-db';
|
|
2
|
-
const BUILD = /* proto-daisy-db */ {
|
|
2
|
+
const BUILD = /* proto-daisy-db */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -412,7 +412,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
412
412
|
}
|
|
413
413
|
} else {
|
|
414
414
|
const isComplex = isComplexType(newValue);
|
|
415
|
-
if ((isProp || isComplex && newValue !== null) &&
|
|
415
|
+
if ((isProp || isComplex && newValue !== null) && true) {
|
|
416
416
|
try {
|
|
417
417
|
if (!elm.tagName.includes("-")) {
|
|
418
418
|
const n = newValue == null ? "" : newValue;
|
|
@@ -496,7 +496,6 @@ function sortedAttrNames(attrNames) {
|
|
|
496
496
|
);
|
|
497
497
|
}
|
|
498
498
|
var hostTagName;
|
|
499
|
-
var useNativeShadowDom = false;
|
|
500
499
|
var isSvgMode = false;
|
|
501
500
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
502
501
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -512,7 +511,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
512
511
|
);
|
|
513
512
|
}
|
|
514
513
|
elm = newVNode2.$elm$ = win.document.createElement(
|
|
515
|
-
|
|
514
|
+
newVNode2.$tag$
|
|
516
515
|
);
|
|
517
516
|
{
|
|
518
517
|
updateElement(null, newVNode2, isSvgMode);
|
|
@@ -685,7 +684,6 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
685
684
|
};
|
|
686
685
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
687
686
|
const hostElm = hostRef.$hostElement$;
|
|
688
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
689
687
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
690
688
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
691
689
|
hostTagName = hostElm.tagName;
|
|
@@ -700,7 +698,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
700
698
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
701
699
|
hostRef.$vnode$ = rootVnode;
|
|
702
700
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
703
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
704
701
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
705
702
|
};
|
|
706
703
|
|
|
@@ -787,7 +784,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
|
787
784
|
try {
|
|
788
785
|
instance = instance.render() ;
|
|
789
786
|
{
|
|
790
|
-
hostRef.$flags$ &=
|
|
787
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
791
788
|
}
|
|
792
789
|
{
|
|
793
790
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
@@ -836,7 +833,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
836
833
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
837
834
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
838
835
|
}
|
|
839
|
-
hostRef.$flags$ &=
|
|
836
|
+
hostRef.$flags$ &= -517;
|
|
840
837
|
}
|
|
841
838
|
};
|
|
842
839
|
var appDidLoad = (who) => {
|
|
@@ -891,7 +888,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
891
888
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
892
889
|
var _a, _b;
|
|
893
890
|
const prototype = Cstr.prototype;
|
|
894
|
-
if (cmpMeta.$members$ || BUILD.watchCallback
|
|
891
|
+
if (cmpMeta.$members$ || BUILD.watchCallback) {
|
|
895
892
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
896
893
|
members.map(([memberName, [memberFlags]]) => {
|
|
897
894
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
@@ -1040,7 +1037,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1040
1037
|
consoleError(e, elm);
|
|
1041
1038
|
}
|
|
1042
1039
|
{
|
|
1043
|
-
hostRef.$flags$ &=
|
|
1040
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1044
1041
|
}
|
|
1045
1042
|
endNewInstance();
|
|
1046
1043
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
@@ -1269,3 +1266,5 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1269
1266
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1270
1267
|
|
|
1271
1268
|
export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1269
|
+
|
|
1270
|
+
//# sourceMappingURL=index-D0TLN-F0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/esm/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
1
|
+
import { b as bootstrapLazy } from './index-D0TLN-F0.js';
|
|
2
|
+
export { s as setNonce } from './index-D0TLN-F0.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -9,3 +9,5 @@ const defineCustomElements = async (win, options) => {
|
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-D0TLN-F0.js';
|
|
2
|
+
export { s as setNonce } from './index-D0TLN-F0.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
|
+
|
|
8
9
|
var patchBrowser = () => {
|
|
9
10
|
const importMeta = import.meta.url;
|
|
10
11
|
const opts = {};
|
|
@@ -18,3 +19,5 @@ patchBrowser().then(async (options) => {
|
|
|
18
19
|
await globalScripts();
|
|
19
20
|
return bootstrapLazy([["proto-daisy-db_5",[[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"]}]]]], options);
|
|
20
21
|
});
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=proto-daisy-db.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-D0TLN-F0.js';
|
|
2
2
|
|
|
3
3
|
const KEY = 'proto-daisy-db:app-data';
|
|
4
4
|
const promisedParseJSON = (json) => {
|
|
@@ -25,7 +25,6 @@ const bag = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
const protoDaisyDbCss = "";
|
|
28
|
-
const ProtoDaisyDbStyle0 = protoDaisyDbCss;
|
|
29
28
|
|
|
30
29
|
const ProtoDaisyDB = class {
|
|
31
30
|
constructor(hostRef) {
|
|
@@ -58,10 +57,9 @@ const ProtoDaisyDB = class {
|
|
|
58
57
|
return h("div", { key: '35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81' });
|
|
59
58
|
}
|
|
60
59
|
};
|
|
61
|
-
ProtoDaisyDB.style =
|
|
60
|
+
ProtoDaisyDB.style = protoDaisyDbCss;
|
|
62
61
|
|
|
63
62
|
const protoFauxKeysCss = "";
|
|
64
|
-
const ProtoFauxKeysStyle0 = protoFauxKeysCss;
|
|
65
63
|
|
|
66
64
|
const ProtoFauxKeys = class {
|
|
67
65
|
constructor(hostRef) {
|
|
@@ -73,10 +71,9 @@ const ProtoFauxKeys = class {
|
|
|
73
71
|
return (h("div", { key: 'a423b82d951a69b266dd3d508a8dc11326a8008b', class: "flex flex-col" }, keys.map(key => (h("span", null, key)))));
|
|
74
72
|
}
|
|
75
73
|
};
|
|
76
|
-
ProtoFauxKeys.style =
|
|
74
|
+
ProtoFauxKeys.style = protoFauxKeysCss;
|
|
77
75
|
|
|
78
76
|
const protoFauxStampCss = "";
|
|
79
|
-
const ProtoFauxStampStyle0 = protoFauxStampCss;
|
|
80
77
|
|
|
81
78
|
const ProtoFauxStamp = class {
|
|
82
79
|
constructor(hostRef) {
|
|
@@ -88,10 +85,9 @@ const ProtoFauxStamp = class {
|
|
|
88
85
|
return (h("div", { key: 'f4837fa667d5d6e57086b09d1bc91719035442be', class: "flex" }, h("span", { key: 'a70fa27ba603ead243b5d262922082141420e0ac' }, stamp)));
|
|
89
86
|
}
|
|
90
87
|
};
|
|
91
|
-
ProtoFauxStamp.style =
|
|
88
|
+
ProtoFauxStamp.style = protoFauxStampCss;
|
|
92
89
|
|
|
93
|
-
const shadowCss = "/*! tailwindcss v4.0.
|
|
94
|
-
const ProtoFauxTriggerStyle0 = shadowCss;
|
|
90
|
+
const shadowCss = "/*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --radius-md: 0.375rem;\n }\n}\n@layer utilities {\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .flex {\n display: flex;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .content-center {\n align-content: center;\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-clrs-aqua {\n border-color: var(--clrs-aqua, #7fdbff);\n }\n .bg-clrs-blue {\n background-color: var(--clrs-blue, #0074d9);\n }\n .bg-clrs-navy {\n background-color: var(--clrs-navy, #001f3f);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .italic {\n font-style: italic;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n}\n@layer components {\n .btn {\n border-radius: var(--radius-md);\n border-style: var(--tw-border-style);\n border-width: 1px;\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-aqua, #7fdbff);\n padding: calc(var(--spacing) * 2);\n }\n}\n";
|
|
95
91
|
|
|
96
92
|
const ProtoFauxTrigger = class {
|
|
97
93
|
constructor(hostRef) {
|
|
@@ -129,10 +125,9 @@ const ProtoFauxTrigger = class {
|
|
|
129
125
|
return (h("div", { key: '47a9f4c68160b18fceedba61f54a7be29c75325a', class: "flex flex-col font-sans" }, h("div", { key: '334f34a36a896139cf4cc01f66bbf0d09bd89505', class: "flex flex-row content-center gap-2" }, h("button", { key: '784f07b93d4cd4a0287e6dd172bc73ab8e3c49e5', class: "btn bg-clrs-navy text-clrs-white", onClick: () => this.emitData() }, "Save"), h("button", { key: '8526e3216eb0a725ea22b288ac0cb3c503405ee4', class: "btn bg-clrs-blue text-clrs-white", onClick: () => this.fetchData() }, "Fetch")), h("proto-faux-type", { key: '3033b83816b2997c790fb8df1e1d90f387f62afa', class: "mt-4", emitter: this.emitter }), h("proto-faux-stamp", { key: '811eef59cdcdfa2edb318ee5facf7ae0bc497c82', class: "mt-2 text-xs", data: this.data }), h("proto-faux-keys", { key: 'ed39e233d92c46f801841240d32d783ee6b0f0fd', class: "mt-2", data: this.data })));
|
|
130
126
|
}
|
|
131
127
|
};
|
|
132
|
-
ProtoFauxTrigger.style =
|
|
128
|
+
ProtoFauxTrigger.style = shadowCss;
|
|
133
129
|
|
|
134
130
|
const protoFauxTypeCss = "proto-faux-type{}";
|
|
135
|
-
const ProtoFauxTypeStyle0 = protoFauxTypeCss;
|
|
136
131
|
|
|
137
132
|
const ProtoFauxType = class {
|
|
138
133
|
constructor(hostRef) {
|
|
@@ -152,6 +147,8 @@ const ProtoFauxType = class {
|
|
|
152
147
|
return (h("div", { key: 'd441f639241a54d1ef8ae9c26a4560b5266457df' }, h("span", { key: 'a192c0ce3af5f94d72856ca851300537fd00f31f', class: "text-xs italic" }, this.eventType)));
|
|
153
148
|
}
|
|
154
149
|
};
|
|
155
|
-
ProtoFauxType.style =
|
|
150
|
+
ProtoFauxType.style = protoFauxTypeCss;
|
|
156
151
|
|
|
157
152
|
export { ProtoDaisyDB as proto_daisy_db, ProtoFauxKeys as proto_faux_keys, ProtoFauxStamp as proto_faux_stamp, ProtoFauxTrigger as proto_faux_trigger, ProtoFauxType as proto_faux_type };
|
|
153
|
+
|
|
154
|
+
//# sourceMappingURL=proto-daisy-db_5.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{r as t,h as a}from"./p-
|
|
1
|
+
import{r as t,h as a}from"./p-D0TLN-F0.js";const e="proto-daisy-db:app-data",n=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(e),new Promise(((t,e)=>{try{t(JSON.parse(a))}catch(t){e(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(e,a)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return a("div",{key:"35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81"})}};n.style="";const s=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))))}};s.style="";const o=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:""))}};o.style="";const r=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}))}};r.style="/*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --radius-md: 0.375rem;\n }\n}\n@layer utilities {\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .flex {\n display: flex;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .content-center {\n align-content: center;\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-clrs-aqua {\n border-color: var(--clrs-aqua, #7fdbff);\n }\n .bg-clrs-blue {\n background-color: var(--clrs-blue, #0074d9);\n }\n .bg-clrs-navy {\n background-color: var(--clrs-navy, #001f3f);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .italic {\n font-style: italic;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n}\n@layer components {\n .btn {\n border-radius: var(--radius-md);\n border-style: var(--tw-border-style);\n border-width: 1px;\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-aqua, #7fdbff);\n padding: calc(var(--spacing) * 2);\n }\n}\n";const i=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))}};i.style="proto-faux-type{}";export{n as proto_daisy_db,s as proto_faux_keys,o as proto_faux_stamp,r as proto_faux_trigger,i as proto_faux_type}
|
|
2
|
+
//# sourceMappingURL=p-7a20e5c7.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?b(v):u.raf(v))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},v=()=>{y(h),y(p),(d=h.length>0)&&u.raf(v)},b=e=>a().then(e),w=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function S(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>k,ok:()=>g,unwrap:()=>E,unwrapErr:()=>C});var g=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function k(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>g(e))):g(n)}if(e.isErr)return j(e.value);throw"should never get here"}var O,E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?P(null,o):o),s=i)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=P(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},P=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),x={},D=(e,t)=>null==e||$(e)?e:1&t?e+"":e,R=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,o=N(n);let i=N(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if(r||o&&null!==l)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,a)?a.slice(2):a[2]+t.slice(3),n||l){const o=t.endsWith(L);t=t.replace(T,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},A=/\s/,N=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(A):[]),L="Capture",T=RegExp(L+"$"),H=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of z(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of z(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var F=!1,V=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=c.document.createElement(o.m),H(null,o,F),o.h)for(s=0;s<o.h.length;++s)i=V(e,o,s),i&&l.appendChild(i)}return l["s-hn"]=O,l},q=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===O&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=V(null,n,l),s&&(o[l].v=s,_(r,s,t)))},G=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),Y=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.i;null===s?(H(e,t,F),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(I(d,m,l))Y(d,m,l),d=t[++r],m=o[++c];else if(I(h,y,l))Y(h,y,l),h=t[--f],y=o[--p];else if(I(d,y,l))Y(d,y,l),_(e,d.v,h.v.nextSibling),d=t[++r],y=o[--p];else if(I(h,m,l))Y(h,m,l),_(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=V(t&&t[c],n,u):(Y(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=V(t&&t[c],n,c),m=o[++c]),i&&_(d.v.parentNode,i,d.v)}r>f?q(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&G(t,r,f)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),q(o,null,t,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1)):e.i!==s&&(o.data=s)},_=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),B=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},J=(e,t)=>{if(e.o|=16,!(4&e.o))return B(e,e.j),w((()=>K(e,t)));e.o|=512},K=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.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`);let l;return l=oe(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=Q(l,(()=>oe(o,"componentWillRender",void 0,n))),Q(l,(()=>Z(e,o,t)))},Q=(e,t)=>X(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),X=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let i,s=R.get(e=e.head||e);if(s||R.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.O)?n:S(c.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(f){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ee(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ee=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.C||P(null,null),i=(e=>e&&e.m===x)(t)?t:M(null,null,t);if(O=o.tagName,n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.C=i,i.v=l.v=o.shadowRoot||o,Y(l,i,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.t,o=e.j;oe(n,"componentDidRender",void 0,t),64&e.o?oe(n,"componentDidUpdate",void 0,t):(e.o|=64,le(t),oe(n,"componentDidLoad",void 0,t),e.M(t),o||ne()),e.S&&(e.S(),e.S=void 0),512&e.o&&b((()=>J(e,!1))),e.o&=-517},ne=()=>{b((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(t),t})(c)))},oe=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},le=e=>e.classList.add("hydrated"),ie=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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/stenciljs/core/issues/5457).`);const s=i.P.get(n),r=i.o,c=i.t;if(o=D(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;J(i,!1)}},se=(e,n,o)=>{var l,i;const s=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).P.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.P.get(e)?i=s.P.get(e):!s.P.get(e)&&t&&s.P.set(e,t),r.call(this,D(i,l)),void ie(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return ie(this,e,i,n),void(1&o&&!s.t&&s.R.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.P.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.P.get(e)&&t&&s.P.set(e,t),s.t[e]=D(i,l),ie(this,e,s.t[e],n)};s.t?t():s.R.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){u.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.U)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.U)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},re=(e,t)=>{oe(e,"connectedCallback",void 0,t)},ce=(e,t)=>{oe(e,"disconnectedCallback",void 0,t||e)},ue=(e,n={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),y=c.document.createElement("style"),v=[];let b,w=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],$:n[1],D:n[2],W:n[3]};4&o.o&&($=!0),o.D=n[2];const r=o.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,P:new Map};n.R=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),w?v.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?re(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>re(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){B(n,n.j=t);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.A){const s=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.A;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);o.isProxied||(se(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),re(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=U(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>J(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?ce(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>ce(n.t,e)))}R.has(e)&&R.delete(e),e.shadowRoot&&R.has(e.shadowRoot)&&R.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=v.findIndex((e=>e===this));o>-1&&v.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).R}};o.A=e[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,se(c,o,1)))}))})),a.length>0&&($&&(y.textContent+=r),y.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const e=null!=(o=u.O)?o:S(c.document);null!=e&&y.setAttribute("nonce",e),p.insertBefore(y,m?m.nextSibling:p.firstChild)}w=!1,v.length?v.map((e=>e.connectedCallback())):u.jmp((()=>b=setTimeout(ne,30)))},ae=e=>u.O=e;export{ue as b,M as h,a as p,n as r,ae as s}
|
|
3
|
+
//# sourceMappingURL=p-D0TLN-F0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{p as t,b as e}from"./p-
|
|
1
|
+
import{p as t,b as e}from"./p-D0TLN-F0.js";export{s as setNonce}from"./p-D0TLN-F0.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),e([["p-7a20e5c7",[[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))));
|
|
2
|
+
//# sourceMappingURL=proto-daisy-db.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -826,6 +826,7 @@ export declare namespace JSXBase {
|
|
|
826
826
|
}
|
|
827
827
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
828
828
|
open?: boolean;
|
|
829
|
+
name?: string;
|
|
829
830
|
onToggle?: (event: Event) => void;
|
|
830
831
|
}
|
|
831
832
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "4.
|
|
30
|
+
"@stencil/core": "4.28.2",
|
|
31
31
|
"mitt": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"autoprefixer": "10.4.
|
|
34
|
+
"autoprefixer": "10.4.21",
|
|
35
35
|
"concurrently": "9.1.2",
|
|
36
36
|
"cspell": "8.17.5",
|
|
37
37
|
"postcss": "8.5.3",
|
|
38
38
|
"prettier": "3.5.3",
|
|
39
39
|
"prettier-plugin-tailwindcss": "0.6.11",
|
|
40
|
-
"proto-tailwindcss-clrs": "0.0.
|
|
41
|
-
"tailwindcss": "4.0.
|
|
40
|
+
"proto-tailwindcss-clrs": "0.0.412",
|
|
41
|
+
"tailwindcss": "4.0.15",
|
|
42
42
|
"workbox-build": "7.3.0"
|
|
43
43
|
},
|
|
44
44
|
"license": "MIT"
|
package/dist/loader/package.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "proto-daisy-db-loader",
|
|
3
|
-
"private": true,
|
|
4
|
-
"typings": "./index.d.ts",
|
|
5
|
-
"module": "./index.js",
|
|
6
|
-
"main": "./index.cjs.js",
|
|
7
|
-
"jsnext:main": "./index.es2017.js",
|
|
8
|
-
"es2015": "./index.es2017.js",
|
|
9
|
-
"es2017": "./index.es2017.js",
|
|
10
|
-
"unpkg": "./cdn.js"
|
|
11
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?b(v):u.raf(v))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},v=()=>{y(h),y(p),(d=h.length>0)&&u.raf(v)},b=e=>a().then(e),w=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function S(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>k,ok:()=>g,unwrap:()=>E,unwrapErr:()=>C});var g=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function k(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>g(e))):g(n)}if(e.isErr)return j(e.value);throw"should never get here"}var O,E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?P(null,o):o),s=i)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=P(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},P=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),x={},D=(e,t)=>null==e||$(e)?e:1&t?e+"":e,R=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,o=N(n);let i=N(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!i)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,a)?a.slice(2):a[2]+t.slice(3),n||l){const o=t.endsWith(L);t=t.replace(T,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},A=/\s/,N=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(A):[]),L="Capture",T=RegExp(L+"$"),H=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of z(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of z(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var F=!1,V=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=c.document.createElement(o.m),H(null,o,F),o.h)for(s=0;s<o.h.length;++s)i=V(e,o,s),i&&l.appendChild(i)}return l["s-hn"]=O,l},q=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===O&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=V(null,n,l),s&&(o[l].v=s,_(r,s,t)))},G=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),Y=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.i;null===s?(H(e,t,F),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(I(d,m,l))Y(d,m,l),d=t[++r],m=o[++c];else if(I(h,y,l))Y(h,y,l),h=t[--f],y=o[--p];else if(I(d,y,l))Y(d,y,l),_(e,d.v,h.v.nextSibling),d=t[++r],y=o[--p];else if(I(h,m,l))Y(h,m,l),_(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=V(t&&t[c],n,u):(Y(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=V(t&&t[c],n,c),m=o[++c]),i&&_(d.v.parentNode,i,d.v)}r>f?q(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&G(t,r,f)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),q(o,null,t,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1)):e.i!==s&&(o.data=s)},_=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),B=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},J=(e,t)=>{if(e.o|=16,!(4&e.o))return B(e,e.j),w((()=>K(e,t)));e.o|=512},K=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.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`);let l;return l=oe(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=Q(l,(()=>oe(o,"componentWillRender",void 0,n))),Q(l,(()=>Z(e,o,t)))},Q=(e,t)=>X(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),X=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let i,s=R.get(e=e.head||e);if(s||R.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.O)?n:S(c.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(f){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ee(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ee=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,i=e.C||P(null,null),s=(e=>e&&e.m===x)(t)?t:M(null,null,t);if(O=o.tagName,n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=i.v=o.shadowRoot||o,Y(i,s,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.t,o=e.j;oe(n,"componentDidRender",void 0,t),64&e.o?oe(n,"componentDidUpdate",void 0,t):(e.o|=64,le(t),oe(n,"componentDidLoad",void 0,t),e.M(t),o||ne()),e.S&&(e.S(),e.S=void 0),512&e.o&&b((()=>J(e,!1))),e.o&=-517},ne=()=>{b((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(t),t})(c)))},oe=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},le=e=>e.classList.add("hydrated"),ie=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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/stenciljs/core/issues/5457).`);const s=i.P.get(n),r=i.o,c=i.t;if(o=D(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;J(i,!1)}},se=(e,n,o)=>{var l,i;const s=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).P.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.P.get(e)?i=s.P.get(e):!s.P.get(e)&&t&&s.P.set(e,t),r.call(this,D(i,l)),void ie(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return ie(this,e,i,n),void(1&o&&!s.t&&s.R.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.P.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.P.get(e)&&t&&s.P.set(e,t),s.t[e]=D(i,l),ie(this,e,s.t[e],n)};s.t?t():s.R.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){u.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.U)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.U)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},re=(e,t)=>{oe(e,"connectedCallback",void 0,t)},ce=(e,t)=>{oe(e,"disconnectedCallback",void 0,t||e)},ue=(e,n={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),y=c.document.createElement("style"),v=[];let b,w=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],$:n[1],D:n[2],W:n[3]};4&o.o&&($=!0),o.D=n[2];const r=o.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,P:new Map};n.R=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),w?v.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?re(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>re(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){B(n,n.j=t);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.A){const s=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.A;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);o.isProxied||(se(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),re(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=U(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>J(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?ce(n.t,e):(null==n?void 0:n.R)&&n.R.then((()=>ce(n.t,e)))}R.has(e)&&R.delete(e),e.shadowRoot&&R.has(e.shadowRoot)&&R.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=v.findIndex((e=>e===this));o>-1&&v.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).R}};o.A=e[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,se(c,o,1)))}))})),a.length>0&&($&&(y.textContent+=r),y.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const e=null!=(o=u.O)?o:S(c.document);null!=e&&y.setAttribute("nonce",e),p.insertBefore(y,m?m.nextSibling:p.firstChild)}w=!1,v.length?v.map((e=>e.connectedCallback())):u.jmp((()=>b=setTimeout(ne,30)))},ae=e=>u.O=e;export{ue as b,M as h,a as p,n as r,ae as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o=()=>{};export{o as g}
|
package/loader/package.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "proto-daisy-db-loader",
|
|
3
|
-
"private": true,
|
|
4
|
-
"typings": "./index.d.ts",
|
|
5
|
-
"module": "./index.js",
|
|
6
|
-
"main": "./index.cjs.js",
|
|
7
|
-
"jsnext:main": "./index.es2017.js",
|
|
8
|
-
"es2015": "./index.es2017.js",
|
|
9
|
-
"es2017": "./index.es2017.js",
|
|
10
|
-
"unpkg": "./cdn.js"
|
|
11
|
-
}
|