gyosjs 0.5.1 → 0.5.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 +1 -1
- package/dist/core/reactive.d.ts.map +1 -1
- package/dist/gyos.auto.esm.js +13 -4
- package/dist/gyos.auto.esm.js.map +1 -1
- package/dist/gyos.auto.js +13 -4
- package/dist/gyos.auto.js.map +1 -1
- package/dist/gyos.auto.min.js +2 -2
- package/dist/gyos.csp.auto.esm.js +13 -4
- package/dist/gyos.csp.auto.esm.js.map +1 -1
- package/dist/gyos.csp.auto.js +13 -4
- package/dist/gyos.csp.auto.js.map +1 -1
- package/dist/gyos.csp.auto.min.js +2 -2
- package/dist/gyos.csp.esm.js +13 -4
- package/dist/gyos.csp.esm.js.map +1 -1
- package/dist/gyos.csp.js +13 -4
- package/dist/gyos.csp.js.map +1 -1
- package/dist/gyos.csp.min.js +2 -2
- package/dist/gyos.esm.js +13 -4
- package/dist/gyos.esm.js.map +1 -1
- package/dist/gyos.js +13 -4
- package/dist/gyos.js.map +1 -1
- package/dist/gyos.min.js +2 -2
- package/package.json +1 -1
package/dist/gyos.csp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* GyosJS v0.5.
|
|
2
|
+
* GyosJS v0.5.2
|
|
3
3
|
* (c) 2026
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -10744,7 +10744,7 @@
|
|
|
10744
10744
|
// Set initial value (no pipes in v-model)
|
|
10745
10745
|
const initialValue = evaluateExpression(expr, currentScope, false);
|
|
10746
10746
|
if (inputElement.type === 'checkbox') {
|
|
10747
|
-
inputElement.checked = !!initialValue;
|
|
10747
|
+
inputElement.checked = !!unref(initialValue);
|
|
10748
10748
|
}
|
|
10749
10749
|
else if (inputElement.type === 'radio') {
|
|
10750
10750
|
inputElement.checked = String(unref(initialValue)) === inputElement.value;
|
|
@@ -10790,7 +10790,7 @@
|
|
|
10790
10790
|
// No pipes in v-model reactive updates
|
|
10791
10791
|
const newValue = evaluateExpression(expr, currentScope, false);
|
|
10792
10792
|
if (inputElement.type === 'checkbox') {
|
|
10793
|
-
inputElement.checked = !!newValue;
|
|
10793
|
+
inputElement.checked = !!unref(newValue);
|
|
10794
10794
|
}
|
|
10795
10795
|
else if (inputElement.type === 'radio') {
|
|
10796
10796
|
inputElement.checked = String(unref(newValue)) === inputElement.value;
|
|
@@ -11021,6 +11021,15 @@
|
|
|
11021
11021
|
// It's a getter - just return value, getter will track its own dependencies
|
|
11022
11022
|
return value;
|
|
11023
11023
|
}
|
|
11024
|
+
// Callable reactive values are data, not methods. Binding would drop
|
|
11025
|
+
// their identity and metadata used by g-model and the public APIs.
|
|
11026
|
+
if (isSignal(value) || isComputed(value)) {
|
|
11027
|
+
// Track the field as well as reads of its value so replacing the
|
|
11028
|
+
// signal/computed switches effects away from the old source.
|
|
11029
|
+
if (hasCurrentEffect())
|
|
11030
|
+
getFieldSignal(target, key, value).value;
|
|
11031
|
+
return value;
|
|
11032
|
+
}
|
|
11024
11033
|
// function -> bind this = proxy
|
|
11025
11034
|
if (typeof value === "function") {
|
|
11026
11035
|
return value.bind(proxy);
|
|
@@ -15580,7 +15589,7 @@
|
|
|
15580
15589
|
portalCreate,
|
|
15581
15590
|
portalDestroy,
|
|
15582
15591
|
setCspNonce,
|
|
15583
|
-
version: '0.5.
|
|
15592
|
+
version: '0.5.2'
|
|
15584
15593
|
};
|
|
15585
15594
|
|
|
15586
15595
|
setExpressionRuntime(cspExpressionRuntime);
|