| @@ -15,13 +15,9 @@ | ||
| 15 | 15 | "html": true, |
| 16 | 16 | "anchor": true |
| 17 | 17 | }, |
| 18 | 18 | "textdomain": "ablocks", |
| 19 | - "editorStyle": [ | |
| 20 | - "file:./style.css" | |
| 21 | - ], | |
| 22 | 19 | "editorScript": [ |
| 23 | - "ablocks-common-script", | |
| 24 | 20 | "file:./view.js" |
| 25 | 21 | ], |
| 26 | 22 | "attributes": { |
| 27 | 23 | "block_id": { |
| @@ -27,12 +23,8 @@ | ||
| 27 | 23 | "block_id": { |
| 28 | 24 | "type": "string", |
| 29 | 25 | "default": "" |
| 30 | 26 | }, |
| 31 | - "inputWidth": { | |
| 32 | - "type": "number", | |
| 33 | - "default": 100 | |
| 34 | - }, | |
| 35 | 27 | "label": { |
| 36 | 28 | "type": "string", |
| 37 | 29 | "default": "" |
| 38 | 30 | }, |
| @@ -209,8 +201,16 @@ | ||
| 209 | 201 | "iconBgColor": { |
| 210 | 202 | "type": "string", |
| 211 | 203 | "default": "" |
| 212 | 204 | }, |
| 205 | + "iconHoverColor": { | |
| 206 | + "type": "string", | |
| 207 | + "default": "" | |
| 208 | + }, | |
| 209 | + "iconHoverBgColor": { | |
| 210 | + "type": "string", | |
| 211 | + "default": "" | |
| 212 | + }, | |
| 213 | 213 | "iconType": { |
| 214 | 214 | "type": "string", |
| 215 | 215 | "default": "default" |
| 216 | 216 | }, |
| @@ -229,30 +229,70 @@ | ||
| 229 | 229 | "left": "", |
| 230 | 230 | "unit": "px" |
| 231 | 231 | } |
| 232 | 232 | }, |
| 233 | - "iconBorderRadius": { | |
| 233 | + "iconBorder": { | |
| 234 | 234 | "type": "object", |
| 235 | 235 | "default": { |
| 236 | - "isLinked": true, | |
| 237 | - "common": "", | |
| 238 | - "top": "", | |
| 239 | - "right": "", | |
| 240 | - "bottom": "", | |
| 241 | - "left": "", | |
| 242 | - "unit": "px" | |
| 236 | + "borderStyle": "default", | |
| 237 | + "borderStyleH": "default", | |
| 238 | + "borderColor": "", | |
| 239 | + "borderColorH": "", | |
| 240 | + "isLinkedWidth": true, | |
| 241 | + "isLinkedWidthTablet": true, | |
| 242 | + "isLinkedWidthMobile": true, | |
| 243 | + "commonWidth": "", | |
| 244 | + "topWidth": "", | |
| 245 | + "rightWidth": "", | |
| 246 | + "bottomWidth": "", | |
| 247 | + "leftWidth": "", | |
| 248 | + "unitWidth": "px", | |
| 249 | + "isLinkedWidthH": true, | |
| 250 | + "isLinkedWidthHTablet": true, | |
| 251 | + "isLinkedWidthHMobile": true, | |
| 252 | + "commonWidthH": "", | |
| 253 | + "topWidthH": "", | |
| 254 | + "rightWidthH": "", | |
| 255 | + "bottomWidthH": "", | |
| 256 | + "leftWidthH": "", | |
| 257 | + "unitWidthH": "px", | |
| 258 | + "isLinkedRadius": true, | |
| 259 | + "commonRadius": "", | |
| 260 | + "topRadius": "", | |
| 261 | + "rightRadius": "", | |
| 262 | + "bottomRadius": "", | |
| 263 | + "leftRadius": "", | |
| 264 | + "unitRadius": "px", | |
| 265 | + "isLinkedRadiusH": true, | |
| 266 | + "isLinkedRadiusHTablet": true, | |
| 267 | + "isLinkedRadiusHMobile": true, | |
| 268 | + "commonRadiusH": "", | |
| 269 | + "topRadiusH": "", | |
| 270 | + "leftRadiusH": "", | |
| 271 | + "unitRadiusH": "px", | |
| 272 | + "transitionDuration": "" | |
| 243 | 273 | } |
| 244 | 274 | }, |
| 245 | - "iconBorderWidth": { | |
| 275 | + "iconBoxShadow": { | |
| 246 | 276 | "type": "object", |
| 247 | 277 | "default": { |
| 248 | - "isLinked": true, | |
| 249 | - "common": "", | |
| 250 | - "top": "", | |
| 251 | - "right": "", | |
| 252 | - "bottom": "", | |
| 253 | - "left": "", | |
| 254 | - "unit": "px" | |
| 278 | + "preset": "", | |
| 279 | + "shadowType": "default", | |
| 280 | + "shadow": "", | |
| 281 | + "horizontal": "", | |
| 282 | + "vertical": "", | |
| 283 | + "blur": "", | |
| 284 | + "spread": "", | |
| 285 | + "color": "", | |
| 286 | + "presetH": "", | |
| 287 | + "shadowTypeH": "default", | |
| 288 | + "shadowH": "", | |
| 289 | + "horizontalH": "", | |
| 290 | + "verticalH": "", | |
| 291 | + "blurH": "", | |
| 292 | + "spreadH": "", | |
| 293 | + "colorH": "", | |
| 294 | + "transitionDuration": "0" | |
| 255 | 295 | } |
| 256 | 296 | }, |
| 257 | 297 | "iconSize": { |
| 258 | 298 | "type": "number", |
| @@ -334,8 +374,16 @@ | ||
| 334 | 374 | "passwordShowBgColor": { |
| 335 | 375 | "type": "string", |
| 336 | 376 | "default": "" |
| 337 | 377 | }, |
| 378 | + "passwordShowHoverColor": { | |
| 379 | + "type": "string", | |
| 380 | + "default": "" | |
| 381 | + }, | |
| 382 | + "passwordShowHoverBgColor": { | |
| 383 | + "type": "string", | |
| 384 | + "default": "" | |
| 385 | + }, | |
| 338 | 386 | "passwordShowType": { |
| 339 | 387 | "type": "string", |
| 340 | 388 | "default": "default" |
| 341 | 389 | }, |
| @@ -354,30 +402,70 @@ | ||
| 354 | 402 | "left": "", |
| 355 | 403 | "unit": "px" |
| 356 | 404 | } |
| 357 | 405 | }, |
| 358 | - "passwordShowBorderRadius": { | |
| 406 | + "passwordShowBorder": { | |
| 359 | 407 | "type": "object", |
| 360 | 408 | "default": { |
| 361 | - "isLinked": true, | |
| 362 | - "common": "", | |
| 363 | - "top": "", | |
| 364 | - "right": "", | |
| 365 | - "bottom": "", | |
| 366 | - "left": "", | |
| 367 | - "unit": "px" | |
| 409 | + "borderStyle": "default", | |
| 410 | + "borderStyleH": "default", | |
| 411 | + "borderColor": "", | |
| 412 | + "borderColorH": "", | |
| 413 | + "isLinkedWidth": true, | |
| 414 | + "isLinkedWidthTablet": true, | |
| 415 | + "isLinkedWidthMobile": true, | |
| 416 | + "commonWidth": "", | |
| 417 | + "topWidth": "", | |
| 418 | + "rightWidth": "", | |
| 419 | + "bottomWidth": "", | |
| 420 | + "leftWidth": "", | |
| 421 | + "unitWidth": "px", | |
| 422 | + "isLinkedWidthH": true, | |
| 423 | + "isLinkedWidthHTablet": true, | |
| 424 | + "isLinkedWidthHMobile": true, | |
| 425 | + "commonWidthH": "", | |
| 426 | + "topWidthH": "", | |
| 427 | + "rightWidthH": "", | |
| 428 | + "bottomWidthH": "", | |
| 429 | + "leftWidthH": "", | |
| 430 | + "unitWidthH": "px", | |
| 431 | + "isLinkedRadius": true, | |
| 432 | + "commonRadius": "", | |
| 433 | + "topRadius": "", | |
| 434 | + "rightRadius": "", | |
| 435 | + "bottomRadius": "", | |
| 436 | + "leftRadius": "", | |
| 437 | + "unitRadius": "px", | |
| 438 | + "isLinkedRadiusH": true, | |
| 439 | + "isLinkedRadiusHTablet": true, | |
| 440 | + "isLinkedRadiusHMobile": true, | |
| 441 | + "commonRadiusH": "", | |
| 442 | + "topRadiusH": "", | |
| 443 | + "leftRadiusH": "", | |
| 444 | + "unitRadiusH": "px", | |
| 445 | + "transitionDuration": "" | |
| 368 | 446 | } |
| 369 | 447 | }, |
| 370 | - "passwordShowBorderWidth": { | |
| 448 | + "passwordShowBoxShadow": { | |
| 371 | 449 | "type": "object", |
| 372 | 450 | "default": { |
| 373 | - "isLinked": true, | |
| 374 | - "common": "", | |
| 375 | - "top": "", | |
| 376 | - "right": "", | |
| 377 | - "bottom": "", | |
| 378 | - "left": "", | |
| 379 | - "unit": "px" | |
| 451 | + "preset": "", | |
| 452 | + "shadowType": "default", | |
| 453 | + "shadow": "", | |
| 454 | + "horizontal": "", | |
| 455 | + "vertical": "", | |
| 456 | + "blur": "", | |
| 457 | + "spread": "", | |
| 458 | + "color": "", | |
| 459 | + "presetH": "", | |
| 460 | + "shadowTypeH": "default", | |
| 461 | + "shadowH": "", | |
| 462 | + "horizontalH": "", | |
| 463 | + "verticalH": "", | |
| 464 | + "blurH": "", | |
| 465 | + "spreadH": "", | |
| 466 | + "colorH": "", | |
| 467 | + "transitionDuration": "0" | |
| 380 | 468 | } |
| 381 | 469 | }, |
| 382 | 470 | "passwordShowSize": { |
| 383 | 471 | "type": "number", |
| @@ -459,8 +547,16 @@ | ||
| 459 | 547 | "passwordHideBgColor": { |
| 460 | 548 | "type": "string", |
| 461 | 549 | "default": "" |
| 462 | 550 | }, |
| 551 | + "passwordHideHoverColor": { | |
| 552 | + "type": "string", | |
| 553 | + "default": "" | |
| 554 | + }, | |
| 555 | + "passwordHideHoverBgColor": { | |
| 556 | + "type": "string", | |
| 557 | + "default": "" | |
| 558 | + }, | |
| 463 | 559 | "passwordHideType": { |
| 464 | 560 | "type": "string", |
| 465 | 561 | "default": "default" |
| 466 | 562 | }, |
| @@ -479,30 +575,70 @@ | ||
| 479 | 575 | "left": "", |
| 480 | 576 | "unit": "px" |
| 481 | 577 | } |
| 482 | 578 | }, |
| 483 | - "passwordHideBorderRadius": { | |
| 579 | + "passwordHideBorder": { | |
| 484 | 580 | "type": "object", |
| 485 | 581 | "default": { |
| 486 | - "isLinked": true, | |
| 487 | - "common": "", | |
| 488 | - "top": "", | |
| 489 | - "right": "", | |
| 490 | - "bottom": "", | |
| 491 | - "left": "", | |
| 492 | - "unit": "px" | |
| 582 | + "borderStyle": "default", | |
| 583 | + "borderStyleH": "default", | |
| 584 | + "borderColor": "", | |
| 585 | + "borderColorH": "", | |
| 586 | + "isLinkedWidth": true, | |
| 587 | + "isLinkedWidthTablet": true, | |
| 588 | + "isLinkedWidthMobile": true, | |
| 589 | + "commonWidth": "", | |
| 590 | + "topWidth": "", | |
| 591 | + "rightWidth": "", | |
| 592 | + "bottomWidth": "", | |
| 593 | + "leftWidth": "", | |
| 594 | + "unitWidth": "px", | |
| 595 | + "isLinkedWidthH": true, | |
| 596 | + "isLinkedWidthHTablet": true, | |
| 597 | + "isLinkedWidthHMobile": true, | |
| 598 | + "commonWidthH": "", | |
| 599 | + "topWidthH": "", | |
| 600 | + "rightWidthH": "", | |
| 601 | + "bottomWidthH": "", | |
| 602 | + "leftWidthH": "", | |
| 603 | + "unitWidthH": "px", | |
| 604 | + "isLinkedRadius": true, | |
| 605 | + "commonRadius": "", | |
| 606 | + "topRadius": "", | |
| 607 | + "rightRadius": "", | |
| 608 | + "bottomRadius": "", | |
| 609 | + "leftRadius": "", | |
| 610 | + "unitRadius": "px", | |
| 611 | + "isLinkedRadiusH": true, | |
| 612 | + "isLinkedRadiusHTablet": true, | |
| 613 | + "isLinkedRadiusHMobile": true, | |
| 614 | + "commonRadiusH": "", | |
| 615 | + "topRadiusH": "", | |
| 616 | + "leftRadiusH": "", | |
| 617 | + "unitRadiusH": "px", | |
| 618 | + "transitionDuration": "" | |
| 493 | 619 | } |
| 494 | 620 | }, |
| 495 | - "passwordHideBorderWidth": { | |
| 621 | + "passwordHideBoxShadow": { | |
| 496 | 622 | "type": "object", |
| 497 | 623 | "default": { |
| 498 | - "isLinked": true, | |
| 499 | - "common": "", | |
| 500 | - "top": "", | |
| 501 | - "right": "", | |
| 502 | - "bottom": "", | |
| 503 | - "left": "", | |
| 504 | - "unit": "px" | |
| 624 | + "preset": "", | |
| 625 | + "shadowType": "default", | |
| 626 | + "shadow": "", | |
| 627 | + "horizontal": "", | |
| 628 | + "vertical": "", | |
| 629 | + "blur": "", | |
| 630 | + "spread": "", | |
| 631 | + "color": "", | |
| 632 | + "presetH": "", | |
| 633 | + "shadowTypeH": "default", | |
| 634 | + "shadowH": "", | |
| 635 | + "horizontalH": "", | |
| 636 | + "verticalH": "", | |
| 637 | + "blurH": "", | |
| 638 | + "spreadH": "", | |
| 639 | + "colorH": "", | |
| 640 | + "transitionDuration": "0" | |
| 505 | 641 | } |
| 506 | 642 | }, |
| 507 | 643 | "passwordHideSize": { |
| 508 | 644 | "type": "number", |
| @@ -568,8 +704,19 @@ | ||
| 568 | 704 | "inputIconSpace": { |
| 569 | 705 | "type": "number", |
| 570 | 706 | "default": 38 |
| 571 | 707 | }, |
| 708 | + "inputWidth": { | |
| 709 | + "type": "object", | |
| 710 | + "default": { | |
| 711 | + "value": 100, | |
| 712 | + "valueTablet": "", | |
| 713 | + "valueMobile": "", | |
| 714 | + "valueUnit": "%", | |
| 715 | + "valueUnitTablet": "", | |
| 716 | + "valueUnitMobile": "" | |
| 717 | + } | |
| 718 | + }, | |
| 572 | 719 | "_margin": { |
| 573 | 720 | "type": "object", |
| 574 | 721 | "default": { |
| 575 | 722 | "isLinked": true, |
| @@ -991,9 +1138,9 @@ | ||
| 991 | 1138 | "xPositionUnitMobile": "px", |
| 992 | 1139 | "xPosition": "", |
| 993 | 1140 | "xPositionTablet": "0", |
| 994 | 1141 | "xPositionMobile": "0", |
| 995 | - "yPositionUnit": "0", | |
| 1142 | + "yPositionUnit": "px", | |
| 996 | 1143 | "yPositionUnitTablet": "px", |
| 997 | 1144 | "yPositionUnitMobile": "px", |
| 998 | 1145 | "yPosition": "0", |
| 999 | 1146 | "yPositionTablet": "0", |
| @@ -1031,8 +1178,34 @@ | ||
| 1031 | 1178 | "colorH": "", |
| 1032 | 1179 | "transitionDuration": "0" |
| 1033 | 1180 | } |
| 1034 | 1181 | }, |
| 1182 | + "_gsapAnimation": { | |
| 1183 | + "type": "object", | |
| 1184 | + "default": { | |
| 1185 | + "animationType": "none", | |
| 1186 | + "duration": 1, | |
| 1187 | + "delay": 0, | |
| 1188 | + "triggerType": "scroll", | |
| 1189 | + "ease": "none", | |
| 1190 | + "x": 0, | |
| 1191 | + "y": 0, | |
| 1192 | + "rotation": 0, | |
| 1193 | + "rotationY": 0, | |
| 1194 | + "opacity": 1, | |
| 1195 | + "xTo": 0, | |
| 1196 | + "yTo": 0, | |
| 1197 | + "rotationTo": 0, | |
| 1198 | + "rotationYTo": 0, | |
| 1199 | + "opacityTo": 1, | |
| 1200 | + "easeTo": "none", | |
| 1201 | + "loops": false, | |
| 1202 | + "numberOfRepeat": 0, | |
| 1203 | + "isSmooth": true, | |
| 1204 | + "startPoint": 80, | |
| 1205 | + "endPoint": 10 | |
| 1206 | + } | |
| 1207 | + }, | |
| 1035 | 1208 | "_hide_on_desktop": { |
| 1036 | 1209 | "type": "boolean", |
| 1037 | 1210 | "default": false |
| 1038 | 1211 | }, |
| @@ -1046,7 +1219,21 @@ | ||
| 1046 | 1219 | }, |
| 1047 | 1220 | "_custom_css": { |
| 1048 | 1221 | "type": "string", |
| 1049 | 1222 | "default": "" |
| 1223 | + }, | |
| 1224 | + "_animation_element_trigger": { | |
| 1225 | + "type": "array", | |
| 1226 | + "default": [], | |
| 1227 | + "items": { | |
| 1228 | + "type": "object" | |
| 1229 | + } | |
| 1230 | + }, | |
| 1231 | + "_animation_page_trigger": { | |
| 1232 | + "type": "array", | |
| 1233 | + "default": [], | |
| 1234 | + "items": { | |
| 1235 | + "type": "object" | |
| 1236 | + } | |
| 1050 | 1237 | } |
| 1051 | 1238 | } |
| 1052 | 1239 | } |