static-columns 19.0.21 → 19.0.24
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/browser/fesm2022/static-columns.mjs +49 -49
- package/browser/fesm2022/static-columns.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/client/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/column/index.js +2 -2
- package/lib/columns-gap/index.js +2 -2
- package/lib/env/env.angular-node-app.d.ts +13 -0
- package/lib/env/env.angular-node-app.js +19 -0
- package/lib/env/env.angular-node-app.js.map +1 -0
- package/lib/env/env.electron-app.d.ts +13 -0
- package/lib/env/env.electron-app.js +19 -0
- package/lib/env/env.electron-app.js.map +1 -0
- package/lib/env/env.mobile-app.d.ts +13 -0
- package/lib/env/env.mobile-app.js +19 -0
- package/lib/env/env.mobile-app.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +13 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +19 -0
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib/env/env.vscode-plugin.d.ts +13 -0
- package/lib/env/env.vscode-plugin.js +19 -0
- package/lib/env/env.vscode-plugin.js.map +1 -0
- package/lib/env/index.d.ts +5 -0
- package/lib/env/index.js +22 -0
- package/lib/env/index.js.map +1 -0
- package/package.json +1 -1
- package/tmp-environment.json +5 -15
- package/websql/fesm2022/static-columns.mjs +49 -49
- package/websql/fesm2022/static-columns.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/client/README.md +0 -24
- package/client/fesm2022/static-columns.mjs +0 -459
- package/client/fesm2022/static-columns.mjs.map +0 -1
- package/client/index.d.ts +0 -6
- package/client/lib/breakpoints.service.d.ts +0 -11
- package/client/lib/column/base-hide-show.directive.d.ts +0 -21
- package/client/lib/column/column-grow.directive.d.ts +0 -10
- package/client/lib/column/column-hide-desktop.directive.d.ts +0 -8
- package/client/lib/column/column-hide-mobile.directive.d.ts +0 -8
- package/client/lib/column/column-hide-tablet.directive.d.ts +0 -8
- package/client/lib/column/column-show-desktop.directive.d.ts +0 -8
- package/client/lib/column/column-show-mobile.directive.d.ts +0 -8
- package/client/lib/column/column-show-tablet.directive.d.ts +0 -8
- package/client/lib/column/column.component.d.ts +0 -10
- package/client/lib/column/index.d.ts +0 -13
- package/client/lib/column/shrink-on-mobile50.directive.d.ts +0 -8
- package/client/lib/column/shrink-on-mobile75.directive.d.ts +0 -15
- package/client/lib/column/shrink-on-tablet.directive.d.ts +0 -14
- package/client/lib/columns-gap/columns-gap.component.d.ts +0 -15
- package/client/lib/columns-gap/index.d.ts +0 -2
- package/client/lib/columns.component.d.ts +0 -9
- package/client/lib/columns.module.d.ts +0 -21
- package/client/lib/index.d.ts +0 -6
- package/client/public-api.d.ts +0 -2
- package/package.json_devDependencies.json +0 -237
- package/package.json_tnp.json5 +0 -55
package/client/README.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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.
|
|
@@ -1,459 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Directive, HostBinding, Input, Component, EventEmitter, Output, ViewChildren, NgModule } from '@angular/core';
|
|
3
|
-
import { Subject, takeUntil } from 'rxjs';
|
|
4
|
-
import * as i1 from '@angular/cdk/layout';
|
|
5
|
-
import { LayoutModule } from '@angular/cdk/layout';
|
|
6
|
-
import { _ } from 'tnp-core/browser';
|
|
7
|
-
|
|
8
|
-
const BRK = {
|
|
9
|
-
mobile: '(max-width: 599.98px)',
|
|
10
|
-
// tablet: obsvious
|
|
11
|
-
desktop: '(min-width: 840.00px)',
|
|
12
|
-
};
|
|
13
|
-
class BreakpointsService {
|
|
14
|
-
listenTo() {
|
|
15
|
-
setTimeout(() => {
|
|
16
|
-
this.sub.next(this.current);
|
|
17
|
-
});
|
|
18
|
-
return this.sub.asObservable();
|
|
19
|
-
}
|
|
20
|
-
constructor(breakpointObserver) {
|
|
21
|
-
this.sub = new Subject();
|
|
22
|
-
breakpointObserver.observe([BRK.mobile, BRK.desktop]).subscribe(state => {
|
|
23
|
-
if (!_.isUndefined([BRK.mobile].find(f => state.breakpoints[f]))) {
|
|
24
|
-
this.current = 'mobile';
|
|
25
|
-
this.sub.next('mobile');
|
|
26
|
-
}
|
|
27
|
-
else if (!_.isUndefined([BRK.desktop].find(f => state.breakpoints[f]))) {
|
|
28
|
-
this.current = 'desktop';
|
|
29
|
-
this.sub.next('desktop');
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this.current = 'tablet';
|
|
33
|
-
this.sub.next('tablet');
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
setTimeout(() => {
|
|
37
|
-
if (breakpointObserver.isMatched([BRK.mobile])) {
|
|
38
|
-
this.current = 'mobile';
|
|
39
|
-
this.sub.next('mobile');
|
|
40
|
-
}
|
|
41
|
-
else if (breakpointObserver.isMatched([BRK.desktop])) {
|
|
42
|
-
this.current = 'desktop';
|
|
43
|
-
this.sub.next('desktop');
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.current = 'tablet';
|
|
47
|
-
this.sub.next('tablet');
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: BreakpointsService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: BreakpointsService, providedIn: 'root' }); }
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: BreakpointsService, decorators: [{
|
|
55
|
-
type: Injectable,
|
|
56
|
-
args: [{ providedIn: 'root' }]
|
|
57
|
-
}], ctorParameters: () => [{ type: i1.BreakpointObserver }] });
|
|
58
|
-
|
|
59
|
-
class BaseHideShowDirective {
|
|
60
|
-
constructor(e, renderer, breakpoints) {
|
|
61
|
-
this.e = e;
|
|
62
|
-
this.renderer = renderer;
|
|
63
|
-
this.breakpoints = breakpoints;
|
|
64
|
-
this.$destroy = new Subject();
|
|
65
|
-
}
|
|
66
|
-
hideElement() {
|
|
67
|
-
this.renderer.setStyle(this.e.nativeElement, 'display', 'none');
|
|
68
|
-
}
|
|
69
|
-
showElement() {
|
|
70
|
-
this.renderer.setStyle(this.e.nativeElement, 'display', this.originalDisaplay);
|
|
71
|
-
}
|
|
72
|
-
scale(scale = 1) {
|
|
73
|
-
this.renderer.setStyle(this.e.nativeElement, 'transform', `scale(${scale})`);
|
|
74
|
-
}
|
|
75
|
-
ngOnInit() {
|
|
76
|
-
//Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.
|
|
77
|
-
//Add 'implements AfterViewInit' to the class.
|
|
78
|
-
this.breakpoints
|
|
79
|
-
.listenTo()
|
|
80
|
-
.pipe(takeUntil(this.$destroy))
|
|
81
|
-
.subscribe(state => {
|
|
82
|
-
if (typeof this.originalDisaplay === 'undefined') {
|
|
83
|
-
this.originalDisaplay = this.e.nativeElement.style.display;
|
|
84
|
-
}
|
|
85
|
-
// console.log(`state for actin: ${state}`)
|
|
86
|
-
this.action(state);
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
ngOnDestroy() {
|
|
90
|
-
this.$destroy.next(void 0);
|
|
91
|
-
this.$destroy.complete();
|
|
92
|
-
}
|
|
93
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: BaseHideShowDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
94
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: BaseHideShowDirective, isStandalone: false, selector: "[baseHideShowDirective]", ngImport: i0 }); }
|
|
95
|
-
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: BaseHideShowDirective, decorators: [{
|
|
97
|
-
type: Directive,
|
|
98
|
-
args: [{
|
|
99
|
-
selector: '[baseHideShowDirective]',
|
|
100
|
-
standalone: false,
|
|
101
|
-
}]
|
|
102
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: BreakpointsService }] });
|
|
103
|
-
|
|
104
|
-
class DirectiveGrow {
|
|
105
|
-
constructor(e, renderer) {
|
|
106
|
-
this.e = e;
|
|
107
|
-
this.renderer = renderer;
|
|
108
|
-
setTimeout(() => {
|
|
109
|
-
// e.nativeElement.style.flexGrow = 1;
|
|
110
|
-
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
111
|
-
}, 0);
|
|
112
|
-
// renderer.setElementStyle(e.nativeElement, 'flexGrow', '1');
|
|
113
|
-
}
|
|
114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
115
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveGrow, isStandalone: false, selector: "[grow]", ngImport: i0 }); }
|
|
116
|
-
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
118
|
-
type: Directive,
|
|
119
|
-
args: [{
|
|
120
|
-
selector: '[grow]',
|
|
121
|
-
standalone: false,
|
|
122
|
-
}]
|
|
123
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
124
|
-
|
|
125
|
-
class DirectiveHideDesktop extends BaseHideShowDirective {
|
|
126
|
-
action(state) {
|
|
127
|
-
if (state === 'desktop') {
|
|
128
|
-
this.hideElement();
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
this.showElement();
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveHideDesktop, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
135
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveHideDesktop, isStandalone: false, selector: "[hideDesktop]", usesInheritance: true, ngImport: i0 }); }
|
|
136
|
-
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveHideDesktop, decorators: [{
|
|
138
|
-
type: Directive,
|
|
139
|
-
args: [{
|
|
140
|
-
selector: '[hideDesktop]',
|
|
141
|
-
standalone: false,
|
|
142
|
-
}]
|
|
143
|
-
}] });
|
|
144
|
-
|
|
145
|
-
class DirectiveHideMobile extends BaseHideShowDirective {
|
|
146
|
-
action(state) {
|
|
147
|
-
if (state === 'mobile') {
|
|
148
|
-
this.hideElement();
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
this.showElement();
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveHideMobile, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
155
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveHideMobile, isStandalone: false, selector: "[hideMobile]", usesInheritance: true, ngImport: i0 }); }
|
|
156
|
-
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveHideMobile, decorators: [{
|
|
158
|
-
type: Directive,
|
|
159
|
-
args: [{
|
|
160
|
-
selector: '[hideMobile]',
|
|
161
|
-
standalone: false,
|
|
162
|
-
}]
|
|
163
|
-
}] });
|
|
164
|
-
|
|
165
|
-
class DirectiveHideTablet extends BaseHideShowDirective {
|
|
166
|
-
action(state) {
|
|
167
|
-
if (state === 'tablet') {
|
|
168
|
-
this.hideElement();
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
this.showElement();
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveHideTablet, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
175
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveHideTablet, isStandalone: false, selector: "[hideTablet]", usesInheritance: true, ngImport: i0 }); }
|
|
176
|
-
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveHideTablet, decorators: [{
|
|
178
|
-
type: Directive,
|
|
179
|
-
args: [{
|
|
180
|
-
selector: '[hideTablet]',
|
|
181
|
-
standalone: false,
|
|
182
|
-
}]
|
|
183
|
-
}] });
|
|
184
|
-
|
|
185
|
-
class DirectiveShowDesktop extends BaseHideShowDirective {
|
|
186
|
-
action(state) {
|
|
187
|
-
if (state === 'desktop') {
|
|
188
|
-
this.showElement();
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
this.hideElement();
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShowDesktop, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
195
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveShowDesktop, isStandalone: false, selector: "[showDesktop]", usesInheritance: true, ngImport: i0 }); }
|
|
196
|
-
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShowDesktop, decorators: [{
|
|
198
|
-
type: Directive,
|
|
199
|
-
args: [{
|
|
200
|
-
selector: '[showDesktop]',
|
|
201
|
-
standalone: false,
|
|
202
|
-
}]
|
|
203
|
-
}] });
|
|
204
|
-
|
|
205
|
-
class DirectiveShowMobile extends BaseHideShowDirective {
|
|
206
|
-
action(state) {
|
|
207
|
-
if (state === 'mobile') {
|
|
208
|
-
this.showElement();
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
this.hideElement();
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShowMobile, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
215
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveShowMobile, isStandalone: false, selector: "[showMobile]", usesInheritance: true, ngImport: i0 }); }
|
|
216
|
-
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShowMobile, decorators: [{
|
|
218
|
-
type: Directive,
|
|
219
|
-
args: [{
|
|
220
|
-
selector: '[showMobile]',
|
|
221
|
-
standalone: false,
|
|
222
|
-
}]
|
|
223
|
-
}] });
|
|
224
|
-
|
|
225
|
-
class DirectiveShowTablet extends BaseHideShowDirective {
|
|
226
|
-
action(state) {
|
|
227
|
-
if (state === 'tablet') {
|
|
228
|
-
this.showElement();
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
this.hideElement();
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShowTablet, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
235
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveShowTablet, isStandalone: false, selector: "[showTablet]", usesInheritance: true, ngImport: i0 }); }
|
|
236
|
-
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShowTablet, decorators: [{
|
|
238
|
-
type: Directive,
|
|
239
|
-
args: [{
|
|
240
|
-
selector: '[showTablet]',
|
|
241
|
-
standalone: false,
|
|
242
|
-
}]
|
|
243
|
-
}] });
|
|
244
|
-
|
|
245
|
-
class ColumnComponent {
|
|
246
|
-
constructor() {
|
|
247
|
-
// this.ccwidth = 90;
|
|
248
|
-
}
|
|
249
|
-
ngOnInit() { }
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", 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"] }); }
|
|
252
|
-
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
254
|
-
type: Component,
|
|
255
|
-
args: [{ selector: 'column', template: '<ng-content></ng-content>', standalone: false, styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
256
|
-
}], ctorParameters: () => [], propDecorators: { width: [{
|
|
257
|
-
type: HostBinding,
|
|
258
|
-
args: ['style.flex.basis.px']
|
|
259
|
-
}, {
|
|
260
|
-
type: HostBinding,
|
|
261
|
-
args: ['style.minWidth.px']
|
|
262
|
-
}, {
|
|
263
|
-
type: Input
|
|
264
|
-
}] } });
|
|
265
|
-
|
|
266
|
-
class DirectiveShrinkOnMobile extends BaseHideShowDirective {
|
|
267
|
-
constructor(e, renderer, breakpoints) {
|
|
268
|
-
super(e, renderer, breakpoints);
|
|
269
|
-
this.e = e;
|
|
270
|
-
this.renderer = renderer;
|
|
271
|
-
this.breakpoints = breakpoints;
|
|
272
|
-
this.scaleFactor = 75;
|
|
273
|
-
}
|
|
274
|
-
action(state) {
|
|
275
|
-
if (state === 'mobile') {
|
|
276
|
-
this.scale(0.75);
|
|
277
|
-
}
|
|
278
|
-
else {
|
|
279
|
-
// if (state === 'tablet' && this.tablet75) {
|
|
280
|
-
// } else {
|
|
281
|
-
this.scale();
|
|
282
|
-
// }
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShrinkOnMobile, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
286
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveShrinkOnMobile, isStandalone: false, selector: "[shrinkOnMobile]", usesInheritance: true, ngImport: i0 }); }
|
|
287
|
-
}
|
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShrinkOnMobile, decorators: [{
|
|
289
|
-
type: Directive,
|
|
290
|
-
args: [{
|
|
291
|
-
selector: '[shrinkOnMobile]',
|
|
292
|
-
standalone: false,
|
|
293
|
-
}]
|
|
294
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: BreakpointsService }] });
|
|
295
|
-
|
|
296
|
-
class DirectiveShrinkOnMobile50 extends DirectiveShrinkOnMobile {
|
|
297
|
-
constructor() {
|
|
298
|
-
super(...arguments);
|
|
299
|
-
this.scaleFactor = 50;
|
|
300
|
-
}
|
|
301
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShrinkOnMobile50, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
302
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveShrinkOnMobile50, isStandalone: false, selector: "[shrinkOnMobile50]", usesInheritance: true, ngImport: i0 }); }
|
|
303
|
-
}
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShrinkOnMobile50, decorators: [{
|
|
305
|
-
type: Directive,
|
|
306
|
-
args: [{
|
|
307
|
-
selector: '[shrinkOnMobile50]',
|
|
308
|
-
standalone: false,
|
|
309
|
-
}]
|
|
310
|
-
}] });
|
|
311
|
-
|
|
312
|
-
// import { DirectiveShrinkOnMobile50 } from './shrink-on-mobile50.directive';
|
|
313
|
-
// import { DirectiveShrinkOnMobile } from './shrink-on-mobile75.directive';
|
|
314
|
-
class DirectiveShrinkOnTablet extends BaseHideShowDirective {
|
|
315
|
-
constructor(e, renderer, breakpoints) {
|
|
316
|
-
super(e, renderer, breakpoints);
|
|
317
|
-
this.e = e;
|
|
318
|
-
this.renderer = renderer;
|
|
319
|
-
this.breakpoints = breakpoints;
|
|
320
|
-
}
|
|
321
|
-
action(state) {
|
|
322
|
-
// if (state === 'tablet') {
|
|
323
|
-
// this.scale(0.75)
|
|
324
|
-
// } else {
|
|
325
|
-
// if (state === 'mobile' && (this.mobile50 || this.mobile75)) {
|
|
326
|
-
// } else {
|
|
327
|
-
// this.scale()
|
|
328
|
-
// }
|
|
329
|
-
// }
|
|
330
|
-
}
|
|
331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShrinkOnTablet, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
332
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: DirectiveShrinkOnTablet, isStandalone: false, selector: "[shrinkOnTablet]", usesInheritance: true, ngImport: i0 }); }
|
|
333
|
-
}
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DirectiveShrinkOnTablet, decorators: [{
|
|
335
|
-
type: Directive,
|
|
336
|
-
args: [{
|
|
337
|
-
selector: '[shrinkOnTablet]',
|
|
338
|
-
standalone: false,
|
|
339
|
-
}]
|
|
340
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: BreakpointsService }] });
|
|
341
|
-
|
|
342
|
-
//#region @browser
|
|
343
|
-
//#endregion
|
|
344
|
-
|
|
345
|
-
//#region @browser
|
|
346
|
-
class ColumnsGapComponent {
|
|
347
|
-
constructor() {
|
|
348
|
-
this.width = 20;
|
|
349
|
-
this.handlers = [];
|
|
350
|
-
this.columnsGapDataChanged = new EventEmitter();
|
|
351
|
-
this.columnsGapData = {};
|
|
352
|
-
}
|
|
353
|
-
ngOnInit() { }
|
|
354
|
-
ngOnDestroy() {
|
|
355
|
-
this.handlers.forEach(h => h.unsubscribe());
|
|
356
|
-
}
|
|
357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ColumnsGapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
358
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", 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"] }] }); }
|
|
359
|
-
}
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ColumnsGapComponent, decorators: [{
|
|
361
|
-
type: Component,
|
|
362
|
-
args: [{ selector: 'columns-gap', standalone: false, template: "<column [width]=\"width\"></column>\n", styles: [":host{flex-grow:0;flex-shrink:0;width:0px}\n"] }]
|
|
363
|
-
}], ctorParameters: () => [], propDecorators: { width: [{
|
|
364
|
-
type: HostBinding,
|
|
365
|
-
args: ['style.flex.basis.px']
|
|
366
|
-
}, {
|
|
367
|
-
type: HostBinding,
|
|
368
|
-
args: ['style.minWidth.px']
|
|
369
|
-
}], columnsGapDataChanged: [{
|
|
370
|
-
type: Output
|
|
371
|
-
}], columnsGapData: [{
|
|
372
|
-
type: Input
|
|
373
|
-
}] } });
|
|
374
|
-
|
|
375
|
-
//#region @browser
|
|
376
|
-
//#endregion
|
|
377
|
-
|
|
378
|
-
// import { Log, Level } from 'ng2-logger/index';
|
|
379
|
-
// const log = Log.create('test');
|
|
380
|
-
// log.i('asdas')
|
|
381
|
-
class ColumnsComponent {
|
|
382
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ColumnsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
383
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", 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"] }); }
|
|
384
|
-
}
|
|
385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ColumnsComponent, decorators: [{
|
|
386
|
-
type: Component,
|
|
387
|
-
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"] }]
|
|
388
|
-
}], propDecorators: { childrens: [{
|
|
389
|
-
type: ViewChildren,
|
|
390
|
-
args: [ColumnComponent]
|
|
391
|
-
}] } });
|
|
392
|
-
|
|
393
|
-
//#region @browser
|
|
394
|
-
const components = [
|
|
395
|
-
ColumnsComponent,
|
|
396
|
-
ColumnComponent,
|
|
397
|
-
DirectiveGrow,
|
|
398
|
-
DirectiveHideMobile,
|
|
399
|
-
DirectiveHideTablet,
|
|
400
|
-
DirectiveHideDesktop,
|
|
401
|
-
DirectiveShowTablet,
|
|
402
|
-
DirectiveShowMobile,
|
|
403
|
-
DirectiveShowDesktop,
|
|
404
|
-
ColumnsGapComponent,
|
|
405
|
-
DirectiveShrinkOnMobile50,
|
|
406
|
-
DirectiveShrinkOnMobile,
|
|
407
|
-
DirectiveShrinkOnTablet,
|
|
408
|
-
];
|
|
409
|
-
class StaticColumnsModule {
|
|
410
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: StaticColumnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
411
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: StaticColumnsModule, declarations: [ColumnsComponent,
|
|
412
|
-
ColumnComponent,
|
|
413
|
-
DirectiveGrow,
|
|
414
|
-
DirectiveHideMobile,
|
|
415
|
-
DirectiveHideTablet,
|
|
416
|
-
DirectiveHideDesktop,
|
|
417
|
-
DirectiveShowTablet,
|
|
418
|
-
DirectiveShowMobile,
|
|
419
|
-
DirectiveShowDesktop,
|
|
420
|
-
ColumnsGapComponent,
|
|
421
|
-
DirectiveShrinkOnMobile50,
|
|
422
|
-
DirectiveShrinkOnMobile,
|
|
423
|
-
DirectiveShrinkOnTablet], imports: [LayoutModule], exports: [LayoutModule, ColumnsComponent,
|
|
424
|
-
ColumnComponent,
|
|
425
|
-
DirectiveGrow,
|
|
426
|
-
DirectiveHideMobile,
|
|
427
|
-
DirectiveHideTablet,
|
|
428
|
-
DirectiveHideDesktop,
|
|
429
|
-
DirectiveShowTablet,
|
|
430
|
-
DirectiveShowMobile,
|
|
431
|
-
DirectiveShowDesktop,
|
|
432
|
-
ColumnsGapComponent,
|
|
433
|
-
DirectiveShrinkOnMobile50,
|
|
434
|
-
DirectiveShrinkOnMobile,
|
|
435
|
-
DirectiveShrinkOnTablet] }); }
|
|
436
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: StaticColumnsModule, providers: [BreakpointsService], imports: [LayoutModule, LayoutModule] }); }
|
|
437
|
-
}
|
|
438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: StaticColumnsModule, decorators: [{
|
|
439
|
-
type: NgModule,
|
|
440
|
-
args: [{
|
|
441
|
-
imports: [LayoutModule],
|
|
442
|
-
exports: [LayoutModule, ...components],
|
|
443
|
-
declarations: [...components],
|
|
444
|
-
providers: [BreakpointsService],
|
|
445
|
-
}]
|
|
446
|
-
}] });
|
|
447
|
-
|
|
448
|
-
//#endregion
|
|
449
|
-
/* */
|
|
450
|
-
/* */
|
|
451
|
-
/* */
|
|
452
|
-
/* */
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* Generated bundle index. Do not edit.
|
|
456
|
-
*/
|
|
457
|
-
|
|
458
|
-
export { BaseHideShowDirective, BreakpointsService, ColumnComponent, ColumnsComponent, ColumnsGapComponent, DirectiveGrow, DirectiveHideDesktop, DirectiveHideMobile, DirectiveHideTablet, DirectiveShowDesktop, DirectiveShowMobile, DirectiveShowTablet, DirectiveShrinkOnMobile, DirectiveShrinkOnMobile50, DirectiveShrinkOnTablet, StaticColumnsModule };
|
|
459
|
-
//# sourceMappingURL=static-columns.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static-columns.mjs","sources":["../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/breakpoints.service.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/base-hide-show.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-grow.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-hide-desktop.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-hide-mobile.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-hide-tablet.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-show-desktop.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-show-mobile.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column-show-tablet.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/column.component.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/shrink-on-mobile75.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/shrink-on-mobile50.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/shrink-on-tablet.directive.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/column/index.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/columns-gap/columns-gap.component.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/columns-gap/columns-gap.component.html","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/columns-gap/index.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/columns.component.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/columns.component.html","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/columns.module.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/lib/index.ts","../../../tmp-libs-for-dist/static-columns/projects/static-columns/src/static-columns.ts"],"sourcesContent":["import {\n BreakpointObserver,\n BreakpointState,\n Breakpoints,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { _ } from 'tnp-core/browser';\n\nconst BRK = {\n mobile: '(max-width: 599.98px)',\n // tablet: obsvious\n desktop: '(min-width: 840.00px)',\n};\n\n@Injectable({ providedIn: 'root' })\nexport class BreakpointsService {\n private sub = new Subject<'mobile' | 'tablet' | 'desktop'>();\n public listenTo() {\n setTimeout(() => {\n this.sub.next(this.current);\n });\n return this.sub.asObservable();\n }\n\n private current: 'mobile' | 'tablet' | 'desktop';\n constructor(breakpointObserver: BreakpointObserver) {\n breakpointObserver.observe([BRK.mobile, BRK.desktop]).subscribe(state => {\n if (!_.isUndefined([BRK.mobile].find(f => state.breakpoints[f]))) {\n this.current = 'mobile';\n this.sub.next('mobile');\n } else if (\n !_.isUndefined([BRK.desktop].find(f => state.breakpoints[f]))\n ) {\n this.current = 'desktop';\n this.sub.next('desktop');\n } else {\n this.current = 'tablet';\n this.sub.next('tablet');\n }\n });\n\n setTimeout(() => {\n if (breakpointObserver.isMatched([BRK.mobile])) {\n this.current = 'mobile';\n this.sub.next('mobile');\n } else if (breakpointObserver.isMatched([BRK.desktop])) {\n this.current = 'desktop';\n this.sub.next('desktop');\n } else {\n this.current = 'tablet';\n this.sub.next('tablet');\n }\n });\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\n\n@Directive({\n selector: '[baseHideShowDirective]',\n standalone: false,\n})\nexport abstract class BaseHideShowDirective {\n $destroy = new Subject();\n constructor(\n public e: ElementRef,\n public renderer: Renderer2,\n public breakpoints: BreakpointsService,\n ) {}\n\n private originalDisaplay: string;\n\n abstract action(state: 'mobile' | 'tablet' | 'desktop');\n\n protected hideElement() {\n this.renderer.setStyle(this.e.nativeElement, 'display', 'none');\n }\n\n protected showElement() {\n this.renderer.setStyle(\n this.e.nativeElement,\n 'display',\n this.originalDisaplay,\n );\n }\n\n protected scale(scale: number = 1) {\n this.renderer.setStyle(\n this.e.nativeElement,\n 'transform',\n `scale(${scale})`,\n );\n }\n\n ngOnInit(): void {\n //Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.\n //Add 'implements AfterViewInit' to the class.\n this.breakpoints\n .listenTo()\n .pipe(takeUntil(this.$destroy))\n .subscribe(state => {\n if (typeof this.originalDisaplay === 'undefined') {\n this.originalDisaplay = (\n this.e.nativeElement as HTMLElement\n ).style.display;\n }\n // console.log(`state for actin: ${state}`)\n this.action(state);\n });\n }\n\n ngOnDestroy(): void {\n this.$destroy.next(void 0);\n this.$destroy.complete();\n }\n}","import { Component, Directive, ElementRef, Renderer2 } from '@angular/core';\n\n@Directive({\n selector: '[grow]',\n standalone: false,\n})\nexport class DirectiveGrow {\n constructor(\n public e: ElementRef,\n public renderer: Renderer2,\n ) {\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}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\n\nimport { BreakpointsService } from '../breakpoints.service';\n\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n\n@Directive({\n selector: '[hideDesktop]',\n standalone: false,\n})\nexport class DirectiveHideDesktop extends BaseHideShowDirective {\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'desktop') {\n this.hideElement();\n } else {\n this.showElement();\n }\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\n\nimport { BreakpointsService } from '../breakpoints.service';\n\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n\n@Directive({\n selector: '[hideMobile]',\n standalone: false,\n})\nexport class DirectiveHideMobile extends BaseHideShowDirective {\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'mobile') {\n this.hideElement();\n } else {\n this.showElement();\n }\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n\n@Directive({\n selector: '[hideTablet]',\n standalone: false,\n})\nexport class DirectiveHideTablet extends BaseHideShowDirective {\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'tablet') {\n this.hideElement();\n } else {\n this.showElement();\n }\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n\n@Directive({\n selector: '[showDesktop]',\n standalone: false,\n})\nexport class DirectiveShowDesktop extends BaseHideShowDirective {\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'desktop') {\n this.showElement();\n } else {\n this.hideElement();\n }\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n\n@Directive({\n selector: '[showMobile]',\n standalone: false,\n})\nexport class DirectiveShowMobile extends BaseHideShowDirective {\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'mobile') {\n this.showElement();\n } else {\n this.hideElement();\n }\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n\n@Directive({\n selector: '[showTablet]',\n standalone: false,\n})\nexport class DirectiveShowTablet extends BaseHideShowDirective {\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'tablet') {\n this.showElement();\n } else {\n this.hideElement();\n }\n }\n}","import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'column',\n template: '<ng-content></ng-content>',\n styleUrls: ['./column.component.scss'],\n standalone: false,\n})\nexport class ColumnComponent implements OnInit {\n @HostBinding('style.flex.basis.px')\n @HostBinding('style.minWidth.px')\n @Input()\n width: number;\n\n constructor() {\n // this.ccwidth = 90;\n }\n\n ngOnInit() {}\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n Host,\n OnInit,\n Optional,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\nimport { DirectiveShrinkOnTablet } from './shrink-on-tablet.directive';\n\n@Directive({\n selector: '[shrinkOnMobile]',\n standalone: false,\n})\nexport class DirectiveShrinkOnMobile extends BaseHideShowDirective {\n scaleFactor = 75;\n constructor(\n public e: ElementRef,\n public renderer: Renderer2,\n public breakpoints: BreakpointsService,\n // @Optional() @Host() public tablet75: DirectiveShrinkOnTablet\n ) {\n super(e, renderer, breakpoints);\n }\n\n action(state: 'mobile' | 'tablet' | 'desktop') {\n if (state === 'mobile') {\n this.scale(0.75);\n } else {\n // if (state === 'tablet' && this.tablet75) {\n\n // } else {\n this.scale();\n // }\n }\n }\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n OnInit,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\nimport { DirectiveShrinkOnMobile } from './shrink-on-mobile75.directive';\n\n@Directive({\n selector: '[shrinkOnMobile50]',\n standalone: false,\n})\nexport class DirectiveShrinkOnMobile50 extends DirectiveShrinkOnMobile {\n scaleFactor: number = 50;\n}","import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';\nimport {\n Component,\n Directive,\n ElementRef,\n Host,\n OnInit,\n Optional,\n Renderer2,\n} from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { BreakpointsService } from '../breakpoints.service';\nimport { BaseHideShowDirective } from './base-hide-show.directive';\n// import { DirectiveShrinkOnMobile50 } from './shrink-on-mobile50.directive';\n// import { DirectiveShrinkOnMobile } from './shrink-on-mobile75.directive';\n\n@Directive({\n selector: '[shrinkOnTablet]',\n standalone: false,\n})\nexport class DirectiveShrinkOnTablet extends BaseHideShowDirective {\n constructor(\n public e: ElementRef,\n public renderer: Renderer2,\n public breakpoints: BreakpointsService,\n // @Optional() @Host() public mobile50: DirectiveShrinkOnMobile50,\n // @Optional() @Host() public mobile75: DirectiveShrinkOnMobile,\n ) {\n super(e, renderer, breakpoints);\n }\n action(state: 'mobile' | 'tablet' | 'desktop') {\n // if (state === 'tablet') {\n // this.scale(0.75)\n // } else {\n // if (state === 'mobile' && (this.mobile50 || this.mobile75)) {\n // } else {\n // this.scale()\n // }\n // }\n }\n}","//#region @browser\nexport * from './base-hide-show.directive';\n//#endregion\n//#region @browser\nexport * from './column-grow.directive';\n//#endregion\n//#region @browser\nexport * from './column-hide-desktop.directive';\n//#endregion\n//#region @browser\nexport * from './column-hide-mobile.directive';\n//#endregion\n//#region @browser\nexport * from './column-hide-tablet.directive';\n//#endregion\n//#region @browser\nexport * from './column-show-desktop.directive';\n//#endregion\n//#region @browser\nexport * from './column-show-mobile.directive';\n//#endregion\n//#region @browser\nexport * from './column-show-tablet.directive';\n//#endregion\n//#region @browser\nexport * from './column.component';\n//#endregion\n//#region @browser\nexport * from './shrink-on-mobile50.directive';\n//#endregion\n//#region @browser\nexport * from './shrink-on-mobile75.directive';\n//#endregion\n//#region @browser\nexport * from './shrink-on-tablet.directive';\n//#endregion","//#region @browser\nimport {\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'columns-gap',\n templateUrl: './columns-gap.component.html',\n styleUrls: ['./columns-gap.component.scss'],\n standalone: false,\n})\nexport class ColumnsGapComponent implements OnInit {\n @HostBinding('style.flex.basis.px')\n @HostBinding('style.minWidth.px')\n width: number = 20;\n\n handlers: Subscription[] = [];\n @Output() columnsGapDataChanged = new EventEmitter();\n @Input() columnsGapData: any = {};\n\n constructor() {}\n\n ngOnInit() {}\n\n ngOnDestroy(): void {\n this.handlers.forEach(h => h.unsubscribe());\n }\n}\n//#endregion","<column [width]=\"width\"></column>\n","//#region @browser\nexport * from './columns-gap.component';\n//#endregion","import {\n Component,\n OnInit,\n ViewEncapsulation,\n ViewChildren,\n QueryList,\n} from '@angular/core';\n\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 standalone: false,\n})\nexport class ColumnsComponent {\n @ViewChildren(ColumnComponent) childrens: QueryList<ColumnComponent>;\n}","<ng-content></ng-content>\n","//#region @browser\nimport { NgModule } from '@angular/core';\nimport { LayoutModule } from '@angular/cdk/layout';\nimport {\n ColumnComponent,\n DirectiveGrow,\n DirectiveHideDesktop,\n DirectiveHideTablet,\n DirectiveHideMobile,\n DirectiveShowDesktop,\n DirectiveShowMobile,\n DirectiveShowTablet,\n DirectiveShrinkOnMobile50,\n DirectiveShrinkOnMobile,\n DirectiveShrinkOnTablet,\n} from './column';\nimport { ColumnsGapComponent } from './columns-gap/columns-gap.component';\nimport { ColumnsComponent } from './columns.component';\nimport { BreakpointsService } from './breakpoints.service';\n\nconst components = [\n ColumnsComponent,\n ColumnComponent,\n DirectiveGrow,\n DirectiveHideMobile,\n DirectiveHideTablet,\n DirectiveHideDesktop,\n DirectiveShowTablet,\n DirectiveShowMobile,\n DirectiveShowDesktop,\n ColumnsGapComponent,\n DirectiveShrinkOnMobile50,\n DirectiveShrinkOnMobile,\n DirectiveShrinkOnTablet,\n];\n\n@NgModule({\n imports: [LayoutModule],\n exports: [LayoutModule, ...components],\n declarations: [...components],\n providers: [BreakpointsService],\n})\nexport class StaticColumnsModule {}\n//#endregion","export * from './column';\nexport * from './columns-gap';\n//#region @browser\nexport * from './breakpoints.service';\nexport * from './columns.component';\n//#endregion\n//#region @browser\nexport * from './columns.module';\n//#endregion\n/* */\n/* */\n/* */\n/* */\n ","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.BreakpointsService","i1.ColumnComponent"],"mappings":";;;;;;;AASA,MAAM,GAAG,GAAG;AACV,IAAA,MAAM,EAAE,uBAAuB;;AAE/B,IAAA,OAAO,EAAE,uBAAuB;CACjC;MAGY,kBAAkB,CAAA;IAEtB,QAAQ,GAAA;QACb,UAAU,CAAC,MAAK;YACd,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;AAC7B,SAAC,CAAC;AACF,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE;;AAIhC,IAAA,WAAA,CAAY,kBAAsC,EAAA;AAT1C,QAAA,IAAA,CAAA,GAAG,GAAG,IAAI,OAAO,EAAmC;AAU1D,QAAA,kBAAkB,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,IAAG;YACtE,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,WAA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,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,aAFnB,CAAC,kBAAkB,CAAC,EAHrB,OAAA,EAAA,CAAA,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAIX,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,UAAU,CAAC;AACtC,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;oBAC7B,SAAS,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA;;;ACjCD;AACA;AACA;AACA;AACA;;ACZA;;AAEG;;;;"}
|
package/client/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BreakpointsService {
|
|
5
|
-
private sub;
|
|
6
|
-
listenTo(): import("rxjs").Observable<"mobile" | "tablet" | "desktop">;
|
|
7
|
-
private current;
|
|
8
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointsService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BreakpointsService>;
|
|
11
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { BreakpointsService } from '../breakpoints.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class BaseHideShowDirective {
|
|
7
|
-
e: ElementRef;
|
|
8
|
-
renderer: Renderer2;
|
|
9
|
-
breakpoints: BreakpointsService;
|
|
10
|
-
$destroy: Subject<unknown>;
|
|
11
|
-
constructor(e: ElementRef, renderer: Renderer2, breakpoints: BreakpointsService);
|
|
12
|
-
private originalDisaplay;
|
|
13
|
-
abstract action(state: 'mobile' | 'tablet' | 'desktop'): any;
|
|
14
|
-
protected hideElement(): void;
|
|
15
|
-
protected showElement(): void;
|
|
16
|
-
protected scale(scale?: number): void;
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseHideShowDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseHideShowDirective, "[baseHideShowDirective]", never, {}, {}, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DirectiveGrow {
|
|
5
|
-
e: ElementRef;
|
|
6
|
-
renderer: Renderer2;
|
|
7
|
-
constructor(e: ElementRef, renderer: Renderer2);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveGrow, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveGrow, "[grow]", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DirectiveHideDesktop extends BaseHideShowDirective {
|
|
5
|
-
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveHideDesktop, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveHideDesktop, "[hideDesktop]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DirectiveHideMobile extends BaseHideShowDirective {
|
|
5
|
-
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveHideMobile, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveHideMobile, "[hideMobile]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DirectiveHideTablet extends BaseHideShowDirective {
|
|
5
|
-
action(state: 'mobile' | 'tablet' | 'desktop'): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveHideTablet, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveHideTablet, "[hideTablet]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|