form-driver 0.1.4 → 0.1.5
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/m3.js +1 -1
- package/es/m3.js +1 -1
- package/lib/m3.js +1 -1
- package/package.json +1 -1
- package/src/ui/editor/basic/ASelector.tsx +1 -1
- package/types/plugins/ossupload/demo/src/TestForm.d.ts +5 -0
- package/types/plugins/ossupload/demo/src/debug.d.ts +1 -0
- package/types/plugins/ossupload/src/OssUploadType.d.ts +3 -0
- package/types/plugins/ossupload/src/OssUploadViewer.d.ts +5 -0
- package/types/plugins/ossupload/src/index.d.ts +8 -0
package/es/m3.js
CHANGED
|
@@ -18487,7 +18487,7 @@ var ASelector = /*#__PURE__*/function (_BaseViewer) {
|
|
|
18487
18487
|
width: "100%"
|
|
18488
18488
|
},
|
|
18489
18489
|
onChange: function onChange(vv) {
|
|
18490
|
-
return _BaseViewer.prototype.changeValue.call(_this2, _this2._enums[vv].value);
|
|
18490
|
+
return _BaseViewer.prototype.changeValue.call(_this2, p != null && p.labelInValue ? vv : _this2._enums[vv].value);
|
|
18491
18491
|
}
|
|
18492
18492
|
}, p), options);
|
|
18493
18493
|
}
|
package/lib/m3.js
CHANGED
|
@@ -18507,7 +18507,7 @@ var ASelector = /*#__PURE__*/function (_BaseViewer) {
|
|
|
18507
18507
|
width: "100%"
|
|
18508
18508
|
},
|
|
18509
18509
|
onChange: function onChange(vv) {
|
|
18510
|
-
return _BaseViewer.prototype.changeValue.call(_this2, _this2._enums[vv].value);
|
|
18510
|
+
return _BaseViewer.prototype.changeValue.call(_this2, p != null && p.labelInValue ? vv : _this2._enums[vv].value);
|
|
18511
18511
|
}
|
|
18512
18512
|
}, p), options);
|
|
18513
18513
|
}
|
package/package.json
CHANGED
|
@@ -78,7 +78,7 @@ export class ASelector extends BaseViewer {
|
|
|
78
78
|
: menu
|
|
79
79
|
}}
|
|
80
80
|
style={{ width: "100%" }}
|
|
81
|
-
onChange={(vv: any) => super.changeValue(this._enums[vv].value)}
|
|
81
|
+
onChange={(vv: any) => super.changeValue(p?.labelInValue ? vv : this._enums[vv].value)}
|
|
82
82
|
{...p}
|
|
83
83
|
>
|
|
84
84
|
{options}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function injectTestCookie(): void;
|