160 lines
6.8 KiB
JavaScript
160 lines
6.8 KiB
JavaScript
"use strict";
|
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
}
|
|
Object.defineProperty(o, k2, desc);
|
|
}) : (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
o[k2] = m[k];
|
|
}));
|
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.EType = exports.FLAG = void 0;
|
|
;
|
|
var FLAG;
|
|
(function (FLAG) {
|
|
/**
|
|
* Instruct for no additional extra processing
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["NONE"] = 0] = "NONE";
|
|
/**
|
|
* Will instruct the pre/post processor to base-64 decode or encode
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["BASE_64"] = 1] = "BASE_64";
|
|
/**
|
|
* Post/Pre process the value with a user function
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["USE_FUNCTION"] = 2] = "USE_FUNCTION";
|
|
/**
|
|
* Replace variables with local scope's variables during the post/pre process
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["REPLACE_VARIABLES"] = 4] = "REPLACE_VARIABLES";
|
|
/**
|
|
* Replace variables with local scope's variables during the post/pre process but evaluate the whole string
|
|
* as Javascript
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["REPLACE_VARIABLES_EVALUATED"] = 8] = "REPLACE_VARIABLES_EVALUATED";
|
|
/**
|
|
* Will instruct the pre/post processor to escpape evaluated or replaced variables or expressions
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["ESCAPE"] = 16] = "ESCAPE";
|
|
/**
|
|
* Will instruct the pre/post processor to replace block calls with oridinary vanilla script
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["REPLACE_BLOCK_CALLS"] = 32] = "REPLACE_BLOCK_CALLS";
|
|
/**
|
|
* Will instruct the pre/post processor to remove variable delimitters/placeholders from the final string
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["REMOVE_DELIMTTERS"] = 64] = "REMOVE_DELIMTTERS";
|
|
/**
|
|
* Will instruct the pre/post processor to remove "[" ,"]" , "(" , ")" , "{", "}" , "*" , "+" , "."
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["ESCAPE_SPECIAL_CHARS"] = 128] = "ESCAPE_SPECIAL_CHARS";
|
|
/**
|
|
* Will instruct the pre/post processor to use regular expressions over string substitution
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["USE_REGEX"] = 256] = "USE_REGEX";
|
|
/**
|
|
* Will instruct the pre/post processor to use Filtrex (custom bison parser, needs xexpression) over string substitution
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["USE_FILTREX"] = 512] = "USE_FILTREX";
|
|
/**
|
|
* Cascade entry. There are cases where #USE_FUNCTION is not enough or we'd like to avoid further type checking.
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["CASCADE"] = 1024] = "CASCADE";
|
|
/**
|
|
* Cascade entry. There are cases where #USE_FUNCTION is not enough or we'd like to avoid further type checking.
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["EXPRESSION"] = 2048] = "EXPRESSION";
|
|
/**
|
|
* Dont parse anything
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["DONT_PARSE"] = 4096] = "DONT_PARSE";
|
|
/**
|
|
* Convert to hex
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["TO_HEX"] = 8192] = "TO_HEX";
|
|
/**
|
|
* Convert to hex
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["REPLACE_HEX"] = 16384] = "REPLACE_HEX";
|
|
/**
|
|
* Wait for finish
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["WAIT"] = 32768] = "WAIT";
|
|
/**
|
|
* Wait for finish
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["DONT_ESCAPE"] = 65536] = "DONT_ESCAPE";
|
|
/**
|
|
* Flag to mark the maximum core bit mask, after here its user land
|
|
* @constant
|
|
* @type int
|
|
*/
|
|
FLAG[FLAG["END"] = 131072] = "END";
|
|
})(FLAG = exports.FLAG || (exports.FLAG = {}));
|
|
var EType;
|
|
(function (EType) {
|
|
EType["Number"] = "Number";
|
|
EType["String"] = "String";
|
|
EType["Boolean"] = "Boolean";
|
|
EType["Date"] = "Date";
|
|
EType["TimeStamp"] = "TimeStamp";
|
|
EType["Duration"] = "Duration";
|
|
EType["Url"] = "Url";
|
|
EType["UrlScheme"] = "Url-Scheme";
|
|
EType["Asset"] = "Asset";
|
|
EType["Symbol"] = "Symbol";
|
|
EType["Value"] = "Value";
|
|
EType["Values"] = "Values";
|
|
EType["Attribute"] = "Attribute";
|
|
EType["Parameter"] = "Parameter";
|
|
EType["Operation"] = "Operation";
|
|
EType["ParameterOperation"] = "ParameterOperation";
|
|
EType["Template"] = "Template";
|
|
EType["Arguments"] = "Arguments";
|
|
})(EType = exports.EType || (exports.EType = {}));
|
|
__exportStar(require("./zod_types"), exports);
|
|
__exportStar(require("./zod_schema"), exports);
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzcmMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7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