@magic-xpa/utils 4.1300.0-dev4130.143 → 4.1300.0-dev4130.149

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic-xpa/utils",
3
- "version": "4.1300.0-dev4130.143",
3
+ "version": "4.1300.0-dev4130.149",
4
4
  "description": "magic utils package",
5
5
  "license": "SEE LICENSE IN EULA.pdf",
6
6
  "dependencies": {
@@ -10,7 +10,7 @@
10
10
  "tslib": "^2.3.0"
11
11
  },
12
12
  "peerDependencies": {
13
- "@magic-xpa/mscorelib": "4.1300.0-dev4130.143"
13
+ "@magic-xpa/mscorelib": "4.1300.0-dev4130.149"
14
14
  },
15
15
  "module": "fesm2022/magic-xpa-utils.mjs",
16
16
  "typings": "types/magic-xpa-utils.d.ts",
@@ -1,5 +1,4 @@
1
1
  import { Encoding, StringBuilder, DateTime, List, Exception, StackTrace } from '@magic-xpa/mscorelib';
2
- import { Observable } from 'rxjs';
3
2
 
4
3
  declare class Base64 {
5
4
  private static _base64EncMap;
@@ -1974,6 +1973,7 @@ declare class InternalInterface {
1974
1973
  static readonly MG_ACT_CONTEXT_TIMEOUT_RESET: number;
1975
1974
  static readonly MG_ACT_CONTEXT_REMOVE: number;
1976
1975
  static readonly MG_ACT_DUMP_ENVIRONMENT: number;
1976
+ static readonly MG_ACT_PUBSUB_TOPIC_PUBLISHED: number;
1977
1977
  static readonly MG_ACT_TOT_CNT: number;
1978
1978
  static readonly MG_ACT_TASK_PREFIX: number;
1979
1979
  static readonly MG_ACT_TASK_SUFFIX: number;
@@ -2575,84 +2575,6 @@ declare class StrUtil {
2575
2575
  static getMsgBoxErorString(source: string): string;
2576
2576
  }
2577
2577
 
2578
- declare class SubscriberClient {
2579
- private static instance;
2580
- private socket;
2581
- private subscribedTopics;
2582
- private messageSubject;
2583
- private subscriptionsDataSubject;
2584
- private constructor();
2585
- /**
2586
- * Get the singleton instance of SubscriberClient
2587
- */
2588
- static getInstance(serverURI: string): SubscriberClient;
2589
- /**
2590
- * Subscribe to a specific topic
2591
- * @param topic The topic to subscribe to
2592
- */
2593
- subscribe(topic: string): void;
2594
- /**
2595
- * Subscribe to multiple topics at once
2596
- * @param topics Array of topics to subscribe to
2597
- */
2598
- subscribeToTopics(topics: string[]): void;
2599
- /**
2600
- * Unsubscribe from a specific topic
2601
- * @param topic The topic to unsubscribe from
2602
- */
2603
- unsubscribe(topic: string): void;
2604
- /**
2605
- * Unsubscribe from multiple topics at once
2606
- * @param topics Array of topics to unsubscribe from
2607
- */
2608
- unsubscribeFromTopics(topics: string[]): void;
2609
- /**
2610
- * Unsubscribe from all topics
2611
- */
2612
- unsubscribeFromAll(): void;
2613
- /**
2614
- * Check if subscribed to a specific topic
2615
- * @param topic The topic to check
2616
- * @returns true if subscribed, false otherwise
2617
- */
2618
- isSubscribed(topic: string): boolean;
2619
- /**
2620
- * Get all currently subscribed topics
2621
- * @returns Array of subscribed topics
2622
- */
2623
- getSubscribedTopics(): string[];
2624
- /**
2625
- * Get an Observable for incoming messages from all subscribed topics
2626
- * @returns Observable that emits message data
2627
- */
2628
- onMessage(): Observable<{
2629
- topic: string;
2630
- message: any;
2631
- }>;
2632
- /**
2633
- * Get an Observable for incoming messages from a specific topic
2634
- * @param topic The topic to filter messages for
2635
- * @returns Observable that emits message data for the specified topic
2636
- */
2637
- onMessageForTopic(topic: string): Observable<{
2638
- topic: string;
2639
- message: any;
2640
- }>;
2641
- /**
2642
- * Get current subscriptions (for debugging)
2643
- */
2644
- getSubscriptions(): void;
2645
- /**
2646
- * Listen for subscriptions data
2647
- * @returns Observable that emits subscriptions list
2648
- */
2649
- onSubscriptionsData(): Observable<any[]>;
2650
- /**
2651
- * Disconnect from the server
2652
- */
2653
- disconnect(): void;
2654
- }
2655
-
2656
2578
  declare class SyncExecutionHelper {
2657
2579
  private static _instance;
2658
2580
  static get Instance(): SyncExecutionHelper;
@@ -2923,4 +2845,4 @@ declare class XmlParser {
2923
2845
  SkipXMLElement(): void;
2924
2846
  }
2925
2847
 
2926
- 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, SubscriberClient, 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 };
2848
+ 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 };