@node-projects/web-component-designer 0.1.276 → 0.1.277

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.
@@ -56,6 +56,7 @@ export declare class DocumentContainer extends BaseCustomWebComponentLazyAppend
56
56
  dispose(): void;
57
57
  executeCommand(command: IUiCommand): void;
58
58
  canExecuteCommand(command: IUiCommand): boolean;
59
+ setContentAsync(value: string): Promise<void>;
59
60
  set content(value: string);
60
61
  get content(): string;
61
62
  ready(): void;
@@ -213,11 +213,11 @@ export class DocumentContainer extends BaseCustomWebComponentLazyAppend {
213
213
  }
214
214
  return false;
215
215
  }
216
- set content(value) {
216
+ async setContentAsync(value) {
217
217
  this._content = value;
218
218
  if (this._tabControl) {
219
219
  if (this._tabControl.selectedIndex === tabIndex.designer)
220
- this.updateDesignerHtml();
220
+ await this.updateDesignerHtml();
221
221
  else if (this._tabControl.selectedIndex === tabIndex.code)
222
222
  this.codeView.update(this._content, this.designerView.instanceServiceContainer);
223
223
  else if (this._tabControl.selectedIndex === tabIndex.split) {
@@ -226,6 +226,9 @@ export class DocumentContainer extends BaseCustomWebComponentLazyAppend {
226
226
  this.demoView.display(this._serviceContainer, this.designerView.instanceServiceContainer, this._content, this.additionalStyleString);
227
227
  }
228
228
  }
229
+ set content(value) {
230
+ this.setContentAsync(value);
231
+ }
229
232
  get content() {
230
233
  if (this._tabControl) {
231
234
  if (this._tabControl.selectedIndex === tabIndex.designer)
@@ -1 +1 @@
1
- {"version":3,"file":"documentContainer.js","sourceRoot":"","sources":["../../src/elements/documentContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,GAAG,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAA;AACpI,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAUtE,OAAO,EAAE,eAAe,EAA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js";
2
2
  export declare class DomConverter {
3
3
  static normalizeAttributeValue(value: string | number, useSingleQuotes?: boolean): string;
4
4
  static normalizeContentValue(value: string): string;
5
- static IsSelfClosingElement(tag: string): tag is "input" | "link" | "img" | "area" | "base" | "br" | "col" | "embed" | "hr" | "keygen" | "meta" | "param" | "source" | "track" | "wbr";
5
+ static IsSelfClosingElement(tag: string): tag is "area" | "base" | "br" | "col" | "embed" | "hr" | "img" | "input" | "keygen" | "link" | "meta" | "param" | "source" | "track" | "wbr";
6
6
  static ConvertToString(designItems: IDesignItem[], beautifyOutput?: boolean, updatePositions?: boolean): string;
7
7
  }
package/dist/index-min.js CHANGED
@@ -1901,5 +1901,5 @@ declare global {
1901
1901
  height: 100%;
1902
1902
  overflow: hidden;
1903
1903
  }
1904
- `}constructor(e,t,i=!1){super(),this.refreshInSplitViewDebounced=$m(this.refreshInSplitView,200),this._serviceContainer=e,t!=null&&(this._content=t);let r=document.createElement("div");this._tabControl=new Ue,r.appendChild(this._tabControl),this.designerView=new It(i),this.designerView.setAttribute("exportparts","canvas"),this.designerView.slot="top",this._designerDiv=document.createElement("div"),this._tabControl.appendChild(this._designerDiv),this._designerDiv.title="Designer",this._designerDiv.appendChild(this.designerView),this.designerView.initialize(this._serviceContainer),this.designerView.instanceServiceContainer.documentContainer=this,this.designerView.instanceServiceContainer.selectionService.onSelectionChanged.on(n=>this.designerSelectionChanged(n)),this.designerView.designerCanvas.onContentChanged.on(()=>this.designerContentChanged()),this.codeView=new e.config.codeViewWidget,this.codeView.slot="bottom",this.codeView.style.position="relative",this._codeDiv=document.createElement("div"),this._tabControl.appendChild(this._codeDiv),this._codeDiv.title="Code",this._codeDiv.style.position="relative",this._codeDiv.appendChild(this.codeView),this.codeView.onTextChanged.on(n=>{this._disableChangeNotificationDesigner||(this._tabControl.selectedIndex===F.code||this._tabControl.selectedIndex===F.split)&&(this._disableChangeNotificationEditor=!0,this._content=n,this.refreshInSplitViewDebounced())}),this._splitDiv=new Ui,this._splitDiv.style.height="100%",this._splitDiv.title="Split",this._tabControl.appendChild(this._splitDiv),e.config.demoViewWidget&&(this.demoView=new e.config.demoViewWidget,this.demoView.title="Preview",this._tabControl.appendChild(this.demoView)),queueMicrotask(()=>{this.shadowRoot.appendChild(r),this._tabControl.selectedIndex=F.designer})}async refreshInSplitView(){try{await this.updateDesignerHtml()}catch(e){console.error(e)}this._disableChangeNotificationEditor=!1}get currentView(){return this._tabControl.selectedIndex==F.designer?"designer":this._tabControl.selectedIndex==F.split?"split":this._tabControl.selectedIndex==F.code?"code":this._tabControl.selectedIndex==F.preview?"preview":null}set currentView(e){e=="designer"&&(this._tabControl.selectedIndex=F.designer),e=="split"&&(this._tabControl.selectedIndex=F.split),e=="code"&&(this._tabControl.selectedIndex=F.code),e=="preview"&&(this._tabControl.selectedIndex=F.preview)}designerSelectionChanged(e){if(this._tabControl.selectedIndex===F.split){let t=this.instanceServiceContainer.selectionService.primarySelection;t&&this.designerView.instanceServiceContainer.designItemDocumentPositionService&&(this._selectionPosition=this.designerView.instanceServiceContainer.designItemDocumentPositionService.getPosition(t),this._selectionPosition&&this.codeView.setSelection(this._selectionPosition),this._selectionPosition=null)}}designerContentChanged(){if(this.onContentChanged.emit({source:this._contentChangeSource}),!this._disableChangeNotificationEditor){if(this._disableChangeNotificationDesigner=!0,this._tabControl.selectedIndex===F.code||this._tabControl.selectedIndex===F.split){let e=this.instanceServiceContainer.selectionService.primarySelection;this._content=this.designerView.getDesignerHTML(),this.codeView.update(this._content,this.designerView.instanceServiceContainer),e&&this.designerView.instanceServiceContainer.designItemDocumentPositionService&&(this._selectionPosition=this.designerView.instanceServiceContainer.designItemDocumentPositionService.getPosition(e),this._selectionPosition&&this.codeView.setSelection(this._selectionPosition),this._selectionPosition=null)}this._disableChangeNotificationDesigner=!1}}dispose(){this.codeView.dispose(),this.demoView.dispose()}executeCommand(e){this._tabControl.selectedIndex===F.designer||this._tabControl.selectedIndex===F.split?this.designerView.executeCommand(e):this._tabControl.selectedIndex===F.code?this.codeView.executeCommand(e):this._tabControl.selectedIndex===F.preview&&this.demoView.executeCommand(e)}canExecuteCommand(e){if(this._tabControl.selectedIndex===F.designer||this._tabControl.selectedIndex===F.split){if(this.designerView?.canExecuteCommand)return this.designerView.canExecuteCommand(e)}else if(this._tabControl.selectedIndex===F.code){if(this.codeView?.canExecuteCommand)return this.codeView.canExecuteCommand(e)}else if(this._tabControl.selectedIndex===F.preview&&this.demoView?.canExecuteCommand)return this.demoView.canExecuteCommand(e);return!1}set content(e){this._content=e,this._tabControl&&(this._tabControl.selectedIndex===F.designer?this.updateDesignerHtml():this._tabControl.selectedIndex===F.code?this.codeView.update(this._content,this.designerView.instanceServiceContainer):this._tabControl.selectedIndex===F.split||this._tabControl.selectedIndex===F.preview&&this.demoView.display(this._serviceContainer,this.designerView.instanceServiceContainer,this._content,this.additionalStyleString))}get content(){return this._tabControl?(this._tabControl.selectedIndex===F.designer?this._content=this.designerView.getDesignerHTML():this._tabControl.selectedIndex===F.code&&(this._content=this.codeView.getText()),this._content):null}ready(){this._tabControl.onSelectedTabChanged.on(e=>{if(e.oldIndex===F.designer){let t=this.instanceServiceContainer.selectionService.primarySelection;this._content=this.designerView.getDesignerHTML(),this.designerView.instanceServiceContainer.designItemDocumentPositionService&&(this._selectionPosition=this.designerView.instanceServiceContainer.designItemDocumentPositionService.getPosition(t))}else e.oldIndex===F.code?this._content=this.codeView.getText():e.oldIndex===F.split?(this._designerDiv.appendChild(this.designerView),this._codeDiv.appendChild(this.codeView)):e.oldIndex===F.preview&&this.demoView?.stopDisplay&&this.demoView.stopDisplay();(e.newIndex===F.designer||e.newIndex===F.split)&&this.updateDesignerHtml(),(e.newIndex===F.code||e.newIndex===F.split)&&(this.codeView.update(this._content,this.designerView.instanceServiceContainer),this._selectionPosition&&(this.codeView.setSelection(this._selectionPosition),at(20).then(t=>{this._selectionPosition&&this.codeView.setSelection(this._selectionPosition),this._selectionPosition=null})),e.changedViaClick&&this.codeView.focusEditor()),e.newIndex===F.split&&(this._splitDiv.appendChild(this.designerView),this._splitDiv.appendChild(this.codeView)),e.newIndex===F.preview&&this.demoView.display(this._serviceContainer,this.designerView.instanceServiceContainer,this._content,this.additionalStyleString),this._content&&(this._firstLoad=!1),this.onTabChanged.emit({oldTab:F[e.oldIndex],newTab:F[e.newIndex]})}),this._content&&(this.content=this._content,this._firstLoad=!1)}async updateDesignerHtml(){if(this._firstLoad)return this.designerView.parseDesignerHTML(this._content,this._firstLoad);if(this.designerView.getDesignerHTML()!=this._content){this._contentChangeSource="code",await this.designerView.parseDesignerHTML(this._content,this._firstLoad),this._contentChangeSource="designer";return}else this.instanceServiceContainer.undoService.clearTransactionstackIfNotEmpty(),this.designerView.designerCanvas.overlayLayer.removeAllOverlays(),this.designerView.designerCanvas.extensionManager.reapplyAllAppliedExtentions(null,[S.Permanent,S.Selection,S.PrimarySelection,S.PrimarySelectionContainer,S.OnlyOneItemSelected,S.MultipleItemsSelected])}get instanceServiceContainer(){return this.designerView.instanceServiceContainer}};customElements.define("node-projects-document-container",jc);J();va();qe();Z();Qs();export{io as AbsolutePlacementService,mt as AbstractBaseToolPopup,$t as AbstractCssPropertiesService,Ce as AbstractDesignViewConfigButton,mo as AbstractDesignerPointerExtension,N as AbstractExtension,zn as AbstractHtmlWriterService,Le as AbstractPolymerLikePropertiesService,K as AbstractPropertiesService,no as AbstractStylesheetService,Gs as AlignItemsContextMenu,un as AltToEnterContainerExtension,fn as AltToEnterContainerExtensionProvider,zh as AlwaysAbsolutePlacementService,Jt as ApplyFirstMachingExtensionProvider,Qn as AttachedPropertiesService,mi as AttributeChangeAction,Oi as AttributesPropertiesService,Ir as BaseCustomWebComponentPropertiesService,Rh as BaseCustomWebcomponentBindingsService,Vh as BaseCustomWebcomponentDesignItemService,q as BasePropertyEditor,Mt as BaseServiceContainer,Se as BasicStackedToolbarExtension,Ws as BasicWebcomponentPropertiesService,Lh as BindableObjectType,Vi as BindingMode,M as BindingTarget,$h as BindingsRefactorService,Os as BlockToolbarExtension,Ns as BlockToolbarExtensionProvider,wr as BooleanPropertyEditor,Je as ButtonSeperatorProvider,hs as ChangeGroup,kt as ChildContextMenu,Xs as ChildrenContextMenu,di as CodeViewSimple,vr as ColorPropertyEditor,C as CommandType,Pe as CommonPropertiesService,tt as ConditionExtensionProvider,ro as ContentAndIdPropertiesService,us as ContentService,le as ContextMenu,Fh as CopyPasteAsJsonService,sn as CopyPasteContextMenu,In as CopyPasteService,ar as CssAttributeParser,Zt as CssCombiner,qt as CssCurrentPropertiesService,Qt as CssCustomPropertiesService,or as CssEntry,be as CssPropertiesService,Lt as CssStyleChangeAction,uo as CursorLinePointerExtension,rd as CursorLinePointerExtensionProvider,xr as DatePropertyEditor,Vc as DebugView,Bc as DefaultConfiguredDesignerView,kr as DefaultEditorTypesService,ct as DefaultHtmlParserService,yr as DefaultInstanceService,Dn as DefaultModelCommandService,Fe as DefaultPlacementService,$s as DeleteAction,qs as DeletionService,ci as DemoView,T as DesignItem,ys as DesignItemDocumentPositionService,ii as DesignItemService,Ue as DesignerTabControl,Wi as DesignerToolbar,re as DesignerToolbarButton,It as DesignerView,Tn as DisplayGridExtension,Pt as DisplayGridExtensionProvider,jc as DocumentContainer,U as DomConverter,bs as DragDropService,ws as DrawElementTool,Nn as DrawEllipsisTool,Ln as DrawLineTool,Yr as DrawPathTool,On as DrawRectTool,Xn as DrawToolButtonProvider,Di as DrawToolPopup,gs as EditGridColumnRowSizesExtension,Ri as EditGridColumnRowSizesExtensionProvider,Kt as EditTextExtension,En as EditTextExtensionProvider,bn as ElementAtPointService,ve as ElementDisplayType,Lr as ElementDragTitleExtension,Rr as ElementDragTitleExtensionProvider,_ as EventNames,me as EventsService,ho as ExtensionManager,S as ExtensionType,Cn as ExternalDragDropService,Sn as FlexBoxPlacementService,Ts as FlexToolbarExtension,Ms as FlexToolbarExtensionProvider,os as FlexboxExtension,ls as FlexboxExtensionDesignViewConfigButtons,Li as FlexboxExtensionProvider,Ks as ForceCssContextMenu,Wh as FormatingHtmlWriterService,qn as GrayOutDragOverContainerExtension,Mi as GrayOutDragOverContainerExtensionProvider,pn as GrayOutExtension,mn as GrayOutExtensionProvider,Jn as GridAssignedRowColumnPropertyEditor,Vs as GridChildResizeExtension,Hs as GridChildResizeExtensionProvider,Ls as GridChildToolbarExtension,Rs as GridChildToolbarExtensionProvider,Mn as GridExtensionDesignViewConfigButtons,_n as GridPlacementService,Is as GridToolbarExtension,Ds as GridToolbarExtensionProvider,jr as HighlightElementExtension,Ur as HighlightElementExtensionProvider,Fn as HtmlWriterService,Bh as IframeDemoProviderService,Er as ImageButtonListPropertyEditor,lr as IndentedTextWriter,ne as InsertAction,st as InsertChildAction,lo as InstanceServiceContainer,gn as InvisibleElementExtension,cs as InvisibleElementExtensionDesignViewConfigButtons,yn as InvisibleElementExtensionProvider,xn as ItemsBelowContextMenu,Hh as JsonFileElementsService,_r as JsonPropertyEditor,Yh as JsonPropertyPopupEditor,fs as JumpToElementContextMenu,Xh as ListPropertiesService,Nr as Lit2PropertiesService,rr as LitElementPropertiesService,jh as LitTsElementWriterService,ln as MagicWandSelectorTool,Vr as MarginExtension,Hr as MarginExtensionProvider,ei as MarginTool,Es as MathMLElementsPropertiesService,es as MetricsPropertyEditor,Kh as MultiplayerService,an as MultipleItemsSelectedContextMenu,xs as MultipleSelectionRectExtension,_s as MultipleSelectionRectExtensionProvider,j as NamedTools,nr as NativeElementsPropertiesService,E as NodeType,Nh as NpmPackageLoader,br as NumberPropertyEditor,Ys as OptionsContextMenuButton,I as OverlayLayer,oi as OverlayLayerView,Fs as PaddingExtension,Bs as PaddingExtensionProvider,ti as PaddingTool,ji as PaletteElements,Hc as PaletteView,nn as PanTool,Vn as PathContextMenu,po as PathExtension,id as PathExtensionProvider,cn as PickColorTool,ns as PlacementExtension,ss as PlacementExtensionProvider,xo as PlainScrollbar,oe as PointerActionType,Kr as PointerTool,Kn as PointerToolButtonProvider,Ii as PointerToolPopup,ir as PolymerPropertiesService,Gr as PositionExtension,Wr as PositionExtensionProvider,eo as PreDefinedElementsService,js as PreviousElementSelectExtension,Us as PreviousElementSelectExtensionProvider,R as PropertiesHelper,ur as PropertyChangeAction,Rc as PropertyGrid,we as PropertyGridPropertyList,zc as PropertyGridWithHeader,rs as PropertyGroupsService,y as PropertyType,Bn as RectContextMenu,Ci as RectangleSelectorTool,go as RefactorView,G as RefreshMode,Qr as ResizeExtension,Jr as ResizeExtensionProvider,en as RotateExtension,tn as RotateExtensionProvider,jn as RotateLeftAndRight,Cs as RoundPixelsDesignViewConfigButton,sr as SVGElementsPropertiesService,ri as Screenshot,Un as SelectAllChildrenContextMenu,_i as SelectPropertyEditor,Xr as SelectionDefaultExtension,Zr as SelectionDefaultExtensionProvider,ms as SelectionService,Ti as SelectionToolPopup,$n as SelectorToolButtonProvider,_e as SeperatorContextMenu,Ge as SeperatorToolProvider,Qi as ServiceContainer,oo as SetDesignItemsAction,Ss as SimpleDemoProviderService,Bi as SimpleToolButtonProvider,wn as SnaplinesProviderService,so as StylesheetChangedAction,hr as StylesheetServiceDesignViewConfigButtons,Ps as SvgElementExtension,ks as SvgElementExtensionProvider,mr as TextContentChangeAction,Sr as TextPropertyEditor,qh as TextRefactorService,dn as TextTool,Zn as TextToolButtonProvider,Pr as ThicknessPropertyEditor,zs as ToolbarExtensionsDesignViewConfigButtons,Js as TouchGestureHelper,Fr as TransformOriginExtension,Br as TransformOriginExtensionProvider,vs as TransformToolButtonProvider,zi as TransformToolPopup,Gc as TreeView,ds as UndoService,Zh as UnkownElementsPropertiesService,V as ValueType,to as WebcomponentManifestElementsService,Gh as WebcomponentManifestEventsService,Uh as WebcomponentManifestParserService,ni as WebcomponentManifestPropertiesService,on as ZMoveContextMenu,Wn as ZoomToElementContextMenu,rn as ZoomTool,Yn as ZoomToolButtonProvider,xf as arraysEqual,v as assetsPath,We as basicStackedToolbarExtensionOverlayOptionName,dh as calculateAlpha,ze as calculateNormLegth,tr as calculateOuterRect,Lc as calculateSpecificity,t_ as copyTextToClipboard,Ei as copyToClipboard,Mh as createDefaultServiceContainer,De as createPathD,Lo as dataURItoBlob,oh as deepValue,wt as dragDropFormatNameBindingObject,Cr as dragDropFormatNameElementDefinition,Zo as dragDropFormatNamePropertyGrid,dr as enableStylesheetService,No as exportData,ie as filterChildPlaceItems,ia as filterNonElementItems,Fl as flexboxExtensionShowOverlayOptionName,ui as forceActiveAttributeName,gi as forceFocusAttributeName,vi as forceFocusVisibleAttributeName,yi as forceFocusWithinAttributeName,lt as forceHoverAttributeName,fi as forceVisitedAttributeName,bu as getActiveElement,rh as getContentBoxContentOffsets,Mr as getDesignItemCurrentPos,ih as getElementDisplaytype,Su as getElementOffsetParent,wu as getElementOffsetsInContainer,Cu as getElementsWindowOffsetWithoutSelfAndParentTransformations,Pn as getFromClipboard,th as getParentElementIncludingSlots,An as getTextFromClipboard,Ai as gridExtensionShowOverlayOptionName,W as hasCommandKey,Rt as hideAtDesignTimeAttributeName,zt as hideAtRunTimeAttributeName,_u as inDesigner,nt as instanceOf,pi as instanceOfAny,Ua as invisibleElementExtensionShowOverlayOptionName,sh as isAppleDevice,er as isEmptyTextNode,fr as isFirefox,vt as isInline,xt as isInlineAfter,St as lockAtDesignTimeAttributeName,ph as moveSVGPath,Ji as newElementFromString,qr as normalizeToAbsolutePosition,Or as placeDesignItem,Ro as pointInRect,Ch as positionsJsonMime,vp as provideSnaplinesWithDistance,xp as provideSnaplinesWithDistanceDistance,ce as removeLeading,bt as removeTrailing,vf as requestAnimationFramePromise,O as roundValue,zo as setDeepValue,Sh as shadowrootGetSelection,at as sleep,Xe as straightenLine,_h as switchContainer,xi as w3color,wh as wrapSelectionInSpans};
1904
+ `}constructor(e,t,i=!1){super(),this.refreshInSplitViewDebounced=$m(this.refreshInSplitView,200),this._serviceContainer=e,t!=null&&(this._content=t);let r=document.createElement("div");this._tabControl=new Ue,r.appendChild(this._tabControl),this.designerView=new It(i),this.designerView.setAttribute("exportparts","canvas"),this.designerView.slot="top",this._designerDiv=document.createElement("div"),this._tabControl.appendChild(this._designerDiv),this._designerDiv.title="Designer",this._designerDiv.appendChild(this.designerView),this.designerView.initialize(this._serviceContainer),this.designerView.instanceServiceContainer.documentContainer=this,this.designerView.instanceServiceContainer.selectionService.onSelectionChanged.on(n=>this.designerSelectionChanged(n)),this.designerView.designerCanvas.onContentChanged.on(()=>this.designerContentChanged()),this.codeView=new e.config.codeViewWidget,this.codeView.slot="bottom",this.codeView.style.position="relative",this._codeDiv=document.createElement("div"),this._tabControl.appendChild(this._codeDiv),this._codeDiv.title="Code",this._codeDiv.style.position="relative",this._codeDiv.appendChild(this.codeView),this.codeView.onTextChanged.on(n=>{this._disableChangeNotificationDesigner||(this._tabControl.selectedIndex===F.code||this._tabControl.selectedIndex===F.split)&&(this._disableChangeNotificationEditor=!0,this._content=n,this.refreshInSplitViewDebounced())}),this._splitDiv=new Ui,this._splitDiv.style.height="100%",this._splitDiv.title="Split",this._tabControl.appendChild(this._splitDiv),e.config.demoViewWidget&&(this.demoView=new e.config.demoViewWidget,this.demoView.title="Preview",this._tabControl.appendChild(this.demoView)),queueMicrotask(()=>{this.shadowRoot.appendChild(r),this._tabControl.selectedIndex=F.designer})}async refreshInSplitView(){try{await this.updateDesignerHtml()}catch(e){console.error(e)}this._disableChangeNotificationEditor=!1}get currentView(){return this._tabControl.selectedIndex==F.designer?"designer":this._tabControl.selectedIndex==F.split?"split":this._tabControl.selectedIndex==F.code?"code":this._tabControl.selectedIndex==F.preview?"preview":null}set currentView(e){e=="designer"&&(this._tabControl.selectedIndex=F.designer),e=="split"&&(this._tabControl.selectedIndex=F.split),e=="code"&&(this._tabControl.selectedIndex=F.code),e=="preview"&&(this._tabControl.selectedIndex=F.preview)}designerSelectionChanged(e){if(this._tabControl.selectedIndex===F.split){let t=this.instanceServiceContainer.selectionService.primarySelection;t&&this.designerView.instanceServiceContainer.designItemDocumentPositionService&&(this._selectionPosition=this.designerView.instanceServiceContainer.designItemDocumentPositionService.getPosition(t),this._selectionPosition&&this.codeView.setSelection(this._selectionPosition),this._selectionPosition=null)}}designerContentChanged(){if(this.onContentChanged.emit({source:this._contentChangeSource}),!this._disableChangeNotificationEditor){if(this._disableChangeNotificationDesigner=!0,this._tabControl.selectedIndex===F.code||this._tabControl.selectedIndex===F.split){let e=this.instanceServiceContainer.selectionService.primarySelection;this._content=this.designerView.getDesignerHTML(),this.codeView.update(this._content,this.designerView.instanceServiceContainer),e&&this.designerView.instanceServiceContainer.designItemDocumentPositionService&&(this._selectionPosition=this.designerView.instanceServiceContainer.designItemDocumentPositionService.getPosition(e),this._selectionPosition&&this.codeView.setSelection(this._selectionPosition),this._selectionPosition=null)}this._disableChangeNotificationDesigner=!1}}dispose(){this.codeView.dispose(),this.demoView.dispose()}executeCommand(e){this._tabControl.selectedIndex===F.designer||this._tabControl.selectedIndex===F.split?this.designerView.executeCommand(e):this._tabControl.selectedIndex===F.code?this.codeView.executeCommand(e):this._tabControl.selectedIndex===F.preview&&this.demoView.executeCommand(e)}canExecuteCommand(e){if(this._tabControl.selectedIndex===F.designer||this._tabControl.selectedIndex===F.split){if(this.designerView?.canExecuteCommand)return this.designerView.canExecuteCommand(e)}else if(this._tabControl.selectedIndex===F.code){if(this.codeView?.canExecuteCommand)return this.codeView.canExecuteCommand(e)}else if(this._tabControl.selectedIndex===F.preview&&this.demoView?.canExecuteCommand)return this.demoView.canExecuteCommand(e);return!1}async setContentAsync(e){this._content=e,this._tabControl&&(this._tabControl.selectedIndex===F.designer?await this.updateDesignerHtml():this._tabControl.selectedIndex===F.code?this.codeView.update(this._content,this.designerView.instanceServiceContainer):this._tabControl.selectedIndex===F.split||this._tabControl.selectedIndex===F.preview&&this.demoView.display(this._serviceContainer,this.designerView.instanceServiceContainer,this._content,this.additionalStyleString))}set content(e){this.setContentAsync(e)}get content(){return this._tabControl?(this._tabControl.selectedIndex===F.designer?this._content=this.designerView.getDesignerHTML():this._tabControl.selectedIndex===F.code&&(this._content=this.codeView.getText()),this._content):null}ready(){this._tabControl.onSelectedTabChanged.on(e=>{if(e.oldIndex===F.designer){let t=this.instanceServiceContainer.selectionService.primarySelection;this._content=this.designerView.getDesignerHTML(),this.designerView.instanceServiceContainer.designItemDocumentPositionService&&(this._selectionPosition=this.designerView.instanceServiceContainer.designItemDocumentPositionService.getPosition(t))}else e.oldIndex===F.code?this._content=this.codeView.getText():e.oldIndex===F.split?(this._designerDiv.appendChild(this.designerView),this._codeDiv.appendChild(this.codeView)):e.oldIndex===F.preview&&this.demoView?.stopDisplay&&this.demoView.stopDisplay();(e.newIndex===F.designer||e.newIndex===F.split)&&this.updateDesignerHtml(),(e.newIndex===F.code||e.newIndex===F.split)&&(this.codeView.update(this._content,this.designerView.instanceServiceContainer),this._selectionPosition&&(this.codeView.setSelection(this._selectionPosition),at(20).then(t=>{this._selectionPosition&&this.codeView.setSelection(this._selectionPosition),this._selectionPosition=null})),e.changedViaClick&&this.codeView.focusEditor()),e.newIndex===F.split&&(this._splitDiv.appendChild(this.designerView),this._splitDiv.appendChild(this.codeView)),e.newIndex===F.preview&&this.demoView.display(this._serviceContainer,this.designerView.instanceServiceContainer,this._content,this.additionalStyleString),this._content&&(this._firstLoad=!1),this.onTabChanged.emit({oldTab:F[e.oldIndex],newTab:F[e.newIndex]})}),this._content&&(this.content=this._content,this._firstLoad=!1)}async updateDesignerHtml(){if(this._firstLoad)return this.designerView.parseDesignerHTML(this._content,this._firstLoad);if(this.designerView.getDesignerHTML()!=this._content){this._contentChangeSource="code",await this.designerView.parseDesignerHTML(this._content,this._firstLoad),this._contentChangeSource="designer";return}else this.instanceServiceContainer.undoService.clearTransactionstackIfNotEmpty(),this.designerView.designerCanvas.overlayLayer.removeAllOverlays(),this.designerView.designerCanvas.extensionManager.reapplyAllAppliedExtentions(null,[S.Permanent,S.Selection,S.PrimarySelection,S.PrimarySelectionContainer,S.OnlyOneItemSelected,S.MultipleItemsSelected])}get instanceServiceContainer(){return this.designerView.instanceServiceContainer}};customElements.define("node-projects-document-container",jc);J();va();qe();Z();Qs();export{io as AbsolutePlacementService,mt as AbstractBaseToolPopup,$t as AbstractCssPropertiesService,Ce as AbstractDesignViewConfigButton,mo as AbstractDesignerPointerExtension,N as AbstractExtension,zn as AbstractHtmlWriterService,Le as AbstractPolymerLikePropertiesService,K as AbstractPropertiesService,no as AbstractStylesheetService,Gs as AlignItemsContextMenu,un as AltToEnterContainerExtension,fn as AltToEnterContainerExtensionProvider,zh as AlwaysAbsolutePlacementService,Jt as ApplyFirstMachingExtensionProvider,Qn as AttachedPropertiesService,mi as AttributeChangeAction,Oi as AttributesPropertiesService,Ir as BaseCustomWebComponentPropertiesService,Rh as BaseCustomWebcomponentBindingsService,Vh as BaseCustomWebcomponentDesignItemService,q as BasePropertyEditor,Mt as BaseServiceContainer,Se as BasicStackedToolbarExtension,Ws as BasicWebcomponentPropertiesService,Lh as BindableObjectType,Vi as BindingMode,M as BindingTarget,$h as BindingsRefactorService,Os as BlockToolbarExtension,Ns as BlockToolbarExtensionProvider,wr as BooleanPropertyEditor,Je as ButtonSeperatorProvider,hs as ChangeGroup,kt as ChildContextMenu,Xs as ChildrenContextMenu,di as CodeViewSimple,vr as ColorPropertyEditor,C as CommandType,Pe as CommonPropertiesService,tt as ConditionExtensionProvider,ro as ContentAndIdPropertiesService,us as ContentService,le as ContextMenu,Fh as CopyPasteAsJsonService,sn as CopyPasteContextMenu,In as CopyPasteService,ar as CssAttributeParser,Zt as CssCombiner,qt as CssCurrentPropertiesService,Qt as CssCustomPropertiesService,or as CssEntry,be as CssPropertiesService,Lt as CssStyleChangeAction,uo as CursorLinePointerExtension,rd as CursorLinePointerExtensionProvider,xr as DatePropertyEditor,Vc as DebugView,Bc as DefaultConfiguredDesignerView,kr as DefaultEditorTypesService,ct as DefaultHtmlParserService,yr as DefaultInstanceService,Dn as DefaultModelCommandService,Fe as DefaultPlacementService,$s as DeleteAction,qs as DeletionService,ci as DemoView,T as DesignItem,ys as DesignItemDocumentPositionService,ii as DesignItemService,Ue as DesignerTabControl,Wi as DesignerToolbar,re as DesignerToolbarButton,It as DesignerView,Tn as DisplayGridExtension,Pt as DisplayGridExtensionProvider,jc as DocumentContainer,U as DomConverter,bs as DragDropService,ws as DrawElementTool,Nn as DrawEllipsisTool,Ln as DrawLineTool,Yr as DrawPathTool,On as DrawRectTool,Xn as DrawToolButtonProvider,Di as DrawToolPopup,gs as EditGridColumnRowSizesExtension,Ri as EditGridColumnRowSizesExtensionProvider,Kt as EditTextExtension,En as EditTextExtensionProvider,bn as ElementAtPointService,ve as ElementDisplayType,Lr as ElementDragTitleExtension,Rr as ElementDragTitleExtensionProvider,_ as EventNames,me as EventsService,ho as ExtensionManager,S as ExtensionType,Cn as ExternalDragDropService,Sn as FlexBoxPlacementService,Ts as FlexToolbarExtension,Ms as FlexToolbarExtensionProvider,os as FlexboxExtension,ls as FlexboxExtensionDesignViewConfigButtons,Li as FlexboxExtensionProvider,Ks as ForceCssContextMenu,Wh as FormatingHtmlWriterService,qn as GrayOutDragOverContainerExtension,Mi as GrayOutDragOverContainerExtensionProvider,pn as GrayOutExtension,mn as GrayOutExtensionProvider,Jn as GridAssignedRowColumnPropertyEditor,Vs as GridChildResizeExtension,Hs as GridChildResizeExtensionProvider,Ls as GridChildToolbarExtension,Rs as GridChildToolbarExtensionProvider,Mn as GridExtensionDesignViewConfigButtons,_n as GridPlacementService,Is as GridToolbarExtension,Ds as GridToolbarExtensionProvider,jr as HighlightElementExtension,Ur as HighlightElementExtensionProvider,Fn as HtmlWriterService,Bh as IframeDemoProviderService,Er as ImageButtonListPropertyEditor,lr as IndentedTextWriter,ne as InsertAction,st as InsertChildAction,lo as InstanceServiceContainer,gn as InvisibleElementExtension,cs as InvisibleElementExtensionDesignViewConfigButtons,yn as InvisibleElementExtensionProvider,xn as ItemsBelowContextMenu,Hh as JsonFileElementsService,_r as JsonPropertyEditor,Yh as JsonPropertyPopupEditor,fs as JumpToElementContextMenu,Xh as ListPropertiesService,Nr as Lit2PropertiesService,rr as LitElementPropertiesService,jh as LitTsElementWriterService,ln as MagicWandSelectorTool,Vr as MarginExtension,Hr as MarginExtensionProvider,ei as MarginTool,Es as MathMLElementsPropertiesService,es as MetricsPropertyEditor,Kh as MultiplayerService,an as MultipleItemsSelectedContextMenu,xs as MultipleSelectionRectExtension,_s as MultipleSelectionRectExtensionProvider,j as NamedTools,nr as NativeElementsPropertiesService,E as NodeType,Nh as NpmPackageLoader,br as NumberPropertyEditor,Ys as OptionsContextMenuButton,I as OverlayLayer,oi as OverlayLayerView,Fs as PaddingExtension,Bs as PaddingExtensionProvider,ti as PaddingTool,ji as PaletteElements,Hc as PaletteView,nn as PanTool,Vn as PathContextMenu,po as PathExtension,id as PathExtensionProvider,cn as PickColorTool,ns as PlacementExtension,ss as PlacementExtensionProvider,xo as PlainScrollbar,oe as PointerActionType,Kr as PointerTool,Kn as PointerToolButtonProvider,Ii as PointerToolPopup,ir as PolymerPropertiesService,Gr as PositionExtension,Wr as PositionExtensionProvider,eo as PreDefinedElementsService,js as PreviousElementSelectExtension,Us as PreviousElementSelectExtensionProvider,R as PropertiesHelper,ur as PropertyChangeAction,Rc as PropertyGrid,we as PropertyGridPropertyList,zc as PropertyGridWithHeader,rs as PropertyGroupsService,y as PropertyType,Bn as RectContextMenu,Ci as RectangleSelectorTool,go as RefactorView,G as RefreshMode,Qr as ResizeExtension,Jr as ResizeExtensionProvider,en as RotateExtension,tn as RotateExtensionProvider,jn as RotateLeftAndRight,Cs as RoundPixelsDesignViewConfigButton,sr as SVGElementsPropertiesService,ri as Screenshot,Un as SelectAllChildrenContextMenu,_i as SelectPropertyEditor,Xr as SelectionDefaultExtension,Zr as SelectionDefaultExtensionProvider,ms as SelectionService,Ti as SelectionToolPopup,$n as SelectorToolButtonProvider,_e as SeperatorContextMenu,Ge as SeperatorToolProvider,Qi as ServiceContainer,oo as SetDesignItemsAction,Ss as SimpleDemoProviderService,Bi as SimpleToolButtonProvider,wn as SnaplinesProviderService,so as StylesheetChangedAction,hr as StylesheetServiceDesignViewConfigButtons,Ps as SvgElementExtension,ks as SvgElementExtensionProvider,mr as TextContentChangeAction,Sr as TextPropertyEditor,qh as TextRefactorService,dn as TextTool,Zn as TextToolButtonProvider,Pr as ThicknessPropertyEditor,zs as ToolbarExtensionsDesignViewConfigButtons,Js as TouchGestureHelper,Fr as TransformOriginExtension,Br as TransformOriginExtensionProvider,vs as TransformToolButtonProvider,zi as TransformToolPopup,Gc as TreeView,ds as UndoService,Zh as UnkownElementsPropertiesService,V as ValueType,to as WebcomponentManifestElementsService,Gh as WebcomponentManifestEventsService,Uh as WebcomponentManifestParserService,ni as WebcomponentManifestPropertiesService,on as ZMoveContextMenu,Wn as ZoomToElementContextMenu,rn as ZoomTool,Yn as ZoomToolButtonProvider,xf as arraysEqual,v as assetsPath,We as basicStackedToolbarExtensionOverlayOptionName,dh as calculateAlpha,ze as calculateNormLegth,tr as calculateOuterRect,Lc as calculateSpecificity,t_ as copyTextToClipboard,Ei as copyToClipboard,Mh as createDefaultServiceContainer,De as createPathD,Lo as dataURItoBlob,oh as deepValue,wt as dragDropFormatNameBindingObject,Cr as dragDropFormatNameElementDefinition,Zo as dragDropFormatNamePropertyGrid,dr as enableStylesheetService,No as exportData,ie as filterChildPlaceItems,ia as filterNonElementItems,Fl as flexboxExtensionShowOverlayOptionName,ui as forceActiveAttributeName,gi as forceFocusAttributeName,vi as forceFocusVisibleAttributeName,yi as forceFocusWithinAttributeName,lt as forceHoverAttributeName,fi as forceVisitedAttributeName,bu as getActiveElement,rh as getContentBoxContentOffsets,Mr as getDesignItemCurrentPos,ih as getElementDisplaytype,Su as getElementOffsetParent,wu as getElementOffsetsInContainer,Cu as getElementsWindowOffsetWithoutSelfAndParentTransformations,Pn as getFromClipboard,th as getParentElementIncludingSlots,An as getTextFromClipboard,Ai as gridExtensionShowOverlayOptionName,W as hasCommandKey,Rt as hideAtDesignTimeAttributeName,zt as hideAtRunTimeAttributeName,_u as inDesigner,nt as instanceOf,pi as instanceOfAny,Ua as invisibleElementExtensionShowOverlayOptionName,sh as isAppleDevice,er as isEmptyTextNode,fr as isFirefox,vt as isInline,xt as isInlineAfter,St as lockAtDesignTimeAttributeName,ph as moveSVGPath,Ji as newElementFromString,qr as normalizeToAbsolutePosition,Or as placeDesignItem,Ro as pointInRect,Ch as positionsJsonMime,vp as provideSnaplinesWithDistance,xp as provideSnaplinesWithDistanceDistance,ce as removeLeading,bt as removeTrailing,vf as requestAnimationFramePromise,O as roundValue,zo as setDeepValue,Sh as shadowrootGetSelection,at as sleep,Xe as straightenLine,_h as switchContainer,xi as w3color,wh as wrapSelectionInSpans};
1905
1905
  // @license
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A WYSIWYG designer webcomponent for html components",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.1.276",
4
+ "version": "0.1.277",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",