@node-projects/web-component-designer 0.1.283 → 0.1.285
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.
|
@@ -59,7 +59,7 @@ export class PropertyGrid extends BaseCustomWebComponentLazyAppend {
|
|
|
59
59
|
set instanceServiceContainer(value) {
|
|
60
60
|
this._instanceServiceContainer = value;
|
|
61
61
|
this._selectionChangedHandler?.dispose();
|
|
62
|
-
if (this.
|
|
62
|
+
if (this._instanceServiceContainer) {
|
|
63
63
|
this._selectionChangedHandler = this._instanceServiceContainer.selectionService.onSelectionChanged.on(e => {
|
|
64
64
|
this.selectedItems = e.selectedElements;
|
|
65
65
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyGrid.js","sourceRoot":"","sources":["../../../../src/elements/widgets/propertyGrid/PropertyGrid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,gCAAgC,EAAE,GAAG,EAAc,MAAM,yCAAyC,CAAC;AAE5G,OAAO,EAAE,WAAW,EAAE,MAAM,wDAAwD,CAAC;AAKrF,MAAM,OAAO,YAAa,SAAQ,gCAAgC;IAExD,iBAAiB,CAAmB;IACpC,mBAAmB,CAAqB;IACxC,cAAc,CAAgB;IAC9B,0BAA0B,CAA6B;IACvD,8BAA8B,CAA2C;IACzE,cAAc,CAAmB;IACjC,eAAe,CAAa;IAC5B,yBAAyB,CAA2B;IACpD,wBAAwB,CAAa;IAEtC,kBAAkB,CAA4D;IAC9E,kBAAkB,CAAyD;IAC3E,2BAA2B,CAA0E;IAE5G,MAAM,CAAmB,KAAK,GAAG,GAAG,CAAA;;;;;;;;;;;;;KAajC,CAAC;IAEJ,MAAM,CAAU,UAAU,GAAG;QAC3B,gBAAgB,EAAE,MAAM;QACxB,wBAAwB,EAAE,MAAM;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C,kCAAkC,EAAE,CAAC;YAC1C,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC;IACL,CAAC;;AAGH,cAAc,CAAC,MAAM,CAAC,oDAAoD,EAAE,YAAY,CAAC,CAAC"}
|
package/dist/index-min.js
CHANGED
|
@@ -1195,7 +1195,7 @@ declare global {
|
|
|
1195
1195
|
button:focus {
|
|
1196
1196
|
box-shadow: inset 0 3px 0 var(--highlight-pink, #e91e63);
|
|
1197
1197
|
}
|
|
1198
|
-
`;static properties={serviceContainer:Object,instanceServiceContainer:Object,selectedItems:Array,propertyGroupHover:Function,propertyGroupClick:Function,propertyContextMenuProvider:Function};constructor(){super(),this._designerTabControl=new Ue,this.shadowRoot.appendChild(this._designerTabControl),this._restoreCachedInititalValues(),this.addEventListener("contextmenu",e=>{e.composedPath()[0].localName!="input"&&e.preventDefault()}),this._itemsObserver=new MutationObserver(e=>this._mutationOccured())}set serviceContainer(e){this._serviceContainer=e,this._propertyGridPropertyLists=[],this._propertyGridPropertyListsDict={}}get serviceContainer(){return this._serviceContainer}set instanceServiceContainer(e){this._instanceServiceContainer=e,this._selectionChangedHandler?.dispose(),this.
|
|
1198
|
+
`;static properties={serviceContainer:Object,instanceServiceContainer:Object,selectedItems:Array,propertyGroupHover:Function,propertyGroupClick:Function,propertyContextMenuProvider:Function};constructor(){super(),this._designerTabControl=new Ue,this.shadowRoot.appendChild(this._designerTabControl),this._restoreCachedInititalValues(),this.addEventListener("contextmenu",e=>{e.composedPath()[0].localName!="input"&&e.preventDefault()}),this._itemsObserver=new MutationObserver(e=>this._mutationOccured())}set serviceContainer(e){this._serviceContainer=e,this._propertyGridPropertyLists=[],this._propertyGridPropertyListsDict={}}get serviceContainer(){return this._serviceContainer}set instanceServiceContainer(e){this._instanceServiceContainer=e,this._selectionChangedHandler?.dispose(),this._instanceServiceContainer?(this._selectionChangedHandler=this._instanceServiceContainer.selectionService.onSelectionChanged.on(t=>{this.selectedItems=t.selectedElements}),this.selectedItems=this._instanceServiceContainer.selectionService.selectedElements):this.selectedItems=[]}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems!=e&&(this._selectedItems=e,this._selectedItemsSet())}async _selectedItemsSet(){let e=this._serviceContainer.propertyGroupService.getPropertygroups(this._selectedItems),t=new Set;for(let r of e){let n=this._propertyGridPropertyListsDict[r.name];n||(n=new we(this.serviceContainer),n.title=r.name,n.propertyGroupHover=this.propertyGroupHover,n.propertyGroupClick=this.propertyGroupClick,n.propertyContextMenuProvider=this.propertyContextMenuProvider,this._designerTabControl.appendChild(n),this._propertyGridPropertyLists.push(n),this._propertyGridPropertyListsDict[r.name]=n),n.setPropertiesService(r.propertiesService),await n.createElements(this._selectedItems[0])&&t.add(r.name)}let i=this._designerTabControl;for(let r of t){let n=this._propertyGridPropertyListsDict[r],o=n.scrollTop;i===this._designerTabControl?i.insertAdjacentElement("afterbegin",n):i.insertAdjacentElement("afterend",n),i=n,n.scrollTo(0,o)}for(let r of this._propertyGridPropertyLists)t.has(r.title)?r.style.display="block":r.style.display="none";this._designerTabControl.refreshItems(),this._designerTabControl.selectedIndex<0&&(this._designerTabControl.selectedIndex=0);for(let r of this._propertyGridPropertyLists)t.has(r.title)&&r.designItemsChanged(this._selectedItems);if(this._selectedItems){if(this._selectedItems.length==1){for(let r of this._propertyGridPropertyLists)t.has(r.title)&&r.refreshForDesignItems(this._selectedItems);this._observePrimarySelectionForChanges()}}else this._itemsObserver.disconnect(),this._nodeReplacedCb?.dispose(),this._nodeReplacedCb=null}_blockDoubleRun=!1;async _mutationOccured(){if(!this._blockDoubleRun){this._blockDoubleRun=!0;for(let e of this._propertyGridPropertyLists)e.propertiesService?.getRefreshMode(this._selectedItems[0])==G.fullOnValueChange&&(await e.createElements(this._selectedItems[0]),e.designItemsChanged(this._selectedItems)),e.refreshForDesignItems(this._selectedItems);this._blockDoubleRun=!1}}_observePrimarySelectionForChanges(){this._nodeReplacedCb?.dispose(),this._itemsObserver.disconnect(),this._itemsObserver.observe(this._selectedItems[0].element,{attributes:!0,childList:!1,characterData:!1}),this._nodeReplacedCb=this._selectedItems[0].nodeReplaced.on(()=>{this._observePrimarySelectionForChanges(),this._mutationOccured()})}};customElements.define("node-projects-web-component-designer-property-grid",Rc);Ee();X();import{BaseCustomWebComponentLazyAppend as dm,css as pm,html as mm}from"@node-projects/base-custom-webcomponent";ot();var zc=class extends dm{static style=pm`
|
|
1199
1199
|
:host {
|
|
1200
1200
|
display: block;
|
|
1201
1201
|
height: 100%;
|
|
@@ -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}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};
|
|
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,ai as DesignerCanvas,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/dist/index.d.ts
CHANGED
|
@@ -174,6 +174,7 @@ export * from "./elements/widgets/propertyGrid/PropertyGridPropertyList.js";
|
|
|
174
174
|
export * from "./elements/widgets/propertyGrid/PropertyGridWithHeader.js";
|
|
175
175
|
export type { IDesignerCanvas } from "./elements/widgets/designerView/IDesignerCanvas.js";
|
|
176
176
|
export * from "./elements/widgets/designerView/designerView.js";
|
|
177
|
+
export * from "./elements/widgets/designerView/designerCanvas.js";
|
|
177
178
|
export * from "./elements/widgets/designerView/overlayLayerView.js";
|
|
178
179
|
export * from "./elements/widgets/designerView/defaultConfiguredDesignerView.js";
|
|
179
180
|
export * from "./elements/widgets/designerView/DomConverter.js";
|
package/dist/index.js
CHANGED
|
@@ -120,6 +120,7 @@ export * from "./elements/widgets/propertyGrid/PropertyGrid.js";
|
|
|
120
120
|
export * from "./elements/widgets/propertyGrid/PropertyGridPropertyList.js";
|
|
121
121
|
export * from "./elements/widgets/propertyGrid/PropertyGridWithHeader.js";
|
|
122
122
|
export * from "./elements/widgets/designerView/designerView.js";
|
|
123
|
+
export * from "./elements/widgets/designerView/designerCanvas.js";
|
|
123
124
|
export * from "./elements/widgets/designerView/overlayLayerView.js";
|
|
124
125
|
export * from "./elements/widgets/designerView/defaultConfiguredDesignerView.js";
|
|
125
126
|
export * from "./elements/widgets/designerView/DomConverter.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{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