igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
385 lines (384 loc) • 13.7 kB
JavaScript
import { __extends } from "tslib";
import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode";
import { IgcDataAnnotationRangeLayerComponent } from "./igc-data-annotation-range-layer-component";
import { getAllPropertyNames, toSpinal, ensureEnum, enumToString } from "igniteui-webcomponents-core";
/**
* Represents a base of annotation layers that render shapes at locations of x/y values mapped to these properties:
* StartValueXMemberPath
* StartValueYMemberPath
* EndValueXMemberPath
* EndValueYMemberPath
*/
export var IgcDataAnnotationPointLayerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcDataAnnotationPointLayerComponent, _super);
function IgcDataAnnotationPointLayerComponent() {
return _super.call(this) || this;
}
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcDataAnnotationPointLayerComponent.prototype.connectedCallback = function () {
if (_super.prototype["connectedCallback"]) {
_super.prototype["connectedCallback"].call(this);
}
if (this.i.connectedCallback) {
this.i.connectedCallback();
}
if (!this._attached) {
this._attached = true;
this._flushQueuedAttributes();
}
};
IgcDataAnnotationPointLayerComponent.prototype.disconnectedCallback = function () {
if (_super.prototype["disconnectedCallback"]) {
_super.prototype["disconnectedCallback"].call(this);
}
if (this.i.disconnectedCallback) {
this.i.disconnectedCallback();
}
if (this._attached) {
this._attached = false;
}
};
Object.defineProperty(IgcDataAnnotationPointLayerComponent, "observedAttributes", {
get: function () {
if (IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent == null) {
var names = getAllPropertyNames(IgcDataAnnotationPointLayerComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent = names;
}
return IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "startValueXMemberPath", {
/**
* Gets or sets name of data column with x-positions for the start of annotations.
*/
get: function () {
return this.i.ake;
},
set: function (v) {
this.i.ake = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "startValueYMemberPath", {
/**
* Gets or sets name of data column with y-positions for the start of annotations.
*/
get: function () {
return this.i.akh;
},
set: function (v) {
this.i.akh = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "startLabelXMemberPath", {
/**
* Gets or sets mapping custom label at the start of annotations on x-axis.
*/
get: function () {
return this.i.aj7;
},
set: function (v) {
this.i.aj7 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "startLabelYMemberPath", {
/**
* Gets or sets mapping custom label at the start of annotations on y-axis.
*/
get: function () {
return this.i.akb;
},
set: function (v) {
this.i.akb = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "startLabelXDisplayMode", {
/**
* Gets or sets display mode of label in the start annotation on x-axis.
*/
get: function () {
return this.i.aht;
},
set: function (v) {
this.i.aht = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("startLabelXDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.aht));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "startLabelYDisplayMode", {
/**
* Gets or sets display mode of label in the start annotation on y-axis.
*/
get: function () {
return this.i.ahu;
},
set: function (v) {
this.i.ahu = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("startLabelYDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahu));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "endValueXMemberPath", {
/**
* Gets or sets name of data column with x-positions for end of annotation.
*/
get: function () {
return this.i.aj0;
},
set: function (v) {
this.i.aj0 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "endValueYMemberPath", {
/**
* Gets or sets name of data column with y-positions for end of annotation.
*/
get: function () {
return this.i.aj3;
},
set: function (v) {
this.i.aj3 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "endLabelXMemberPath", {
/**
* Gets or sets mapping custom label at the end of annotations on x-axis.
*/
get: function () {
return this.i.ajt;
},
set: function (v) {
this.i.ajt = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "endLabelYMemberPath", {
/**
* Gets or sets mapping custom label at the end of annotations on y-axis.
*/
get: function () {
return this.i.ajx;
},
set: function (v) {
this.i.ajx = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "endLabelXDisplayMode", {
/**
* Gets or sets display mode of label at the end annotation on x-axis.
*/
get: function () {
return this.i.ahp;
},
set: function (v) {
this.i.ahp = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("endLabelXDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahp));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "endLabelYDisplayMode", {
/**
* Gets or sets display mode of label at the end annotation on y-axis.
*/
get: function () {
return this.i.ahq;
},
set: function (v) {
this.i.ahq = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("endLabelYDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahq));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "centerLabelXMemberPath", {
/**
* Gets or sets mapping custom label at the center of the annotations on x-axis.
*/
get: function () {
return this.i.ajl;
},
set: function (v) {
this.i.ajl = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "centerLabelYMemberPath", {
/**
* Gets or sets mapping custom label at the center of the annotations on y-axis.
*/
get: function () {
return this.i.ajp;
},
set: function (v) {
this.i.ajp = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "centerLabelXDisplayMode", {
/**
* Gets or sets display mode of label in the annotation on x-axis.
*/
get: function () {
return this.i.ahn;
},
set: function (v) {
this.i.ahn = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("centerLabelXDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.ahn));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "centerLabelYDisplayMode", {
/**
* Gets or sets display mode of label in the annotation on y-axis.
*/
get: function () {
return this.i.aho;
},
set: function (v) {
this.i.aho = ensureEnum(DataAnnotationDisplayMode_$type, v);
this._a("centerLabelYDisplayMode", enumToString(DataAnnotationDisplayMode_$type, this.i.aho));
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeEnabledXMemberPath", {
/**
* Gets or sets a member path for visibility of the badge annotations on x-axis.
*/
get: function () {
return this.i.ai2;
},
set: function (v) {
this.i.ai2 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeEnabledYMemberPath", {
/**
* Gets or sets a member path for visibility of the badge annotations on y-axis.
*/
get: function () {
return this.i.ai5;
},
set: function (v) {
this.i.ai5 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeBackgroundXMemberPath", {
/**
* Gets or sets a member path for background of the badge annotations on x-axis.
*/
get: function () {
return this.i.aiw;
},
set: function (v) {
this.i.aiw = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeBackgroundYMemberPath", {
/**
* Gets or sets a member path for background of the badge annotations on y-axis.
*/
get: function () {
return this.i.aiz;
},
set: function (v) {
this.i.aiz = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeOutlineXMemberPath", {
/**
* Gets or sets a member path for outline of the badge annotations on x-axis.
*/
get: function () {
return this.i.aje;
},
set: function (v) {
this.i.aje = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeOutlineYMemberPath", {
/**
* Gets or sets a member path for outline of the badge annotations on y-axis.
*/
get: function () {
return this.i.ajh;
},
set: function (v) {
this.i.ajh = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeImageXMemberPath", {
/**
* Gets or sets a member path for displaying an image in the badge annotations on x-axis.
*/
get: function () {
return this.i.ai8;
},
set: function (v) {
this.i.ai8 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDataAnnotationPointLayerComponent.prototype, "annotationBadgeImageYMemberPath", {
/**
* Gets or sets a member path for displaying an image in the badge annotations on y-axis.
*/
get: function () {
return this.i.ajb;
},
set: function (v) {
this.i.ajb = v;
},
enumerable: false,
configurable: true
});
IgcDataAnnotationPointLayerComponent._observedAttributesIgcDataAnnotationPointLayerComponent = null;
return IgcDataAnnotationPointLayerComponent;
}(IgcDataAnnotationRangeLayerComponent));