@magic-xpa/utils 4.1201.0 → 4.1202.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/fesm2022/magic-xpa-utils.mjs +23 -2
- package/fesm2022/magic-xpa-utils.mjs.map +1 -1
- package/package.json +6 -6
- package/types/magic-xpa-utils.d.ts +2847 -0
- package/index.d.ts +0 -29
- package/src/Base64.d.ts +0 -17
- package/src/ChoiceUtils.d.ts +0 -5
- package/src/Constants.d.ts +0 -71
- package/src/DateTimeUtils.d.ts +0 -5
- package/src/DateUtil.d.ts +0 -6
- package/src/InternalInterface.d.ts +0 -337
- package/src/JSON_Utils.d.ts +0 -3
- package/src/Logger.d.ts +0 -49
- package/src/MagicConstants.d.ts +0 -9
- package/src/Misc.d.ts +0 -13
- package/src/MsgInterface.d.ts +0 -180
- package/src/PICInterface.d.ts +0 -50
- package/src/PlatformUtils.d.ts +0 -5
- package/src/Queue.d.ts +0 -9
- package/src/Randomizer.d.ts +0 -14
- package/src/RequestInfo.d.ts +0 -15
- package/src/Rtf.d.ts +0 -152
- package/src/StorageAttribute.d.ts +0 -14
- package/src/StrUtil.d.ts +0 -46
- package/src/SyncExecutionHelper.d.ts +0 -7
- package/src/UtilDateJpn.d.ts +0 -19
- package/src/UtilImeJpn.d.ts +0 -9
- package/src/UtilStrByteMode.d.ts +0 -27
- package/src/XMLConstants.d.ts +0 -170
- package/src/Xml/XmlParser.d.ts +0 -34
- package/src/enums.d.ts +0 -1564
package/src/MsgInterface.d.ts
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
export declare class DefaultMsgDetails {
|
|
2
|
-
MsgID: string;
|
|
3
|
-
MsgString: string;
|
|
4
|
-
constructor(ID: string, MsgStr: string);
|
|
5
|
-
}
|
|
6
|
-
export declare class MsgInterface {
|
|
7
|
-
static readonly STR_ERR_NUM: string;
|
|
8
|
-
static readonly STR_ERR_DATE: string;
|
|
9
|
-
static readonly STR_ERR_TIME: string;
|
|
10
|
-
static readonly MONTHS_PTR: string;
|
|
11
|
-
static readonly DAYS_PTR: string;
|
|
12
|
-
static readonly STR_ERR_NEGETIVE: string;
|
|
13
|
-
static readonly STR_RNG_TXT: string;
|
|
14
|
-
static readonly EDT_ERR_STR_1: string;
|
|
15
|
-
static readonly STR_ERR_PIPE_CONNECTION: string;
|
|
16
|
-
static readonly FMERROR_STR_BAD_NAME: string;
|
|
17
|
-
static readonly FMERROR_STR_BAD_DAMAGED: string;
|
|
18
|
-
static readonly FMERROR_STR_BAD_BADCREATE: string;
|
|
19
|
-
static readonly FMERROR_STR_FILE_LOCKED: string;
|
|
20
|
-
static readonly FMERROR_STR_BAD_UNEXPECTED: string;
|
|
21
|
-
static readonly FMERROR_STR_BAD_SERVER_NOTFOUND: string;
|
|
22
|
-
static readonly FMERROR_STR_BAD_SERVER_INIT_FAILED: string;
|
|
23
|
-
static readonly FMERROR_STR_UNLOCKED: string;
|
|
24
|
-
static readonly FMERROR_STR_BAD_DB_INIT_FAILED: string;
|
|
25
|
-
static readonly FMERROR_STR_BAD_LOCK_OPEN: string;
|
|
26
|
-
static readonly FMERROR_STR_BAD_BADOPEN: string;
|
|
27
|
-
static readonly FMERROR_STR_BAD_BADDEF: string;
|
|
28
|
-
static readonly FMERROR_STR_DUP_KEY: string;
|
|
29
|
-
static readonly FMERROR_STR_COMM_LOADED: string;
|
|
30
|
-
static readonly FMERROR_STR_COMM_CONNECT: string;
|
|
31
|
-
static readonly FMERROR_STR_READONLY: string;
|
|
32
|
-
static readonly FMERROR_STR_BAD_BADCLOSE: string;
|
|
33
|
-
static readonly FMERROR_STR_REC_LOCKED: string;
|
|
34
|
-
static readonly FMERROR_STR_TRANS_OPEN: string;
|
|
35
|
-
static readonly FMERROR_STR_COMMIT: string;
|
|
36
|
-
static readonly FMERROR_STR_ABORT: string;
|
|
37
|
-
static readonly FMERROR_STR_RSRC_LOCKED: string;
|
|
38
|
-
static readonly FMERROR_STR_NODEF: string;
|
|
39
|
-
static readonly FMERROR_STR_DEADLOCK: string;
|
|
40
|
-
static readonly FMERROR_STR_DB_PROT: string;
|
|
41
|
-
static readonly FMERROR_STR_OWNR_ALRDY_SET: string;
|
|
42
|
-
static readonly FMERROR_STR_INVALID_OWNR: string;
|
|
43
|
-
static readonly FMERROR_STR_CLR_OWNR_FAIL: string;
|
|
44
|
-
static readonly FMERROR_STR_NO_DATABASE: string;
|
|
45
|
-
static readonly FMERROR_STR_DBMS_ALTER_FAIL: string;
|
|
46
|
-
static readonly FMERROR_STR_TRANS_LOCK: string;
|
|
47
|
-
static readonly FMERROR_STR_EXTUSE_MULU_CNFLCT: string;
|
|
48
|
-
static readonly FMERROR_STR_DB_GW_VERSION_CNFLCT: string;
|
|
49
|
-
static readonly FMERROR_STR_DB_CANOT_REMOVE: string;
|
|
50
|
-
static readonly FMERROR_STR_DB_CANOT_RENAME: string;
|
|
51
|
-
static readonly FMERROR_STR_DB_BAD_SQL_CMD: string;
|
|
52
|
-
static readonly FMERROR_STR_REC_LOCKED_NOBUF: string;
|
|
53
|
-
static readonly FMERROR_STR_REOPEN: string;
|
|
54
|
-
static readonly FMERROR_STR_REC_LOCKED_NOW: string;
|
|
55
|
-
static readonly FMERROR_STR_DBMS_SORT_FAIL: string;
|
|
56
|
-
static readonly FMERROR_STR_NO_OLD_DATABASE_DBMS: string;
|
|
57
|
-
static readonly FMERROR_STR_BAD_LOGIN: string;
|
|
58
|
-
static readonly FMERROR_STR_ERR_EXEC_SQL: string;
|
|
59
|
-
static readonly FMERROR_STR_ERR_UPDATE_FAIL: string;
|
|
60
|
-
static readonly FMERROR_STR_ERR_INSERT_FAIL: string;
|
|
61
|
-
static readonly FMERROR_STR_ERR_DELETE_FAIL: string;
|
|
62
|
-
static readonly FMERROR_STR_PRINTER: string;
|
|
63
|
-
static readonly FMERROR_STR_FIL_NOT_EXIST: string;
|
|
64
|
-
static readonly FMERROR_STR_COMM_GWY_COMPTABILITY: string;
|
|
65
|
-
static readonly FMERROR_STR_CACHE_TOO_BIG: string;
|
|
66
|
-
static readonly FMERROR_STR_NO_ROWS_AFFECTED: string;
|
|
67
|
-
static readonly FMERROR_STR_TARGET_FILE_EXIST: string;
|
|
68
|
-
static readonly FMERROR_STR_FILE_IS_VIEW: string;
|
|
69
|
-
static readonly FMERROR_STR_DB_CANOT_COPY: string;
|
|
70
|
-
static readonly FMERROR_STR_HLP_NOT_EXIST: string;
|
|
71
|
-
static readonly FMERROR_STR_UNUSABLE_FILE: string;
|
|
72
|
-
static readonly FMERROR_STR_DB_BAD_QUERY: string;
|
|
73
|
-
static readonly FMERROR_STR_NO_HDLS: string;
|
|
74
|
-
static readonly FMERROR_STR_MAX_CONNS_REACHED: string;
|
|
75
|
-
static readonly FMERROR_STR_CONSTRAINT_FAIL: string;
|
|
76
|
-
static readonly FMERROR_STR_TRIGGER_FAIL: string;
|
|
77
|
-
static readonly FMERROR_STR_MODIFY_WITHIN_TRANS: string;
|
|
78
|
-
static readonly EXPTAB_TSK_MODE_RT: string;
|
|
79
|
-
static readonly EXPTAB_ERR_CALL_MAIN_PRG_1: string;
|
|
80
|
-
static readonly LOCATE_STR_ERR_EOF: string;
|
|
81
|
-
static readonly RT_STR_REC_NOTFOUND: string;
|
|
82
|
-
static readonly RT_STR_PRG_NOTFOUND: string;
|
|
83
|
-
static readonly RT_STR_NO_RECS_IN_RNG: string;
|
|
84
|
-
static readonly RT_STR_FLD_MUST_UPDATED: string;
|
|
85
|
-
static readonly RT_STR_TSK_NO_SCREEN: string;
|
|
86
|
-
static readonly RT_STR_CRSR_CANT_PARK: string;
|
|
87
|
-
static readonly RT_STR_MODE_NOTALLOWED: string;
|
|
88
|
-
static readonly RT_STR_NON_MODIFIABLE: string;
|
|
89
|
-
static readonly RT_STR_UPDATE_IN_QUERY: string;
|
|
90
|
-
static readonly RT_STR_LOAD_RES_FAIL: string;
|
|
91
|
-
static readonly RT_STR_NO_CREATE_ON_TREE: string;
|
|
92
|
-
static readonly TSKR_ERR_NOTEXIST_COMP: string;
|
|
93
|
-
static readonly TSK_ERR_BCSUBFORM_WRONG_EXP: string;
|
|
94
|
-
static readonly TSK_ERR_NESTED_BCSUBFORM: string;
|
|
95
|
-
static readonly TSK_ERR_CHANGE_CACHED_NESTED_BCSUBFORM: string;
|
|
96
|
-
static readonly TSK_ERR_SUBFORM_DSQL: string;
|
|
97
|
-
static readonly TSK_ERR_DSQL_SELECT_ONLY: string;
|
|
98
|
-
static readonly CSTIO_STR_ERR2: string;
|
|
99
|
-
static readonly CONFIRM_STR_DELETE: string;
|
|
100
|
-
static readonly CONFIRM_STR_CANCEL: string;
|
|
101
|
-
static readonly CONFIRM_STR_WINDOW_TITLE: string;
|
|
102
|
-
static readonly WARNING_STR_WINDOW_TITLE: string;
|
|
103
|
-
static readonly BRKTAB_STR_ERROR: string;
|
|
104
|
-
static readonly USRINP_STR_BADPASSW: string;
|
|
105
|
-
static readonly USRINP_STR_BADPASSW_WEBSERVER: string;
|
|
106
|
-
static readonly USRINP_STR_BADPASSW_PROXYSERVER: string;
|
|
107
|
-
static readonly CRF_STR_CONF_UPD: string;
|
|
108
|
-
static readonly MENU_STR_ERROR_ENABLE: string;
|
|
109
|
-
static readonly GUI_OK_BUTTON: string;
|
|
110
|
-
static readonly GUI_CANCEL_BUTTON: string;
|
|
111
|
-
static readonly BRKTAB_STOP_MODE_TITLE: string;
|
|
112
|
-
static readonly BRKTAB_STR_ERR_FORM: string;
|
|
113
|
-
static readonly BROWSER_OPT_INFO_SERVER_STR: string;
|
|
114
|
-
static readonly STR_ERR_PIC_J: string;
|
|
115
|
-
static readonly STR_ERR_PIC_S: string;
|
|
116
|
-
static readonly STR_ERR_PIC_T: string;
|
|
117
|
-
static readonly TASKRULE_STR_APPLICATION: string;
|
|
118
|
-
static readonly DITDEF_STR_ERR_WINDOW_TYPE: string;
|
|
119
|
-
static readonly DITDEF_STR_ERR_SUBFORM_PROG_PARALLEL: string;
|
|
120
|
-
static readonly DATEHEB_MONTH_STR: string;
|
|
121
|
-
static readonly DATEHEB_DOW_STR: string;
|
|
122
|
-
static readonly CHK_ERR_CALL_FROM_RICH_CLIENT: string;
|
|
123
|
-
static readonly RC_STR_F7_UNEXPECTED_ERR: string;
|
|
124
|
-
static readonly STR_ERR_MAX_VAR_SIZE: string;
|
|
125
|
-
static readonly STR_RC_RECENT_ACTIVITY_TOOLTIP_HDR: string;
|
|
126
|
-
static readonly STR_RC_RECENT_ACTIVITY_TIME_LBL: string;
|
|
127
|
-
static readonly STR_RC_RECENT_ACTIVITY_DATA_UNIT: string;
|
|
128
|
-
static readonly STR_RC_RECENT_ACTIVITY_TIME_UNIT: string;
|
|
129
|
-
static readonly STR_PAGE_LOADING_IN_PROGRESS: string;
|
|
130
|
-
static readonly STR_CANNOT_PARK: string;
|
|
131
|
-
static readonly STR_RESTART_SESSION: string;
|
|
132
|
-
static readonly STR_ERR_INACCESSIBLE_URL: string;
|
|
133
|
-
static readonly STR_ERR_SESSION_CLOSED: string;
|
|
134
|
-
static readonly STR_ERR_SESSION_CLOSED_INACTIVITY: string;
|
|
135
|
-
static readonly STR_MINUTES: string;
|
|
136
|
-
static readonly STR_HOURS: string;
|
|
137
|
-
static readonly STR_ERR_AUTHORIZATION_FAILURE: string;
|
|
138
|
-
static readonly STR_WARN_UNLOAD_TIMEOUT: string;
|
|
139
|
-
static readonly STR_WARN_PARALLEL_NOT_SUPPORTED: string;
|
|
140
|
-
static readonly DN_ERR_MDI_FRAME_ISNOT_OPENED: string;
|
|
141
|
-
static readonly ERR_CANNOT_HANDLE_WEB_REQUEST: string;
|
|
142
|
-
static readonly STR_MDI_FRAME_MISMATCH: string;
|
|
143
|
-
static readonly CHK_ERR_OFFLINE_NOT_SUPPORT_FRAME_INTERFACE: string;
|
|
144
|
-
static readonly STR_USER_ID: string;
|
|
145
|
-
static readonly STR_PASSWORD: string;
|
|
146
|
-
static readonly STR_LOGON_PARAMETERS: string;
|
|
147
|
-
static readonly STR_LOGON_CAPTION: string;
|
|
148
|
-
static readonly STR_LOGON_INSTRUCTION: string;
|
|
149
|
-
static readonly STR_GENERIC_ERROR_MESSAGE: string;
|
|
150
|
-
static readonly STR_GENERIC_ERROR_CONNECTION_PROBLEM_TITLE: string;
|
|
151
|
-
static readonly STR_GENERIC_ERROR_CONNECTION_PROBLEM_MESSAGE: string;
|
|
152
|
-
static readonly FMERROR_STR_TRANS_OPEN_FAILED: string;
|
|
153
|
-
static readonly STR_ERR_CANNOT_CALL_OFFLINE_BYNAME_OR_BYEXP: string;
|
|
154
|
-
static readonly RT_STR_DELETE_MODE_WITHOUT_MAINSOURCE_NOTALLOWED: string;
|
|
155
|
-
static readonly RC_ERROR_INCOMPATIBLE_DATASOURCES: string;
|
|
156
|
-
static readonly RC_ERROR_INVALID_SOURCES: string;
|
|
157
|
-
static readonly RC_ERROR_OFFLINE_NEXT_EXECUTION_INVALID_SOURCES: string;
|
|
158
|
-
static readonly RC_ERR_ANDROID_LOAD_FROM_URL: string;
|
|
159
|
-
static readonly STR_CLIENT_DB_DEL_OPERATION_FAILED: string;
|
|
160
|
-
static readonly STR_DATAVIEW_TO_DATASOURCE_OPERATION_FAILED: string;
|
|
161
|
-
static readonly STR_CLIENT_DB_DISCONNECT_DATASOURCE_OPEN: string;
|
|
162
|
-
static readonly STR_CLIENT_DB_DISCONNECT_DATASOURCE_NOT_EXIST: string;
|
|
163
|
-
static readonly FMERROR_STR_INVALID_PASSWORD: string;
|
|
164
|
-
static readonly STR_MOBILE_TAB_CONTROL_CANNOT_BE_USED: string;
|
|
165
|
-
static readonly STR_MOBILE_CONTROLS_CANNOT_BE_OUTSIDE_TAB: string;
|
|
166
|
-
static readonly STR_MOBILE_TAB_CONTROL_LAYER_0: string;
|
|
167
|
-
static readonly STR_MOBILE_TAB_DISPLAY_LIST_ERROR: string;
|
|
168
|
-
static readonly RC_ERROR_ARG_TYPE_STRING_NUMBER_MISMATCH: string;
|
|
169
|
-
static readonly RC_ERROR_ILLEGAL_ARG_ATTR_TYPE: string;
|
|
170
|
-
static readonly RC_ERROR_ILLEGAL_RETURN_VAL_ATTR_TYPE: string;
|
|
171
|
-
static readonly STR_ERR_WEBCLIENT_PROGRAM_RELOADED: string;
|
|
172
|
-
static readonly STR_ERR_EXECUTED_PROGRAM_CHANGED: string;
|
|
173
|
-
static readonly STR_ERR_MAX_ALLOWED_LENGTH: string;
|
|
174
|
-
static readonly STR_ERR_MAX_ALLOWED_VALUE: string;
|
|
175
|
-
static readonly STR_ERR_BLANK_SUBFORM_NAME: string;
|
|
176
|
-
static readonly STR_ERR_SUBFORM_NAME_EXCEEDS_LIMIT: string;
|
|
177
|
-
static readonly STR_ERR_INVALID_HASH_ALGO_NUMBER: string;
|
|
178
|
-
static readonly DefaultMessages: DefaultMsgDetails[];
|
|
179
|
-
constructor();
|
|
180
|
-
}
|
package/src/PICInterface.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export declare class PICInterface {
|
|
2
|
-
static readonly PIC_X: number;
|
|
3
|
-
static readonly PIC_U: number;
|
|
4
|
-
static readonly PIC_L: number;
|
|
5
|
-
static readonly PIC_N: number;
|
|
6
|
-
static readonly PIC_YY: number;
|
|
7
|
-
static readonly PIC_YYYY: number;
|
|
8
|
-
static readonly PIC_MMD: number;
|
|
9
|
-
static readonly PIC_MMM: number;
|
|
10
|
-
static readonly PIC_DD: number;
|
|
11
|
-
static readonly PIC_DDD: number;
|
|
12
|
-
static readonly PIC_DDDD: number;
|
|
13
|
-
static readonly PIC_W: number;
|
|
14
|
-
static readonly PIC_WWW: number;
|
|
15
|
-
static readonly PIC_HH: number;
|
|
16
|
-
static readonly PIC_MMT: number;
|
|
17
|
-
static readonly PIC_SS: number;
|
|
18
|
-
static readonly PIC_PM: number;
|
|
19
|
-
static readonly PIC_HYYYYY: number;
|
|
20
|
-
static readonly PIC_HL: number;
|
|
21
|
-
static readonly PIC_HDD: number;
|
|
22
|
-
static readonly PIC_MS: number;
|
|
23
|
-
static readonly PIC_LOCAL: number;
|
|
24
|
-
static readonly PIC_MAX_MSK_LEN: number;
|
|
25
|
-
static readonly PIC_JY1: number;
|
|
26
|
-
static readonly PIC_JY2: number;
|
|
27
|
-
static readonly PIC_JY4: number;
|
|
28
|
-
static readonly PIC_YJ: number;
|
|
29
|
-
static readonly PIC_BB: number;
|
|
30
|
-
static readonly PIC_J: number;
|
|
31
|
-
static readonly PIC_T: number;
|
|
32
|
-
static readonly PIC_G: number;
|
|
33
|
-
static readonly PIC_S: number;
|
|
34
|
-
static readonly PIC_MAX_OP: number;
|
|
35
|
-
static readonly NULL_CHAR: number;
|
|
36
|
-
static readonly DB_STR_MAX: number;
|
|
37
|
-
static readonly DAYSINFOURCENT: number;
|
|
38
|
-
static readonly DAYSINCENTURY: number;
|
|
39
|
-
static readonly DAYSINFOURYEAR: number;
|
|
40
|
-
static readonly DAYSINYEAR: number;
|
|
41
|
-
static readonly DAYSINMONTH: number;
|
|
42
|
-
static readonly DATE_BUDDHIST_GAP: number;
|
|
43
|
-
static readonly DEFAULT_DATE: string;
|
|
44
|
-
static readonly DEFAULT_TIME: string;
|
|
45
|
-
static readonly date_day_tab: number[];
|
|
46
|
-
static readonly date_month_str: string[];
|
|
47
|
-
static readonly date_dow_str: string[];
|
|
48
|
-
static readonly NumDirective: number[];
|
|
49
|
-
constructor();
|
|
50
|
-
}
|
package/src/PlatformUtils.d.ts
DELETED
package/src/Queue.d.ts
DELETED
package/src/Randomizer.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class Randomizer {
|
|
2
|
-
private static _initialized;
|
|
3
|
-
private static _mod;
|
|
4
|
-
private static _mul;
|
|
5
|
-
private static _seed;
|
|
6
|
-
static get_initialized(): boolean;
|
|
7
|
-
static get_mod(): number;
|
|
8
|
-
static get_mul(): number;
|
|
9
|
-
static get_seed(): number;
|
|
10
|
-
static set_initialized(): void;
|
|
11
|
-
static set_mod(randMod: number): number;
|
|
12
|
-
static set_mul(randMul: number): number;
|
|
13
|
-
static set_seed(randSeed: number): number;
|
|
14
|
-
}
|
package/src/RequestInfo.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { List } from "@magic-xpa/mscorelib";
|
|
2
|
-
export declare class RequestInfo {
|
|
3
|
-
serverCallAt: string;
|
|
4
|
-
runtimeTaskTree: List<string>;
|
|
5
|
-
roundtripTime: number;
|
|
6
|
-
extraInfo: {
|
|
7
|
-
contentLength: number;
|
|
8
|
-
contextID: string;
|
|
9
|
-
sessionCounter: number;
|
|
10
|
-
timeStamp: string;
|
|
11
|
-
};
|
|
12
|
-
recordSuffixTriggeredBy: string;
|
|
13
|
-
static clone(requestInfo: RequestInfo): RequestInfo;
|
|
14
|
-
clear(): void;
|
|
15
|
-
}
|
package/src/Rtf.d.ts
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { StringBuilder } from "@magic-xpa/mscorelib";
|
|
2
|
-
export declare class Rtf_SYMBOL {
|
|
3
|
-
szKeyword: string;
|
|
4
|
-
kwd: Rtf_KWD;
|
|
5
|
-
idxInRgprop: any;
|
|
6
|
-
constructor(keyWord: string, kwd: Rtf_KWD, idxInRgprop: any);
|
|
7
|
-
}
|
|
8
|
-
export declare class Rtf_PROP {
|
|
9
|
-
actn: Rtf_ACTN;
|
|
10
|
-
prop: Rtf_PROPTYPE;
|
|
11
|
-
constructor(actn: Rtf_ACTN, prop: Rtf_PROPTYPE);
|
|
12
|
-
}
|
|
13
|
-
export declare enum Rtf_KWD {
|
|
14
|
-
CHAR = 0,
|
|
15
|
-
DEST = 1,
|
|
16
|
-
PROP = 2,
|
|
17
|
-
SPEC = 3
|
|
18
|
-
}
|
|
19
|
-
export declare enum Rtf_PROPTYPE {
|
|
20
|
-
CHP = 0,
|
|
21
|
-
PAP = 1,
|
|
22
|
-
SEP = 2,
|
|
23
|
-
DOP = 3
|
|
24
|
-
}
|
|
25
|
-
export declare enum Rtf_ACTN {
|
|
26
|
-
SPEC = 0,
|
|
27
|
-
BYTE = 1,
|
|
28
|
-
WORD = 2
|
|
29
|
-
}
|
|
30
|
-
export declare enum Rtf_IPFN {
|
|
31
|
-
BIN = 0,
|
|
32
|
-
HEX = 1,
|
|
33
|
-
SKIP_DEST = 2,
|
|
34
|
-
BREAK = 3,
|
|
35
|
-
NEW = 4,
|
|
36
|
-
FONT = 5,
|
|
37
|
-
CHARSET = 6,
|
|
38
|
-
UNICODE = 7
|
|
39
|
-
}
|
|
40
|
-
export declare enum Rtf_IDEST {
|
|
41
|
-
PICT = 0,
|
|
42
|
-
COLOR = 1,
|
|
43
|
-
SKIP = 2
|
|
44
|
-
}
|
|
45
|
-
export declare enum Rtf_IPROP {
|
|
46
|
-
BOLD = 0,
|
|
47
|
-
ITALIC = 1,
|
|
48
|
-
UNDERLINE = 2,
|
|
49
|
-
FONT = 3,
|
|
50
|
-
SIZE = 4,
|
|
51
|
-
COLOR = 5,
|
|
52
|
-
RED = 6,
|
|
53
|
-
GREEN = 7,
|
|
54
|
-
BLUE = 8,
|
|
55
|
-
LEFT_IND = 9,
|
|
56
|
-
RIGHT_IND = 10,
|
|
57
|
-
FIRST_IND = 11,
|
|
58
|
-
COLS = 12,
|
|
59
|
-
PGN_X = 13,
|
|
60
|
-
PGN_Y = 14,
|
|
61
|
-
XA_PAGE = 15,
|
|
62
|
-
YA_PAGE = 16,
|
|
63
|
-
XA_LEFT = 17,
|
|
64
|
-
XA_RIGHT = 18,
|
|
65
|
-
YA_TOP = 19,
|
|
66
|
-
YA_BOTTOM = 20,
|
|
67
|
-
PGN_START = 21,
|
|
68
|
-
SBK = 22,
|
|
69
|
-
PGN_FORMAT = 23,
|
|
70
|
-
FACING_P = 24,
|
|
71
|
-
LANDSCAPE = 25,
|
|
72
|
-
JUST = 26,
|
|
73
|
-
PARD = 27,
|
|
74
|
-
PLAIN = 28,
|
|
75
|
-
SECTD = 29,
|
|
76
|
-
BULLET = 30,
|
|
77
|
-
XA_BULLET = 31,
|
|
78
|
-
MAX = 32
|
|
79
|
-
}
|
|
80
|
-
export declare enum Rtf_RDS {
|
|
81
|
-
NORM = 0,
|
|
82
|
-
COLOR = 1,
|
|
83
|
-
SKIP = 2,
|
|
84
|
-
NEW = 3
|
|
85
|
-
}
|
|
86
|
-
export declare enum Rtf_ErrorRtf {
|
|
87
|
-
OK = 0,
|
|
88
|
-
STACK_UNDERFLOW = 1,
|
|
89
|
-
STACK_OVERFLOW = 2,
|
|
90
|
-
UNMATCHED_BRACE = 3,
|
|
91
|
-
INVALID_HEX = 4,
|
|
92
|
-
BAD_TABLE = 5,
|
|
93
|
-
ASSERTION = 6,
|
|
94
|
-
END_OF_FILE = 7,
|
|
95
|
-
BUFFER_TOO_SMALL = 8
|
|
96
|
-
}
|
|
97
|
-
export declare class Rtf_RtfChar {
|
|
98
|
-
static readonly CR: string;
|
|
99
|
-
static readonly LF: string;
|
|
100
|
-
static readonly TAB: string;
|
|
101
|
-
static readonly BULLET: string;
|
|
102
|
-
static readonly TILDA: string;
|
|
103
|
-
static readonly DASH: string;
|
|
104
|
-
static readonly DASH_CHAR = "-";
|
|
105
|
-
static readonly QUOTE = "'";
|
|
106
|
-
static readonly DBLQUOTE = "\"";
|
|
107
|
-
static readonly OPENINGBRACE = "{";
|
|
108
|
-
static readonly CLOSINGBRACE = "}";
|
|
109
|
-
static readonly BACKSLASH = "\\";
|
|
110
|
-
}
|
|
111
|
-
export declare enum Rtf_RIS {
|
|
112
|
-
NORM = 0,
|
|
113
|
-
BIN = 1,
|
|
114
|
-
HEX = 2,
|
|
115
|
-
UNICODE = 3
|
|
116
|
-
}
|
|
117
|
-
export declare class Rtf {
|
|
118
|
-
private _group;
|
|
119
|
-
private _cbBin;
|
|
120
|
-
private _lParam;
|
|
121
|
-
private _skipDestIfUnk;
|
|
122
|
-
private _outputOnce;
|
|
123
|
-
private _processCrlfSpecial;
|
|
124
|
-
private _destState;
|
|
125
|
-
private _internalState;
|
|
126
|
-
private _stack;
|
|
127
|
-
private _index;
|
|
128
|
-
private _fontNum;
|
|
129
|
-
private readonly _charsetTable;
|
|
130
|
-
private readonly _codePageTable;
|
|
131
|
-
private static readonly RTF_PREFIX;
|
|
132
|
-
private static readonly CHAR_PAR;
|
|
133
|
-
private static readonly rgprop;
|
|
134
|
-
private static readonly rgsymRtf;
|
|
135
|
-
constructor();
|
|
136
|
-
static isRtf(str: string): boolean;
|
|
137
|
-
toTxt(rtfTxt: string, outputTxt: StringBuilder): Rtf_ErrorRtf;
|
|
138
|
-
private ParseChar;
|
|
139
|
-
private PrintChar;
|
|
140
|
-
private PushState;
|
|
141
|
-
private PopState;
|
|
142
|
-
private ParseKeyword;
|
|
143
|
-
private TranslateKeyword;
|
|
144
|
-
private validateProp;
|
|
145
|
-
private changeDestState;
|
|
146
|
-
private ParseSpecialKeyword;
|
|
147
|
-
private static is1stByte;
|
|
148
|
-
private static is2ndByte;
|
|
149
|
-
private setCodePageTable;
|
|
150
|
-
private getCodePage;
|
|
151
|
-
private getCharset;
|
|
152
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { StorageAttribute } from "./enums";
|
|
2
|
-
export declare class StorageAttributeCheck {
|
|
3
|
-
static isTheSameType(type1: StorageAttribute, type2: StorageAttribute): boolean;
|
|
4
|
-
static isTypeBlob(type: StorageAttribute): boolean;
|
|
5
|
-
static isTypeAlpha(type: StorageAttribute): boolean;
|
|
6
|
-
static isTypeNumeric(type: StorageAttribute): boolean;
|
|
7
|
-
static isTypeLogical(type: StorageAttribute): boolean;
|
|
8
|
-
static isTypeDotNet(type: StorageAttribute): boolean;
|
|
9
|
-
static IsTypeAlphaOrUnicode(type: StorageAttribute): boolean;
|
|
10
|
-
static StorageFldAlphaOrUnicode(type1: StorageAttribute, type2: StorageAttribute): boolean;
|
|
11
|
-
static StorageFldAlphaUnicodeOrBlob(type1: StorageAttribute, type2: StorageAttribute): boolean;
|
|
12
|
-
static IsTypeCompatibile(sourceAttribute: StorageAttribute, destinationAttribute: StorageAttribute): boolean;
|
|
13
|
-
constructor();
|
|
14
|
-
}
|
package/src/StrUtil.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { List, StringBuilder } from "@magic-xpa/mscorelib";
|
|
2
|
-
export declare const SEQ_2_HTML: number;
|
|
3
|
-
export declare const HTML_2_STR: number;
|
|
4
|
-
export declare const SEQ_2_STR: number;
|
|
5
|
-
export declare class StrUtil {
|
|
6
|
-
private static _paddingSpaces;
|
|
7
|
-
static mem_trim(str: string, len: number): number;
|
|
8
|
-
static memmove(dest: string, destCount: number, src: string, srcCount: number, len: number): string;
|
|
9
|
-
static memcpy(dest: string, destCount: number, src: string, scrCount: number, count: number): string;
|
|
10
|
-
static memcpy(dest: string[], destCount: number, src: string[], srcCount: number, count: number): void;
|
|
11
|
-
private static memcpy_0;
|
|
12
|
-
private static memcpy_1;
|
|
13
|
-
static memset(dest: string, destCount: number, inVal: string, counter: number): string;
|
|
14
|
-
static memset(dest: string[], destCount: number, inVal: string, counter: number): void;
|
|
15
|
-
private static memset_0;
|
|
16
|
-
private static memset_1;
|
|
17
|
-
static strstr(str: string, substr: string): string;
|
|
18
|
-
/*******************************/
|
|
19
|
-
static ReverseString(text: StringBuilder): StringBuilder;
|
|
20
|
-
static rtrim(str: string): string;
|
|
21
|
-
static rtrimWithNull(str: string, trimNullChars: boolean): string;
|
|
22
|
-
static ltrim(str: string): string;
|
|
23
|
-
static DeleteStringsFromEnds(str: string, strToDelete: string): string;
|
|
24
|
-
static padStr(str: string, len: number): string;
|
|
25
|
-
static tokenize(source: string, delim: string | RegExp): string[];
|
|
26
|
-
static stringToHexaDump(str: string, minLength: number): string;
|
|
27
|
-
static searchAndReplace(str: string, from: string, to: string): string;
|
|
28
|
-
static searchAndReplace(str: string, from: string[], to: string[]): string;
|
|
29
|
-
private static searchAndReplace_0;
|
|
30
|
-
private static searchAndReplace_1;
|
|
31
|
-
private static indexOf;
|
|
32
|
-
static replaceStringTokens(userString: string, token: string, occurrence: number, val: string): string;
|
|
33
|
-
static makePrintableTokens(source: string, type: string): string;
|
|
34
|
-
static makePrintableTokens(source: string, type: number): string;
|
|
35
|
-
static makePrintableTokens(source: List<string>, type: number): string;
|
|
36
|
-
static makePrintableTokens_0(source: string, type: number): string;
|
|
37
|
-
private static makePrintableTokens_1;
|
|
38
|
-
static makePrintable(source: string): string;
|
|
39
|
-
static makePrintable2(source: string): string;
|
|
40
|
-
static ZstringMake(s: string, len: number): string;
|
|
41
|
-
static GetPlainTextfromRtf(rtfText: string): string;
|
|
42
|
-
static StringsArraysEqual(str1: string[], str2: string[]): boolean;
|
|
43
|
-
static SearchAndReplaceWildChars(buf: string, len: number, filler: string): string;
|
|
44
|
-
static getConsoleErorString(source: string): string;
|
|
45
|
-
static getMsgBoxErorString(source: string): string;
|
|
46
|
-
}
|
package/src/UtilDateJpn.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare class UtilDateJpn {
|
|
2
|
-
private static _instance;
|
|
3
|
-
private static JweekStr;
|
|
4
|
-
private static JmonthStr;
|
|
5
|
-
private static GengoStr;
|
|
6
|
-
private static StartDayOfGengo;
|
|
7
|
-
private MaxGengo;
|
|
8
|
-
static getInstance(): UtilDateJpn;
|
|
9
|
-
static getArrayDow(): string[];
|
|
10
|
-
static getStrDow(intIdx: number): string;
|
|
11
|
-
static convertStrMonth(month: number): string;
|
|
12
|
-
date_jpn_year_ofs(intYear: number, intDoy: number): number;
|
|
13
|
-
date_jpn_yr_2_a(intYear: number, intDoy: number, isKanji: boolean): string;
|
|
14
|
-
private date_jpn_yr_4_a;
|
|
15
|
-
private static getEraNameStrInDate;
|
|
16
|
-
private static getEraNameLenInPicture;
|
|
17
|
-
getStartYearOfEra(strDate: string, strPicture: string): number;
|
|
18
|
-
addExtraGengo(strExtraGengo: string): void;
|
|
19
|
-
}
|
package/src/UtilImeJpn.d.ts
DELETED
package/src/UtilStrByteMode.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Encoding } from "@magic-xpa/mscorelib";
|
|
2
|
-
export declare class UtilStrByteMode {
|
|
3
|
-
static Encoding: Encoding;
|
|
4
|
-
static strNavigatorLang: string;
|
|
5
|
-
private static _bLocaleDefLangJPN;
|
|
6
|
-
private static _bLocaleDefLangCHN;
|
|
7
|
-
private static _bLocaleDefLangKOR;
|
|
8
|
-
static isLocaleDefLangDBCS(): boolean;
|
|
9
|
-
static isLocaleDefLangJPN(): boolean;
|
|
10
|
-
static isLocaleDefLangKOR(): boolean;
|
|
11
|
-
static isKoreanCharacter(c: number): boolean;
|
|
12
|
-
static lenB(strVal: string): number;
|
|
13
|
-
static midB(strVal: string, ofs: number, len: number): string;
|
|
14
|
-
static leftB(strVal: string, len: number): string;
|
|
15
|
-
static rightB(strVal: string, len: number): string;
|
|
16
|
-
static insB(strTarget: string, strSource: string, ofs: number, len: number): string;
|
|
17
|
-
static delB(strVal: string, ofs: number, len: number): string;
|
|
18
|
-
static instrB(strTarget: string, strSearch: string): number;
|
|
19
|
-
static repB(strTarget: string, strOrigin: string, ofs: number, len: number): string;
|
|
20
|
-
static repC(strTarget: string, strOrigin: string, ofs: number, len: number): string;
|
|
21
|
-
static isHalfWidth(str: string): boolean;
|
|
22
|
-
static isDigit(letter: string): boolean;
|
|
23
|
-
static asNumeric(letter: string): boolean;
|
|
24
|
-
static convPos(strSource: string, strDest: string, pos: number, isAdvance: boolean): number;
|
|
25
|
-
static getMinLenPicture(str: string, picture: string): number;
|
|
26
|
-
static strcmp(str1: string, str2: string): number;
|
|
27
|
-
}
|