static-columns 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,97 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('static-columns', ['exports', '@angular/core'], factory) :
4
+ (global = global || self, factory(global['static-columns'] = {}, global.ng.core));
5
+ }(this, (function (exports, core) { 'use strict';
6
+
7
+ var ColumnComponent = /** @class */ (function () {
8
+ function ColumnComponent() {
9
+ // this.ccwidth = 90;
10
+ }
11
+ ColumnComponent.prototype.ngOnInit = function () { };
12
+ ColumnComponent.decorators = [
13
+ { type: core.Component, args: [{
14
+ selector: 'column',
15
+ template: '<ng-content></ng-content>',
16
+ styles: [":host{flex-grow:0;flex-shrink:0;width:0}"]
17
+ },] }
18
+ ];
19
+ ColumnComponent.ctorParameters = function () { return []; };
20
+ ColumnComponent.propDecorators = {
21
+ width: [{ type: core.HostBinding, args: ['style.flex.basis.px',] }, { type: core.HostBinding, args: ['style.minWidth.px',] }, { type: core.Input }]
22
+ };
23
+ return ColumnComponent;
24
+ }());
25
+
26
+ var DirectiveGrow = /** @class */ (function () {
27
+ function DirectiveGrow(e, renderer) {
28
+ this.e = e;
29
+ this.renderer = renderer;
30
+ setTimeout(function () {
31
+ // e.nativeElement.style.flexGrow = 1;
32
+ renderer.setStyle(e.nativeElement, 'flexGrow', '1');
33
+ }, 0);
34
+ // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
35
+ }
36
+ DirectiveGrow.ctorParameters = function () { return [
37
+ { type: core.ElementRef },
38
+ { type: core.Renderer2 }
39
+ ]; };
40
+ DirectiveGrow.decorators = [
41
+ { type: core.Directive, args: [{
42
+ selector: '[grow]'
43
+ },] }
44
+ ];
45
+ DirectiveGrow.ctorParameters = function () { return [
46
+ { type: core.ElementRef },
47
+ { type: core.Renderer2 }
48
+ ]; };
49
+ return DirectiveGrow;
50
+ }());
51
+
52
+ // import { Log, Level } from 'ng2-logger/index';
53
+ // const log = Log.create('test');
54
+ // log.i('asdas')
55
+ var ColumnsComponent = /** @class */ (function () {
56
+ function ColumnsComponent() {
57
+ }
58
+ ColumnsComponent.prototype.ngOnInit = function () { };
59
+ ColumnsComponent.decorators = [
60
+ { type: core.Component, args: [{
61
+ selector: 'columns-container',
62
+ template: "<ng-content></ng-content>\n",
63
+ styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]
64
+ },] }
65
+ ];
66
+ ColumnsComponent.ctorParameters = function () { return []; };
67
+ ColumnsComponent.propDecorators = {
68
+ childrens: [{ type: core.ViewChildren, args: [ColumnComponent,] }]
69
+ };
70
+ return ColumnsComponent;
71
+ }());
72
+
73
+ var StaticColumnsModule = /** @class */ (function () {
74
+ function StaticColumnsModule() {
75
+ }
76
+ StaticColumnsModule.decorators = [
77
+ { type: core.NgModule, args: [{
78
+ imports: [],
79
+ exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
80
+ declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
81
+ providers: [],
82
+ },] }
83
+ ];
84
+ return StaticColumnsModule;
85
+ }());
86
+
87
+ exports.ColumnComponent = ColumnComponent;
88
+ exports.ColumnsComponent = ColumnsComponent;
89
+ exports.DirectiveGrow = DirectiveGrow;
90
+ exports.StaticColumnsModule = StaticColumnsModule;
91
+ exports.ɵa = ColumnComponent;
92
+ exports.ɵb = DirectiveGrow;
93
+
94
+ Object.defineProperty(exports, '__esModule', { value: true });
95
+
96
+ })));
97
+ //# sourceMappingURL=static-columns.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-columns.umd.js","sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts"],"sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n"],"names":["Component","HostBinding","Input","ElementRef","Renderer2","Directive","ViewChildren","NgModule"],"mappings":";;;;;;;QAUI;;SAEC;QAED,kCAAQ,GAAR,eAAc;;oBAZjBA,cAAS,SAAC;wBACP,QAAQ,EAAE,QAAQ;wBAClB,QAAQ,EAAE,2BAA2B;;qBAExC;;;;4BAEIC,gBAAW,SAAC,qBAAqB,cAAGA,gBAAW,SAAC,mBAAmB,cAAGC,UAAK;;QAQhF,sBAAC;KAdD;;;QCKE,uBAAmB,CAAa,EAAS,QAAmB;YAAzC,MAAC,GAAD,CAAC,CAAY;YAAS,aAAQ,GAAR,QAAQ,CAAW;YAC1D,UAAU,CAAC;;gBAET,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;aACpD,EAAE,CAAC,CAAC,CAAC;;SAGP;;oBAPqBC,eAAU;oBAAmBC,cAAS;;;oBAJ7DC,cAAS,SAAC;wBACT,QAAQ,EAAE,QAAQ;qBACnB;;;oBAL8BF,eAAU;oBAAEC,cAAS;;QAepD,oBAAC;KAZD;;ICDA;;;AAIA;QAQI;SAEC;QACD,mCAAQ,GAAR,eAAc;;oBAXjBJ,cAAS,SAAC;wBACP,QAAQ,EAAE,mBAAmB;wBAC7B,uCAAuC;;qBAE1C;;;;gCAEIM,iBAAY,SAAC,eAAe;;QAMjC,uBAAC;KAZD;;;QCDA;SAMoC;;oBANnCC,aAAQ,SAAC;wBACN,OAAO,EAAE,EAAE;wBACX,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;wBAC3D,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;wBAChE,SAAS,EAAE,EAAE;qBAChB;;QACkC,0BAAC;KANpC;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("static-columns",["exports","@angular/core"],t):t((e=e||self)["static-columns"]={},e.ng.core)}(this,(function(e,t){"use strict";var n=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:t.Component,args:[{selector:"column",template:"<ng-content></ng-content>",styles:[":host{flex-grow:0;flex-shrink:0;width:0}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={width:[{type:t.HostBinding,args:["style.flex.basis.px"]},{type:t.HostBinding,args:["style.minWidth.px"]},{type:t.Input}]},e}(),o=function(){function e(e,t){this.e=e,this.renderer=t,setTimeout((function(){t.setStyle(e.nativeElement,"flexGrow","1")}),0)}return e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},e.decorators=[{type:t.Directive,args:[{selector:"[grow]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},e}(),r=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:t.Component,args:[{selector:"columns-container",template:"<ng-content></ng-content>\n",styles:[":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={childrens:[{type:t.ViewChildren,args:[n]}]},e}(),s=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[],exports:[r,n,o],declarations:[r,n,o],providers:[]}]}],e}();e.ColumnComponent=n,e.ColumnsComponent=r,e.DirectiveGrow=o,e.StaticColumnsModule=s,e.ɵa=n,e.ɵb=o,Object.defineProperty(e,"__esModule",{value:!0})}));
2
+ //# sourceMappingURL=static-columns.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts"],"names":["ColumnComponent","prototype","ngOnInit","Component","args","selector","template","HostBinding","type","Input","DirectiveGrow","e","renderer","this","setTimeout","setStyle","nativeElement","ElementRef","Renderer2","Directive","ColumnsComponent","ViewChildren","StaticColumnsModule","NgModule","imports","exports","declarations","providers"],"mappings":"sSAUI,SAAAA,KAMJ,OAFIA,EAAAC,UAAAC,SAAA,iCAZHC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,SACVC,SAAU,yJAITC,EAAAA,YAAWH,KAAA,CAAC,wBAAqB,CAAAI,KAAGD,EAAAA,YAAWH,KAAA,CAAC,sBAAmB,CAAAI,KAAGC,EAAAA,SAQ3ET,kBCTE,SAAAU,EAAmBC,EAAsBC,GAAtBC,KAAAF,EAAAA,EAAsBE,KAAAD,SAAAA,EACvCE,YAAW,WAETF,EAASG,SAASJ,EAAEK,cAAe,WAAY,OAC9C,GAIP,gDARwBC,EAAAA,kBAA6BC,EAAAA,iCAJpDC,EAAAA,UAASf,KAAA,CAAC,CACTC,SAAU,sDAJmBY,EAAAA,kBAAYC,EAAAA,aAe3CR,KCTAU,EAAA,WAQI,SAAAA,KAIJ,OADIA,EAAAnB,UAAAC,SAAA,iCAXHC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,oBACVC,SAAA,yMAICe,EAAAA,aAAYjB,KAAA,CAACJ,MAMlBoB,EAZA,gBCDA,SAAAE,KAMmC,2BANlCC,EAAAA,SAAQnB,KAAA,CAAC,CACNoB,QAAS,GACTC,QAAS,CAACL,EAAkBpB,EAAiBU,GAC7CgB,aAAc,CAACN,EAAkBpB,EAAiBU,GAClDiB,UAAW,OAEoBL","sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n"]}
@@ -0,0 +1,82 @@
1
+ import { Component, HostBinding, Input, ElementRef, Renderer2, Directive, ViewChildren, NgModule } from '@angular/core';
2
+
3
+ class ColumnComponent {
4
+ constructor() {
5
+ // this.ccwidth = 90;
6
+ }
7
+ ngOnInit() { }
8
+ }
9
+ ColumnComponent.decorators = [
10
+ { type: Component, args: [{
11
+ selector: 'column',
12
+ template: '<ng-content></ng-content>',
13
+ styles: [":host{flex-grow:0;flex-shrink:0;width:0}"]
14
+ },] }
15
+ ];
16
+ ColumnComponent.ctorParameters = () => [];
17
+ ColumnComponent.propDecorators = {
18
+ width: [{ type: HostBinding, args: ['style.flex.basis.px',] }, { type: HostBinding, args: ['style.minWidth.px',] }, { type: Input }]
19
+ };
20
+
21
+ class DirectiveGrow {
22
+ constructor(e, renderer) {
23
+ this.e = e;
24
+ this.renderer = renderer;
25
+ setTimeout(() => {
26
+ // e.nativeElement.style.flexGrow = 1;
27
+ renderer.setStyle(e.nativeElement, 'flexGrow', '1');
28
+ }, 0);
29
+ // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
30
+ }
31
+ }
32
+ DirectiveGrow.ctorParameters = () => [
33
+ { type: ElementRef },
34
+ { type: Renderer2 }
35
+ ];
36
+ DirectiveGrow.decorators = [
37
+ { type: Directive, args: [{
38
+ selector: '[grow]'
39
+ },] }
40
+ ];
41
+ DirectiveGrow.ctorParameters = () => [
42
+ { type: ElementRef },
43
+ { type: Renderer2 }
44
+ ];
45
+
46
+ // import { Log, Level } from 'ng2-logger/index';
47
+ // const log = Log.create('test');
48
+ // log.i('asdas')
49
+ class ColumnsComponent {
50
+ constructor() {
51
+ }
52
+ ngOnInit() { }
53
+ }
54
+ ColumnsComponent.decorators = [
55
+ { type: Component, args: [{
56
+ selector: 'columns-container',
57
+ template: "<ng-content></ng-content>\n",
58
+ styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]
59
+ },] }
60
+ ];
61
+ ColumnsComponent.ctorParameters = () => [];
62
+ ColumnsComponent.propDecorators = {
63
+ childrens: [{ type: ViewChildren, args: [ColumnComponent,] }]
64
+ };
65
+
66
+ class StaticColumnsModule {
67
+ }
68
+ StaticColumnsModule.decorators = [
69
+ { type: NgModule, args: [{
70
+ imports: [],
71
+ exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
72
+ declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
73
+ providers: [],
74
+ },] }
75
+ ];
76
+
77
+ /**
78
+ * Generated bundle index. Do not edit.
79
+ */
80
+
81
+ export { ColumnComponent, ColumnsComponent, DirectiveGrow, StaticColumnsModule, ColumnComponent as ɵa, DirectiveGrow as ɵb };
82
+ //# sourceMappingURL=static-columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-columns.js","sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts","ng://static-columns/static-columns.ts"],"sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {ColumnComponent as ɵa,DirectiveGrow as ɵb} from './column';"],"names":[],"mappings":";;MAOa,eAAe;IAGxB;;KAEC;IAED,QAAQ,MAAM;;;YAZjB,SAAS,SAAC;gBACP,QAAQ,EAAE,QAAQ;gBAClB,QAAQ,EAAE,2BAA2B;;aAExC;;;;oBAEI,WAAW,SAAC,qBAAqB,cAAG,WAAW,SAAC,mBAAmB,cAAG,KAAK;;;MCFnE,aAAa;IACxB,YAAmB,CAAa,EAAS,QAAmB;QAAzC,MAAC,GAAD,CAAC,CAAY;QAAS,aAAQ,GAAR,QAAQ,CAAW;QAC1D,UAAU,CAAC;;YAET,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;SACpD,EAAE,CAAC,CAAC,CAAC;;KAGP;;;YAPqB,UAAU;YAAmB,SAAS;;;YAJ7D,SAAS,SAAC;gBACT,QAAQ,EAAE,QAAQ;aACnB;;;YAL8B,UAAU;YAAE,SAAS;;;ACEpD;;;AASA,MAAa,gBAAgB;IAGzB;KAEC;IACD,QAAQ,MAAM;;;YAXjB,SAAS,SAAC;gBACP,QAAQ,EAAE,mBAAmB;gBAC7B,uCAAuC;;aAE1C;;;;wBAEI,YAAY,SAAC,eAAe;;;MCDpB,mBAAmB;;;YAN/B,QAAQ,SAAC;gBACN,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;gBAC3D,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;gBAChE,SAAS,EAAE,EAAE;aAChB;;;ACVD;;GAEG;;;;"}
@@ -0,0 +1,88 @@
1
+ import { Component, HostBinding, Input, ElementRef, Renderer2, Directive, ViewChildren, NgModule } from '@angular/core';
2
+
3
+ var ColumnComponent = /** @class */ (function () {
4
+ function ColumnComponent() {
5
+ // this.ccwidth = 90;
6
+ }
7
+ ColumnComponent.prototype.ngOnInit = function () { };
8
+ ColumnComponent.decorators = [
9
+ { type: Component, args: [{
10
+ selector: 'column',
11
+ template: '<ng-content></ng-content>',
12
+ styles: [":host{flex-grow:0;flex-shrink:0;width:0}"]
13
+ },] }
14
+ ];
15
+ ColumnComponent.ctorParameters = function () { return []; };
16
+ ColumnComponent.propDecorators = {
17
+ width: [{ type: HostBinding, args: ['style.flex.basis.px',] }, { type: HostBinding, args: ['style.minWidth.px',] }, { type: Input }]
18
+ };
19
+ return ColumnComponent;
20
+ }());
21
+
22
+ var DirectiveGrow = /** @class */ (function () {
23
+ function DirectiveGrow(e, renderer) {
24
+ this.e = e;
25
+ this.renderer = renderer;
26
+ setTimeout(function () {
27
+ // e.nativeElement.style.flexGrow = 1;
28
+ renderer.setStyle(e.nativeElement, 'flexGrow', '1');
29
+ }, 0);
30
+ // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
31
+ }
32
+ DirectiveGrow.ctorParameters = function () { return [
33
+ { type: ElementRef },
34
+ { type: Renderer2 }
35
+ ]; };
36
+ DirectiveGrow.decorators = [
37
+ { type: Directive, args: [{
38
+ selector: '[grow]'
39
+ },] }
40
+ ];
41
+ DirectiveGrow.ctorParameters = function () { return [
42
+ { type: ElementRef },
43
+ { type: Renderer2 }
44
+ ]; };
45
+ return DirectiveGrow;
46
+ }());
47
+
48
+ // import { Log, Level } from 'ng2-logger/index';
49
+ // const log = Log.create('test');
50
+ // log.i('asdas')
51
+ var ColumnsComponent = /** @class */ (function () {
52
+ function ColumnsComponent() {
53
+ }
54
+ ColumnsComponent.prototype.ngOnInit = function () { };
55
+ ColumnsComponent.decorators = [
56
+ { type: Component, args: [{
57
+ selector: 'columns-container',
58
+ template: "<ng-content></ng-content>\n",
59
+ styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]
60
+ },] }
61
+ ];
62
+ ColumnsComponent.ctorParameters = function () { return []; };
63
+ ColumnsComponent.propDecorators = {
64
+ childrens: [{ type: ViewChildren, args: [ColumnComponent,] }]
65
+ };
66
+ return ColumnsComponent;
67
+ }());
68
+
69
+ var StaticColumnsModule = /** @class */ (function () {
70
+ function StaticColumnsModule() {
71
+ }
72
+ StaticColumnsModule.decorators = [
73
+ { type: NgModule, args: [{
74
+ imports: [],
75
+ exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
76
+ declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
77
+ providers: [],
78
+ },] }
79
+ ];
80
+ return StaticColumnsModule;
81
+ }());
82
+
83
+ /**
84
+ * Generated bundle index. Do not edit.
85
+ */
86
+
87
+ export { ColumnComponent, ColumnsComponent, DirectiveGrow, StaticColumnsModule, ColumnComponent as ɵa, DirectiveGrow as ɵb };
88
+ //# sourceMappingURL=static-columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-columns.js","sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts","ng://static-columns/static-columns.ts"],"sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {ColumnComponent as ɵa,DirectiveGrow as ɵb} from './column';"],"names":[],"mappings":";;;IAUI;;KAEC;IAED,kCAAQ,GAAR,eAAc;;gBAZjB,SAAS,SAAC;oBACP,QAAQ,EAAE,QAAQ;oBAClB,QAAQ,EAAE,2BAA2B;;iBAExC;;;;wBAEI,WAAW,SAAC,qBAAqB,cAAG,WAAW,SAAC,mBAAmB,cAAG,KAAK;;IAQhF,sBAAC;CAdD;;;ICKE,uBAAmB,CAAa,EAAS,QAAmB;QAAzC,MAAC,GAAD,CAAC,CAAY;QAAS,aAAQ,GAAR,QAAQ,CAAW;QAC1D,UAAU,CAAC;;YAET,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;SACpD,EAAE,CAAC,CAAC,CAAC;;KAGP;;gBAPqB,UAAU;gBAAmB,SAAS;;;gBAJ7D,SAAS,SAAC;oBACT,QAAQ,EAAE,QAAQ;iBACnB;;;gBAL8B,UAAU;gBAAE,SAAS;;IAepD,oBAAC;CAZD;;ACDA;;;AAIA;IAQI;KAEC;IACD,mCAAQ,GAAR,eAAc;;gBAXjB,SAAS,SAAC;oBACP,QAAQ,EAAE,mBAAmB;oBAC7B,uCAAuC;;iBAE1C;;;;4BAEI,YAAY,SAAC,eAAe;;IAMjC,uBAAC;CAZD;;;ICDA;KAMoC;;gBANnC,QAAQ,SAAC;oBACN,OAAO,EAAE,EAAE;oBACX,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;oBAC3D,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;oBAChE,SAAS,EAAE,EAAE;iBAChB;;IACkC,0BAAC;CANpC;;ACLA;;GAEG;;;;"}
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "static-columns",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "dependencies": {},
5
5
  "devDependencies": {},
