UNPKG

@aappddeevv/dynamics-client-ui

Version:

## What is it? A library to help you create great dynamics applications.

144 lines 6.51 kB
"use strict"; /** Utilities for working with FetchXml. */ Object.defineProperty(exports, "__esModule", { value: true }); var Operator; (function (Operator) { Operator["eq"] = "eq"; Operator["neq"] = "neq"; Operator["ne"] = "ne"; Operator["gt"] = "gt"; Operator["ge"] = "ge"; Operator["le"] = "le"; Operator["lt"] = "lt"; Operator["like"] = "like"; Operator["notLike"] = "not-like"; Operator["_in"] = "in"; Operator["notIn"] = "not-in"; Operator["between"] = "between"; Operator["notBetween"] = "not-between"; Operator["_null"] = "null"; Operator["notNull"] = "not-null"; // ... Operator["beginsWith"] = "begins-with"; Operator["notBeginWith"] = "not-begin-with"; Operator["endsWith"] = "ends-with"; Operator["notEndWith"] = "not-end-with"; Operator["under"] = "under"; Operator["eqOrUnder"] = "eq-or-under"; Operator["notUnder"] = "notUnder"; Operator["above"] = "above"; Operator["eqOrAbove"] = "eq-or-above"; })(Operator = exports.Operator || (exports.Operator = {})); /* <xs:enumeration value="eq" /> <xs:enumeration value="neq" /> <xs:enumeration value="ne" /> <xs:enumeration value="gt" /> <xs:enumeration value="ge" /> <xs:enumeration value="le" /> <xs:enumeration value="lt" /> <xs:enumeration value="like" /> <xs:enumeration value="not-like" /> <xs:enumeration value="in" /> <xs:enumeration value="not-in" /> <xs:enumeration value="between" /> <xs:enumeration value="not-between" /> <xs:enumeration value="null" /> <xs:enumeration value="not-null" /> <xs:enumeration value="yesterday" /> <xs:enumeration value="today" /> <xs:enumeration value="tomorrow" /> <xs:enumeration value="last-seven-days" /> <xs:enumeration value="next-seven-days" /> <xs:enumeration value="last-week" /> <xs:enumeration value="this-week" /> <xs:enumeration value="next-week" /> <xs:enumeration value="last-month" /> <xs:enumeration value="this-month" /> <xs:enumeration value="next-month" /> <xs:enumeration value="on" /> <xs:enumeration value="on-or-before" /> <xs:enumeration value="on-or-after" /> <xs:enumeration value="last-year" /> <xs:enumeration value="this-year" /> <xs:enumeration value="next-year" /> <xs:enumeration value="last-x-hours" /> <xs:enumeration value="next-x-hours" /> <xs:enumeration value="last-x-days" /> <xs:enumeration value="next-x-days" /> <xs:enumeration value="last-x-weeks" /> <xs:enumeration value="next-x-weeks" /> <xs:enumeration value="last-x-months" /> <xs:enumeration value="next-x-months" /> <xs:enumeration value="olderthan-x-months" /> <xs:enumeration value="olderthan-x-years" /> <xs:enumeration value="olderthan-x-weeks" /> <xs:enumeration value="olderthan-x-days" /> <xs:enumeration value="olderthan-x-hours" /> <xs:enumeration value="olderthan-x-minutes" /> <xs:enumeration value="last-x-years" /> <xs:enumeration value="next-x-years" /> <xs:enumeration value="eq-userid" /> <xs:enumeration value="ne-userid" /> <xs:enumeration value="eq-userteams" /> <xs:enumeration value="eq-useroruserteams" /> <xs:enumeration value="eq-useroruserhierarchy" /> <xs:enumeration value="eq-useroruserhierarchyandteams" /> <xs:enumeration value="eq-businessid" /> <xs:enumeration value="ne-businessid" /> <xs:enumeration value="eq-userlanguage" /> <xs:enumeration value="this-fiscal-year" /> <xs:enumeration value="this-fiscal-period" /> <xs:enumeration value="next-fiscal-year" /> <xs:enumeration value="next-fiscal-period" /> <xs:enumeration value="last-fiscal-year" /> <xs:enumeration value="last-fiscal-period" /> <xs:enumeration value="last-x-fiscal-years" /> <xs:enumeration value="last-x-fiscal-periods" /> <xs:enumeration value="next-x-fiscal-years" /> <xs:enumeration value="next-x-fiscal-periods" /> <xs:enumeration value="in-fiscal-year" /> <xs:enumeration value="in-fiscal-period" /> <xs:enumeration value="in-fiscal-period-and-year" /> <xs:enumeration value="in-or-before-fiscal-period-and-year" /> <xs:enumeration value="in-or-after-fiscal-period-and-year" /> <xs:enumeration value="begins-with" /> <xs:enumeration value="not-begin-with" /> <xs:enumeration value="ends-with" /> <xs:enumeration value="not-end-with" /> <xs:enumeration value="under"/> <xs:enumeration value="eq-or-under" /> <xs:enumeration value="not-under"/> <xs:enumeration value="above" /> <xs:enumeration value="eq-or-above" /> */ /** OperatorMetadata.argCount = UNLIMITED_ARGS means list. */ exports.UNLIMITED_ARGS = -1; exports.OperatorMetadata = [ { op: Operator.eq, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator.neq, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.ne, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.gt, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator.ge, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator.le, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator.lt, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator.like, argCount: 1, appliesTo: ["string"] }, { op: Operator.notLike, argCount: 1, appliesTo: ["string"] }, { op: Operator._in, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.notIn, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.between, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator.notBetween, argCount: 2, appliesTo: ["number", "string"] }, { op: Operator._null, argCount: 0, appliesTo: ["number", "string"] }, { op: Operator.notNull, argCount: 0, appliesTo: ["number", "string"] }, // ... { op: Operator.beginsWith, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.notBeginWith, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.endsWith, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.notEndWith, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.under, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.eqOrUnder, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.notUnder, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.above, argCount: 1, appliesTo: ["number", "string"] }, { op: Operator.eqOrAbove, argCount: 1, appliesTo: ["number", "string"] }, ]; //# sourceMappingURL=index.js.map