@xsolla/payment-client-core 0.1.9 → 0.1.10
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/esm2020/lib/core/payment/form/controls/checkbox/checkbox-control.config.mjs +1 -3
- package/esm2020/lib/core/payment/form/converters/checkbox/checkbox.converter.mjs +2 -3
- package/fesm2015/xsolla-payment-client-core.mjs +1 -4
- package/fesm2015/xsolla-payment-client-core.mjs.map +1 -1
- package/fesm2020/xsolla-payment-client-core.mjs +1 -4
- package/fesm2020/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/payment/form/controls/checkbox/checkbox-control.config.d.ts +2 -2
- package/package.json +1 -1
- package/xsolla-payment-client-core-0.1.10.tgz +0 -0
- package/xsolla-payment-client-core-0.1.9.tgz +0 -0
|
@@ -2341,8 +2341,6 @@ class CheckboxControlConfig extends ControlConfig {
|
|
|
2341
2341
|
constructor() {
|
|
2342
2342
|
super(...arguments);
|
|
2343
2343
|
this.controlType = 'checkbox';
|
|
2344
|
-
this.checkedValue = true; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2345
|
-
this.uncheckedValue = false; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2346
2344
|
}
|
|
2347
2345
|
}
|
|
2348
2346
|
|
|
@@ -2362,8 +2360,7 @@ class CheckboxConverter extends Converter {
|
|
|
2362
2360
|
createControlConfig(field) {
|
|
2363
2361
|
const config = this.createDefaultControlConfig(CheckboxControlConfig, field);
|
|
2364
2362
|
config.placeholder = config.title;
|
|
2365
|
-
config.
|
|
2366
|
-
config.uncheckedValue = this.uncheckedValue;
|
|
2363
|
+
config.initValue = field.value;
|
|
2367
2364
|
return config;
|
|
2368
2365
|
}
|
|
2369
2366
|
}
|