static-columns 13.3.3 → 13.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -74
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2020/lib/breakpoints.service.mjs +42 -42
- package/browser/esm2020/lib/column/base-hide-show.directive.mjs +46 -46
- package/browser/esm2020/lib/column/column-grow.directive.mjs +21 -21
- package/browser/esm2020/lib/column/column-hide-desktop.directive.mjs +23 -23
- package/browser/esm2020/lib/column/column-hide-mobile.directive.mjs +23 -23
- package/browser/esm2020/lib/column/column-hide-tablet.directive.mjs +23 -23
- package/browser/esm2020/lib/column/column-show-desktop.directive.mjs +23 -23
- package/browser/esm2020/lib/column/column-show-mobile.directive.mjs +23 -23
- package/browser/esm2020/lib/column/column-show-tablet.directive.mjs +23 -23
- package/browser/esm2020/lib/column/column.component.mjs +23 -23
- package/browser/esm2020/lib/column/index.mjs +10 -10
- package/browser/esm2020/lib/columns-gap/columns-gap.component.mjs +35 -35
- package/browser/esm2020/lib/columns-gap/index.mjs +3 -3
- package/browser/esm2020/lib/columns.component.mjs +20 -20
- package/browser/esm2020/lib/columns.module.mjs +69 -69
- package/browser/esm2020/lib/index.mjs +7 -7
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/esm2020/static-columns.mjs +4 -4
- package/browser/fesm2015/static-columns.mjs +331 -331
- package/browser/fesm2015/static-columns.mjs.map +1 -1
- package/browser/fesm2020/static-columns.mjs +331 -331
- package/browser/fesm2020/static-columns.mjs.map +1 -1
- package/browser/lib/breakpoints.service.d.ts +8 -8
- package/browser/lib/column/base-hide-show.directive.d.ts +18 -18
- package/browser/lib/column/column-grow.directive.d.ts +8 -8
- package/browser/lib/column/column-hide-desktop.directive.d.ts +6 -6
- package/browser/lib/column/column-hide-mobile.directive.d.ts +6 -6
- package/browser/lib/column/column-hide-tablet.directive.d.ts +6 -6
- package/browser/lib/column/column-show-desktop.directive.d.ts +6 -6
- package/browser/lib/column/column-show-mobile.directive.d.ts +6 -6
- package/browser/lib/column/column-show-tablet.directive.d.ts +6 -6
- package/browser/lib/column/column.component.d.ts +8 -8
- package/browser/lib/column/index.d.ts +7 -7
- package/browser/lib/columns-gap/columns-gap.component.d.ts +13 -13
- package/browser/lib/columns.component.d.ts +9 -9
- package/browser/lib/columns.module.d.ts +16 -16
- package/browser/lib/index.d.ts +4 -4
- package/browser/static-columns.d.ts +4 -4
- package/client/README.md +24 -24
- package/client/esm2020/lib/breakpoints.service.mjs +42 -42
- package/client/esm2020/lib/column/base-hide-show.directive.mjs +46 -46
- package/client/esm2020/lib/column/column-grow.directive.mjs +21 -21
- package/client/esm2020/lib/column/column-hide-desktop.directive.mjs +23 -23
- package/client/esm2020/lib/column/column-hide-mobile.directive.mjs +23 -23
- package/client/esm2020/lib/column/column-hide-tablet.directive.mjs +23 -23
- package/client/esm2020/lib/column/column-show-desktop.directive.mjs +23 -23
- package/client/esm2020/lib/column/column-show-mobile.directive.mjs +23 -23
- package/client/esm2020/lib/column/column-show-tablet.directive.mjs +23 -23
- package/client/esm2020/lib/column/column.component.mjs +23 -23
- package/client/esm2020/lib/column/index.mjs +10 -10
- package/client/esm2020/lib/columns-gap/columns-gap.component.mjs +35 -35
- package/client/esm2020/lib/columns-gap/index.mjs +3 -3
- package/client/esm2020/lib/columns.component.mjs +20 -20
- package/client/esm2020/lib/columns.module.mjs +69 -69
- package/client/esm2020/lib/index.mjs +7 -7
- package/client/esm2020/public-api.mjs +1 -1
- package/client/esm2020/static-columns.mjs +4 -4
- package/client/fesm2015/static-columns.mjs +331 -331
- package/client/fesm2015/static-columns.mjs.map +1 -1
- package/client/fesm2020/static-columns.mjs +331 -331
- package/client/fesm2020/static-columns.mjs.map +1 -1
- package/client/lib/breakpoints.service.d.ts +8 -8
- package/client/lib/column/base-hide-show.directive.d.ts +18 -18
- package/client/lib/column/column-grow.directive.d.ts +8 -8
- package/client/lib/column/column-hide-desktop.directive.d.ts +6 -6
- package/client/lib/column/column-hide-mobile.directive.d.ts +6 -6
- package/client/lib/column/column-hide-tablet.directive.d.ts +6 -6
- package/client/lib/column/column-show-desktop.directive.d.ts +6 -6
- package/client/lib/column/column-show-mobile.directive.d.ts +6 -6
- package/client/lib/column/column-show-tablet.directive.d.ts +6 -6
- package/client/lib/column/column.component.d.ts +8 -8
- package/client/lib/column/index.d.ts +7 -7
- package/client/lib/columns-gap/columns-gap.component.d.ts +13 -13
- package/client/lib/columns.component.d.ts +9 -9
- package/client/lib/columns.module.d.ts +16 -16
- package/client/lib/index.d.ts +4 -4
- package/client/package.json +12 -6
- package/client/static-columns.d.ts +4 -4
- package/index.d.ts +1 -1
- package/lib/breakpoints.service.d.ts +6 -6
- package/lib/column/base-hide-show.directive.d.ts +16 -16
- package/lib/column/column-grow.directive.d.ts +6 -6
- package/lib/column/column-hide-desktop.directive.d.ts +4 -4
- package/lib/column/column-hide-mobile.directive.d.ts +4 -4
- package/lib/column/column-hide-tablet.directive.d.ts +4 -4
- package/lib/column/column-show-desktop.directive.d.ts +4 -4
- package/lib/column/column-show-mobile.directive.d.ts +4 -4
- package/lib/column/column-show-tablet.directive.d.ts +4 -4
- package/lib/column/column.component.d.ts +6 -6
- package/lib/column/index.d.ts +7 -7
- package/lib/column/index.js +3 -3
- package/lib/columns-gap/columns-gap.component.d.ts +10 -10
- package/lib/columns-gap/columns-gap.component.js +3 -3
- package/lib/columns-gap/index.js +3 -3
- package/lib/columns.component.d.ts +6 -6
- package/lib/columns.component.js +3 -3
- package/lib/columns.module.d.ts +1 -1
- package/lib/columns.module.js +3 -3
- package/lib/index.d.ts +4 -4
- package/package.json +12 -6
- package/package.json_devDependencies.json +237 -237
- package/package.json_tnp.json5 +49 -49
- package/tmp-environment.json +15 -9
- package/websql/README.md +24 -24
- package/websql/esm2020/lib/breakpoints.service.mjs +42 -42
- package/websql/esm2020/lib/column/base-hide-show.directive.mjs +46 -46
- package/websql/esm2020/lib/column/column-grow.directive.mjs +21 -21
- package/websql/esm2020/lib/column/column-hide-desktop.directive.mjs +23 -23
- package/websql/esm2020/lib/column/column-hide-mobile.directive.mjs +23 -23
- package/websql/esm2020/lib/column/column-hide-tablet.directive.mjs +23 -23
- package/websql/esm2020/lib/column/column-show-desktop.directive.mjs +23 -23
- package/websql/esm2020/lib/column/column-show-mobile.directive.mjs +23 -23
- package/websql/esm2020/lib/column/column-show-tablet.directive.mjs +23 -23
- package/websql/esm2020/lib/column/column.component.mjs +23 -23
- package/websql/esm2020/lib/column/index.mjs +10 -10
- package/websql/esm2020/lib/columns-gap/columns-gap.component.mjs +35 -35
- package/websql/esm2020/lib/columns-gap/index.mjs +3 -3
- package/websql/esm2020/lib/columns.component.mjs +20 -20
- package/websql/esm2020/lib/columns.module.mjs +69 -69
- package/websql/esm2020/lib/index.mjs +7 -7
- package/websql/esm2020/public-api.mjs +1 -1
- package/websql/esm2020/static-columns.mjs +4 -4
- package/websql/fesm2015/static-columns.mjs +331 -331
- package/websql/fesm2015/static-columns.mjs.map +1 -1
- package/websql/fesm2020/static-columns.mjs +331 -331
- package/websql/fesm2020/static-columns.mjs.map +1 -1
- package/websql/lib/breakpoints.service.d.ts +8 -8
- package/websql/lib/column/base-hide-show.directive.d.ts +18 -18
- package/websql/lib/column/column-grow.directive.d.ts +8 -8
- package/websql/lib/column/column-hide-desktop.directive.d.ts +6 -6
- package/websql/lib/column/column-hide-mobile.directive.d.ts +6 -6
- package/websql/lib/column/column-hide-tablet.directive.d.ts +6 -6
- package/websql/lib/column/column-show-desktop.directive.d.ts +6 -6
- package/websql/lib/column/column-show-mobile.directive.d.ts +6 -6
- package/websql/lib/column/column-show-tablet.directive.d.ts +6 -6
- package/websql/lib/column/column.component.d.ts +8 -8
- package/websql/lib/column/index.d.ts +7 -7
- package/websql/lib/columns-gap/columns-gap.component.d.ts +13 -13
- package/websql/lib/columns.component.d.ts +9 -9
- package/websql/lib/columns.module.d.ts +16 -16
- package/websql/lib/index.d.ts +4 -4
- package/websql/static-columns.d.ts +4 -4
package/README.md
CHANGED
|
@@ -1,74 +1,99 @@
|
|
|
1
|
-
|
|
2
|
-
# STATIC-COLUMNS - effortless Angular2+ layouts
|
|
3
|
-
|
|
4
|
-
# forget about flex box complicated rules !
|
|
5
|
-
|
|
6
|
-
With this simple library
|
|
7
|
-
|
|
8
|
-
**angular / html columns with static width**
|
|
9
|
-
|
|
10
|
-
mixed with
|
|
11
|
-
|
|
12
|
-
**columns with responsive width**
|
|
13
|
-
|
|
14
|
-
are not a problem anymore!
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
### How to install:
|
|
19
|
-
```
|
|
20
|
-
npm install static-columns --save
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
### Import it:
|
|
25
|
-
```ts
|
|
26
|
-
import { StaticColumnsModule } form "static-columns/browser"
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### Put module inside angular imports:
|
|
30
|
-
```ts
|
|
31
|
-
|
|
32
|
-
@NgModule(
|
|
33
|
-
// ...
|
|
34
|
-
imports: [StaticColumnsModule]
|
|
35
|
-
// ...
|
|
36
|
-
)
|
|
37
|
-
class MyExampleModule {
|
|
38
|
-
// ...
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
# Examples
|
|
43
|
-
|
|
44
|
-
## Basic usage:
|
|
45
|
-
```html
|
|
46
|
-
<columns-container>
|
|
47
|
-
<column grow > <!-- this column will grow/shring based on screen width -->
|
|
48
|
-
something
|
|
49
|
-
</column>
|
|
50
|
-
<column width="190">
|
|
51
|
-
<button>ZAKRES</button>
|
|
52
|
-
</column>
|
|
53
|
-
<column width="190">
|
|
54
|
-
<button-magnifier></button-magnifier>
|
|
55
|
-
<button-bell></button-bell>
|
|
56
|
-
<button-gears></button-gears>
|
|
57
|
-
</column>
|
|
58
|
-
</columns-container>
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-

