@magic-xpa/utils 4.800.0 → 4.801.0-dev000.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/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/{esm2015/magic-xpa-utils.js → esm2020/magic-xpa-utils.mjs} +0 -0
- package/{esm2015/src/Base64.js → esm2020/src/Base64.mjs} +0 -0
- package/{esm2015/src/ChoiceUtils.js → esm2020/src/ChoiceUtils.mjs} +0 -0
- package/{esm2015/src/Constants.js → esm2020/src/Constants.mjs} +0 -0
- package/{esm2015/src/DateTimeUtils.js → esm2020/src/DateTimeUtils.mjs} +0 -0
- package/{esm2015/src/DateUtil.js → esm2020/src/DateUtil.mjs} +0 -0
- package/{esm2015/src/InternalInterface.js → esm2020/src/InternalInterface.mjs} +0 -0
- package/{esm2015/src/JSON_Utils.js → esm2020/src/JSON_Utils.mjs} +0 -0
- package/esm2020/src/Logger.mjs +216 -0
- package/{esm2015/src/MagicConstants.js → esm2020/src/MagicConstants.mjs} +0 -0
- package/{esm2015/src/Misc.js → esm2020/src/Misc.mjs} +0 -0
- package/{esm2015/src/MsgInterface.js → esm2020/src/MsgInterface.mjs} +0 -0
- package/{esm2015/src/PICInterface.js → esm2020/src/PICInterface.mjs} +0 -0
- package/{esm2015/src/PlatformUtils.js → esm2020/src/PlatformUtils.mjs} +0 -0
- package/{esm2015/src/Queue.js → esm2020/src/Queue.mjs} +0 -0
- package/{esm2015/src/Randomizer.js → esm2020/src/Randomizer.mjs} +0 -0
- package/{esm2015/src/RequestInfo.js → esm2020/src/RequestInfo.mjs} +0 -0
- package/{esm2015/src/Rtf.js → esm2020/src/Rtf.mjs} +0 -0
- package/{esm2015/src/StorageAttribute.js → esm2020/src/StorageAttribute.mjs} +0 -0
- package/esm2020/src/StrUtil.mjs +456 -0
- package/esm2020/src/SyncExecutionHelper.mjs +26 -0
- package/{esm2015/src/UtilDateJpn.js → esm2020/src/UtilDateJpn.mjs} +0 -0
- package/{esm2015/src/UtilImeJpn.js → esm2020/src/UtilImeJpn.mjs} +0 -0
- package/{esm2015/src/UtilStrByteMode.js → esm2020/src/UtilStrByteMode.mjs} +0 -0
- package/{esm2015/src/XMLConstants.js → esm2020/src/XMLConstants.mjs} +0 -0
- package/{esm2015/src/Xml/XmlParser.js → esm2020/src/Xml/XmlParser.mjs} +0 -0
- package/{esm2015/src/enums.js → esm2020/src/enums.mjs} +0 -0
- package/fesm2015/{magic-xpa-utils.js → magic-xpa-utils.mjs} +5 -6
- package/fesm2015/magic-xpa-utils.mjs.map +1 -0
- package/fesm2020/magic-xpa-utils.mjs +5381 -0
- package/fesm2020/magic-xpa-utils.mjs.map +1 -0
- package/package.json +25 -12
- package/src/Logger.d.ts +2 -2
- package/bundles/magic-xpa-utils.umd.js +0 -5271
- package/bundles/magic-xpa-utils.umd.js.map +0 -1
- package/bundles/magic-xpa-utils.umd.min.js +0 -2
- package/bundles/magic-xpa-utils.umd.min.js.map +0 -1
- package/esm2015/src/Logger.js +0 -217
- package/esm2015/src/StrUtil.js +0 -457
- package/esm2015/src/SyncExecutionHelper.js +0 -26
- package/fesm2015/magic-xpa-utils.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { StringBuilder, Encoding, Hashtable, Stack, NChar, NNumber, NString, RefParam, DateTime, ISO_8859_1_Encoding, ApplicationException, Int32, Exception, List, Thread, Debug } from '@magic-xpa/mscorelib';
|
|
2
|
-
import { isNullOrUndefined } from 'util';
|
|
1
|
+
import { StringBuilder, Encoding, Hashtable, Stack, NChar, NNumber, NString, RefParam, isNullOrUndefined, DateTime, ISO_8859_1_Encoding, ApplicationException, Int32, Exception, List, Thread, Debug } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { parseString } from 'xml2js';
|
|
4
3
|
|
|
5
4
|
class UtilStrByteMode {
|
|
@@ -4279,7 +4278,7 @@ class Logger {
|
|
|
4279
4278
|
}
|
|
4280
4279
|
return Logger.instance;
|
|
4281
4280
|
}
|
|
4282
|
-
Initialize(logLevel,
|
|
4281
|
+
Initialize(logLevel, shouldBeep) {
|
|
4283
4282
|
try {
|
|
4284
4283
|
this.LogLevel = logLevel;
|
|
4285
4284
|
this.ShouldBeep = shouldBeep;
|
|
@@ -4381,7 +4380,7 @@ class Logger {
|
|
|
4381
4380
|
console.log(extraMessageStr, RequestInfo.clone(requestInfo));
|
|
4382
4381
|
}
|
|
4383
4382
|
}
|
|
4384
|
-
WriteBasicErrorToLog(
|
|
4383
|
+
WriteBasicErrorToLog() {
|
|
4385
4384
|
Debug.Assert(this.LogLevel === Logger_LogLevels.Basic);
|
|
4386
4385
|
}
|
|
4387
4386
|
WriteErrorToLog(msg) {
|
|
@@ -4827,7 +4826,7 @@ class SyncExecutionHelper {
|
|
|
4827
4826
|
}
|
|
4828
4827
|
Wait() {
|
|
4829
4828
|
Logger.Instance.WriteDevToLog("SyncExecutionHelper.Wait()");
|
|
4830
|
-
return new Promise((resolve
|
|
4829
|
+
return new Promise((resolve) => {
|
|
4831
4830
|
this.resolver = resolve;
|
|
4832
4831
|
}).then();
|
|
4833
4832
|
}
|
|
@@ -5379,4 +5378,4 @@ class XmlParser {
|
|
|
5379
5378
|
XmlParser.endOfNameChar = [' ', '>'];
|
|
5380
5379
|
|
|
5381
5380
|
export { APGDisplayMode, APGFormSize, APGInvokedFrom, APGMode, APGOption, APGType, Access, AlignmentTypeHori, AlignmentTypeVert, AllowedDirectionType, Area, AutoFit, Axis, Base64, BindingLevel, BlobContent, BlockTypes, BorderType, BottomPositionInterval, BoxDir, BrkLevel, BrkScope, BrkType, CacheStrategy, CallComOption, CallOperationMode, CallOsShow, CallUDPType, CallUdpConvention, CallWsStyle, CallbackType, CharacterSet, CheckExist, CheckboxMainStyle, ChoiceControlStyle, ChoiceUtils, ColumnUpdateStyle, CompTypes, ComponentItemType, Constants, ControlStyle, CtrlButtonType, CtrlButtonTypeGui, CtrlHotspotType, CtrlImageStyle, CtrlLineDirection, CtrlLineType, CtrlOleDisplayType, CtrlOleStoreType, CtrlTextType, DBHCache, DBHRowIdentifier, DataTranslation, DataViewHeaderType, DataViewOperationType, DataViewOutputType, DatabaseDataType, DatabaseDefinitionType, DatabaseFilters, DatabaseOperations, DataviewType, DateTimeUtils, DateUtil, DbDelUpdMode, DbOpen, DbShare, DbhKeyDirection, DbhKeyIndexType, DbhKeyMode, DbhKeyRangeMode, DbhSegmentDirection, DefaultMsgDetails, DisplayTextType, DitAttribute, DitType, DriverDB, DspInterface, EndMode, EngineDirect, EnterAnimation, ErrStrategy, ErrorClassific, ExeState, ExecOn, ExitAnimation, ExportType, FieldComAlloc, FieldComType, FieldViewModelType, FldStorage, FldStyle, FlowDirection, FlwMode, ForceExit, FormDelimiter, FormExpandType, FormOperationType, FormPage, FrameLayoutTypes, GradientStyle, HTML_2_STR, HelpCommand, HelpType, HtmlAlignmentType, HttpStatusCode, ImageEffects, InitialMode, InternalInterface, ItemMasks, JSON_Utils, KeyMode, KeyboardReturnKeys, KeyboardTypes, LDir, LineDirection, LineManipulationType, ListboxSelectionMode, LnkEval_Cond, LnkMode, LoadedValues, LockingStrategy, LogType, Logger, Logger_LogLevels, Logger_MessageDirection, LogicHeaderAction, LogicHeaderType, LogicLevel, LogicOperationType, LogicUnit, MagicProperties, MediaAccess, MediaFormat, MediaOrientation, MediaType, MgControlType, MgModelType, Misc, ModelAttGuiFrame, ModelAttMerge, ModelAttRichClientFrameSet, ModelAttrBrowser, ModelAttrField, ModelAttrFramesetForm, ModelAttrGui0, ModelAttrGui1, ModelAttrHelp, ModelAttrRichClient, ModelAttrText, ModelClass, MsgInterface, NotifyCollectionChangedAction, NullArithmetic, OSEnvironment, OSType, OpenEditDialog, Opr, Order, OrientationLock, PICInterface, PaperSize, PaperSizePdfDisabled, PaperSizePdfEnabled, PositionUsage, PrgExecPlace, Priority, Queue, RaiseAt, Randomizer, RangeMode, RbAppearance, Recursion, RemarkType, RequestInfo, Resident, RowType, Rtf, Rtf_ACTN, Rtf_ErrorRtf, Rtf_IDEST, Rtf_IPFN, Rtf_IPROP, Rtf_KWD, Rtf_PROP, Rtf_PROPTYPE, Rtf_RDS, Rtf_RIS, Rtf_RtfChar, Rtf_SYMBOL, SEQ_2_HTML, SEQ_2_STR, ScrollBarThumbType, SelprgMode, SideType, SliderType, SourceContextType, SplitPrimaryDisplay, SplitWindowType, StartupMode, Storage, StorageAttribute, StorageAttributeCheck, StorageAttributeType, StrUtil, SubformType, SyncExecutionHelper, TabControlTabsWidth, TabbingCycleType, TabbingOrderType, TableBehaviour, TableType, TaskFlow, TransBegin, TransMode, TriggerType, TrueFalseValues, UndoRedoAction, UniqueTskSort, UpdateMode, UseSQLCursor, UtilDateJpn, UtilImeJpn, UtilStrByteMode, ValType, VeeDiffUpdate, VeeMode, VeePartOfDataview, VerifyButtons, VerifyDisplay, VerifyImage, VerifyMode, ViewRefreshMode, ViewSelectType, WinCptn, WinHtmlType, WinUom, WindowPosition, WindowType, XMLConstants, XmlParser, YesNoValues };
|
|
5382
|
-
//# sourceMappingURL=magic-xpa-utils.
|
|
5381
|
+
//# sourceMappingURL=magic-xpa-utils.mjs.map
|