static-columns 21.0.48 → 21.0.52
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/assets/shared/icon-72x72.png +0 -0
- package/assets/shared/shared_folder_info.txt +7 -0
- package/browser/README.md +24 -0
- package/browser/fesm2022/static-columns-browser.mjs +480 -0
- package/browser/fesm2022/static-columns-browser.mjs.map +1 -0
- package/browser/package.json +20 -1
- package/browser/types/static-columns-browser.d.ts +140 -0
- package/browser-prod/README.md +24 -0
- package/browser-prod/fesm2022/static-columns-browser.mjs +480 -0
- package/browser-prod/fesm2022/static-columns-browser.mjs.map +1 -0
- package/browser-prod/package.json +20 -2
- package/browser-prod/types/static-columns-browser.d.ts +140 -0
- package/browser-prod.re-export.json +8 -0
- package/browser-prod.split-namespaces.json +4 -0
- package/index.d.ts +1 -0
- package/index.js +18 -0
- package/index.js.map +1 -0
- package/lib/breakpoints.service.d.ts +7 -0
- package/lib/build-info._auto-generated_.d.ts +24 -0
- package/lib/build-info._auto-generated_.js +30 -0
- package/lib/build-info._auto-generated_.js.map +1 -0
- package/lib/column/base-hide-show.directive.d.ts +17 -0
- package/lib/column/column-grow.directive.d.ts +6 -0
- package/lib/column/column-hide-desktop.directive.d.ts +4 -0
- package/lib/column/column-hide-mobile.directive.d.ts +4 -0
- package/lib/column/column-hide-tablet.directive.d.ts +4 -0
- package/lib/column/column-show-desktop.directive.d.ts +4 -0
- package/lib/column/column-show-mobile.directive.d.ts +4 -0
- package/lib/column/column-show-tablet.directive.d.ts +4 -0
- package/lib/column/column.component.d.ts +6 -0
- package/lib/column/index.d.ts +12 -0
- package/lib/column/index.js +5 -0
- package/lib/column/index.js.map +1 -0
- package/lib/column/shrink-on-mobile50.directive.d.ts +4 -0
- package/lib/column/shrink-on-mobile75.directive.d.ts +11 -0
- package/lib/column/shrink-on-tablet.directive.d.ts +10 -0
- package/lib/columns-gap/columns-gap.component.d.ts +11 -0
- package/lib/columns-gap/index.d.ts +1 -0
- package/lib/columns-gap/index.js +5 -0
- package/lib/columns-gap/index.js.map +1 -0
- package/lib/columns.component.d.ts +5 -0
- package/lib/columns.module.d.ts +2 -0
- package/lib/env/env.angular-node-app.d.ts +66 -0
- package/lib/env/env.angular-node-app.js +73 -0
- package/lib/env/env.angular-node-app.js.map +1 -0
- package/lib/env/env.docs-webapp.d.ts +66 -0
- package/lib/env/env.docs-webapp.js +73 -0
- package/lib/env/env.docs-webapp.js.map +1 -0
- package/lib/env/env.electron-app.d.ts +66 -0
- package/lib/env/env.electron-app.js +73 -0
- package/lib/env/env.electron-app.js.map +1 -0
- package/lib/env/env.mobile-app.d.ts +66 -0
- package/lib/env/env.mobile-app.js +73 -0
- package/lib/env/env.mobile-app.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +66 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +73 -0
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib/env/env.vscode-plugin.d.ts +66 -0
- package/lib/env/env.vscode-plugin.js +73 -0
- package/lib/env/env.vscode-plugin.js.map +1 -0
- package/lib/env/index.d.ts +6 -0
- package/lib/env/index.js +23 -0
- package/lib/env/index.js.map +1 -0
- package/lib/index._auto-generated_.d.ts +0 -0
- package/lib/index._auto-generated_.js +6 -0
- package/lib/index._auto-generated_.js.map +1 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +33 -0
- package/lib/index.js.map +1 -0
- package/lib/migrations/index.d.ts +1 -0
- package/lib/migrations/index.js +19 -0
- package/lib/migrations/index.js.map +1 -0
- package/lib/migrations/migrations_index._auto-generated_.d.ts +0 -0
- package/lib/migrations/migrations_index._auto-generated_.js +4 -0
- package/lib/migrations/migrations_index._auto-generated_.js.map +1 -0
- package/lib/package.json +1 -1
- package/lib-prod/build-info._auto-generated_.d.ts +24 -0
- package/lib-prod/build-info._auto-generated_.js +27 -0
- package/lib-prod/build-info._auto-generated_.js.map +1 -0
- package/lib-prod/column/index.d.ts +1 -0
- package/lib-prod/column/index.js +2 -0
- package/lib-prod/column/index.js.map +1 -0
- package/lib-prod/columns-gap/index.d.ts +1 -0
- package/lib-prod/columns-gap/index.js +2 -0
- package/lib-prod/columns-gap/index.js.map +1 -0
- package/lib-prod/env/env.angular-node-app.d.ts +66 -0
- package/lib-prod/env/env.angular-node-app.js +69 -0
- package/lib-prod/env/env.angular-node-app.js.map +1 -0
- package/lib-prod/env/env.docs-webapp.d.ts +66 -0
- package/lib-prod/env/env.docs-webapp.js +69 -0
- package/lib-prod/env/env.docs-webapp.js.map +1 -0
- package/lib-prod/env/env.electron-app.d.ts +66 -0
- package/lib-prod/env/env.electron-app.js +69 -0
- package/lib-prod/env/env.electron-app.js.map +1 -0
- package/lib-prod/env/env.mobile-app.d.ts +66 -0
- package/lib-prod/env/env.mobile-app.js +69 -0
- package/lib-prod/env/env.mobile-app.js.map +1 -0
- package/lib-prod/env/env.npm-lib-and-cli-tool.d.ts +66 -0
- package/lib-prod/env/env.npm-lib-and-cli-tool.js +69 -0
- package/lib-prod/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib-prod/env/env.vscode-plugin.d.ts +66 -0
- package/lib-prod/env/env.vscode-plugin.js +69 -0
- package/lib-prod/env/env.vscode-plugin.js.map +1 -0
- package/lib-prod/env/index.d.ts +6 -0
- package/lib-prod/env/index.js +7 -0
- package/lib-prod/env/index.js.map +1 -0
- package/lib-prod/index._auto-generated_.d.ts +0 -0
- package/lib-prod/index._auto-generated_.js +6 -0
- package/lib-prod/index._auto-generated_.js.map +1 -0
- package/lib-prod/index.d.ts +5 -0
- package/lib-prod/index.js +13 -0
- package/lib-prod/index.js.map +1 -0
- package/lib-prod/migrations/index.d.ts +1 -0
- package/lib-prod/migrations/index.js +3 -0
- package/lib-prod/migrations/index.js.map +1 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.d.ts +0 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.js +4 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.js.map +1 -0
- package/lib-prod/package.json +1 -1
- package/lib-prod.re-export.json +8 -0
- package/lib-prod.split-namespaces.json +4 -0
- package/package.json +1 -1
- package/scss/app/preview/preview.component.scss +24 -0
- package/scss/global.scss +43 -0
- package/scss/index.scss +2 -0
- package/scss/lib/column/column.component.scss +5 -0
- package/scss/lib/columns-gap/columns-gap.component.scss +5 -0
- package/scss/lib/columns.component.scss +16 -0
- package/scss/lib/index.scss +1 -0
- package/scss/vars.scss +7 -0
- package/websql/README.md +24 -0
- package/websql/fesm2022/static-columns-websql.mjs +480 -0
- package/websql/fesm2022/static-columns-websql.mjs.map +1 -0
- package/websql/package.json +20 -1
- package/websql/types/static-columns-websql.d.ts +140 -0
- package/websql-prod/README.md +24 -0
- package/websql-prod/fesm2022/static-columns-websql.mjs +480 -0
- package/websql-prod/fesm2022/static-columns-websql.mjs.map +1 -0
- package/websql-prod/package.json +20 -2
- package/websql-prod/types/static-columns-websql.d.ts +140 -0
- package/websql-prod.re-export.json +8 -0
- package/websql-prod.split-namespaces.json +4 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export { Models } from 'typescript-class-helpers/browser';
|
|
3
|
+
export { CoreModels } from 'tnp-core/browser';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { OnDestroy, OnInit, ElementRef, Renderer2, EventEmitter, QueryList } from '@angular/core';
|
|
6
|
+
import * as rxjs from 'rxjs';
|
|
7
|
+
import { Subject, Subscription } from 'rxjs';
|
|
8
|
+
import * as i14 from '@angular/cdk/layout';
|
|
9
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
10
|
+
|
|
11
|
+
declare class BreakpointsService {
|
|
12
|
+
private sub;
|
|
13
|
+
listenTo(): rxjs.Observable<"mobile" | "tablet" | "desktop">;
|
|
14
|
+
private current;
|
|
15
|
+
constructor(breakpointObserver: BreakpointObserver);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointsService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BreakpointsService>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare abstract class BaseHideShowDirective implements OnDestroy, OnInit {
|
|
21
|
+
e: ElementRef;
|
|
22
|
+
renderer: Renderer2;
|
|
23
|
+
breakpoints: BreakpointsService;
|
|
24
|
+
$destroy: Subject<unknown>;
|
|
25
|
+
constructor(e: ElementRef, renderer: Renderer2, breakpoints: BreakpointsService);
|
|
26
|
+
private originalDisaplay;
|
|
27
|
+
abstract action(state: 'mobile' | 'tablet' | 'desktop'): any;
|
|
28
|
+
protected hideElement(): void;
|
|
29
|
+
protected showElement(): void;
|
|
30
|
+
protected scale(scale?: number): void;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseHideShowDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseHideShowDirective, "[baseHideShowDirective]", never, {}, {}, never, never, false, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class DirectiveGrow {
|
|
38
|
+
e: ElementRef;
|
|
39
|
+
renderer: Renderer2;
|
|
40
|
+
constructor(e: ElementRef, renderer: Renderer2);
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveGrow, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveGrow, "[grow]", never, {}, {}, never, never, false, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare class DirectiveHideDesktop extends BaseHideShowDirective {
|
|
46
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveHideDesktop, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveHideDesktop, "[hideDesktop]", never, {}, {}, never, never, false, never>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare class DirectiveHideMobile extends BaseHideShowDirective {
|
|
52
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveHideMobile, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveHideMobile, "[hideMobile]", never, {}, {}, never, never, false, never>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class DirectiveHideTablet extends BaseHideShowDirective {
|
|
58
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveHideTablet, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveHideTablet, "[hideTablet]", never, {}, {}, never, never, false, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare class DirectiveShowDesktop extends BaseHideShowDirective {
|
|
64
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveShowDesktop, never>;
|
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveShowDesktop, "[showDesktop]", never, {}, {}, never, never, false, never>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
declare class DirectiveShowMobile extends BaseHideShowDirective {
|
|
70
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveShowMobile, never>;
|
|
72
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveShowMobile, "[showMobile]", never, {}, {}, never, never, false, never>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare class DirectiveShowTablet extends BaseHideShowDirective {
|
|
76
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveShowTablet, never>;
|
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveShowTablet, "[showTablet]", never, {}, {}, never, never, false, never>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare class ColumnComponent implements OnInit {
|
|
82
|
+
width: number;
|
|
83
|
+
constructor();
|
|
84
|
+
ngOnInit(): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "column", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class DirectiveShrinkOnMobile extends BaseHideShowDirective {
|
|
90
|
+
e: ElementRef;
|
|
91
|
+
renderer: Renderer2;
|
|
92
|
+
breakpoints: BreakpointsService;
|
|
93
|
+
scaleFactor: number;
|
|
94
|
+
constructor(e: ElementRef, renderer: Renderer2, breakpoints: BreakpointsService);
|
|
95
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveShrinkOnMobile, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveShrinkOnMobile, "[shrinkOnMobile]", never, {}, {}, never, never, false, never>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class DirectiveShrinkOnMobile50 extends DirectiveShrinkOnMobile {
|
|
101
|
+
scaleFactor: number;
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveShrinkOnMobile50, never>;
|
|
103
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveShrinkOnMobile50, "[shrinkOnMobile50]", never, {}, {}, never, never, false, never>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare class DirectiveShrinkOnTablet extends BaseHideShowDirective {
|
|
107
|
+
e: ElementRef;
|
|
108
|
+
renderer: Renderer2;
|
|
109
|
+
breakpoints: BreakpointsService;
|
|
110
|
+
constructor(e: ElementRef, renderer: Renderer2, breakpoints: BreakpointsService);
|
|
111
|
+
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveShrinkOnTablet, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveShrinkOnTablet, "[shrinkOnTablet]", never, {}, {}, never, never, false, never>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare class ColumnsGapComponent implements OnInit, OnDestroy {
|
|
117
|
+
width: number;
|
|
118
|
+
handlers: Subscription[];
|
|
119
|
+
columnsGapDataChanged: EventEmitter<any>;
|
|
120
|
+
columnsGapData: any;
|
|
121
|
+
constructor();
|
|
122
|
+
ngOnInit(): void;
|
|
123
|
+
ngOnDestroy(): void;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsGapComponent, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnsGapComponent, "columns-gap", never, { "columnsGapData": { "alias": "columnsGapData"; "required": false; }; }, { "columnsGapDataChanged": "columnsGapDataChanged"; }, never, never, false, never>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare class ColumnsComponent {
|
|
129
|
+
childrens: QueryList<ColumnComponent>;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsComponent, never>;
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnsComponent, "columns-container", never, {}, {}, never, ["*"], false, never>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare class StaticColumnsModule {
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaticColumnsModule, never>;
|
|
136
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StaticColumnsModule, [typeof ColumnsComponent, typeof ColumnComponent, typeof DirectiveGrow, typeof DirectiveHideMobile, typeof DirectiveHideTablet, typeof DirectiveHideDesktop, typeof DirectiveShowTablet, typeof DirectiveShowMobile, typeof DirectiveShowDesktop, typeof ColumnsGapComponent, typeof DirectiveShrinkOnMobile50, typeof DirectiveShrinkOnMobile, typeof DirectiveShrinkOnTablet], [typeof i14.LayoutModule], [typeof i14.LayoutModule, typeof ColumnsComponent, typeof ColumnComponent, typeof DirectiveGrow, typeof DirectiveHideMobile, typeof DirectiveHideTablet, typeof DirectiveHideDesktop, typeof DirectiveShowTablet, typeof DirectiveShowMobile, typeof DirectiveShowDesktop, typeof ColumnsGapComponent, typeof DirectiveShrinkOnMobile50, typeof DirectiveShrinkOnMobile, typeof DirectiveShrinkOnTablet]>;
|
|
137
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StaticColumnsModule>;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export { BaseHideShowDirective, BreakpointsService, ColumnComponent, ColumnsComponent, ColumnsGapComponent, DirectiveGrow, DirectiveHideDesktop, DirectiveHideMobile, DirectiveHideTablet, DirectiveShowDesktop, DirectiveShowMobile, DirectiveShowTablet, DirectiveShrinkOnMobile, DirectiveShrinkOnMobile50, DirectiveShrinkOnTablet, StaticColumnsModule };
|
|
@@ -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,480 @@
|
|
|
1
|
+
export { Models__NS__ClassConfig, Models__NS__MethodConfig, Models__NS__ParamConfig } from 'typescript-class-helpers/browser-prod';
|
|
2
|
+
import { ___NS__isUndefined } from 'tnp-core/browser-prod';
|
|
3
|
+
export { CoreModels__NS__BaseProjectTypeArr, CoreModels__NS__ClassNameStaticProperty, CoreModels__NS__EnvironmentName, CoreModels__NS__GitConnectionArr, CoreModels__NS__ImageFileExtensionArr, CoreModels__NS__InstalationTypeArr, CoreModels__NS__MediaTypeAllArr, CoreModels__NS__MimeTypesObj, CoreModels__NS__NpmSpecialVersions, CoreModels__NS__OrignalClassKey, CoreModels__NS__ReleaseVersionTypeEnum, CoreModels__NS__SPECIAL_APP_READY_MESSAGE, CoreModels__NS__SPECIAL_WORKER_READY_MESSAGE, CoreModels__NS__TaonHttpErrorCustomProp, CoreModels__NS__localhostDomain, CoreModels__NS__localhostIp127, CoreModels__NS__mimeTypes, CoreModels__NS__parentLocation, CoreModels__NS__pathToChildren, CoreModels__NS__tagForTaskName } from 'tnp-core/browser-prod';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { Injectable, Directive, HostBinding, Input, Component, EventEmitter, Output, ViewChildren, NgModule } from '@angular/core';
|
|
6
|
+
import { Subject, takeUntil } from 'rxjs';
|
|
7
|
+
import * as i1 from '@angular/cdk/layout';
|
|
8
|
+
import { LayoutModule } from '@angular/cdk/layout';
|
|
9
|
+
|
|
10
|
+
//#region imports
|
|
11
|
+
//#endregion
|
|
12
|
+
const BRK = {
|
|
13
|
+
mobile: '(max-width: 599.98px)',
|
|
14
|
+
// tablet: obsvious
|
|
15
|
+
desktop: '(min-width: 840.00px)',
|
|
16
|
+
};
|
|
17
|
+
class BreakpointsService {
|
|
18
|
+
listenTo() {
|
|
19
|
+
setTimeout(() => {
|
|
20
|
+
this.sub.next(this.current);
|
|
21
|
+
});
|
|
22
|
+
return this.sub.asObservable();
|
|
23
|
+
}
|
|
24
|
+
constructor(breakpointObserver) {
|
|
25
|
+
this.sub = new Subject();
|
|
26
|
+
breakpointObserver.observe([BRK.mobile, BRK.desktop]).subscribe(state => {
|
|
27
|
+
if (!___NS__isUndefined([BRK.mobile].find(f => state.breakpoints[f]))) {
|
|
28
|
+
this.current = 'mobile';
|
|
29
|
+
this.sub.next('mobile');
|
|
30
|
+
}
|
|
31
|
+
else if (!___NS__isUndefined([BRK.desktop].find(f => state.breakpoints[f]))) {
|
|
32
|
+
this.current = 'desktop';
|
|
33
|
+
this.sub.next('desktop');
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.current = 'tablet';
|
|
37
|
+
this.sub.next('tablet');
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
if (breakpointObserver.isMatched([BRK.mobile])) {
|
|
42
|
+
this.current = 'mobile';
|
|
43
|
+
this.sub.next('mobile');
|
|
44
|
+
}
|
|
45
|
+
else if (breakpointObserver.isMatched([BRK.desktop])) {
|
|
46
|
+
this.current = 'desktop';
|
|
47
|
+
this.sub.next('desktop');
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
this.current = 'tablet';
|
|
51
|
+
this.sub.next('tablet');
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BreakpointsService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
56
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BreakpointsService, providedIn: 'root' }); }
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BreakpointsService, decorators: [{
|
|
59
|
+
type: Injectable,
|
|
60
|
+
args: [{ providedIn: 'root' }]
|
|
61
|
+
}], ctorParameters: () => [{ type: i1.BreakpointObserver }] });
|
|
62
|
+
|
|
63
|
+
//#endregion
|
|
64
|
+
class BaseHideShowDirective {
|
|
65
|
+
constructor(e, renderer, breakpoints) {
|
|
66
|
+
this.e = e;
|
|
67
|
+
this.renderer = renderer;
|
|
68
|
+
this.breakpoints = breakpoints;
|
|
69
|
+
this.$destroy = new Subject();
|
|
70
|
+
}
|
|
71
|
+
hideElement() {
|
|
72
|
+
this.renderer.setStyle(this.e.nativeElement, 'display', 'none');
|
|
73
|
+
}
|
|
74
|
+
showElement() {
|
|
75
|
+
this.renderer.setStyle(this.e.nativeElement, 'display', this.originalDisaplay);
|
|
76
|
+
}
|
|
77
|
+
scale(scale = 1) {
|
|
78
|
+
this.renderer.setStyle(this.e.nativeElement, 'transform', `scale(${scale})`);
|
|
79
|
+
}
|
|
80
|
+
ngOnInit() {
|
|
81
|
+
//Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.
|
|
82
|
+
//Add 'implements AfterViewInit' to the class.
|
|
83
|
+
this.breakpoints
|
|
84
|
+
.listenTo()
|
|
85
|
+
.pipe(takeUntil(this.$destroy))
|
|
86
|
+
.subscribe(state => {
|
|
87
|
+
if (typeof this.originalDisaplay === 'undefined') {
|
|
88
|
+
this.originalDisaplay = this.e.nativeElement.style.display;
|
|
89
|
+
}
|
|
90
|
+
// console.log(`state for actin: ${state}`)
|
|
91
|
+
this.action(state);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
ngOnDestroy() {
|
|
95
|
+
this.$destroy.next(void 0);
|
|
96
|
+
this.$destroy.complete();
|
|
97
|
+
}
|
|
98
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BaseHideShowDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
99
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: BaseHideShowDirective, isStandalone: false, selector: "[baseHideShowDirective]", ngImport: i0 }); }
|
|
100
|
+
}
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BaseHideShowDirective, decorators: [{
|
|
102
|
+
type: Directive,
|
|
103
|
+
args: [{
|
|
104
|
+
selector: '[baseHideShowDirective]',
|
|
105
|
+
standalone: false,
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: BreakpointsService }] });
|
|
108
|
+
|
|
109
|
+
//#region imports
|
|
110
|
+
//#endregion
|
|
111
|
+
class DirectiveGrow {
|
|
112
|
+
constructor(e, renderer) {
|
|
113
|
+
this.e = e;
|
|
114
|
+
this.renderer = renderer;
|
|
115
|
+
setTimeout(() => {
|
|
116
|
+
// e.nativeElement.style.flexGrow = 1;
|
|
117
|
+
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
118
|
+
}, 0);
|
|
119
|
+
// renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
|
|
120
|
+
}
|
|
121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
122
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveGrow, isStandalone: false, selector: "[grow]", ngImport: i0 }); }
|
|
123
|
+
}
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
125
|
+
type: Directive,
|
|
126
|
+
args: [{
|
|
127
|
+
selector: '[grow]',
|
|
128
|
+
standalone: false,
|
|
129
|
+
}]
|
|
130
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
131
|
+
|
|
132
|
+
//#endregion
|
|
133
|
+
class DirectiveHideDesktop extends BaseHideShowDirective {
|
|
134
|
+
action(state) {
|
|
135
|
+
if (state === 'desktop') {
|
|
136
|
+
this.hideElement();
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
this.showElement();
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveHideDesktop, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
143
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveHideDesktop, isStandalone: false, selector: "[hideDesktop]", usesInheritance: true, ngImport: i0 }); }
|
|
144
|
+
}
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveHideDesktop, decorators: [{
|
|
146
|
+
type: Directive,
|
|
147
|
+
args: [{
|
|
148
|
+
selector: '[hideDesktop]',
|
|
149
|
+
standalone: false,
|
|
150
|
+
}]
|
|
151
|
+
}] });
|
|
152
|
+
|
|
153
|
+
//#endregion
|
|
154
|
+
class DirectiveHideMobile extends BaseHideShowDirective {
|
|
155
|
+
action(state) {
|
|
156
|
+
if (state === 'mobile') {
|
|
157
|
+
this.hideElement();
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
this.showElement();
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveHideMobile, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
164
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveHideMobile, isStandalone: false, selector: "[hideMobile]", usesInheritance: true, ngImport: i0 }); }
|
|
165
|
+
}
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveHideMobile, decorators: [{
|
|
167
|
+
type: Directive,
|
|
168
|
+
args: [{
|
|
169
|
+
selector: '[hideMobile]',
|
|
170
|
+
standalone: false,
|
|
171
|
+
}]
|
|
172
|
+
}] });
|
|
173
|
+
|
|
174
|
+
//#endregion
|
|
175
|
+
class DirectiveHideTablet extends BaseHideShowDirective {
|
|
176
|
+
action(state) {
|
|
177
|
+
if (state === 'tablet') {
|
|
178
|
+
this.hideElement();
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
this.showElement();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveHideTablet, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
185
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveHideTablet, isStandalone: false, selector: "[hideTablet]", usesInheritance: true, ngImport: i0 }); }
|
|
186
|
+
}
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveHideTablet, decorators: [{
|
|
188
|
+
type: Directive,
|
|
189
|
+
args: [{
|
|
190
|
+
selector: '[hideTablet]',
|
|
191
|
+
standalone: false,
|
|
192
|
+
}]
|
|
193
|
+
}] });
|
|
194
|
+
|
|
195
|
+
//#endregion
|
|
196
|
+
class DirectiveShowDesktop extends BaseHideShowDirective {
|
|
197
|
+
action(state) {
|
|
198
|
+
if (state === 'desktop') {
|
|
199
|
+
this.showElement();
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
this.hideElement();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShowDesktop, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
206
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveShowDesktop, isStandalone: false, selector: "[showDesktop]", usesInheritance: true, ngImport: i0 }); }
|
|
207
|
+
}
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShowDesktop, decorators: [{
|
|
209
|
+
type: Directive,
|
|
210
|
+
args: [{
|
|
211
|
+
selector: '[showDesktop]',
|
|
212
|
+
standalone: false,
|
|
213
|
+
}]
|
|
214
|
+
}] });
|
|
215
|
+
|
|
216
|
+
//#endregion
|
|
217
|
+
class DirectiveShowMobile extends BaseHideShowDirective {
|
|
218
|
+
action(state) {
|
|
219
|
+
if (state === 'mobile') {
|
|
220
|
+
this.showElement();
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
this.hideElement();
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShowMobile, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
227
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveShowMobile, isStandalone: false, selector: "[showMobile]", usesInheritance: true, ngImport: i0 }); }
|
|
228
|
+
}
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShowMobile, decorators: [{
|
|
230
|
+
type: Directive,
|
|
231
|
+
args: [{
|
|
232
|
+
selector: '[showMobile]',
|
|
233
|
+
standalone: false,
|
|
234
|
+
}]
|
|
235
|
+
}] });
|
|
236
|
+
|
|
237
|
+
//#endregion
|
|
238
|
+
class DirectiveShowTablet extends BaseHideShowDirective {
|
|
239
|
+
action(state) {
|
|
240
|
+
if (state === 'tablet') {
|
|
241
|
+
this.showElement();
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
this.hideElement();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShowTablet, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
248
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveShowTablet, isStandalone: false, selector: "[showTablet]", usesInheritance: true, ngImport: i0 }); }
|
|
249
|
+
}
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShowTablet, decorators: [{
|
|
251
|
+
type: Directive,
|
|
252
|
+
args: [{
|
|
253
|
+
selector: '[showTablet]',
|
|
254
|
+
standalone: false,
|
|
255
|
+
}]
|
|
256
|
+
}] });
|
|
257
|
+
|
|
258
|
+
//#region imports
|
|
259
|
+
//#endregion
|
|
260
|
+
class ColumnComponent {
|
|
261
|
+
constructor() {
|
|
262
|
+
// this.ccwidth = 90;
|
|
263
|
+
}
|
|
264
|
+
ngOnInit() { }
|
|
265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: ColumnComponent, isStandalone: false, 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"] }); }
|
|
267
|
+
}
|
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
269
|
+
type: Component,
|
|
270
|
+
args: [{ selector: 'column', template: '<ng-content></ng-content>', standalone: false, styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
271
|
+
}], ctorParameters: () => [], propDecorators: { width: [{
|
|
272
|
+
type: HostBinding,
|
|
273
|
+
args: ['style.flex.basis.px']
|
|
274
|
+
}, {
|
|
275
|
+
type: HostBinding,
|
|
276
|
+
args: ['style.minWidth.px']
|
|
277
|
+
}, {
|
|
278
|
+
type: Input
|
|
279
|
+
}] } });
|
|
280
|
+
|
|
281
|
+
//#endregion
|
|
282
|
+
class DirectiveShrinkOnMobile extends BaseHideShowDirective {
|
|
283
|
+
constructor(e, renderer, breakpoints) {
|
|
284
|
+
super(e, renderer, breakpoints);
|
|
285
|
+
this.e = e;
|
|
286
|
+
this.renderer = renderer;
|
|
287
|
+
this.breakpoints = breakpoints;
|
|
288
|
+
this.scaleFactor = 75;
|
|
289
|
+
}
|
|
290
|
+
action(state) {
|
|
291
|
+
if (state === 'mobile') {
|
|
292
|
+
this.scale(0.75);
|
|
293
|
+
}
|
|
294
|
+
else {
|
|
295
|
+
// if (state === 'tablet' && this.tablet75) {
|
|
296
|
+
// } else {
|
|
297
|
+
this.scale();
|
|
298
|
+
// }
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShrinkOnMobile, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
302
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveShrinkOnMobile, isStandalone: false, selector: "[shrinkOnMobile]", usesInheritance: true, ngImport: i0 }); }
|
|
303
|
+
}
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShrinkOnMobile, decorators: [{
|
|
305
|
+
type: Directive,
|
|
306
|
+
args: [{
|
|
307
|
+
selector: '[shrinkOnMobile]',
|
|
308
|
+
standalone: false,
|
|
309
|
+
}]
|
|
310
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: BreakpointsService }] });
|
|
311
|
+
|
|
312
|
+
//#endregion
|
|
313
|
+
class DirectiveShrinkOnMobile50 extends DirectiveShrinkOnMobile {
|
|
314
|
+
constructor() {
|
|
315
|
+
super(...arguments);
|
|
316
|
+
this.scaleFactor = 50;
|
|
317
|
+
}
|
|
318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShrinkOnMobile50, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
319
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveShrinkOnMobile50, isStandalone: false, selector: "[shrinkOnMobile50]", usesInheritance: true, ngImport: i0 }); }
|
|
320
|
+
}
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShrinkOnMobile50, decorators: [{
|
|
322
|
+
type: Directive,
|
|
323
|
+
args: [{
|
|
324
|
+
selector: '[shrinkOnMobile50]',
|
|
325
|
+
standalone: false,
|
|
326
|
+
}]
|
|
327
|
+
}] });
|
|
328
|
+
|
|
329
|
+
//#endregion
|
|
330
|
+
// import { DirectiveShrinkOnMobile50 } from './shrink-on-mobile50.directive';
|
|
331
|
+
// import { DirectiveShrinkOnMobile } from './shrink-on-mobile75.directive';
|
|
332
|
+
class DirectiveShrinkOnTablet extends BaseHideShowDirective {
|
|
333
|
+
constructor(e, renderer, breakpoints) {
|
|
334
|
+
super(e, renderer, breakpoints);
|
|
335
|
+
this.e = e;
|
|
336
|
+
this.renderer = renderer;
|
|
337
|
+
this.breakpoints = breakpoints;
|
|
338
|
+
}
|
|
339
|
+
action(state) {
|
|
340
|
+
// if (state === 'tablet') {
|
|
341
|
+
// this.scale(0.75)
|
|
342
|
+
// } else {
|
|
343
|
+
// if (state === 'mobile' && (this.mobile50 || this.mobile75)) {
|
|
344
|
+
// } else {
|
|
345
|
+
// this.scale()
|
|
346
|
+
// }
|
|
347
|
+
// }
|
|
348
|
+
}
|
|
349
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShrinkOnTablet, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
350
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: DirectiveShrinkOnTablet, isStandalone: false, selector: "[shrinkOnTablet]", usesInheritance: true, ngImport: i0 }); }
|
|
351
|
+
}
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DirectiveShrinkOnTablet, decorators: [{
|
|
353
|
+
type: Directive,
|
|
354
|
+
args: [{
|
|
355
|
+
selector: '[shrinkOnTablet]',
|
|
356
|
+
standalone: false,
|
|
357
|
+
}]
|
|
358
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: BreakpointsService }] });
|
|
359
|
+
|
|
360
|
+
//#region @browser
|
|
361
|
+
//#endregion
|
|
362
|
+
|
|
363
|
+
//#region imports
|
|
364
|
+
//#endregion
|
|
365
|
+
class ColumnsGapComponent {
|
|
366
|
+
constructor() {
|
|
367
|
+
this.width = 20;
|
|
368
|
+
this.handlers = [];
|
|
369
|
+
this.columnsGapDataChanged = new EventEmitter();
|
|
370
|
+
this.columnsGapData = {};
|
|
371
|
+
}
|
|
372
|
+
ngOnInit() { }
|
|
373
|
+
ngOnDestroy() {
|
|
374
|
+
this.handlers.forEach(h => h.unsubscribe());
|
|
375
|
+
}
|
|
376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ColumnsGapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
377
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: ColumnsGapComponent, isStandalone: false, selector: "columns-gap", inputs: { columnsGapData: "columnsGapData" }, outputs: { columnsGapDataChanged: "columnsGapDataChanged" }, host: { properties: { "style.flex.basis.px": "this.width", "style.minWidth.px": "this.width" } }, ngImport: i0, template: "<column [width]=\"width\"></column>\n", styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"], dependencies: [{ kind: "component", type: ColumnComponent, selector: "column", inputs: ["width"] }] }); }
|
|
378
|
+
}
|
|
379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ColumnsGapComponent, decorators: [{
|
|
380
|
+
type: Component,
|
|
381
|
+
args: [{ selector: 'columns-gap', standalone: false, template: "<column [width]=\"width\"></column>\n", styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
382
|
+
}], ctorParameters: () => [], propDecorators: { width: [{
|
|
383
|
+
type: HostBinding,
|
|
384
|
+
args: ['style.flex.basis.px']
|
|
385
|
+
}, {
|
|
386
|
+
type: HostBinding,
|
|
387
|
+
args: ['style.minWidth.px']
|
|
388
|
+
}], columnsGapDataChanged: [{
|
|
389
|
+
type: Output
|
|
390
|
+
}], columnsGapData: [{
|
|
391
|
+
type: Input
|
|
392
|
+
}] } });
|
|
393
|
+
|
|
394
|
+
//#region @browser
|
|
395
|
+
//#endregion
|
|
396
|
+
|
|
397
|
+
//#region imports
|
|
398
|
+
//#endregion
|
|
399
|
+
// import { Log, Level } from 'ng2-logger/index';
|
|
400
|
+
// const log = Log.create('test');
|
|
401
|
+
// log.i('asdas')
|
|
402
|
+
class ColumnsComponent {
|
|
403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ColumnsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
404
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: ColumnsComponent, isStandalone: false, 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}.static-columns-hide-mobile{display:block}@media(max-width:600px){.static-columns-hide-mobile{display:none}}\n"] }); }
|
|
405
|
+
}
|
|
406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ColumnsComponent, decorators: [{
|
|
407
|
+
type: Component,
|
|
408
|
+
args: [{ selector: 'columns-container', standalone: false, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;width:100%;align-content:streach;justify-content:space-between}.static-columns-hide-mobile{display:block}@media(max-width:600px){.static-columns-hide-mobile{display:none}}\n"] }]
|
|
409
|
+
}], propDecorators: { childrens: [{
|
|
410
|
+
type: ViewChildren,
|
|
411
|
+
args: [ColumnComponent]
|
|
412
|
+
}] } });
|
|
413
|
+
|
|
414
|
+
//#region imports
|
|
415
|
+
//#endregion
|
|
416
|
+
const components = [
|
|
417
|
+
ColumnsComponent,
|
|
418
|
+
ColumnComponent,
|
|
419
|
+
DirectiveGrow,
|
|
420
|
+
DirectiveHideMobile,
|
|
421
|
+
DirectiveHideTablet,
|
|
422
|
+
DirectiveHideDesktop,
|
|
423
|
+
DirectiveShowTablet,
|
|
424
|
+
DirectiveShowMobile,
|
|
425
|
+
DirectiveShowDesktop,
|
|
426
|
+
ColumnsGapComponent,
|
|
427
|
+
DirectiveShrinkOnMobile50,
|
|
428
|
+
DirectiveShrinkOnMobile,
|
|
429
|
+
DirectiveShrinkOnTablet,
|
|
430
|
+
];
|
|
431
|
+
class StaticColumnsModule {
|
|
432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: StaticColumnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
433
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: StaticColumnsModule, declarations: [ColumnsComponent,
|
|
434
|
+
ColumnComponent,
|
|
435
|
+
DirectiveGrow,
|
|
436
|
+
DirectiveHideMobile,
|
|
437
|
+
DirectiveHideTablet,
|
|
438
|
+
DirectiveHideDesktop,
|
|
439
|
+
DirectiveShowTablet,
|
|
440
|
+
DirectiveShowMobile,
|
|
441
|
+
DirectiveShowDesktop,
|
|
442
|
+
ColumnsGapComponent,
|
|
443
|
+
DirectiveShrinkOnMobile50,
|
|
444
|
+
DirectiveShrinkOnMobile,
|
|
445
|
+
DirectiveShrinkOnTablet], imports: [LayoutModule], exports: [LayoutModule, ColumnsComponent,
|
|
446
|
+
ColumnComponent,
|
|
447
|
+
DirectiveGrow,
|
|
448
|
+
DirectiveHideMobile,
|
|
449
|
+
DirectiveHideTablet,
|
|
450
|
+
DirectiveHideDesktop,
|
|
451
|
+
DirectiveShowTablet,
|
|
452
|
+
DirectiveShowMobile,
|
|
453
|
+
DirectiveShowDesktop,
|
|
454
|
+
ColumnsGapComponent,
|
|
455
|
+
DirectiveShrinkOnMobile50,
|
|
456
|
+
DirectiveShrinkOnMobile,
|
|
457
|
+
DirectiveShrinkOnTablet] }); }
|
|
458
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: StaticColumnsModule, providers: [BreakpointsService], imports: [LayoutModule, LayoutModule] }); }
|
|
459
|
+
}
|
|
460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: StaticColumnsModule, decorators: [{
|
|
461
|
+
type: NgModule,
|
|
462
|
+
args: [{
|
|
463
|
+
imports: [LayoutModule],
|
|
464
|
+
exports: [LayoutModule, ...components],
|
|
465
|
+
declarations: [...components],
|
|
466
|
+
providers: [BreakpointsService],
|
|
467
|
+
}]
|
|
468
|
+
}] });
|
|
469
|
+
|
|
470
|
+
/* */
|
|
471
|
+
/* */
|
|
472
|
+
/* */
|
|
473
|
+
/* */
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Generated bundle index. Do not edit.
|
|
477
|
+
*/
|
|
478
|
+
|
|
479
|
+
export { BaseHideShowDirective, BreakpointsService, ColumnComponent, ColumnsComponent, ColumnsGapComponent, DirectiveGrow, DirectiveHideDesktop, DirectiveHideMobile, DirectiveHideTablet, DirectiveShowDesktop, DirectiveShowMobile, DirectiveShowTablet, DirectiveShrinkOnMobile, DirectiveShrinkOnMobile50, DirectiveShrinkOnTablet, StaticColumnsModule };
|
|
480
|
+
//# sourceMappingURL=static-columns-browser.mjs.map
|