@zhongguo168a/yxeditor-common 0.0.34 → 0.0.35

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/dist/index.d.ts CHANGED
@@ -265,7 +265,7 @@ declare class EventItem {
265
265
  once: boolean;
266
266
  }
267
267
 
268
- interface IEventManager {
268
+ interface IEventDispatcher {
269
269
  has(type: string, caller: any, listener: Function): boolean;
270
270
  /**
271
271
  * 监听事件
@@ -298,7 +298,7 @@ interface IEventManager {
298
298
  /**
299
299
  * 事件派发器
300
300
  */
301
- declare class EventDispatcher implements IEventManager {
301
+ declare class EventDispatcher implements IEventDispatcher {
302
302
  constructor();
303
303
  dispose(): void;
304
304
  /**
@@ -2040,4 +2040,4 @@ declare class WidgetUtil {
2040
2040
  declare var widgetutil: WidgetUtil;
2041
2041
 
2042
2042
  export { ArrayUtil, AssetLoader, AssetURI, BitUtil, CallbackList, CameraUtil, CanvasUtil, Controller, ControllerDict, ControllerRepo, ConvertUtil, DictIterator, DictNode, DictSource, Dictionary, Dispatcher, DocUtil, ErrorUtil, EventDispatcher, EventItem, EventUtil, Factory, FloatUtil, GeometryUtil, IdentUtil, LOGGER_EVENT, LinkError, List, ListIterator, ListNode, ListSource, Listener, LogLevel, LogManager, Logger, MapUtil, MathUtil, Model, NetUtil, PageController, PathUtil, Pool, RandUtil, Route, RouteList, SampleCallbackList, SamplePool, SamplePoolSet, ScaleUtil, SimpleModel, StringUtil, TimeUtil, Timer, TreeIterator, TreeNode, TreeNodePlugin, TreeRoot, TreeRootPlugin, TreeUtil, UIManager, UIObjectDict, UIPoolConfig, UISingleConfig, UIUtil, View, ViewController, ViewDict, ViewEvent, ViewHistory, ViewList, ViewRepo, ViewState, WidgetAlign, WidgetUtil, XAssetManager, XEvent, arrayutil, assetx, bitutil, camerautil, canvasutil, convertutil, ctrlrepo, docutil, errorutil, eventmgr, eventutil, floatutil, formatutil, geoutil, identutil, loadAtlas, logmgr, maputil, mathutil, netutil, parseAtlas, parsePlist, pathutil, randutil, resutil, scaleutil, stringutil, timer, timeutil, treeutil, uidict, uimgr, uiutil, viewhistorys, viewrepo, widgetutil };
2043
- export type { CreatorFunction, DisposeFunction, IController, IError, IEventManager, IExtend, IListItem, IModel, IModule, ITreeListItem, RecycleFunction };
2043
+ export type { CreatorFunction, DisposeFunction, IController, IError, IEventDispatcher, IExtend, IListItem, IModel, IModule, ITreeListItem, RecycleFunction };
package/dist/index.esm.js CHANGED
@@ -991,7 +991,7 @@ class EventDispatcher {
991
991
  eventPool.recycleObject(event);
992
992
  }
993
993
  toString() {
994
- return `EventManager`;
994
+ return `EventDispatcher`;
995
995
  }
996
996
  getOnEventItems(type) {
997
997
  let items = this._onEventItems[type];