|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## Hide/show column in mobile view:
|
|
65
|
-
```html
|
|
66
|
-
<columns-container>
|
|
67
|
-
<column hideMobile >
|
|
68
|
-
I am not visible when screen < 600px
|
|
69
|
-
</column>
|
|
70
|
-
<column showMobile>
|
|
71
|
-
I am visible only when screen < 600px
|
|
72
|
-
</column>
|
|
73
|
-
</columns-container>
|
|
74
|
-
```
|
|
1
|
+
|
|
2
|
+
# STATIC-COLUMNS - effortless Angular2+ layouts
|
|
3
|
+
|
|
4
|
+
# forget about flex box complicated rules !
|
|
5
|
+
|
|
6
|
+
With this simple library
|
|
7
|
+
|
|
8
|
+
**angular / html columns with static width**
|
|
9
|
+
|
|
10
|
+
mixed with
|
|
11
|
+
|
|
12
|
+
**columns with responsive width**
|
|
13
|
+
|
|
14
|
+
are not a problem anymore!
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
### How to install:
|
|
19
|
+
```
|
|
20
|
+
npm install static-columns --save
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Import it:
|
|
25
|
+
```ts
|
|
26
|
+
import { StaticColumnsModule } form "static-columns/browser"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Put module inside angular imports:
|
|
30
|
+
```ts
|
|
31
|
+
|
|
32
|
+
@NgModule(
|
|
33
|
+
// ...
|
|
34
|
+
imports: [StaticColumnsModule]
|
|
35
|
+
// ...
|
|
36
|
+
)
|
|
37
|
+
class MyExampleModule {
|
|
38
|
+
// ...
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
# Examples
|
|
43
|
+
|
|
44
|
+
## Basic usage:
|
|
45
|
+
```html
|
|
46
|
+
<columns-container>
|
|
47
|
+
<column grow > <!-- this column will grow/shring based on screen width -->
|
|
48
|
+
something
|
|
49
|
+
</column>
|
|
50
|
+
<column width="190">
|
|
51
|
+
<button>ZAKRES</button>
|
|
52
|
+
</column>
|
|
53
|
+
<column width="190">
|
|
54
|
+
<button-magnifier></button-magnifier>
|
|
55
|
+
<button-bell></button-bell>
|
|
56
|
+
<button-gears></button-gears>
|
|
57
|
+
</column>
|
|
58
|
+
</columns-container>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+

