7744afe5-ca51-4918-a503-49eea324f524.js.map
1.25 KB
{"version":3,"sources":["assets/script/avg/model/ConditionModel.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAkB,iBAGjB;AAHD,WAAkB,iBAAiB;IAC/B,uDAAO,CAAA;IACP,qDAAM,CAAA;AACV,CAAC,EAHiB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAGlC;AAED,IAAkB,iBAOjB;AAPD,WAAkB,iBAAiB;IAC/B,2DAAS,CAAA;IACT,iEAAY,CAAA;IACZ,+DAAW,CAAA;IACX,6EAAkB,CAAA;IAClB,yDAAQ,CAAA;IACR,uEAAe,CAAA;AACnB,CAAC,EAPiB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAOlC;AAED,IAAkB,mBAGjB;AAHD,WAAkB,mBAAmB;IACjC,qEAAY,CAAA;IACZ,+DAAS,CAAA;AACb,CAAC,EAHiB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAGpC","file":"","sourceRoot":"/","sourcesContent":["export const enum ConditionRelation {\n And = 1,\n Or = 2\n}\n\nexport const enum ConditionOperator {\n Equal = 1,\n NotEqual = 2,\n Greater = 3,\n GreaterOrEqual = 4,\n Less = 5,\n LessOrEqual = 6\n}\n\nexport const enum ConditionOprandType {\n Variable = 1,\n Const = 2\n}\n\nexport interface ConditionItem {\n target: string,\n operator: ConditionOperator,\n oprand: {\n type: ConditionOprandType,\n value: string\n }\n}\n\nexport interface ConditionGroup {\n relation: ConditionRelation;\n items: ConditionItem[];\n}\n\nexport interface ConditionExpression {\n relation: ConditionRelation;\n groups: ConditionGroup[];\n}"]}