This commit is contained in:
icssoa 2025-07-13 21:30:20 +08:00 committed by icssoa
parent 3b46c8cf07
commit cfa275518c
3 changed files with 57 additions and 1 deletions

22
build/cool/eps.d.ts vendored
View File

@ -960,6 +960,26 @@ declare namespace Eps {
*/
description?: string;
/**
*
*/
birthday?: string;
/**
*
*/
province?: string;
/**
*
*/
city?: string;
/**
*
*/
district?: string;
/**
*
*/
@ -2186,5 +2206,5 @@ declare namespace Eps {
user: { address: UserAddress; info: UserInfo };
};
type DictKey = "brand" | "occupation";
type DictKey = "brand" | "occupation" | "upgradeType" | "complainType" | "feedbackType";
}

View File

@ -1831,6 +1831,25 @@ if (typeof window !== 'undefined') {
"/": "-slash-",
":": "-colon-",
" ": "-space-",
"<": "-lt-",
">": "-gt-",
"&": "-amp-",
"|": "-pipe-",
"^": "-caret-",
"~": "-tilde-",
"`": "-backtick-",
"'": "-single-quote-",
".": "-dot-",
"?": "-question-",
"*": "-star-",
"+": "-plus-",
"-": "-dash-",
_: "-underscore-",
"=": "-equal-",
"%": "-percent-",
"@": "-at-",
"《": "-chinese-lt-",
"》": "-chinese-gt-",
};
// @ts-ignore

View File

@ -31,4 +31,21 @@ export const SAFE_CHAR_MAP_LOCALE: Record<string, string> = {
"/": "-slash-",
":": "-colon-",
" ": "-space-",
"<": "-lt-",
">": "-gt-",
"&": "-amp-",
"|": "-pipe-",
"^": "-caret-",
"~": "-tilde-",
"`": "-backtick-",
"'": "-single-quote-",
".": "-dot-",
"?": "-question-",
"*": "-star-",
"+": "-plus-",
"-": "-dash-",
_: "-underscore-",
"=": "-equal-",
"%": "-percent-",
"@": "-at-",
};