@gx-design-vue/pro-layout 0.1.0-alpha.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.
Files changed (160) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +76 -0
  3. package/dist/Context/expose.d.ts +6 -0
  4. package/dist/Context/expose.js +7 -0
  5. package/dist/Context/index.d.ts +43 -0
  6. package/dist/Context/index.js +18 -0
  7. package/dist/ProLayout.d.ts +539 -0
  8. package/dist/ProLayout.js +371 -0
  9. package/dist/WrapContent.d.ts +100 -0
  10. package/dist/WrapContent.js +45 -0
  11. package/dist/components/AppPage/context.d.ts +9 -0
  12. package/dist/components/AppPage/context.js +7 -0
  13. package/dist/components/AppPage/index.d.ts +73 -0
  14. package/dist/components/AppPage/index.js +71 -0
  15. package/dist/components/AppPage/style.d.ts +10 -0
  16. package/dist/components/AppPage/style.js +40 -0
  17. package/dist/components/BaseMenu/index.d.ts +255 -0
  18. package/dist/components/BaseMenu/index.js +381 -0
  19. package/dist/components/BaseMenu/props.d.ts +105 -0
  20. package/dist/components/BaseMenu/props.js +94 -0
  21. package/dist/components/BaseMenu/style.d.ts +6 -0
  22. package/dist/components/BaseMenu/style.js +155 -0
  23. package/dist/components/BreadCrumb/Breadcrumb.d.ts +33 -0
  24. package/dist/components/BreadCrumb/Breadcrumb.js +75 -0
  25. package/dist/components/BreadCrumb/index.d.ts +7 -0
  26. package/dist/components/BreadCrumb/index.js +44 -0
  27. package/dist/components/BreadCrumb/style.d.ts +8 -0
  28. package/dist/components/BreadCrumb/style.js +87 -0
  29. package/dist/components/CollapsedIcon/index.d.ts +33 -0
  30. package/dist/components/CollapsedIcon/index.js +51 -0
  31. package/dist/components/CollapsedIcon/style.d.ts +9 -0
  32. package/dist/components/CollapsedIcon/style.js +34 -0
  33. package/dist/components/FooterToolbar/index.d.ts +76 -0
  34. package/dist/components/FooterToolbar/index.js +96 -0
  35. package/dist/components/FooterToolbar/props.d.ts +47 -0
  36. package/dist/components/FooterToolbar/props.js +33 -0
  37. package/dist/components/FooterToolbar/style/index.d.ts +14 -0
  38. package/dist/components/FooterToolbar/style/index.js +48 -0
  39. package/dist/components/FooterToolbar/style/stylish.d.ts +18 -0
  40. package/dist/components/FooterToolbar/style/stylish.js +16 -0
  41. package/dist/components/GlobalFooter/index.d.ts +73 -0
  42. package/dist/components/GlobalFooter/index.js +77 -0
  43. package/dist/components/GlobalFooter/style.d.ts +6 -0
  44. package/dist/components/GlobalFooter/style.js +29 -0
  45. package/dist/components/GlobalHeader/DefaultHeader.d.ts +164 -0
  46. package/dist/components/GlobalHeader/DefaultHeader.js +149 -0
  47. package/dist/components/GlobalHeader/index.d.ts +164 -0
  48. package/dist/components/GlobalHeader/index.js +78 -0
  49. package/dist/components/GlobalHeader/props.d.ts +70 -0
  50. package/dist/components/GlobalHeader/props.js +56 -0
  51. package/dist/components/GlobalHeader/style/defaultHeader.d.ts +6 -0
  52. package/dist/components/GlobalHeader/style/defaultHeader.js +108 -0
  53. package/dist/components/GlobalHeader/style/header.d.ts +6 -0
  54. package/dist/components/GlobalHeader/style/header.js +41 -0
  55. package/dist/components/LogoContent/index.d.ts +80 -0
  56. package/dist/components/LogoContent/index.js +90 -0
  57. package/dist/components/LogoContent/props.d.ts +57 -0
  58. package/dist/components/LogoContent/props.js +37 -0
  59. package/dist/components/LogoContent/style.d.ts +6 -0
  60. package/dist/components/LogoContent/style.js +63 -0
  61. package/dist/components/PageContainer/PageHeader.d.ts +39 -0
  62. package/dist/components/PageContainer/PageHeader.js +53 -0
  63. package/dist/components/PageContainer/index.d.ts +197 -0
  64. package/dist/components/PageContainer/index.js +222 -0
  65. package/dist/components/PageContainer/props.d.ts +138 -0
  66. package/dist/components/PageContainer/props.js +103 -0
  67. package/dist/components/PageContainer/style/index.d.ts +14 -0
  68. package/dist/components/PageContainer/style/index.js +52 -0
  69. package/dist/components/PageContainer/style/pageHeader.d.ts +6 -0
  70. package/dist/components/PageContainer/style/pageHeader.js +44 -0
  71. package/dist/components/PageTranstion/index.d.ts +40 -0
  72. package/dist/components/PageTranstion/index.js +71 -0
  73. package/dist/components/PageTranstion/keyFrame/back.d.ts +16 -0
  74. package/dist/components/PageTranstion/keyFrame/back.js +158 -0
  75. package/dist/components/PageTranstion/keyFrame/bounce.d.ts +18 -0
  76. package/dist/components/PageTranstion/keyFrame/bounce.js +178 -0
  77. package/dist/components/PageTranstion/keyFrame/fade.d.ts +34 -0
  78. package/dist/components/PageTranstion/keyFrame/fade.js +342 -0
  79. package/dist/components/PageTranstion/keyFrame/flip.d.ts +12 -0
  80. package/dist/components/PageTranstion/keyFrame/flip.js +92 -0
  81. package/dist/components/PageTranstion/keyFrame/lightSpeed.d.ts +12 -0
  82. package/dist/components/PageTranstion/keyFrame/lightSpeed.js +72 -0
  83. package/dist/components/PageTranstion/keyFrame/roll.d.ts +10 -0
  84. package/dist/components/PageTranstion/keyFrame/roll.js +35 -0
  85. package/dist/components/PageTranstion/keyFrame/rotate.d.ts +18 -0
  86. package/dist/components/PageTranstion/keyFrame/rotate.js +149 -0
  87. package/dist/components/PageTranstion/keyFrame/slide.d.ts +16 -0
  88. package/dist/components/PageTranstion/keyFrame/slide.js +102 -0
  89. package/dist/components/PageTranstion/keyFrame/zoom.d.ts +18 -0
  90. package/dist/components/PageTranstion/keyFrame/zoom.js +165 -0
  91. package/dist/components/PageTranstion/style.d.ts +10 -0
  92. package/dist/components/PageTranstion/style.js +51 -0
  93. package/dist/components/SiderMenu/Arrow.d.ts +6 -0
  94. package/dist/components/SiderMenu/Arrow.js +15 -0
  95. package/dist/components/SiderMenu/SiderMenu.d.ts +180 -0
  96. package/dist/components/SiderMenu/SiderMenu.js +265 -0
  97. package/dist/components/SiderMenu/index.d.ts +193 -0
  98. package/dist/components/SiderMenu/index.js +51 -0
  99. package/dist/components/SiderMenu/props.d.ts +77 -0
  100. package/dist/components/SiderMenu/props.js +67 -0
  101. package/dist/components/SiderMenu/style/index.d.ts +12 -0
  102. package/dist/components/SiderMenu/style/index.js +162 -0
  103. package/dist/components/SiderMenu/typings.d.ts +38 -0
  104. package/dist/components/SiderMenu/typings.js +1 -0
  105. package/dist/components/TabsRoute/index.d.ts +95 -0
  106. package/dist/components/TabsRoute/index.js +405 -0
  107. package/dist/components/TabsRoute/props.d.ts +78 -0
  108. package/dist/components/TabsRoute/props.js +47 -0
  109. package/dist/components/TabsRoute/style.d.ts +15 -0
  110. package/dist/components/TabsRoute/style.js +133 -0
  111. package/dist/components/TabsRoute/utils/config.d.ts +18 -0
  112. package/dist/components/TabsRoute/utils/config.js +64 -0
  113. package/dist/config/animate.d.ts +11 -0
  114. package/dist/config/animate.js +76 -0
  115. package/dist/config/index.d.ts +34 -0
  116. package/dist/config/index.js +30 -0
  117. package/dist/hooks/collapsed/index.d.ts +15 -0
  118. package/dist/hooks/collapsed/index.js +50 -0
  119. package/dist/hooks/layout/useLayoutExpose.d.ts +15 -0
  120. package/dist/hooks/layout/useLayoutExpose.js +22 -0
  121. package/dist/hooks/layout/usePageContent.d.ts +6 -0
  122. package/dist/hooks/layout/usePageContent.js +28 -0
  123. package/dist/hooks/menu/context.d.ts +21 -0
  124. package/dist/hooks/menu/context.js +7 -0
  125. package/dist/hooks/menu/index.d.ts +29 -0
  126. package/dist/hooks/menu/index.js +118 -0
  127. package/dist/hooks/theme/index.d.ts +11 -0
  128. package/dist/hooks/theme/index.js +13 -0
  129. package/dist/index.d.ts +28 -0
  130. package/dist/index.js +24 -0
  131. package/dist/pro-layout.esm.js +6042 -0
  132. package/dist/pro-layout.js +37 -0
  133. package/dist/props/collapsedProps.d.ts +39 -0
  134. package/dist/props/collapsedProps.js +45 -0
  135. package/dist/props/defaultSettings.d.ts +62 -0
  136. package/dist/props/defaultSettings.js +56 -0
  137. package/dist/props/index.d.ts +226 -0
  138. package/dist/props/index.js +109 -0
  139. package/dist/props/themeProps.d.ts +14 -0
  140. package/dist/props/themeProps.js +10 -0
  141. package/dist/style/index.d.ts +24 -0
  142. package/dist/style/index.js +62 -0
  143. package/dist/types/Breadcrumb.d.ts +22 -0
  144. package/dist/types/Breadcrumb.js +1 -0
  145. package/dist/types/MenuTypings.d.ts +46 -0
  146. package/dist/types/MenuTypings.js +1 -0
  147. package/dist/types/RouteTypings.d.ts +96 -0
  148. package/dist/types/RouteTypings.js +1 -0
  149. package/dist/types/SlotsTypings.d.ts +124 -0
  150. package/dist/types/SlotsTypings.js +32 -0
  151. package/dist/types/typings.d.ts +73 -0
  152. package/dist/types/typings.js +3 -0
  153. package/dist/utils/index.d.ts +7 -0
  154. package/dist/utils/index.js +17 -0
  155. package/dist/utils/menu.d.ts +24 -0
  156. package/dist/utils/menu.js +134 -0
  157. package/dist/utils/style/index.d.ts +44 -0
  158. package/dist/utils/style/index.js +103 -0
  159. package/global.d.ts +11 -0
  160. package/package.json +73 -0