6
- "main": "esm2015/static-columns.js",
6
+ "main": "bundles/static-columns.umd.js",
7
+ "module": "fesm5/static-columns.js",
8
+ "es2015": "fesm2015/static-columns.js",
7
9
  "esm5": "esm5/static-columns.js",
8
10
  "esm2015": "esm2015/static-columns.js",
11
+ "fesm5": "fesm5/static-columns.js",
12
+ "fesm2015": "fesm2015/static-columns.js",
9
13
  "typings": "static-columns.d.ts",
10
14
  "metadata": "static-columns.metadata.json",
11
15
  "sideEffects": false,
@@ -0,0 +1,97 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('static-columns', ['exports', '@angular/core'], factory) :
4
+ (global = global || self, factory(global['static-columns'] = {}, global.ng.core));
5
+ }(this, (function (exports, core) { 'use strict';
6
+
7
+ var ColumnComponent = /** @class */ (function () {
8
+ function ColumnComponent() {
9
+ // this.ccwidth = 90;
10
+ }
11
+ ColumnComponent.prototype.ngOnInit = function () { };
12
+ ColumnComponent.decorators = [
13
+ { type: core.Component, args: [{
14
+ selector: 'column',
15
+ template: '<ng-content></ng-content>',
16
+ styles: [":host{flex-grow:0;flex-shrink:0;width:0}"]
17
+ },] }
18
+ ];
19
+ ColumnComponent.ctorParameters = function () { return []; };
20
+ ColumnComponent.propDecorators = {
21
+ width: [{ type: core.HostBinding, args: ['style.flex.basis.px',] }, { type: core.HostBinding, args: ['style.minWidth.px',] }, { type: core.Input }]
22
+ };
23
+ return ColumnComponent;
24
+ }());
25
+
26
+ var DirectiveGrow = /** @class */ (function () {
27
+ function DirectiveGrow(e, renderer) {
28
+ this.e = e;
29
+ this.renderer = renderer;
30
+ setTimeout(function () {
31
+ // e.nativeElement.style.flexGrow = 1;
32
+ renderer.setStyle(e.nativeElement, 'flexGrow', '1');
33
+ }, 0);
34
+ // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
35
+ }
36
+ DirectiveGrow.ctorParameters = function () { return [
37
+ { type: core.ElementRef },
38
+ { type: core.Renderer2 }
39
+ ]; };
40
+ DirectiveGrow.decorators = [
41
+ { type: core.Directive, args: [{
42
+ selector: '[grow]'
43
+ },] }
44
+ ];
45
+ DirectiveGrow.ctorParameters = function () { return [
46
+ { type: core.ElementRef },
47
+ { type: core.Renderer2 }
48
+ ]; };
49
+ return DirectiveGrow;
50
+ }());
51
+
52
+ // import { Log, Level } from 'ng2-logger/index';
53
+ // const log = Log.create('test');
54
+ // log.i('asdas')
55
+ var ColumnsComponent = /** @class */ (function () {
56
+ function ColumnsComponent() {
57
+ }
58
+ ColumnsComponent.prototype.ngOnInit = function () { };
59
+ ColumnsComponent.decorators = [
60
+ { type: core.Component, args: [{
61
+ selector: 'columns-container',
62
+ template: "<ng-content></ng-content>\n",
63
+ styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]
64
+ },] }
65
+ ];
66
+ ColumnsComponent.ctorParameters = function () { return []; };
67
+ ColumnsComponent.propDecorators = {
68
+ childrens: [{ type: core.ViewChildren, args: [ColumnComponent,] }]
69
+ };
70
+ return ColumnsComponent;
71
+ }());
72
+
73
+ var StaticColumnsModule = /** @class */ (function () {
74
+ function StaticColumnsModule() {
75
+ }
76
+ StaticColumnsModule.decorators = [
77
+ { type: core.NgModule, args: [{
78
+ imports: [],
79
+ exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
80
+ declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
81
+ providers: [],
82
+ },] }
83
+ ];
84
+ return StaticColumnsModule;
85
+ }());
86
+
87
+ exports.ColumnComponent = ColumnComponent;
88
+ exports.ColumnsComponent = ColumnsComponent;
89
+ exports.DirectiveGrow = DirectiveGrow;
90
+ exports.StaticColumnsModule = StaticColumnsModule;
91
+ exports.ɵa = ColumnComponent;
92
+ exports.ɵb = DirectiveGrow;
93
+
94
+ Object.defineProperty(exports, '__esModule', { value: true });
95
+
96
+ })));
97
+ //# sourceMappingURL=static-columns.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-columns.umd.js","sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts"],"sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n"],"names":["Component","HostBinding","Input","ElementRef","Renderer2","Directive","ViewChildren","NgModule"],"mappings":";;;;;;;QAUI;;SAEC;QAED,kCAAQ,GAAR,eAAc;;oBAZjBA,cAAS,SAAC;wBACP,QAAQ,EAAE,QAAQ;wBAClB,QAAQ,EAAE,2BAA2B;;qBAExC;;;;4BAEIC,gBAAW,SAAC,qBAAqB,cAAGA,gBAAW,SAAC,mBAAmB,cAAGC,UAAK;;QAQhF,sBAAC;KAdD;;;QCKE,uBAAmB,CAAa,EAAS,QAAmB;YAAzC,MAAC,GAAD,CAAC,CAAY;YAAS,aAAQ,GAAR,QAAQ,CAAW;YAC1D,UAAU,CAAC;;gBAET,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;aACpD,EAAE,CAAC,CAAC,CAAC;;SAGP;;oBAPqBC,eAAU;oBAAmBC,cAAS;;;oBAJ7DC,cAAS,SAAC;wBACT,QAAQ,EAAE,QAAQ;qBACnB;;;oBAL8BF,eAAU;oBAAEC,cAAS;;QAepD,oBAAC;KAZD;;ICDA;;;AAIA;QAQI;SAEC;QACD,mCAAQ,GAAR,eAAc;;oBAXjBJ,cAAS,SAAC;wBACP,QAAQ,EAAE,mBAAmB;wBAC7B,uCAAuC;;qBAE1C;;;;gCAEIM,iBAAY,SAAC,eAAe;;QAMjC,uBAAC;KAZD;;;QCDA;SAMoC;;oBANnCC,aAAQ,SAAC;wBACN,OAAO,EAAE,EAAE;wBACX,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;wBAC3D,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;wBAChE,SAAS,EAAE,EAAE;qBAChB;;QACkC,0BAAC;KANpC;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("static-columns",["exports","@angular/core"],t):t((e=e||self)["static-columns"]={},e.ng.core)}(this,(function(e,t){"use strict";var n=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:t.Component,args:[{selector:"column",template:"<ng-content></ng-content>",styles:[":host{flex-grow:0;flex-shrink:0;width:0}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={width:[{type:t.HostBinding,args:["style.flex.basis.px"]},{type:t.HostBinding,args:["style.minWidth.px"]},{type:t.Input}]},e}(),o=function(){function e(e,t){this.e=e,this.renderer=t,setTimeout((function(){t.setStyle(e.nativeElement,"flexGrow","1")}),0)}return e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},e.decorators=[{type:t.Directive,args:[{selector:"[grow]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},e}(),r=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:t.Component,args:[{selector:"columns-container",template:"<ng-content></ng-content>\n",styles:[":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]}]}],e.ctorParameters=function(){return[]},e.propDecorators={childrens:[{type:t.ViewChildren,args:[n]}]},e}(),s=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[],exports:[r,n,o],declarations:[r,n,o],providers:[]}]}],e}();e.ColumnComponent=n,e.ColumnsComponent=r,e.DirectiveGrow=o,e.StaticColumnsModule=s,e.ɵa=n,e.ɵb=o,Object.defineProperty(e,"__esModule",{value:!0})}));
2
+ //# sourceMappingURL=static-columns.umd.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts"],"names":["ColumnComponent","prototype","ngOnInit","Component","args","selector","template","HostBinding","type","Input","DirectiveGrow","e","renderer","this","setTimeout","setStyle","nativeElement","ElementRef","Renderer2","Directive","ColumnsComponent","ViewChildren","StaticColumnsModule","NgModule","imports","exports","declarations","providers"],"mappings":"sSAUI,SAAAA,KAMJ,OAFIA,EAAAC,UAAAC,SAAA,iCAZHC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,SACVC,SAAU,yJAITC,EAAAA,YAAWH,KAAA,CAAC,wBAAqB,CAAAI,KAAGD,EAAAA,YAAWH,KAAA,CAAC,sBAAmB,CAAAI,KAAGC,EAAAA,SAQ3ET,kBCTE,SAAAU,EAAmBC,EAAsBC,GAAtBC,KAAAF,EAAAA,EAAsBE,KAAAD,SAAAA,EACvCE,YAAW,WAETF,EAASG,SAASJ,EAAEK,cAAe,WAAY,OAC9C,GAIP,gDARwBC,EAAAA,kBAA6BC,EAAAA,iCAJpDC,EAAAA,UAASf,KAAA,CAAC,CACTC,SAAU,sDAJmBY,EAAAA,kBAAYC,EAAAA,aAe3CR,KCTAU,EAAA,WAQI,SAAAA,KAIJ,OADIA,EAAAnB,UAAAC,SAAA,iCAXHC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,oBACVC,SAAA,yMAICe,EAAAA,aAAYjB,KAAA,CAACJ,MAMlBoB,EAZA,gBCDA,SAAAE,KAMmC,2BANlCC,EAAAA,SAAQnB,KAAA,CAAC,CACNoB,QAAS,GACTC,QAAS,CAACL,EAAkBpB,EAAiBU,GAC7CgB,aAAc,CAACN,EAAkBpB,EAAiBU,GAClDiB,UAAW,OAEoBL","sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n"]}
@@ -0,0 +1,82 @@
1
+ import { Component, HostBinding, Input, ElementRef, Renderer2, Directive, ViewChildren, NgModule } from '@angular/core';
2
+
3
+ class ColumnComponent {
4
+ constructor() {
5
+ // this.ccwidth = 90;
6
+ }
7
+ ngOnInit() { }
8
+ }
9
+ ColumnComponent.decorators = [
10
+ { type: Component, args: [{
11
+ selector: 'column',
12
+ template: '<ng-content></ng-content>',
13
+ styles: [":host{flex-grow:0;flex-shrink:0;width:0}"]
14
+ },] }
15
+ ];
16
+ ColumnComponent.ctorParameters = () => [];
17
+ ColumnComponent.propDecorators = {
18
+ width: [{ type: HostBinding, args: ['style.flex.basis.px',] }, { type: HostBinding, args: ['style.minWidth.px',] }, { type: Input }]
19
+ };
20
+
21
+ class DirectiveGrow {
22
+ constructor(e, renderer) {
23
+ this.e = e;
24
+ this.renderer = renderer;
25
+ setTimeout(() => {
26
+ // e.nativeElement.style.flexGrow = 1;
27
+ renderer.setStyle(e.nativeElement, 'flexGrow', '1');
28
+ }, 0);
29
+ // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
30
+ }
31
+ }
32
+ DirectiveGrow.ctorParameters = () => [
33
+ { type: ElementRef },
34
+ { type: Renderer2 }
35
+ ];
36
+ DirectiveGrow.decorators = [
37
+ { type: Directive, args: [{
38
+ selector: '[grow]'
39
+ },] }
40
+ ];
41
+ DirectiveGrow.ctorParameters = () => [
42
+ { type: ElementRef },
43
+ { type: Renderer2 }
44
+ ];
45
+
46
+ // import { Log, Level } from 'ng2-logger/index';
47
+ // const log = Log.create('test');
48
+ // log.i('asdas')
49
+ class ColumnsComponent {
50
+ constructor() {
51
+ }
52
+ ngOnInit() { }
53
+ }
54
+ ColumnsComponent.decorators = [
55
+ { type: Component, args: [{
56
+ selector: 'columns-container',
57
+ template: "<ng-content></ng-content>\n",
58
+ styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]
59
+ },] }
60
+ ];
61
+ ColumnsComponent.ctorParameters = () => [];
62
+ ColumnsComponent.propDecorators = {
63
+ childrens: [{ type: ViewChildren, args: [ColumnComponent,] }]
64
+ };
65
+
66
+ class StaticColumnsModule {
67
+ }
68
+ StaticColumnsModule.decorators = [
69
+ { type: NgModule, args: [{
70
+ imports: [],
71
+ exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
72
+ declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
73
+ providers: [],
74
+ },] }
75
+ ];
76
+
77
+ /**
78
+ * Generated bundle index. Do not edit.
79
+ */
80
+
81
+ export { ColumnComponent, ColumnsComponent, DirectiveGrow, StaticColumnsModule, ColumnComponent as ɵa, DirectiveGrow as ɵb };
82
+ //# sourceMappingURL=static-columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-columns.js","sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts","ng://static-columns/static-columns.ts"],"sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {ColumnComponent as ɵa,DirectiveGrow as ɵb} from './column';"],"names":[],"mappings":";;MAOa,eAAe;IAGxB;;KAEC;IAED,QAAQ,MAAM;;;YAZjB,SAAS,SAAC;gBACP,QAAQ,EAAE,QAAQ;gBAClB,QAAQ,EAAE,2BAA2B;;aAExC;;;;oBAEI,WAAW,SAAC,qBAAqB,cAAG,WAAW,SAAC,mBAAmB,cAAG,KAAK;;;MCFnE,aAAa;IACxB,YAAmB,CAAa,EAAS,QAAmB;QAAzC,MAAC,GAAD,CAAC,CAAY;QAAS,aAAQ,GAAR,QAAQ,CAAW;QAC1D,UAAU,CAAC;;YAET,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;SACpD,EAAE,CAAC,CAAC,CAAC;;KAGP;;;YAPqB,UAAU;YAAmB,SAAS;;;YAJ7D,SAAS,SAAC;gBACT,QAAQ,EAAE,QAAQ;aACnB;;;YAL8B,UAAU;YAAE,SAAS;;;ACEpD;;;AASA,MAAa,gBAAgB;IAGzB;KAEC;IACD,QAAQ,MAAM;;;YAXjB,SAAS,SAAC;gBACP,QAAQ,EAAE,mBAAmB;gBAC7B,uCAAuC;;aAE1C;;;;wBAEI,YAAY,SAAC,eAAe;;;MCDpB,mBAAmB;;;YAN/B,QAAQ,SAAC;gBACN,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;gBAC3D,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;gBAChE,SAAS,EAAE,EAAE;aAChB;;;ACVD;;GAEG;;;;"}
@@ -0,0 +1,88 @@
1
+ import { Component, HostBinding, Input, ElementRef, Renderer2, Directive, ViewChildren, NgModule } from '@angular/core';
2
+
3
+ var ColumnComponent = /** @class */ (function () {
4
+ function ColumnComponent() {
5
+ // this.ccwidth = 90;
6
+ }
7
+ ColumnComponent.prototype.ngOnInit = function () { };
8
+ ColumnComponent.decorators = [
9
+ { type: Component, args: [{
10
+ selector: 'column',
11
+ template: '<ng-content></ng-content>',
12
+ styles: [":host{flex-grow:0;flex-shrink:0;width:0}"]
13
+ },] }
14
+ ];
15
+ ColumnComponent.ctorParameters = function () { return []; };
16
+ ColumnComponent.propDecorators = {
17
+ width: [{ type: HostBinding, args: ['style.flex.basis.px',] }, { type: HostBinding, args: ['style.minWidth.px',] }, { type: Input }]
18
+ };
19
+ return ColumnComponent;
20
+ }());
21
+
22
+ var DirectiveGrow = /** @class */ (function () {
23
+ function DirectiveGrow(e, renderer) {
24
+ this.e = e;
25
+ this.renderer = renderer;
26
+ setTimeout(function () {
27
+ // e.nativeElement.style.flexGrow = 1;
28
+ renderer.setStyle(e.nativeElement, 'flexGrow', '1');
29
+ }, 0);
30
+ // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
31
+ }
32
+ DirectiveGrow.ctorParameters = function () { return [
33
+ { type: ElementRef },
34
+ { type: Renderer2 }
35
+ ]; };
36
+ DirectiveGrow.decorators = [
37
+ { type: Directive, args: [{
38
+ selector: '[grow]'
39
+ },] }
40
+ ];
41
+ DirectiveGrow.ctorParameters = function () { return [
42
+ { type: ElementRef },
43
+ { type: Renderer2 }
44
+ ]; };
45
+ return DirectiveGrow;
46
+ }());
47
+
48
+ // import { Log, Level } from 'ng2-logger/index';
49
+ // const log = Log.create('test');
50
+ // log.i('asdas')
51
+ var ColumnsComponent = /** @class */ (function () {
52
+ function ColumnsComponent() {
53
+ }
54
+ ColumnsComponent.prototype.ngOnInit = function () { };
55
+ ColumnsComponent.decorators = [
56
+ { type: Component, args: [{
57
+ selector: 'columns-container',
58
+ template: "<ng-content></ng-content>\n",
59
+ styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}"]
60
+ },] }
61
+ ];
62
+ ColumnsComponent.ctorParameters = function () { return []; };
63
+ ColumnsComponent.propDecorators = {
64
+ childrens: [{ type: ViewChildren, args: [ColumnComponent,] }]
65
+ };
66
+ return ColumnsComponent;
67
+ }());
68
+
69
+ var StaticColumnsModule = /** @class */ (function () {
70
+ function StaticColumnsModule() {
71
+ }
72
+ StaticColumnsModule.decorators = [
73
+ { type: NgModule, args: [{
74
+ imports: [],
75
+ exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
76
+ declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
77
+ providers: [],
78
+ },] }
79
+ ];
80
+ return StaticColumnsModule;
81
+ }());
82
+
83
+ /**
84
+ * Generated bundle index. Do not edit.
85
+ */
86
+
87
+ export { ColumnComponent, ColumnsComponent, DirectiveGrow, StaticColumnsModule, ColumnComponent as ɵa, DirectiveGrow as ɵb };
88
+ //# sourceMappingURL=static-columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-columns.js","sources":["ng://static-columns/column/column.component.ts","ng://static-columns/column/column-grow.directive.ts","ng://static-columns/columns.component.ts","ng://static-columns/columns.module.ts","ng://static-columns/static-columns.ts"],"sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss']\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px') @HostBinding('style.minWidth.px') @Input() width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() { }\n\n}\n","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n\n@Directive({\n selector: '[grow]'\n})\nexport class DirectiveGrow {\n constructor(public e: ElementRef, public renderer: Renderer2) {\n setTimeout(() => {\n // e.nativeElement.style.flexGrow = 1;\n renderer.setStyle(e.nativeElement, 'flexGrow', '1')\n }, 0);\n\n // renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChildren, QueryList } from '@angular/core';\nimport { ColumnComponent } from './column';\n// import { Log, Level } from 'ng2-logger/index';\n// const log = Log.create('test');\n// log.i('asdas')\n\n@Component({\n selector: 'columns-container',\n templateUrl: './columns.component.html',\n styleUrls: ['./columns.component.scss']\n})\nexport class ColumnsComponent implements OnInit {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n\n constructor() {\n\n }\n ngOnInit() { }\n}\n","import { NgModule } from '@angular/core';\n\nimport { ColumnComponent, DirectiveGrow } from './column';\nimport { ColumnsComponent } from './columns.component';\n\n@NgModule({\n imports: [],\n exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],\n providers: [],\n})\nexport class StaticColumnsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {ColumnComponent as ɵa,DirectiveGrow as ɵb} from './column';"],"names":[],"mappings":";;;IAUI;;KAEC;IAED,kCAAQ,GAAR,eAAc;;gBAZjB,SAAS,SAAC;oBACP,QAAQ,EAAE,QAAQ;oBAClB,QAAQ,EAAE,2BAA2B;;iBAExC;;;;wBAEI,WAAW,SAAC,qBAAqB,cAAG,WAAW,SAAC,mBAAmB,cAAG,KAAK;;IAQhF,sBAAC;CAdD;;;ICKE,uBAAmB,CAAa,EAAS,QAAmB;QAAzC,MAAC,GAAD,CAAC,CAAY;QAAS,aAAQ,GAAR,QAAQ,CAAW;QAC1D,UAAU,CAAC;;YAET,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,GAAG,CAAC,CAAA;SACpD,EAAE,CAAC,CAAC,CAAC;;KAGP;;gBAPqB,UAAU;gBAAmB,SAAS;;;gBAJ7D,SAAS,SAAC;oBACT,QAAQ,EAAE,QAAQ;iBACnB;;;gBAL8B,UAAU;gBAAE,SAAS;;IAepD,oBAAC;CAZD;;ACDA;;;AAIA;IAQI;KAEC;IACD,mCAAQ,GAAR,eAAc;;gBAXjB,SAAS,SAAC;oBACP,QAAQ,EAAE,mBAAmB;oBAC7B,uCAAuC;;iBAE1C;;;;4BAEI,YAAY,SAAC,eAAe;;IAMjC,uBAAC;CAZD;;;ICDA;KAMoC;;gBANnC,QAAQ,SAAC;oBACN,OAAO,EAAE,EAAE;oBACX,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;oBAC3D,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;oBAChE,SAAS,EAAE,EAAE;iBAChB;;IACkC,0BAAC;CANpC;;ACLA;;GAEG;;;;"}
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "static-columns",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "dependencies": {},
5
5
  "devDependencies": {},
