@easy-editor/core 0.0.14 → 0.0.16

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/editor.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface EditorConfig {
17
17
  /**
18
18
  * 设置器 Setter
19
19
  */
20
- setters?: Record<string, Setter>;
20
+ setters?: Record<string, Component | Setter>;
21
21
  /**
22
22
  * 组件 Component
23
23
  */
@@ -11143,10 +11143,12 @@ const createEasyEditor = config => {
11143
11143
  return new Editor(config);
11144
11144
  };
11145
11145
 
11146
- const DEV = '_EASY_EDITOR_DEV_';
11146
+ const DEV = 'true';
11147
11147
  configure({
11148
11148
  enforceActions: 'always'
11149
11149
  });
11150
+ const version = '0.0.16';
11151
+ console.log(`%c EasyEditor %c v${version} `, 'padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;', 'padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;');
11150
11152
 
11151
- export { AutoFit, COMPONENT_META_EVENT, ComponentMeta, ComponentMetaManager, DESIGNER_EVENT, DETECTING_EVENT, DEV, DOCUMENT_EVENT, DRAGON_EVENT, Designer, Detecting, Document, DragObject, DragObjectType, Dragon, DropLocation, EDITOR_EVENT, Editor, EventBus, GLOBAL_EVENT, HISTORY_EVENT, History, Hotkey, LocationDetailType, NODE_CHILDREN_EVENT, NODE_EVENT, Node$1 as Node, NodeChildren, OffsetObserver, PROJECT_EVENT, PluginContext, PluginManager, PluginRuntime, PositionNO, Project, Prop, PropValueChangedType, Props, SELECTION_EVENT, Selection, Session, SetterManager, SettingField, SettingPropEntry, SettingTopEntry, SettingsManager, Simulator, TRANSFORM_STAGE, UNSET, Viewport, clipboard, cloneDeep, comparePosition, contains, createEasyEditor, createEventBus, createLogger, createOffsetObserver, ensureNode, generateSessionId, getClosestClickableNode, getClosestNode, getConvertedExtraKey, getOriginalExtraKey, getSourceSensor, getWindow, getZLevelTop, insertChild, insertChildren, isComponentMeta, isDocument, isDocumentElem, isDragAnyObject, isDragEvent, isDragNodeDataObject, isDragNodeObject, isDynamicSetter, isElement, isExtraKey, isInvalidPoint, isJSExpression, isJSFunction, isLocateEvent, isLocationChildrenDetail, isLocationData, isLowCodeComponentType, isNode, isNodeSchema, isObject, isPlainObject, isProCodeComponentType, isProp, isPurgeable, isRegisterOptions, isSameAs, isSetterConfig, isSettingField, isShaken, isSimulator, isText, isValidArrayIndex, logger, makeEventsHandler, setShaken, splitPath, uniqueId };
11153
+ export { AutoFit, COMPONENT_META_EVENT, ComponentMeta, ComponentMetaManager, DESIGNER_EVENT, DETECTING_EVENT, DEV, DOCUMENT_EVENT, DRAGON_EVENT, Designer, Detecting, Document, DragObject, DragObjectType, Dragon, DropLocation, EDITOR_EVENT, Editor, EventBus, GLOBAL_EVENT, HISTORY_EVENT, History, Hotkey, LocationDetailType, NODE_CHILDREN_EVENT, NODE_EVENT, Node$1 as Node, NodeChildren, OffsetObserver, PROJECT_EVENT, PluginContext, PluginManager, PluginRuntime, PositionNO, Project, Prop, PropValueChangedType, Props, SELECTION_EVENT, Selection, Session, SetterManager, SettingField, SettingPropEntry, SettingTopEntry, SettingsManager, Simulator, TRANSFORM_STAGE, UNSET, Viewport, clipboard, cloneDeep, comparePosition, contains, createEasyEditor, createEventBus, createLogger, createOffsetObserver, ensureNode, generateSessionId, getClosestClickableNode, getClosestNode, getConvertedExtraKey, getOriginalExtraKey, getSourceSensor, getWindow, getZLevelTop, insertChild, insertChildren, isComponentMeta, isDocument, isDocumentElem, isDragAnyObject, isDragEvent, isDragNodeDataObject, isDragNodeObject, isDynamicSetter, isElement, isExtraKey, isInvalidPoint, isJSExpression, isJSFunction, isLocateEvent, isLocationChildrenDetail, isLocationData, isLowCodeComponentType, isNode, isNodeSchema, isObject, isPlainObject, isProCodeComponentType, isProp, isPurgeable, isRegisterOptions, isSameAs, isSetterConfig, isSettingField, isShaken, isSimulator, isText, isValidArrayIndex, logger, makeEventsHandler, setShaken, splitPath, uniqueId, version };
11152
11154
  //# sourceMappingURL=index.development.js.map