wacom 16.2.1 → 16.2.2
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 +197 -197
- package/esm2022/lib/components/alert/alert.component.mjs +5 -5
- package/esm2022/lib/components/alert/wrapper/wrapper.component.mjs +5 -5
- package/esm2022/lib/components/files/files.component.mjs +5 -5
- package/esm2022/lib/components/loader/loader.component.mjs +5 -5
- package/esm2022/lib/components/modal/modal.component.mjs +5 -5
- package/esm2022/lib/directives/click-outside.directive.mjs +4 -4
- package/esm2022/lib/guard/meta.guard.mjs +4 -4
- package/esm2022/lib/interfaces/alert.interface.mjs +1 -1
- package/esm2022/lib/interfaces/config.mjs +1 -1
- package/esm2022/lib/interfaces/modal.interface.mjs +1 -1
- package/esm2022/lib/pipes/arr.pipe.mjs +4 -4
- package/esm2022/lib/pipes/mongodate.pipe.mjs +4 -4
- package/esm2022/lib/pipes/pagination.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe.pipe.mjs +4 -4
- package/esm2022/lib/pipes/search.pipe.mjs +4 -4
- package/esm2022/lib/pipes/splice.pipe.mjs +4 -4
- package/esm2022/lib/services/alert.service.mjs +4 -4
- package/esm2022/lib/services/base.service.mjs +4 -4
- package/esm2022/lib/services/core.service.mjs +4 -4
- package/esm2022/lib/services/crud.service.mjs +4 -4
- package/esm2022/lib/services/dom.service.mjs +4 -4
- package/esm2022/lib/services/file.service.mjs +4 -4
- package/esm2022/lib/services/hash.service.mjs +4 -4
- package/esm2022/lib/services/http.service.mjs +4 -4
- package/esm2022/lib/services/loader.service.mjs +4 -4
- package/esm2022/lib/services/meta.service.mjs +7 -7
- package/esm2022/lib/services/modal.service.mjs +4 -4
- package/esm2022/lib/services/mongo.service.mjs +5 -5
- package/esm2022/lib/services/render.service.mjs +4 -4
- package/esm2022/lib/services/socket.service.mjs +4 -4
- package/esm2022/lib/services/store.service.mjs +4 -4
- package/esm2022/lib/services/time.service.mjs +4 -4
- package/esm2022/lib/services/ui.service.mjs +4 -4
- package/esm2022/lib/wacom.module.mjs +5 -5
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/wacom.mjs +103 -103
- package/fesm2022/wacom.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,197 +1,197 @@
|
|
|
1
|
-
# Angular (ngx) common
|
|
2
|
-
Module which has common services and components which can be used on all projects.
|
|
3
|
-
|
|
4
|
-
## Getting Started
|
|
5
|
-
|
|
6
|
-
### License
|
|
7
|
-
[MIT](LICENSE)
|
|
8
|
-
|
|
9
|
-
### Instalation
|
|
10
|
-
```bash
|
|
11
|
-
$ npm i --save wacom
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
### Services
|
|
15
|
-
| Name | Description |
|
|
16
|
-
| ------- |:-----:|
|
|
17
|
-
| [**`Core`**](https://www.npmjs.com/package/wacom#core-service) | Common supportive function which can be used in any service |
|
|
18
|
-
| [**`Http`**](https://www.npmjs.com/package/wacom#http-service) | Http layer for HttpClient |
|
|
19
|
-
| [**`Store`**](https://www.npmjs.com/package/wacom#store-service) | Service will is responsible for keeping information on the device |
|
|
20
|
-
| [**`Hash`**](https://www.npmjs.com/package/wacom#hash-service) | Hash management for easily use, storage which stay in url |
|
|
21
|
-
| [**`Render`**](https://www.npmjs.com/package/wacom#render-service) | Make not automated render management well structured |
|
|
22
|
-
| [**`Meta`**](https://www.npmjs.com/package/wacom#meta-service) | Website meta tags management within router |
|
|
23
|
-
| [**`Alert`**](https://www.npmjs.com/package/wacom#alert-service) | Alerts management |
|
|
24
|
-
| [**`Modal`**](https://www.npmjs.com/package/wacom#modal-service) | Modals management |
|
|
25
|
-
| [**`UI`**](https://www.npmjs.com/package/wacom#ui-service) | Supportive UI/UX service |
|
|
26
|
-
|
|
27
|
-
## Alert Service
|
|
28
|
-
Alert Service is an suportive service for alerts manamanagement. Example of importing alert service:
|
|
29
|
-
```javascript
|
|
30
|
-
import { AlertService } from 'wacom';
|
|
31
|
-
constructor(private alert: AlertService){};
|
|
32
|
-
```
|
|
33
|
-
### show `function`
|
|
34
|
-
Opens the alert and return htmlElement of this alert.
|
|
35
|
-
Example 1:
|
|
36
|
-
```javascript
|
|
37
|
-
let my_alert = alert.show({
|
|
38
|
-
text: 'Are you sure?',
|
|
39
|
-
type: 'question',
|
|
40
|
-
timeout: 5000,
|
|
41
|
-
class: 'myClass',
|
|
42
|
-
position: 'bottomRight',
|
|
43
|
-
buttons: [{
|
|
44
|
-
text: 'YES',
|
|
45
|
-
callback: ()=>{
|
|
46
|
-
console.log("YES!");
|
|
47
|
-
}
|
|
48
|
-
},{
|
|
49
|
-
text: 'NO',
|
|
50
|
-
callback: ()=>{
|
|
51
|
-
console.log("NO!");
|
|
52
|
-
}
|
|
53
|
-
}]
|
|
54
|
-
});
|
|
55
|
-
```
|
|
56
|
-
Example 2:
|
|
57
|
-
```javascript
|
|
58
|
-
let my_alert = alert.show({
|
|
59
|
-
component: MyCustomComponent,
|
|
60
|
-
timeout: 5000,
|
|
61
|
-
class: 'myClass',
|
|
62
|
-
position: 'center',
|
|
63
|
-
closable: true
|
|
64
|
-
});
|
|
65
|
-
```
|
|
66
|
-
### options
|
|
67
|
-
| Name | Type | Description |
|
|
68
|
-
| --------------- |--------- | --------------- |
|
|
69
|
-
| `text` | string | Text of alert. |
|
|
70
|
-
| `type` | string | Type of alert(etc `info`, `success`, `warning`, `error`, `question`). |
|
|
71
|
-
| `class` | string | Custom class for your alert. |
|
|
72
|
-
| `unique` | string | Identificator for your alerts. |
|
|
73
|
-
| `progress` | boolean | Enable timeout progress bar. |
|
|
74
|
-
| `position` | string | Position of the alert(`topLeft`, `topCenter`, `topRight`, `right`, `bottomRight`, `bottomCenter`, `bottomLeft`, `left`, `center`). |
|
|
75
|
-
| `timeout` | number | Amount in milliseconds to close the alert, 0 to disable. |
|
|
76
|
-
| `closable` | boolean | Show "x" close button. |
|
|
77
|
-
| `buttons` | number | Array of buttons for your alerts. |
|
|
78
|
-
| `component` | string or @Component | Component which will be appended into the alert. |
|
|
79
|
-
| `close` | function | custom function for close alert. |
|
|
80
|
-
| `onClose` | function | Capture when the alert is closing. |
|
|
81
|
-
### destroy `function`
|
|
82
|
-
Close all alerts. Example:
|
|
83
|
-
```javascript
|
|
84
|
-
alert.destroy();
|
|
85
|
-
```
|
|
86
|
-
## Modal Service
|
|
87
|
-
Modal Service is an suportive service for modals manamanagement. Example of importing modal service:
|
|
88
|
-
```javascript
|
|
89
|
-
import { ModalService } from 'wacom';
|
|
90
|
-
constructor(private modal: ModalService){};
|
|
91
|
-
```
|
|
92
|
-
### show `function`
|
|
93
|
-
Opens the modal and return htmlElement of this modal. Example:
|
|
94
|
-
```javascript
|
|
95
|
-
let my_modal = modal.show({
|
|
96
|
-
component: MyCustomComponent,
|
|
97
|
-
size: 'mid',
|
|
98
|
-
timeout: 5000,
|
|
99
|
-
class: 'myClass',
|
|
100
|
-
position: 'center',
|
|
101
|
-
closable: true
|
|
102
|
-
});
|
|
103
|
-
```
|
|
104
|
-
### options
|
|
105
|
-
| Name | Type | Description |
|
|
106
|
-
| --------------- |--------- | --------------- |
|
|
107
|
-
| `id` | string | |
|
|
108
|
-
| `component` | string or @Component | Component which will be appended into the modal. |
|
|
109
|
-
| `size` | string | Size of the modal. |
|
|
110
|
-
| `timeout` | number | Amount in milliseconds to close the modal, 0 to disable. |
|
|
111
|
-
| `class` | string | Custom class for your modal. |
|
|
112
|
-
| `closable` | boolean | Show "x" close button. |
|
|
113
|
-
| `unique` | string | Identificator for your modals. |
|
|
114
|
-
| `close` | function | custom function for close modal. |
|
|
115
|
-
| `onOpen` | function | Capture when the modal is opening. |
|
|
116
|
-
| `onClose` | function | Capture when the modal is closing. |
|
|
117
|
-
### destroy `function`
|
|
118
|
-
Close all modals. Example:
|
|
119
|
-
```javascript
|
|
120
|
-
modal.destroy();
|
|
121
|
-
```
|
|
122
|
-
## Loader Service
|
|
123
|
-
Loader Service is an suportive service for loaders manamanagement.Example of importing loader service:
|
|
124
|
-
```javascript
|
|
125
|
-
import { LoaderService } from 'wacom';
|
|
126
|
-
constructor(private load: LoaderService){};
|
|
127
|
-
```
|
|
128
|
-
### show `function`
|
|
129
|
-
Opens the loader and return htmlElement of this loader. Example:
|
|
130
|
-
```javascript
|
|
131
|
-
let my_loader = load.show({
|
|
132
|
-
timeout: 5000,
|
|
133
|
-
class: 'myClass',
|
|
134
|
-
closable: true
|
|
135
|
-
});
|
|
136
|
-
```
|
|
137
|
-
### options
|
|
138
|
-
| Name | Type | Description |
|
|
139
|
-
| --------------- |--------- | --------------- |
|
|
140
|
-
| `append` | @Component | Component where the loader will be appended. |
|
|
141
|
-
| `component` | string or @Component | Component which will be appended into the loader. |
|
|
142
|
-
| `timeout` | number | Amount in milliseconds to close the loader, 0 to disable. |
|
|
143
|
-
| `progress` | boolean | Enable timeout progress bar. |
|
|
144
|
-
| `class` | string | Custom class for your loader. |
|
|
145
|
-
| `closable` | boolean | Show "x" close button. |
|
|
146
|
-
| `close` | function | custom function for close loader. |
|
|
147
|
-
| `onClose` | function | Capture when the loader is closing. |
|
|
148
|
-
### destroy `function`
|
|
149
|
-
Close all loaders. Example:
|
|
150
|
-
```javascript
|
|
151
|
-
loader.destroy();
|
|
152
|
-
```
|
|
153
|
-
## UI/UX Service
|
|
154
|
-
UI/UX Service is supportive service for front-end features. This service provides saving css varibles and containes helpful tools for the front developer.
|
|
155
|
-
### var
|
|
156
|
-
Object which can be used to contain all needed fields for front-end.
|
|
157
|
-
### get `function`
|
|
158
|
-
Returns Object with all saved css viriables.
|
|
159
|
-
Example:
|
|
160
|
-
```javascript
|
|
161
|
-
ui.get();
|
|
162
|
-
```
|
|
163
|
-
Result example:
|
|
164
|
-
```javascript
|
|
165
|
-
{
|
|
166
|
-
test: '15px solid'
|
|
167
|
-
}
|
|
168
|
-
```
|
|
169
|
-
### remove `function`
|
|
170
|
-
Removes css varible by the key.
|
|
171
|
-
Example:
|
|
172
|
-
```javascript
|
|
173
|
-
ui.remove('css');
|
|
174
|
-
```
|
|
175
|
-
### set `function`
|
|
176
|
-
Method interface sets a new value for a property on a CSS style declaration object and saves all css variables which you have passed.
|
|
177
|
-
Example:
|
|
178
|
-
```javascript
|
|
179
|
-
ui.set(variables, options);
|
|
180
|
-
```
|
|
181
|
-
```variables``` - All css varibles you want to pass. If you want to set array of variables you'll need to have specific structure of the array. Example: ```[{key: 'name', value: example}]```. Object will be saved with the same structure.
|
|
182
|
-
|
|
183
|
-
```options``` - If you want to save css variables to the localStorage you should pass ```local: true```. Also if you want to save variables only for specific host you should pass ```host: 'hostname'```
|
|
184
|
-
### arr `function`
|
|
185
|
-
Helps developer to generate array with custom length and with elements of specific type.
|
|
186
|
-
Example:
|
|
187
|
-
```html
|
|
188
|
-
<div *ngFor="let obj of ui.arr(length, type)"></div>
|
|
189
|
-
```
|
|
190
|
-
```length``` - Length of generated array.
|
|
191
|
-
```type``` - ```'number'||'text'||'date'``` Will set elements with random content at choosed type. 'number' is default type of elements.
|
|
192
|
-
### text `function`
|
|
193
|
-
Helps developer to generate random string with specific length.
|
|
194
|
-
Example:
|
|
195
|
-
```html
|
|
196
|
-
<span>{{ui.text(length)}}</span>
|
|
197
|
-
```
|
|
1
|
+
# Angular (ngx) common
|
|
2
|
+
Module which has common services and components which can be used on all projects.
|
|
3
|
+
|
|
4
|
+
## Getting Started
|
|
5
|
+
|
|
6
|
+
### License
|
|
7
|
+
[MIT](LICENSE)
|
|
8
|
+
|
|
9
|
+
### Instalation
|
|
10
|
+
```bash
|
|
11
|
+
$ npm i --save wacom
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
### Services
|
|
15
|
+
| Name | Description |
|
|
16
|
+
| ------- |:-----:|
|
|
17
|
+
| [**`Core`**](https://www.npmjs.com/package/wacom#core-service) | Common supportive function which can be used in any service |
|
|
18
|
+
| [**`Http`**](https://www.npmjs.com/package/wacom#http-service) | Http layer for HttpClient |
|
|
19
|
+
| [**`Store`**](https://www.npmjs.com/package/wacom#store-service) | Service will is responsible for keeping information on the device |
|
|
20
|
+
| [**`Hash`**](https://www.npmjs.com/package/wacom#hash-service) | Hash management for easily use, storage which stay in url |
|
|
21
|
+
| [**`Render`**](https://www.npmjs.com/package/wacom#render-service) | Make not automated render management well structured |
|
|
22
|
+
| [**`Meta`**](https://www.npmjs.com/package/wacom#meta-service) | Website meta tags management within router |
|
|
23
|
+
| [**`Alert`**](https://www.npmjs.com/package/wacom#alert-service) | Alerts management |
|
|
24
|
+
| [**`Modal`**](https://www.npmjs.com/package/wacom#modal-service) | Modals management |
|
|
25
|
+
| [**`UI`**](https://www.npmjs.com/package/wacom#ui-service) | Supportive UI/UX service |
|
|
26
|
+
|
|
27
|
+
## Alert Service
|
|
28
|
+
Alert Service is an suportive service for alerts manamanagement. Example of importing alert service:
|
|
29
|
+
```javascript
|
|
30
|
+
import { AlertService } from 'wacom';
|
|
31
|
+
constructor(private alert: AlertService){};
|
|
32
|
+
```
|
|
33
|
+
### show `function`
|
|
34
|
+
Opens the alert and return htmlElement of this alert.
|
|
35
|
+
Example 1:
|
|
36
|
+
```javascript
|
|
37
|
+
let my_alert = alert.show({
|
|
38
|
+
text: 'Are you sure?',
|
|
39
|
+
type: 'question',
|
|
40
|
+
timeout: 5000,
|
|
41
|
+
class: 'myClass',
|
|
42
|
+
position: 'bottomRight',
|
|
43
|
+
buttons: [{
|
|
44
|
+
text: 'YES',
|
|
45
|
+
callback: ()=>{
|
|
46
|
+
console.log("YES!");
|
|
47
|
+
}
|
|
48
|
+
},{
|
|
49
|
+
text: 'NO',
|
|
50
|
+
callback: ()=>{
|
|
51
|
+
console.log("NO!");
|
|
52
|
+
}
|
|
53
|
+
}]
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
Example 2:
|
|
57
|
+
```javascript
|
|
58
|
+
let my_alert = alert.show({
|
|
59
|
+
component: MyCustomComponent,
|
|
60
|
+
timeout: 5000,
|
|
61
|
+
class: 'myClass',
|
|
62
|
+
position: 'center',
|
|
63
|
+
closable: true
|
|
64
|
+
});
|
|
65
|
+
```
|
|
66
|
+
### options
|
|
67
|
+
| Name | Type | Description |
|
|
68
|
+
| --------------- |--------- | --------------- |
|
|
69
|
+
| `text` | string | Text of alert. |
|
|
70
|
+
| `type` | string | Type of alert(etc `info`, `success`, `warning`, `error`, `question`). |
|
|
71
|
+
| `class` | string | Custom class for your alert. |
|
|
72
|
+
| `unique` | string | Identificator for your alerts. |
|
|
73
|
+
| `progress` | boolean | Enable timeout progress bar. |
|
|
74
|
+
| `position` | string | Position of the alert(`topLeft`, `topCenter`, `topRight`, `right`, `bottomRight`, `bottomCenter`, `bottomLeft`, `left`, `center`). |
|
|
75
|
+
| `timeout` | number | Amount in milliseconds to close the alert, 0 to disable. |
|
|
76
|
+
| `closable` | boolean | Show "x" close button. |
|
|
77
|
+
| `buttons` | number | Array of buttons for your alerts. |
|
|
78
|
+
| `component` | string or @Component | Component which will be appended into the alert. |
|
|
79
|
+
| `close` | function | custom function for close alert. |
|
|
80
|
+
| `onClose` | function | Capture when the alert is closing. |
|
|
81
|
+
### destroy `function`
|
|
82
|
+
Close all alerts. Example:
|
|
83
|
+
```javascript
|
|
84
|
+
alert.destroy();
|
|
85
|
+
```
|
|
86
|
+
## Modal Service
|
|
87
|
+
Modal Service is an suportive service for modals manamanagement. Example of importing modal service:
|
|
88
|
+
```javascript
|
|
89
|
+
import { ModalService } from 'wacom';
|
|
90
|
+
constructor(private modal: ModalService){};
|
|
91
|
+
```
|
|
92
|
+
### show `function`
|
|
93
|
+
Opens the modal and return htmlElement of this modal. Example:
|
|
94
|
+
```javascript
|
|
95
|
+
let my_modal = modal.show({
|
|
96
|
+
component: MyCustomComponent,
|
|
97
|
+
size: 'mid',
|
|
98
|
+
timeout: 5000,
|
|
99
|
+
class: 'myClass',
|
|
100
|
+
position: 'center',
|
|
101
|
+
closable: true
|
|
102
|
+
});
|
|
103
|
+
```
|
|
104
|
+
### options
|
|
105
|
+
| Name | Type | Description |
|
|
106
|
+
| --------------- |--------- | --------------- |
|
|
107
|
+
| `id` | string | |
|
|
108
|
+
| `component` | string or @Component | Component which will be appended into the modal. |
|
|
109
|
+
| `size` | string | Size of the modal. |
|
|
110
|
+
| `timeout` | number | Amount in milliseconds to close the modal, 0 to disable. |
|
|
111
|
+
| `class` | string | Custom class for your modal. |
|
|
112
|
+
| `closable` | boolean | Show "x" close button. |
|
|
113
|
+
| `unique` | string | Identificator for your modals. |
|
|
114
|
+
| `close` | function | custom function for close modal. |
|
|
115
|
+
| `onOpen` | function | Capture when the modal is opening. |
|
|
116
|
+
| `onClose` | function | Capture when the modal is closing. |
|
|
117
|
+
### destroy `function`
|
|
118
|
+
Close all modals. Example:
|
|
119
|
+
```javascript
|
|
120
|
+
modal.destroy();
|
|
121
|
+
```
|
|
122
|
+
## Loader Service
|
|
123
|
+
Loader Service is an suportive service for loaders manamanagement.Example of importing loader service:
|
|
124
|
+
```javascript
|
|
125
|
+
import { LoaderService } from 'wacom';
|
|
126
|
+
constructor(private load: LoaderService){};
|
|
127
|
+
```
|
|
128
|
+
### show `function`
|
|
129
|
+
Opens the loader and return htmlElement of this loader. Example:
|
|
130
|
+
```javascript
|
|
131
|
+
let my_loader = load.show({
|
|
132
|
+
timeout: 5000,
|
|
133
|
+
class: 'myClass',
|
|
134
|
+
closable: true
|
|
135
|
+
});
|
|
136
|
+
```
|
|
137
|
+
### options
|
|
138
|
+
| Name | Type | Description |
|
|
139
|
+
| --------------- |--------- | --------------- |
|
|
140
|
+
| `append` | @Component | Component where the loader will be appended. |
|
|
141
|
+
| `component` | string or @Component | Component which will be appended into the loader. |
|
|
142
|
+
| `timeout` | number | Amount in milliseconds to close the loader, 0 to disable. |
|
|
143
|
+
| `progress` | boolean | Enable timeout progress bar. |
|
|
144
|
+
| `class` | string | Custom class for your loader. |
|
|
145
|
+
| `closable` | boolean | Show "x" close button. |
|
|
146
|
+
| `close` | function | custom function for close loader. |
|
|
147
|
+
| `onClose` | function | Capture when the loader is closing. |
|
|
148
|
+
### destroy `function`
|
|
149
|
+
Close all loaders. Example:
|
|
150
|
+
```javascript
|
|
151
|
+
loader.destroy();
|
|
152
|
+
```
|
|
153
|
+
## UI/UX Service
|
|
154
|
+
UI/UX Service is supportive service for front-end features. This service provides saving css varibles and containes helpful tools for the front developer.
|
|
155
|
+
### var
|
|
156
|
+
Object which can be used to contain all needed fields for front-end.
|
|
157
|
+
### get `function`
|
|
158
|
+
Returns Object with all saved css viriables.
|
|
159
|
+
Example:
|
|
160
|
+
```javascript
|
|
161
|
+
ui.get();
|
|
162
|
+
```
|
|
163
|
+
Result example:
|
|
164
|
+
```javascript
|
|
165
|
+
{
|
|
166
|
+
test: '15px solid'
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
### remove `function`
|
|
170
|
+
Removes css varible by the key.
|
|
171
|
+
Example:
|
|
172
|
+
```javascript
|
|
173
|
+
ui.remove('css');
|
|
174
|
+
```
|
|
175
|
+
### set `function`
|
|
176
|
+
Method interface sets a new value for a property on a CSS style declaration object and saves all css variables which you have passed.
|
|
177
|
+
Example:
|
|
178
|
+
```javascript
|
|
179
|
+
ui.set(variables, options);
|
|
180
|
+
```
|
|
181
|
+
```variables``` - All css varibles you want to pass. If you want to set array of variables you'll need to have specific structure of the array. Example: ```[{key: 'name', value: example}]```. Object will be saved with the same structure.
|
|
182
|
+
|
|
183
|
+
```options``` - If you want to save css variables to the localStorage you should pass ```local: true```. Also if you want to save variables only for specific host you should pass ```host: 'hostname'```
|
|
184
|
+
### arr `function`
|
|
185
|
+
Helps developer to generate array with custom length and with elements of specific type.
|
|
186
|
+
Example:
|
|
187
|
+
```html
|
|
188
|
+
<div *ngFor="let obj of ui.arr(length, type)"></div>
|
|
189
|
+
```
|
|
190
|
+
```length``` - Length of generated array.
|
|
191
|
+
```type``` - ```'number'||'text'||'date'``` Will set elements with random content at choosed type. 'number' is default type of elements.
|
|
192
|
+
### text `function`
|
|
193
|
+
Helps developer to generate random string with specific length.
|
|
194
|
+
Example:
|
|
195
|
+
```html
|
|
196
|
+
<span>{{ui.text(length)}}</span>
|
|
197
|
+
```
|
|
@@ -45,14 +45,14 @@ export class AlertComponent {
|
|
|
45
45
|
this.delete_animation = false;
|
|
46
46
|
}, 350);
|
|
47
47
|
}
|
|
48
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
49
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.10", ngImport: i0, type: AlertComponent, deps: [{ token: i0.ElementRef }, { token: i1.CoreService }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.10", type: AlertComponent, selector: "alert", viewQueries: [{ propertyName: "alert", first: true, predicate: ["alert"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"class\" class=\"waw-alert-container height\" [class._close]=\"delete_animation\">\n\t<div [class.waw-alert-color-blue]=\"type=='info'\" [class.waw-alert-color-red]=\"type=='error'\" [class.waw-alert-color-green]=\"type=='success'\" [class.waw-alert-color-orange]=\"type=='warning'\" [class.waw-alert-color-yellow]=\"type=='question'\" class=\"waw-alert bounceInUp waw-alert-theme-light waw-alert-animateInside waw-alert-opened\" #alert>\n\t\t<div class=\"waw-alert__progress\" *ngIf=\"progress\"><span [ngStyle]=\"{'animation-duration': (timeout+350)/1000+'s'}\"></span></div>\n\t\t<div class=\"waw-alert-body\">\n\t\t\t<div *ngIf=\"!component\" class=\"waw-alert-texts\">\n\t\t\t\t<div *ngIf=\"icon\" class=\"{{icon}}\"></div>\n\t\t\t\t<div class=\"waw-alert-message slideIn\">{{text}}</div>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!component&&type=='question'\">\n\t\t\t\t<button class=\"alert-btn\" *ngFor=\"let b of buttons\" (click)=\"remove(); b.callback&&b.callback();\">{{b.text}}</button>\n\t\t\t</div>\n\t\t\t<div class=\"waw-alert__close\" *ngIf=\"closable\" (click)=\"remove()\"></div>\n\t\t</div>\n\t</div>\n</div>\n", styles: ["@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}.alert-wrapper{position:fixed;bottom:50px;left:0;width:100%;height:60px;overflow:hidden}.alert{display:flex;align-items:center;width:auto;background:#3aed92;color:#fff;max-width:700px;margin:0 auto;transform:translateY(300px) scale(0);transition:.3s all ease-in-out}.alert._show{transform:translateY(0) scale(1);transition:.3s all ease-in-out}.alert-icon{min-width:60px;min-height:60px;position:relative;display:flex;justify-content:center;align-items:center;background-color:#2bd17d}.alert-icon:before{content:\"\";position:absolute;width:25px;height:25px;border-radius:50%;border:2px solid #fff}.alert-icon:after{content:\"\";position:absolute;top:22px;width:7px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.alert-text{padding:0 20px;word-break:break-all;overflow:auto;height:60px}.alert-text .text-block{width:99%}.alert-text .text-block__text{text-overflow:ellipsis;overflow:hidden;white-space:pre}.alert-close{min-width:50px;margin-left:auto;font-size:25px;display:flex;justify-content:center;align-items:center}.font-bold{font-weight:700}.waw-alert__progress{bottom:0;position:absolute;width:100%;margin-bottom:0;border-radius:50px}.waw-alert__progress:hover span{animation-play-state:paused}.waw-alert__progress span{display:block;width:100%;height:2px;background-color:#a5a5a5ed;animation-name:waw-alert-progress;animation-duration:10s;border-radius:50px}.waw-alert__progress span._red{background-color:#ffafb4}.waw-alert__progress span._green{background-color:#a6efb8}.waw-alert__progress span._yellow{background-color:#fff9b2}.waw-alert__progress span._orange,.waw-alert__progress span._blue{background-color:#ffcfa5}.waw-alert__progress span._white{background-color:#fff}.waw-alert__progress span._black{background-color:#000}.waw-alert:hover .waw-alert__progress>span{animation-play-state:paused}.waw-alert__close{width:15px;height:15px;opacity:.3;position:relative;order:2}.waw-alert__close:hover{opacity:1}.waw-alert__close:before,.waw-alert__close:after{cursor:pointer;position:absolute;left:15px;content:\" \";height:12px;width:2px;background-color:#47525d}.waw-alert__close:before{transform:rotate(45deg)}.waw-alert__close:after{transform:rotate(-45deg)}@keyframes waw-alert-progress{0%{width:100%}to{width:0%}}.waw-alert-container{font-size:0;height:100px;width:100%;transform:translateZ(0);backface-visibility:hidden;transition:.3s all ease-in-out;opacity:1}.waw-alert-container._close{opacity:0;transition:.3s all ease-in-out}.waw-alert{display:inline-block;clear:both;position:relative;font-family:Lato,Tahoma,Arial;font-size:14px;padding:8px 25px 9px 0;background:rgba(238,238,238,.9);border-color:#eeeeeee6;width:100%;pointer-events:all;cursor:default;transform:translate(0);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;min-height:54px}.waw-alert>.waw-alert-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.waw-alert>.waw-alert-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.waw-alert>.waw-alert-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:none}.waw-alert>.waw-alert-close:hover{opacity:1}.waw-alert>.waw-alert-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body:after{content:\"\";display:table;clear:both}.waw-alert>.waw-alert-body .waw-alert-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body .waw-alert-icon{height:100%;position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.waw-alert>.waw-alert-body .waw-alert-title{padding:0;margin:0 10px 0 0;line-height:16px;font-size:14px;text-align:left;float:left;color:#000;white-space:normal;font-weight:700}.waw-alert>.waw-alert-body .waw-alert-message{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;color:#0009;white-space:normal}@media only screen and (min-width: 568px){.waw-alert-wrapper{padding:10px 15px}.waw-alert{margin:5px;border-radius:3px;width:auto}.waw-alert:after{content:\"\";z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a,0 8px 8px -5px #00000040}.waw-alert:not(.waw-alert-rtl) .waw-alert-cover{border-radius:3px 0 0 3px}.waw-alert.waw-alert-rtl .waw-alert-cover{border-radius:0 3px 3px 0}.waw-alert.waw-alert-color-dark:after{box-shadow:inset 0 -10px 20px -10px #ffffff4d,0 10px 10px -5px #00000040}.waw-alert.waw-alert-balloon .waw-alert-progressbar{background:transparent}.waw-alert.waw-alert-balloon:after{box-shadow:0 10px 10px -5px #00000040,inset 0 10px 20px -5px #00000040}.waw-alert-target .waw-alert:after{box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a}}.waw-alert.waw-alert-theme-dark{background:#565c70;border-color:#565c70}.waw-alert.waw-alert-theme-dark .waw-alert-title{color:#fff}.waw-alert.waw-alert-theme-dark .waw-alert-message{color:#ffffffb3;font-weight:300}.waw-alert.waw-alert-theme-dark .waw-alert-icon{color:#fff}.waw-alert.waw-alert-color-red{background:rgba(255,175,180,.9);border-color:#ffafb4e6}.waw-alert.waw-alert-color-orange{background:rgba(255,207,165,.9);border-color:#ffcfa5e6}.waw-alert.waw-alert-color-yellow{background:rgba(255,249,178,.9);border-color:#fff9b2e6}.waw-alert.waw-alert-color-blue{background:rgba(157,222,255,.9);border-color:#9ddeffe6}.waw-alert.waw-alert-color-green{background:rgba(166,239,184,.9);border-color:#a6efb8e6}.waw-alert.slideIn,.waw-alert .slideIn{animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.waw-alert.bounceInLeft{animation:iziT-bounceInLeft .7s ease-in-out both}.waw-alert.bounceInRight{animation:iziT-bounceInRight .85s ease-in-out both}.waw-alert.bounceInDown{animation:iziT-bounceInDown .7s ease-in-out both}.waw-alert.bounceInUp{animation:iziT-bounceInUp .7s ease-in-out both}.height{height:auto!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.10", ngImport: i0, type: AlertComponent, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
|
-
args: [{ selector: 'alert', template: "<div [ngClass]=\"class\" class=\"waw-alert-container height\" [class._close]=\"delete_animation\">\
|
|
53
|
+
args: [{ selector: 'alert', template: "<div [ngClass]=\"class\" class=\"waw-alert-container height\" [class._close]=\"delete_animation\">\n\t<div [class.waw-alert-color-blue]=\"type=='info'\" [class.waw-alert-color-red]=\"type=='error'\" [class.waw-alert-color-green]=\"type=='success'\" [class.waw-alert-color-orange]=\"type=='warning'\" [class.waw-alert-color-yellow]=\"type=='question'\" class=\"waw-alert bounceInUp waw-alert-theme-light waw-alert-animateInside waw-alert-opened\" #alert>\n\t\t<div class=\"waw-alert__progress\" *ngIf=\"progress\"><span [ngStyle]=\"{'animation-duration': (timeout+350)/1000+'s'}\"></span></div>\n\t\t<div class=\"waw-alert-body\">\n\t\t\t<div *ngIf=\"!component\" class=\"waw-alert-texts\">\n\t\t\t\t<div *ngIf=\"icon\" class=\"{{icon}}\"></div>\n\t\t\t\t<div class=\"waw-alert-message slideIn\">{{text}}</div>\n\t\t\t</div>\n\t\t\t<div *ngIf=\"!component&&type=='question'\">\n\t\t\t\t<button class=\"alert-btn\" *ngFor=\"let b of buttons\" (click)=\"remove(); b.callback&&b.callback();\">{{b.text}}</button>\n\t\t\t</div>\n\t\t\t<div class=\"waw-alert__close\" *ngIf=\"closable\" (click)=\"remove()\"></div>\n\t\t</div>\n\t</div>\n</div>\n", styles: ["@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}.alert-wrapper{position:fixed;bottom:50px;left:0;width:100%;height:60px;overflow:hidden}.alert{display:flex;align-items:center;width:auto;background:#3aed92;color:#fff;max-width:700px;margin:0 auto;transform:translateY(300px) scale(0);transition:.3s all ease-in-out}.alert._show{transform:translateY(0) scale(1);transition:.3s all ease-in-out}.alert-icon{min-width:60px;min-height:60px;position:relative;display:flex;justify-content:center;align-items:center;background-color:#2bd17d}.alert-icon:before{content:\"\";position:absolute;width:25px;height:25px;border-radius:50%;border:2px solid #fff}.alert-icon:after{content:\"\";position:absolute;top:22px;width:7px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.alert-text{padding:0 20px;word-break:break-all;overflow:auto;height:60px}.alert-text .text-block{width:99%}.alert-text .text-block__text{text-overflow:ellipsis;overflow:hidden;white-space:pre}.alert-close{min-width:50px;margin-left:auto;font-size:25px;display:flex;justify-content:center;align-items:center}.font-bold{font-weight:700}.waw-alert__progress{bottom:0;position:absolute;width:100%;margin-bottom:0;border-radius:50px}.waw-alert__progress:hover span{animation-play-state:paused}.waw-alert__progress span{display:block;width:100%;height:2px;background-color:#a5a5a5ed;animation-name:waw-alert-progress;animation-duration:10s;border-radius:50px}.waw-alert__progress span._red{background-color:#ffafb4}.waw-alert__progress span._green{background-color:#a6efb8}.waw-alert__progress span._yellow{background-color:#fff9b2}.waw-alert__progress span._orange,.waw-alert__progress span._blue{background-color:#ffcfa5}.waw-alert__progress span._white{background-color:#fff}.waw-alert__progress span._black{background-color:#000}.waw-alert:hover .waw-alert__progress>span{animation-play-state:paused}.waw-alert__close{width:15px;height:15px;opacity:.3;position:relative;order:2}.waw-alert__close:hover{opacity:1}.waw-alert__close:before,.waw-alert__close:after{cursor:pointer;position:absolute;left:15px;content:\" \";height:12px;width:2px;background-color:#47525d}.waw-alert__close:before{transform:rotate(45deg)}.waw-alert__close:after{transform:rotate(-45deg)}@keyframes waw-alert-progress{0%{width:100%}to{width:0%}}.waw-alert-container{font-size:0;height:100px;width:100%;transform:translateZ(0);backface-visibility:hidden;transition:.3s all ease-in-out;opacity:1}.waw-alert-container._close{opacity:0;transition:.3s all ease-in-out}.waw-alert{display:inline-block;clear:both;position:relative;font-family:Lato,Tahoma,Arial;font-size:14px;padding:8px 25px 9px 0;background:rgba(238,238,238,.9);border-color:#eeeeeee6;width:100%;pointer-events:all;cursor:default;transform:translate(0);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;min-height:54px}.waw-alert>.waw-alert-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.waw-alert>.waw-alert-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.waw-alert>.waw-alert-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:none}.waw-alert>.waw-alert-close:hover{opacity:1}.waw-alert>.waw-alert-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body:after{content:\"\";display:table;clear:both}.waw-alert>.waw-alert-body .waw-alert-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left;display:flex;justify-content:space-between;align-items:center}.waw-alert>.waw-alert-body .waw-alert-icon{height:100%;position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.waw-alert>.waw-alert-body .waw-alert-title{padding:0;margin:0 10px 0 0;line-height:16px;font-size:14px;text-align:left;float:left;color:#000;white-space:normal;font-weight:700}.waw-alert>.waw-alert-body .waw-alert-message{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;color:#0009;white-space:normal}@media only screen and (min-width: 568px){.waw-alert-wrapper{padding:10px 15px}.waw-alert{margin:5px;border-radius:3px;width:auto}.waw-alert:after{content:\"\";z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a,0 8px 8px -5px #00000040}.waw-alert:not(.waw-alert-rtl) .waw-alert-cover{border-radius:3px 0 0 3px}.waw-alert.waw-alert-rtl .waw-alert-cover{border-radius:0 3px 3px 0}.waw-alert.waw-alert-color-dark:after{box-shadow:inset 0 -10px 20px -10px #ffffff4d,0 10px 10px -5px #00000040}.waw-alert.waw-alert-balloon .waw-alert-progressbar{background:transparent}.waw-alert.waw-alert-balloon:after{box-shadow:0 10px 10px -5px #00000040,inset 0 10px 20px -5px #00000040}.waw-alert-target .waw-alert:after{box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a}}.waw-alert.waw-alert-theme-dark{background:#565c70;border-color:#565c70}.waw-alert.waw-alert-theme-dark .waw-alert-title{color:#fff}.waw-alert.waw-alert-theme-dark .waw-alert-message{color:#ffffffb3;font-weight:300}.waw-alert.waw-alert-theme-dark .waw-alert-icon{color:#fff}.waw-alert.waw-alert-color-red{background:rgba(255,175,180,.9);border-color:#ffafb4e6}.waw-alert.waw-alert-color-orange{background:rgba(255,207,165,.9);border-color:#ffcfa5e6}.waw-alert.waw-alert-color-yellow{background:rgba(255,249,178,.9);border-color:#fff9b2e6}.waw-alert.waw-alert-color-blue{background:rgba(157,222,255,.9);border-color:#9ddeffe6}.waw-alert.waw-alert-color-green{background:rgba(166,239,184,.9);border-color:#a6efb8e6}.waw-alert.slideIn,.waw-alert .slideIn{animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.waw-alert.bounceInLeft{animation:iziT-bounceInLeft .7s ease-in-out both}.waw-alert.bounceInRight{animation:iziT-bounceInRight .85s ease-in-out both}.waw-alert.bounceInDown{animation:iziT-bounceInDown .7s ease-in-out both}.waw-alert.bounceInUp{animation:iziT-bounceInUp .7s ease-in-out both}.height{height:auto!important}\n"] }]
|
|
54
54
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.CoreService }]; }, propDecorators: { alert: [{
|
|
55
55
|
type: ViewChild,
|
|
56
56
|
args: ['alert', { static: false }]
|
|
57
57
|
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHM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cIiAjYWxlcnQ+XG5cdFx0PGRpdiBjbGFzcz1cIndhdy1hbGVydF9fcHJvZ3Jlc3NcIiAqbmdJZj1cInByb2dyZXNzXCI+PHNwYW4gW25nU3R5bGVdPVwieydhbmltYXRpb24tZHVyYXRpb24nOiAodGltZW91dCszNTApLzEwMDArJ3MnfVwiPjwvc3Bhbj48L2Rpdj5cblx0XHQ8ZGl2IGNsYXNzPVwid2F3LWFsZXJ0LWJvZHlcIj5cblx0XHRcdDxkaXYgKm5nSWY9XCIhY29tcG9uZW50XCIgY2xhc3M9XCJ3YXctYWxlcnQtdGV4dHNcIj5cblx0XHRcdFx0PGRpdiAqbmdJZj1cImljb25cIiBjbGFzcz1cInt7aWNvbn19XCI+PC9kaXY+XG5cdFx0XHRcdDxkaXYgY2xhc3M9XCJ3YXctYWxlcnQtbWVzc2FnZSBzbGlkZUluXCI+e3t0ZXh0fX08L2Rpdj5cblx0XHRcdDwvZGl2PlxuXHRcdFx0PGRpdiAqbmdJZj1cIiFjb21wb25lbnQmJnR5cGU9PSdxdWVzdGlvbidcIj5cblx0XHRcdFx0PGJ1dHRvbiBjbGFzcz1cImFsZXJ0LWJ0blwiICpuZ0Zvcj1cImxldCBiIG9mIGJ1dHRvbnNcIiAoY2xpY2spPVwicmVtb3ZlKCk7IGIuY2FsbGJhY2smJmIuY2FsbGJhY2soKTtcIj57e2IudGV4dH19PC9idXR0b24+XG5cdFx0XHQ8L2Rpdj5cblx0XHRcdDxkaXYgY2xhc3M9XCJ3YXctYWxlcnRfX2Nsb3NlXCIgKm5nSWY9XCJjbG9zYWJsZVwiIChjbGljayk9XCJyZW1vdmUoKVwiPjwvZGl2PlxuXHRcdDwvZGl2PlxuXHQ8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -2,11 +2,11 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class WrapperComponent {
|
|
4
4
|
constructor() { }
|
|
5
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
6
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
5
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.10", ngImport: i0, type: WrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.10", type: WrapperComponent, selector: "lib-wrapper", ngImport: i0, template: "<div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomRight\" id=\"bottomRight\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomLeft\" id=\"bottomLeft\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topRight\" id=\"topRight\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topLeft\" id=\"topLeft\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topCenter\" id=\"topCenter\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomCenter\" id=\"bottomCenter\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-center\" id=\"center\"></div>\n\t<!-- [bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter or center] -->\n</div>\n", styles: [".waw-alert-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.waw-alert-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.waw-alert-wrapper-bottomRight{right:0;bottom:0;text-align:right}.waw-alert-wrapper-topLeft{left:0;top:0;text-align:left}.waw-alert-wrapper-topRight{top:0;right:0;text-align:right}.waw-alert-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.waw-alert-wrapper-bottomCenter{bottom:0;left:0;right:0;text-align:center}.waw-alert-wrapper-center{inset:0;text-align:center;justify-content:center;flex-flow:column;align-items:center}\n"] });
|
|
7
7
|
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.10", ngImport: i0, type: WrapperComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
|
-
args: [{ selector: 'lib-wrapper', template: "<div>\
|
|
10
|
+
args: [{ selector: 'lib-wrapper', template: "<div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomRight\" id=\"bottomRight\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomLeft\" id=\"bottomLeft\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topRight\" id=\"topRight\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topLeft\" id=\"topLeft\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-topCenter\" id=\"topCenter\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-bottomCenter\" id=\"bottomCenter\"></div>\n\t<div class=\"waw-alert-wrapper waw-alert-wrapper-center\" id=\"center\"></div>\n\t<!-- [bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter or center] -->\n</div>\n", styles: [".waw-alert-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.waw-alert-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.waw-alert-wrapper-bottomRight{right:0;bottom:0;text-align:right}.waw-alert-wrapper-topLeft{left:0;top:0;text-align:left}.waw-alert-wrapper-topRight{top:0;right:0;text-align:right}.waw-alert-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.waw-alert-wrapper-bottomCenter{bottom:0;left:0;right:0;text-align:center}.waw-alert-wrapper-center{inset:0;text-align:center;justify-content:center;flex-flow:column;align-items:center}\n"] }]
|
|
11
11
|
}], ctorParameters: function () { return []; } });
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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ZXJ0LXdyYXBwZXIgd2F3LWFsZXJ0LXdyYXBwZXItYm90dG9tTGVmdFwiIGlkPVwiYm90dG9tTGVmdFwiPjwvZGl2PlxuXHQ8ZGl2IGNsYXNzPVwid2F3LWFsZXJ0LXdyYXBwZXIgd2F3LWFsZXJ0LXdyYXBwZXItdG9wUmlnaHRcIiBpZD1cInRvcFJpZ2h0XCI+PC9kaXY+XG5cdDxkaXYgY2xhc3M9XCJ3YXctYWxlcnQtd3JhcHBlciB3YXctYWxlcnQtd3JhcHBlci10b3BMZWZ0XCIgaWQ9XCJ0b3BMZWZ0XCI+PC9kaXY+XG5cdDxkaXYgY2xhc3M9XCJ3YXctYWxlcnQtd3JhcHBlciB3YXctYWxlcnQtd3JhcHBlci10b3BDZW50ZXJcIiBpZD1cInRvcENlbnRlclwiPjwvZGl2PlxuXHQ8ZGl2IGNsYXNzPVwid2F3LWFsZXJ0LXdyYXBwZXIgd2F3LWFsZXJ0LXdyYXBwZXItYm90dG9tQ2VudGVyXCIgaWQ9XCJib3R0b21DZW50ZXJcIj48L2Rpdj5cblx0PGRpdiBjbGFzcz1cIndhdy1hbGVydC13cmFwcGVyIHdhdy1hbGVydC13cmFwcGVyLWNlbnRlclwiIGlkPVwiY2VudGVyXCI+PC9kaXY+XG5cdDwhLS0gW2JvdHRvbVJpZ2h0LCBib3R0b21MZWZ0LCB0b3BSaWdodCwgdG9wTGVmdCwgdG9wQ2VudGVyLCBib3R0b21DZW50ZXIgb3IgY2VudGVyXSAtLT5cbjwvZGl2PlxuIl19
|
|
@@ -4,11 +4,11 @@ import * as i1 from "@angular/common";
|
|
|
4
4
|
export class FilesComponent {
|
|
5
5
|
fs;
|
|
6
6
|
constructor() { }
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
8
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.10", ngImport: i0, type: FilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.10", type: FilesComponent, selector: "lib-files", ngImport: i0, template: "<ng-container *ngFor=\"let file of fs.files\">\n\t<input [id]=\"file.id\" type=\"file\" name=\"file\" (change)=\"fs.change($event, file); input.value='';\" #input [hidden]=\"true\" [accept]=\"(file.accept) || (file.part && 'image/*') || ''\" [multiple]=\"file.multiple && true || ''\">\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.10", ngImport: i0, type: FilesComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-files', template: "<ng-container *ngFor=\"let file of fs.files\">\
|
|
12
|
+
args: [{ selector: 'lib-files', template: "<ng-container *ngFor=\"let file of fs.files\">\n\t<input [id]=\"file.id\" type=\"file\" name=\"file\" (change)=\"fs.change($event, file); input.value='';\" #input [hidden]=\"true\" [accept]=\"(file.accept) || (file.part && 'image/*') || ''\" [multiple]=\"file.multiple && true || ''\">\n</ng-container>" }]
|
|
13
13
|
}], ctorParameters: function () { return []; } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2Fjb20vc3JjL2xpYi9jb21wb25lbnRzL2ZpbGVzL2Zpb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