@social-mail/social-mail-client 1.4.16 → 1.4.18
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/public/channel/ChannelApp.pack.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/site-editor/editor/webComponentsPath.js +1 -1
- package/dist/site-editor/styler/properties/layouts/items-position/itemsPosition.js +46 -46
- package/dist/site-editor/styler/properties/layouts/items-position/itemsPosition.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +47 -47
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +2 -2
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/webComponentsPath.ts +1 -1
- package/src/site-editor/styler/properties/layouts/items-position/itemsPosition.ts +46 -46
|
@@ -29050,7 +29050,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
29050
29050
|
});
|
|
29051
29051
|
}
|
|
29052
29052
|
});
|
|
29053
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
29053
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.161`;
|
|
29054
29054
|
}
|
|
29055
29055
|
};
|
|
29056
29056
|
});
|
|
@@ -1392,7 +1392,7 @@ html, body {
|
|
|
1392
1392
|
& .warning {
|
|
1393
1393
|
background-color: lightyellow;
|
|
1394
1394
|
}
|
|
1395
|
-
`.installLocal()}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/services/NotificationPopup");System.register(["tslib","../../App","../../Atom","../../core/AtomLoader","../../core/AtomUri","../../core/FormattedError","../../core/FormattedString","../../core/types","../../di/Inject","../../di/RegisterSingleton","../../di/ServiceCollection","../../services/JsonService","../../services/NavigationService","../../view-model/AtomWindowViewModel","../../web/core/AtomUI","../controls/AtomAlertWindow","../controls/AtomNotification","../controls/AtomWindow","../styles/AtomPopupStyle","../styles/AtomStyleSheet","../styles/StyleBuilder","./NotificationPopup","./PopupService"],(function(_export,_context){"use strict";var __awaiter,__decorate,__metadata,__param,App,Atom,AtomLoader,AtomUri,FormattedError,FormattedString,CancelToken,Inject,RegisterSingleton,Scope,ServiceCollection,JsonService,NavigationService,AtomWindowViewModel,AtomUI,AtomAlertWindow,AtomNotification,AtomWindow,AtomPopupStyle,AtomStyleSheet,cssNumberToString,NotificationPopup,PopupService,WindowService;return{setters:[function(_tslib){__awaiter=_tslib.__awaiter;__decorate=_tslib.__decorate;__metadata=_tslib.__metadata;__param=_tslib.__param},function(_App){App=_App.App},function(_Atom){Atom=_Atom.Atom},function(_coreAtomLoader){AtomLoader=_coreAtomLoader.AtomLoader},function(_coreAtomUri){AtomUri=_coreAtomUri.AtomUri},function(_coreFormattedError){FormattedError=_coreFormattedError.default},function(_coreFormattedString){FormattedString=_coreFormattedString.default},function(_coreTypes){CancelToken=_coreTypes.CancelToken},function(_diInject){Inject=_diInject.Inject},function(_diRegisterSingleton){RegisterSingleton=_diRegisterSingleton.RegisterSingleton},function(_diServiceCollection){Scope=_diServiceCollection.Scope;ServiceCollection=_diServiceCollection.ServiceCollection},function(_servicesJsonService){JsonService=_servicesJsonService.JsonService},function(_servicesNavigationService){NavigationService=_servicesNavigationService.NavigationService},function(_viewModelAtomWindowViewModel){AtomWindowViewModel=_viewModelAtomWindowViewModel.AtomWindowViewModel},function(_webCoreAtomUI){AtomUI=_webCoreAtomUI.AtomUI},function(_controlsAtomAlertWindow){AtomAlertWindow=_controlsAtomAlertWindow.default},function(_controlsAtomNotification){AtomNotification=_controlsAtomNotification.default},function(_controlsAtomWindow){AtomWindow=_controlsAtomWindow.AtomWindow},function(_stylesAtomPopupStyle){AtomPopupStyle=_stylesAtomPopupStyle.AtomPopupStyle},function(_stylesAtomStyleSheet){AtomStyleSheet=_stylesAtomStyleSheet.AtomStyleSheet},function(_stylesStyleBuilder){cssNumberToString=_stylesStyleBuilder.cssNumberToString},function(_NotificationPopup){NotificationPopup=_NotificationPopup.default},function(_PopupService){PopupService=_PopupService.default}],execute:function(){_export("WindowService",WindowService=class WindowService extends NavigationService{get title(){return window.document.title}set title(v){window.document.title=v}get location(){return new AtomUri(location.href)}set location(v){location.href=v.toString()}constructor(app,jsonService){super(app);this.jsonService=jsonService;this.popups=[];this.hostForElementFunc=[];this.lastPopupID=0;this.screen=app.screen;let st="desktop";if(/mobile|android|ios/i.test(window.navigator.userAgent)){st="mobile";if(/tablet/i.test(window.navigator.userAgent)){st="tablet"}}this.screen.screenType=st;if(window){const update=e=>{this.refreshScreen()};if(st!=="mobile"){window.addEventListener("resize",update);window.addEventListener("scroll",update);document.body.addEventListener("scroll",update);document.body.addEventListener("resize",update)}setTimeout((()=>{update(null)}),1e3)}}registerHostForWindow(f){this.hostForElementFunc.push(f);return{dispose:()=>{this.hostForElementFunc.remove(f)}}}navigate(url){location.href=url}back(){window.history.back()}register(id,type){ServiceCollection.instance.register(type,null,Scope.Transient,id)}confirm(message,title){return PopupService.confirm({message,title})}alert(message,title){if(!(message instanceof FormattedString||typeof message==="string")){if(message instanceof FormattedError){message=message.formattedMessage}else{message=message.message?message.message:message.toString()}}return PopupService.alert({message,title})}refresh(){location.reload()}getHostForElement(){const ce=PopupService.lastTarget;if(!ce){return null}for(const iterator of this.hostForElementFunc){const e=iterator(ce);if(e){return e}}return null}refreshScreen(){const height=this.screen.height=window.innerHeight||document.body.clientHeight;const width=this.screen.width=window.innerWidth||document.body.clientWidth;this.screen.scrollLeft=window.scrollX||document.body.scrollLeft||0;this.screen.scrollTop=window.scrollY||document.body.scrollTop||0;this.screen.orientation=width>height?"landscape":"portrait"}notify(message,title,type,delay){return __awaiter(this,void 0,void 0,(function*(){try{const notification=NotificationPopup({message,type});const cancelToken=new CancelToken(delay!==null&&delay!==void 0?delay:5e3);yield notification.showWindow(notification,{title,cancelToken})}catch(ex){console.error(ex)}}))}openWindow(url,options){return __awaiter(this,void 0,void 0,(function*(){yield Atom.delay(1);const lastTarget=PopupService.lastTarget;const{view:popup,returnPromise,disposables}=yield AtomLoader.loadView(url,this.app,true,(()=>this.app.resolve(AtomWindowViewModel,true)));if(options&&options.onInit){options.onInit(popup)}const cancelToken=options.cancelToken;if(cancelToken){if(cancelToken.cancelled){this.app.callLater((()=>{this.remove(popup,true)}))}cancelToken.registerForCancel((()=>{this.remove(popup,true)}))}const e=popup.element;let isPopup=true;if(popup instanceof AtomWindow){isPopup=false;e.style.opacity="0"}popup.registerDisposable({dispose:()=>{PopupService.lastTarget=lastTarget}});if(isPopup){const root=popup.element;const last=PopupService.lastTarget;const closePopup=et=>{let target=et.target;while(target){if(target===root||target===last){return}target=target.parentElement}this.remove(popup,true)};document.body.addEventListener("click",closePopup);popup.registerDisposable({dispose:()=>{document.body.removeEventListener("click",closePopup)}})}e._logicalParent=lastTarget;e.sourceUrl=url;const pvm=popup.viewModel;if(pvm){let ce=PopupService.lastTarget;if(ce){while(!ce.atomControl){ce=ce.parentElement;if(!ce){break}}if(ce&&ce.atomControl&&ce.atomControl.viewModel){pvm.parent=ce.atomControl.viewModel}}}const theme=this.app.get(AtomStyleSheet).getNamedStyle(AtomPopupStyle);e.style.zIndex=1e4+this.lastPopupID+"";const isNotification=popup instanceof AtomNotification;if(isPopup){const sr=AtomUI.screenOffset(PopupService.lastTarget);const x=sr.x;const y=sr.y;const h=sr.height;e.style.position="absolute";e.style.left=x+"px";e.style.top=y+h+"px";e.classList.add(theme.name);this.popups.push(popup);disposables.add((()=>{this.popups.remove(popup)}));document.body.appendChild(e);if(isNotification){e.style.opacity="0";this.centerElement(popup)}}else{const eHost=(options===null||options===void 0?void 0:options.modal)?null:this.getHostForElement();if(eHost){eHost.appendChild(e)}else{const host=document.createElement("div");document.body.appendChild(host);host.style.position="absolute";host.appendChild(e);disposables.add({dispose(){host.remove()}});this.refreshScreen();popup.bind(host,"styleLeft",[["this","scrollLeft"]],false,cssNumberToString,this.screen);popup.bind(host,"styleTop",[["this","scrollTop"]],false,cssNumberToString,this.screen);popup.bind(host,"styleWidth",[["this","width"]],false,cssNumberToString,this.screen);popup.bind(host,"styleHeight",[["this","height"]],false,cssNumberToString,this.screen)}}popup.bindEvent(document.body,"keyup",(keyboardEvent=>{if(keyboardEvent.key==="Escape"){this.app.runAsync((()=>this.remove(popup)))}}));disposables.add({dispose:()=>{e.innerHTML="";e.remove()}});return yield returnPromise}))}centerElement(c){const e=c.element;const parent=e.parentElement;if(parent===window||parent===document.body){setTimeout((()=>{const ew=(document.body.offsetWidth-e.offsetWidth)/2;const eh=window.scrollY+(window.innerHeight-e.offsetHeight)/2;e.style.left=`${ew}px`;e.style.top=`${eh}px`;e.style.removeProperty("opacity")}),200);return}if(parent.offsetWidth<=0||parent.offsetHeight<=0){setTimeout((()=>{this.centerElement(c)}),100);return}if(e.offsetWidth<=0||e.offsetHeight<=0){setTimeout((()=>{this.centerElement(c)}),100);return}const x=(parent.offsetWidth-e.offsetWidth)/2;const y=(parent.offsetHeight-e.offsetHeight)/2;e.style.left=`${x}px`;e.style.top=`${y}px`;e.style.removeProperty("opacity")}});WindowService.alertWindow=AtomAlertWindow;_export("WindowService",WindowService=__decorate([RegisterSingleton,__param(0,Inject),__param(1,Inject),__metadata("design:paramtypes",[App,JsonService])],WindowService))}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/services/WindowService");System.register(["tslib","../../App","../../core/Colors","../../di/Inject","../../di/RegisterSingleton","../../services/NavigationService","../styles/AtomStyleSheet"],(function(_export,_context){"use strict";var __decorate,__metadata,__param,App,Colors,Inject,RegisterSingleton,NavigationService,AtomStyleSheet,AtomTheme;return{setters:[function(_tslib){__decorate=_tslib.__decorate;__metadata=_tslib.__metadata;__param=_tslib.__param},function(_App){App=_App.App},function(_coreColors){Colors=_coreColors.default},function(_diInject){Inject=_diInject.Inject},function(_diRegisterSingleton){RegisterSingleton=_diRegisterSingleton.RegisterSingleton},function(_servicesNavigationService){NavigationService=_servicesNavigationService.NavigationService},function(_stylesAtomStyleSheet){AtomStyleSheet=_stylesAtomStyleSheet.AtomStyleSheet}],execute:function(){_export("AtomTheme",AtomTheme=class AtomTheme extends AtomStyleSheet{constructor(app,navigationService){super(app,"atom-theme");this.navigationService=navigationService;this.bgColor=Colors.white;this.color=Colors.gray;this.hoverColor=Colors.lightGray;this.activeColor=Colors.lightBlue;this.selectedBgColor=Colors.blue;this.selectedColor=Colors.white;this.padding=5;setTimeout((()=>{window.addEventListener("resize",(()=>{setTimeout((()=>{this.pushUpdate()}),10)}));document.body.addEventListener("resize",(()=>{setTimeout((()=>{this.pushUpdate()}),10)}))}),1e3)}});_export("AtomTheme",AtomTheme=__decorate([RegisterSingleton,__param(0,Inject),__param(1,Inject),__metadata("design:paramtypes",[App,NavigationService])],AtomTheme))}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/styles/AtomTheme");System.register(["../App","../core/AtomOnce","../core/AtomUri","../di/ServiceCollection","../services/BusyIndicatorService","../services/NavigationService","./services/WebBusyIndicatorService","./services/WindowService","./styles/AtomStyleSheet","./styles/AtomTheme"],(function(_export,_context){"use strict";var App,AtomOnce,AtomUri,ServiceCollection,BusyIndicatorService,NavigationService,WebBusyIndicatorService,WindowService,AtomStyleSheet,AtomTheme,WebApp;_export("default",void 0);return{setters:[function(_App){App=_App.App},function(_coreAtomOnce){AtomOnce=_coreAtomOnce.AtomOnce},function(_coreAtomUri){AtomUri=_coreAtomUri.AtomUri},function(_diServiceCollection){ServiceCollection=_diServiceCollection.ServiceCollection},function(_servicesBusyIndicatorService){BusyIndicatorService=_servicesBusyIndicatorService.BusyIndicatorService},function(_servicesNavigationService){NavigationService=_servicesNavigationService.NavigationService},function(_servicesWebBusyIndicatorService){WebBusyIndicatorService=_servicesWebBusyIndicatorService.WebBusyIndicatorService},function(_servicesWindowService){WindowService=_servicesWindowService.WindowService},function(_stylesAtomStyleSheet){AtomStyleSheet=_stylesAtomStyleSheet.AtomStyleSheet},function(_stylesAtomTheme){AtomTheme=_stylesAtomTheme.AtomTheme}],execute:function(){_export("default",WebApp=class WebApp extends App{get parentElement(){return document.body}get root(){return this.mRoot}set root(v){const old=this.mRoot;if(old){old.dispose()}this.mRoot=v;if(!v){return}const pe=this.parentElement;const de=Array.from(pe.children);for(const iterator of de){iterator.remove()}pe.appendChild(v.element)}get theme(){return this.get(AtomStyleSheet)}set theme(v){this.put(AtomTheme,v);this.put(AtomStyleSheet,v)}get contextId(){var _a;(_a=this.mContextId)!==null&&_a!==void 0?_a:this.mContextId=parseInt((this.url.hash.contextId||"0").toString(),10);if(!this.mContextId){for(let index=0;index<100;index++){const cid=`contextId${index}`;const cidData=sessionStorage.getItem(`contextId${index}`);if(!cidData){this.mContextId=index;sessionStorage.setItem(cid,cid);this.url.hash.contextId=index;this.syncUrl();break}}}return`contextId_${this.mContextId}`}constructor(){super();this.hashUpdater=new AtomOnce;this.url=new AtomUri(location.href);this.put(NavigationService,this.resolve(WindowService));this.put(WebApp,this);this.put(BusyIndicatorService,this.resolve(WebBusyIndicatorService));ServiceCollection.instance.registerSingleton(AtomStyleSheet,(sp=>sp.resolve(AtomTheme)));window.addEventListener("hashchange",(()=>{this.hashUpdater.run((()=>{this.url=new AtomUri(location.href)}))}));this.initPromise=new Promise(((resolve,reject)=>{this.onReady(resolve)}))}updateDefaultStyle(textContent){if(this.styleElement){if(this.styleElement.textContent===textContent){return}}const ss=document.createElement("style");ss.textContent=textContent;if(this.styleElement){this.styleElement.remove()}document.head.appendChild(ss);this.styleElement=ss}syncUrl(){this.hashUpdater.run((()=>{const currentUrl=new AtomUri(location.href);const sourceHash=this.url.hash;const keyValues=[];let modified=false;for(const key in sourceHash){if(/^\_\$\_/.test(key)){continue}if(sourceHash.hasOwnProperty(key)){const element=sourceHash[key];const cv=currentUrl.hash[key];if(element!==undefined){keyValues.push({key,value:element})}if(cv===element){continue}modified=true}}if(!modified){return}const hash=keyValues.map((s=>`${s.key}=${encodeURIComponent(s.value)}`)).join("&");location.hash=hash}))}invokeReady(){if(document.readyState==="complete"){super.invokeReady();return}document.addEventListener("readystatechange",(e=>{super.invokeReady()}))}});(function(){if(typeof window.CustomEvent==="function"){return false}function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:null};const evt=document.createEvent("CustomEvent");evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt}window.CustomEvent=CustomEvent})()}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/WebApp");System.register(["tslib","@web-atoms/core/dist/core/sleep","@web-atoms/core/dist/services/FetchBuilder"],(function(_export,_context){"use strict";var __awaiter,sleep,FetchBuilder,CustomElementsProxy,WebComponents,webComponentsInstalled,addAttributes;_export("WebComponents",void 0);return{setters:[function(_tslib){__awaiter=_tslib.__awaiter},function(_webAtomsCoreDistCoreSleep){sleep=_webAtomsCoreDistCoreSleep.default},function(_webAtomsCoreDistServicesFetchBuilder){FetchBuilder=_webAtomsCoreDistServicesFetchBuilder.default}],execute:function(){webComponentsInstalled=Symbol("webComponentsInstalled");CustomElementsProxy=class CustomElementsProxy{constructor(elements=[]){this.elements=elements}define(name,factory){this.elements.push({name,factory})}};addAttributes=(target,values)=>{Object.defineProperty(target.prototype,"editableAttributes",{enumerable:true,configurable:true,get(){return values(this)}})};_export("WebComponents",WebComponents=class WebComponents{static run(frame,doc){return __awaiter(this,void 0,void 0,(function*(){if(doc[webComponentsInstalled]){return}doc[webComponentsInstalled]=true;const url=this.path+"/dist/editable.js";frame.sandbox.add("allow-scripts");const text=yield FetchBuilder.get(url).asText();const proxy=new CustomElementsProxy;const win=doc.defaultView;const globals={window:win,document:win.document,Object:win.Object,Promise,console:win.console,Boolean:win.Boolean,String:win.String,Number:win.Number,Math:win.Math,Date:win.Date,Proxy:win.Proxy,Map:win.Map,Array:win.Array,RegExp:win.RegExp,PromiseRejectionEvent:win.PromiseRejectionEvent,setTimeout:(cb,n)=>setTimeout(cb,n),setInterval:(cb,n)=>setInterval(cb,n),clearTimeout:n=>clearTimeout(n),clearInterval:n=>clearInterval(n),Reflect:win.Reflect,requestAnimationFrame:win.requestAnimationFrame,requestIdleCallback:win.requestIdleCallback,Symbol:win.Symbol,HTMLElement:win.HTMLElement,MutationObserver:class extends win.MutationObserver{constructor(a){super(a)}},IntersectionObserver:class extends win.IntersectionObserver{constructor(a){super(a)}},customElements:proxy};win.HTMLElement.prototype.addEventListener=function(type,listener,options){return win.EventTarget.prototype.addEventListener.call(this,type,listener,options)};const keys=Object.keys(globals);const init=`${keys.map((x=>`var ${x} = globalWindow[${JSON.stringify(x)}]`)).join(";\n")}`;const sourceMappingURL=this.path+"/dist/editable.js.map";const script=`\n "use strict";\n ${init};\n Symbol.dispose ||= Symbol("dispose");\n ;${text.replace("//# sourceMappingURL=editable.js.map","//# sourceMappingURL="+sourceMappingURL)}\n `;const fx=new doc.defaultView.Function("globalWindow",script);fx.call(win,globals);addAttributes(win.HTMLElement,(()=>[{name:"title",type:"string",display:"Tool Tip"},{name:"lang",type:"lang",display:"Language"}]));addAttributes(win.HTMLAnchorElement,(()=>[{name:"href",type:"string",display:"Link"},{name:"target",type:"string",suggest:["_blank"],display:"Target"}]));addAttributes(win.HTMLImageElement,(()=>[{name:"src",type:"image",display:"Image"},{name:"alt",type:"string",display:"Alt"}]));addAttributes(win.HTMLVideoElement,(()=>[{name:"src",type:"video",display:"Video"},{name:"poster",type:"image",display:"Poster"},{name:"autoplay",type:"boolean",display:"Auto Play"},{name:"loop",type:"boolean",display:"Loop"},{name:"muted",type:"boolean",display:"Muted"}]));yield sleep(10);for(const{name,factory}of proxy.elements){doc.defaultView.customElements.define(name,factory)}frame.sandbox.remove("allow-scripts")}))}});WebComponents.path=`//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.160`}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/editor/webComponentsPath");System.register(["@web-atoms/core/dist/style/styled","../../../common/TestMode"],(function(_export,_context){"use strict";var styled,AppLocation,channelViewStyle;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_commonTestMode){AppLocation=_commonTestMode.AppLocation}],execute:function(){styled.css`
|
|
1395
|
+
`.installLocal()}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/services/NotificationPopup");System.register(["tslib","../../App","../../Atom","../../core/AtomLoader","../../core/AtomUri","../../core/FormattedError","../../core/FormattedString","../../core/types","../../di/Inject","../../di/RegisterSingleton","../../di/ServiceCollection","../../services/JsonService","../../services/NavigationService","../../view-model/AtomWindowViewModel","../../web/core/AtomUI","../controls/AtomAlertWindow","../controls/AtomNotification","../controls/AtomWindow","../styles/AtomPopupStyle","../styles/AtomStyleSheet","../styles/StyleBuilder","./NotificationPopup","./PopupService"],(function(_export,_context){"use strict";var __awaiter,__decorate,__metadata,__param,App,Atom,AtomLoader,AtomUri,FormattedError,FormattedString,CancelToken,Inject,RegisterSingleton,Scope,ServiceCollection,JsonService,NavigationService,AtomWindowViewModel,AtomUI,AtomAlertWindow,AtomNotification,AtomWindow,AtomPopupStyle,AtomStyleSheet,cssNumberToString,NotificationPopup,PopupService,WindowService;return{setters:[function(_tslib){__awaiter=_tslib.__awaiter;__decorate=_tslib.__decorate;__metadata=_tslib.__metadata;__param=_tslib.__param},function(_App){App=_App.App},function(_Atom){Atom=_Atom.Atom},function(_coreAtomLoader){AtomLoader=_coreAtomLoader.AtomLoader},function(_coreAtomUri){AtomUri=_coreAtomUri.AtomUri},function(_coreFormattedError){FormattedError=_coreFormattedError.default},function(_coreFormattedString){FormattedString=_coreFormattedString.default},function(_coreTypes){CancelToken=_coreTypes.CancelToken},function(_diInject){Inject=_diInject.Inject},function(_diRegisterSingleton){RegisterSingleton=_diRegisterSingleton.RegisterSingleton},function(_diServiceCollection){Scope=_diServiceCollection.Scope;ServiceCollection=_diServiceCollection.ServiceCollection},function(_servicesJsonService){JsonService=_servicesJsonService.JsonService},function(_servicesNavigationService){NavigationService=_servicesNavigationService.NavigationService},function(_viewModelAtomWindowViewModel){AtomWindowViewModel=_viewModelAtomWindowViewModel.AtomWindowViewModel},function(_webCoreAtomUI){AtomUI=_webCoreAtomUI.AtomUI},function(_controlsAtomAlertWindow){AtomAlertWindow=_controlsAtomAlertWindow.default},function(_controlsAtomNotification){AtomNotification=_controlsAtomNotification.default},function(_controlsAtomWindow){AtomWindow=_controlsAtomWindow.AtomWindow},function(_stylesAtomPopupStyle){AtomPopupStyle=_stylesAtomPopupStyle.AtomPopupStyle},function(_stylesAtomStyleSheet){AtomStyleSheet=_stylesAtomStyleSheet.AtomStyleSheet},function(_stylesStyleBuilder){cssNumberToString=_stylesStyleBuilder.cssNumberToString},function(_NotificationPopup){NotificationPopup=_NotificationPopup.default},function(_PopupService){PopupService=_PopupService.default}],execute:function(){_export("WindowService",WindowService=class WindowService extends NavigationService{get title(){return window.document.title}set title(v){window.document.title=v}get location(){return new AtomUri(location.href)}set location(v){location.href=v.toString()}constructor(app,jsonService){super(app);this.jsonService=jsonService;this.popups=[];this.hostForElementFunc=[];this.lastPopupID=0;this.screen=app.screen;let st="desktop";if(/mobile|android|ios/i.test(window.navigator.userAgent)){st="mobile";if(/tablet/i.test(window.navigator.userAgent)){st="tablet"}}this.screen.screenType=st;if(window){const update=e=>{this.refreshScreen()};if(st!=="mobile"){window.addEventListener("resize",update);window.addEventListener("scroll",update);document.body.addEventListener("scroll",update);document.body.addEventListener("resize",update)}setTimeout((()=>{update(null)}),1e3)}}registerHostForWindow(f){this.hostForElementFunc.push(f);return{dispose:()=>{this.hostForElementFunc.remove(f)}}}navigate(url){location.href=url}back(){window.history.back()}register(id,type){ServiceCollection.instance.register(type,null,Scope.Transient,id)}confirm(message,title){return PopupService.confirm({message,title})}alert(message,title){if(!(message instanceof FormattedString||typeof message==="string")){if(message instanceof FormattedError){message=message.formattedMessage}else{message=message.message?message.message:message.toString()}}return PopupService.alert({message,title})}refresh(){location.reload()}getHostForElement(){const ce=PopupService.lastTarget;if(!ce){return null}for(const iterator of this.hostForElementFunc){const e=iterator(ce);if(e){return e}}return null}refreshScreen(){const height=this.screen.height=window.innerHeight||document.body.clientHeight;const width=this.screen.width=window.innerWidth||document.body.clientWidth;this.screen.scrollLeft=window.scrollX||document.body.scrollLeft||0;this.screen.scrollTop=window.scrollY||document.body.scrollTop||0;this.screen.orientation=width>height?"landscape":"portrait"}notify(message,title,type,delay){return __awaiter(this,void 0,void 0,(function*(){try{const notification=NotificationPopup({message,type});const cancelToken=new CancelToken(delay!==null&&delay!==void 0?delay:5e3);yield notification.showWindow(notification,{title,cancelToken})}catch(ex){console.error(ex)}}))}openWindow(url,options){return __awaiter(this,void 0,void 0,(function*(){yield Atom.delay(1);const lastTarget=PopupService.lastTarget;const{view:popup,returnPromise,disposables}=yield AtomLoader.loadView(url,this.app,true,(()=>this.app.resolve(AtomWindowViewModel,true)));if(options&&options.onInit){options.onInit(popup)}const cancelToken=options.cancelToken;if(cancelToken){if(cancelToken.cancelled){this.app.callLater((()=>{this.remove(popup,true)}))}cancelToken.registerForCancel((()=>{this.remove(popup,true)}))}const e=popup.element;let isPopup=true;if(popup instanceof AtomWindow){isPopup=false;e.style.opacity="0"}popup.registerDisposable({dispose:()=>{PopupService.lastTarget=lastTarget}});if(isPopup){const root=popup.element;const last=PopupService.lastTarget;const closePopup=et=>{let target=et.target;while(target){if(target===root||target===last){return}target=target.parentElement}this.remove(popup,true)};document.body.addEventListener("click",closePopup);popup.registerDisposable({dispose:()=>{document.body.removeEventListener("click",closePopup)}})}e._logicalParent=lastTarget;e.sourceUrl=url;const pvm=popup.viewModel;if(pvm){let ce=PopupService.lastTarget;if(ce){while(!ce.atomControl){ce=ce.parentElement;if(!ce){break}}if(ce&&ce.atomControl&&ce.atomControl.viewModel){pvm.parent=ce.atomControl.viewModel}}}const theme=this.app.get(AtomStyleSheet).getNamedStyle(AtomPopupStyle);e.style.zIndex=1e4+this.lastPopupID+"";const isNotification=popup instanceof AtomNotification;if(isPopup){const sr=AtomUI.screenOffset(PopupService.lastTarget);const x=sr.x;const y=sr.y;const h=sr.height;e.style.position="absolute";e.style.left=x+"px";e.style.top=y+h+"px";e.classList.add(theme.name);this.popups.push(popup);disposables.add((()=>{this.popups.remove(popup)}));document.body.appendChild(e);if(isNotification){e.style.opacity="0";this.centerElement(popup)}}else{const eHost=(options===null||options===void 0?void 0:options.modal)?null:this.getHostForElement();if(eHost){eHost.appendChild(e)}else{const host=document.createElement("div");document.body.appendChild(host);host.style.position="absolute";host.appendChild(e);disposables.add({dispose(){host.remove()}});this.refreshScreen();popup.bind(host,"styleLeft",[["this","scrollLeft"]],false,cssNumberToString,this.screen);popup.bind(host,"styleTop",[["this","scrollTop"]],false,cssNumberToString,this.screen);popup.bind(host,"styleWidth",[["this","width"]],false,cssNumberToString,this.screen);popup.bind(host,"styleHeight",[["this","height"]],false,cssNumberToString,this.screen)}}popup.bindEvent(document.body,"keyup",(keyboardEvent=>{if(keyboardEvent.key==="Escape"){this.app.runAsync((()=>this.remove(popup)))}}));disposables.add({dispose:()=>{e.innerHTML="";e.remove()}});return yield returnPromise}))}centerElement(c){const e=c.element;const parent=e.parentElement;if(parent===window||parent===document.body){setTimeout((()=>{const ew=(document.body.offsetWidth-e.offsetWidth)/2;const eh=window.scrollY+(window.innerHeight-e.offsetHeight)/2;e.style.left=`${ew}px`;e.style.top=`${eh}px`;e.style.removeProperty("opacity")}),200);return}if(parent.offsetWidth<=0||parent.offsetHeight<=0){setTimeout((()=>{this.centerElement(c)}),100);return}if(e.offsetWidth<=0||e.offsetHeight<=0){setTimeout((()=>{this.centerElement(c)}),100);return}const x=(parent.offsetWidth-e.offsetWidth)/2;const y=(parent.offsetHeight-e.offsetHeight)/2;e.style.left=`${x}px`;e.style.top=`${y}px`;e.style.removeProperty("opacity")}});WindowService.alertWindow=AtomAlertWindow;_export("WindowService",WindowService=__decorate([RegisterSingleton,__param(0,Inject),__param(1,Inject),__metadata("design:paramtypes",[App,JsonService])],WindowService))}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/services/WindowService");System.register(["tslib","../../App","../../core/Colors","../../di/Inject","../../di/RegisterSingleton","../../services/NavigationService","../styles/AtomStyleSheet"],(function(_export,_context){"use strict";var __decorate,__metadata,__param,App,Colors,Inject,RegisterSingleton,NavigationService,AtomStyleSheet,AtomTheme;return{setters:[function(_tslib){__decorate=_tslib.__decorate;__metadata=_tslib.__metadata;__param=_tslib.__param},function(_App){App=_App.App},function(_coreColors){Colors=_coreColors.default},function(_diInject){Inject=_diInject.Inject},function(_diRegisterSingleton){RegisterSingleton=_diRegisterSingleton.RegisterSingleton},function(_servicesNavigationService){NavigationService=_servicesNavigationService.NavigationService},function(_stylesAtomStyleSheet){AtomStyleSheet=_stylesAtomStyleSheet.AtomStyleSheet}],execute:function(){_export("AtomTheme",AtomTheme=class AtomTheme extends AtomStyleSheet{constructor(app,navigationService){super(app,"atom-theme");this.navigationService=navigationService;this.bgColor=Colors.white;this.color=Colors.gray;this.hoverColor=Colors.lightGray;this.activeColor=Colors.lightBlue;this.selectedBgColor=Colors.blue;this.selectedColor=Colors.white;this.padding=5;setTimeout((()=>{window.addEventListener("resize",(()=>{setTimeout((()=>{this.pushUpdate()}),10)}));document.body.addEventListener("resize",(()=>{setTimeout((()=>{this.pushUpdate()}),10)}))}),1e3)}});_export("AtomTheme",AtomTheme=__decorate([RegisterSingleton,__param(0,Inject),__param(1,Inject),__metadata("design:paramtypes",[App,NavigationService])],AtomTheme))}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/styles/AtomTheme");System.register(["../App","../core/AtomOnce","../core/AtomUri","../di/ServiceCollection","../services/BusyIndicatorService","../services/NavigationService","./services/WebBusyIndicatorService","./services/WindowService","./styles/AtomStyleSheet","./styles/AtomTheme"],(function(_export,_context){"use strict";var App,AtomOnce,AtomUri,ServiceCollection,BusyIndicatorService,NavigationService,WebBusyIndicatorService,WindowService,AtomStyleSheet,AtomTheme,WebApp;_export("default",void 0);return{setters:[function(_App){App=_App.App},function(_coreAtomOnce){AtomOnce=_coreAtomOnce.AtomOnce},function(_coreAtomUri){AtomUri=_coreAtomUri.AtomUri},function(_diServiceCollection){ServiceCollection=_diServiceCollection.ServiceCollection},function(_servicesBusyIndicatorService){BusyIndicatorService=_servicesBusyIndicatorService.BusyIndicatorService},function(_servicesNavigationService){NavigationService=_servicesNavigationService.NavigationService},function(_servicesWebBusyIndicatorService){WebBusyIndicatorService=_servicesWebBusyIndicatorService.WebBusyIndicatorService},function(_servicesWindowService){WindowService=_servicesWindowService.WindowService},function(_stylesAtomStyleSheet){AtomStyleSheet=_stylesAtomStyleSheet.AtomStyleSheet},function(_stylesAtomTheme){AtomTheme=_stylesAtomTheme.AtomTheme}],execute:function(){_export("default",WebApp=class WebApp extends App{get parentElement(){return document.body}get root(){return this.mRoot}set root(v){const old=this.mRoot;if(old){old.dispose()}this.mRoot=v;if(!v){return}const pe=this.parentElement;const de=Array.from(pe.children);for(const iterator of de){iterator.remove()}pe.appendChild(v.element)}get theme(){return this.get(AtomStyleSheet)}set theme(v){this.put(AtomTheme,v);this.put(AtomStyleSheet,v)}get contextId(){var _a;(_a=this.mContextId)!==null&&_a!==void 0?_a:this.mContextId=parseInt((this.url.hash.contextId||"0").toString(),10);if(!this.mContextId){for(let index=0;index<100;index++){const cid=`contextId${index}`;const cidData=sessionStorage.getItem(`contextId${index}`);if(!cidData){this.mContextId=index;sessionStorage.setItem(cid,cid);this.url.hash.contextId=index;this.syncUrl();break}}}return`contextId_${this.mContextId}`}constructor(){super();this.hashUpdater=new AtomOnce;this.url=new AtomUri(location.href);this.put(NavigationService,this.resolve(WindowService));this.put(WebApp,this);this.put(BusyIndicatorService,this.resolve(WebBusyIndicatorService));ServiceCollection.instance.registerSingleton(AtomStyleSheet,(sp=>sp.resolve(AtomTheme)));window.addEventListener("hashchange",(()=>{this.hashUpdater.run((()=>{this.url=new AtomUri(location.href)}))}));this.initPromise=new Promise(((resolve,reject)=>{this.onReady(resolve)}))}updateDefaultStyle(textContent){if(this.styleElement){if(this.styleElement.textContent===textContent){return}}const ss=document.createElement("style");ss.textContent=textContent;if(this.styleElement){this.styleElement.remove()}document.head.appendChild(ss);this.styleElement=ss}syncUrl(){this.hashUpdater.run((()=>{const currentUrl=new AtomUri(location.href);const sourceHash=this.url.hash;const keyValues=[];let modified=false;for(const key in sourceHash){if(/^\_\$\_/.test(key)){continue}if(sourceHash.hasOwnProperty(key)){const element=sourceHash[key];const cv=currentUrl.hash[key];if(element!==undefined){keyValues.push({key,value:element})}if(cv===element){continue}modified=true}}if(!modified){return}const hash=keyValues.map((s=>`${s.key}=${encodeURIComponent(s.value)}`)).join("&");location.hash=hash}))}invokeReady(){if(document.readyState==="complete"){super.invokeReady();return}document.addEventListener("readystatechange",(e=>{super.invokeReady()}))}});(function(){if(typeof window.CustomEvent==="function"){return false}function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:null};const evt=document.createEvent("CustomEvent");evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt}window.CustomEvent=CustomEvent})()}}}));AmdLoader.instance.setup("@web-atoms/core/dist/web/WebApp");System.register(["tslib","@web-atoms/core/dist/core/sleep","@web-atoms/core/dist/services/FetchBuilder"],(function(_export,_context){"use strict";var __awaiter,sleep,FetchBuilder,CustomElementsProxy,WebComponents,webComponentsInstalled,addAttributes;_export("WebComponents",void 0);return{setters:[function(_tslib){__awaiter=_tslib.__awaiter},function(_webAtomsCoreDistCoreSleep){sleep=_webAtomsCoreDistCoreSleep.default},function(_webAtomsCoreDistServicesFetchBuilder){FetchBuilder=_webAtomsCoreDistServicesFetchBuilder.default}],execute:function(){webComponentsInstalled=Symbol("webComponentsInstalled");CustomElementsProxy=class CustomElementsProxy{constructor(elements=[]){this.elements=elements}define(name,factory){this.elements.push({name,factory})}};addAttributes=(target,values)=>{Object.defineProperty(target.prototype,"editableAttributes",{enumerable:true,configurable:true,get(){return values(this)}})};_export("WebComponents",WebComponents=class WebComponents{static run(frame,doc){return __awaiter(this,void 0,void 0,(function*(){if(doc[webComponentsInstalled]){return}doc[webComponentsInstalled]=true;const url=this.path+"/dist/editable.js";frame.sandbox.add("allow-scripts");const text=yield FetchBuilder.get(url).asText();const proxy=new CustomElementsProxy;const win=doc.defaultView;const globals={window:win,document:win.document,Object:win.Object,Promise,console:win.console,Boolean:win.Boolean,String:win.String,Number:win.Number,Math:win.Math,Date:win.Date,Proxy:win.Proxy,Map:win.Map,Array:win.Array,RegExp:win.RegExp,PromiseRejectionEvent:win.PromiseRejectionEvent,setTimeout:(cb,n)=>setTimeout(cb,n),setInterval:(cb,n)=>setInterval(cb,n),clearTimeout:n=>clearTimeout(n),clearInterval:n=>clearInterval(n),Reflect:win.Reflect,requestAnimationFrame:win.requestAnimationFrame,requestIdleCallback:win.requestIdleCallback,Symbol:win.Symbol,HTMLElement:win.HTMLElement,MutationObserver:class extends win.MutationObserver{constructor(a){super(a)}},IntersectionObserver:class extends win.IntersectionObserver{constructor(a){super(a)}},customElements:proxy};win.HTMLElement.prototype.addEventListener=function(type,listener,options){return win.EventTarget.prototype.addEventListener.call(this,type,listener,options)};const keys=Object.keys(globals);const init=`${keys.map((x=>`var ${x} = globalWindow[${JSON.stringify(x)}]`)).join(";\n")}`;const sourceMappingURL=this.path+"/dist/editable.js.map";const script=`\n "use strict";\n ${init};\n Symbol.dispose ||= Symbol("dispose");\n ;${text.replace("//# sourceMappingURL=editable.js.map","//# sourceMappingURL="+sourceMappingURL)}\n `;const fx=new doc.defaultView.Function("globalWindow",script);fx.call(win,globals);addAttributes(win.HTMLElement,(()=>[{name:"title",type:"string",display:"Tool Tip"},{name:"lang",type:"lang",display:"Language"}]));addAttributes(win.HTMLAnchorElement,(()=>[{name:"href",type:"string",display:"Link"},{name:"target",type:"string",suggest:["_blank"],display:"Target"}]));addAttributes(win.HTMLImageElement,(()=>[{name:"src",type:"image",display:"Image"},{name:"alt",type:"string",display:"Alt"}]));addAttributes(win.HTMLVideoElement,(()=>[{name:"src",type:"video",display:"Video"},{name:"poster",type:"image",display:"Poster"},{name:"autoplay",type:"boolean",display:"Auto Play"},{name:"loop",type:"boolean",display:"Loop"},{name:"muted",type:"boolean",display:"Muted"}]));yield sleep(10);for(const{name,factory}of proxy.elements){doc.defaultView.customElements.define(name,factory)}frame.sandbox.remove("allow-scripts")}))}});WebComponents.path=`//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.161`}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/editor/webComponentsPath");System.register(["@web-atoms/core/dist/style/styled","../../../common/TestMode"],(function(_export,_context){"use strict";var styled,AppLocation,channelViewStyle;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_commonTestMode){AppLocation=_commonTestMode.AppLocation}],execute:function(){styled.css`
|
|
1396
1396
|
|
|
1397
1397
|
box-sizing: border-box;
|
|
1398
1398
|
|
|
@@ -156,7 +156,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
159
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.161`;
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
});
|
|
@@ -48,67 +48,67 @@ System.register(["@web-atoms/core/dist/style/styled", "../../../Styler"], functi
|
|
|
48
48
|
}),
|
|
49
49
|
stylerGridRow: new StylerProperty("styler-grid-row", {
|
|
50
50
|
"custom": styled.css`grid-row: var(--styler-grid-row);`,
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
51
|
+
"row-1": styled.css`grid-row: 1;`,
|
|
52
|
+
"row-2": styled.css`grid-row: 2;`,
|
|
53
|
+
"row-3": styled.css`grid-row: 3;`,
|
|
54
|
+
"row-4": styled.css`grid-row: 4;`,
|
|
55
|
+
"row-1-span-2": styled.css`grid-row: 1 / span 2;`,
|
|
56
|
+
"row-1-span-3": styled.css`grid-row: 1 / span 3;`,
|
|
57
|
+
"row-1-span-4": styled.css`grid-row: 1 / span 4;`,
|
|
58
|
+
"row-2-span-2": styled.css`grid-row: 2 / span 2;`,
|
|
59
|
+
"row-2-span-3": styled.css`grid-row: 2 / span 3;`,
|
|
60
|
+
"row-2-span-4": styled.css`grid-row: 2 / span 4;`,
|
|
61
|
+
"row-3-span-2": styled.css`grid-row: 3 / span 2;`,
|
|
62
|
+
"row-3-span-3": styled.css`grid-row: 3 / span 3;`,
|
|
63
|
+
"row-3-span-4": styled.css`grid-row: 3 / span 4;`,
|
|
64
|
+
"row-4-span-2": styled.css`grid-row: 4 / span 2;`,
|
|
65
|
+
"row-4-span-3": styled.css`grid-row: 4 / span 3;`,
|
|
66
|
+
"row-4-span-4": styled.css`grid-row: 4 / span 4;`
|
|
67
67
|
}),
|
|
68
68
|
stylerGridRowStart: new StylerProperty("styler-grid-row-start", {
|
|
69
69
|
"custom": styled.css`grid-row-start: var(--styler-grid-row-start);`,
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
70
|
+
"row-1": styled.css`grid-row-start: 1;`,
|
|
71
|
+
"row-2": styled.css`grid-row-start: 2;`,
|
|
72
|
+
"row-3": styled.css`grid-row-start: 3;`,
|
|
73
|
+
"row-4": styled.css`grid-row-start: 4;`
|
|
74
74
|
}),
|
|
75
75
|
stylerGridRowEnd: new StylerProperty("styler-grid-row-end", {
|
|
76
76
|
"custom": styled.css`grid-row-end: var(--styler-grid-row-end);`,
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
77
|
+
"span-2": styled.css`grid-row-start: span 2;`,
|
|
78
|
+
"span-3": styled.css`grid-row-start: span 3;`,
|
|
79
|
+
"span-4": styled.css`grid-row-start: span 4;`
|
|
80
80
|
}),
|
|
81
81
|
stylerGridColumn: new StylerProperty("styler-grid-column", {
|
|
82
82
|
"custom": styled.css`grid-column: var(--styler-grid-column);`,
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
83
|
+
"column-1": styled.css`grid-column: 1;`,
|
|
84
|
+
"column-2": styled.css`grid-column: 2;`,
|
|
85
|
+
"column-3": styled.css`grid-column: 3;`,
|
|
86
|
+
"column-4": styled.css`grid-column: 4;`,
|
|
87
|
+
"column-1-span-2": styled.css`grid-column: 1 / span 2;`,
|
|
88
|
+
"column-1-span-3": styled.css`grid-column: 1 / span 3;`,
|
|
89
|
+
"column-1-span-4": styled.css`grid-column: 1 / span 4;`,
|
|
90
|
+
"column-2-span-2": styled.css`grid-column: 2 / span 2;`,
|
|
91
|
+
"column-2-span-3": styled.css`grid-column: 2 / span 3;`,
|
|
92
|
+
"column-2-span-4": styled.css`grid-column: 2 / span 4;`,
|
|
93
|
+
"column-3-span-2": styled.css`grid-column: 3 / span 2;`,
|
|
94
|
+
"column-3-span-3": styled.css`grid-column: 3 / span 3;`,
|
|
95
|
+
"column-3-span-4": styled.css`grid-column: 3 / span 4;`,
|
|
96
|
+
"column-4-span-2": styled.css`grid-column: 4 / span 2;`,
|
|
97
|
+
"column-4-span-3": styled.css`grid-column: 4 / span 3;`,
|
|
98
|
+
"column-4-span-4": styled.css`grid-column: 4 / span 4;`
|
|
99
99
|
}),
|
|
100
100
|
stylerGridColumnStart: new StylerProperty("styler-grid-column-start", {
|
|
101
101
|
"custom": styled.css`grid-column-start: var(--styler-grid-column-start);`,
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
102
|
+
"column-1": styled.css`grid-column-start: 1;`,
|
|
103
|
+
"column-2": styled.css`grid-column-start: 2;`,
|
|
104
|
+
"column-3": styled.css`grid-column-start: 3;`,
|
|
105
|
+
"column-4": styled.css`grid-column-start: 4;`
|
|
106
106
|
}),
|
|
107
107
|
stylerGridColumnEnd: new StylerProperty("styler-grid-column-end", {
|
|
108
108
|
"custom": styled.css`grid-column-end: var(--styler-grid-column-end);`,
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
109
|
+
"span-2": styled.css`grid-column-start: span 2;`,
|
|
110
|
+
"span-3": styled.css`grid-column-start: span 3;`,
|
|
111
|
+
"span-4": styled.css`grid-column-start: span 4;`
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styled","_webAtomsCoreDistStyleStyled","default","_Styler","StylerProperty","createSet","createVarSet","pair","sizeVarList","execute","_export","itemPositions","stylerAlignContent","stylerAlignItems","stylerAlignSelf","stylerJustifyItems","stylerJustifyContent","stylerJustifySelf","stylerGap","stylerRowGap","stylerColumnGap","stylerFlexWrap","stylerGridTemplateRows","css","stylerGridTemplateColumns","stylerGridRow","stylerGridRowStart","stylerGridRowEnd","stylerGridColumn","stylerGridColumnStart","stylerGridColumnEnd"],"sources":["../../../../../../src/site-editor/styler/properties/layouts/items-position/itemsPosition.ts"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,MAAM,GAAAC,4BAAA,CAAAC,OAAA;IAAA,aAAAC,OAAA;MACJC,cAAc,GAAAD,OAAA,CAAdC,cAAc;MAAEC,SAAS,GAAAF,OAAA,CAATE,SAAS;MAAEC,YAAY,GAAAH,OAAA,CAAZG,YAAY;MAAEC,IAAI,GAAAJ,OAAA,CAAJI,IAAI;MAAEC,WAAW,GAAAL,O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,EAAEvB,MAAM,CAACuB,GAAI,yCAAyC;UACjE,gBAAgB,EAAEvB,MAAM,CAACuB,GAAI;SAChC,CAAC;QAEFE,aAAa,EAAE,IAAIrB,cAAc,CAAC,iBAAiB,EAAE;UACjD,QAAQ,EAAEJ,MAAM,CAACuB,GAAI,mCAAmC;UACxD,
|
|
1
|
+
{"version":3,"names":["styled","_webAtomsCoreDistStyleStyled","default","_Styler","StylerProperty","createSet","createVarSet","pair","sizeVarList","execute","_export","itemPositions","stylerAlignContent","stylerAlignItems","stylerAlignSelf","stylerJustifyItems","stylerJustifyContent","stylerJustifySelf","stylerGap","stylerRowGap","stylerColumnGap","stylerFlexWrap","stylerGridTemplateRows","css","stylerGridTemplateColumns","stylerGridRow","stylerGridRowStart","stylerGridRowEnd","stylerGridColumn","stylerGridColumnStart","stylerGridColumnEnd"],"sources":["../../../../../../src/site-editor/styler/properties/layouts/items-position/itemsPosition.ts"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,MAAM,GAAAC,4BAAA,CAAAC,OAAA;IAAA,aAAAC,OAAA;MACJC,cAAc,GAAAD,OAAA,CAAdC,cAAc;MAAEC,SAAS,GAAAF,OAAA,CAATE,SAAS;MAAEC,YAAY,GAAAH,OAAA,CAAZG,YAAY;MAAEC,IAAI,GAAAJ,OAAA,CAAJI,IAAI;MAAEC,WAAW,GAAAL,OAAA,CAAXK,WAAW;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAC,OAAA,kBAEtDC,aAAa,GAAG;QACzBC,kBAAkB,EAAE,IAAIR,cAAc,CAAC,sBAAsB,EACzDC,SAAS,CAAC,eAAe,EAAC,CACtB,QAAQ,EAAE,OAAO,EAAG,KAAK,EAAG,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAC1E,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAC1DE,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,EAClCA,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,E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AQ,EAAEvB,MAAM,CAACuB,GAAI,4BAA4B;UACjD,QAAQ,EAAEvB,MAAM,CAACuB,GAAI,4BAA4B;UACjD,QAAQ,EAAEvB,MAAM,CAACuB,GAAI;SACxB;OAEJ;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -52196,67 +52196,67 @@ System.register(["@web-atoms/core/dist/style/styled", "../../../Styler"], functi
|
|
|
52196
52196
|
}),
|
|
52197
52197
|
stylerGridRow: new StylerProperty("styler-grid-row", {
|
|
52198
52198
|
"custom": styled.css`grid-row: var(--styler-grid-row);`,
|
|
52199
|
-
"
|
|
52200
|
-
"
|
|
52201
|
-
"
|
|
52202
|
-
"
|
|
52203
|
-
"
|
|
52204
|
-
"
|
|
52205
|
-
"
|
|
52206
|
-
"
|
|
52207
|
-
"
|
|
52208
|
-
"
|
|
52209
|
-
"
|
|
52210
|
-
"
|
|
52211
|
-
"
|
|
52212
|
-
"
|
|
52213
|
-
"
|
|
52214
|
-
"
|
|
52199
|
+
"row-1": styled.css`grid-row: 1;`,
|
|
52200
|
+
"row-2": styled.css`grid-row: 2;`,
|
|
52201
|
+
"row-3": styled.css`grid-row: 3;`,
|
|
52202
|
+
"row-4": styled.css`grid-row: 4;`,
|
|
52203
|
+
"row-1-span-2": styled.css`grid-row: 1 / span 2;`,
|
|
52204
|
+
"row-1-span-3": styled.css`grid-row: 1 / span 3;`,
|
|
52205
|
+
"row-1-span-4": styled.css`grid-row: 1 / span 4;`,
|
|
52206
|
+
"row-2-span-2": styled.css`grid-row: 2 / span 2;`,
|
|
52207
|
+
"row-2-span-3": styled.css`grid-row: 2 / span 3;`,
|
|
52208
|
+
"row-2-span-4": styled.css`grid-row: 2 / span 4;`,
|
|
52209
|
+
"row-3-span-2": styled.css`grid-row: 3 / span 2;`,
|
|
52210
|
+
"row-3-span-3": styled.css`grid-row: 3 / span 3;`,
|
|
52211
|
+
"row-3-span-4": styled.css`grid-row: 3 / span 4;`,
|
|
52212
|
+
"row-4-span-2": styled.css`grid-row: 4 / span 2;`,
|
|
52213
|
+
"row-4-span-3": styled.css`grid-row: 4 / span 3;`,
|
|
52214
|
+
"row-4-span-4": styled.css`grid-row: 4 / span 4;`
|
|
52215
52215
|
}),
|
|
52216
52216
|
stylerGridRowStart: new StylerProperty("styler-grid-row-start", {
|
|
52217
52217
|
"custom": styled.css`grid-row-start: var(--styler-grid-row-start);`,
|
|
52218
|
-
"
|
|
52219
|
-
"
|
|
52220
|
-
"
|
|
52221
|
-
"
|
|
52218
|
+
"row-1": styled.css`grid-row-start: 1;`,
|
|
52219
|
+
"row-2": styled.css`grid-row-start: 2;`,
|
|
52220
|
+
"row-3": styled.css`grid-row-start: 3;`,
|
|
52221
|
+
"row-4": styled.css`grid-row-start: 4;`
|
|
52222
52222
|
}),
|
|
52223
52223
|
stylerGridRowEnd: new StylerProperty("styler-grid-row-end", {
|
|
52224
52224
|
"custom": styled.css`grid-row-end: var(--styler-grid-row-end);`,
|
|
52225
|
-
"
|
|
52226
|
-
"
|
|
52227
|
-
"
|
|
52225
|
+
"span-2": styled.css`grid-row-start: span 2;`,
|
|
52226
|
+
"span-3": styled.css`grid-row-start: span 3;`,
|
|
52227
|
+
"span-4": styled.css`grid-row-start: span 4;`
|
|
52228
52228
|
}),
|
|
52229
52229
|
stylerGridColumn: new StylerProperty("styler-grid-column", {
|
|
52230
52230
|
"custom": styled.css`grid-column: var(--styler-grid-column);`,
|
|
52231
|
-
"
|
|
52232
|
-
"
|
|
52233
|
-
"
|
|
52234
|
-
"
|
|
52235
|
-
"
|
|
52236
|
-
"
|
|
52237
|
-
"
|
|
52238
|
-
"
|
|
52239
|
-
"
|
|
52240
|
-
"
|
|
52241
|
-
"
|
|
52242
|
-
"
|
|
52243
|
-
"
|
|
52244
|
-
"
|
|
52245
|
-
"
|
|
52246
|
-
"
|
|
52231
|
+
"column-1": styled.css`grid-column: 1;`,
|
|
52232
|
+
"column-2": styled.css`grid-column: 2;`,
|
|
52233
|
+
"column-3": styled.css`grid-column: 3;`,
|
|
52234
|
+
"column-4": styled.css`grid-column: 4;`,
|
|
52235
|
+
"column-1-span-2": styled.css`grid-column: 1 / span 2;`,
|
|
52236
|
+
"column-1-span-3": styled.css`grid-column: 1 / span 3;`,
|
|
52237
|
+
"column-1-span-4": styled.css`grid-column: 1 / span 4;`,
|
|
52238
|
+
"column-2-span-2": styled.css`grid-column: 2 / span 2;`,
|
|
52239
|
+
"column-2-span-3": styled.css`grid-column: 2 / span 3;`,
|
|
52240
|
+
"column-2-span-4": styled.css`grid-column: 2 / span 4;`,
|
|
52241
|
+
"column-3-span-2": styled.css`grid-column: 3 / span 2;`,
|
|
52242
|
+
"column-3-span-3": styled.css`grid-column: 3 / span 3;`,
|
|
52243
|
+
"column-3-span-4": styled.css`grid-column: 3 / span 4;`,
|
|
52244
|
+
"column-4-span-2": styled.css`grid-column: 4 / span 2;`,
|
|
52245
|
+
"column-4-span-3": styled.css`grid-column: 4 / span 3;`,
|
|
52246
|
+
"column-4-span-4": styled.css`grid-column: 4 / span 4;`
|
|
52247
52247
|
}),
|
|
52248
52248
|
stylerGridColumnStart: new StylerProperty("styler-grid-column-start", {
|
|
52249
52249
|
"custom": styled.css`grid-column-start: var(--styler-grid-column-start);`,
|
|
52250
|
-
"
|
|
52251
|
-
"
|
|
52252
|
-
"
|
|
52253
|
-
"
|
|
52250
|
+
"column-1": styled.css`grid-column-start: 1;`,
|
|
52251
|
+
"column-2": styled.css`grid-column-start: 2;`,
|
|
52252
|
+
"column-3": styled.css`grid-column-start: 3;`,
|
|
52253
|
+
"column-4": styled.css`grid-column-start: 4;`
|
|
52254
52254
|
}),
|
|
52255
52255
|
stylerGridColumnEnd: new StylerProperty("styler-grid-column-end", {
|
|
52256
52256
|
"custom": styled.css`grid-column-end: var(--styler-grid-column-end);`,
|
|
52257
|
-
"
|
|
52258
|
-
"
|
|
52259
|
-
"
|
|
52257
|
+
"span-2": styled.css`grid-column-start: span 2;`,
|
|
52258
|
+
"span-3": styled.css`grid-column-start: span 3;`,
|
|
52259
|
+
"span-4": styled.css`grid-column-start: span 4;`
|
|
52260
52260
|
})
|
|
52261
52261
|
});
|
|
52262
52262
|
}
|
|
@@ -56194,7 +56194,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
56194
56194
|
});
|
|
56195
56195
|
}
|
|
56196
56196
|
});
|
|
56197
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
56197
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.161`;
|
|
56198
56198
|
}
|
|
56199
56199
|
};
|
|
56200
56200
|
});
|