@webilix/ngx-helper-m3 0.0.17 → 0.0.19

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.
@@ -1,8 +1,8 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { INgxHelperConfig } from '../../../ngx-helper.config';
3
3
  import { ComponentService } from '../../component.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class NgxHelperSectionColumnComponent implements OnChanges {
5
+ export declare class NgxHelperSectionColumnComponent implements OnInit, OnChanges {
6
6
  private readonly componentService;
7
7
  private readonly config?;
8
8
  flexStyle: string;
@@ -17,6 +17,7 @@ export declare class NgxHelperSectionColumnComponent implements OnChanges {
17
17
  private componentConfig;
18
18
  private isMobile;
19
19
  constructor(componentService: ComponentService, config?: Partial<INgxHelperConfig> | undefined);
20
+ ngOnInit(): void;
20
21
  ngOnChanges(changes: SimpleChanges): void;
21
22
  onResize(): void;
22
23
  setPosition(): void;
@@ -3,6 +3,7 @@ import { Coordinate } from 'ol/coordinate';
3
3
  import { INgxHelperCoordinates, INgxHelperCoordinatesConfig } from '../ngx-helper-coordinates.interface';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class GetComponent implements OnInit {
6
+ private className;
6
7
  coordinates?: INgxHelperCoordinates;
7
8
  config?: Partial<INgxHelperCoordinatesConfig>;
8
9
  close: (coordinates?: INgxHelperCoordinates) => void;
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { INgxHelperCoordinates, INgxHelperCoordinatesConfig } from '../ngx-helper-coordinates.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ShowComponent implements OnInit {
5
+ private className;
5
6
  coordinates: INgxHelperCoordinates;
6
7
  config?: Partial<Omit<INgxHelperCoordinatesConfig, 'view'>>;
7
8
  close: () => void;
package/ngx-helper-m3.css CHANGED
@@ -79,6 +79,117 @@
79
79
  }
80
80
  }
81
81
 
82
+ /* NGX HELPER COORDINATES */
83
+ .ngx-helper-m3-coordinates {
84
+ display: block;
85
+ z-index: 1000;
86
+
87
+ position: fixed;
88
+ top: 0;
89
+ right: 0;
90
+ bottom: 0;
91
+ left: 0;
92
+
93
+ .map {
94
+ width: 100vw;
95
+ height: 100vh;
96
+ background-color: rgb(255, 255, 255);
97
+ }
98
+
99
+ .coordinates {
100
+ position: absolute;
101
+ bottom: 0;
102
+ left: 0;
103
+
104
+ padding: 0.5rem 0.5rem 0.75rem 0.5rem;
105
+ background-color: rgb(255, 255, 255);
106
+ box-shadow: 0 0 5px 0px var(--primary);
107
+
108
+ .header {
109
+ display: flex;
110
+ align-items: center;
111
+ column-gap: 1rem;
112
+
113
+ padding: 0.5rem 1rem;
114
+ color: var(--on-primary);
115
+ background-color: var(--primary);
116
+
117
+ .title {
118
+ flex: 1;
119
+ font-size: 90%;
120
+ font-weight: 500;
121
+ font-family: Roboto, 'Helvetica Neue', sans-serif;
122
+ }
123
+
124
+ mat-icon {
125
+ cursor: pointer;
126
+ font-size: 110%;
127
+ color: var(--on-primary);
128
+ }
129
+ }
130
+
131
+ .item {
132
+ display: flex;
133
+ align-items: center;
134
+ column-gap: 1rem;
135
+
136
+ padding: 0.75rem 1rem 0 1rem;
137
+ color: rgb(0, 0, 0);
138
+
139
+ .title {
140
+ flex: 1;
141
+ font-size: 90%;
142
+ font-family: Roboto, 'Helvetica Neue', sans-serif;
143
+ }
144
+
145
+ input {
146
+ direction: ltr;
147
+ text-align: left;
148
+
149
+ outline: none;
150
+ width: 125px;
151
+ font-size: 90%;
152
+ padding: 0.25rem;
153
+ border-radius: 4px;
154
+ color: rgb(0, 0, 0);
155
+ border: 1px solid rgb(200, 200, 200);
156
+ font-family: Roboto, 'Helvetica Neue', sans-serif;
157
+ }
158
+
159
+ .value {
160
+ font-size: 95%;
161
+ text-align: right;
162
+ padding-right: 1rem;
163
+ font-family: Roboto, 'Helvetica Neue', sans-serif;
164
+ }
165
+
166
+ mat-icon {
167
+ cursor: pointer;
168
+ font-size: 100%;
169
+ color: rgb(0, 0, 0);
170
+ }
171
+ }
172
+
173
+ .buttons {
174
+ display: flex;
175
+ justify-content: right;
176
+
177
+ margin-top: 0.5rem;
178
+ padding-right: 1rem;
179
+
180
+ mat-icon {
181
+ cursor: pointer;
182
+ font-size: 110%;
183
+ color: rgb(0, 0, 0);
184
+ }
185
+
186
+ mat-icon.disabled {
187
+ opacity: 0.4;
188
+ }
189
+ }
190
+ }
191
+ }
192
+
82
193
  /* NGX HELPER HTTP (UPLOAD / DOWNLOAD) */
83
194
  .ngx-helper-m3-http {
84
195
  position: fixed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webilix/ngx-helper-m3",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "author": "Ali Amirnezhad",
5
5
  "description": "Helper library for Angular and Material 3",
6
6
  "repository": {