proto-daisy-db 0.0.212 → 0.0.213
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-d20555ca.js → index-2bb3a8dd.js} +15 -4
- 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 +108 -108
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/proto-daisy-db/proto-daisy-db.js +61 -61
- package/dist/collection/components/proto-faux-keys/proto-faux-keys.js +38 -38
- package/dist/collection/components/proto-faux-stamp/proto-faux-stamp.js +38 -38
- package/dist/collection/components/proto-faux-trigger/proto-faux-trigger.js +79 -79
- package/dist/collection/components/proto-faux-type/proto-faux-type.js +65 -65
- package/dist/collection/utils/bag.js +17 -17
- package/dist/components/proto-daisy-db.d.ts +2 -2
- package/dist/components/proto-daisy-db.js +61 -61
- package/dist/components/proto-faux-keys.d.ts +2 -2
- package/dist/components/proto-faux-keys2.js +23 -23
- package/dist/components/proto-faux-stamp.d.ts +2 -2
- package/dist/components/proto-faux-stamp2.js +23 -23
- package/dist/components/proto-faux-trigger.d.ts +2 -2
- package/dist/components/proto-faux-trigger.js +62 -62
- package/dist/components/proto-faux-type.d.ts +2 -2
- package/dist/components/proto-faux-type2.js +31 -31
- package/dist/esm/{index-3cc7c567.js → index-9cd2d809.js} +15 -4
- 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 +108 -108
- package/dist/proto-daisy-db/{p-4c14e51e.entry.js → p-686357f2.entry.js} +1 -1
- package/dist/proto-daisy-db/{p-02e05b51.js → p-8cdb3b30.js} +1 -1
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +1 -1
- package/dist/types/components/proto-daisy-db/proto-daisy-db.d.ts +3 -3
- package/dist/types/components/proto-faux-keys/proto-faux-keys.d.ts +2 -2
- package/dist/types/components/proto-faux-stamp/proto-faux-stamp.d.ts +2 -2
- package/dist/types/components/proto-faux-trigger/proto-faux-trigger.d.ts +6 -6
- package/dist/types/components/proto-faux-type/proto-faux-type.d.ts +4 -4
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/utils/bag.d.ts +2 -2
- package/package.json +3 -3
|
@@ -405,7 +405,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
405
405
|
elm[memberName] = newValue;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
catch (e) {
|
|
408
|
+
catch (e) {
|
|
409
|
+
/**
|
|
410
|
+
* in case someone tries to set a read-only property, e.g. "namespaceURI", we just ignore it
|
|
411
|
+
*/
|
|
412
|
+
}
|
|
409
413
|
}
|
|
410
414
|
if (newValue == null || newValue === false) {
|
|
411
415
|
if (newValue !== false || elm.getAttribute(memberName) === '') {
|
|
@@ -424,6 +428,11 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
424
428
|
}
|
|
425
429
|
};
|
|
426
430
|
const parseClassListRegex = /\s/;
|
|
431
|
+
/**
|
|
432
|
+
* Parsed a string of classnames into an array
|
|
433
|
+
* @param value className string, e.g. "foo bar baz"
|
|
434
|
+
* @returns list of classes, e.g. ["foo", "bar", "baz"]
|
|
435
|
+
*/
|
|
427
436
|
const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
|
|
428
437
|
const CAPTURE_EVENT_SUFFIX = 'Capture';
|
|
429
438
|
const CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + '$');
|
|
@@ -1122,10 +1131,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1122
1131
|
*/
|
|
1123
1132
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1124
1133
|
var _a;
|
|
1134
|
+
const prototype = Cstr.prototype;
|
|
1125
1135
|
if (cmpMeta.$members$) {
|
|
1126
1136
|
// It's better to have a const than two Object.entries()
|
|
1127
1137
|
const members = Object.entries(cmpMeta.$members$);
|
|
1128
|
-
const prototype = Cstr.prototype;
|
|
1129
1138
|
members.map(([memberName, [memberFlags]]) => {
|
|
1130
1139
|
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1131
1140
|
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
@@ -1148,6 +1157,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1148
1157
|
const attrNameToPropName = new Map();
|
|
1149
1158
|
prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
|
|
1150
1159
|
plt.jmp(() => {
|
|
1160
|
+
var _a;
|
|
1151
1161
|
const propName = attrNameToPropName.get(attrName);
|
|
1152
1162
|
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1153
1163
|
// in the case where an attribute was set inline.
|
|
@@ -1203,11 +1213,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1203
1213
|
// 1. The instance is ready
|
|
1204
1214
|
// 2. The watchers are ready
|
|
1205
1215
|
// 3. The value has changed
|
|
1206
|
-
if (
|
|
1216
|
+
if (flags &&
|
|
1217
|
+
!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
|
|
1207
1218
|
flags & 128 /* HOST_FLAGS.isWatchReady */ &&
|
|
1208
1219
|
newValue !== oldValue) {
|
|
1209
1220
|
const instance = hostRef.$lazyInstance$ ;
|
|
1210
|
-
const entry = cmpMeta.$watchers$[attrName];
|
|
1221
|
+
const entry = (_a = cmpMeta.$watchers$) === null || _a === void 0 ? void 0 : _a[attrName];
|
|
1211
1222
|
entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
|
|
1212
1223
|
if (instance[callbackName] != null) {
|
|
1213
1224
|
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2bb3a8dd.js');
|
|
6
6
|
|
|
7
7
|
const defineCustomElements = (win, options) => {
|
|
8
8
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2bb3a8dd.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-daisy-db.cjs.js', document.baseURI).href));
|
|
@@ -2,154 +2,154 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2bb3a8dd.js');
|
|
6
6
|
|
|
7
7
|
const KEY = 'proto-daisy-db:app-data';
|
|
8
8
|
const promisedParseJSON = (json) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
return new Promise((resolve, reject) => {
|
|
10
|
+
try {
|
|
11
|
+
resolve(JSON.parse(json));
|
|
12
|
+
}
|
|
13
|
+
catch (e) {
|
|
14
|
+
reject(e);
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
17
|
};
|
|
18
18
|
// localStorage implementation... [ generic storage ]
|
|
19
19
|
const bag = {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
get: () => {
|
|
21
|
+
const json = localStorage.getItem(KEY);
|
|
22
|
+
return promisedParseJSON(json);
|
|
23
|
+
},
|
|
24
|
+
store: (data) => {
|
|
25
|
+
// NOTE: this assumes you're passing REAL data, not a proxy...
|
|
26
|
+
const json = JSON.stringify(data);
|
|
27
|
+
localStorage.setItem(KEY, json);
|
|
28
|
+
},
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const protoDaisyDbCss = "";
|
|
32
32
|
|
|
33
33
|
const ProtoDaisyDB = class {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
34
|
+
constructor(hostRef) {
|
|
35
|
+
index.registerInstance(this, hostRef);
|
|
36
|
+
this.emitter = undefined;
|
|
37
|
+
}
|
|
38
|
+
componentDidLoad() {
|
|
39
|
+
if (this.emitter && window[this.emitter]) {
|
|
40
|
+
const emitter = window[this.emitter];
|
|
41
|
+
emitter.on('app-data:get', _e => {
|
|
42
|
+
console.log('app-data:get');
|
|
43
|
+
bag
|
|
44
|
+
.get()
|
|
45
|
+
.then(value => {
|
|
46
|
+
emitter.emit('app-data:value', value);
|
|
47
|
+
})
|
|
48
|
+
.catch(reason => {
|
|
49
|
+
console.log(reason);
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
emitter.on('app-data:store', e => {
|
|
53
|
+
console.log('app-data:store', e);
|
|
54
|
+
bag.store(e);
|
|
55
|
+
});
|
|
56
|
+
const data = { ready: true };
|
|
57
|
+
emitter.emit('proto-daisy-db', data);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return index.h("div", null);
|
|
58
62
|
}
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
return index.h("div", null);
|
|
62
|
-
}
|
|
63
63
|
};
|
|
64
64
|
ProtoDaisyDB.style = protoDaisyDbCss;
|
|
65
65
|
|
|
66
66
|
const protoFauxKeysCss = "";
|
|
67
67
|
|
|
68
68
|
const ProtoFauxKeys = class {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
constructor(hostRef) {
|
|
70
|
+
index.registerInstance(this, hostRef);
|
|
71
|
+
this.data = undefined;
|
|
72
|
+
}
|
|
73
|
+
render() {
|
|
74
|
+
const keys = this.data ? Object.keys(this.data) : [];
|
|
75
|
+
return (index.h("div", { class: "flex flex-col" }, keys.map(key => (index.h("span", null, key)))));
|
|
76
|
+
}
|
|
77
77
|
};
|
|
78
78
|
ProtoFauxKeys.style = protoFauxKeysCss;
|
|
79
79
|
|
|
80
80
|
const protoFauxStampCss = "";
|
|
81
81
|
|
|
82
82
|
const ProtoFauxStamp = class {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
83
|
+
constructor(hostRef) {
|
|
84
|
+
index.registerInstance(this, hostRef);
|
|
85
|
+
this.data = undefined;
|
|
86
|
+
}
|
|
87
|
+
render() {
|
|
88
|
+
const stamp = this.data ? this.data['stamp'] : '';
|
|
89
|
+
return (index.h("div", { class: "flex" }, index.h("span", null, stamp)));
|
|
90
|
+
}
|
|
91
91
|
};
|
|
92
92
|
ProtoFauxStamp.style = protoFauxStampCss;
|
|
93
93
|
|
|
94
94
|
const protoFauxTriggerCss = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.btn{border-radius:0.375rem;border-width:1px;border-style:solid;border-color:var(--clrs-aqua, #7fdbff);padding:0.5rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.flex{display:flex}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.content-center{align-content:center}.gap-2{gap:0.5rem}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.font-sans{font-family:ui-sans-serif,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n Arial,\n 'Noto Sans',\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n 'Noto Color Emoji'}.text-xs{font-size:0.75rem;line-height:1rem}.italic{font-style:italic}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
|
|
95
95
|
|
|
96
96
|
const ProtoFauxTrigger = class {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
97
|
+
constructor(hostRef) {
|
|
98
|
+
index.registerInstance(this, hostRef);
|
|
99
|
+
this.emitter = undefined;
|
|
100
|
+
this.data = undefined;
|
|
101
|
+
}
|
|
102
|
+
componentDidLoad() {
|
|
103
|
+
if (this.emitter && window[this.emitter]) {
|
|
104
|
+
const emitter = window[this.emitter];
|
|
105
|
+
emitter.on('app-data:value', e => {
|
|
106
|
+
this.data = e;
|
|
107
|
+
});
|
|
108
|
+
}
|
|
108
109
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
110
|
+
emitData() {
|
|
111
|
+
if (this.emitter && window[this.emitter]) {
|
|
112
|
+
const emitter = window[this.emitter];
|
|
113
|
+
const login = true;
|
|
114
|
+
const stamp = Date.now();
|
|
115
|
+
const theme = 'dark';
|
|
116
|
+
const dealers = [];
|
|
117
|
+
const data = { login, stamp, theme, dealers };
|
|
118
|
+
this.data = undefined;
|
|
119
|
+
emitter.emit('app-data:store', data);
|
|
120
|
+
}
|
|
120
121
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
fetchData() {
|
|
123
|
+
if (this.emitter && window[this.emitter]) {
|
|
124
|
+
const emitter = window[this.emitter];
|
|
125
|
+
emitter.emit('app-data:get', 42);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
render() {
|
|
129
|
+
return (index.h("div", { class: "flex flex-col font-sans" }, index.h("div", { class: "flex flex-row content-center gap-2" }, index.h("button", { class: "btn bg-clrs-navy text-clrs-white", onClick: () => this.emitData() }, "Save"), index.h("button", { class: "btn bg-clrs-blue text-clrs-white", onClick: () => this.fetchData() }, "Fetch")), index.h("proto-faux-type", { class: "mt-4", emitter: this.emitter }), index.h("proto-faux-stamp", { class: "mt-2 text-xs", data: this.data }), index.h("proto-faux-keys", { class: "mt-2", data: this.data })));
|
|
126
130
|
}
|
|
127
|
-
}
|
|
128
|
-
render() {
|
|
129
|
-
return (index.h("div", { class: "flex flex-col font-sans" }, index.h("div", { class: "flex flex-row content-center gap-2" }, index.h("button", { class: "btn bg-clrs-navy text-clrs-white", onClick: () => this.emitData() }, "Save"), index.h("button", { class: "btn bg-clrs-blue text-clrs-white", onClick: () => this.fetchData() }, "Fetch")), index.h("proto-faux-type", { class: "mt-4", emitter: this.emitter }), index.h("proto-faux-stamp", { class: "mt-2 text-xs", data: this.data }), index.h("proto-faux-keys", { class: "mt-2", data: this.data })));
|
|
130
|
-
}
|
|
131
131
|
};
|
|
132
132
|
ProtoFauxTrigger.style = protoFauxTriggerCss;
|
|
133
133
|
|
|
134
134
|
const protoFauxTypeCss = "proto-faux-type{}";
|
|
135
135
|
|
|
136
136
|
const ProtoFauxType = class {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
137
|
+
constructor(hostRef) {
|
|
138
|
+
index.registerInstance(this, hostRef);
|
|
139
|
+
this.emitter = undefined;
|
|
140
|
+
this.eventType = undefined;
|
|
141
|
+
}
|
|
142
|
+
componentDidLoad() {
|
|
143
|
+
if (this.emitter && window[this.emitter]) {
|
|
144
|
+
const emitter = window[this.emitter];
|
|
145
|
+
emitter.on('*', (type, _e) => {
|
|
146
|
+
this.eventType = type;
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
render() {
|
|
151
|
+
return (index.h("div", null, index.h("span", { class: "text-xs italic" }, this.eventType)));
|
|
148
152
|
}
|
|
149
|
-
}
|
|
150
|
-
render() {
|
|
151
|
-
return (index.h("div", null, index.h("span", { class: "text-xs italic" }, this.eventType)));
|
|
152
|
-
}
|
|
153
153
|
};
|
|
154
154
|
ProtoFauxType.style = protoFauxTypeCss;
|
|
155
155
|
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { bag } from "../../utils";
|
|
3
3
|
export class ProtoDaisyDB {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
4
|
+
constructor() {
|
|
5
|
+
this.emitter = undefined;
|
|
6
|
+
}
|
|
7
|
+
componentDidLoad() {
|
|
8
|
+
if (this.emitter && window[this.emitter]) {
|
|
9
|
+
const emitter = window[this.emitter];
|
|
10
|
+
emitter.on('app-data:get', _e => {
|
|
11
|
+
console.log('app-data:get');
|
|
12
|
+
bag
|
|
13
|
+
.get()
|
|
14
|
+
.then(value => {
|
|
15
|
+
emitter.emit('app-data:value', value);
|
|
16
|
+
})
|
|
17
|
+
.catch(reason => {
|
|
18
|
+
console.log(reason);
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
emitter.on('app-data:store', e => {
|
|
22
|
+
console.log('app-data:store', e);
|
|
23
|
+
bag.store(e);
|
|
24
|
+
});
|
|
25
|
+
const data = { ready: true };
|
|
26
|
+
emitter.emit('proto-daisy-db', data);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return h("div", null);
|
|
31
|
+
}
|
|
32
|
+
static get is() { return "proto-daisy-db"; }
|
|
33
|
+
static get encapsulation() { return "shadow"; }
|
|
34
|
+
static get originalStyleUrls() {
|
|
35
|
+
return {
|
|
36
|
+
"$": ["proto-daisy-db.css"]
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
static get styleUrls() {
|
|
40
|
+
return {
|
|
41
|
+
"$": ["proto-daisy-db.css"]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
static get properties() {
|
|
45
|
+
return {
|
|
46
|
+
"emitter": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "string",
|
|
51
|
+
"resolved": "string",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"text": ""
|
|
59
|
+
},
|
|
60
|
+
"attribute": "emitter",
|
|
61
|
+
"reflect": false,
|
|
62
|
+
"defaultValue": "undefined"
|
|
63
|
+
}
|
|
64
|
+
};
|
|
27
65
|
}
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
return h("div", null);
|
|
31
|
-
}
|
|
32
|
-
static get is() { return "proto-daisy-db"; }
|
|
33
|
-
static get encapsulation() { return "shadow"; }
|
|
34
|
-
static get originalStyleUrls() {
|
|
35
|
-
return {
|
|
36
|
-
"$": ["proto-daisy-db.css"]
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
static get styleUrls() {
|
|
40
|
-
return {
|
|
41
|
-
"$": ["proto-daisy-db.css"]
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
static get properties() {
|
|
45
|
-
return {
|
|
46
|
-
"emitter": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"mutable": false,
|
|
49
|
-
"complexType": {
|
|
50
|
-
"original": "string",
|
|
51
|
-
"resolved": "string",
|
|
52
|
-
"references": {}
|
|
53
|
-
},
|
|
54
|
-
"required": false,
|
|
55
|
-
"optional": false,
|
|
56
|
-
"docs": {
|
|
57
|
-
"tags": [],
|
|
58
|
-
"text": ""
|
|
59
|
-
},
|
|
60
|
-
"attribute": "emitter",
|
|
61
|
-
"reflect": false,
|
|
62
|
-
"defaultValue": "undefined"
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
66
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ProtoFauxKeys {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
3
|
+
constructor() {
|
|
4
|
+
this.data = undefined;
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
const keys = this.data ? Object.keys(this.data) : [];
|
|
8
|
+
return (h("div", { class: "flex flex-col" }, keys.map(key => (h("span", null, key)))));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "proto-faux-keys"; }
|
|
11
|
+
static get originalStyleUrls() {
|
|
12
|
+
return {
|
|
13
|
+
"$": ["proto-faux-keys.css"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
static get styleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["proto-faux-keys.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static get properties() {
|
|
22
|
+
return {
|
|
23
|
+
"data": {
|
|
24
|
+
"type": "unknown",
|
|
25
|
+
"mutable": false,
|
|
26
|
+
"complexType": {
|
|
27
|
+
"original": "object",
|
|
28
|
+
"resolved": "object",
|
|
29
|
+
"references": {}
|
|
30
|
+
},
|
|
31
|
+
"required": false,
|
|
32
|
+
"optional": false,
|
|
33
|
+
"docs": {
|
|
34
|
+
"tags": [],
|
|
35
|
+
"text": ""
|
|
36
|
+
},
|
|
37
|
+
"defaultValue": "undefined"
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
41
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ProtoFauxStamp {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
3
|
+
constructor() {
|
|
4
|
+
this.data = undefined;
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
const stamp = this.data ? this.data['stamp'] : '';
|
|
8
|
+
return (h("div", { class: "flex" }, h("span", null, stamp)));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "proto-faux-stamp"; }
|
|
11
|
+
static get originalStyleUrls() {
|
|
12
|
+
return {
|
|
13
|
+
"$": ["proto-faux-stamp.css"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
static get styleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["proto-faux-stamp.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static get properties() {
|
|
22
|
+
return {
|
|
23
|
+
"data": {
|
|
24
|
+
"type": "unknown",
|
|
25
|
+
"mutable": false,
|
|
26
|
+
"complexType": {
|
|
27
|
+
"original": "object",
|
|
28
|
+
"resolved": "object",
|
|
29
|
+
"references": {}
|
|
30
|
+
},
|
|
31
|
+
"required": false,
|
|
32
|
+
"optional": false,
|
|
33
|
+
"docs": {
|
|
34
|
+
"tags": [],
|
|
35
|
+
"text": ""
|
|
36
|
+
},
|
|
37
|
+
"defaultValue": "undefined"
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
41
|
}
|