@social-mail/social-mail-client 1.8.75 → 1.8.77

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.
Files changed (131) hide show
  1. package/dist/site-editor/suggestions/editorSuggestions.d.ts +8 -1
  2. package/dist/site-editor/suggestions/editorSuggestions.d.ts.map +1 -1
  3. package/dist/site-editor/suggestions/properties/animations/animations.d.ts +2 -0
  4. package/dist/site-editor/suggestions/properties/animations/animations.d.ts.map +1 -1
  5. package/dist/site-editor/suggestions/properties/animations/animations.js +20 -19
  6. package/dist/site-editor/suggestions/properties/animations/animations.js.map +1 -1
  7. package/dist/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.d.ts.map +1 -1
  8. package/dist/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.js +1 -1
  9. package/dist/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.js.map +1 -1
  10. package/dist/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.d.ts.map +1 -1
  11. package/dist/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.js +1 -1
  12. package/dist/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.js.map +1 -1
  13. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.d.ts +1 -4
  14. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.d.ts.map +1 -1
  15. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.js +8 -5
  16. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.js.map +1 -1
  17. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.d.ts +2 -0
  18. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.d.ts.map +1 -0
  19. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.js +38 -0
  20. package/dist/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.js.map +1 -0
  21. package/dist/site-editor/suggestions/properties/animations/key-frames/css.d.ts +33 -3
  22. package/dist/site-editor/suggestions/properties/animations/key-frames/css.d.ts.map +1 -1
  23. package/dist/site-editor/suggestions/properties/animations/key-frames/css.js +63 -6
  24. package/dist/site-editor/suggestions/properties/animations/key-frames/css.js.map +1 -1
  25. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.d.ts +1 -0
  26. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.d.ts.map +1 -1
  27. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.js +19 -3
  28. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.js.map +1 -1
  29. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.d.ts +1 -6
  30. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.d.ts.map +1 -1
  31. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.js +19 -11
  32. package/dist/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.js.map +1 -1
  33. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-in.d.ts +1 -6
  34. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-in.d.ts.map +1 -1
  35. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-in.js +20 -11
  36. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-in.js.map +1 -1
  37. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-out.d.ts +1 -6
  38. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-out.d.ts.map +1 -1
  39. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-out.js +20 -11
  40. package/dist/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-out.js.map +1 -1
  41. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-in.d.ts +1 -6
  42. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-in.d.ts.map +1 -1
  43. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-in.js +20 -11
  44. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-in.js.map +1 -1
  45. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-out.d.ts +1 -6
  46. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-out.d.ts.map +1 -1
  47. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-out.js +20 -11
  48. package/dist/site-editor/suggestions/properties/animations/key-frames/scale/scale-out.js.map +1 -1
  49. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-in.d.ts +2 -0
  50. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-in.d.ts.map +1 -0
  51. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-in.js +28 -0
  52. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-in.js.map +1 -0
  53. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-out.d.ts +2 -0
  54. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-out.d.ts.map +1 -0
  55. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-out.js +28 -0
  56. package/dist/site-editor/suggestions/properties/animations/key-frames/slide/slide-out.js.map +1 -0
  57. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-in.d.ts +2 -0
  58. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-in.d.ts.map +1 -0
  59. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-in.js +33 -0
  60. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-in.js.map +1 -0
  61. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-out.d.ts +2 -0
  62. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-out.d.ts.map +1 -0
  63. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-out.js +28 -0
  64. package/dist/site-editor/suggestions/properties/animations/key-frames/speed/speed-out.js.map +1 -0
  65. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-in.d.ts +1 -6
  66. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-in.d.ts.map +1 -1
  67. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-in.js +20 -11
  68. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-in.js.map +1 -1
  69. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-out.d.ts +1 -6
  70. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-out.d.ts.map +1 -1
  71. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-out.js +20 -11
  72. package/dist/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-out.js.map +1 -1
  73. package/dist/site-editor/suggestions/properties/border.d.ts +8 -1
  74. package/dist/site-editor/suggestions/properties/border.d.ts.map +1 -1
  75. package/dist/site-editor/suggestions/properties/border.js +8 -4
  76. package/dist/site-editor/suggestions/properties/border.js.map +1 -1
  77. package/dist/site-editor-app/SiteEditorApp.pack.js +346 -148
  78. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  79. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  80. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  81. package/dist/tsconfig.tsbuildinfo +1 -1
  82. package/package.json +1 -1
  83. package/src/site-editor/suggestions/properties/animations/animations.ts +36 -30
  84. package/src/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.ts +13 -12
  85. package/src/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.ts +13 -12
  86. package/src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.ts +12 -28
  87. package/src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.ts +45 -0
  88. package/src/site-editor/suggestions/properties/animations/key-frames/css.ts +67 -22
  89. package/src/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.ts +18 -1
  90. package/src/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.ts +16 -11
  91. package/src/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-in.ts +16 -11
  92. package/src/site-editor/suggestions/properties/animations/key-frames/rotate/rotate-out.ts +16 -11
  93. package/src/site-editor/suggestions/properties/animations/key-frames/scale/scale-in.ts +16 -11
  94. package/src/site-editor/suggestions/properties/animations/key-frames/scale/scale-out.ts +16 -11
  95. package/src/site-editor/suggestions/properties/animations/key-frames/slide/slide-in.ts +14 -0
  96. package/src/site-editor/suggestions/properties/animations/key-frames/slide/slide-out.ts +14 -0
  97. package/src/site-editor/suggestions/properties/animations/key-frames/speed/speed-in.ts +19 -0
  98. package/src/site-editor/suggestions/properties/animations/key-frames/speed/speed-out.ts +14 -0
  99. package/src/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-in.ts +16 -11
  100. package/src/site-editor/suggestions/properties/animations/key-frames/zoom/zoom-out.ts +16 -11
  101. package/src/site-editor/suggestions/properties/border.ts +21 -2
  102. package/styler-lite/styler.css +1 -1
  103. package/styler-lite/styler.css.map +1 -1
  104. package/styler-lite/styles/animations/animations/generated.css +3200 -0
  105. package/styler-lite/styles/animations/animations/generated.css.js +91 -0
  106. package/styler-lite/styles/animations/animations/generated.css.map +1 -0
  107. package/styler-lite/styles/animations/animations/key-frames/blur/blur-in.js +17 -0
  108. package/styler-lite/styles/animations/animations/key-frames/blur/blur-out.js +17 -0
  109. package/styler-lite/styles/animations/animations/key-frames/bounce/bounce-in.js +43 -0
  110. package/styler-lite/styles/animations/animations/key-frames/bounce/bounce-out.js +43 -0
  111. package/styler-lite/styles/animations/animations/key-frames/css.js +119 -0
  112. package/styler-lite/styles/animations/animations/key-frames/fade/fade-in.js +16 -0
  113. package/styler-lite/styles/animations/animations/key-frames/fade/fade-out.js +16 -0
  114. package/styler-lite/styles/animations/animations/key-frames/rotate/rotate-in.js +16 -0
  115. package/styler-lite/styles/animations/animations/key-frames/rotate/rotate-out.js +16 -0
  116. package/styler-lite/styles/animations/animations/key-frames/scale/scale-in.js +16 -0
  117. package/styler-lite/styles/animations/animations/key-frames/scale/scale-out.js +16 -0
  118. package/styler-lite/styles/animations/animations/key-frames/slide/slide-in.js +14 -0
  119. package/styler-lite/styles/animations/animations/key-frames/slide/slide-out.js +14 -0
  120. package/styler-lite/styles/animations/animations/key-frames/speed/speed-in.js +19 -0
  121. package/styler-lite/styles/animations/animations/key-frames/speed/speed-out.js +14 -0
  122. package/styler-lite/styles/animations/animations/key-frames/zoom/zoom-in.js +16 -0
  123. package/styler-lite/styles/animations/animations/key-frames/zoom/zoom-out.js +16 -0
  124. package/styler-lite/styles/properties/border/border.css +0 -3
  125. package/dist/site-editor/suggestions/properties/animations/key-frames/cssTranslate.d.ts +0 -9
  126. package/dist/site-editor/suggestions/properties/animations/key-frames/cssTranslate.d.ts.map +0 -1
  127. package/dist/site-editor/suggestions/properties/animations/key-frames/cssTranslate.js +0 -45
  128. package/dist/site-editor/suggestions/properties/animations/key-frames/cssTranslate.js.map +0 -1
  129. package/src/site-editor/suggestions/properties/animations/key-frames/cssTranslate.ts +0 -84
  130. package/styler-lite/styles/animations/animations/fade-in.css +0 -0
  131. package/styler-lite/styles/animations/main-key-frames.css +0 -44
