|
|
@ -1421,10 +1421,6 @@ class DatasetControl {
|
|
|
|
// this.doctx = conf.doctx || "";
|
|
|
|
// this.doctx = conf.doctx || "";
|
|
|
|
this.doq = new DomQuery().setContainers(conf.doctx);
|
|
|
|
this.doq = new DomQuery().setContainers(conf.doctx);
|
|
|
|
|
|
|
|
|
|
|
|
if (conf.addOns) {
|
|
|
|
|
|
|
|
conf.addOns.forEach(addOn => addOn.doq = this.doq);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.infoSize = conf.infoSize;
|
|
|
|
this.infoSize = conf.infoSize;
|
|
|
|
this.appendData = conf.appendData;
|
|
|
|
this.appendData = conf.appendData;
|
|
|
|
|
|
|
|
|
|
|
@ -1458,10 +1454,6 @@ class DatasetControl {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
get addOns() {
|
|
|
|
|
|
|
|
return this.dataset.addOns;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prefixed(str) {
|
|
|
|
prefixed(str) {
|
|
|
|
return (this.prefix || "") + str;
|
|
|
|
return (this.prefix || "") + str;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1530,6 +1522,10 @@ class DatasetControl {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getDataset(option) {
|
|
|
|
|
|
|
|
return this.dataset.getDataset(option);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
setData(obj, option = {}) {
|
|
|
|
setData(obj, option = {}) {
|
|
|
|
this.setPaging(obj, option);
|
|
|
|
this.setPaging(obj, option);
|
|
|
|
this.dataset.setData(obj, option);
|
|
|
|
this.dataset.setData(obj, option);
|
|
|
@ -1564,8 +1560,6 @@ class DatasetControl {
|
|
|
|
toObject(item = this.getCurrent("item")) {
|
|
|
|
toObject(item = this.getCurrent("item")) {
|
|
|
|
if (this.dataset.keymapped)
|
|
|
|
if (this.dataset.keymapped)
|
|
|
|
return this.dataBinder().toObject(item);
|
|
|
|
return this.dataBinder().toObject(item);
|
|
|
|
if (this.addOns.currentData)
|
|
|
|
|
|
|
|
return this.addOns.currentData.getData(item);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dataBinder() {
|
|
|
|
dataBinder() {
|
|
|
|