|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## Hide/show column in mobile view:
|
|
65
|
+
```html
|
|
66
|
+
<columns-container>
|
|
67
|
+
<column hideMobile >
|
|
68
|
+
I am not visible when screen < 600px
|
|
69
|
+
</column>
|
|
70
|
+
<column showMobile>
|
|
71
|
+
I am visible only when screen < 600px
|
|
72
|
+
</column>
|
|
73
|
+
</columns-container>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Hide/show column in tablet view:
|
|
77
|
+
```html
|
|
78
|
+
<columns-container>
|
|
79
|
+
<column hideTablet >
|
|
80
|
+
I am not visible when screen > 600px and < 840 px
|
|
81
|
+
</column>
|
|
82
|
+
<column showTablet>
|
|
83
|
+
I am visible only when screen > 600px and < 840 px
|
|
84
|
+
</column>
|
|
85
|
+
</columns-container>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## Hide/show column in desktop view:
|
|
90
|
+
```html
|
|
91
|
+
<columns-container>
|
|
92
|
+
<column hideDesktop >
|
|
93
|
+
I am not visible when screen > 840 px
|
|
94
|
+
</column>
|
|
95
|
+
<column showDesktop>
|
|
96
|
+
I am visible only when screen > 840 px
|
|
97
|
+
</column>
|
|
98
|
+
</columns-container>
|
|
99
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
2
2
|
|
|
3
|
-
Assets from this folder can be used in npm package "static-columns@13.3.
|
|
3
|
+
Assets from this folder can be used in npm package "static-columns@13.3.4"
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/browser/README.md
CHANGED
|
@@ -1,24 +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.
|
|
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,43 +1,43 @@
|
|
|
1
|
-
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { _ } from 'tnp-core/browser';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/cdk/layout";
|
|
7
|
-
export class BreakpointsService {
|
|
8
|
-
constructor(breakpointObserver) {
|
|
9
|
-
this.sub = new Subject();
|
|
10
|
-
this.listenTo = this.sub.asObservable();
|
|
11
|
-
breakpointObserver.observe([Breakpoints.XSmall, Breakpoints.Tablet, Breakpoints.Web]).subscribe((state) => {
|
|
12
|
-
if (!_.isUndefined(Breakpoints.XSmall.split(', ').find(f => state.breakpoints[f]))) {
|
|
13
|
-
this.sub.next('mobile');
|
|
14
|
-
}
|
|
15
|
-
else if (!_.isUndefined(Breakpoints.Tablet.split(', ').find(f => state.breakpoints[f]))) {
|
|
16
|
-
this.sub.next('tablet');
|
|
17
|
-
}
|
|
18
|
-
else if (!_.isUndefined(Breakpoints.Web.split(', ').find(f => state.breakpoints[f]))) {
|
|
19
|
-
this.sub.next('desktop');
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
setTimeout(() => {
|
|
23
|
-
if (breakpointObserver.isMatched([Breakpoints.XSmall])) {
|
|
24
|
-
this.sub.next('mobile');
|
|
25
|
-
}
|
|
26
|
-
if (breakpointObserver.isMatched([Breakpoints.Tablet])) {
|
|
27
|
-
this.sub.next('tablet');
|
|
28
|
-
}
|
|
29
|
-
if (breakpointObserver.isMatched([Breakpoints.Web])) {
|
|
30
|
-
this.sub.next('desktop');
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
BreakpointsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BreakpointsService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
-
BreakpointsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BreakpointsService, providedIn: 'root' });
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BreakpointsService, decorators: [{
|
|
38
|
-
type: Injectable,
|
|
39
|
-
args: [{ providedIn: 'root' }]
|
|
40
|
-
}], ctorParameters: function () { return [{ type: i1.BreakpointObserver }]; } });
|
|
41
|
-
;
|
|
42
|
-
({}); // @--end-of-file-for-module=static-columns lib/breakpoints.service.ts
|
|
1
|
+
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { _ } from 'tnp-core/browser';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/cdk/layout";
|
|
7
|
+
export class BreakpointsService {
|
|
8
|
+
constructor(breakpointObserver) {
|
|
9
|
+
this.sub = new Subject();
|
|
10
|
+
this.listenTo = this.sub.asObservable();
|
|
11
|
+
breakpointObserver.observe([Breakpoints.XSmall, Breakpoints.Tablet, Breakpoints.Web]).subscribe((state) => {
|
|
12
|
+
if (!_.isUndefined(Breakpoints.XSmall.split(', ').find(f => state.breakpoints[f]))) {
|
|
13
|
+
this.sub.next('mobile');
|
|
14
|
+
}
|
|
15
|
+
else if (!_.isUndefined(Breakpoints.Tablet.split(', ').find(f => state.breakpoints[f]))) {
|
|
16
|
+
this.sub.next('tablet');
|
|
17
|
+
}
|
|
18
|
+
else if (!_.isUndefined(Breakpoints.Web.split(', ').find(f => state.breakpoints[f]))) {
|
|
19
|
+
this.sub.next('desktop');
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
if (breakpointObserver.isMatched([Breakpoints.XSmall])) {
|
|
24
|
+
this.sub.next('mobile');
|
|
25
|
+
}
|
|
26
|
+
if (breakpointObserver.isMatched([Breakpoints.Tablet])) {
|
|
27
|
+
this.sub.next('tablet');
|
|
28
|
+
}
|
|
29
|
+
if (breakpointObserver.isMatched([Breakpoints.Web])) {
|
|
30
|
+
this.sub.next('desktop');
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
BreakpointsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BreakpointsService, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
BreakpointsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BreakpointsService, providedIn: 'root' });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BreakpointsService, decorators: [{
|
|
38
|
+
type: Injectable,
|
|
39
|
+
args: [{ providedIn: 'root' }]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i1.BreakpointObserver }]; } });
|
|
41
|
+
;
|
|
42
|
+
({}); // @--end-of-file-for-module=static-columns lib/breakpoints.service.ts
|
|
43
43
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWtwb2ludHMuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUvc3RhdGljLWNvbHVtbnMvcHJvamVjdHMvc3R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RhdGljLWNvbHVtbnMgbGliL2JyZWFrcG9pbnRzLnNlcnZpY2UudHMiXX0=
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Subject, takeUntil } from 'rxjs';
|
|
3
|
-
import { BreakpointsService } from '../breakpoints.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../breakpoints.service";
|
|
6
|
-
export class BaseHideShowDirective {
|
|
7
|
-
constructor(e, renderer, breakpoints) {
|
|
8
|
-
this.e = e;
|
|
9
|
-
this.renderer = renderer;
|
|
10
|
-
this.breakpoints = breakpoints;
|
|
11
|
-
this.$destroy = new Subject();
|
|
12
|
-
}
|
|
13
|
-
hideElement() {
|
|
14
|
-
this.renderer.setStyle(this.e.nativeElement, 'display', 'none');
|
|
15
|
-
}
|
|
16
|
-
showElement() {
|
|
17
|
-
this.renderer.setStyle(this.e.nativeElement, 'display', this.originalDisaplay);
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
//Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.
|
|
21
|
-
//Add 'implements AfterViewInit' to the class.
|
|
22
|
-
this.breakpoints
|
|
23
|
-
.listenTo
|
|
24
|
-
.pipe(takeUntil(this.$destroy))
|
|
25
|
-
.subscribe((state) => {
|
|
26
|
-
if (typeof this.originalDisaplay === 'undefined') {
|
|
27
|
-
this.originalDisaplay = this.e.nativeElement.style.display;
|
|
28
|
-
}
|
|
29
|
-
this.action(state);
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
ngOnDestroy() {
|
|
33
|
-
this.$destroy.next(void 0);
|
|
34
|
-
this.$destroy.complete();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
BaseHideShowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BaseHideShowDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
-
BaseHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: BaseHideShowDirective, selector: "[baseHideShowDirective]", ngImport: i0 });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BaseHideShowDirective, decorators: [{
|
|
40
|
-
type: Directive,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: '[baseHideShowDirective]'
|
|
43
|
-
}]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.BreakpointsService }]; } });
|
|
45
|
-
;
|
|
46
|
-
({}); // @--end-of-file-for-module=static-columns lib/column/base-hide-show.directive.ts
|
|
1
|
+
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Subject, takeUntil } from 'rxjs';
|
|
3
|
+
import { BreakpointsService } from '../breakpoints.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../breakpoints.service";
|
|
6
|
+
export class BaseHideShowDirective {
|
|
7
|
+
constructor(e, renderer, breakpoints) {
|
|
8
|
+
this.e = e;
|
|
9
|
+
this.renderer = renderer;
|
|
10
|
+
this.breakpoints = breakpoints;
|
|
11
|
+
this.$destroy = new Subject();
|
|
12
|
+
}
|
|
13
|
+
hideElement() {
|
|
14
|
+
this.renderer.setStyle(this.e.nativeElement, 'display', 'none');
|
|
15
|
+
}
|
|
16
|
+
showElement() {
|
|
17
|
+
this.renderer.setStyle(this.e.nativeElement, 'display', this.originalDisaplay);
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
//Called after ngAfterContentInit when the component's view has been initialized. Applies to components only.
|
|
21
|
+
//Add 'implements AfterViewInit' to the class.
|
|
22
|
+
this.breakpoints
|
|
23
|
+
.listenTo
|
|
24
|
+
.pipe(takeUntil(this.$destroy))
|
|
25
|
+
.subscribe((state) => {
|
|
26
|
+
if (typeof this.originalDisaplay === 'undefined') {
|
|
27
|
+
this.originalDisaplay = this.e.nativeElement.style.display;
|
|
28
|
+
}
|
|
29
|
+
this.action(state);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
ngOnDestroy() {
|
|
33
|
+
this.$destroy.next(void 0);
|
|
34
|
+
this.$destroy.complete();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
BaseHideShowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BaseHideShowDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.BreakpointsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
+
BaseHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: BaseHideShowDirective, selector: "[baseHideShowDirective]", ngImport: i0 });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BaseHideShowDirective, decorators: [{
|
|
40
|
+
type: Directive,
|
|
41
|
+
args: [{
|
|
42
|
+
selector: '[baseHideShowDirective]'
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.BreakpointsService }]; } });
|
|
45
|
+
;
|
|
46
|
+
({}); // @--end-of-file-for-module=static-columns lib/column/base-hide-show.directive.ts
|
|
47
47
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1oaWRlLXNob3cuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vdG1wLWxpYnMtZm9yLWJ1bmRsZS9zdGF0aWMtY29sdW1ucy9wcm9qZWN0cy9zdGF0aWMtY29sdW1ucy9zcmMvbGliL2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ICAgIC5waXBlKHRha2VVbnRpbCh0aGlzLiRkZXN0cm95KSlcbiAgICAgIC5zdWJzY3JpYmUoKHN0YXRlKSA9PiB7XG4gICAgICAgIGlmICh0eXBlb2YgdGhpcy5vcmlnaW5hbERpc2FwbGF5ID09PSAndW5kZWZpbmVkJykge1xuICAgICAgICAgIHRoaXMub3JpZ2luYWxEaXNhcGxheSA9ICh0aGlzLmUubmF0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuc3R5bGUuZGlzcGxheTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuYWN0aW9uKHN0YXRlKTtcbiAgICAgIH0pXG4gIH1cblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLiRkZXN0cm95Lm5leHQodm9pZCAwKTtcbiAgICB0aGlzLiRkZXN0cm95LmNvbXBsZXRlKClcbiAgfVxuXG5cbn1cblxuIDsoe30pOyAvLyBALS1lbmQtb2YtZmlsZS1mb3ItbW9kdWxlPXN0YXRpYy1jb2x1bW5zIGxpYi9jb2x1bW4vYmFzZS1oaWRlLXNob3cuZGlyZWN0aXZlLnRzIl19
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class DirectiveGrow {
|
|
4
|
-
constructor(e, renderer) {
|
|
5
|
-
this.e = e;
|
|
6
|
-
this.renderer = renderer;
|
|
7
|
-
setTimeout(() => {
|
|
8
|
-
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
9
|
-
}, 0);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
DirectiveGrow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
-
DirectiveGrow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveGrow, selector: "[grow]", ngImport: i0 });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
15
|
-
type: Directive,
|
|
16
|
-
args: [{
|
|
17
|
-
selector: '[grow]'
|
|
18
|
-
}]
|
|
19
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
20
|
-
;
|
|
21
|
-
({}); // @--end-of-file-for-module=static-columns lib/column/column-grow.directive.ts
|
|
1
|
+
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DirectiveGrow {
|
|
4
|
+
constructor(e, renderer) {
|
|
5
|
+
this.e = e;
|
|
6
|
+
this.renderer = renderer;
|
|
7
|
+
setTimeout(() => {
|
|
8
|
+
renderer.setStyle(e.nativeElement, 'flexGrow', '1');
|
|
9
|
+
}, 0);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
DirectiveGrow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveGrow, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
+
DirectiveGrow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveGrow, selector: "[grow]", ngImport: i0 });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveGrow, decorators: [{
|
|
15
|
+
type: Directive,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: '[grow]'
|
|
18
|
+
}]
|
|
19
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
20
|
+
;
|
|
21
|
+
({}); // @--end-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cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1tncm93XSdcbn0pXG5leHBvcnQgY2xhc3MgRGlyZWN0aXZlR3JvdyB7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBlOiBFbGVtZW50UmVmLCBwdWJsaWMgcmVuZGVyZXI6IFJlbmRlcmVyMikge1xuICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuXG4gICAgICByZW5kZXJlci5zZXRTdHlsZShlLm5hdGl2ZUVsZW1lbnQsICdmbGV4R3JvdycsICcxJylcbiAgICB9LCAwKTtcblxuXG4gIH1cbn1cblxuIDsoe30pOyAvLyBALS1lbmQtb2YtZmlsZS1mb3ItbW9kdWxlPXN0YXRpYy1jb2x1bW5zIGxpYi9jb2x1bW4vY29sdW1uLWdyb3cuZGlyZWN0aXZlLnRzIl19
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class DirectiveHideDesktop extends BaseHideShowDirective {
|
|
5
|
-
action(state) {
|
|
6
|
-
if (state === 'desktop') {
|
|
7
|
-
this.hideElement();
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
this.showElement();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DirectiveHideDesktop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideDesktop, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
-
DirectiveHideDesktop.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveHideDesktop, selector: "[hideDesktop]", usesInheritance: true, ngImport: i0 });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideDesktop, decorators: [{
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: '[hideDesktop]'
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
;
|
|
23
|
-
({}); // @--end-of-file-for-module=static-columns lib/column/column-hide-desktop.directive.ts
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class DirectiveHideDesktop extends BaseHideShowDirective {
|
|
5
|
+
action(state) {
|
|
6
|
+
if (state === 'desktop') {
|
|
7
|
+
this.hideElement();
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
this.showElement();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
DirectiveHideDesktop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideDesktop, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
DirectiveHideDesktop.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveHideDesktop, selector: "[hideDesktop]", usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideDesktop, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[hideDesktop]'
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
;
|
|
23
|
+
({}); // @--end-of-file-for-module=static-columns lib/column/column-hide-desktop.directive.ts
|
|
24
24
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWhpZGUtZGVza3RvcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi90bXAtbGlicy1mb3ItY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uc2VydmljZSc7XG5pbXBvcnQgeyBCYXNlSGlkZVNob3dEaXJlY3RpdmUgfSBmcm9tICcuL2Jhc2UtaGlkZS1zaG93LmRpcmVjdGl2ZSc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1toaWRlRGVza3RvcF0nXG59KVxuZXhwb3J0IGNsYXNzIERpcmVjdGl2ZUhpZGVEZXNrdG9wIGV4dGVuZHMgQmFzZUhpZGVTaG93RGlyZWN0aXZlIHtcbiAgYWN0aW9uKHN0YXRlOiAnbW9iaWxlJyB8ICd0YWJsZXQnIHwgJ2Rlc2t0b3AnKSB7XG4gICAgaWYgKHN0YXRlID09PSAnZGVza3RvcCcpIHtcbiAgICAgIHRoaXMuaGlkZUVsZW1lbnQoKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5zaG93RWxlbWVudCgpO1xuICAgIH1cbiAgfVxufVxuXG5cbiA7KHt9KTsgLy8gQC0tZW5kLW9mLWZpbGUtZm9yLW1vZHVsZT1zdGF0aWMtY29sdW1ucyBsaWIvY29sdW1uL2NvbHVtbi1oaWRlLWRlc2t0b3AuZGlyZWN0aXZlLnRzIl19
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class DirectiveHideMobile extends BaseHideShowDirective {
|
|
5
|
-
action(state) {
|
|
6
|
-
if (state === 'mobile') {
|
|
7
|
-
this.hideElement();
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
this.showElement();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DirectiveHideMobile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideMobile, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
-
DirectiveHideMobile.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveHideMobile, selector: "[hideMobile]", usesInheritance: true, ngImport: i0 });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideMobile, decorators: [{
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: '[hideMobile]'
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
;
|
|
23
|
-
({}); // @--end-of-file-for-module=static-columns lib/column/column-hide-mobile.directive.ts
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class DirectiveHideMobile extends BaseHideShowDirective {
|
|
5
|
+
action(state) {
|
|
6
|
+
if (state === 'mobile') {
|
|
7
|
+
this.hideElement();
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
this.showElement();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
DirectiveHideMobile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideMobile, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
DirectiveHideMobile.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveHideMobile, selector: "[hideMobile]", usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideMobile, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[hideMobile]'
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
;
|
|
23
|
+
({}); // @--end-of-file-for-module=static-columns lib/column/column-hide-mobile.directive.ts
|
|
24
24
|
//# source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W5pdCwgUmVuZGVyZXIyIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBTdWJqZWN0LCB0YWtlVW50aWwgfSBmcm9tICdyeGpzJztcbmltcG9ydCB7IEJyZWFrcG9pbnRzU2VydmljZSB9IGZyb20gJy4uL2JyZWFrcG9pbnRzLnNlcnZpY2UnO1xuaW1wb3J0IHsgQmFzZUhpZGVTaG93RGlyZWN0aXZlIH0gZnJvbSAnLi9iYXNlLWhpZGUtc2hvdy5kaXJlY3RpdmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbaGlkZU1vYmlsZV0nXG59KVxuZXhwb3J0IGNsYXNzIERpcmVjdGl2ZUhpZGVNb2JpbGUgZXh0ZW5kcyBCYXNlSGlkZVNob3dEaXJlY3RpdmUge1xuICBhY3Rpb24oc3RhdGU6ICdtb2JpbGUnIHwgJ3RhYmxldCcgfCAnZGVza3RvcCcpIHtcbiAgICBpZiAoc3RhdGUgPT09ICdtb2JpbGUnKSB7XG4gICAgICB0aGlzLmhpZGVFbGVtZW50KCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMuc2hvd0VsZW1lbnQoKTtcbiAgICB9XG4gIH1cbn1cblxuIDsoe30pOyAvLyBALS1lbmQtb2YtZmlsZS1mb3ItbW9kdWxlPXN0YXRpYy1jb2x1bW5zIGxpYi9jb2x1bW4vY29sdW1uLWhpZGUtbW9iaWxlLmRpcmVjdGl2ZS50cyJdfQ==
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class DirectiveHideTablet extends BaseHideShowDirective {
|
|
5
|
-
action(state) {
|
|
6
|
-
if (state === 'tablet') {
|
|
7
|
-
this.hideElement();
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
this.showElement();
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DirectiveHideTablet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideTablet, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
-
DirectiveHideTablet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveHideTablet, selector: "[hideTablet]", usesInheritance: true, ngImport: i0 });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideTablet, decorators: [{
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: '[hideTablet]'
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
;
|
|
23
|
-
({}); // @--end-of-file-for-module=static-columns lib/column/column-hide-tablet.directive.ts
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { BaseHideShowDirective } from './base-hide-show.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class DirectiveHideTablet extends BaseHideShowDirective {
|
|
5
|
+
action(state) {
|
|
6
|
+
if (state === 'tablet') {
|
|
7
|
+
this.hideElement();
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
this.showElement();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
DirectiveHideTablet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideTablet, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
DirectiveHideTablet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DirectiveHideTablet, selector: "[hideTablet]", usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DirectiveHideTablet, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[hideTablet]'
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
;
|
|
23
|
+
({}); // @--end-of-file-for-module=static-columns lib/column/column-hide-tablet.directive.ts
|
|
24
24
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWhpZGUtdGFibGV0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUvc3RhdGljLWNvbHVtbnMvcHJvamVjdHMvc3RhdGljLWNvbHVtbnMvc3JjL2xpYi9jb2x1bW4vY29sdW1uLWhpZGUtdGFibGV0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQWEsU0FBUyxFQUFpQyxNQUFNLGVBQWUsQ0FBQztBQUdwRixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7QUFLbkUsTUFBTSxPQUFPLG1CQUFvQixTQUFRLHFCQUFxQjtJQUM1RCxNQUFNLENBQUMsS0FBc0M7UUFDM0MsSUFBSSxLQUFLLEtBQUssUUFBUSxFQUFFO1lBQ3RCLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztTQUNwQjthQUFNO1lBQ0wsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1NBQ3BCO0lBQ0gsQ0FBQzs7aUhBUFUsbUJBQW1CO3FHQUFuQixtQkFBbUI7NEZBQW5CLG1CQUFtQjtrQkFIL0IsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsY0FBYztpQkFDekI7O0FBV0EsQ0FBQztBQUFBLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxzRkFBc0YiLCJzb3VyY2VzQ29udGVud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