static-columns 2.0.13 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -6
- package/app/app.component.d.ts +8 -0
- package/app/app.component.js +32 -0
- package/app/app.component.js.map +1 -0
- package/app/app.module.d.ts +2 -0
- package/app/app.module.js +40 -0
- package/app/app.module.js.map +1 -0
- package/browser/README.md +24 -0
- package/browser/esm2020/lib/column/column-grow.directive.mjs +22 -0
- package/browser/esm2020/lib/column/column.component.mjs +23 -0
- package/browser/esm2020/lib/column/index.mjs +3 -0
- package/browser/esm2020/lib/columns.component.mjs +21 -0
- package/browser/esm2020/lib/columns.module.mjs +19 -0
- package/browser/esm2020/lib/index.mjs +6 -0
- package/browser/esm2020/public-api.mjs +2 -0
- package/browser/esm2020/static-columns.mjs +5 -0
- package/browser/fesm2015/static-columns.mjs +83 -0
- package/browser/fesm2015/static-columns.mjs.map +1 -0
- package/browser/fesm2020/static-columns.mjs +83 -0
- package/browser/fesm2020/static-columns.mjs.map +1 -0
- package/browser/lib/column/column-grow.directive.d.ts +9 -0
- package/browser/lib/column/column.component.d.ts +9 -0
- package/browser/lib/column/index.d.ts +2 -0
- package/browser/lib/columns.component.d.ts +10 -0
- package/browser/lib/columns.module.d.ts +9 -0
- package/browser/lib/index.d.ts +5 -0
- package/browser/package.json +30 -5
- package/browser/public-api.d.ts +1 -0
- package/browser/static-columns.d.ts +5 -0
- package/client/README.md +24 -0
- package/client/esm2020/lib/column/column-grow.directive.mjs +22 -0
- package/client/esm2020/lib/column/column.component.mjs +23 -0
- package/client/esm2020/lib/column/index.mjs +3 -0
- package/client/esm2020/lib/columns.component.mjs +21 -0
- package/client/esm2020/lib/columns.module.mjs +19 -0
- package/client/esm2020/lib/index.mjs +6 -0
- package/client/esm2020/public-api.mjs +2 -0
- package/client/esm2020/static-columns.mjs +5 -0
- package/client/fesm2015/static-columns.mjs +83 -0
- package/client/fesm2015/static-columns.mjs.map +1 -0
- package/client/fesm2020/static-columns.mjs +83 -0
- package/client/fesm2020/static-columns.mjs.map +1 -0
- package/client/lib/column/column-grow.directive.d.ts +9 -0
- package/client/lib/column/column.component.d.ts +9 -0
- package/client/lib/column/index.d.ts +2 -0
- package/client/lib/columns.component.d.ts +10 -0
- package/client/lib/columns.module.d.ts +9 -0
- package/client/lib/index.d.ts +5 -0
- package/client/package.json +29 -4
- package/client/public-api.d.ts +1 -0
- package/client/static-columns.d.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +3 -6
- package/index.js.map +1 -1
- package/lib/column/column-grow.directive.d.ts +6 -0
- package/lib/column/column-grow.directive.js +26 -0
- package/lib/column/column-grow.directive.js.map +1 -0
- package/lib/column/column.component.d.ts +6 -0
- package/lib/column/column.component.js +29 -0
- package/lib/column/column.component.js.map +1 -0
- package/lib/column/index.d.ts +2 -0
- package/lib/column/index.js +7 -0
- package/lib/column/index.js.map +1 -0
- package/lib/columns.component.d.ts +7 -0
- package/lib/columns.component.js +30 -0
- package/lib/columns.component.js.map +1 -0
- package/lib/columns.module.d.ts +2 -0
- package/lib/columns.module.js +23 -0
- package/lib/columns.module.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +2 -4
- package/package.json_devDependencies.json +46 -46
- package/{package.json_tnp.json → package.json_tnp.json5} +8 -7
- package/tmp-environment.json +315 -0
- package/backend-logging.js +0 -20
- package/backend-logging.js.map +0 -1
- package/client.js +0 -5
- package/client.js.map +0 -1
- package/display.js +0 -82
- package/display.js.map +0 -1
- package/helpers.js +0 -6
- package/helpers.js.map +0 -1
- package/level.js +0 -26
- package/level.js.map +0 -1
- package/log.js +0 -167
- package/log.js.map +0 -1
- package/logger.js +0 -228
- package/logger.js.map +0 -1
- package/public-api.js +0 -6
- package/public-api.js.map +0 -1
- package/public_api.js +0 -6
- package/public_api.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## static-columns
|
|
2
2
|
|
|
3
|
-
# Static Columns for Angular2+
|
|
3
|
+
# Static Columns for Angular2+ (compatible now with 12+)
|
|
4
4
|
|
|
5
5
|
Columns with static width mixed with responsive columns are
|
|
6
6
|
not a problem anymore!
|
|
@@ -14,10 +14,6 @@ How to install:
|
|
|
14
14
|
Import it:
|
|
15
15
|
```ts
|
|
16
16
|
import { StaticColumnsModule } form "static-columns/browser"
|
|
17
|
-
// or for angular aot
|
|
18
|
-
import { StaticColumnsModule } form "static-columns/browser/angular"
|
|
19
|
-
|
|
20
|
-
|
|
21
17
|
```
|
|
22
18
|
|
|
23
19
|
Put inside directives array:
|
|
@@ -34,7 +30,7 @@ Example:
|
|
|
34
30
|
// responsive columns
|
|
35
31
|
// you also create nested container like this
|
|
36
32
|
</column>
|
|
37
|
-
<column width="190">
|
|
33
|
+
<column [width]="190">
|
|
38
34
|
// static column here
|
|
39
35
|
</column>
|
|
40
36
|
</columns-container>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppComponent = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var core_1 = require("@angular/core");
|
|
6
|
+
var service_worker_1 = require("@angular/service-worker");
|
|
7
|
+
var AppComponent = /** @class */ (function () {
|
|
8
|
+
function AppComponent(swUpdate) {
|
|
9
|
+
this.swUpdate = swUpdate;
|
|
10
|
+
}
|
|
11
|
+
AppComponent.prototype.ngOnInit = function () {
|
|
12
|
+
if (this.swUpdate.isEnabled) {
|
|
13
|
+
this.swUpdate.available.subscribe(function () {
|
|
14
|
+
if (confirm("New version available. Load New Version?")) {
|
|
15
|
+
window.location.reload();
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
AppComponent = (0, tslib_1.__decorate)([
|
|
21
|
+
(0, core_1.Component)({
|
|
22
|
+
selector: 'app-root',
|
|
23
|
+
templateUrl: './app.component.html',
|
|
24
|
+
styleUrls: ['./app.component.css']
|
|
25
|
+
}),
|
|
26
|
+
(0, tslib_1.__metadata)("design:paramtypes", [service_worker_1.SwUpdate])
|
|
27
|
+
], AppComponent);
|
|
28
|
+
return AppComponent;
|
|
29
|
+
}());
|
|
30
|
+
exports.AppComponent = AppComponent;
|
|
31
|
+
//# sourceMappingURL=app.component.js.map
|
|
32
|
+
// @fixed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.component.js","sourceRoot":"","sources":["../../src/app/app.component.ts"],"names":[],"mappings":";;;;AAAA,sCAA0C;AAE1C,0DAAmD;AASnD;IAIE,sBACU,QAAkB;QAAlB,aAAQ,GAAR,QAAQ,CAAU;IAG5B,CAAC;IAED,+BAAQ,GAAR;QAEE,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE;YAE3B,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC;gBAEhC,IAAI,OAAO,CAAC,0CAA0C,CAAC,EAAE;oBACvD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAC1B;YAEH,CAAC,CAAC,CAAC;SAEJ;IACH,CAAC;IAvBU,YAAY;QALxB,IAAA,gBAAS,EAAC;YACT,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,sBAAsB;YACnC,SAAS,EAAE,CAAC,qBAAqB,CAAC;SACnC,CAAC;sDAMoB,yBAAQ;OALjB,YAAY,CAyBxB;IAAD,mBAAC;CAAA,AAzBD,IAyBC;AAzBY,oCAAY"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppModule = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var platform_browser_1 = require("@angular/platform-browser");
|
|
6
|
+
var core_1 = require("@angular/core");
|
|
7
|
+
var forms_1 = require("@angular/forms");
|
|
8
|
+
// import { HttpModule } from '@angular/http';
|
|
9
|
+
var app_component_1 = require("./app.component");
|
|
10
|
+
var lib_1 = require("../lib");
|
|
11
|
+
var service_worker_1 = require("@angular/service-worker");
|
|
12
|
+
var workrPath = "ngsw-worker.js";
|
|
13
|
+
console.log("Worker path: ".concat(workrPath));
|
|
14
|
+
var AppModule = /** @class */ (function () {
|
|
15
|
+
function AppModule() {
|
|
16
|
+
}
|
|
17
|
+
AppModule = (0, tslib_1.__decorate)([
|
|
18
|
+
(0, core_1.NgModule)({
|
|
19
|
+
declarations: [
|
|
20
|
+
app_component_1.AppComponent
|
|
21
|
+
],
|
|
22
|
+
imports: [
|
|
23
|
+
platform_browser_1.BrowserModule,
|
|
24
|
+
forms_1.FormsModule,
|
|
25
|
+
// HttpModule,
|
|
26
|
+
service_worker_1.ServiceWorkerModule.register(workrPath, { enabled: true }),
|
|
27
|
+
lib_1.StaticColumnsModule
|
|
28
|
+
],
|
|
29
|
+
exports: [
|
|
30
|
+
lib_1.StaticColumnsModule
|
|
31
|
+
],
|
|
32
|
+
providers: [],
|
|
33
|
+
bootstrap: [app_component_1.AppComponent]
|
|
34
|
+
})
|
|
35
|
+
], AppModule);
|
|
36
|
+
return AppModule;
|
|
37
|
+
}());
|
|
38
|
+
exports.AppModule = AppModule;
|
|
39
|
+
//# sourceMappingURL=app.module.js.map
|
|
40
|
+
// @fixed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../src/app/app.module.ts"],"names":[],"mappings":";;;;AAAA,8DAA0D;AAC1D,sCAAyC;AACzC,wCAA6C;AAC7C,8CAA8C;AAE9C,iDAA+C;AAC/C,8BAA6C;AAC7C,0DAA8D;AAE9D,IAAM,SAAS,GAAG,gBAAgB,CAAC;AACnC,OAAO,CAAC,GAAG,CAAC,uBAAgB,SAAS,CAAE,CAAC,CAAA;AAkBxC;IAAA;IAAyB,CAAC;IAAb,SAAS;QAjBrB,IAAA,eAAQ,EAAC;YACR,YAAY,EAAE;gBACZ,4BAAY;aACb;YACD,OAAO,EAAE;gBACP,gCAAa;gBACb,mBAAW;gBACX,cAAc;gBACd,oCAAmB,CAAC,QAAQ,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gBAC1D,yBAAmB;aACpB;YACD,OAAO,EAAE;gBACP,yBAAmB;aACpB;YACD,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC,4BAAY,CAAC;SAC1B,CAAC;OACW,SAAS,CAAI;IAAD,gBAAC;CAAA,AAA1B,IAA0B;AAAb,8BAAS"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DirectiveGrow {
|
|
4
|
+
constructor(e, renderer) {
|
|
5
|
+
this.e = e;
|
|
6
|
+
this.renderer = renderer;
|
|
7
|
+
setTimeout(() => {
|
|
8
|
+
// e.nativeElement.style.flexGrow = 1;
|
|
9
|
+
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
10
|
+
}, 0);
|
|
11
|
+
// renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
DirectiveGrow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
DirectiveGrow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: DirectiveGrow, selector: "[grow]", ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[grow]'
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWdyb3cuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vdG1wLWxpYnMtZm9yLWJ1bmRsZS9zdGF0aWMtY29sdW1ucy9wcm9qZWN0cy9zdGF0aWMtY29sdW1ucy9zcmMvbGliL2NvbHVtbi9jb2x1bW4tZ3Jvdy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFhLFNBQVMsRUFBeUIsTUFBTSxlQUFlLENBQUM7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1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component, Input, HostBinding } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class ColumnComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
// this.ccwidth = 90;
|
|
6
|
+
}
|
|
7
|
+
ngOnInit() { }
|
|
8
|
+
}
|
|
9
|
+
ColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ColumnComponent, selector: "column", inputs: { width: "width" }, host: { properties: { "style.flex.basis.px": "this.width", "style.minWidth.px": "this.width" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{ selector: 'column', template: '<ng-content></ng-content>', styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
14
|
+
}], ctorParameters: function () { return []; }, propDecorators: { width: [{
|
|
15
|
+
type: HostBinding,
|
|
16
|
+
args: ['style.flex.basis.px']
|
|
17
|
+
}, {
|
|
18
|
+
type: HostBinding,
|
|
19
|
+
args: ['style.minWidth.px']
|
|
20
|
+
}, {
|
|
21
|
+
type: Input
|
|
22
|
+
}] } });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUvc3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A9IDkwO1xuICAgIH1cblxuICAgIG5nT25Jbml0KCkgeyB9XG5cbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './column.component';
|
|
2
|
+
export * from './column-grow.directive';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlL3N0YXRpYy1jb2x1bW5zL3Byb2plY3RzL3N0YXRpYy1jb2x1bW5zL3NyYy9saWIvY29sdW1uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuXG5leHBvcnQgKiBmcm9tICcuL2NvbHVtbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jb2x1bW4tZ3Jvdy5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Component, ViewChildren } from '@angular/core';
|
|
2
|
+
import { ColumnComponent } from './column';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
// import { Log, Level } from 'ng2-logger/index';
|
|
5
|
+
// const log = Log.create('test');
|
|
6
|
+
// log.i('asdas')
|
|
7
|
+
export class ColumnsComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
ngOnInit() { }
|
|
11
|
+
}
|
|
12
|
+
ColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
ColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ColumnsComponent, selector: "columns-container", viewQueries: [{ propertyName: "childrens", predicate: ColumnComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}\n"] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnsComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{ selector: 'columns-container', template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}\n"] }]
|
|
17
|
+
}], ctorParameters: function () { return []; }, propDecorators: { childrens: [{
|
|
18
|
+
type: ViewChildren,
|
|
19
|
+
args: [ColumnComponent]
|
|
20
|
+
}] } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlL3N0YXRpYy1jb2x1bW5zL3Byb2plY3RzL3N0YXRpYy1jb2x1bW5zL3NyYy9saWIvY29sdW1ucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlL3N0YXRpYy1jb2x1bW5zL3Byb2plY3RzL3N0YXRpYy1jb2x1bW5zL3NyYy9saWIvY29sdW1ucy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsU0FBUyxFQUE2QixZQUFZLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDOUYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLFVBQVUsQ0FBQzs7QUFDM0MsaURBQWlEO0FBQ2pELGtDQUFrQztBQUNsQyxpQkFBaUI7QUFPakIsTUFBTSxPQUFPLGdCQUFnQjtJQUd6QjtJQUVBLENBQUM7SUFDRCxRQUF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} from '@angular/core';
|
|
2
|
+
import { ColumnComponent, DirectiveGrow } from './column';
|
|
3
|
+
import { ColumnsComponent } from './columns.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class StaticColumnsModule {
|
|
6
|
+
}
|
|
7
|
+
StaticColumnsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
StaticColumnsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow], exports: [ColumnsComponent, ColumnComponent, DirectiveGrow] });
|
|
9
|
+
StaticColumnsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, providers: [], imports: [[]] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [],
|
|
14
|
+
exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
|
|
15
|
+
declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
|
|
16
|
+
providers: [],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1ucy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlL3N0YXRpYy1jb2x1bW5zL3Byb2plY3RzL3N0YXRpYy1jb2x1bW5zL3NyYy9saWIvY29sdW1ucy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE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VudCwgQ29sdW1uQ29tcG9uZW50LCBEaXJlY3RpdmVHcm93XSxcbiAgICBwcm92aWRlcnM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBTdGF0aWNDb2x1bW5zTW9kdWxlIHsgfVxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './column';
|
|
2
|
+
export * from './columns.component';
|
|
3
|
+
export * from './column/column-grow.directive';
|
|
4
|
+
export * from './column/column.component';
|
|
5
|
+
export * from './columns.module';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlL3N0YXRpYy1jb2x1bW5zL3Byb2plY3RzL3N0YXRpYy1jb2x1bW5zL3NyYy9saWIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuXG5leHBvcnQgKiBmcm9tICcuL2NvbHVtbic7XG5leHBvcnQgKiBmcm9tICcuL2NvbHVtbnMuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY29sdW1uL2NvbHVtbi1ncm93LmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2NvbHVtbi9jb2x1bW4uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY29sdW1ucy5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './lib';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUvc3RhdGljLWNvbHVtbnMvcHJvamVjdHMvc3RhdGljLWNvbHVtbnMvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYic7XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGljLWNvbHVtbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi90bXAtbGlicy1mb3ItYnVuZGxlL3N0YXRpYy1jb2x1bW5zL3Byb2plY3RzL3N0YXRpYy1jb2x1bW5zL3NyYy9zdGF0aWMtY29sdW1ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, HostBinding, Input, Directive, ViewChildren, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ColumnComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
// this.ccwidth = 90;
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() { }
|
|
9
|
+
}
|
|
10
|
+
ColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ColumnComponent, selector: "column", inputs: { width: "width" }, host: { properties: { "style.flex.basis.px": "this.width", "style.minWidth.px": "this.width" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'column', template: '<ng-content></ng-content>', styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
15
|
+
}], ctorParameters: function () { return []; }, propDecorators: { width: [{
|
|
16
|
+
type: HostBinding,
|
|
17
|
+
args: ['style.flex.basis.px']
|
|
18
|
+
}, {
|
|
19
|
+
type: HostBinding,
|
|
20
|
+
args: ['style.minWidth.px']
|
|
21
|
+
}, {
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
|
|
25
|
+
class DirectiveGrow {
|
|
26
|
+
constructor(e, renderer) {
|
|
27
|
+
this.e = e;
|
|
28
|
+
this.renderer = renderer;
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
// e.nativeElement.style.flexGrow = 1;
|
|
31
|
+
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
32
|
+
}, 0);
|
|
33
|
+
// renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
DirectiveGrow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
DirectiveGrow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: DirectiveGrow, selector: "[grow]", ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
39
|
+
type: Directive,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: '[grow]'
|
|
42
|
+
}]
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
44
|
+
|
|
45
|
+
// import { Log, Level } from 'ng2-logger/index';
|
|
46
|
+
// const log = Log.create('test');
|
|
47
|
+
// log.i('asdas')
|
|
48
|
+
class ColumnsComponent {
|
|
49
|
+
constructor() {
|
|
50
|
+
}
|
|
51
|
+
ngOnInit() { }
|
|
52
|
+
}
|
|
53
|
+
ColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
ColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ColumnsComponent, selector: "columns-container", viewQueries: [{ propertyName: "childrens", predicate: ColumnComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}\n"] });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnsComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'columns-container', template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return []; }, propDecorators: { childrens: [{
|
|
59
|
+
type: ViewChildren,
|
|
60
|
+
args: [ColumnComponent]
|
|
61
|
+
}] } });
|
|
62
|
+
|
|
63
|
+
class StaticColumnsModule {
|
|
64
|
+
}
|
|
65
|
+
StaticColumnsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
66
|
+
StaticColumnsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow], exports: [ColumnsComponent, ColumnComponent, DirectiveGrow] });
|
|
67
|
+
StaticColumnsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, providers: [], imports: [[]] });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, decorators: [{
|
|
69
|
+
type: NgModule,
|
|
70
|
+
args: [{
|
|
71
|
+
imports: [],
|
|
72
|
+
exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
|
|
73
|
+
declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
|
|
74
|
+
providers: [],
|
|
75
|
+
}]
|
|
76
|
+
}] });
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Generated bundle index. Do not edit.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
export { ColumnComponent, ColumnsComponent, DirectiveGrow, StaticColumnsModule };
|
|
83
|
+
//# sourceMappingURL=static-columns.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-columns.mjs","sources":["../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/column/column.component.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/column/column-grow.directive.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/columns.component.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/columns.component.html","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/columns.module.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/static-columns.ts"],"sourcesContent":["\n\nimport { 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","\n\nimport { 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","\n\nimport { 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","<ng-content></ng-content>\n","\n\nimport { 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 './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,CAAA,CAAA;2FAKF,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;AAC3D,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;AAChE,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, HostBinding, Input, Directive, ViewChildren, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ColumnComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
// this.ccwidth = 90;
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() { }
|
|
9
|
+
}
|
|
10
|
+
ColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ColumnComponent, selector: "column", inputs: { width: "width" }, host: { properties: { "style.flex.basis.px": "this.width", "style.minWidth.px": "this.width" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'column', template: '<ng-content></ng-content>', styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
15
|
+
}], ctorParameters: function () { return []; }, propDecorators: { width: [{
|
|
16
|
+
type: HostBinding,
|
|
17
|
+
args: ['style.flex.basis.px']
|
|
18
|
+
}, {
|
|
19
|
+
type: HostBinding,
|
|
20
|
+
args: ['style.minWidth.px']
|
|
21
|
+
}, {
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
|
|
25
|
+
class DirectiveGrow {
|
|
26
|
+
constructor(e, renderer) {
|
|
27
|
+
this.e = e;
|
|
28
|
+
this.renderer = renderer;
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
// e.nativeElement.style.flexGrow = 1;
|
|
31
|
+
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
32
|
+
}, 0);
|
|
33
|
+
// renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
DirectiveGrow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
DirectiveGrow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: DirectiveGrow, selector: "[grow]", ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
39
|
+
type: Directive,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: '[grow]'
|
|
42
|
+
}]
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
44
|
+
|
|
45
|
+
// import { Log, Level } from 'ng2-logger/index';
|
|
46
|
+
// const log = Log.create('test');
|
|
47
|
+
// log.i('asdas')
|
|
48
|
+
class ColumnsComponent {
|
|
49
|
+
constructor() {
|
|
50
|
+
}
|
|
51
|
+
ngOnInit() { }
|
|
52
|
+
}
|
|
53
|
+
ColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
ColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ColumnsComponent, selector: "columns-container", viewQueries: [{ propertyName: "childrens", predicate: ColumnComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}\n"] });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ColumnsComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'columns-container', template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return []; }, propDecorators: { childrens: [{
|
|
59
|
+
type: ViewChildren,
|
|
60
|
+
args: [ColumnComponent]
|
|
61
|
+
}] } });
|
|
62
|
+
|
|
63
|
+
class StaticColumnsModule {
|
|
64
|
+
}
|
|
65
|
+
StaticColumnsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
66
|
+
StaticColumnsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow], exports: [ColumnsComponent, ColumnComponent, DirectiveGrow] });
|
|
67
|
+
StaticColumnsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, providers: [], imports: [[]] });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: StaticColumnsModule, decorators: [{
|
|
69
|
+
type: NgModule,
|
|
70
|
+
args: [{
|
|
71
|
+
imports: [],
|
|
72
|
+
exports: [ColumnsComponent, ColumnComponent, DirectiveGrow],
|
|
73
|
+
declarations: [ColumnsComponent, ColumnComponent, DirectiveGrow],
|
|
74
|
+
providers: [],
|
|
75
|
+
}]
|
|
76
|
+
}] });
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Generated bundle index. Do not edit.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
export { ColumnComponent, ColumnsComponent, DirectiveGrow, StaticColumnsModule };
|
|
83
|
+
//# sourceMappingURL=static-columns.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-columns.mjs","sources":["../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/column/column.component.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/column/column-grow.directive.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/columns.component.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/columns.component.html","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/lib/columns.module.ts","../../../tmp-libs-for-bundle/static-columns/projects/static-columns/src/static-columns.ts"],"sourcesContent":["\n\nimport { 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","\n\nimport { 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","\n\nimport { 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","<ng-content></ng-content>\n","\n\nimport { 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"],"names":[],"mappings":";;;MASa,eAAe,CAAA;AAGxB,IAAA,WAAA,GAAA;;KAEC;AAED,IAAA,QAAQ,MAAM;;4GAPL,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,4KAHd,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,8CAAA,CAAA,EAAA,CAAA,CAAA;2FAG5B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,QAAQ,YACR,2BAA2B,EAAA,MAAA,EAAA,CAAA,8CAAA,CAAA,EAAA,CAAA;0EAI0C,KAAK,EAAA,CAAA;sBAAnF,WAA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,CAAA,CAAA;2FDYa,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,SAAS;+BACI,mBAAmB,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,sFAAA,CAAA,EAAA,CAAA;0EAKE,SAAS,EAAA,CAAA;sBAAvC,YAAY;uBAAC,eAAe,CAAA;;;MEDpB,mBAAmB,CAAA;;gHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;iHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAA,EAAA,OAAA,EAAA,CADrD,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;iHAIjD,mBAAmB,EAAA,SAAA,EAFjB,EAAE,EAAA,OAAA,EAAA,CAHJ,EAAE,CAAA,EAAA,CAAA,CAAA;2FAKF,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;AAC3D,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,eAAe,EAAE,aAAa,CAAC;AAChE,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DirectiveGrow {
|
|
4
|
+
e: ElementRef;
|
|
5
|
+
renderer: Renderer2;
|
|
6
|
+
constructor(e: ElementRef, renderer: Renderer2);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveGrow, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveGrow, "[grow]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ColumnComponent implements OnInit {
|
|
4
|
+
width: number;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "column", never, { "width": "width"; }, {}, never, ["*"]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { ColumnComponent } from './column';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ColumnsComponent implements OnInit {
|
|
5
|
+
childrens: QueryList<ColumnComponent>;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnsComponent, "columns-container", never, {}, {}, never, ["*"]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./columns.component";
|
|
3
|
+
import * as i2 from "./column/column.component";
|
|
4
|
+
import * as i3 from "./column/column-grow.directive";
|
|
5
|
+
export declare class StaticColumnsModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaticColumnsModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StaticColumnsModule, [typeof i1.ColumnsComponent, typeof i2.ColumnComponent, typeof i3.DirectiveGrow], never, [typeof i1.ColumnsComponent, typeof i2.ColumnComponent, typeof i3.DirectiveGrow]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StaticColumnsModule>;
|
|
9
|
+
}
|
package/browser/package.json
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"peerDependencies": {
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "static-columns",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^13.2.0",
|
|
6
|
+
"@angular/core": "^13.2.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"module": "fesm2015/static-columns.mjs",
|
|
12
|
+
"es2020": "fesm2020/static-columns.mjs",
|
|
13
|
+
"esm2020": "esm2020/static-columns.mjs",
|
|
14
|
+
"fesm2020": "fesm2020/static-columns.mjs",
|
|
15
|
+
"fesm2015": "fesm2015/static-columns.mjs",
|
|
16
|
+
"typings": "static-columns.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
"./package.json": {
|
|
19
|
+
"default": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./static-columns.d.ts",
|
|
23
|
+
"esm2020": "./esm2020/static-columns.mjs",
|
|
24
|
+
"es2020": "./fesm2020/static-columns.mjs",
|
|
25
|
+
"es2015": "./fesm2015/static-columns.mjs",
|
|
26
|
+
"node": "./fesm2015/static-columns.mjs",
|
|
27
|
+
"default": "./fesm2020/static-columns.mjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"sideEffects": false
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib';
|
package/client/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|