6
- "main": "esm2015/static-columns.js",
6
+ "main": "bundles/static-columns.umd.js",
7
+ "module": "fesm5/static-columns.js",
8
+ "es2015": "fesm2015/static-columns.js",
7
9
  "esm5": "esm5/static-columns.js",
8
10
  "esm2015": "esm2015/static-columns.js",
11
+ "fesm5": "fesm5/static-columns.js",
12
+ "fesm2015": "fesm2015/static-columns.js",
9
13
  "typings": "static-columns.d.ts",
10
14
  "metadata": "static-columns.metadata.json",
11
15
  "sideEffects": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "static-columns",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Static columns with flexbox for Agnular2",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,6 @@
24
24
  "homepage": "https://github.com/darekf77/static-columns#readme",
25
25
  "dependencies": {},
26
26
  "private": false,
27
- "lastBuildTagHash": "5baef39a2975b6cdc081a766bd441e6776fb76df",
28
- "peerDependencies": {},
29
- "main": "esm2015/static-columns.js"
27
+ "lastBuildTagHash": "39c8e6eed02204ba5e57a87795648cb426037b1a",
28
+ "peerDependencies": {}
30
29
  }
@@ -204,7 +204,7 @@
204
204
  "sloc": "0.2.0",
205
205
  "socket.io": "2.4.1",
206
206
  "sort-package-json": "1.11.0",
207
- "static-columns": "~2.0.13",
207
+ "static-columns": "~2.0.16",
208
208
  "string-similarity": "4.0.2",
209
209
  "sudo-block": "3.0.0",
210
210
  "systeminformation": "3.45.7",