ngx-redi-core 19.0.2 → 21.0.0
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.
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
HostListener,
|
|
6
6
|
HostBinding
|
|
7
7
|
} from '@angular/core';
|
|
8
|
-
@Directive({
|
|
9
|
-
selector: '[dragDrop]',
|
|
10
|
-
standalone: false
|
|
8
|
+
@Directive({
|
|
9
|
+
selector: '[dragDrop]',
|
|
10
|
+
standalone: false
|
|
11
11
|
})
|
|
12
12
|
export class DragDropDirective {
|
|
13
13
|
readonly formato = 'dashed 2px #838383';
|
|
@@ -25,11 +25,11 @@ export class DragDropDirective {
|
|
|
25
25
|
/**
|
|
26
26
|
* Obtiene o establece el estilo del borde del componente.
|
|
27
27
|
*/
|
|
28
|
-
@HostBinding('style.border')
|
|
28
|
+
@HostBinding('style.border') border = this.formato;
|
|
29
29
|
/**
|
|
30
30
|
* Obtiene o establece el estilo del fondo del componente.
|
|
31
31
|
*/
|
|
32
|
-
@HostBinding('style.background')
|
|
32
|
+
@HostBinding('style.background') background = '';
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* El evento que cambia el borde y fondo del componente al arrastrar el archivo sobre el.
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-redi-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^21.0.0",
|
|
6
|
+
"@angular/core": "^21.0.0",
|
|
7
7
|
"@types/crypto-js": "^4.2.2",
|
|
8
8
|
"crypto-js": "^4.2.0"
|
|
9
9
|
},
|