@easyquery/core
Version:
EasyQuery.JS core modules
39 lines • 1.58 kB
JavaScript
export var eqconsts;
(function (eqconsts) {
var ConstLists = /** @class */ (function () {
function ConstLists() {
this.SpecDateValues = [
{ id: '${Today}', key: 'Today', isDefault: true },
{ id: '${Yesterday}', key: 'Yesterday' },
{ id: '${Tomorrow}', key: 'Tomorrow' },
{ id: '${FirstDayOfMonth}', key: 'FirstDayOfMonth' },
{ id: '${FirstDayOfYear}', key: 'FirstDayOfYear' }
];
this.SpecTimeValues = [
{ id: '${Now}', key: 'Now', isDefault: true },
{ id: '${HourStart}', key: 'HourStart' },
{ id: '${Midnight}', key: 'Midnight' },
{ id: '${Noon}', key: 'Noon' }
];
this.BooleanValues = [
{ id: '${false}', key: 'False' },
{ id: '${true}', key: 'True', isDefault: true }
];
}
return ConstLists;
}());
eqconsts.ConstLists = ConstLists;
/// <var name="constLists" type="ConstLists">
/// <summary>
/// Contains the constants used to work with date/time and boolean values.
/// </summary>
/// </var>
eqconsts.constLists = new ConstLists();
eqconsts.predicateLinkTypeList = [
{ id: 'All', key: 'LinkTypeAll' },
{ id: 'Any', key: 'LinkTypeAny' },
{ id: 'None', key: 'LinkTypeNone' },
{ id: 'NotAll', key: 'LinkTypeNotAll' }
];
})(eqconsts || (eqconsts = {}));
//# sourceMappingURL=constants.js.map