static-columns 21.0.54 → 21.0.56

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