tnx-shared 5.1.486 → 5.1.487
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/bundles/tnx-shared.umd.js +5 -3
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/autocomplete-picker/autocomplete-picker.component.d.ts.map +1 -1
- package/components/user-picker/user-picker.component.d.ts.map +1 -1
- package/esm2015/components/autocomplete-picker/autocomplete-picker.component.js +4 -2
- package/esm2015/components/user-picker/user-picker.component.js +4 -2
- package/fesm2015/tnx-shared.js +4 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -46447,7 +46447,8 @@
|
|
|
46447
46447
|
AutoCompletePickerComponent.prototype.writeValue = function (obj) {
|
|
46448
46448
|
var _this = this;
|
|
46449
46449
|
this.hasValue = false;
|
|
46450
|
-
|
|
46450
|
+
var value = !isLiteralObject(obj) ? obj : obj[this.control.valueField];
|
|
46451
|
+
this.getDataSelectedValue(value)
|
|
46451
46452
|
.then(function (res) {
|
|
46452
46453
|
_this.updateSelectedValue();
|
|
46453
46454
|
_this.checkFireReady();
|
|
@@ -59634,7 +59635,7 @@
|
|
|
59634
59635
|
};
|
|
59635
59636
|
UserPickerComponent.prototype.writeValue = function (obj) {
|
|
59636
59637
|
return __awaiter(this, void 0, void 0, function () {
|
|
59637
|
-
var filters;
|
|
59638
|
+
var filters, value;
|
|
59638
59639
|
var _this = this;
|
|
59639
59640
|
return __generator(this, function (_b) {
|
|
59640
59641
|
switch (_b.label) {
|
|
@@ -59669,7 +59670,8 @@
|
|
|
59669
59670
|
case 3: return [3 /*break*/, 5];
|
|
59670
59671
|
case 4:
|
|
59671
59672
|
if (obj != null) {
|
|
59672
|
-
|
|
59673
|
+
value = !isLiteralObject(obj) ? obj : obj[this.controlPicker.valueField];
|
|
59674
|
+
this.controlPicker.baseService.getDataDropdownByFilter([this.newFilter(this.controlPicker.valueField, exports.Operator.equal, value)], this.getDropdownOptions()).then(function (res) { return __awaiter(_this, void 0, void 0, function () {
|
|
59673
59675
|
return __generator(this, function (_b) {
|
|
59674
59676
|
switch (_b.label) {
|
|
59675
59677
|
case 0:
|