66 lines
1.9 KiB
JavaScript
66 lines
1.9 KiB
JavaScript
import {
|
|
Component_default,
|
|
Component_default2,
|
|
SERIES_LAYOUT_BY_COLUMN,
|
|
SourceManager,
|
|
disableTransformOptionMerge
|
|
} from "./chunk-HOOPLKFT.js";
|
|
import {
|
|
__extends
|
|
} from "./chunk-M6ZIMNOI.js";
|
|
|
|
// node_modules/.pnpm/echarts@5.5.1/node_modules/echarts/lib/component/dataset/install.js
|
|
var DatasetModel = (
|
|
/** @class */
|
|
function(_super) {
|
|
__extends(DatasetModel2, _super);
|
|
function DatasetModel2() {
|
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
_this.type = "dataset";
|
|
return _this;
|
|
}
|
|
DatasetModel2.prototype.init = function(option, parentModel, ecModel) {
|
|
_super.prototype.init.call(this, option, parentModel, ecModel);
|
|
this._sourceManager = new SourceManager(this);
|
|
disableTransformOptionMerge(this);
|
|
};
|
|
DatasetModel2.prototype.mergeOption = function(newOption, ecModel) {
|
|
_super.prototype.mergeOption.call(this, newOption, ecModel);
|
|
disableTransformOptionMerge(this);
|
|
};
|
|
DatasetModel2.prototype.optionUpdated = function() {
|
|
this._sourceManager.dirty();
|
|
};
|
|
DatasetModel2.prototype.getSourceManager = function() {
|
|
return this._sourceManager;
|
|
};
|
|
DatasetModel2.type = "dataset";
|
|
DatasetModel2.defaultOption = {
|
|
seriesLayoutBy: SERIES_LAYOUT_BY_COLUMN
|
|
};
|
|
return DatasetModel2;
|
|
}(Component_default)
|
|
);
|
|
var DatasetView = (
|
|
/** @class */
|
|
function(_super) {
|
|
__extends(DatasetView2, _super);
|
|
function DatasetView2() {
|
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
_this.type = "dataset";
|
|
return _this;
|
|
}
|
|
DatasetView2.type = "dataset";
|
|
return DatasetView2;
|
|
}(Component_default2)
|
|
);
|
|
function install(registers) {
|
|
registers.registerComponentModel(DatasetModel);
|
|
registers.registerComponentView(DatasetView);
|
|
}
|
|
|
|
export {
|
|
install
|
|
};
|
|
//# sourceMappingURL=chunk-QCHF3BA4.js.map
|