/** * @module core-constants * * # IMPORTANT! * * In order to be able to actually use this in an ionic-gib-like clone front end, * I want to be sure to include all of these. So I can't remove/comment it out here * without putting it _somewhere_. For example, the very first import atow is a * reference to @capacitor/filesystem. This should not go in this package (core-gib) * so I'm going to create another lib specific to ionic/capacitor and put it there * **before** removing it from/commenting it out in this file. * * # about this file * * I'm copying this lump sum from ionic-gib and am breaking it out slowly into * other more specific constant files. When a constant is moved into one of * those sub files, then I will remove it from this file. * * Ultimately, this should only contain global constants like the logalot * and timer settings. */ /** * Naive selective logging/tracing mechanism. * * I manually switch this in individual files as needed while * developing/troubleshooting. I can change it here to turn on extremely verbose * logging application wide (and turn off individual files). */ export declare const GLOBAL_LOG_A_LOT: boolean | number; /** * Used in console.timeLog() calls. */ export declare const GLOBAL_TIMER_NAME = "[core^gib timer]"; /** * regular expression for a classname. * * Used in witnesses atm. */ export declare const CLASSNAME_REGEXP: RegExp; /** * Much restricted list of chars in english. * * ## intent * * When sanitizing input. */ export declare const SAFE_SPECIAL_CHARS = ".'\",!?-"; export declare const IB_MAX_LENGTH_DEFAULT = 155; /** * Defaults to word characters, space, tab, hyphen, and other * non-slash (path navigating) chars. * * Does not allow new lines or other whitespace, only tabs and spaces. * * ## atow * * `^[\\w\\t\\-|=+.&%\$#@!~\` \\[\\]\\(\\)\\{\\}]{1,${IB_MAX_LENGTH_DEFAULT}}$` */ export declare const IB_REGEXP_DEFAULT: RegExp; /** * Ionicons const "enum" */ export declare const IONICONS: string[]; /** * Robbot.data.name regexp */ export declare const ROBBOT_NAME_REGEXP: RegExp; export declare const ROBBOT_PREFIX_SUFFIX_REGEXP: RegExp; export declare const ROBBOT_PREFIX_SUFFIX_REGEXP_DESC = "0 to 64 alphanumerics, spaces, select special characters and emojis."; export declare const GESTURE_DOUBLE_CLICK_THRESHOLD_MS = 500; /** * If a gesture's move threshold is less than this, then it can still be * considered a single punctiliar click. Otherwise, it's a move event. * * IOW, a click gesture only is considered a "click" if the onMove is triggered * less than this many times. If onMove is detected more than this many times, * then a move gesture will be triggered. */ export declare const GESTURE_CLICK_TOLERANCE_ONMOVE_THRESHOLD_COUNT = 5; export declare const SIMPLE_CONFIG_KEY_APP_VISIBLE = "appBarVisible"; export declare const SIMPLE_CONFIG_KEY_APP_SELECTED = "appBarSelectedApp"; export declare const SIMPLE_CONFIG_KEY_ROBBOT_VISIBLE = "robbotBarVisible"; export declare const SIMPLE_CONFIG_KEY_ROBBOT_SELECTED_ADDR = "robbotBarSelectedAddr"; export declare const DEFAULT_APP_ICON = "apps-outline"; export declare const YOUTUBE_LINK_REG_EXP: RegExp; export declare const WEB_1_PATHS: string[]; //# sourceMappingURL=core-constants.d.mts.map