@vixoniccom/aniversarios 1.1.0 → 1.2.0-dev.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.2.0-dev.0](https://bitbucket.org/vixonic_dev/aniversarios/compare/v1.0.2...v1.2.0-dev.0) (2025-02-13)
6
+
7
+
8
+ ### Features
9
+
10
+ * add RedirectButton ([7a63b6d](https://bitbucket.org/vixonic_dev/aniversarios/commit/7a63b6dc525643ce909b69c0e1dc3a1ca33cce57))
11
+ * ISC license was added to the project ([053ba36](https://bitbucket.org/vixonic_dev/aniversarios/commit/053ba36195a038099cf3ca2b62258ef80e5d6e97))
12
+
5
13
  ## [1.1.0](https://bitbucket.org/vixonic_dev/aniversarios/compare/v1.1.0-beta.1...v1.1.0) (2024-10-01)
6
14
 
7
15
  ## [1.1.0-beta.1](https://bitbucket.org/vixonic_dev/aniversarios/compare/v1.1.0-beta.0...v1.1.0-beta.1) (2024-09-05)
package/build.zip CHANGED
Binary file
@@ -1,5 +1,22 @@
1
1
  {
2
2
  "schema": [
3
+ {
4
+ "id": "documentGroup",
5
+ "label": "Documento",
6
+ "type": "group",
7
+ "items": [
8
+ {
9
+ "type": "label",
10
+ "label": "Documento"
11
+ },
12
+ {
13
+ "id": "url",
14
+ "label": "Ir al documento",
15
+ "type": "redirect-button",
16
+ "description": "Prueba"
17
+ }
18
+ ]
19
+ },
3
20
  {
4
21
  "id": "dataGroup",
5
22
  "type": "group",
@@ -36,9 +53,7 @@
36
53
  "type": "select-asset-kna-input",
37
54
  "id": "photosZip",
38
55
  "label": "Archivo Zip",
39
- "extensions": [
40
- "zip"
41
- ],
56
+ "extensions": ["zip"],
42
57
  "show": "{{photosMode}} === 'zip'"
43
58
  },
44
59
  {
@@ -246,10 +261,7 @@
246
261
  "type": "select-asset-kna-input",
247
262
  "required": false,
248
263
  "label": "Fondo",
249
- "extensions": [
250
- "jpg",
251
- "png"
252
- ]
264
+ "extensions": ["jpg", "png"]
253
265
  },
254
266
  {
255
267
  "id": "padding",
@@ -592,4 +604,4 @@
592
604
  ]
593
605
  }
594
606
  ]
595
- }
607
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixoniccom/aniversarios",
3
3
  "alias": "Aniversarios",
4
- "version": "1.1.0",
4
+ "version": "1.2.0-dev.0",
5
5
  "description": "Muestra el día que el trabajador está de aniversario en la empresa.",
6
6
  "main": "main.js",
7
7
  "author": "",
@@ -13,27 +13,28 @@
13
13
  "configuration": "vixonic-module-packager --mode generate-configuration",
14
14
  "configuration:validate": "vixonic-module-packager --mode validate-configuration",
15
15
  "release": "standard-version",
16
- "prerelease-beta": "standard-version --prerelease beta"
16
+ "prerelease-beta": "standard-version --prerelease beta",
17
+ "prerelease-dev": "standard-version --prerelease dev"
17
18
  },
18
19
  "dependencies": {
19
- "animejs": "^2.0.2",
20
- "axios": "^0.27.2",
20
+ "animejs": "^3.2.2",
21
+ "axios": "^1.6.0",
21
22
  "jquery": "^3.6.0",
22
23
  "localforage": "^1.10.0",
23
- "moment": "^2.29.3",
24
+ "moment": "^2.29.4",
24
25
  "prop-types": "^15.8.1",
25
26
  "react": "^17.0.2",
26
27
  "react-dom": "^17.0.2",
27
28
  "use-state-with-callback": "^3.0.2"
28
29
  },
29
30
  "devDependencies": {
30
- "@types/animejs": "^3.1.4",
31
- "@types/lodash": "^4.14.182",
31
+ "@types/animejs": "^3.1.13",
32
+ "@types/lodash": "^4.17.0",
32
33
  "@types/node": "^12.20.37",
33
34
  "@types/react": "^17.0.35",
34
35
  "@types/react-dom": "^17.0.11",
35
- "@vixoniccom/module-packager": "^2.5.1",
36
- "@vixoniccom/modules": "^2.12.1",
37
- "standard-version": "^9.3.1"
36
+ "@vixoniccom/module-packager": "^2.10.1-dev.1",
37
+ "@vixoniccom/modules": "^2.20.0-dev.1",
38
+ "standard-version": "^9.5.0"
38
39
  }
39
40
  }
@@ -11,53 +11,53 @@ interface Options {
11
11
 
12
12
  const animationModes = {
13
13
  fade: {
14
- in: {
15
- opacity: [0, 1],
16
- easing: 'linear'
17
- },
18
- out: {
19
- opacity: [1, 0],
20
- easing: 'linear'
21
- },
22
- init: {
23
- opacity: 0
24
- }
14
+ in: {
15
+ opacity: [0, 1],
16
+ easing: 'linear',
17
+ },
18
+ out: {
19
+ opacity: [1, 0],
20
+ easing: 'linear',
21
+ },
22
+ init: {
23
+ opacity: 0,
24
+ },
25
25
  },
26
26
  slideRight: {
27
- in: {
28
- translateX: () => {
29
- return [`-100vw`, '0vw']
30
- },
31
- easing: 'easeOutQuad'
27
+ in: {
28
+ translateX: () => {
29
+ return [`-100vw`, '0vw']
32
30
  },
33
- out: {
34
- translateX: () => {
35
- return ['0vw', `100vw`]
36
- },
37
- easing: 'easeInQuad'
31
+ easing: 'easeOutQuad',
32
+ },
33
+ out: {
34
+ translateX: () => {
35
+ return ['0vw', `100vw`]
38
36
  },
39
- init: {
40
- transform: 'translate(0vw)'
41
- }
37
+ easing: 'easeInQuad',
38
+ },
39
+ init: {
40
+ transform: 'translateX(-100vw)',
41
+ },
42
42
  },
43
43
  slideLeft: {
44
- in: {
45
- translateX: (el: any) => {
46
- return [`${el.parentNode.clientWidth}px`, '0px']
47
- },
48
- easing: 'easeOutQuad'
44
+ in: {
45
+ translateX: () => {
46
+ return [`100vw`, '0vw']
49
47
  },
50
- out: {
51
- translateX: (el: any) => {
52
- return ['0px', `${-el.parentNode.clientWidth}px`]
53
- },
54
- easing: 'easeInQuad'
48
+ easing: 'easeOutQuad',
49
+ },
50
+ out: {
51
+ translateX: () => {
52
+ return ['0vw', `-100vw`]
55
53
  },
56
- init: {
57
- transform: 'translate(0px)'
58
- }
59
- }
60
- }
54
+ easing: 'easeInQuad',
55
+ },
56
+ init: {
57
+ transform: 'translateX(100vw)',
58
+ },
59
+ },
60
+ }
61
61
 
62
62
  class Animation {
63
63
 
@@ -67,7 +67,6 @@ class Animation {
67
67
  public stagger: number
68
68
  public reverse: boolean
69
69
 
70
-
71
70
  constructor() {
72
71
  this.mode = animationModes.fade
73
72
  this.duration = 5000
@@ -108,14 +107,17 @@ class Animation {
108
107
  animation.add(Object.assign({
109
108
  targets: els,
110
109
  duration: this.speed,
111
- delay: function (_el: any, i: any, _l: any) {
112
- return i * self.stagger
110
+ delay: function (_el: any, _i: any, _l: any) {
111
+ return _i * self.stagger
113
112
  },
114
- offset: `+=${offset}`,
115
113
  complete: () => {
116
114
  finished()
117
- }
118
- }, this.mode.out))
115
+ },
116
+ },
117
+ this.mode.out
118
+ ),
119
+ `+=${offset}`
120
+ )
119
121
  animation.play()
120
122
  }
121
123
  }
package/tsconfig.json CHANGED
@@ -20,19 +20,9 @@
20
20
  "noUnusedParameters": true,
21
21
  "sourceMap": true,
22
22
  "skipLibCheck": true,
23
- "keyofStringsOnly": true,
24
- "types": [
25
- "node"
26
- ],
27
- "typeRoots": [
28
- "./node_modules/@types",
29
- "./src"
30
- ]
23
+ "types": ["node"],
24
+ "typeRoots": ["./node_modules/@types", "./src"]
31
25
  },
32
- "include": [
33
- "./src/**/*"
34
- ],
35
- "exclude": [
36
- "./node_modules/**/*"
37
- ]
38
- }
26
+ "include": ["./src/**/*"],
27
+ "exclude": ["./node_modules/**/*"]
28
+ }