@@ -0,0 +1,342 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+
3
+ //#region src/components/PageTranstion/keyFrame/fade.ts
4
+ const fadeIn = new Keyframe("fadeIn", {
5
+ "from": { opacity: 0 },
6
+ "to": { opacity: 1 }
7
+ });
8
+ const fadeInLeft = new Keyframe("fadeInLeft", {
9
+ "from": {
10
+ opacity: 0,
11
+ transform: "translate3d(-100%, 0, 0)"
12
+ },
13
+ "to": {
14
+ opacity: 1,
15
+ transform: "translate3d(0, 0, 0)"
16
+ }
17
+ });
18
+ const fadeInRight = new Keyframe("fadeInRight", {
19
+ "from": {
20
+ opacity: 0,
21
+ transform: "translate3d(100%, 0, 0)"
22
+ },
23
+ "to": {
24
+ opacity: 1,
25
+ transform: "translate3d(0, 0, 0)"
26
+ }
27
+ });
28
+ const fadeInDown = new Keyframe("fadeInDown", {
29
+ "from": {
30
+ opacity: 0,
31
+ transform: "translate3d(0, -100%, 0)"
32
+ },
33
+ "to": {
34
+ opacity: 1,
35
+ transform: "translate3d(0, 0, 0)"
36
+ }
37
+ });
38
+ const fadeInUp = new Keyframe("fadeInUp", {
39
+ "from": {
40
+ opacity: 0,
41
+ transform: "translate3d(0, 100%, 0)"
42
+ },
43
+ "to": {
44
+ opacity: 1,
45
+ transform: "translate3d(0, 0, 0)"
46
+ }
47
+ });
48
+ const fadeInDownBig = new Keyframe("fadeInDownBig", {
49
+ "from": {
50
+ opacity: 0,
51
+ transform: "translate3d(0, -2000px, 0)"
52
+ },
53
+ "to": {
54
+ opacity: 1,
55
+ transform: "translate3d(0, 0, 0)"
56
+ }
57
+ });
58
+ const fadeInUpBig = new Keyframe("fadeInUpBig", {
59
+ "from": {
60
+ opacity: 0,
61
+ transform: "translate3d(0, 2000px, 0)"
62
+ },
63
+ "to": {
64
+ opacity: 1,
65
+ transform: "translate3d(0, 0, 0)"
66
+ }
67
+ });
68
+ const fadeInLeftBig = new Keyframe("fadeInLeftBig", {
69
+ "from": {
70
+ opacity: 0,
71
+ transform: "translate3d(-2000px, 0, 0)"
72
+ },
73
+ "to": {
74
+ opacity: 1,
75
+ transform: "translate3d(0, 0, 0)"
76
+ }
77
+ });
78
+ const fadeInRightBig = new Keyframe("fadeInRightBig", {
79
+ "from": {
80
+ opacity: 0,
81
+ transform: "translate3d(2000px, 0, 0)"
82
+ },
83
+ "to": {
84
+ opacity: 1,
85
+ transform: "translate3d(0, 0, 0)"
86
+ }
87
+ });
88
+ const fadeInTopLeft = new Keyframe("fadeInTopLeft", {
89
+ "from": {
90
+ opacity: 0,
91
+ transform: "translate3d(-100%, -100%, 0)"
92
+ },
93
+ "to": {
94
+ opacity: 1,
95
+ transform: "translate3d(0, 0, 0)"
96
+ }
97
+ });
98
+ const fadeInBottomRight = new Keyframe("fadeInBottomRight", {
99
+ "from": {
100
+ opacity: 0,
101
+ transform: "translate3d(100%, 100%, 0)"
102
+ },
103
+ "to": {
104
+ opacity: 1,
105
+ transform: "translate3d(0, 0, 0)"
106
+ }
107
+ });
108
+ const fadeInTopRight = new Keyframe("fadeInTopRight", {
109
+ "from": {
110
+ opacity: 0,
111
+ transform: "translate3d(100%, -100%, 0)"
112
+ },
113
+ "to": {
114
+ opacity: 1,
115
+ transform: "translate3d(0, 0, 0)"
116
+ }
117
+ });
118
+ const fadeInBottomLeft = new Keyframe("fadeInBottomLeft", {
119
+ "from": {
120
+ opacity: 0,
121
+ transform: "translate3d(-100%, 100%, 0)"
122
+ },
123
+ "to": {
124
+ opacity: 1,
125
+ transform: "translate3d(0, 0, 0)"
126
+ }
127
+ });
128
+ const fadeOut = new Keyframe("fadeOut", {
129
+ "from": { opacity: 1 },
130
+ "to": { opacity: 0 }
131
+ });
132
+ const fadeOutLeft = new Keyframe("fadeOutLeft", {
133
+ "from": { opacity: 1 },
134
+ "to": {
135
+ opacity: 0,
136
+ transform: "translate3d(-100%, 0, 0)"
137
+ }
138
+ });
139
+ const fadeOutRight = new Keyframe("fadeOutRight", {
140
+ "from": { opacity: 1 },
141
+ "to": {
142
+ opacity: 0,
143
+ transform: "translate3d(100%, 0, 0)"
144
+ }
145
+ });
146
+ const fadeOutDown = new Keyframe("fadeOutDown", {
147
+ "from": { opacity: 1 },
148
+ "to": {
149
+ opacity: 0,
150
+ transform: "translate3d(0, 100%, 0)"
151
+ }
152
+ });
153
+ const fadeOutUp = new Keyframe("fadeOutUp", {
154
+ "from": { opacity: 1 },
155
+ "to": {
156
+ opacity: 0,
157
+ transform: "translate3d(0, -100%, 0)"
158
+ }
159
+ });
160
+ const fadeOutDownBig = new Keyframe("fadeOutDownBig", {
161
+ "from": { opacity: 1 },
162
+ "to": {
163
+ opacity: 0,
164
+ transform: "translate3d(0, 2000px, 0)"
165
+ }
166
+ });
167
+ const fadeOutUpBig = new Keyframe("fadeOutUpBig", {
168
+ "from": { opacity: 1 },
169
+ "to": {
170
+ opacity: 0,
171
+ transform: "translate3d(0, -2000px, 0)"
172
+ }
173
+ });
174
+ const fadeOutLeftBig = new Keyframe("fadeOutLeftBig", {
175
+ "from": { opacity: 1 },
176
+ "to": {
177
+ opacity: 0,
178
+ transform: "translate3d(-2000px, 0, 0)"
179
+ }
180
+ });
181
+ const fadeOutRightBig = new Keyframe("fadeOutRightBig", {
182
+ "from": { opacity: 1 },
183
+ "to": {
184
+ opacity: 0,
185
+ transform: "translate3d(2000px, 0, 0)"
186
+ }
187
+ });
188
+ const fadeOutTopLeft = new Keyframe("fadeOutTopLeft", {
189
+ "from": {
190
+ opacity: 1,
191
+ transform: "translate3d(0, 0, 0)"
192
+ },
193
+ "to": {
194
+ opacity: 0,
195
+ transform: "translate3d(-100%, -100%, 0)"
196
+ }
197
+ });
198
+ const fadeOutBottomRight = new Keyframe("fadeOutBottomRight", {
199
+ "from": {
200
+ opacity: 1,
201
+ transform: "translate3d(0, 0, 0)"
202
+ },
203
+ "to": {
204
+ opacity: 0,
205
+ transform: "translate3d(100%, 100%, 0)"
206
+ }
207
+ });
208
+ const fadeOutTopRight = new Keyframe("fadeOutTopRight", {
209
+ "from": {
210
+ opacity: 1,
211
+ transform: "translate3d(0, 0, 0)"
212
+ },
213
+ "to": {
214
+ opacity: 0,
215
+ transform: "translate3d(100%, -100%, 0)"
216
+ }
217
+ });
218
+ const fadeOutBottomLeft = new Keyframe("fadeOutBottomLeft", {
219
+ "from": {
220
+ opacity: 1,
221
+ transform: "translate3d(0, 0, 0)"
222
+ },
223
+ "to": {
224
+ opacity: 0,
225
+ transform: "translate3d(-100%, 100%, 0)"
226
+ }
227
+ });
228
+ function PageFadeIn() {
229
+ return {
230
+ "&.fadeIn": {
231
+ animationFillMode: "both",
232
+ animationName: fadeIn
233
+ },
234
+ "&.fadeInLeft": {
235
+ animationFillMode: "both",
236
+ animationName: fadeInLeft
237
+ },
238
+ "&.fadeInRight": {
239
+ animationFillMode: "both",
240
+ animationName: fadeInRight
241
+ },
242
+ "&.fadeInDown": {
243
+ animationFillMode: "both",
244
+ animationName: fadeInDown
245
+ },
246
+ "&.fadeInUp": {
247
+ animationFillMode: "both",
248
+ animationName: fadeInUp
249
+ },
250
+ "&.fadeInLeftBig": {
251
+ animationFillMode: "both",
252
+ animationName: fadeInLeftBig
253
+ },
254
+ "&.fadeInRightBig": {
255
+ animationFillMode: "both",
256
+ animationName: fadeInRightBig
257
+ },
258
+ "&.fadeInUpBig": {
259
+ animationFillMode: "both",
260
+ animationName: fadeInUpBig
261
+ },
262
+ "&.fadeInDownBig": {
263
+ animationFillMode: "both",
264
+ animationName: fadeInDownBig
265
+ },
266
+ "&.fadeInTopLeft": {
267
+ animationFillMode: "both",
268
+ animationName: fadeInTopLeft
269
+ },
270
+ "&.fadeInBottomRight": {
271
+ animationFillMode: "both",
272
+ animationName: fadeInBottomRight
273
+ },
274
+ "&.fadeInTopRight": {
275
+ animationFillMode: "both",
276
+ animationName: fadeInTopRight
277
+ },
278
+ "&.fadeInBottomLeft": {
279
+ animationFillMode: "both",
280
+ animationName: fadeInBottomLeft
281
+ }
282
+ };
283
+ }
284
+ function PageFadeOut() {
285
+ return {
286
+ "&.fadeOut": {
287
+ animationFillMode: "both",
288
+ animationName: fadeOut
289
+ },
290
+ "&.fadeOutLeft": {
291
+ animationFillMode: "both",
292
+ animationName: fadeOutLeft
293
+ },
294
+ "&.fadeOutRight": {
295
+ animationFillMode: "both",
296
+ animationName: fadeOutRight
297
+ },
298
+ "&.fadeOutDown": {
299
+ animationFillMode: "both",
300
+ animationName: fadeOutDown
301
+ },
302
+ "&.fadeOutUp": {
303
+ animationFillMode: "both",
304
+ animationName: fadeOutUp
305
+ },
306
+ "&.fadeOutDownBig": {
307
+ animationFillMode: "both",
308
+ animationName: fadeOutDownBig
309
+ },
310
+ "&.fadeOutUpBig": {
311
+ animationFillMode: "both",
312
+ animationName: fadeOutUpBig
313
+ },
314
+ "&.fadeOutLeftBig": {
315
+ animationFillMode: "both",
316
+ animationName: fadeOutLeftBig
317
+ },
318
+ "&.fadeOutRightBig": {
319
+ animationFillMode: "both",
320
+ animationName: fadeOutRightBig
321
+ },
322
+ "&.fadeOutTopLeft": {
323
+ animationFillMode: "both",
324
+ animationName: fadeOutTopLeft
325
+ },
326
+ "&.fadeOutBottomRight": {
327
+ animationFillMode: "both",
328
+ animationName: fadeOutBottomRight
329
+ },
330
+ "&.fadeOutTopRight": {
331
+ animationFillMode: "both",
332
+ animationName: fadeOutTopRight
333
+ },
334
+ "&.fadeOutBottomLeft": {
335
+ animationFillMode: "both",
336
+ animationName: fadeOutBottomLeft
337
+ }
338
+ };
339
+ }
340
+
341
+ //#endregion
342
+ export { PageFadeIn, PageFadeOut, fadeIn, fadeInBottomLeft, fadeInBottomRight, fadeInDown, fadeInDownBig, fadeInLeft, fadeInLeftBig, fadeInRight, fadeInRightBig, fadeInTopLeft, fadeInTopRight, fadeInUp, fadeInUpBig, fadeOut, fadeOutBottomLeft, fadeOutBottomRight, fadeOutDown, fadeOutDownBig, fadeOutLeft, fadeOutLeftBig, fadeOutRight, fadeOutRightBig, fadeOutTopLeft, fadeOutTopRight, fadeOutUp, fadeOutUpBig };
@@ -0,0 +1,12 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+ import { CSSObject as CSSObject$1 } from "ant-design-vue";
3
+
4
+ //#region src/components/PageTranstion/keyFrame/flip.d.ts
5
+ declare const flipInX: Keyframe;
6
+ declare const flipInY: Keyframe;
7
+ declare const flipOutX: Keyframe;
8
+ declare const flipOutY: Keyframe;
9
+ declare function PageFlipIn(): CSSObject$1;
10
+ declare function PageFlipOut(): CSSObject$1;
11
+ //#endregion
12
+ export { PageFlipIn, PageFlipOut, flipInX, flipInY, flipOutX, flipOutY };
@@ -0,0 +1,92 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+
3
+ //#region src/components/PageTranstion/keyFrame/flip.ts
4
+ const flipInX = new Keyframe("flipInX", {
5
+ "from": {
6
+ opacity: 0,
7
+ animationTimingFunction: "ease-in",
8
+ transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
9
+ },
10
+ "40%": {
11
+ animationTimingFunction: "ease-in",
12
+ transform: "perspective(400px) rotate3d(1, 0, 0, -20deg)"
13
+ },
14
+ "60%": {
15
+ opacity: 1,
16
+ transform: "perspective(400px) rotate3d(1, 0, 0, 10deg)"
17
+ },
18
+ "80%": { transform: "perspective(400px) rotate3d(1, 0, 0, -5deg)" },
19
+ "to": { transform: "perspective(400px)" }
20
+ });
21
+ const flipInY = new Keyframe("flipInY", {
22
+ "from": {
23
+ opacity: 0,
24
+ animationTimingFunction: "ease-in",
25
+ transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
26
+ },
27
+ "40%": {
28
+ animationTimingFunction: "ease-in",
29
+ transform: "perspective(400px) rotate3d(0, 1, 0, -20deg)"
30
+ },
31
+ "60%": {
32
+ opacity: 1,
33
+ transform: "perspective(400px) rotate3d(0, 1, 0, 10deg)"
34
+ },
35
+ "80%": { transform: "perspective(400px) rotate3d(0, 1, 0, -5deg)" },
36
+ "to": { transform: "perspective(400px)" }
37
+ });
38
+ const flipOutX = new Keyframe("flipOutX", {
39
+ "from": { transform: "perspective(400px)" },
40
+ "40%": {
41
+ opacity: 1,
42
+ transform: "perspective(400px) rotate3d(1, 0, 0, -20deg)"
43
+ },
44
+ "to": {
45
+ opacity: 0,
46
+ transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
47
+ }
48
+ });
49
+ const flipOutY = new Keyframe("flipOutY", {
50
+ "from": { transform: "perspective(400px)" },
51
+ "40%": {
52
+ opacity: 1,
53
+ transform: "perspective(400px) rotate3d(0, 1, 0, -15deg)"
54
+ },
55
+ "to": {
56
+ opacity: 0,
57
+ transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
58
+ }
59
+ });
60
+ function PageFlipIn() {
61
+ return {
62
+ "&.flipInX": {
63
+ animationFillMode: "both",
64
+ backfaceVisibility: "visible !important",
65
+ animationName: flipInX
66
+ },
67
+ "&.flipInY": {
68
+ animationFillMode: "both",
69
+ backfaceVisibility: "visible !important",
70
+ animationName: flipInY
71
+ }
72
+ };
73
+ }
74
+ function PageFlipOut() {
75
+ return {
76
+ "&.flipOutX": {
77
+ animationFillMode: "both",
78
+ backfaceVisibility: "visible !important",
79
+ animationDuration: `${.3 * .75}s !important`,
80
+ animationName: flipOutX
81
+ },
82
+ "&.flipOutY": {
83
+ animationFillMode: "both",
84
+ backfaceVisibility: "visible !important",
85
+ animationDuration: `${.3 * .75}s !important`,
86
+ animationName: flipOutY
87
+ }
88
+ };
89
+ }
90
+
91
+ //#endregion
92
+ export { PageFlipIn, PageFlipOut, flipInX, flipInY, flipOutX, flipOutY };
@@ -0,0 +1,12 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+ import { CSSObject as CSSObject$1 } from "ant-design-vue";
3
+
4
+ //#region src/components/PageTranstion/keyFrame/lightSpeed.d.ts
5
+ declare const lightSpeedInLeft: Keyframe;
6
+ declare const lightSpeedInRight: Keyframe;
7
+ declare const lightSpeedOutLeft: Keyframe;
8
+ declare const lightSpeedOutRight: Keyframe;
9
+ declare function PageLightSpeedIn(): CSSObject$1;
10
+ declare function PageLightSpeedOut(): CSSObject$1;
11
+ //#endregion
12
+ export { PageLightSpeedIn, PageLightSpeedOut, lightSpeedInLeft, lightSpeedInRight, lightSpeedOutLeft, lightSpeedOutRight };
@@ -0,0 +1,72 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+
3
+ //#region src/components/PageTranstion/keyFrame/lightSpeed.ts
4
+ const lightSpeedInLeft = new Keyframe("lightSpeedInLeft", {
5
+ "from": {
6
+ opacity: 0,
7
+ transform: "translate3d(-100%, 0, 0) skewX(30deg)"
8
+ },
9
+ "60%": {
10
+ opacity: 1,
11
+ transform: "skewX(-20deg)"
12
+ },
13
+ "80%": { transform: "skewX(5deg)" },
14
+ "to": { transform: "translate3d(0, 0, 0)" }
15
+ });
16
+ const lightSpeedInRight = new Keyframe("lightSpeedInRight", {
17
+ "from": {
18
+ opacity: 0,
19
+ transform: "translate3d(100%, 0, 0) skewX(-30deg)"
20
+ },
21
+ "60%": {
22
+ opacity: 1,
23
+ transform: "skewX(20deg)"
24
+ },
25
+ "80%": { transform: "skewX(-5deg)" },
26
+ "to": { transform: "translate3d(0, 0, 0)" }
27
+ });
28
+ const lightSpeedOutLeft = new Keyframe("lightSpeedOutLeft", {
29
+ "from": { opacity: 1 },
30
+ "to": {
31
+ opacity: 0,
32
+ transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
33
+ }
34
+ });
35
+ const lightSpeedOutRight = new Keyframe("lightSpeedOutRight", {
36
+ "from": { opacity: 1 },
37
+ "to": {
38
+ opacity: 0,
39
+ transform: "translate3d(100%, 0, 0) skewX(30deg)"
40
+ }
41
+ });
42
+ function PageLightSpeedIn() {
43
+ return {
44
+ "&.lightSpeedInLeft": {
45
+ animationFillMode: "both",
46
+ animationTimingFunction: "ease-out",
47
+ animationName: lightSpeedInLeft
48
+ },
49
+ "&.lightSpeedInRight": {
50
+ animationFillMode: "both",
51
+ animationTimingFunction: "ease-out",
52
+ animationName: lightSpeedInRight
53
+ }
54
+ };
55
+ }
56
+ function PageLightSpeedOut() {
57
+ return {
58
+ "&.lightSpeedOutLeft": {
59
+ animationFillMode: "both",
60
+ animationTimingFunction: "ease-in",
61
+ animationName: lightSpeedOutLeft
62
+ },
63
+ "&.lightSpeedOutRight": {
64
+ animationFillMode: "both",
65
+ animationTimingFunction: "ease-in",
66
+ animationName: lightSpeedOutRight
67
+ }
68
+ };
69
+ }
70
+
71
+ //#endregion
72
+ export { PageLightSpeedIn, PageLightSpeedOut, lightSpeedInLeft, lightSpeedInRight, lightSpeedOutLeft, lightSpeedOutRight };
@@ -0,0 +1,10 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+ import { CSSObject as CSSObject$1 } from "ant-design-vue";
3
+
4
+ //#region src/components/PageTranstion/keyFrame/roll.d.ts
5
+ declare const rollIn: Keyframe;
6
+ declare const rollOut: Keyframe;
7
+ declare function PageRollIn(): CSSObject$1;
8
+ declare function PageRollOut(): CSSObject$1;
9
+ //#endregion
10
+ export { PageRollIn, PageRollOut, rollIn, rollOut };
@@ -0,0 +1,35 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+
3
+ //#region src/components/PageTranstion/keyFrame/roll.ts
4
+ const rollIn = new Keyframe("rollIn", {
5
+ "from": {
6
+ opacity: 0,
7
+ transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
8
+ },
9
+ "to": {
10
+ opacity: 1,
11
+ transform: "translate3d(0, 0, 0)"
12
+ }
13
+ });
14
+ const rollOut = new Keyframe("rollOut", {
15
+ "from": { opacity: 1 },
16
+ "to": {
17
+ opacity: 0,
18
+ transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
19
+ }
20
+ });
21
+ function PageRollIn() {
22
+ return { "&.rollIn": {
23
+ animationFillMode: "both",
24
+ animationName: rollIn
25
+ } };
26
+ }
27
+ function PageRollOut() {
28
+ return { "&.rollOut": {
29
+ animationFillMode: "both",
30
+ animationName: rollOut
31
+ } };
32
+ }
33
+
34
+ //#endregion
35
+ export { PageRollIn, PageRollOut, rollIn, rollOut };
@@ -0,0 +1,18 @@
1
+ import { Keyframe } from "@gx-design-vue/pro-provider";
2
+ import { CSSObject as CSSObject$1 } from "ant-design-vue";
3
+
4
+ //#region src/components/PageTranstion/keyFrame/rotate.d.ts
5
+ declare const rotateIn: Keyframe;
6
+ declare const rotateInDownLeft: Keyframe;
7
+ declare const rotateInDownRight: Keyframe;
8
+ declare const rotateInUpLeft: Keyframe;
9
+ declare const rotateInUpRight: Keyframe;
10
+ declare const rotateOut: Keyframe;
11
+ declare const rotateOutDownLeft: Keyframe;
12
+ declare const rotateOutDownRight: Keyframe;
13
+ declare const rotateOutUpLeft: Keyframe;
14
+ declare const rotateOutUpRight: Keyframe;
15
+ declare function PageRotateIn(): CSSObject$1;
16
+ declare function PageRotateOut(): CSSObject$1;
17
+ //#endregion
18
+ export { PageRotateIn, PageRotateOut, rotateIn, rotateInDownLeft, rotateInDownRight, rotateInUpLeft, rotateInUpRight, rotateOut, rotateOutDownLeft, rotateOutDownRight, rotateOutUpLeft, rotateOutUpRight };