proto-daisy-db 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-ChwyTvFq.js → index-B9h-80At.js} +4 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-daisy-db.cjs.js +2 -2
- package/dist/cjs/proto-daisy-db_5.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/proto-daisy-db/proto-daisy-db.js +1 -1
- package/dist/collection/components/proto-faux-keys/proto-faux-keys.js +1 -0
- package/dist/collection/components/proto-faux-stamp/proto-faux-stamp.js +1 -0
- package/dist/collection/components/proto-faux-trigger/proto-faux-trigger.js +2 -1
- package/dist/collection/components/proto-faux-type/proto-faux-type.js +2 -2
- package/dist/collection/props.css +25 -0
- package/dist/collection/styles/shadow.css +2 -26
- package/dist/collection/tokens.css +2 -26
- package/dist/collection/utils/tw-version.js +1 -1
- package/dist/components/proto-faux-trigger.js +1 -1
- package/dist/esm/{index-D0TLN-F0.js → index-CRfr9OJk.js} +4 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-daisy-db.js +3 -3
- package/dist/esm/proto-daisy-db_5.entry.js +2 -2
- package/dist/proto-daisy-db/p-488aac73.entry.js +2 -0
- package/dist/proto-daisy-db/{p-D0TLN-F0.js → p-CRfr9OJk.js} +1 -1
- package/dist/proto-daisy-db/props.css +25 -0
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +1 -1
- package/dist/proto-daisy-db/tokens.css +2 -26
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/dist/types/utils/tw-version.d.ts +1 -1
- package/package.json +3 -3
- package/dist/proto-daisy-db/p-76016d0b.entry.js +0 -2
- /package/dist/cjs/{index-ChwyTvFq.js.map → index-B9h-80At.js.map} +0 -0
- /package/dist/esm/{index-D0TLN-F0.js.map → index-CRfr9OJk.js.map} +0 -0
- /package/dist/proto-daisy-db/{p-76016d0b.entry.js.map → p-488aac73.entry.js.map} +0 -0
- /package/dist/proto-daisy-db/{p-D0TLN-F0.js.map → p-CRfr9OJk.js.map} +0 -0
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'proto-daisy-db';
|
|
|
4
4
|
const BUILD = /* proto-daisy-db */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.29.0 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
10
10
|
var __export = (target, all) => {
|
|
@@ -687,7 +687,8 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
687
687
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
688
688
|
const hostElm = hostRef.$hostElement$;
|
|
689
689
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
690
|
-
const
|
|
690
|
+
const isHostElement = isHost(renderFnResults);
|
|
691
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
691
692
|
hostTagName = hostElm.tagName;
|
|
692
693
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
693
694
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
@@ -1273,4 +1274,4 @@ exports.promiseResolve = promiseResolve;
|
|
|
1273
1274
|
exports.registerInstance = registerInstance;
|
|
1274
1275
|
exports.setNonce = setNonce;
|
|
1275
1276
|
|
|
1276
|
-
//# sourceMappingURL=index-
|
|
1277
|
+
//# sourceMappingURL=index-B9h-80At.js.map
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-B9h-80At.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.29.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-B9h-80At.js');
|
|
4
4
|
|
|
5
5
|
const KEY = 'proto-daisy-db:app-data';
|
|
6
6
|
const promisedParseJSON = (json) => {
|
|
@@ -89,7 +89,7 @@ const ProtoFauxStamp = class {
|
|
|
89
89
|
};
|
|
90
90
|
ProtoFauxStamp.style = protoFauxStampCss;
|
|
91
91
|
|
|
92
|
-
const shadowCss = "/*! tailwindcss v4.1.
|
|
92
|
+
const shadowCss = "/*! tailwindcss v4.1.2 | MIT License | https://tailwindcss.com */\n@layer properties;\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";
|
|
93
93
|
|
|
94
94
|
const ProtoFauxTrigger = class {
|
|
95
95
|
constructor(hostRef) {
|
|
@@ -45,6 +45,7 @@ export class ProtoDaisyDB {
|
|
|
45
45
|
return {
|
|
46
46
|
"emitter": {
|
|
47
47
|
"type": "string",
|
|
48
|
+
"attribute": "emitter",
|
|
48
49
|
"mutable": false,
|
|
49
50
|
"complexType": {
|
|
50
51
|
"original": "string",
|
|
@@ -59,7 +60,6 @@ export class ProtoDaisyDB {
|
|
|
59
60
|
},
|
|
60
61
|
"getter": false,
|
|
61
62
|
"setter": false,
|
|
62
|
-
"attribute": "emitter",
|
|
63
63
|
"reflect": false,
|
|
64
64
|
"defaultValue": "undefined"
|
|
65
65
|
}
|
|
@@ -48,6 +48,7 @@ export class ProtoFauxTrigger {
|
|
|
48
48
|
return {
|
|
49
49
|
"emitter": {
|
|
50
50
|
"type": "string",
|
|
51
|
+
"attribute": "emitter",
|
|
51
52
|
"mutable": false,
|
|
52
53
|
"complexType": {
|
|
53
54
|
"original": "string",
|
|
@@ -62,12 +63,12 @@ export class ProtoFauxTrigger {
|
|
|
62
63
|
},
|
|
63
64
|
"getter": false,
|
|
64
65
|
"setter": false,
|
|
65
|
-
"attribute": "emitter",
|
|
66
66
|
"reflect": false,
|
|
67
67
|
"defaultValue": "undefined"
|
|
68
68
|
},
|
|
69
69
|
"data": {
|
|
70
70
|
"type": "unknown",
|
|
71
|
+
"attribute": "data",
|
|
71
72
|
"mutable": true,
|
|
72
73
|
"complexType": {
|
|
73
74
|
"original": "object",
|
|
@@ -30,6 +30,7 @@ export class ProtoFauxType {
|
|
|
30
30
|
return {
|
|
31
31
|
"emitter": {
|
|
32
32
|
"type": "string",
|
|
33
|
+
"attribute": "emitter",
|
|
33
34
|
"mutable": false,
|
|
34
35
|
"complexType": {
|
|
35
36
|
"original": "string",
|
|
@@ -44,12 +45,12 @@ export class ProtoFauxType {
|
|
|
44
45
|
},
|
|
45
46
|
"getter": false,
|
|
46
47
|
"setter": false,
|
|
47
|
-
"attribute": "emitter",
|
|
48
48
|
"reflect": false,
|
|
49
49
|
"defaultValue": "undefined"
|
|
50
50
|
},
|
|
51
51
|
"eventType": {
|
|
52
52
|
"type": "string",
|
|
53
|
+
"attribute": "event-type",
|
|
53
54
|
"mutable": true,
|
|
54
55
|
"complexType": {
|
|
55
56
|
"original": "string",
|
|
@@ -64,7 +65,6 @@ export class ProtoFauxType {
|
|
|
64
65
|
},
|
|
65
66
|
"getter": false,
|
|
66
67
|
"setter": false,
|
|
67
|
-
"attribute": "event-type",
|
|
68
68
|
"reflect": false,
|
|
69
69
|
"defaultValue": "undefined"
|
|
70
70
|
}
|
|
@@ -68,3 +68,28 @@
|
|
|
68
68
|
inherits: false;
|
|
69
69
|
initial-value: 0 0 #0000;
|
|
70
70
|
}
|
|
71
|
+
@layer properties {
|
|
72
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
|
|
73
|
+
((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
74
|
+
*,
|
|
75
|
+
::before,
|
|
76
|
+
::after,
|
|
77
|
+
::backdrop {
|
|
78
|
+
--tw-border-style: solid;
|
|
79
|
+
--tw-shadow: 0 0 #0000;
|
|
80
|
+
--tw-shadow-color: initial;
|
|
81
|
+
--tw-shadow-alpha: 100%;
|
|
82
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
83
|
+
--tw-inset-shadow-color: initial;
|
|
84
|
+
--tw-inset-shadow-alpha: 100%;
|
|
85
|
+
--tw-ring-color: initial;
|
|
86
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
87
|
+
--tw-inset-ring-color: initial;
|
|
88
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
89
|
+
--tw-ring-inset: initial;
|
|
90
|
+
--tw-ring-offset-width: 0px;
|
|
91
|
+
--tw-ring-offset-color: #fff;
|
|
92
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,30 +1,6 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.2 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
2
3
|
@layer theme, base, components, utilities;
|
|
3
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
|
|
4
|
-
((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
5
|
-
@layer base {
|
|
6
|
-
*,
|
|
7
|
-
::before,
|
|
8
|
-
::after,
|
|
9
|
-
::backdrop {
|
|
10
|
-
--tw-border-style: solid;
|
|
11
|
-
--tw-shadow: 0 0 #0000;
|
|
12
|
-
--tw-shadow-color: initial;
|
|
13
|
-
--tw-shadow-alpha: 100%;
|
|
14
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
15
|
-
--tw-inset-shadow-color: initial;
|
|
16
|
-
--tw-inset-shadow-alpha: 100%;
|
|
17
|
-
--tw-ring-color: initial;
|
|
18
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
19
|
-
--tw-inset-ring-color: initial;
|
|
20
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
21
|
-
--tw-ring-inset: initial;
|
|
22
|
-
--tw-ring-offset-width: 0px;
|
|
23
|
-
--tw-ring-offset-color: #fff;
|
|
24
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
4
|
@layer theme {
|
|
29
5
|
:root,
|
|
30
6
|
:host {
|
|
@@ -1,30 +1,6 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.2 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
2
3
|
@layer theme, base, components, utilities;
|
|
3
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
|
|
4
|
-
((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
5
|
-
@layer base {
|
|
6
|
-
*,
|
|
7
|
-
::before,
|
|
8
|
-
::after,
|
|
9
|
-
::backdrop {
|
|
10
|
-
--tw-border-style: solid;
|
|
11
|
-
--tw-shadow: 0 0 #0000;
|
|
12
|
-
--tw-shadow-color: initial;
|
|
13
|
-
--tw-shadow-alpha: 100%;
|
|
14
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
15
|
-
--tw-inset-shadow-color: initial;
|
|
16
|
-
--tw-inset-shadow-alpha: 100%;
|
|
17
|
-
--tw-ring-color: initial;
|
|
18
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
19
|
-
--tw-inset-ring-color: initial;
|
|
20
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
21
|
-
--tw-ring-inset: initial;
|
|
22
|
-
--tw-ring-offset-width: 0px;
|
|
23
|
-
--tw-ring-offset-color: #fff;
|
|
24
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
4
|
@layer theme {
|
|
29
5
|
:root,
|
|
30
6
|
:host {
|
|
@@ -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 shadowCss = "/*! tailwindcss v4.1.
|
|
6
|
+
const shadowCss = "/*! tailwindcss v4.1.2 | MIT License | https://tailwindcss.com */\n@layer properties;\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";
|
|
7
7
|
|
|
8
8
|
const ProtoFauxTrigger$1 = /*@__PURE__*/ proxyCustomElement(class ProtoFauxTrigger extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-daisy-db';
|
|
|
2
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.29.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -685,7 +685,8 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
685
685
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
686
686
|
const hostElm = hostRef.$hostElement$;
|
|
687
687
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
688
|
-
const
|
|
688
|
+
const isHostElement = isHost(renderFnResults);
|
|
689
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
689
690
|
hostTagName = hostElm.tagName;
|
|
690
691
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
691
692
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
@@ -1267,4 +1268,4 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
|
1267
1268
|
|
|
1268
1269
|
export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1269
1270
|
|
|
1270
|
-
//# sourceMappingURL=index-
|
|
1271
|
+
//# sourceMappingURL=index-CRfr9OJk.js.map
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-CRfr9OJk.js';
|
|
2
|
+
export { s as setNonce } from './index-CRfr9OJk.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-CRfr9OJk.js';
|
|
2
|
+
export { s as setNonce } from './index-CRfr9OJk.js';
|
|
3
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.29.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var patchBrowser = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CRfr9OJk.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 shadowCss = "/*! tailwindcss v4.1.
|
|
90
|
+
const shadowCss = "/*! tailwindcss v4.1.2 | MIT License | https://tailwindcss.com */\n@layer properties;\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";
|
|
91
91
|
|
|
92
92
|
const ProtoFauxTrigger = class {
|
|
93
93
|
constructor(hostRef) {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as a}from"./p-CRfr9OJk.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.1.2 | MIT License | https://tailwindcss.com */\n@layer properties;\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-488aac73.entry.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
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
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-
|
|
3
|
+
//# sourceMappingURL=p-CRfr9OJk.js.map
|
|
@@ -68,3 +68,28 @@
|
|
|
68
68
|
inherits: false;
|
|
69
69
|
initial-value: 0 0 #0000;
|
|
70
70
|
}
|
|
71
|
+
@layer properties {
|
|
72
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
|
|
73
|
+
((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
74
|
+
*,
|
|
75
|
+
::before,
|
|
76
|
+
::after,
|
|
77
|
+
::backdrop {
|
|
78
|
+
--tw-border-style: solid;
|
|
79
|
+
--tw-shadow: 0 0 #0000;
|
|
80
|
+
--tw-shadow-color: initial;
|
|
81
|
+
--tw-shadow-alpha: 100%;
|
|
82
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
83
|
+
--tw-inset-shadow-color: initial;
|
|
84
|
+
--tw-inset-shadow-alpha: 100%;
|
|
85
|
+
--tw-ring-color: initial;
|
|
86
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
87
|
+
--tw-inset-ring-color: initial;
|
|
88
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
89
|
+
--tw-ring-inset: initial;
|
|
90
|
+
--tw-ring-offset-width: 0px;
|
|
91
|
+
--tw-ring-offset-color: #fff;
|
|
92
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,b as
|
|
1
|
+
import{p as t,b as a}from"./p-CRfr9OJk.js";export{s as setNonce}from"./p-CRfr9OJk.js";import{g as e}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,e={};return""!==a&&(e.resourcesUrl=new URL(".",a).href),t(e)})().then((async t=>(await e(),a([["p-488aac73",[[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
2
|
//# sourceMappingURL=proto-daisy-db.esm.js.map
|
|
@@ -1,30 +1,6 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.2 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
2
3
|
@layer theme, base, components, utilities;
|
|
3
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
|
|
4
|
-
((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
5
|
-
@layer base {
|
|
6
|
-
*,
|
|
7
|
-
::before,
|
|
8
|
-
::after,
|
|
9
|
-
::backdrop {
|
|
10
|
-
--tw-border-style: solid;
|
|
11
|
-
--tw-shadow: 0 0 #0000;
|
|
12
|
-
--tw-shadow-color: initial;
|
|
13
|
-
--tw-shadow-alpha: 100%;
|
|
14
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
15
|
-
--tw-inset-shadow-color: initial;
|
|
16
|
-
--tw-inset-shadow-alpha: 100%;
|
|
17
|
-
--tw-ring-color: initial;
|
|
18
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
19
|
-
--tw-inset-ring-color: initial;
|
|
20
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
21
|
-
--tw-ring-inset: initial;
|
|
22
|
-
--tw-ring-offset-width: 0px;
|
|
23
|
-
--tw-ring-offset-color: #fff;
|
|
24
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
4
|
@layer theme {
|
|
29
5
|
:root,
|
|
30
6
|
:host {
|
|
@@ -1662,6 +1662,8 @@ export declare namespace JSXBase {
|
|
|
1662
1662
|
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1663
1663
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1664
1664
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1665
|
+
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1666
|
+
[key: `aria${string}`]: string | boolean | undefined;
|
|
1665
1667
|
}
|
|
1666
1668
|
}
|
|
1667
1669
|
export interface JSXAttributes<T = Element> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
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.
|
|
30
|
+
"@stencil/core": "4.29.0",
|
|
31
31
|
"mitt": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prettier": "3.5.3",
|
|
39
39
|
"prettier-plugin-tailwindcss": "0.6.11",
|
|
40
40
|
"proto-tailwindcss-clrs": "0.0.415",
|
|
41
|
-
"tailwindcss": "4.1.
|
|
41
|
+
"tailwindcss": "4.1.2",
|
|
42
42
|
"workbox-build": "7.3.0"
|
|
43
43
|
},
|
|
44
44
|
"license": "MIT"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as n}from"./p-D0TLN-F0.js";const a="proto-daisy-db:app-data",e=class{constructor(n){t(this,n),this.emitter=void 0}componentDidLoad(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter];t.on("app-data:get",(()=>{var n;console.log("app-data:get"),(n=localStorage.getItem(a),new Promise(((t,a)=>{try{t(JSON.parse(n))}catch(t){a(t)}}))).then((n=>{t.emit("app-data:value",n)})).catch((t=>{console.log(t)}))})),t.on("app-data:store",(t=>{console.log("app-data:store",t),(t=>{const n=JSON.stringify(t);localStorage.setItem(a,n)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return n("div",{key:"35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81"})}};e.style="";const s=class{constructor(n){t(this,n),this.data=void 0}render(){const t=this.data?Object.keys(this.data):[];return n("div",{key:"a423b82d951a69b266dd3d508a8dc11326a8008b",class:"flex flex-col"},t.map((t=>n("span",null,t))))}};s.style="";const o=class{constructor(n){t(this,n),this.data=void 0}render(){return n("div",{key:"f4837fa667d5d6e57086b09d1bc91719035442be",class:"flex"},n("span",{key:"a70fa27ba603ead243b5d262922082141420e0ac"},this.data?this.data.stamp:""))}};o.style="";const r=class{constructor(n){t(this,n),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],n={login:!0,stamp:Date.now(),theme:"dark",dealers:[]};this.data=void 0,t.emit("app-data:store",n)}}fetchData(){this.emitter&&window[this.emitter]&&window[this.emitter].emit("app-data:get",42)}render(){return n("div",{key:"47a9f4c68160b18fceedba61f54a7be29c75325a",class:"flex flex-col font-sans"},n("div",{key:"334f34a36a896139cf4cc01f66bbf0d09bd89505",class:"flex flex-row content-center gap-2"},n("button",{key:"784f07b93d4cd4a0287e6dd172bc73ab8e3c49e5",class:"btn bg-clrs-navy text-clrs-white",onClick:()=>this.emitData()},"Save"),n("button",{key:"8526e3216eb0a725ea22b288ac0cb3c503405ee4",class:"btn bg-clrs-blue text-clrs-white",onClick:()=>this.fetchData()},"Fetch")),n("proto-faux-type",{key:"3033b83816b2997c790fb8df1e1d90f387f62afa",class:"mt-4",emitter:this.emitter}),n("proto-faux-stamp",{key:"811eef59cdcdfa2edb318ee5facf7ae0bc497c82",class:"mt-2 text-xs",data:this.data}),n("proto-faux-keys",{key:"ed39e233d92c46f801841240d32d783ee6b0f0fd",class:"mt-2",data:this.data}))}};r.style="/*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */\n@layer theme, base, components, utilities;\n@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or\n ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n @layer base {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-border-style: solid;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n }\n }\n}\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(n){t(this,n),this.emitter=void 0,this.eventType=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("*",(t=>{this.eventType=t}))}render(){return n("div",{key:"d441f639241a54d1ef8ae9c26a4560b5266457df"},n("span",{key:"a192c0ce3af5f94d72856ca851300537fd00f31f",class:"text-xs italic"},this.eventType))}};i.style="proto-faux-type{}";export{e 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-76016d0b.entry.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|