@@ -496,7 +496,14 @@ export declare const editorSuggestions: {
496
496
  label: string;
497
497
  value: string;
498
498
  }[];
499
- "styler-border": string[];
499
+ "styler-border": (string | {
500
+ label: string;
501
+ value: string;
502
+ })[];
503
+ "styler-border-style": {
504
+ label: string;
505
+ value: string;
506
+ }[];
500
507
  "styler-border-width": {
501
508
  label: string;
502
509
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"editorSuggestions.d.ts","sourceRoot":"","sources":["../../../src/site-editor/suggestions/editorSuggestions.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB7B,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { IAnimation } from "./key-frames/css";
2
+ export declare const generatedAnimations: IAnimation[];
1
3
  export declare const animationSuggestions: {
2
4
  "styler-on-enter": {
3
5
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../../src/site-editor/suggestions/properties/animations/animations.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
1
+ {"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../../src/site-editor/suggestions/properties/animations/animations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAY9C,eAAO,MAAM,mBAAmB,cAqB/B,CAAC;AAIF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
@@ -1,41 +1,42 @@
1
- System.register(["../../pair", "./key-frames/blur/blur-in", "./key-frames/blur/blur-out", "./key-frames/bounce/bounce-in", "./key-frames/cssTranslate", "./key-frames/fade/fade-in", "./key-frames/fade/fade-out", "./key-frames/rotate/rotate-in", "./key-frames/rotate/rotate-out", "./key-frames/scale/scale-in", "./key-frames/scale/scale-out", "./key-frames/zoom/zoom-in", "./key-frames/zoom/zoom-out"], function (_export, _context) {
1
+ System.register(["../../pair", "./key-frames/blur/blur-in", "./key-frames/blur/blur-out", "./key-frames/bounce/bounce-in", "./key-frames/bounce/bounce-out", "./key-frames/fade/fade-in", "./key-frames/fade/fade-out", "./key-frames/rotate/rotate-in", "./key-frames/rotate/rotate-out", "./key-frames/scale/scale-in", "./key-frames/scale/scale-out", "./key-frames/slide/slide-in", "./key-frames/slide/slide-out", "./key-frames/zoom/zoom-in", "./key-frames/zoom/zoom-out"], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var jsonPair, blurIns, blurOuts, bounces, cssTranslate, fadeIn, fadeOut, rotateIn, rotateOut, scaleIn, scaleOut, zoomIn, zoomOut, jsonKeyframe, animations, animationSuggestions;
4
+ var pair, blurIns, blurOuts, bounceIns, bounceOuts, fadeIns, fadeOuts, rotateIns, rotateOuts, scaleIns, scaleOuts, slideIns, slideOuts, zoomIns, zoomOuts, generatedAnimations, animations, animationSuggestions;
5
5
  return {
6
6
  setters: [function (_pair) {
7
- jsonPair = _pair.jsonPair;
7
+ pair = _pair.default;
8
8
  }, function (_keyFramesBlurBlurIn) {
9
9
  blurIns = _keyFramesBlurBlurIn.blurIns;
10
10
  }, function (_keyFramesBlurBlurOut) {
11
11
  blurOuts = _keyFramesBlurBlurOut.blurOuts;
12
12
  }, function (_keyFramesBounceBounceIn) {
13
- bounces = _keyFramesBounceBounceIn.bounces;
14
- }, function (_keyFramesCssTranslate) {
15
- cssTranslate = _keyFramesCssTranslate.cssTranslate;
13
+ bounceIns = _keyFramesBounceBounceIn.bounceIns;
14
+ }, function (_keyFramesBounceBounceOut) {
15
+ bounceOuts = _keyFramesBounceBounceOut.bounceOuts;
16
16
  }, function (_keyFramesFadeFadeIn) {
17
- fadeIn = _keyFramesFadeFadeIn.fadeIn;
17
+ fadeIns = _keyFramesFadeFadeIn.fadeIns;
18
18
  }, function (_keyFramesFadeFadeOut) {
19
- fadeOut = _keyFramesFadeFadeOut.fadeOut;
19
+ fadeOuts = _keyFramesFadeFadeOut.fadeOuts;
20
20
  }, function (_keyFramesRotateRotateIn) {
21
- rotateIn = _keyFramesRotateRotateIn.rotateIn;
21
+ rotateIns = _keyFramesRotateRotateIn.rotateIns;
22
22
  }, function (_keyFramesRotateRotateOut) {
23
- rotateOut = _keyFramesRotateRotateOut.rotateOut;
23
+ rotateOuts = _keyFramesRotateRotateOut.rotateOuts;
24
24
  }, function (_keyFramesScaleScaleIn) {
25
- scaleIn = _keyFramesScaleScaleIn.scaleIn;
25
+ scaleIns = _keyFramesScaleScaleIn.scaleIns;
26
26
  }, function (_keyFramesScaleScaleOut) {
27
- scaleOut = _keyFramesScaleScaleOut.scaleOut;
27
+ scaleOuts = _keyFramesScaleScaleOut.scaleOuts;
28
+ }, function (_keyFramesSlideSlideIn) {
29
+ slideIns = _keyFramesSlideSlideIn.slideIns;
30
+ }, function (_keyFramesSlideSlideOut) {
31
+ slideOuts = _keyFramesSlideSlideOut.slideOuts;
28
32
  }, function (_keyFramesZoomZoomIn) {
29
- zoomIn = _keyFramesZoomZoomIn.zoomIn;
33
+ zoomIns = _keyFramesZoomZoomIn.zoomIns;
30
34
  }, function (_keyFramesZoomZoomOut) {
31
- zoomOut = _keyFramesZoomZoomOut.zoomOut;
35
+ zoomOuts = _keyFramesZoomZoomOut.zoomOuts;
32
36
  }],
33
37
  execute: function () {
34
- jsonKeyframe = x => jsonPair(x.title, x);
35
- animations = [jsonPair("fade-in", fadeIn), jsonPair("fade-out", fadeOut), ...blurIns.map(jsonKeyframe), ...blurOuts.map(jsonKeyframe), jsonPair("zoom-in", zoomIn), jsonPair("zoom-out", zoomOut), jsonPair("scale-in", scaleIn), jsonPair("scale-out", scaleOut), jsonPair("rotate-in", rotateIn), jsonPair("rotate-out", rotateOut), ...cssTranslate({
36
- title: "slide",
37
- keyframes: [{}, {}]
38
- }).map(x => jsonPair(x.title, x)), ...bounces.map(x => jsonPair(x.title, x))];
38
+ _export("generatedAnimations", generatedAnimations = [...blurIns, ...blurOuts, ...bounceIns, ...bounceOuts, ...fadeIns, ...fadeOuts, ...rotateIns, ...rotateOuts, ...scaleIns, ...scaleOuts, ...zoomIns, ...zoomOuts, ...slideIns, ...slideOuts]);
39
+ animations = generatedAnimations.map(x => pair(x.title, x.title));
39
40
  _export("animationSuggestions", animationSuggestions = {
40
41
  "styler-on-enter": animations,
41
42
  "styler-on-enter-effect-1": animations,
@@ -1 +1 @@
1
- {"version":3,"names":["jsonPair","_pair","_keyFramesBlurBlurIn","blurIns","_keyFramesBlurBlurOut","blurOuts","_keyFramesBounceBounceIn","bounces","_keyFramesCssTranslate","cssTranslate","_keyFramesFadeFadeIn","fadeIn","_keyFramesFadeFadeOut","fadeOut","_keyFramesRotateRotateIn","rotateIn","_keyFramesRotateRotateOut","rotateOut","_keyFramesScaleScaleIn","scaleIn","_keyFramesScaleScaleOut","scaleOut","_keyFramesZoomZoomIn","zoomIn","_keyFramesZoomZoomOut","zoomOut","execute","jsonKeyframe","x","title","animations","map","keyframes","_export","animationSuggestions"],"sources":["../../../../../src/site-editor/suggestions/properties/animations/animations.ts"],"sourcesContent":[null],"mappings":";;;;;;MAAeA,QAAQ,GAAAC,KAAA,CAARD,QAAQ;IAAA,aAAAE,oBAAA;MACdC,OAAO,GAAAD,oBAAA,CAAPC,OAAO;IAAA,aAAAC,qBAAA;MACPC,QAAQ,GAAAD,qBAAA,CAARC,QAAQ;IAAA,aAAAC,wBAAA;MACRC,OAAO,GAAAD,wBAAA,CAAPC,OAAO;IAAA,aAAAC,sBAAA;MAEPC,YAAY,GAAAD,sBAAA,CAAZC,YAAY;IAAA,aAAAC,oBAAA;MACZC,MAAM,GAAAD,oBAAA,CAANC,MAAM;IAAA,aAAAC,qBAAA;MACNC,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,CAAC,EAC1F,GAAIrB,OAAO,CAACwB,GAAG,CAAEH,CAAC,IAAK5B,QAAQ,CAAC4B,CAAC,CAACC,KAAK,EAAED,CAAC,CAAC,CAAC,CAE/C;MAAAK,OAAA,yBAEYC,oBAAoB,GAAG;QAChC,iBAAiB,EAAEJ,UAAU;QAC7B,0BAA0B,EAAEA,UAAU;QACtC,0BAA0B,EAAEA,UAAU;QACtC,iBAAiB,EAAEA,UAAU;QAC7B,0BAA0B,EAAEA,UAAU;QACtC,0BAA0B,EAAEA,UAAU;QACtC,iBAAiB,EAAEA,UAAU;QAC7B,0BAA0B,EAAEA,UAAU;QACtC,0BAA0B,EAAEA,UAAU;QACtC,kBAAkB,EAAEA,UAAU;QAC9B,2BAA2B,EAAEA,UAAU;QACvC,2BAA2B,EAAEA,UAAU;QACvC,wBAAwB,EAAEA,UAAU;QACpC,iCAAiC,EAAEA,UAAU;QAC7C,iCAAiC,EAAEA,UAAU;QAC7C,2BAA2B,EAAEA,UAAU;QACvC,oCAAoC,EAAEA,UAAU;QAChD,oCAAoC,EAAEA;OAEzC;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["pair","_pair","default","_keyFramesBlurBlurIn","blurIns","_keyFramesBlurBlurOut","blurOuts","_keyFramesBounceBounceIn","bounceIns","_keyFramesBounceBounceOut","bounceOuts","_keyFramesFadeFadeIn","fadeIns","_keyFramesFadeFadeOut","fadeOuts","_keyFramesRotateRotateIn","rotateIns","_keyFramesRotateRotateOut","rotateOuts","_keyFramesScaleScaleIn","scaleIns","_keyFramesScaleScaleOut","scaleOuts","_keyFramesSlideSlideIn","slideIns","_keyFramesSlideSlideOut","slideOuts","_keyFramesZoomZoomIn","zoomIns","_keyFramesZoomZoomOut","zoomOuts","execute","_export","generatedAnimations","animations","map","x","title","animationSuggestions"],"sources":["../../../../../src/site-editor/suggestions/properties/animations/animations.ts"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,IAAkB,GAAAC,KAAA,CAAAC,OA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ACE,GAAG,CAAEC,CAAC,IAAKpC,IAAI,CAACoC,CAAC,CAACC,KAAK,EAAED,CAAC,CAACC,KAAK,CAAC,CAAC;MAAAL,OAAA,yBAE5DM,oBAAoB,GAAG;QAChC,iBAAiB,EAAEJ,UAAU;QAC7B,0BAA0B,EAAEA,UAAU;QACtC,0BAA0B,EAAEA,UAAU;QACtC,iBAAiB,EAAEA,UAAU;QAC7B,0BAA0B,EAAEA,UAAU;QACtC,0BAA0B,EAAEA,UAAU;QACtC,iBAAiB,EAAEA,UAAU;QAC7B,0BAA0B,EAAEA,UAAU;QACtC,0BAA0B,EAAEA,UAAU;QACtC,kBAAkB,EAAEA,UAAU;QAC9B,2BAA2B,EAAEA,UAAU;QACvC,2BAA2B,EAAEA,UAAU;QACvC,wBAAwB,EAAEA,UAAU;QACpC,iCAAiC,EAAEA,UAAU;QAC7C,iCAAiC,EAAEA,UAAU;QAC7C,2BAA2B,EAAEA,UAAU;QACvC,oCAAoC,EAAEA,UAAU;QAChD,oCAAoC,EAAEA;OAEzC;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"blur-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,+BAWlB,CAAC"}
1
+ {"version":3,"file":"blur-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,+BAWd,CACL"}
@@ -18,7 +18,7 @@ System.register(["../css"], function (_export, _context) {
18
18
  px,
19
19
  move
20
20
  } = CSSBuilder);
21
- _export("blurIns", blurIns = move("blur-in", (title, x, y, z) => animation(title, keyFrame(0, opacity(0), transform(translate3d(x, y, z)), backdropFilter(blur(px(10)))), keyFrame(100, opacity(1), transform(), backdropFilter(blur(px(0)))))));
21
+ _export("blurIns", blurIns = move("blur-in", "from", (title, d, x, y, z) => animation(title, keyFrame(0, opacity(0), d && translate3d(x, y, z), backdropFilter(blur(px(10)))), keyFrame(100, opacity(1), d && translate3d(), backdropFilter(blur(px(0)))))));
22
22
  }
23
23
  };
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"names":["CSSBuilder","_css","execute","animation","keyFrame","backdropFilter","blur","opacity","transform","translate3d","px","move","_export","blurIns","title","x","y","z"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,cAAc;QAAEC,IAAI;QAAEC,OAAO;QAAEC,SAAS;QAAEC,WAAW;QAAEC,EAAE;QAAEC;MAAI,CAAE,GAAGX,UAAU;MAAAY,OAAA,YAE9FC,OAAO,GAAGF,IAAI,CAAC,SAAS,EAAE,CAACG,KAAK,EAAEC,CAAC,EAAEC,CAAC,EAAEC,CAAC,KAAKd,SAAS,CAACW,KAAK,EACtEV,QAAQ,CAAC,CAAC,EACNG,OAAO,CAAC,CAAC,CAAC,EACVC,SAAS,CAACC,WAAW,CAACM,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,CAAC,EAC/BZ,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAC/B,EACDN,QAAQ,CAAC,GAAG,EACRG,OAAO,CAAC,CAAC,CAAC,EACVC,SAAS,EAAE,EACXH,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9B,CACJ,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["CSSBuilder","_css","execute","animation","keyFrame","backdropFilter","blur","opacity","transform","translate3d","px","move","_export","blurIns","title","d","x","y","z"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-in.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,cAAc;QAAEC,IAAI;QAAEC,OAAO;QAAEC,SAAS;QAAEC,WAAW;QAAEC,EAAE;QAAEC;MAAI,CAAE,GAAGX,UAAU;MAAAY,OAAA,YAE9FC,OAAO,GAAGF,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,CAACG,KAAK,EAAEC,CAAC,EAAGC,CAAC,EAAEC,CAAC,EAAEC,CAAC,KAAKf,SAAS,CAACW,KAAK,EAC9EV,QAAQ,CAAC,CAAC,EACNG,OAAO,CAAC,CAAC,CAAC,EACVQ,CAAC,IAAIN,WAAW,CAACO,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,EACzBb,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAC/B,EACDN,QAAQ,CAAC,GAAG,EACRG,OAAO,CAAC,CAAC,CAAC,EACVQ,CAAC,IAAIN,WAAW,EAAE,EAClBJ,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9B,CACJ,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"blur-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,+BAWnB,CAAC"}
1
+ {"version":3,"file":"blur-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,+BAWf,CACL"}
@@ -18,7 +18,7 @@ System.register(["../css"], function (_export, _context) {
18
18
  px,
19
19
  move
20
20
  } = CSSBuilder);
21
- _export("blurOuts", blurOuts = move("blur-out", (title, x, y, z) => animation(title, keyFrame(0, opacity(1), transform(translate3d(x, y, z)), backdropFilter(blur(px(0)))), keyFrame(100, opacity(0), transform(), backdropFilter(blur(px(10)))))));
21
+ _export("blurOuts", blurOuts = move("blur-out", "to", (title, d, x, y, z) => animation(title, keyFrame(0, opacity(1), d && translate3d(), backdropFilter(blur(px(10)))), keyFrame(100, opacity(0), d && translate3d(x, y, z), backdropFilter(blur(px(0)))))));
22
22
  }
23
23
  };
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"names":["CSSBuilder","_css","execute","animation","keyFrame","backdropFilter","blur","opacity","transform","translate3d","px","move","_export","blurOuts","title","x","y","z"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,cAAc;QAAEC,IAAI;QAAEC,OAAO;QAAEC,SAAS;QAAEC,WAAW;QAAEC,EAAE;QAAEC;MAAI,CAAE,GAAGX,UAAU;MAAAY,OAAA,aAE9FC,QAAQ,GAAGF,IAAI,CAAC,UAAU,EAAE,CAACG,KAAK,EAAEC,CAAC,EAAEC,CAAC,EAAEC,CAAC,KAAKd,SAAS,CAACW,KAAK,EACxEV,QAAQ,CAAC,CAAC,EACNG,OAAO,CAAC,CAAC,CAAC,EACVC,SAAS,CAACC,WAAW,CAACM,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,CAAC,EAC/BZ,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9B,EACDN,QAAQ,CAAC,GAAG,EACRG,OAAO,CAAC,CAAC,CAAC,EACVC,SAAS,EAAE,EACXH,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAC/B,CACJ,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["CSSBuilder","_css","execute","animation","keyFrame","backdropFilter","blur","opacity","transform","translate3d","px","move","_export","blurOuts","title","d","x","y","z"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/blur/blur-out.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,cAAc;QAAEC,IAAI;QAAEC,OAAO;QAAEC,SAAS;QAAEC,WAAW;QAAEC,EAAE;QAAEC;MAAI,CAAE,GAAGX,UAAU;MAAAY,OAAA,aAE9FC,QAAQ,GAAGF,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,CAACG,KAAK,EAAEC,CAAC,EAAGC,CAAC,EAAEC,CAAC,EAAEC,CAAC,KAAKf,SAAS,CAACW,KAAK,EAC9EV,QAAQ,CAAC,CAAC,EACNG,OAAO,CAAC,CAAC,CAAC,EACVQ,CAAC,IAAIN,WAAW,EAAE,EAClBJ,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAC/B,EACDN,QAAQ,CAAC,GAAG,EACRG,OAAO,CAAC,CAAC,CAAC,EACVQ,CAAC,IAAIN,WAAW,CAACO,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,EACzBb,cAAc,CAACC,IAAI,CAACI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAC9B,CACJ,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,5 +1,2 @@
1
- export declare const bounces: {
2
- title: string;
3
- keyframes: import("../css").IKeyframe[];
4
- }[];
1
+ export declare const bounceIns: import("../css").IAnimation[];
5
2
  //# sourceMappingURL=bounce-in.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bounce-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,OAAO;;;GAoBnB,CAAC"}
1
+ {"version":3,"file":"bounce-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,SAAS,+BAAoC,CAAC"}
@@ -1,34 +1,37 @@
1
1
  System.register(["../css"], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var CSSBuilder, animation, keyFrame, transitionTimingFunction, opacity, transform, translate3d, perc, vh, vw, px, bounce, bounces;
4
+ var CSSBuilder, move, animation, keyFrame, transitionTimingFunction, opacity, translate3d, perc, vh, vw, px, bounce, bounceIns;
5
5
  return {
6
6
  setters: [function (_css) {
7
7
  CSSBuilder = _css.CSSBuilder;
8
8
  }],
9
9
  execute: function () {
10
10
  ({
11
+ move,
11
12
  animation,
12
13
  keyFrame,
13
14
  transitionTimingFunction,
14
15
  opacity,
15
- transform,
16
16
  translate3d,
17
17
  perc,
18
18
  vh,
19
19
  vw,
20
20
  px
21
21
  } = CSSBuilder);
22
- bounce = (title, x = 0, y = 0, z = 0) => {
22
+ bounce = (title, direction, x = 0, y = 0, z = 0) => {
23
+ if (!direction) {
24
+ return void 0;
25
+ }
23
26
  const mx = (typeof x === "string" ? parseInt(x, 10) : x) > 0 ? 1 : -1;
24
27
  const my = (typeof y === "string" ? parseInt(y, 10) : y) > 0 ? 1 : -1;
25
28
  const mz = (typeof z === "string" ? parseInt(z, 10) : z) > 0 ? 1 : -1;
26
29
  const cx = x ? mx : 0;
27
30
  const cy = y ? my : 0;
28
31
  const cz = z ? mz : 0;
29
- return animation(title, keyFrame("0%, 100%, 60%, 75%, 90%", transitionTimingFunction("cubic-bezier(0.215, .61, .355, 1)")), keyFrame(0, opacity(0), transform(translate3d(x, y, z))), keyFrame(60, opacity(1), transform(translate3d(px(-25 * cx), px(-25 * cy), px(-25 * cz)))), keyFrame(75, transform(translate3d(px(10 * cx), px(10 * cy), px(10 * cz)))), keyFrame(90, transform(translate3d(px(-5 * cx), px(-5 * cy), px(-5 * cz)))), keyFrame(100, transform()));
32
+ return animation(title, keyFrame("0%, 100%, 60%, 75%, 90%", transitionTimingFunction("cubic-bezier(0.215, .61, .355, 1)")), keyFrame(0, opacity(0), translate3d(x, y, z)), keyFrame(60, opacity(1), translate3d(px(-25 * cx), px(-25 * cy), px(-25 * cz))), keyFrame(75, translate3d(px(10 * cx), px(10 * cy), px(10 * cz))), keyFrame(90, translate3d(px(-5 * cx), px(-5 * cy), px(-5 * cz))), keyFrame(100, translate3d()));
30
33
  };
31
- _export("bounces", bounces = [bounce("bounce-from-left", perc(-100), 0, 0), bounce("bounce-from-right", perc(100), 0, 0), bounce("bounce-from-top", 0, perc(-100), 0), bounce("bounce-from-bottom", 0, perc(100), 0), bounce("bounce-from-far-left", vw(-100), 0, 0), bounce("bounce-from-far-right", vw(100), 0, 0), bounce("bounce-from-far-top", 0, vh(-100), 0), bounce("bounce-from-far-bottom", 0, vh(100), 0), bounce("bounce-from-top-left", perc(-100), perc(-100), 0), bounce("bounce-from-top-right", perc(100), perc(-100), 0), bounce("bounce-from-bottom-left", perc(-100), perc(100), 0), bounce("bounce-from-bottom-right", perc(100), perc(100), 0), bounce("bounce-from-far-top-left", vw(-100), vh(-100), 0), bounce("bounce-from-far-top-right", vw(100), vh(-100), 0), bounce("bounce-from-far-bottom-left", vw(-100), vh(100), 0), bounce("bounce-from-far-bottom-right", vw(100), vh(100), 0)]);
34
+ _export("bounceIns", bounceIns = move("bounce-in", "from", bounce));
32
35
  }
33
36
  };
34
37
  });
@@ -1 +1 @@
1
- {"version":3,"names":["CSSBuilder","_css","execute","animation","keyFrame","transitionTimingFunction","opacity","transform","translate3d","perc","vh","vw","px","bounce","title","x","y","z","mx","parseInt","my","mz","cx","cy","cz","_export","bounces"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/boun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AG,CAAC,EAAE,CAAC,CAAC,CAC9D;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["CSSBuilder","_css","execute","move","animation","keyFrame","transitionTimingFunction","opacity","translate3d","perc","vh","vw","px","bounce","title","direction","x","y","z","mx","parseInt","my","mz","cx","cy","cz","_export","bounceIns"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-in.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,IAAI;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,wBAAwB;QAAEC,OAAO;QAAEC,WAAW;QAAEC,IAAI;QAAEC,EAAE;QAAEC,EAAE;QAAEC;MAAE,CAAE,GAAGZ,UAAU;MAE5Ga,MAAM,GAAGA,CAACC,KAAa,EAAEC,SAAkB,EAAEC,CAAA,GAAI,CAAoB,EAAEC,CAAA,GAAI,CAAoB,EAAEC,CAAA,GAAI,CAAoB,KAAI;QAE/H,IAAI,CAACH,SAAS,EAAE;UACZ,OAAO,KAAK,CAAC;;QAGjB,MAAMI,EAAE,GAAG,CAAC,OAAOH,CAAC,KAAK,QAAQ,GAAGI,QAAQ,CAACJ,CAAC,EAAE,EAAE,CAAC,GAAGA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACrE,MAAMK,EAAE,GAAG,CAAC,OAAOJ,CAAC,KAAK,QAAQ,GAAGG,QAAQ,CAACH,CAAC,EAAE,EAAE,CAAC,GAAGA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACrE,MAAMK,EAAE,GAAG,CAAC,OAAOJ,CAAC,KAAK,QAAQ,GAAGE,QAAQ,CAACF,CAAC,EAAE,EAAE,CAAC,GAAGA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAErE,MAAMK,EAAE,GAAGP,CAAC,G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ounce-out.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bounce-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,UAAU,+BAAmC,CAAC"}
@@ -0,0 +1,38 @@
1
+ System.register(["../css"], function (_export, _context) {
2
+ "use strict";
3
+
4
+ var CSSBuilder, move, animation, keyFrame, transitionTimingFunction, opacity, translate3d, perc, vh, vw, px, bounce, bounceOuts;
5
+ return {
6
+ setters: [function (_css) {
7
+ CSSBuilder = _css.CSSBuilder;
8
+ }],
9
+ execute: function () {
10
+ ({
11
+ move,
12
+ animation,
13
+ keyFrame,
14
+ transitionTimingFunction,
15
+ opacity,
16
+ translate3d,
17
+ perc,
18
+ vh,
19
+ vw,
20
+ px
21
+ } = CSSBuilder);
22
+ bounce = (title, direction, x = 0, y = 0, z = 0) => {
23
+ if (!direction) {
24
+ return void 0;
25
+ }
26
+ const mx = (typeof x === "string" ? parseInt(x, 10) : x) > 0 ? 1 : -1;
27
+ const my = (typeof y === "string" ? parseInt(y, 10) : y) > 0 ? 1 : -1;
28
+ const mz = (typeof z === "string" ? parseInt(z, 10) : z) > 0 ? 1 : -1;
29
+ const cx = x ? mx : 0;
30
+ const cy = y ? my : 0;
31
+ const cz = z ? mz : 0;
32
+ return animation(title, keyFrame("0%, 100%, 60%, 75%, 90%", transitionTimingFunction("cubic-bezier(0.215, .61, .355, 1)")), keyFrame(0, opacity(1), translate3d()), keyFrame(60, translate3d(px(-5 * cx), px(-5 * cy), px(-5 * cz))), keyFrame(75, translate3d(px(10 * cx), px(10 * cy), px(10 * cz))), keyFrame(90, translate3d(px(-25 * cx), px(-25 * cy), px(-25 * cz))), keyFrame(100, opacity(0), translate3d(x, y, z)));
33
+ };
34
+ _export("bounceOuts", bounceOuts = move("bounce-out", "to", bounce));
35
+ }
36
+ };
37
+ });
38
+ //# sourceMappingURL=bounce-out.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CSSBuilder","_css","execute","move","animation","keyFrame","transitionTimingFunction","opacity","translate3d","perc","vh","vw","px","bounce","title","direction","x","y","z","mx","parseInt","my","mz","cx","cy","cz","_export","bounceOuts"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/bounce/bounce-out.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,IAAI;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,wBAAwB;QAAEC,OAAO;QAAEC,WAAW;QAAEC,IAAI;QAAEC,EAAE;QAAEC,EAAE;QAAEC;MAAE,CAAE,GAAGZ,UAAU;MAE5Ga,MAAM,GAAGA,CAACC,KAAa,EAAEC,SAAkB,EAAEC,CAAA,GAAI,CAAoB,EAAEC,CAAA,GAAI,CAAoB,EAAEC,CAAA,GAAI,CAAoB,KAAI;QAE/H,IAAG,CAACH,SAAS,EAAE;UACX,OAAO,KAAK,CAAC;;QAGjB,MAAMI,EAAE,GAAG,CAAC,OAAOH,CAAC,KAAK,QAAQ,GAAGI,QAAQ,CAACJ,CAAC,EAAE,EAAE,CAAC,GAAGA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACrE,MAAMK,EAAE,GAAG,CAAC,OAAOJ,CAAC,KAAK,QAAQ,GAAGG,QAAQ,CAACH,CAAC,EAAE,EAAE,CAAC,GAAGA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACrE,MAAMK,EAAE,GAAG,CAAC,OAAOJ,CAAC,KAAK,QAAQ,GAAGE,QAAQ,CAACF,CAAC,EAAE,EAAE,CAAC,GAAGA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAErE,MAAMK,EAAE,GAAGP,CAAC,GAAGG,EAAE,GAAG,CAAC;QACrB,MAAMK,EAAE,GAAGP,CAAC,GAAGI,EAAE,GAAG,CAAC;QACrB,MAAMI,EAAE,GAAGP,CAAC,GAAGI,EAAE,GAAG,CAAC;QAErB,OAAOlB,SAAS,CACZU,KAAK,EACDT,QAAQ,CACJ,yBAAyB,EACzBC,wBAAwB,CAAC,mCAAmC,CAAC,CAChE,EACDD,QAAQ,CAAC,CAAC,EACNE,OAAO,CAAC,CAAC,CAAC,EACVC,WAAW,EAAE,CAChB,EACDH,QAAQ,CAAC,EAAE,EACPG,WAAW,CAACI,EAAE,CAAC,CAAC,CAAC,GAAGW,EAAE,CAAC,EAAEX,EAAE,CAAC,CAAC,CAAC,GAAGY,EAAE,CAAC,EAAEZ,EAAE,CAAC,CAAC,CAAC,GAAGa,EAAE,CAAC,CAAC,CACrD,EACDpB,QAAQ,CAAC,EAAE,EACPG,WAAW,CAACI,EAAE,CAAC,EAAE,GAAGW,EAAE,CAAC,EAAEX,EAAE,CAAC,EAAE,GAAGY,EAAE,CAAC,EAAEZ,EAAE,CAAC,EAAE,GAAGa,EAAE,CAAC,CAAC,CACrD,EACDpB,QAAQ,CAAC,EAAE,EACPG,WAAW,CAACI,EAAE,CAAC,CAAC,EAAE,GAAGW,EAAE,CAAC,EAAEX,EAAE,CAAC,CAAC,EAAE,GAAGY,EAAE,CAAC,EAAEZ,EAAE,CAAC,CAAC,EAAE,GAAGa,EAAE,CAAC,CAAC,CACxD,EACDpB,QAAQ,CAAC,GAAG,EACRE,OAAO,CAAC,CAAC,CAAC,EACVC,WAAW,CAACQ,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,CACvB,CACR;MACL,CAAC;MAAAQ,OAAA,eAEYC,UAAU,GAAGxB,IAAI,CAAC,YAAY,EAAE,IAAI,EAAEU,MAAM,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -4,6 +4,8 @@ export interface IProperties {
4
4
  ["backdrop-filter"]?: string;
5
5
  opacity?: string;
6
6
  scale?: string;
7
+ rotate?: string;
8
+ translate?: string;
7
9
  }
8
10
  export interface IKeyframe extends IProperties {
9
11
  offset: string;
@@ -24,18 +26,46 @@ export declare const CSSBuilder: {
24
26
  transitionTimingFunction: (n: string) => {
25
27
  "transition-timing-function": string;
26
28
  };
27
- translate3d: (x?: string | number, y?: string | number, z?: string | number) => string;
28
- transform: (...n: string[]) => {
29
+ translate3d: (x?: string | number, y?: string | number, z?: string | number) => {
30
+ translate: string;
31
+ toString: () => string;
32
+ };
33
+ transform: (...n: any[]) => {
29
34
  transform: string;
30
35
  };
31
36
  keyFrame: (offset: number | string, ...a: IProperties[]) => IKeyframe;
32
37
  opacity: (n: number) => {
33
38
  opacity: string;
34
39
  };
40
+ rotate: (n?: any) => {
41
+ rotate: string;
42
+ toString: () => string;
43
+ };
44
+ scale: (...x: any[]) => {
45
+ scale: string;
46
+ toString: () => string;
47
+ };
48
+ skew: (n?: any) => {
49
+ rotate: string;
50
+ toString: () => string;
51
+ };
52
+ skewX: (n?: any) => {
53
+ rotate: string;
54
+ toString: () => string;
55
+ };
56
+ skewY: (n?: any) => {
57
+ rotate: string;
58
+ toString: () => string;
59
+ };
60
+ skewZ: (n?: any) => {
61
+ rotate: string;
62
+ toString: () => string;
63
+ };
64
+ deg: (n: number | string) => string;
35
65
  animation: (title: string, ...keyframes: IKeyframe[]) => {
36
66
  title: string;
37
67
  keyframes: IKeyframe[];
38
68
  };
39
- move: (title: any, fx: (t: string, x?: string | number, y?: string | number, z?: string | number) => IAnimation) => IAnimation[];
69
+ move: (title: any, direction: any, fx: (t: string, d?: string, x?: string | number, y?: string | number, z?: string | number) => IAnimation) => IAnimation[];
40
70
  };
41
71
  //# sourceMappingURL=css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../../../../src/site-editor/suggestions/properties/animations/key-frames/css.ts"],"names":[],"mappings":"AAyBA,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,4BAA4B,CAAC,CAAC,EAAE,MAAM,CAAC;IACxC,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC1C,MAAM,EAAE,MAAM,CAAC;CAClB;AAUD,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,EAAE,CAAC;CAC1B;AA+BD,eAAO,MAAM,UAAU;;cA1DN,MAAM,GAAG,MAAM;wBAFL,MAAM;;;;;YAZlB,MAAM,GAAG,MAAM;kCAUO,MAAM;;;;sBAFjB,MAAM,EAAE;;;uBAsBR,MAAM,GAAG,MAAM,QAAS,WAAW,EAAE,KAAG,SAAS;iBAMvD,MAAM;;;uBAgDH,MAAM,gBAAiB,SAAS,EAAE;;;;+BAtC5B,MAAM,MAAM,MAAM,GAAG,MAAM,MAAM,MAAM,GAAG,MAAM,MAAO,MAAM,GAAG,MAAM,KAAK,UAAU;CA2CjH,CAAC"}
1
+ {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../../../../src/site-editor/suggestions/properties/animations/key-frames/css.ts"],"names":[],"mappings":"AAsDA,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,4BAA4B,CAAC,CAAC,EAAE,MAAM,CAAC;IACxC,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC1C,MAAM,EAAE,MAAM,CAAC;CAClB;AAYD,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,EAAE,CAAC;CAC1B;AAoCD,eAAO,MAAM,UAAU;;cAnEN,MAAM,GAAG,MAAM;wBAFL,MAAM;;;;;YAzClB,MAAM,GAAG,MAAM;kCAuCO,MAAM;;;;;;;sBAFjB,GAAG,EAAE;;;uBAwBL,MAAM,GAAG,MAAM,QAAS,WAAW,EAAE,KAAG,SAAS;iBAMvD,MAAM;;;;;;;kBApCJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;aA3BX,MAAM,GAAG,MAAM;uBA6HR,MAAM,gBAAiB,SAAS,EAAE;;;;+CAlDjB,MAAM,MAAM,MAAM,MAAM,MAAM,GAAG,MAAM,MAAM,MAAM,GAAG,MAAM,MAAO,MAAM,GAAG,MAAM,KAAK,UAAU;CAuDxI,CAAC"}
@@ -1,13 +1,62 @@
1
1
  System.register([], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var px, translate3d, transform, transitionTimingFunction, backdropFilter, blur, perc, keyFrame, opacity, vh, vw, move, CSSBuilder;
4
+ var px, deg, translate3d, rotate, skew, skewX, skewY, skewZ, scale, transform, transitionTimingFunction, backdropFilter, blur, perc, keyFrame, opacity, vh, vw, move, CSSBuilder;
5
5
  return {
6
6
  setters: [],
7
7
  execute: function () {
8
8
  ;
9
9
  px = n => n === 0 ? 0 : typeof n === "string" ? n : `${n}px`;
10
- translate3d = (x = 0, y = 0, z = 0) => x || y || z ? `translate3d(${px(x)}, ${px(y)}, ${px(z)})` : "none";
10
+ deg = n => typeof n === "string" ? n : `${n}deg`;
11
+ translate3d = (x = 0, y = 0, z = 0) => x || y || z ? {
12
+ translate: `${px(x)} ${px(y)} ${px(z)}`,
13
+ toString: () => `translate3d(${px(x)}, ${px(y)}, ${px(z)})`
14
+ } : {
15
+ translate: "none",
16
+ toString: () => "none"
17
+ };
18
+ rotate = n => n ? {
19
+ rotate: deg(n),
20
+ toString: () => `rotate(${n})`
21
+ } : {
22
+ rotate: "none",
23
+ toString: () => `rotate(0deg)`
24
+ };
25
+ skew = n => n ? {
26
+ rotate: deg(n),
27
+ toString: () => `skew(${n})`
28
+ } : {
29
+ rotate: "none",
30
+ toString: () => `skew(0deg)`
31
+ };
32
+ skewX = n => n ? {
33
+ rotate: deg(n),
34
+ toString: () => `skewX(${n})`
35
+ } : {
36
+ rotate: "none",
37
+ toString: () => `skewX(0deg)`
38
+ };
39
+ skewY = n => n ? {
40
+ rotate: deg(n),
41
+ toString: () => `skewY(${n})`
42
+ } : {
43
+ rotate: "none",
44
+ toString: () => `skewY(0deg)`
45
+ };
46
+ skewZ = n => n ? {
47
+ rotate: deg(n),
48
+ toString: () => `skewZ(${n})`
49
+ } : {
50
+ rotate: "none",
51
+ toString: () => `skewZ(0deg)`
52
+ };
53
+ scale = (...x) => x.length ? {
54
+ scale: `${x.join(" ")}`,
55
+ toString: () => `scale(${x.join(",")})`
56
+ } : {
57
+ scale: "none",
58
+ toString: () => `scale(1)`
59
+ };
11
60
  transform = (...n) => ({
12
61
  transform: n.length ? n.join(" ") : "none"
13
62
  });
@@ -21,16 +70,17 @@ System.register([], function (_export, _context) {
21
70
  perc = n => `${n}%`;
22
71
  keyFrame = (offset, ...a) => typeof offset === "string" ? Object.assign({
23
72
  offset
24
- }, Object.assign({}, ...a)) : Object.assign({
73
+ }, Object.assign({}, ...a.filter(x => x))) : Object.assign({
25
74
  offset: offset > 1 ? `${offset}%` : `${Math.floor(offset * 100)}%`
26
- }, Object.assign({}, ...a));
75
+ }, Object.assign({}, ...a.filter(x => x)));
27
76
  opacity = n => ({
28
77
  opacity: `${n}`
29
78
  });
30
79
  vh = n => `${n}vh`;
31
80
  vw = n => `${n}vw`;
32
- move = (title, fx) => {
33
- return [fx(`${title}-from-left`, perc(-100)), fx(`${title}-from-right`, perc(100)), fx(`${title}-from-top`, 0, perc(-100)), fx(`${title}-from-bottom`, perc(100)), fx(`${title}-from-far-left`, vw(-100)), fx(`${title}-from-far-right`, vw(100)), fx(`${title}-from-far-top`, 0, vh(-100)), fx(`${title}-from-far-bottom`, vh(100)), fx(`${title}-from-top-left`, perc(-100), perc(-100)), fx(`${title}-from-top-right`, perc(100), perc(-100)), fx(`${title}-from-bottom-left`, perc(-100), perc(100)), fx(`${title}-from-bottom-right`, perc(100), perc(100)), fx(`${title}-from-far-top-left`, vw(-100), vh(-100)), fx(`${title}-from-far-top-right`, vw(100), vh(-100)), fx(`${title}-from-far-bottom-left`, vw(-100), vh(100)), fx(`${title}-from-far-bottom-right`, vw(100), vh(100))];
81
+ move = (title, direction, fx) => {
82
+ const first = [fx(title)].filter(x => x);
83
+ return [...first, fx(`${title}-${direction}-left`, direction, perc(-100)), fx(`${title}-${direction}-right`, direction, perc(100)), fx(`${title}-${direction}-top`, direction, 0, perc(-100)), fx(`${title}-${direction}-bottom`, direction, perc(100)), fx(`${title}-${direction}-far-left`, direction, vw(-100)), fx(`${title}-${direction}-far-right`, direction, vw(100)), fx(`${title}-${direction}-far-top`, direction, 0, vh(-100)), fx(`${title}-${direction}-far-bottom`, direction, vh(100)), fx(`${title}-${direction}-top-left`, direction, perc(-100), perc(-100)), fx(`${title}-${direction}-top-right`, direction, perc(100), perc(-100)), fx(`${title}-${direction}-bottom-left`, direction, perc(-100), perc(100)), fx(`${title}-${direction}-bottom-right`, direction, perc(100), perc(100)), fx(`${title}-${direction}-far-top-left`, direction, vw(-100), vh(-100)), fx(`${title}-${direction}-far-top-right`, direction, vw(100), vh(-100)), fx(`${title}-${direction}-far-bottom-left`, direction, vw(-100), vh(100)), fx(`${title}-${direction}-far-bottom-right`, direction, vw(100), vh(100))];
34
84
  };
35
85
  _export("CSSBuilder", CSSBuilder = {
36
86
  perc,
@@ -44,6 +94,13 @@ System.register([], function (_export, _context) {
44
94
  transform,
45
95
  keyFrame,
46
96
  opacity,
97
+ rotate,
98
+ scale,
99
+ skew,
100
+ skewX,
101
+ skewY,
102
+ skewZ,
103
+ deg,
47
104
  animation: (title, ...keyframes) => ({
48
105
  title,
49
106
  keyframes
@@ -1 +1 @@
1
- {"version":3,"names":["px","n","translate3d","x","y","z","transform","length","join","transitionTimingFunction","backdropFilter","blur","perc","keyFrame","offset","a","Object","assign","Math","floor","opacity","vh","vw","move","title","fx","_export","CSSBuilder","animation","keyframes"],"sources":["../../../../../../src/site-editor/suggestions/properties/animations/key-frames/css.ts"],"sourcesContent":[null],"mappings":";;;;;;;MAKC;MAEKA,EAAE,GAAIC,CAAkB,IAAKA,CAAC,KAAK,CAAC,GACpC,CAAC,GACA,OAAOA,CAAC,KAAK,QAAQ,GAAGA,CAAC,GAAG,GAAGA,CAAC,IAAK;MAEtCC,WAAW,GAAGA,CAACC,CAAA,GAAE,CAAoB,EAAEC,CAAA,GAAE,CAAoB,EAAEC,CAAA,GAAE,CAAoB,KAAMF,CAAC,IAAIC,CAAC,IAAIC,CAAC,GACtG,eAAeL,EAAE,CAACG,CAAC,CAAC,KAAKH,EAAE,CAACI,CAAC,CAAC,KAAKJ,EAAE,CAACK,CAAC,CAAC,GAAG,GAC3C,MAAM;MAENC,SAAS,GAAGA,CAAC,GAAIL,CAAW,MAAM;QAAEK,SAAS,EAAEL,CAAC,CAACM,MAAM,GAAGN,CAAC,CAACO,IAAI,CAAC,GAAG,CAAC,GAAG;MAAM,CAAC,CAAC;MAEhFC,wBAAwB,GAAIR,CAAS,KAAM;QAAE,CAAC,4BAA4B,GAAGA;MAAC,CAAE,CAAC;MAEjFS,cAAc,GAAIT,CAAS,KAAM;QAAE,CAAC,iBAAiB,GAAGA;MAAC,CAAE,CAAC;MAE5DU,IAAI,GAAIV,CAAkB,IAAK,QAAQD,EAAE,CAACC,CAAC,CAAC,GAAG;MAE/CW,IAAI,GAAIX,CAAC,IAAK,GAAGA,CAAC,GAAG;MAcrBY,QAAQ,GAAGA,CAACC,MAAuB,EAAE,GAAIC,CAAgB,KAAgB,OAAOD,MAAM,KAAK,QAAQ,GACpGE,MAAA,CAAAC,MAAA;QAAGH;MAAM,GAAME,MAAM,CAACC,MAAM,CAAC,EAAE,EAAE,GAAIF,CAAC,CAAC,IACvCC,MAAA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IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,EACpDa,EAAE,CAAC,GAAGD,KAAK,iBAAiB,EAAEZ,IAAI,CAAC,GAAG,CAAC,EAAEA,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,EACpDa,EAAE,CAAC,GAAGD,KAAK,mBAAmB,EAAEZ,IAAI,CAAC,CAAC,GAAG,CAAC,EAAEA,IAAI,CAAC,GAAG,CAAC,CAAC,EACtDa,EAAE,CAAC,GAAGD,KAAK,oBAAoB,EAAEZ,IAAI,CAAC,GAAG,CAAC,EAAEA,IAAI,CAAC,GAAG,CAAC,CAAC,EAEtDa,EAAE,CAAC,GAAGD,KAAK,oBAAoB,EAAEF,EAAE,CAAC,CAAC,GAAG,CAAC,EAAED,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EACpDI,EAAE,CAAC,GAAGD,KAAK,qBAAqB,EAAEF,EAAE,CAAC,GAAG,CAAC,EAAED,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EACpDI,EAAE,CAAC,GAAGD,KAAK,uBAAuB,EAAEF,EAAE,CAAC,CAAC,GAAG,CAAC,EAAED,EAAE,CAAC,GAAG,CAAC,CAAC,EACtDI,EAAE,CAAC,GAAGD,KAAK,wBAAwB,EAAEF,EAAE,CAAC,GAAG,CAAC,EAAED,EAAE,CAAC,GAAG,CAAC,CAAC,CAEzD;MACL,CAAC;MAAAK,OAAA,eAEYC,UAAU,GAAG;QACtBf,IAAI;QACJD,IAAI;QACJD,cAAc;QACdW,EAAE;QACFC,EAAE;QACFtB,EAAE;QACFS,wBAAwB;QACxBP,WAAW;QACXI,SAAS;QACTO,QAAQ;QACRO,OAAO;QACPQ,SAAS,EAAEA,CAACJ,KAAa,EAAE,GAAIK,SAAsB,MAAM;UACvDL,KAAK;UACLK;SACH,CAAC;QACFN;OACH;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["px","n","deg","translate3d","x","y","z","translate","toString","rotate","skew","skewX","skewY","skewZ","scale","length","join","transform","transitionTimingFunction","backdropFilter","blur","perc","keyFrame","offset","a","Object","assign","filter","Math","floor","opacity","vh","vw","move","title","direction","fx","first","_export","CSSBuilder","animation","keyframes"],"sources":["../../../../../../src/site-editor/suggestions/properties/animations/key-frames/css.ts"],"sourcesContent":[null],"mappings":";;;;;;;MAKC;MAEKA,EAAE,GAAIC,CAAkB,IAAKA,CAAC,KAAK,CAAC,GACpC,CAAC,GACA,OAAOA,CAAC,KAAK,QAAQ,GAAGA,CAAC,GAAG,GAAGA,CAAC,IAAK;MAEtCC,GAAG,GAAID,CAAkB,IAAK,OAAOA,CAAC,KAAK,QAAQ,GAAGA,CAAC,GAAG,GAAGA,CAAC,KAAK;MAGnEE,WAAW,GAAGA,CAACC,CAAA,GAAE,CAAoB,EAAEC,CAAA,GAAE,CAAoB,EAAEC,CAAA,GAAE,CAAoB,KAAMF,CAAC,IAAIC,CAAC,IAAIC,CAAC,GACtG;QAAEC,SAAS,EAAE,GAAGP,EAAE,CAACI,CAAC,CAAC,IAAIJ,EAAE,CAACK,CAAC,CAAC,IAAIL,EAAE,CAACM,CAAC,CAAC,EAAE;QAAEE,QAAQ,EAAEA,CAAA,KAAM,eAAeR,EAAE,CAACI,CAAC,CAAC,KAAKJ,EAAE,CAACK,CAAC,CAAC,KAAKL,EAAE,CAACM,CAAC,CAAC;MAAG,CAAE,GACxG;QAAEC,SAAS,EAAE,MAAM;QAAEC,QAAQ,EAAEA,CAAA,KAAM;MAAM,CAAE;MAE7CC,MAAM,GAAIR,CAAE,IAAKA,CAAC,GAClB;QAAEQ,MAAM,EAAEP,GAAG,CAACD,CAAC,CAAC;QAAEO,QAAQ,EAAEA,CAAA,KAAK,UAAUP,CAAC;MAAG,CAAC,GAChD;QAAEQ,MAAM,EAAE,MAAM;QAAED,QAAQ,EAAEA,CAAA,KAAM;MAAc,CAAE;MAElDE,IAAI,GAAIT,CAAE,IAAKA,CAAC,GAChB;QAAEQ,MAAM,EAAEP,GAAG,CAACD,CAAC,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 export declare const fadeIn: {
4
4
  opacity: number;
5
5
  }[];
6
6
  };
7
+ export declare const fadeIns: import("../css").IAnimation[];
7
8
  //# sourceMappingURL=fade-in.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fade-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;CAUlB,CAAC"}
1
+ {"version":3,"file":"fade-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;CAUlB,CAAC;AAEF,eAAO,MAAM,OAAO,+BAWnB,CAAC"}
@@ -1,10 +1,25 @@
1
- System.register([], function (_export, _context) {
1
+ System.register(["../css"], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var fadeIn;
4
+ var CSSBuilder, move, animation, keyFrame, transitionTimingFunction, opacity, transform, translate3d, perc, vh, vw, px, fadeIn, fadeIns;
5
5
  return {
6
- setters: [],
6
+ setters: [function (_css) {
7
+ CSSBuilder = _css.CSSBuilder;
8
+ }],
7
9
  execute: function () {
10
+ ({
11
+ move,
12
+ animation,
13
+ keyFrame,
14
+ transitionTimingFunction,
15
+ opacity,
16
+ transform,
17
+ translate3d,
18
+ perc,
19
+ vh,
20
+ vw,
21
+ px
22
+ } = CSSBuilder);
8
23
  _export("fadeIn", fadeIn = {
9
24
  title: "fade-in",
10
25
  keyFrames: [{
@@ -13,6 +28,7 @@ System.register([], function (_export, _context) {
13
28
  opacity: 1
14
29
  }]
15
30
  });
31
+ _export("fadeIns", fadeIns = move("fade-in", "from", (title, direction, x, y, z) => animation(title, keyFrame(0, opacity(0.3), direction && translate3d(x, y, z)), keyFrame(100, opacity(1), direction && translate3d()))));
16
32
  }
17
33
  };
18
34
  });
@@ -1 +1 @@
1
- {"version":3,"names":["fadeIn","title","keyFrames","opacity"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.ts"],"sourcesContent":[null],"mappings":";;;;;;;wBAAaA,MAAM,GAAG;QAClBC,KAAK,EAAE,SAAS;QAChBC,SAAS,EAAE,CACP;UACIC,OAAO,EAAE;SACZ,EACD;UACIA,OAAO,EAAE;SACZ;OAER;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["CSSBuilder","_css","execute","move","animation","keyFrame","transitionTimingFunction","opacity","transform","translate3d","perc","vh","vw","px","_export","fadeIn","title","keyFrames","fadeIns","direction","x","y","z"],"sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/fade/fade-in.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,UAAU,GAAAC,IAAA,CAAVD,UAAU;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAAA,CAEb;QAAEC,IAAI;QAAEC,SAAS;QAAEC,QAAQ;QAAEC,wBAAwB;QAAEC,OAAO;QAAEC,SAAS;QAAEC,WAAW;QAAEC,IAAI;QAAEC,EAAE;QAAEC,EAAE;QAAEC;MAAE,CAAE,GAAGb,UAAU;MAAAc,OAAA,WAEhHC,MAAM,GAAG;QAClBC,KAAK,EAAE,SAAS;QAChBC,SAAS,EAAE,CACP;UACIV,OAAO,EAAE;SACZ,EACD;UACIA,OAAO,EAAE;SACZ;OAER;MAAAO,OAAA,YAEYI,OAAO,GAAGf,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,CAACa,KAAK,EAAEG,SAAS,EAAEC,CAAC,EAAEC,CAAC,EAAEC,CAAC,KACrElB,SAAS,CAACY,KAAK,EACXX,QAAQ,CAAC,CAAC,EACNE,OAAO,CAAC,GAAG,CAAC,EACZY,SAAS,IAAIV,WAAW,CAACW,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,CACpC,EACDjB,QAAQ,CAAC,GAAG,EACRE,OAAO,CAAC,CAAC,CAAC,EACVY,SAAS,IAAIV,WAAW,EAAE,CAC7B,CACJ,CACJ;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,7 +1,2 @@
1
- export declare const fadeOut: {
2
- title: string;
3
- keyFrames: {
4
- opacity: number;
5
- }[];
6
- };
1
+ export declare const fadeOuts: import("../css").IAnimation[];
7
2
  //# sourceMappingURL=fade-out.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fade-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAUnB,CAAC"}
1
+ {"version":3,"file":"fade-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/site-editor/suggestions/properties/animations/key-frames/fade/fade-out.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,+BAWpB,CAAC"}