igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
84 lines (83 loc) • 4.7 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { Base, String_$type, markType } from "./type";
import { Dictionary$2 } from "./Dictionary$2";
import { LabelFormatOverrideEventArgsDescription } from "./LabelFormatOverrideEventArgsDescription";
import { TimeAxisLabelFormatDescription } from "./TimeAxisLabelFormatDescription";
/**
* @hidden
*/
var LabelFormatOverrideEventArgsDescriptionMetadata = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(LabelFormatOverrideEventArgsDescriptionMetadata, _super);
function LabelFormatOverrideEventArgsDescriptionMetadata() {
return _super !== null && _super.apply(this, arguments) || this;
}
LabelFormatOverrideEventArgsDescriptionMetadata.b = function (a) {
if (LabelFormatOverrideEventArgsDescriptionMetadata.a == null) {
LabelFormatOverrideEventArgsDescriptionMetadata.a = new Dictionary$2(String_$type, String_$type, 0);
LabelFormatOverrideEventArgsDescriptionMetadata.c(LabelFormatOverrideEventArgsDescriptionMetadata.a);
}
if (a.k(LabelFormatOverrideEventArgsDescriptionMetadata.a)) {
return;
}
a.ad(LabelFormatOverrideEventArgsDescriptionMetadata.a);
TimeAxisLabelFormatDescriptionMetadata.d(a);
};
LabelFormatOverrideEventArgsDescriptionMetadata.c = function (a) {
a.item("DateTime", "Date");
a.item("Format", "ExportedType:TimeAxisLabelFormat");
a.item("Label", "String");
};
LabelFormatOverrideEventArgsDescriptionMetadata.d = function (a) {
LabelFormatOverrideEventArgsDescriptionMetadata.b(a);
a.af("LabelFormatOverrideEventArgs", function () { return new LabelFormatOverrideEventArgsDescription(); });
a.ae("LabelFormatOverrideEventArgs", LabelFormatOverrideEventArgsDescriptionMetadata.a);
};
LabelFormatOverrideEventArgsDescriptionMetadata.$t = markType(LabelFormatOverrideEventArgsDescriptionMetadata, 'LabelFormatOverrideEventArgsDescriptionMetadata');
LabelFormatOverrideEventArgsDescriptionMetadata.a = null;
return LabelFormatOverrideEventArgsDescriptionMetadata;
}(Base));
export { LabelFormatOverrideEventArgsDescriptionMetadata };
/**
* @hidden
*/
var TimeAxisLabelFormatDescriptionMetadata = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(TimeAxisLabelFormatDescriptionMetadata, _super);
function TimeAxisLabelFormatDescriptionMetadata() {
return _super !== null && _super.apply(this, arguments) || this;
}
TimeAxisLabelFormatDescriptionMetadata.b = function (a) {
if (TimeAxisLabelFormatDescriptionMetadata.a == null) {
TimeAxisLabelFormatDescriptionMetadata.a = new Dictionary$2(String_$type, String_$type, 0);
TimeAxisLabelFormatDescriptionMetadata.c(TimeAxisLabelFormatDescriptionMetadata.a);
}
if (a.k(TimeAxisLabelFormatDescriptionMetadata.a)) {
return;
}
a.ad(TimeAxisLabelFormatDescriptionMetadata.a);
LabelFormatOverrideEventArgsDescriptionMetadata.d(a);
};
TimeAxisLabelFormatDescriptionMetadata.c = function (a) {
a.item("Range", "TimeSpan");
a.item("Format", "String");
a.item("RepeatedYearFormat", "String");
a.item("RepeatedMonthFormat", "String");
a.item("RepeatedDayFormat", "String");
a.item("LabelFormatOverrideRef", "EventRef:LabelFormatOverrideHandler:labelFormatOverride");
a.item("LabelFormatOverrideRef@args", "LabelFormatOverrideEventArgs");
};
TimeAxisLabelFormatDescriptionMetadata.d = function (a) {
TimeAxisLabelFormatDescriptionMetadata.b(a);
a.af("TimeAxisLabelFormat", function () { return new TimeAxisLabelFormatDescription(); });
a.ae("TimeAxisLabelFormat", TimeAxisLabelFormatDescriptionMetadata.a);
};
TimeAxisLabelFormatDescriptionMetadata.$t = markType(TimeAxisLabelFormatDescriptionMetadata, 'TimeAxisLabelFormatDescriptionMetadata');
TimeAxisLabelFormatDescriptionMetadata.a = null;
return TimeAxisLabelFormatDescriptionMetadata;
}(Base));
export { TimeAxisLabelFormatDescriptionMetadata };