shinkom 1.1.1 → 1.1.2
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/README.md +0 -18
- package/dist/bundles/_virtual/_rolldown/runtime.js +1 -1
- package/dist/bundles/core/constants.d.ts +1 -1
- package/dist/bundles/core/constants.js +1 -1
- package/dist/bundles/core/elements/compat-view-element.d.ts +1 -1
- package/dist/bundles/core/elements/compat-view-element.js +2 -2
- package/dist/bundles/core/elements/control-panel-element.d.ts +1 -1
- package/dist/bundles/core/elements/control-panel-element.js +1 -1
- package/dist/bundles/core/elements/index.d.ts +1 -1
- package/dist/bundles/core/elements/index.js +1 -1
- package/dist/bundles/core/elements/inspector-element.d.ts +1 -1
- package/dist/bundles/core/elements/inspector-element.js +1 -1
- package/dist/bundles/core/elements/recent-result-item.js +1 -1
- package/dist/bundles/core/elements/results-history-item.js +1 -1
- package/dist/bundles/core/elements/templates/compat-view.templates.js +2 -2
- package/dist/bundles/core/elements/templates/control-panel.templates.js +1 -1
- package/dist/bundles/core/elements/templates/root-styles.template.js +1 -1
- package/dist/bundles/core/event-bus.d.ts +1 -1
- package/dist/bundles/core/event-bus.js +1 -1
- package/dist/bundles/core/helpers.js +1 -1
- package/dist/bundles/core/index.d.ts +1 -1
- package/dist/bundles/core/index.js +1 -1
- package/dist/bundles/core/state-service.d.ts +1 -1
- package/dist/bundles/core/state-service.js +12 -1
- package/dist/bundles/core/ui-component.d.ts +1 -1
- package/dist/bundles/core/ui-component.js +1 -1
- package/dist/bundles/engine/engine.d.ts +1 -1
- package/dist/bundles/engine/engine.js +1 -1
- package/dist/bundles/engine/index.js +1 -1
- package/dist/bundles/gen/index.js +1 -1
- package/dist/bundles/index.d.ts +1 -1
- package/dist/bundles/index.js +1 -1
- package/dist/bundles/pkg/shinkore.d.ts +8 -18
- package/dist/bundles/pkg/shinkore.js +202 -202
- package/dist/bundles/pkg/shinkore_bg.wasm +0 -0
- package/dist/bundles/shinkom.d.ts +1 -1
- package/dist/bundles/shinkom.js +1 -1
- package/dist/bundles/ui/compat-ui/compat-ui.d.ts +1 -1
- package/dist/bundles/ui/compat-ui/compat-ui.js +1 -1
- package/dist/bundles/ui/compat-ui/index.js +1 -1
- package/dist/bundles/ui/compatibility-view/compatibility-view.d.ts +1 -1
- package/dist/bundles/ui/compatibility-view/compatibility-view.js +1 -1
- package/dist/bundles/ui/compatibility-view/index.js +1 -1
- package/dist/bundles/ui/control-panel/control-panel.d.ts +1 -1
- package/dist/bundles/ui/control-panel/control-panel.js +1 -1
- package/dist/bundles/ui/control-panel/index.js +1 -1
- package/dist/bundles/ui/index.d.ts +1 -1
- package/dist/bundles/ui/index.js +1 -1
- package/dist/bundles/ui/inspector/index.js +1 -1
- package/dist/bundles/ui/inspector/inspector.d.ts +1 -1
- package/dist/bundles/ui/inspector/inspector.js +1 -1
- package/dist/modules/core/elements/compat-view-element.cjs +1 -1
- package/dist/modules/core/elements/templates/compat-view.templates.cjs +1 -1
- package/dist/modules/core/state-service.cjs +11 -0
- package/dist/modules/pkg/shinkore.cjs +201 -201
- package/dist/modules/pkg/shinkore_bg.wasm +0 -0
- package/package.json +100 -100
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shinkom - pkg
|
|
3
|
-
* @version 1.1.
|
|
3
|
+
* @version 1.1.2
|
|
4
4
|
* @license MIT
|
|
5
5
|
* @copyright 2026 - OneilNvM
|
|
6
6
|
*/
|
|
@@ -71,217 +71,217 @@ var CompatEngine = class {
|
|
|
71
71
|
* @param {any} ciu_usage_data
|
|
72
72
|
*/
|
|
73
73
|
constructor(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data) {
|
|
74
|
-
|
|
74
|
+
const ret = wasm.compatengine_new(bcd_html_data, bcd_svg_data, bcd_browser_data, ciu_usage_data);
|
|
75
|
+
this.__wbg_ptr = ret >>> 0;
|
|
75
76
|
CompatEngineFinalization.register(this, this.__wbg_ptr, this);
|
|
76
77
|
return this;
|
|
77
78
|
}
|
|
78
79
|
};
|
|
79
80
|
if (Symbol.dispose) CompatEngine.prototype[Symbol.dispose] = CompatEngine.prototype.free;
|
|
80
81
|
function __wbg_get_imports() {
|
|
81
|
-
|
|
82
|
+
return {
|
|
82
83
|
__proto__: null,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
result
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
result
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
result
|
|
201
|
-
|
|
202
|
-
|
|
84
|
+
"./shinkore_bg.js": {
|
|
85
|
+
__proto__: null,
|
|
86
|
+
__wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
|
|
87
|
+
return Error(getStringFromWasm0(arg0, arg1));
|
|
88
|
+
},
|
|
89
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
90
|
+
const ptr1 = passStringToWasm0(String(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
91
|
+
const len1 = WASM_VECTOR_LEN;
|
|
92
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
93
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
94
|
+
},
|
|
95
|
+
__wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
|
|
96
|
+
const v = arg1;
|
|
97
|
+
const ret = typeof v === "bigint" ? v : void 0;
|
|
98
|
+
getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
99
|
+
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
100
|
+
},
|
|
101
|
+
__wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
|
|
102
|
+
const v = arg0;
|
|
103
|
+
const ret = typeof v === "boolean" ? v : void 0;
|
|
104
|
+
return isLikeNone(ret) ? 16777215 : ret ? 1 : 0;
|
|
105
|
+
},
|
|
106
|
+
__wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
|
|
107
|
+
const ptr1 = passStringToWasm0(debugString(arg1), wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
108
|
+
const len1 = WASM_VECTOR_LEN;
|
|
109
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
110
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
111
|
+
},
|
|
112
|
+
__wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
|
|
113
|
+
return arg0 in arg1;
|
|
114
|
+
},
|
|
115
|
+
__wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
|
|
116
|
+
return typeof arg0 === "bigint";
|
|
117
|
+
},
|
|
118
|
+
__wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
|
|
119
|
+
return typeof arg0 === "function";
|
|
120
|
+
},
|
|
121
|
+
__wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
|
|
122
|
+
const val = arg0;
|
|
123
|
+
return typeof val === "object" && val !== null;
|
|
124
|
+
},
|
|
125
|
+
__wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
|
|
126
|
+
return typeof arg0 === "string";
|
|
127
|
+
},
|
|
128
|
+
__wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
|
|
129
|
+
return arg0 === void 0;
|
|
130
|
+
},
|
|
131
|
+
__wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
|
|
132
|
+
return arg0 === arg1;
|
|
133
|
+
},
|
|
134
|
+
__wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
|
|
135
|
+
return arg0 == arg1;
|
|
136
|
+
},
|
|
137
|
+
__wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
|
|
138
|
+
const obj = arg1;
|
|
139
|
+
const ret = typeof obj === "number" ? obj : void 0;
|
|
140
|
+
getDataViewMemory0().setFloat64(arg0 + 8, isLikeNone(ret) ? 0 : ret, true);
|
|
141
|
+
getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), true);
|
|
142
|
+
},
|
|
143
|
+
__wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
|
|
144
|
+
const obj = arg1;
|
|
145
|
+
const ret = typeof obj === "string" ? obj : void 0;
|
|
146
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
147
|
+
var len1 = WASM_VECTOR_LEN;
|
|
148
|
+
getDataViewMemory0().setInt32(arg0 + 4, len1, true);
|
|
149
|
+
getDataViewMemory0().setInt32(arg0 + 0, ptr1, true);
|
|
150
|
+
},
|
|
151
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
152
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
153
|
+
},
|
|
154
|
+
__wbg_call_14b169f759b26747: function() {
|
|
155
|
+
return handleError(function(arg0, arg1) {
|
|
156
|
+
return arg0.call(arg1);
|
|
157
|
+
}, arguments);
|
|
158
|
+
},
|
|
159
|
+
__wbg_done_9158f7cc8751ba32: function(arg0) {
|
|
160
|
+
return arg0.done;
|
|
161
|
+
},
|
|
162
|
+
__wbg_entries_e0b73aa8571ddb56: function(arg0) {
|
|
163
|
+
return Object.entries(arg0);
|
|
164
|
+
},
|
|
165
|
+
__wbg_error_2001591ad2463697: function(arg0) {
|
|
166
|
+
console.error(arg0);
|
|
167
|
+
},
|
|
168
|
+
__wbg_get_1affdbdd5573b16a: function() {
|
|
169
|
+
return handleError(function(arg0, arg1) {
|
|
170
|
+
return Reflect.get(arg0, arg1);
|
|
171
|
+
}, arguments);
|
|
172
|
+
},
|
|
173
|
+
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
174
|
+
return arg0[arg1 >>> 0];
|
|
175
|
+
},
|
|
176
|
+
__wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
|
|
177
|
+
return arg0[arg1 >>> 0];
|
|
178
|
+
},
|
|
179
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
180
|
+
return arg0[arg1];
|
|
181
|
+
},
|
|
182
|
+
__wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
|
|
183
|
+
let result;
|
|
184
|
+
try {
|
|
185
|
+
result = arg0 instanceof ArrayBuffer;
|
|
186
|
+
} catch (_) {
|
|
187
|
+
result = false;
|
|
188
|
+
}
|
|
189
|
+
return result;
|
|
190
|
+
},
|
|
191
|
+
__wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
|
|
192
|
+
let result;
|
|
193
|
+
try {
|
|
194
|
+
result = arg0 instanceof Map;
|
|
195
|
+
} catch (_) {
|
|
196
|
+
result = false;
|
|
197
|
+
}
|
|
198
|
+
return result;
|
|
199
|
+
},
|
|
200
|
+
__wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
|
|
201
|
+
let result;
|
|
202
|
+
try {
|
|
203
|
+
result = arg0 instanceof Uint8Array;
|
|
204
|
+
} catch (_) {
|
|
205
|
+
result = false;
|
|
206
|
+
}
|
|
207
|
+
return result;
|
|
208
|
+
},
|
|
209
|
+
__wbg_isArray_c3109d14ffc06469: function(arg0) {
|
|
210
|
+
return Array.isArray(arg0);
|
|
211
|
+
},
|
|
212
|
+
__wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
|
|
213
|
+
return Number.isSafeInteger(arg0);
|
|
214
|
+
},
|
|
215
|
+
__wbg_iterator_013bc09ec998c2a7: function() {
|
|
216
|
+
return Symbol.iterator;
|
|
217
|
+
},
|
|
218
|
+
__wbg_length_3d4ecd04bd8d22f1: function(arg0) {
|
|
219
|
+
return arg0.length;
|
|
220
|
+
},
|
|
221
|
+
__wbg_length_9f1775224cf1d815: function(arg0) {
|
|
222
|
+
return arg0.length;
|
|
223
|
+
},
|
|
224
|
+
__wbg_new_0c7403db6e782f19: function(arg0) {
|
|
225
|
+
return new Uint8Array(arg0);
|
|
226
|
+
},
|
|
227
|
+
__wbg_new_34d45cc8e36aaead: function() {
|
|
228
|
+
return /* @__PURE__ */ new Map();
|
|
229
|
+
},
|
|
230
|
+
__wbg_new_682678e2f47e32bc: function() {
|
|
231
|
+
return new Array();
|
|
232
|
+
},
|
|
233
|
+
__wbg_new_aa8d0fa9762c29bd: function() {
|
|
234
|
+
return /* @__PURE__ */ new Object();
|
|
235
|
+
},
|
|
236
|
+
__wbg_next_0340c4ae324393c3: function() {
|
|
237
|
+
return handleError(function(arg0) {
|
|
238
|
+
return arg0.next();
|
|
239
|
+
}, arguments);
|
|
240
|
+
},
|
|
241
|
+
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
242
|
+
return arg0.next;
|
|
243
|
+
},
|
|
244
|
+
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
245
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
246
|
+
},
|
|
247
|
+
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
248
|
+
arg0[arg1 >>> 0] = arg2;
|
|
249
|
+
},
|
|
250
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
251
|
+
arg0[arg1] = arg2;
|
|
252
|
+
},
|
|
253
|
+
__wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
|
|
254
|
+
return arg0.set(arg1, arg2);
|
|
255
|
+
},
|
|
256
|
+
__wbg_value_ee3a06f4579184fa: function(arg0) {
|
|
257
|
+
return arg0.value;
|
|
258
|
+
},
|
|
259
|
+
__wbg_warn_3cc416af27dbdc02: function(arg0) {
|
|
260
|
+
console.warn(arg0);
|
|
261
|
+
},
|
|
262
|
+
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
263
|
+
return arg0;
|
|
264
|
+
},
|
|
265
|
+
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
266
|
+
return arg0;
|
|
267
|
+
},
|
|
268
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
269
|
+
return getStringFromWasm0(arg0, arg1);
|
|
270
|
+
},
|
|
271
|
+
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
272
|
+
return BigInt.asUintN(64, arg0);
|
|
273
|
+
},
|
|
274
|
+
__wbindgen_init_externref_table: function() {
|
|
275
|
+
const table = wasm.__wbindgen_externrefs;
|
|
276
|
+
const offset = table.grow(4);
|
|
277
|
+
table.set(0, void 0);
|
|
278
|
+
table.set(offset + 0, void 0);
|
|
279
|
+
table.set(offset + 1, null);
|
|
280
|
+
table.set(offset + 2, true);
|
|
281
|
+
table.set(offset + 3, false);
|
|
203
282
|
}
|
|
204
|
-
return result;
|
|
205
|
-
},
|
|
206
|
-
__wbg_isArray_c3109d14ffc06469: function(arg0) {
|
|
207
|
-
return Array.isArray(arg0);
|
|
208
|
-
},
|
|
209
|
-
__wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
|
|
210
|
-
return Number.isSafeInteger(arg0);
|
|
211
|
-
},
|
|
212
|
-
__wbg_iterator_013bc09ec998c2a7: function() {
|
|
213
|
-
return Symbol.iterator;
|
|
214
|
-
},
|
|
215
|
-
__wbg_length_3d4ecd04bd8d22f1: function(arg0) {
|
|
216
|
-
return arg0.length;
|
|
217
|
-
},
|
|
218
|
-
__wbg_length_9f1775224cf1d815: function(arg0) {
|
|
219
|
-
return arg0.length;
|
|
220
|
-
},
|
|
221
|
-
__wbg_new_0c7403db6e782f19: function(arg0) {
|
|
222
|
-
return new Uint8Array(arg0);
|
|
223
|
-
},
|
|
224
|
-
__wbg_new_34d45cc8e36aaead: function() {
|
|
225
|
-
return /* @__PURE__ */ new Map();
|
|
226
|
-
},
|
|
227
|
-
__wbg_new_682678e2f47e32bc: function() {
|
|
228
|
-
return new Array();
|
|
229
|
-
},
|
|
230
|
-
__wbg_new_aa8d0fa9762c29bd: function() {
|
|
231
|
-
return /* @__PURE__ */ new Object();
|
|
232
|
-
},
|
|
233
|
-
__wbg_next_0340c4ae324393c3: function() {
|
|
234
|
-
return handleError(function(arg0) {
|
|
235
|
-
return arg0.next();
|
|
236
|
-
}, arguments);
|
|
237
|
-
},
|
|
238
|
-
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
239
|
-
return arg0.next;
|
|
240
|
-
},
|
|
241
|
-
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
242
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
243
|
-
},
|
|
244
|
-
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
245
|
-
arg0[arg1 >>> 0] = arg2;
|
|
246
|
-
},
|
|
247
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
248
|
-
arg0[arg1] = arg2;
|
|
249
|
-
},
|
|
250
|
-
__wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
|
|
251
|
-
return arg0.set(arg1, arg2);
|
|
252
|
-
},
|
|
253
|
-
__wbg_value_ee3a06f4579184fa: function(arg0) {
|
|
254
|
-
return arg0.value;
|
|
255
|
-
},
|
|
256
|
-
__wbg_warn_3cc416af27dbdc02: function(arg0) {
|
|
257
|
-
console.warn(arg0);
|
|
258
|
-
},
|
|
259
|
-
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
260
|
-
return arg0;
|
|
261
|
-
},
|
|
262
|
-
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
263
|
-
return arg0;
|
|
264
|
-
},
|
|
265
|
-
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
266
|
-
return getStringFromWasm0(arg0, arg1);
|
|
267
|
-
},
|
|
268
|
-
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
269
|
-
return BigInt.asUintN(64, arg0);
|
|
270
|
-
},
|
|
271
|
-
__wbindgen_init_externref_table: function() {
|
|
272
|
-
const table = wasm.__wbindgen_externrefs;
|
|
273
|
-
const offset = table.grow(4);
|
|
274
|
-
table.set(0, void 0);
|
|
275
|
-
table.set(offset + 0, void 0);
|
|
276
|
-
table.set(offset + 1, null);
|
|
277
|
-
table.set(offset + 2, true);
|
|
278
|
-
table.set(offset + 3, false);
|
|
279
283
|
}
|
|
280
284
|
};
|
|
281
|
-
return {
|
|
282
|
-
__proto__: null,
|
|
283
|
-
"./shinkore_bg.js": import0
|
|
284
|
-
};
|
|
285
285
|
}
|
|
286
286
|
const CompatEngineFinalization = typeof FinalizationRegistry === "undefined" ? {
|
|
287
287
|
register: () => {},
|
|
Binary file
|
package/dist/bundles/shinkom.js
CHANGED
package/dist/bundles/ui/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
*/
|
|
5
|
-
const _macroVersion = "1.1.
|
|
5
|
+
const _macroVersion = "1.1.2";
|
|
6
6
|
const compatViewHTML = `
|
|
7
7
|
<button id="sk-toggle-compat-view" class="sk-toggle-compat-view sk-button-style">
|
|
8
8
|
<svg style="pointer-events: none;" version="1.0" xmlns="http://www.w3.org/2000/svg" width="57" height="26"
|
|
@@ -28,9 +28,20 @@ var ShinkomState = class {
|
|
|
28
28
|
this.#listeners.forEach((fn) => fn(prop, val));
|
|
29
29
|
};
|
|
30
30
|
this.#state = new Proxy(initalState, {
|
|
31
|
+
/**
|
|
32
|
+
* @param {UISharedState} obj
|
|
33
|
+
* @param {UISharedStateProps} prop
|
|
34
|
+
* @returns {any}
|
|
35
|
+
*/
|
|
31
36
|
get(obj, prop) {
|
|
32
37
|
return obj[prop];
|
|
33
38
|
},
|
|
39
|
+
/**
|
|
40
|
+
* @param {UISharedState} obj
|
|
41
|
+
* @param {UISharedStateProps} prop
|
|
42
|
+
* @param {any} val
|
|
43
|
+
* @returns {boolean}
|
|
44
|
+
*/
|
|
34
45
|
set(obj, prop, val) {
|
|
35
46
|
if (obj[prop] === val) return true;
|
|
36
47
|
notify(prop, val);
|