angular-nodegui
Advanced tools
Comparing version
@@ -7,4 +7,6 @@ /** | ||
export { NodeguiRendererFactory as ɵe } from './lib/renderer'; | ||
export { NodeGuiLocationStrategy as ɵf } from './lib/router/location-strategy'; | ||
export { NodeguiPlatformLocation as ɵg } from './lib/router/platform-location'; | ||
export { NodeguiSanitizer as ɵa } from './lib/sanitizer'; | ||
export { NodeguiElementSchemaRegistry as ɵb } from './lib/schema-registry'; | ||
export { QWindowService as ɵc } from './lib/window'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"platformNodeguiDynamic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":13,"character":38},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser-dynamic","name":"ɵplatformCoreDynamic","line":14,"character":2},"NodeguiDynamic",[{"provide":{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":17,"character":15},"useValue":{}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer","line":18,"character":15},"useClass":{"__symbolic":"reference","name":"ɵa"},"deps":[]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":20,"character":15},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ElementSchemaRegistry","line":24,"character":21},"useClass":{"__symbolic":"reference","name":"ɵb"},"deps":[]}]},"multi":true}]]},"platformNodeguiStatic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":12,"character":37},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"platformCore","line":13,"character":2},"NodeguiStatic",[{"provide":{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":16,"character":15},"useValue":{}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer","line":17,"character":15},"useClass":{"__symbolic":"reference","name":"ɵa"},"deps":[]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":19,"character":15},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ElementSchemaRegistry","line":23,"character":21},"useClass":{"__symbolic":"reference","name":"ɵb"},"deps":[]}]},"multi":true}]]},"NodeguiErrorHandler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"handleError":[{"__symbolic":"method"}]}},"NodeguiLibModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":19,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","module":"@angular/core","name":"ApplicationModule","line":20,"character":12}],"providers":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"RendererFactory2","line":25,"character":15},"useClass":{"__symbolic":"reference","name":"ɵe"},"deps":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ErrorHandler","line":29,"character":15},"useClass":{"__symbolic":"reference","name":"NodeguiErrorHandler"}}]}]}],"members":{}},"HttpFetchBackend":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/common/http","name":"HttpBackend","line":13,"character":38},"members":{"handle":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer","line":2,"character":38},"members":{"sanitize":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"ElementSchemaRegistry","line":3,"character":50},"members":{"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":19,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":15,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}]}],"end":[{"__symbolic":"method"}],"createRenderer":[{"__symbolic":"method"}]}}},"origins":{"platformNodeguiDynamic":"./lib/platform-dynamic","platformNodeguiStatic":"./lib/platform-static","NodeguiErrorHandler":"./lib/nodegui-lib.module","NodeguiLibModule":"./lib/nodegui-lib.module","HttpFetchBackend":"./lib/http-fetch-backend","ɵa":"./lib/sanitizer","ɵb":"./lib/schema-registry","ɵc":"./lib/window","ɵd":"./lib/components/components-map","ɵe":"./lib/renderer"},"importAs":"angular-nodegui"} | ||
{"__symbolic":"module","version":4,"metadata":{"platformNodeguiDynamic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":13,"character":38},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser-dynamic","name":"ɵplatformCoreDynamic","line":14,"character":2},"NodeguiDynamic",[{"provide":{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":17,"character":15},"useValue":{}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer","line":18,"character":15},"useClass":{"__symbolic":"reference","name":"ɵa"},"deps":[]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":20,"character":15},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ElementSchemaRegistry","line":24,"character":21},"useClass":{"__symbolic":"reference","name":"ɵb"},"deps":[]}]},"multi":true}]]},"platformNodeguiStatic":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"createPlatformFactory","line":12,"character":37},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"platformCore","line":13,"character":2},"NodeguiStatic",[{"provide":{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":16,"character":15},"useValue":{}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer","line":17,"character":15},"useClass":{"__symbolic":"reference","name":"ɵa"},"deps":[]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"COMPILER_OPTIONS","line":19,"character":15},"useValue":{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/compiler","name":"ElementSchemaRegistry","line":23,"character":21},"useClass":{"__symbolic":"reference","name":"ɵb"},"deps":[]}]},"multi":true}]]},"NodeguiErrorHandler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":16,"character":1}}],"members":{"handleError":[{"__symbolic":"method"}]}},"NodeguiLibModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":23,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","module":"@angular/core","name":"ApplicationModule","line":24,"character":12}],"providers":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"RendererFactory2","line":29,"character":15},"useClass":{"__symbolic":"reference","name":"ɵe"},"deps":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}]},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"ErrorHandler","line":33,"character":15},"useClass":{"__symbolic":"reference","name":"NodeguiErrorHandler"}},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"ViewportScroller","line":34,"character":15},"useClass":{"__symbolic":"reference","module":"@angular/common","name":"ɵNullViewportScroller","line":34,"character":43}}]}]}],"members":{}},"HttpFetchBackend":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/common/http","name":"HttpBackend","line":13,"character":38},"members":{"handle":[{"__symbolic":"method"}]}},"NodeguiRouterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":23,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":24,"character":12}],"exports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":25,"character":12}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":26,"character":12}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["routes","config"],"value":{"ngModule":{"__symbolic":"reference","name":"NodeguiRouterModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":36,"character":11},"member":"forRoot"},"arguments":[{"__symbolic":"reference","name":"routes"},{"__symbolic":"reference","name":"config"}]},"member":"providers"}},{"provide":{"__symbolic":"reference","name":"ɵf"},"useFactory":{"__symbolic":"reference","name":"provideLocationStrategy"},"deps":[[{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":16,"character":41}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":16,"character":57}}]]},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy","line":18,"character":13},"useExisting":{"__symbolic":"reference","name":"ɵf"}},{"__symbolic":"reference","name":"ɵg"},{"provide":{"__symbolic":"reference","module":"@angular/common","name":"PlatformLocation","line":20,"character":13},"useExisting":{"__symbolic":"reference","name":"ɵg"}}]}},"forChild":{"__symbolic":"function","parameters":["routes"],"value":{"ngModule":{"__symbolic":"reference","name":"NodeguiRouterModule"},"providers":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":45,"character":17},"member":"forChild"},"arguments":[{"__symbolic":"reference","name":"routes"}]},"member":"providers"}}}}},"provideLocationStrategy":{"__symbolic":"function","parameters":["locationStrategy"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"locationStrategy"},"thenExpression":{"__symbolic":"reference","name":"locationStrategy"},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵf"}}}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer","line":2,"character":38},"members":{"sanitize":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/compiler","name":"ElementSchemaRegistry","line":3,"character":50},"members":{"hasProperty":[{"__symbolic":"method"}],"hasElement":[{"__symbolic":"method"}],"getMappedPropName":[{"__symbolic":"method"}],"getDefaultComponentElementName":[{"__symbolic":"method"}],"securityContext":[{"__symbolic":"method"}],"validateProperty":[{"__symbolic":"method"}],"validateAttribute":[{"__symbolic":"method"}],"allKnownElementNames":[{"__symbolic":"method"}],"normalizeAnimationStyleProperty":[{"__symbolic":"method"}],"normalizeAnimationStyleValue":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":19,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}]}],"end":[{"__symbolic":"method"}],"createRenderer":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/common","name":"LocationStrategy","line":5,"character":45},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/common","name":"PlatformLocation","line":5,"character":45},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵf"}]}],"getState":[{"__symbolic":"method"}],"getBaseHrefFromDOM":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onHashChange":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}}},"origins":{"platformNodeguiDynamic":"./lib/platform-dynamic","platformNodeguiStatic":"./lib/platform-static","NodeguiErrorHandler":"./lib/nodegui-lib.module","NodeguiLibModule":"./lib/nodegui-lib.module","HttpFetchBackend":"./lib/http-fetch-backend","NodeguiRouterModule":"./lib/router/router.module","provideLocationStrategy":"./lib/router/router.module","ɵa":"./lib/sanitizer","ɵb":"./lib/schema-registry","ɵc":"./lib/window","ɵd":"./lib/components/components-map","ɵe":"./lib/renderer","ɵf":"./lib/router/location-strategy","ɵg":"./lib/router/platform-location"},"importAs":"angular-nodegui"} |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/platform-browser-dynamic"),require("@angular/common"),require("@angular/compiler"),require("@nodegui/nodegui"),require("@angular/common/http"),require("rxjs"),require("node-fetch")):"function"==typeof define&&define.amd?define("angular-nodegui",["exports","@angular/core","@angular/platform-browser-dynamic","@angular/common","@angular/compiler","@nodegui/nodegui","@angular/common/http","rxjs","node-fetch"],e):e((t=t||self)["angular-nodegui"]={},t.ng.core,t.ng.platformBrowserDynamic,t.ng.common,t.ng.compiler,t.nodegui,t.ng.common.http,t.rxjs,t.fetch)}(this,(function(t,e,o,n,r,i,p,s,a){"use strict";a=a&&a.hasOwnProperty("default")?a.default:a; | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/platform-browser-dynamic"),require("@angular/common"),require("@angular/compiler"),require("@nodegui/nodegui"),require("@angular/common/http"),require("rxjs"),require("node-fetch"),require("@angular/router")):"function"==typeof define&&define.amd?define("angular-nodegui",["exports","@angular/core","@angular/platform-browser-dynamic","@angular/common","@angular/compiler","@nodegui/nodegui","@angular/common/http","rxjs","node-fetch","@angular/router"],e):e((t=t||self)["angular-nodegui"]={},t.ng.core,t.ng.platformBrowserDynamic,t.ng.common,t.ng.compiler,t.nodegui,t.ng.common.http,t.rxjs,t.fetch,t.ng.router)}(this,(function(t,e,o,n,r,i,p,a,s,u){"use strict";s=s&&s.hasOwnProperty("default")?s.default:s; | ||
/*! ***************************************************************************** | ||
@@ -16,3 +16,3 @@ Copyright (c) Microsoft Corporation. All rights reserved. | ||
***************************************************************************** */ | ||
var u=function(t,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};function l(t,e){function o(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}function c(t){var e="function"==typeof Symbol&&t[Symbol.iterator],o=0;return e?e.call(t):{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}}}function d(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,i=o.call(t),p=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)p.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return p}var h=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return l(o,t),o.prototype.hasProperty=function(t,e){return!0},o.prototype.hasElement=function(t,e){return!0},o.prototype.getMappedPropName=function(t){return t},o.prototype.getDefaultComponentElementName=function(){return"ng-component"},o.prototype.securityContext=function(t,o){return e.SecurityContext.NONE},o.prototype.validateProperty=function(t){return{error:!1}},o.prototype.validateAttribute=function(t){return{error:!1}},o.prototype.allKnownElementNames=function(){return[]},o.prototype.normalizeAnimationStyleProperty=function(t){return t},o.prototype.normalizeAnimationStyleValue=function(t,e,o){return{error:null,value:o.toString()}},o}(r.ElementSchemaRegistry),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.sanitize=function(t,e){return e},e}(e.Sanitizer),y={providers:[{provide:r.ElementSchemaRegistry,useClass:h,deps:[]}]},f=e.createPlatformFactory(o.ɵplatformCoreDynamic,"NodeguiDynamic",[{provide:n.DOCUMENT,useValue:{}},{provide:e.Sanitizer,useClass:m,deps:[]},{provide:e.COMPILER_OPTIONS,useValue:y,multi:!0}]),w={providers:[{provide:r.ElementSchemaRegistry,useClass:h,deps:[]}]},v=e.createPlatformFactory(e.platformCore,"NodeguiStatic",[{provide:n.DOCUMENT,useValue:{}},{provide:e.Sanitizer,useClass:m,deps:[]},{provide:e.COMPILER_OPTIONS,useValue:w,multi:!0}]),b=function(){function t(){this.window=new i.QMainWindow,this.centralWidget=new i.QWidget,this.centralWidget.setObjectName("myroot")}return t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}();var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){this.addWidget(t)},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"title":this.parent.setWindowTitle(e);break;case"id":this.parent.setObjectName(e)}},e.prototype.setProperty=function(t,e){throw new Error("Method not implemented.")},e.prototype.setStyle=function(t,e,o){throw new Error("Method not implemented.")},e.prototype.setValue=function(t){throw new Error("Method not implemented.")},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="window",e}(i.FlexLayout);var E=function(t){function e(e){var o=t.call(this)||this;return o.value=e,o}return l(e,t),e.prototype.setValue=function(t){this.parent.setText(t)},e}(i.QWidget);var M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t instanceof E?(t.parent=this,this.setText(t.value)):console.warn("Button may be appendChild only TextField")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e);break;case"flat":this.setFlat(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="button",e}(i.QPushButton);var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t instanceof E?(t.parent=this,this.setText(t.value)):console.warn("Text may be appendChild only TextField")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"style":this.setStyleSheet(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="text",e}(i.QLabel);var S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){if(t){if(!this.layout){var e=new i.FlexLayout;e.setFlexNode(this.getFlexNode()),this.setLayout(e),this.layout=e}this.layout.addWidget(t)}},e.prototype.insertBefore=function(t,e){this.layout?this.layout.insertChildBefore(t,this):console.warn("parent has no layout to insert child before another child")},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){throw new Error("Method not implemented.")},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){throw new Error("Method not implemented.")},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="view",e}(i.QWidget);var C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t instanceof E?(t.parent=this,this.setText(t.value)):console.warn("checkbox may be appendChild only TextField")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"checked":this.setChecked(e);break;case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="checkbox",e}(i.QCheckBox);var x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("dial do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e);break;case"notchesVisible":this.setNotchesVisible(e);break;case"wrapping":this.setWrapping(e);break;case"notchTarget":this.setNotchTarget(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="dial",e}(i.QDial);var P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("image not supported appendChild")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e);break;case"src":if(!e)return;var o=new i.QPixmap(e);this.setPixmap(o);break;case"aspectRatioMode":this.setAspectRatioMode(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.setAspectRatioMode=function(t){this.aspectRatioMode=t},e.prototype.scalePixmap=function(e,o){if(this.originalPixmap)return t.prototype.setPixmap.call(this,this.originalPixmap.scaled(e,o,this.aspectRatioMode))},e.prototype.setPixmap=function(e){t.prototype.setPixmap.call(this,e),this.originalPixmap=e},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="image",e}(i.QLabel);var A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){throw new Error("Method not implemented.")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"text":e?this.setText(e):this.clear();break;case"placeholderText":this.setPlaceholderText(e);break;case"readOnly":this.setReadOnly(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="linedit",e}(i.QLineEdit);var O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("plaintextedit do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"text":e?this.setPlainText(e):this.clear();break;case"placeholderText":this.setPlaceholderText(e);break;case"readOnly":this.setReadOnly(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){throw new Error("Method not implemented.")},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="plaintextedit",e}(i.QPlainTextEdit);var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("radiobutton do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"text":this.setText(e);break;case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="radiobutton",e}(i.QRadioButton);var k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("progressbar do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){},e.prototype.setProperty=function(t,e){switch(t){case"value":this.setValue(e);break;case"minimum":this.setMinimum(e);break;case"maximum":this.setMaximum(e);break;case"orientation":this.setOrientation(e);break;case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(e){t.prototype.setValue.call(this,e)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="progressbar",e}(i.QProgressBar);var j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){throw new Error("Method not implemented.")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="scrollarea",e}(i.QScrollArea);var V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){throw new Error("Method not implemented.")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"prefix":this.setPrefix(e);break;case"suffix":this.setSuffix(e);break;case"singleStep":this.setSingleStep(e);break;case"range":this.setRange(e.minimum,e.maximum);break;case"value":this.setValue(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(e){t.prototype.setValue.call(this,e)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="spinbox",e}(i.QSpinBox);var B=function(){function t(){this.map=new Map,this.map.set(M.nodeName,M),this.map.set(g.nodeName,g),this.map.set(N.nodeName,N),this.map.set(S.nodeName,S),this.map.set(C.nodeName,C),this.map.set(x.nodeName,x),this.map.set(P.nodeName,P),this.map.set(A.nodeName,A),this.map.set(O.nodeName,O),this.map.set(T.nodeName,T),this.map.set(k.nodeName,k),this.map.set(j.nodeName,j),this.map.set(V.nodeName,V)}return t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}();var I=function(){function t(t,e){this.windowService=t,this.renderer=new Q(t,e)}return t.prototype.end=function(){this.windowService.window.show()},t.prototype.createRenderer=function(t,e){return e&&t.setStyleSheet(e.styles),this.renderer},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:b},{type:B}]},t}();var Q=function(){function t(t,e){this.window=t,this.componentsMap=e.map}return t.prototype.createElement=function(t,e){var o=this.componentsMap.get(t);if(o)return new o;var n=new S;return n.setObjectName(t),n},t.prototype.createText=function(t){return new E(t)},t.prototype.selectRootElement=function(){return this.window.window},t.prototype.addClass=function(t,e){console.log(t,e)},t.prototype.appendChild=function(t,e){e&&(t instanceof i.QMainWindow&&e instanceof g?(e.parent=t,this.window.centralWidget.setLayout(e),this.window.window.setCentralWidget(this.window.centralWidget)):t.appendChild(e))},t.prototype.createComment=function(t){},t.prototype.destroy=function(){},t.prototype.insertBefore=function(t,e,o){t.insertBefore(e,o)},t.prototype.listen=function(t,e,o){var n=function(e){return o.call(t,e)};return t.addEventListener(e,n),function(){return t.removeEventListener(e,n)}},t.prototype.nextSibling=function(t){console.log("nextSibling")},t.prototype.parentNode=function(t){},t.prototype.removeAttribute=function(t,e,o){t.removeAttribute(e,o)},t.prototype.removeChild=function(t,e){t.removeChild(e)},t.prototype.removeClass=function(t,e){t.removeClass(e)},t.prototype.removeStyle=function(t,e,o){t.removeStyle(e,o)},t.prototype.setAttribute=function(t,e,o,n){t instanceof i.QMainWindow?console.log(i.QMainWindow.name+" name = "+o):t.setNgAttribute(e,o,n)},t.prototype.setProperty=function(t,e,o){t.setProperty(e,o)},t.prototype.setStyle=function(t,e,o,n){console.log("setStyle",e),t.setStyle(e,o,n)},t.prototype.setValue=function(t,e){t.setValue(e)},t}();var R=function(){function t(){}return t.prototype.handleError=function(t){console.error(t.message,t.stack)},t.decorators=[{type:e.Injectable}],t}(),W=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{exports:[e.ApplicationModule],providers:[b,B,{provide:e.RendererFactory2,useClass:I,deps:[b,B]},{provide:e.ErrorHandler,useClass:R}]}]}],t}();function F(t){var e,o,n=Object.create(null);try{for(var r=c(t.headers),i=r.next();!i.done;i=r.next()){var p=d(i.value,2),s=p[0],a=p[1];n[s]=a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}return n}var L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.handle=function(t){return s.from(a(t.url,{method:t.method,cache:"no-cache",credentials:t.withCredentials?"same-origin":void 0,headers:t.headers?F(t.headers):void 0,body:t.body?JSON.stringify(t.body):void 0}).then((function(t){return t.json()})))},e}(p.HttpBackend);t.HttpFetchBackend=L,t.NodeguiErrorHandler=R,t.NodeguiLibModule=W,t.platformNodeguiDynamic=f,t.platformNodeguiStatic=v,t.ɵa=m,t.ɵb=h,t.ɵc=b,t.ɵd=B,t.ɵe=I,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
var c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};function l(t,e){function o(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}function d(t){var e="function"==typeof Symbol&&t[Symbol.iterator],o=0;return e?e.call(t):{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}}}function h(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,i=o.call(t),p=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)p.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return p}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}var f=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return l(o,t),o.prototype.hasProperty=function(t,e){return!0},o.prototype.hasElement=function(t,e){return!0},o.prototype.getMappedPropName=function(t){return t},o.prototype.getDefaultComponentElementName=function(){return"ng-component"},o.prototype.securityContext=function(t,o){return e.SecurityContext.NONE},o.prototype.validateProperty=function(t){return{error:!1}},o.prototype.validateAttribute=function(t){return{error:!1}},o.prototype.allKnownElementNames=function(){return[]},o.prototype.normalizeAnimationStyleProperty=function(t){return t},o.prototype.normalizeAnimationStyleValue=function(t,e,o){return{error:null,value:o.toString()}},o}(r.ElementSchemaRegistry),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.sanitize=function(t,e){return e},e}(e.Sanitizer),w={providers:[{provide:r.ElementSchemaRegistry,useClass:f,deps:[]}]},v=e.createPlatformFactory(o.ɵplatformCoreDynamic,"NodeguiDynamic",[{provide:n.DOCUMENT,useValue:{}},{provide:e.Sanitizer,useClass:m,deps:[]},{provide:e.COMPILER_OPTIONS,useValue:w,multi:!0}]),b={providers:[{provide:r.ElementSchemaRegistry,useClass:f,deps:[]}]},g=e.createPlatformFactory(e.platformCore,"NodeguiStatic",[{provide:n.DOCUMENT,useValue:{}},{provide:e.Sanitizer,useClass:m,deps:[]},{provide:e.COMPILER_OPTIONS,useValue:b,multi:!0}]),S=function(){function t(){this.window=new i.QMainWindow,this.centralWidget=new i.QWidget,this.centralWidget.setObjectName("myroot")}return t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}();var E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){this.addWidget(t)},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"title":this.parent.setWindowTitle(e);break;case"id":this.parent.setObjectName(e)}},e.prototype.setProperty=function(t,e){throw new Error("Method not implemented.")},e.prototype.setStyle=function(t,e,o){throw new Error("Method not implemented.")},e.prototype.setValue=function(t){throw new Error("Method not implemented.")},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="window",e}(i.FlexLayout);var M=function(t){function e(e){var o=t.call(this)||this;return o.value=e,o}return l(e,t),e.prototype.setValue=function(t){this.parent.setText(t)},e}(i.QWidget);var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t instanceof M?(t.parent=this,this.setText(t.value)):console.warn("Button may be appendChild only TextField")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e);break;case"flat":this.setFlat(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="button",e}(i.QPushButton);var C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t instanceof M?(t.parent=this,this.setText(t.value)):console.warn("Text may be appendChild only TextField")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"style":this.setStyleSheet(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="text",e}(i.QLabel);var x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t&&(this.layout||this.createLayout(),this.layout.addWidget(t))},e.prototype.insertBefore=function(t,e){t&&(this.layout||this.createLayout(),this.layout.insertChildBefore(t,this))},e.prototype.removeChild=function(t){t.hide(),this.layout.removeWidget(t)},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){throw new Error("Method not implemented.")},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){throw new Error("Method not implemented.")},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.prototype.createLayout=function(){var t=new i.FlexLayout;t.setFlexNode(this.getFlexNode()),this.setLayout(t),this.layout=t},e.nodeName="view",e}(i.QWidget);var P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){t instanceof M?(t.parent=this,this.setText(t.value)):console.warn("checkbox may be appendChild only TextField")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"checked":this.setChecked(e);break;case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="checkbox",e}(i.QCheckBox);var O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("dial do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e);break;case"notchesVisible":this.setNotchesVisible(e);break;case"wrapping":this.setWrapping(e);break;case"notchTarget":this.setNotchTarget(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="dial",e}(i.QDial);var A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("image not supported appendChild")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e);break;case"src":if(!e)return;var o=new i.QPixmap(e);this.setPixmap(o);break;case"aspectRatioMode":this.setAspectRatioMode(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.setAspectRatioMode=function(t){this.aspectRatioMode=t},e.prototype.scalePixmap=function(e,o){if(this.originalPixmap)return t.prototype.setPixmap.call(this,this.originalPixmap.scaled(e,o,this.aspectRatioMode))},e.prototype.setPixmap=function(e){t.prototype.setPixmap.call(this,e),this.originalPixmap=e},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="image",e}(i.QLabel);var k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){throw new Error("Method not implemented.")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"text":e?this.setText(e):this.clear();break;case"placeholderText":this.setPlaceholderText(e);break;case"readOnly":this.setReadOnly(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="linedit",e}(i.QLineEdit);var j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("plaintextedit do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"text":e?this.setPlainText(e):this.clear();break;case"placeholderText":this.setPlaceholderText(e);break;case"readOnly":this.setReadOnly(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){throw new Error("Method not implemented.")},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="plaintextedit",e}(i.QPlainTextEdit);var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("radiobutton do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"text":this.setText(e);break;case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){this.setText(t)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="radiobutton",e}(i.QRadioButton);var V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){console.warn("progressbar do not have append child")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){},e.prototype.setProperty=function(t,e){switch(t){case"value":this.setValue(e);break;case"minimum":this.setMinimum(e);break;case"maximum":this.setMaximum(e);break;case"orientation":this.setOrientation(e);break;case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(e){t.prototype.setValue.call(this,e)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="progressbar",e}(i.QProgressBar);var B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){throw new Error("Method not implemented.")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"enabled":this.setEnabled(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(t){},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="scrollarea",e}(i.QScrollArea);var R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.appendChild=function(t){throw new Error("Method not implemented.")},e.prototype.insertBefore=function(t,e){},e.prototype.setNgAttribute=function(t,e,o){switch(t){case"id":this.setObjectName(e)}},e.prototype.setProperty=function(t,e){switch(t){case"prefix":this.setPrefix(e);break;case"suffix":this.setSuffix(e);break;case"singleStep":this.setSingleStep(e);break;case"range":this.setRange(e.minimum,e.maximum);break;case"value":this.setValue(e)}},e.prototype.setStyle=function(t,e,o){this.setInlineStyle(t+":"+e)},e.prototype.setValue=function(e){t.prototype.setValue.call(this,e)},e.prototype.removeAttribute=function(t,e){throw new Error("Method not implemented.")},e.prototype.removeChild=function(t){throw new Error("Method not implemented.")},e.prototype.removeClass=function(t){throw new Error("Method not implemented.")},e.prototype.removeStyle=function(t,e){throw new Error("Method not implemented.")},e.nodeName="spinbox",e}(i.QSpinBox);var I=function(){function t(){this.map=new Map,this.map.set(N.nodeName,N),this.map.set(E.nodeName,E),this.map.set(C.nodeName,C),this.map.set(x.nodeName,x),this.map.set(P.nodeName,P),this.map.set(O.nodeName,O),this.map.set(A.nodeName,A),this.map.set(k.nodeName,k),this.map.set(j.nodeName,j),this.map.set(T.nodeName,T),this.map.set(V.nodeName,V),this.map.set(B.nodeName,B),this.map.set(R.nodeName,R)}return t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}();var L=function(){function t(t,e){this.windowService=t,this.renderer=new Q(t,e)}return t.prototype.end=function(){this.windowService.window.show()},t.prototype.createRenderer=function(t,e){return e&&t.setStyleSheet(e.styles),this.renderer},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:S},{type:I}]},t}();var Q=function(){function t(t,e){this.window=t,this.componentsMap=e.map}return t.prototype.createElement=function(t,e){var o=this.componentsMap.get(t);if(o)return new o;var n=new x;return n.setObjectName(t),n},t.prototype.createText=function(t){return new M(t)},t.prototype.selectRootElement=function(){return this.window.window},t.prototype.addClass=function(t,e){console.log(t,e)},t.prototype.appendChild=function(t,e){e&&(t instanceof i.QMainWindow&&e instanceof E?(e.parent=t,this.window.centralWidget.setLayout(e),this.window.window.setCentralWidget(this.window.centralWidget)):t.appendChild(e))},t.prototype.createComment=function(t){},t.prototype.destroy=function(){},t.prototype.insertBefore=function(t,e,o){var n=o.previous,r=o.next;e.parent=n,n.insertBefore(e,r)},t.prototype.removeChild=function(t,e){t.removeChild(e)},t.prototype.listen=function(t,e,o){var n=function(e){return o.call(t,e)};return t.addEventListener(e,n),function(){return t.removeEventListener(e,n)}},t.prototype.nextSibling=function(t){return{previous:t,next:t.nextSibling}},t.prototype.parentNode=function(t){return t.parent?t.parent:t},t.prototype.removeAttribute=function(t,e,o){t.removeAttribute(e,o)},t.prototype.removeClass=function(t,e){t.removeClass(e)},t.prototype.removeStyle=function(t,e,o){t.removeStyle(e,o)},t.prototype.setAttribute=function(t,e,o,n){t instanceof i.QMainWindow?console.log(i.QMainWindow.name+" name = "+o):t.setNgAttribute(e,o,n)},t.prototype.setProperty=function(t,e,o){t.setProperty(e,o)},t.prototype.setStyle=function(t,e,o,n){console.log("setStyle",e),t.setStyle(e,o,n)},t.prototype.setValue=function(t,e){t.setValue(e)},t}();var W=function(){function t(){}return t.prototype.handleError=function(t){console.error(t.message,t.stack)},t.decorators=[{type:e.Injectable}],t}(),F=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{exports:[e.ApplicationModule],providers:[S,I,{provide:e.RendererFactory2,useClass:L,deps:[S,I]},{provide:e.ErrorHandler,useClass:W},{provide:n.ViewportScroller,useClass:n.ɵNullViewportScroller}]}]}],t}();function _(t){var e,o,n=Object.create(null);try{for(var r=d(t.headers),i=r.next();!i.done;i=r.next()){var p=h(i.value,2),a=p[0],s=p[1];n[a]=s}}catch(t){e={error:t}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}return n}var D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.handle=function(t){return a.from(s(t.url,{method:t.method,cache:"no-cache",credentials:t.withCredentials?"same-origin":void 0,headers:t.headers?_(t.headers):void 0,body:t.body?JSON.stringify(t.body):void 0}).then((function(t){return t.json()})))},e}(p.HttpBackend),q=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.popStateCallbacks=new Array,e}return l(o,t),o.prototype.path=function(t){return"/"},o.prototype.prepareExternalUrl=function(t){return t},o.prototype.pushState=function(t,e,o,n){var r=new u.DefaultUrlSerializer;this.currentUrlTree=r.parse(o);this.currentUrlTree.root},o.prototype.replaceState=function(t,e,o,n){},o.prototype.forward=function(){throw new Error("Method not implemented.")},o.prototype.back=function(){throw new Error("Method not implemented.")},o.prototype.onPopState=function(t){this.popStateCallbacks.push(t)},o.prototype.getBaseHref=function(){return""},o.decorators=[{type:e.Injectable}],o}(n.LocationStrategy);var H=function(t){function o(e){var o=t.call(this)||this;return o.locationStrategy=e,o}return l(o,t),o.prototype.getState=function(){},o.prototype.getBaseHrefFromDOM=function(){return"/"},o.prototype.onPopState=function(t){this.locationStrategy.onPopState(t)},o.prototype.onHashChange=function(t){},Object.defineProperty(o.prototype,"search",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"hash",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"pathname",{get:function(){return this.locationStrategy.path()},set:function(t){throw new Error("NodeguiPlatformLocation set pathname - not implemented")},enumerable:!0,configurable:!0}),o.prototype.pushState=function(t,e,o){this.locationStrategy.pushState(t,e,o,null)},o.prototype.replaceState=function(t,e,o){this.locationStrategy.replaceState(t,e,o,null)},o.prototype.forward=function(){throw new Error("NodeguiPlatformLocation.forward() - not implemented")},o.prototype.back=function(){this.locationStrategy.back()},o.decorators=[{type:e.Injectable}],o.ctorParameters=function(){return[{type:q}]},o}(n.PlatformLocation);var z=[{provide:q,useFactory:J,deps:[[q,new e.Optional,new e.SkipSelf]]},{provide:n.LocationStrategy,useExisting:q},H,{provide:n.PlatformLocation,useExisting:H}],U=function(){function t(){}return t.forRoot=function(e,o){return{ngModule:t,providers:y(u.RouterModule.forRoot(e,o).providers,z)}},t.forChild=function(e){return{ngModule:t,providers:u.RouterModule.forChild(e).providers}},t.decorators=[{type:e.NgModule,args:[{imports:[u.RouterModule],exports:[u.RouterModule],schemas:[e.NO_ERRORS_SCHEMA]}]}],t}();function J(t){return t||new q}t.HttpFetchBackend=D,t.NodeguiErrorHandler=W,t.NodeguiLibModule=F,t.NodeguiRouterModule=U,t.platformNodeguiDynamic=v,t.platformNodeguiStatic=g,t.provideLocationStrategy=J,t.ɵa=m,t.ɵb=f,t.ɵc=S,t.ɵd=I,t.ɵe=L,t.ɵf=q,t.ɵg=H,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=angular-nodegui.umd.min.js.map |
@@ -8,8 +8,10 @@ /** | ||
*/ | ||
export { platformNodeguiDynamic, platformNodeguiStatic, NodeguiErrorHandler, NodeguiLibModule, HttpFetchBackend } from './public-api'; | ||
export { platformNodeguiDynamic, platformNodeguiStatic, NodeguiErrorHandler, NodeguiLibModule, HttpFetchBackend, provideLocationStrategy, NodeguiRouterModule } from './public-api'; | ||
export { ComponentsMap as ɵd } from './lib/components/components-map'; | ||
export { NodeguiRendererFactory as ɵe } from './lib/renderer'; | ||
export { NodeGuiLocationStrategy as ɵf } from './lib/router/location-strategy'; | ||
export { NodeguiPlatformLocation as ɵg } from './lib/router/platform-location'; | ||
export { NodeguiSanitizer as ɵa } from './lib/sanitizer'; | ||
export { NodeguiElementSchemaRegistry as ɵb } from './lib/schema-registry'; | ||
export { QWindowService as ɵc } from './lib/window'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1ub2RlZ3VpLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhci1ub2RlZ3VpLyIsInNvdXJjZXMiOlsiYW5ndWxhci1ub2RlZ3VpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx1SEFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUNwRSxPQUFPLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUFDLE1BQU0sZ0J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ZXIgYXMgybVhfSBmcm9tICcuL2xpYi9zYW5pdGl6ZXInO1xuZXhwb3J0IHtOb2RlZ3VpRWxlbWVudFNjaGVtYVJlZ2lzdHJ5IGFzIMm1Yn0gZnJvbSAnLi9saWIvc2NoZW1hLXJlZ2lzdHJ5JztcbmV4cG9ydCB7UVdpbmRvd1NlcnZpY2UgYXMgybVjfSBmcm9tICcuL2xpYi93aW5kb3cnOyJdfQ== |
@@ -16,7 +16,3 @@ /** | ||
if (!this.layout) { | ||
/** @type {?} */ | ||
const flexLayout = new FlexLayout(); | ||
flexLayout.setFlexNode(this.getFlexNode()); | ||
this.setLayout(flexLayout); | ||
this.layout = flexLayout; | ||
this.createLayout(); | ||
} | ||
@@ -31,9 +27,19 @@ this.layout.addWidget(newChild); | ||
insertBefore(newChild, refChild) { | ||
if (!this.layout) { | ||
console.warn('parent has no layout to insert child before another child'); | ||
if (!newChild) { | ||
return; | ||
} | ||
if (!this.layout) { | ||
this.createLayout(); | ||
} | ||
((/** @type {?} */ (this.layout))).insertChildBefore(newChild, this); | ||
} | ||
/** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(oldChild) { | ||
oldChild.hide(); // it's necessary that there's no overlapping of widgets when removing | ||
((/** @type {?} */ (this.layout))).removeWidget(oldChild); | ||
} | ||
/** | ||
* @param {?} name | ||
@@ -86,9 +92,2 @@ * @param {?} value | ||
/** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(oldChild) { | ||
throw new Error('Method not implemented.'); | ||
} | ||
/** | ||
* @param {?} name | ||
@@ -108,2 +107,13 @@ * @return {?} | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
createLayout() { | ||
/** @type {?} */ | ||
const flexLayout = new FlexLayout(); | ||
flexLayout.setFlexNode(this.getFlexNode()); | ||
this.setLayout(flexLayout); | ||
this.layout = flexLayout; | ||
} | ||
} | ||
@@ -117,2 +127,2 @@ NgView.nodeName = 'view'; | ||
} | ||
//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Pzogc3RyaW5nKTogdm9pZCB7XHJcbiAgICB0aHJvdyBuZXcgRXJyb3IoJ01ldGhvZCBub3QgaW1wbGVtZW50ZWQuJyk7XHJcbiAgfVxyXG5cclxuICByZW1vdmVDbGFzcyhuYW1lOiBzdHJpbmcpOiB2b2lkIHtcclxuICAgIHRocm93IG5ldyBFcnJvcignTWV0aG9kIG5vdCBpbXBsZW1lbnRlZC4nKTtcclxuICB9XHJcbiAgcmVtb3ZlU3R5bGUoc3R5bGU6IHN0cmluZywgZmxhZ3M/OiBSZW5kZXJlclN0eWxlRmxhZ3MyKTogdm9pZCB7XHJcbiAgICB0aHJvdyBuZXcgRXJyb3IoJ01ldGhvZCBub3QgaW1wbGVtZW50ZWQuJyk7XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIGNyZWF0ZUxheW91dCgpIHtcclxuICAgIGNvbnN0IGZsZXhMYXlvdXQgPSBuZXcgRmxleExheW91dCgpO1xyXG4gICAgZmxleExheW91dC5zZXRGbGV4Tm9kZSh0aGlzLmdldEZsZXhOb2RlKCkpO1xyXG4gICAgdGhpcy5zZXRMYXlvdXQoZmxleExheW91dCk7XHJcbiAgICB0aGlzLmxheW91dCA9IGZsZXhMYXlvdXQ7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
@@ -9,2 +9,3 @@ /** | ||
import { ComponentsMap } from './components/components-map'; | ||
import { ViewportScroller, ɵNullViewportScroller as NullViewportScroller } from '@angular/common'; | ||
export class NodeguiErrorHandler { | ||
@@ -35,6 +36,7 @@ /** | ||
}, | ||
{ provide: ErrorHandler, useClass: NodeguiErrorHandler } | ||
{ provide: ErrorHandler, useClass: NodeguiErrorHandler }, | ||
{ provide: ViewportScroller, useClass: NullViewportScroller } | ||
] | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZWd1aS1saWIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhci1ub2RlZ3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b2RlZ3VpUmVuZGVyZXJGYWN0b3J5LFxuICAgICAgZGVwczogW1FXaW5kb3dTZXJ2aWNlLCBDb21wb25lbnRzTWFwXVxuICAgIH0sXG4gICAgeyBwcm92aWRlOiBFcnJvckhhbmRsZXIsIHVzZUNsYXNzOiBOb2RlZ3VpRXJyb3JIYW5kbGVyIH0sXG4gICAgeyBwcm92aWRlOiBWaWV3cG9ydFNjcm9sbGVyLCB1c2VDbGFzczogTnVsbFZpZXdwb3J0U2Nyb2xsZXIgfVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIE5vZGVndWlMaWJNb2R1bGUge31cbiJdfQ== |
@@ -12,2 +12,12 @@ /** | ||
import { NgView } from './components/view'; | ||
/** | ||
* @record | ||
*/ | ||
export function ElementReference() { } | ||
if (false) { | ||
/** @type {?} */ | ||
ElementReference.prototype.previous; | ||
/** @type {?} */ | ||
ElementReference.prototype.next; | ||
} | ||
export class NodeguiRendererFactory { | ||
@@ -137,9 +147,18 @@ /** | ||
* @param {?} newChild | ||
* @param {?} refChild | ||
* @param {?} __2 | ||
* @return {?} | ||
*/ | ||
insertBefore(parent, newChild, refChild) { | ||
parent.insertBefore(newChild, refChild); | ||
insertBefore(parent, newChild, { previous, next }) { | ||
newChild.parent = previous; | ||
previous.insertBefore(newChild, next); | ||
} | ||
/** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(parent, oldChild) { | ||
parent.removeChild(oldChild); | ||
} | ||
/** | ||
* @param {?} target | ||
@@ -168,3 +187,6 @@ * @param {?} eventName | ||
nextSibling(node) { | ||
console.log('nextSibling'); | ||
return { | ||
previous: node, | ||
next: node.nextSibling | ||
}; | ||
} | ||
@@ -175,3 +197,5 @@ /** | ||
*/ | ||
parentNode(node) { } | ||
parentNode(node) { | ||
return node.parent ? node.parent : node; | ||
} | ||
/** | ||
@@ -187,10 +211,2 @@ * @param {?} el | ||
/** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(parent, oldChild) { | ||
parent.removeChild(oldChild); | ||
} | ||
/** | ||
* @param {?} el | ||
@@ -269,2 +285,2 @@ * @param {?} name | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLW5vZGVndWkvIiwic291cmNlcyI6WyJsaWIvcmVuZGVyZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxVQUFVLEVBS1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFdBQVcsRUFBd0IsTUFBTSxrQkFBa0IsQ0FBQztBQUNyRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsYUFBYSxFQUFvQixNQUFNLDZCQUE2QixDQUFDO0FBQzlFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUMvQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFHM0MsTUFBTSxPQUFPLHNCQUFzQjs7Ozs7SUFHakMsWUFDbUIsYUFBNkIsRUFDOUMsVUFBeUI7UUFEUixrQkFBYSxHQUFiLGFBQWEsQ0FBZ0I7UUFHOUMsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLGVBQWUsQ0FBQyxhQUFhLEVBQUUsVUFBVSxDQUFDLENBQUM7SUFDakUsQ0FBQzs7OztJQUVELEdBQUc7UUFDRCxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNuQyxDQUFDOzs7Ozs7SUFFRCxjQUFjLENBQUMsV0FBZ0Is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ZWwgaW5zdGFuY2VvZiBRTWFpbldpbmRvdykge1xyXG4gICAgICBjb25zb2xlLmxvZyhgJHtRTWFpbldpbmRvdy5uYW1lfSBuYW1lID0gJHt2YWx1ZX1gKTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIGVsLnNldE5nQXR0cmlidXRlKG5hbWUsIHZhbHVlLCBuYW1lc3BhY2UpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgc2V0UHJvcGVydHkoZWw6IE5nQ29tcG9uZW50LCBuYW1lOiBzdHJpbmcsIHZhbHVlOiBhbnkpOiB2b2lkIHtcclxuICAgIGVsLnNldFByb3BlcnR5KG5hbWUsIHZhbHVlKTtcclxuICB9XHJcblxyXG4gIHNldFN0eWxlKFxyXG4gICAgZWw6IE5nQ29tcG9uZW50LFxyXG4gICAgc3R5bGU6IHN0cmluZyxcclxuICAgIHZhbHVlOiBhbnksXHJcbiAgICBmbGFncz86IFJlbmRlcmVyU3R5bGVGbGFnczJcclxuICApOiB2b2lkIHtcclxuICAgIGNvbnNvbGUubG9nKCdzZXRTdHlsZScsIHN0eWxlKTtcclxuXHJcbiAgICBlbC5zZXRTdHlsZShzdHlsZSwgdmFsdWUsIGZsYWdzKTtcclxuICB9XHJcblxyXG4gIHNldFZhbHVlKG5vZGU6IE5nQ29tcG9uZW50LCB2YWx1ZTogc3RyaW5nKTogdm9pZCB7XHJcbiAgICBub2RlLnNldFZhbHVlKHZhbHVlKTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -12,2 +12,3 @@ /** | ||
export { HttpFetchBackend } from './lib/http-fetch-backend'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm9kZWd1aS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLHVDQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLHNDQUFjLHVCQUF1QixDQUFDO0FBQ3RDLHNEQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGlDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBhbmd1bGFyLW5vZGVndWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9wbGF0Zm9ybS1keW5hbWljJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BsYXRmb3JtLXN0YXRpYyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ub2RlZ3VpLWxpYi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaHR0cC1mZXRjaC1iYWNrZW5kJztcbiJdfQ== | ||
export { provideLocationStrategy, NodeguiRouterModule } from './lib/router/router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm9kZWd1aS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLHVDQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLHNDQUFjLHVCQUF1QixDQUFDO0FBQ3RDLHNEQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGlDQUFjLDBCQUEwQixDQUFDO0FBQ3pDLDZEQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBhbmd1bGFyLW5vZGVndWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9wbGF0Zm9ybS1keW5hbWljJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BsYXRmb3JtLXN0YXRpYyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ub2RlZ3VpLWxpYi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaHR0cC1mZXRjaC1iYWNrZW5kJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3JvdXRlci9yb3V0ZXIubW9kdWxlJztcbiJdfQ== |
@@ -8,8 +8,10 @@ /** | ||
*/ | ||
export { platformNodeguiDynamic, platformNodeguiStatic, NodeguiErrorHandler, NodeguiLibModule, HttpFetchBackend } from './public-api'; | ||
export { platformNodeguiDynamic, platformNodeguiStatic, NodeguiErrorHandler, NodeguiLibModule, HttpFetchBackend, provideLocationStrategy, NodeguiRouterModule } from './public-api'; | ||
export { ComponentsMap as ɵd } from './lib/components/components-map'; | ||
export { NodeguiRendererFactory as ɵe } from './lib/renderer'; | ||
export { NodeGuiLocationStrategy as ɵf } from './lib/router/location-strategy'; | ||
export { NodeguiPlatformLocation as ɵg } from './lib/router/platform-location'; | ||
export { NodeguiSanitizer as ɵa } from './lib/sanitizer'; | ||
export { NodeguiElementSchemaRegistry as ɵb } from './lib/schema-registry'; | ||
export { QWindowService as ɵc } from './lib/window'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1ub2RlZ3VpLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhci1ub2RlZ3VpLyIsInNvdXJjZXMiOlsiYW5ndWxhci1ub2RlZ3VpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx1SEFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQztBQUNwRSxPQUFPLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDNUQsT0FBTyxFQUFDLGdCQUFnQixJQUFJLEVBQUUsRUFBQyxNQUFNLGlCQU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VudFNjaGVtYVJlZ2lzdHJ5IGFzIMm1Yn0gZnJvbSAnLi9saWIvc2NoZW1hLXJlZ2lzdHJ5JztcbmV4cG9ydCB7UVdpbmRvd1NlcnZpY2UgYXMgybVjfSBmcm9tICcuL2xpYi93aW5kb3cnOyJdfQ== |
@@ -25,7 +25,3 @@ /** | ||
if (!this.layout) { | ||
/** @type {?} */ | ||
var flexLayout = new FlexLayout(); | ||
flexLayout.setFlexNode(this.getFlexNode()); | ||
this.setLayout(flexLayout); | ||
this.layout = flexLayout; | ||
this.createLayout(); | ||
} | ||
@@ -45,9 +41,23 @@ this.layout.addWidget(newChild); | ||
function (newChild, refChild) { | ||
if (!this.layout) { | ||
console.warn('parent has no layout to insert child before another child'); | ||
if (!newChild) { | ||
return; | ||
} | ||
if (!this.layout) { | ||
this.createLayout(); | ||
} | ||
((/** @type {?} */ (this.layout))).insertChildBefore(newChild, this); | ||
}; | ||
/** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
NgView.prototype.removeChild = /** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
function (oldChild) { | ||
oldChild.hide(); // it's necessary that there's no overlapping of widgets when removing | ||
((/** @type {?} */ (this.layout))).removeWidget(oldChild); | ||
}; | ||
/** | ||
* @param {?} name | ||
@@ -126,13 +136,2 @@ * @param {?} value | ||
/** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
NgView.prototype.removeChild = /** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
function (oldChild) { | ||
throw new Error('Method not implemented.'); | ||
}; | ||
/** | ||
* @param {?} name | ||
@@ -161,2 +160,17 @@ * @return {?} | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
NgView.prototype.createLayout = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
/** @type {?} */ | ||
var flexLayout = new FlexLayout(); | ||
flexLayout.setFlexNode(this.getFlexNode()); | ||
this.setLayout(flexLayout); | ||
this.layout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ZSgpKTtcclxuICAgIHRoaXMuc2V0TGF5b3V0KGZsZXhMYXlvdXQpO1xyXG4gICAgdGhpcy5sYXlvdXQgPSBmbGV4TGF5b3V0O1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -9,2 +9,3 @@ /** | ||
import { ComponentsMap } from './components/components-map'; | ||
import { ViewportScroller, ɵNullViewportScroller as NullViewportScroller } from '@angular/common'; | ||
var NodeguiErrorHandler = /** @class */ (function () { | ||
@@ -44,3 +45,4 @@ function NodeguiErrorHandler() { | ||
}, | ||
{ provide: ErrorHandler, useClass: NodeguiErrorHandler } | ||
{ provide: ErrorHandler, useClass: NodeguiErrorHandler }, | ||
{ provide: ViewportScroller, useClass: NullViewportScroller } | ||
] | ||
@@ -52,2 +54,2 @@ },] } | ||
export { NodeguiLibModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZWd1aS1saWIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhci1ub2RlZ3VpLyIsInNvdXJjZXMiOlsibGliL25vZGVndWktbGliLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUNMLFVBQVUsRUFDVixpQkFBaUIsRUFDakIsWUFBWSxFQUNaLFFBQVEsRUFDUixnQkFBZ0IsRUFDakIsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQ3BELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDMUMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBRTVEO0lBQUE7SUFLQSxDQUFDOzs7OztJQUhDLHlDQUFXOzs7O0lBQVgsVUFBWSxLQUFZO1FBQ3RCLE9BQU8sQ0FBQyxLQUFLLENBQUMsS0FBSyxDQUFDLE9BQU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yb2xsZXIgfVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIE5vZGVndWlMaWJNb2R1bGUge31cbiJdfQ== |
@@ -12,2 +12,12 @@ /** | ||
import { NgView } from './components/view'; | ||
/** | ||
* @record | ||
*/ | ||
export function ElementReference() { } | ||
if (false) { | ||
/** @type {?} */ | ||
ElementReference.prototype.previous; | ||
/** @type {?} */ | ||
ElementReference.prototype.next; | ||
} | ||
var NodeguiRendererFactory = /** @class */ (function () { | ||
@@ -168,3 +178,3 @@ function NodeguiRendererFactory(windowService, components) { | ||
* @param {?} newChild | ||
* @param {?} refChild | ||
* @param {?} __2 | ||
* @return {?} | ||
@@ -175,9 +185,24 @@ */ | ||
* @param {?} newChild | ||
* @param {?} refChild | ||
* @param {?} __2 | ||
* @return {?} | ||
*/ | ||
function (parent, newChild, refChild) { | ||
parent.insertBefore(newChild, refChild); | ||
function (parent, newChild, _a) { | ||
var previous = _a.previous, next = _a.next; | ||
newChild.parent = previous; | ||
previous.insertBefore(newChild, next); | ||
}; | ||
/** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
NodeguiRenderer.prototype.removeChild = /** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
function (parent, oldChild) { | ||
parent.removeChild(oldChild); | ||
}; | ||
/** | ||
* @param {?} target | ||
@@ -216,3 +241,6 @@ * @param {?} eventName | ||
function (node) { | ||
console.log('nextSibling'); | ||
return { | ||
previous: node, | ||
next: node.nextSibling | ||
}; | ||
}; | ||
@@ -227,3 +255,5 @@ /** | ||
*/ | ||
function (node) { }; | ||
function (node) { | ||
return node.parent ? node.parent : node; | ||
}; | ||
/** | ||
@@ -245,15 +275,2 @@ * @param {?} el | ||
/** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
NodeguiRenderer.prototype.removeChild = /** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
function (parent, oldChild) { | ||
parent.removeChild(oldChild); | ||
}; | ||
/** | ||
* @param {?} el | ||
@@ -370,2 +387,2 @@ * @param {?} name | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyLW5vZGVndWkvIiwic291cmNlcyI6WyJsaWIvcmVuZGVyZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxVQUFVLEVBS1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFdBQVcsRUFBd0IsTUFBTSxrQkFBa0IsQ0FBQztBQUNyRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsYUFBYSxFQUFvQixNQUFNLDZCQUE2QixDQUFDO0FBQzlFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUMvQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFFM0M7SUFJRSxnQ0FDbUIsYUFBNkIsRUFDOUMsVUFBeUI7UUFEUixrQkFBYSxHQUFiLGFBQWEsQ0FBZ0I7UUFHOUMsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLGVBQWUsQ0FBQyxhQUFhLEVBQUUsVUFBVSxDQUFDLENBQUM7SUFDakUsQ0FBQzs7OztJQUVELG9DQUFHOzs7SUFBSDtRQUNFLElBQUksQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ25DLENBQUM7Ozs7OztJQUVELCtDQUFjOzs7OztJQUFkLFVBQWUsV0FBZ0IsRUFBRSxJQUEwQjtRQUN6RCxJQUFJLEl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O1xyXG4gIH1cclxuXHJcbiAgc2V0U3R5bGUoXHJcbiAgICBlbDogTmdDb21wb25lbnQsXHJcbiAgICBzdHlsZTogc3RyaW5nLFxyXG4gICAgdmFsdWU6IGFueSxcclxuICAgIGZsYWdzPzogUmVuZGVyZXJTdHlsZUZsYWdzMlxyXG4gICk6IHZvaWQge1xyXG4gICAgY29uc29sZS5sb2coJ3NldFN0eWxlJywgc3R5bGUpO1xyXG5cclxuICAgIGVsLnNldFN0eWxlKHN0eWxlLCB2YWx1ZSwgZmxhZ3MpO1xyXG4gIH1cclxuXHJcbiAgc2V0VmFsdWUobm9kZTogTmdDb21wb25lbnQsIHZhbHVlOiBzdHJpbmcpOiB2b2lkIHtcclxuICAgIG5vZGUuc2V0VmFsdWUodmFsdWUpO1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -12,2 +12,3 @@ /** | ||
export { HttpFetchBackend } from './lib/http-fetch-backend'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm9kZWd1aS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLHVDQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLHNDQUFjLHVCQUF1QixDQUFDO0FBQ3RDLHNEQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGlDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBhbmd1bGFyLW5vZGVndWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9wbGF0Zm9ybS1keW5hbWljJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BsYXRmb3JtLXN0YXRpYyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ub2RlZ3VpLWxpYi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaHR0cC1mZXRjaC1iYWNrZW5kJztcbiJdfQ== | ||
export { provideLocationStrategy, NodeguiRouterModule } from './lib/router/router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm9kZWd1aS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUlBLHVDQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLHNDQUFjLHVCQUF1QixDQUFDO0FBQ3RDLHNEQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGlDQUFjLDBCQUEwQixDQUFDO0FBQ3pDLDZEQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBhbmd1bGFyLW5vZGVndWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9wbGF0Zm9ybS1keW5hbWljJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BsYXRmb3JtLXN0YXRpYyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ub2RlZ3VpLWxpYi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaHR0cC1mZXRjaC1iYWNrZW5kJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3JvdXRlci9yb3V0ZXIubW9kdWxlJztcbiJdfQ== |
@@ -1,4 +0,4 @@ | ||
import { SecurityContext, Sanitizer, createPlatformFactory, COMPILER_OPTIONS, platformCore, Injectable, NgModule, ApplicationModule, RendererFactory2, ErrorHandler } from '@angular/core'; | ||
import { SecurityContext, Sanitizer, createPlatformFactory, COMPILER_OPTIONS, platformCore, Injectable, NgModule, ApplicationModule, RendererFactory2, ErrorHandler, Optional, SkipSelf, NO_ERRORS_SCHEMA } from '@angular/core'; | ||
import { ɵplatformCoreDynamic } from '@angular/platform-browser-dynamic'; | ||
import { DOCUMENT } from '@angular/common'; | ||
import { DOCUMENT, ViewportScroller, ɵNullViewportScroller, LocationStrategy, PlatformLocation } from '@angular/common'; | ||
import { ElementSchemaRegistry } from '@angular/compiler'; | ||
@@ -9,2 +9,3 @@ import { QMainWindow, QWidget, FlexLayout, QPushButton, QLabel, QCheckBox, QDial, QPixmap, QLineEdit, QPlainTextEdit, QRadioButton, QProgressBar, QScrollArea, QSpinBox } from '@nodegui/nodegui'; | ||
import fetch from 'node-fetch'; | ||
import { DefaultUrlSerializer, RouterModule } from '@angular/router'; | ||
@@ -543,7 +544,3 @@ /** | ||
if (!this.layout) { | ||
/** @type {?} */ | ||
const flexLayout = new FlexLayout(); | ||
flexLayout.setFlexNode(this.getFlexNode()); | ||
this.setLayout(flexLayout); | ||
this.layout = flexLayout; | ||
this.createLayout(); | ||
} | ||
@@ -558,9 +555,19 @@ this.layout.addWidget(newChild); | ||
insertBefore(newChild, refChild) { | ||
if (!this.layout) { | ||
console.warn('parent has no layout to insert child before another child'); | ||
if (!newChild) { | ||
return; | ||
} | ||
if (!this.layout) { | ||
this.createLayout(); | ||
} | ||
((/** @type {?} */ (this.layout))).insertChildBefore(newChild, this); | ||
} | ||
/** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(oldChild) { | ||
oldChild.hide(); // it's necessary that there's no overlapping of widgets when removing | ||
((/** @type {?} */ (this.layout))).removeWidget(oldChild); | ||
} | ||
/** | ||
* @param {?} name | ||
@@ -613,9 +620,2 @@ * @param {?} value | ||
/** | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(oldChild) { | ||
throw new Error('Method not implemented.'); | ||
} | ||
/** | ||
* @param {?} name | ||
@@ -635,2 +635,13 @@ * @return {?} | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
createLayout() { | ||
/** @type {?} */ | ||
const flexLayout = new FlexLayout(); | ||
flexLayout.setFlexNode(this.getFlexNode()); | ||
this.setLayout(flexLayout); | ||
this.layout = flexLayout; | ||
} | ||
} | ||
@@ -1697,2 +1708,12 @@ NgView.nodeName = 'view'; | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function ElementReference() { } | ||
if (false) { | ||
/** @type {?} */ | ||
ElementReference.prototype.previous; | ||
/** @type {?} */ | ||
ElementReference.prototype.next; | ||
} | ||
class NodeguiRendererFactory { | ||
@@ -1822,9 +1843,18 @@ /** | ||
* @param {?} newChild | ||
* @param {?} refChild | ||
* @param {?} __2 | ||
* @return {?} | ||
*/ | ||
insertBefore(parent, newChild, refChild) { | ||
parent.insertBefore(newChild, refChild); | ||
insertBefore(parent, newChild, { previous, next }) { | ||
newChild.parent = previous; | ||
previous.insertBefore(newChild, next); | ||
} | ||
/** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(parent, oldChild) { | ||
parent.removeChild(oldChild); | ||
} | ||
/** | ||
* @param {?} target | ||
@@ -1853,3 +1883,6 @@ * @param {?} eventName | ||
nextSibling(node) { | ||
console.log('nextSibling'); | ||
return { | ||
previous: node, | ||
next: node.nextSibling | ||
}; | ||
} | ||
@@ -1860,3 +1893,5 @@ /** | ||
*/ | ||
parentNode(node) { } | ||
parentNode(node) { | ||
return node.parent ? node.parent : node; | ||
} | ||
/** | ||
@@ -1872,10 +1907,2 @@ * @param {?} el | ||
/** | ||
* @param {?} parent | ||
* @param {?} oldChild | ||
* @return {?} | ||
*/ | ||
removeChild(parent, oldChild) { | ||
parent.removeChild(oldChild); | ||
} | ||
/** | ||
* @param {?} el | ||
@@ -1984,3 +2011,4 @@ * @param {?} name | ||
}, | ||
{ provide: ErrorHandler, useClass: NodeguiErrorHandler } | ||
{ provide: ErrorHandler, useClass: NodeguiErrorHandler }, | ||
{ provide: ViewportScroller, useClass: ɵNullViewportScroller } | ||
] | ||
@@ -2030,2 +2058,84 @@ },] } | ||
*/ | ||
class NodeGuiLocationStrategy extends LocationStrategy { | ||
constructor() { | ||
super(...arguments); | ||
this.popStateCallbacks = new Array(); | ||
} | ||
/** | ||
* @param {?=} includeHash | ||
* @return {?} | ||
*/ | ||
path(includeHash) { | ||
return '/'; | ||
} | ||
/** | ||
* @param {?} internal | ||
* @return {?} | ||
*/ | ||
prepareExternalUrl(internal) { | ||
return internal; | ||
} | ||
/** | ||
* @param {?} state | ||
* @param {?} title | ||
* @param {?} url | ||
* @param {?} queryParams | ||
* @return {?} | ||
*/ | ||
pushState(state, title, url, queryParams) { | ||
/** @type {?} */ | ||
const urlSerializer = new DefaultUrlSerializer(); | ||
this.currentUrlTree = urlSerializer.parse(url); | ||
/** @type {?} */ | ||
const urlTreeRoot = this.currentUrlTree.root; | ||
} | ||
/** | ||
* @param {?} state | ||
* @param {?} title | ||
* @param {?} url | ||
* @param {?} queryParams | ||
* @return {?} | ||
*/ | ||
replaceState(state, title, url, queryParams) { } | ||
/** | ||
* @return {?} | ||
*/ | ||
forward() { | ||
throw new Error('Method not implemented.'); | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
back() { | ||
throw new Error('Method not implemented.'); | ||
} | ||
/** | ||
* @param {?} fn | ||
* @return {?} | ||
*/ | ||
onPopState(fn) { | ||
this.popStateCallbacks.push(fn); | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
getBaseHref() { | ||
return ''; | ||
} | ||
} | ||
NodeGuiLocationStrategy.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
if (false) { | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NodeGuiLocationStrategy.prototype.popStateCallbacks; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NodeGuiLocationStrategy.prototype.currentUrlTree; | ||
} | ||
@@ -2036,4 +2146,180 @@ /** | ||
*/ | ||
class NodeguiPlatformLocation extends PlatformLocation { | ||
/** | ||
* @param {?} locationStrategy | ||
*/ | ||
constructor(locationStrategy) { | ||
super(); | ||
this.locationStrategy = locationStrategy; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
getState() { | ||
return undefined; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
getBaseHrefFromDOM() { | ||
return '/'; | ||
} | ||
/** | ||
* @param {?} fn | ||
* @return {?} | ||
*/ | ||
onPopState(fn) { | ||
this.locationStrategy.onPopState(fn); | ||
} | ||
/** | ||
* @param {?} fn | ||
* @return {?} | ||
*/ | ||
onHashChange(fn) { } | ||
/** | ||
* @return {?} | ||
*/ | ||
get search() { | ||
return ''; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
get hash() { | ||
return ''; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
get pathname() { | ||
return this.locationStrategy.path(); | ||
} | ||
/** | ||
* @param {?} newPath | ||
* @return {?} | ||
*/ | ||
set pathname(newPath) { | ||
throw new Error('NodeguiPlatformLocation set pathname - not implemented'); | ||
} | ||
/** | ||
* @param {?} state | ||
* @param {?} title | ||
* @param {?} url | ||
* @return {?} | ||
*/ | ||
pushState(state, title, url) { | ||
this.locationStrategy.pushState(state, title, url, null); | ||
} | ||
/** | ||
* @param {?} state | ||
* @param {?} title | ||
* @param {?} url | ||
* @return {?} | ||
*/ | ||
replaceState(state, title, url) { | ||
this.locationStrategy.replaceState(state, title, url, null); | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
forward() { | ||
throw new Error('NodeguiPlatformLocation.forward() - not implemented'); | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
back() { | ||
this.locationStrategy.back(); | ||
} | ||
} | ||
NodeguiPlatformLocation.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
NodeguiPlatformLocation.ctorParameters = () => [ | ||
{ type: NodeGuiLocationStrategy } | ||
]; | ||
if (false) { | ||
/** @type {?} */ | ||
NodeguiPlatformLocation.prototype.hostname; | ||
/** @type {?} */ | ||
NodeguiPlatformLocation.prototype.href; | ||
/** @type {?} */ | ||
NodeguiPlatformLocation.prototype.port; | ||
/** @type {?} */ | ||
NodeguiPlatformLocation.prototype.protocol; | ||
/** | ||
* @type {?} | ||
* @private | ||
*/ | ||
NodeguiPlatformLocation.prototype.locationStrategy; | ||
} | ||
export { HttpFetchBackend, NodeguiErrorHandler, NodeguiLibModule, platformNodeguiDynamic, platformNodeguiStatic, NodeguiSanitizer as ɵa, NodeguiElementSchemaRegistry as ɵb, QWindowService as ɵc, ComponentsMap as ɵd, NodeguiRendererFactory as ɵe }; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
const NS_ROUTER_PROVIDERS = [ | ||
{ | ||
provide: NodeGuiLocationStrategy, | ||
useFactory: provideLocationStrategy, | ||
deps: [[NodeGuiLocationStrategy, new Optional(), new SkipSelf()]] | ||
}, | ||
{ provide: LocationStrategy, useExisting: NodeGuiLocationStrategy }, | ||
NodeguiPlatformLocation, | ||
{ provide: PlatformLocation, useExisting: NodeguiPlatformLocation } | ||
]; | ||
class NodeguiRouterModule { | ||
/** | ||
* @param {?} routes | ||
* @param {?=} config | ||
* @return {?} | ||
*/ | ||
static forRoot(routes, config) { | ||
return { | ||
ngModule: NodeguiRouterModule, | ||
providers: [ | ||
...RouterModule.forRoot(routes, config).providers, | ||
...NS_ROUTER_PROVIDERS | ||
] | ||
}; | ||
} | ||
/** | ||
* @param {?} routes | ||
* @return {?} | ||
*/ | ||
static forChild(routes) { | ||
return { | ||
ngModule: NodeguiRouterModule, | ||
providers: RouterModule.forChild(routes).providers | ||
}; | ||
} | ||
} | ||
NodeguiRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [RouterModule], | ||
exports: [RouterModule], | ||
schemas: [NO_ERRORS_SCHEMA] | ||
},] } | ||
]; | ||
/** | ||
* @param {?} locationStrategy | ||
* @return {?} | ||
*/ | ||
function provideLocationStrategy(locationStrategy) { | ||
return locationStrategy ? locationStrategy : new NodeGuiLocationStrategy(); | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { HttpFetchBackend, NodeguiErrorHandler, NodeguiLibModule, NodeguiRouterModule, platformNodeguiDynamic, platformNodeguiStatic, provideLocationStrategy, NodeguiSanitizer as ɵa, NodeguiElementSchemaRegistry as ɵb, QWindowService as ɵc, ComponentsMap as ɵd, NodeguiRendererFactory as ɵe, NodeGuiLocationStrategy as ɵf, NodeguiPlatformLocation as ɵg }; | ||
//# sourceMappingURL=angular-nodegui.js.map |
@@ -9,2 +9,3 @@ import { QWidget } from '@nodegui/nodegui'; | ||
insertBefore(newChild: any, refChild: any): void; | ||
removeChild(oldChild: NgView): void; | ||
setNgAttribute(name: string, value: string, namespace?: string | null): void; | ||
@@ -15,5 +16,5 @@ setProperty(name: string, value: any): void; | ||
removeAttribute(name: string, namespace?: string): void; | ||
removeChild(oldChild: any): void; | ||
removeClass(name: string): void; | ||
removeStyle(style: string, flags?: RendererStyleFlags2): void; | ||
private createLayout; | ||
} |
@@ -5,2 +5,7 @@ import { Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2 } from '@angular/core'; | ||
import { ComponentsMap, NgComponentClass } from './components/components-map'; | ||
import { NgView } from './components/view'; | ||
export interface ElementReference { | ||
previous: NgView; | ||
next: NgView; | ||
} | ||
export declare class NodeguiRendererFactory implements RendererFactory2 { | ||
@@ -28,8 +33,8 @@ private readonly windowService; | ||
destroy(): void; | ||
insertBefore(parent: NgComponent, newChild: any, refChild: any): void; | ||
insertBefore(parent: NgComponent, newChild: any, { previous, next }: ElementReference): void; | ||
removeChild(parent: NgComponent, oldChild: NgView): void; | ||
listen(target: any, eventName: string, callback: (event: any) => boolean | void): () => void; | ||
nextSibling(node: any): any; | ||
nextSibling(node: any): ElementReference; | ||
parentNode(node: any): any; | ||
removeAttribute(el: NgComponent, name: string, namespace?: string | null): void; | ||
removeChild(parent: NgComponent, oldChild: any): void; | ||
removeClass(el: NgComponent, name: string): void; | ||
@@ -36,0 +41,0 @@ removeStyle(el: NgComponent, style: string, flags?: RendererStyleFlags2): void; |
{ | ||
"name": "angular-nodegui", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -5,1 +5,2 @@ export * from './lib/platform-dynamic'; | ||
export * from './lib/http-fetch-backend'; | ||
export * from './lib/router/router.module'; |
# AngularNodeGUI | ||
[](https://www.npmjs.com/package/angular-nodegui) | ||
Build performant, native and cross-platform desktop applications with Angular.🚀 | ||
@@ -40,2 +42,10 @@ | ||
### Router | ||
Use `NodeguiRouterModule` instead of `RouterModule` for routing. [Example](https://github.com/irustm/angular-nodegui/blob/master/src/app/app.module.ts#L23) | ||
```js | ||
NodeguiRouterModule.forRoot(appRoutes); | ||
``` | ||
### Widget | ||
@@ -45,4 +55,12 @@ | ||
#### Mac | ||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/irustm/angular-nodegui/master/demo/demo_widget_mac.png" width="300" title="angular nodegui demo"> | ||
</p> | ||
#### Windows | ||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/irustm/angular-nodegui/master/demo/demo_weather_widget.png" width="600" title="angular nodegui demo"> | ||
</p> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1013621
13.56%101
9.78%15563
13.11%65
38.3%