vevet 1.4.27 → 2.0.1-dev.3

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 (360) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +7 -71
  3. package/build/cdn/index.js +12 -0
  4. package/build/cdn/index.js.LICENSE.txt +14 -0
  5. package/build/cjs/app/Application.js +297 -0
  6. package/build/cjs/app/events/PageLoad.js +74 -0
  7. package/build/cjs/app/events/Viewport.js +303 -0
  8. package/build/cjs/base/Callbacks.js +232 -0
  9. package/build/cjs/base/Component.js +56 -0
  10. package/build/cjs/base/Module.js +262 -0
  11. package/build/cjs/base/MutableProp.js +165 -0
  12. package/build/cjs/base/Plugin.js +56 -0
  13. package/build/cjs/components/animation-frame/AnimationFrame.js +183 -0
  14. package/build/cjs/components/canvas/Ctx2D.js +200 -0
  15. package/build/cjs/components/canvas/Ctx2DPrerender.js +72 -0
  16. package/build/cjs/components/cursor/CustomCursor.js +344 -0
  17. package/build/cjs/components/dragger/Dragger.js +229 -0
  18. package/build/cjs/components/dragger/DraggerDirection.js +77 -0
  19. package/build/cjs/components/dragger/DraggerMove.js +84 -0
  20. package/build/cjs/components/loading/Preloader.js +229 -0
  21. package/build/cjs/components/loading/ProgressPreloader.js +377 -0
  22. package/build/cjs/components/page/Page.js +353 -0
  23. package/build/cjs/components/scroll/custom-scroll/CustomScroll.js +517 -0
  24. package/build/cjs/components/scroll/plugins/SmoothScrollDragPlugin.js +178 -0
  25. package/build/cjs/components/scroll/plugins/SmoothScrollKeyboardPlugin.js +138 -0
  26. package/build/cjs/components/scroll/scrollable/ScrollEventsBase.js +133 -0
  27. package/build/cjs/components/scroll/scrollable/ScrollView.js +315 -0
  28. package/build/cjs/components/scroll/scrollbar/Bar.js +315 -0
  29. package/build/cjs/components/scroll/scrollbar/ScrollBar.js +206 -0
  30. package/build/cjs/components/scroll/smooth-scroll/SmoothScroll.js +625 -0
  31. package/build/cjs/components/scroll/types.js +2 -0
  32. package/build/cjs/components/split-text/SplitText.js +233 -0
  33. package/build/cjs/components/text/SplitText.js +329 -0
  34. package/build/cjs/components/timeline/StaticTimeline.js +137 -0
  35. package/build/cjs/components/timeline/Timeline.js +190 -0
  36. package/build/cjs/index.js +87 -0
  37. package/build/cjs/utils/common/index.js +12 -0
  38. package/build/cjs/utils/common/mergeWithoutArrays.js +19 -0
  39. package/build/cjs/utils/common/randID.js +11 -0
  40. package/build/cjs/utils/common/timeoutCallback.js +17 -0
  41. package/build/cjs/utils/errors.js +8 -0
  42. package/build/cjs/utils/listeners/index.js +10 -0
  43. package/build/cjs/utils/listeners/intersectionObserverSupported.js +11 -0
  44. package/build/cjs/utils/listeners/onScroll.js +47 -0
  45. package/build/cjs/utils/math/boundVal.js +16 -0
  46. package/build/cjs/utils/math/index.js +12 -0
  47. package/build/cjs/utils/math/lerp.js +15 -0
  48. package/build/cjs/utils/math/scopeProgress.js +25 -0
  49. package/build/cjs/utils/types/general.js +2 -0
  50. package/build/cjs/utils/types/utility.js +2 -0
  51. package/build/es/app/Application.js +210 -0
  52. package/build/es/app/events/PageLoad.js +47 -0
  53. package/build/es/app/events/Viewport.js +232 -0
  54. package/build/es/base/Callbacks.js +205 -0
  55. package/build/es/base/Component.js +32 -0
  56. package/build/es/base/Module.js +225 -0
  57. package/build/es/base/MutableProp.js +152 -0
  58. package/build/es/base/Plugin.js +31 -0
  59. package/build/es/components/animation-frame/AnimationFrame.js +145 -0
  60. package/build/es/components/canvas/Ctx2D.js +133 -0
  61. package/build/es/components/canvas/Ctx2DPrerender.js +37 -0
  62. package/build/es/components/cursor/CustomCursor.js +274 -0
  63. package/build/es/components/dragger/Dragger.js +175 -0
  64. package/build/es/components/dragger/DraggerDirection.js +42 -0
  65. package/build/es/components/dragger/DraggerMove.js +56 -0
  66. package/build/es/components/loading/Preloader.js +164 -0
  67. package/build/es/components/loading/ProgressPreloader.js +304 -0
  68. package/build/es/components/page/Page.js +283 -0
  69. package/build/es/components/scroll/custom-scroll/CustomScroll.js +486 -0
  70. package/build/es/components/scroll/plugins/SmoothScrollDragPlugin.js +140 -0
  71. package/build/es/components/scroll/plugins/SmoothScrollKeyboardPlugin.js +109 -0
  72. package/build/es/components/scroll/scrollable/ScrollEventsBase.js +79 -0
  73. package/build/es/components/scroll/scrollable/ScrollView.js +264 -0
  74. package/build/es/components/scroll/scrollbar/Bar.js +262 -0
  75. package/build/es/components/scroll/scrollbar/ScrollBar.js +152 -0
  76. package/build/es/components/scroll/smooth-scroll/SmoothScroll.js +519 -0
  77. package/build/es/components/scroll/types.js +1 -0
  78. package/build/es/components/split-text/SplitText.js +199 -0
  79. package/build/es/components/text/SplitText.js +270 -0
  80. package/build/es/components/timeline/StaticTimeline.js +92 -0
  81. package/build/es/components/timeline/Timeline.js +141 -0
  82. package/build/es/index.js +37 -0
  83. package/build/es/utils/common/index.js +4 -0
  84. package/build/es/utils/common/mergeWithoutArrays.js +13 -0
  85. package/build/es/utils/common/randID.js +7 -0
  86. package/build/es/utils/common/timeoutCallback.js +14 -0
  87. package/build/es/utils/errors.js +5 -0
  88. package/build/es/utils/listeners/index.js +3 -0
  89. package/build/es/utils/listeners/intersectionObserverSupported.js +8 -0
  90. package/build/es/utils/listeners/onScroll.js +44 -0
  91. package/build/es/utils/math/boundVal.js +12 -0
  92. package/build/es/utils/math/index.js +4 -0
  93. package/build/es/utils/math/lerp.js +11 -0
  94. package/build/es/utils/math/scopeProgress.js +22 -0
  95. package/build/es/utils/types/general.js +1 -0
  96. package/build/es/utils/types/utility.js +1 -0
  97. package/build/types/app/Application.d.ts +161 -0
  98. package/build/types/app/Application.d.ts.map +1 -0
  99. package/build/types/app/events/PageLoad.d.ts +28 -0
  100. package/build/types/app/events/PageLoad.d.ts.map +1 -0
  101. package/build/types/app/events/Viewport.d.ts +137 -0
  102. package/build/types/app/events/Viewport.d.ts.map +1 -0
  103. package/build/types/base/Callbacks.d.ts +174 -0
  104. package/build/types/base/Callbacks.d.ts.map +1 -0
  105. package/build/types/base/Component.d.ts +48 -0
  106. package/build/types/base/Component.d.ts.map +1 -0
  107. package/build/types/base/Module.d.ts +179 -0
  108. package/build/types/base/Module.d.ts.map +1 -0
  109. package/build/types/base/MutableProp.d.ts +142 -0
  110. package/build/types/base/MutableProp.d.ts.map +1 -0
  111. package/build/types/base/Plugin.d.ts +35 -0
  112. package/build/types/base/Plugin.d.ts.map +1 -0
  113. package/build/types/components/animation-frame/AnimationFrame.d.ts +96 -0
  114. package/build/types/components/animation-frame/AnimationFrame.d.ts.map +1 -0
  115. package/build/types/components/canvas/Ctx2D.d.ts +111 -0
  116. package/build/types/components/canvas/Ctx2D.d.ts.map +1 -0
  117. package/build/types/components/canvas/Ctx2DPrerender.d.ts +41 -0
  118. package/build/types/components/canvas/Ctx2DPrerender.d.ts.map +1 -0
  119. package/build/types/components/cursor/CustomCursor.d.ts +181 -0
  120. package/build/types/components/cursor/CustomCursor.d.ts.map +1 -0
  121. package/build/types/components/dragger/Dragger.d.ts +120 -0
  122. package/build/types/components/dragger/Dragger.d.ts.map +1 -0
  123. package/build/types/components/dragger/DraggerDirection.d.ts +39 -0
  124. package/build/types/components/dragger/DraggerDirection.d.ts.map +1 -0
  125. package/build/types/components/dragger/DraggerMove.d.ts +49 -0
  126. package/build/types/components/dragger/DraggerMove.d.ts.map +1 -0
  127. package/build/types/components/loading/Preloader.d.ts +107 -0
  128. package/build/types/components/loading/Preloader.d.ts.map +1 -0
  129. package/build/types/components/loading/ProgressPreloader.d.ts +166 -0
  130. package/build/types/components/loading/ProgressPreloader.d.ts.map +1 -0
  131. package/build/types/components/page/Page.d.ts +126 -0
  132. package/build/types/components/page/Page.d.ts.map +1 -0
  133. package/build/types/components/scroll/custom-scroll/CustomScroll.d.ts +322 -0
  134. package/build/types/components/scroll/custom-scroll/CustomScroll.d.ts.map +1 -0
  135. package/build/types/components/scroll/plugins/SmoothScrollDragPlugin.d.ts +97 -0
  136. package/build/types/components/scroll/plugins/SmoothScrollDragPlugin.d.ts.map +1 -0
  137. package/build/types/components/scroll/plugins/SmoothScrollKeyboardPlugin.d.ts +34 -0
  138. package/build/types/components/scroll/plugins/SmoothScrollKeyboardPlugin.d.ts.map +1 -0
  139. package/build/types/components/scroll/scrollable/ScrollEventsBase.d.ts +60 -0
  140. package/build/types/components/scroll/scrollable/ScrollEventsBase.d.ts.map +1 -0
  141. package/build/types/components/scroll/scrollable/ScrollView.d.ts +140 -0
  142. package/build/types/components/scroll/scrollable/ScrollView.d.ts.map +1 -0
  143. package/build/types/components/scroll/scrollbar/Bar.d.ts +84 -0
  144. package/build/types/components/scroll/scrollbar/Bar.d.ts.map +1 -0
  145. package/build/types/components/scroll/scrollbar/ScrollBar.d.ts +109 -0
  146. package/build/types/components/scroll/scrollbar/ScrollBar.d.ts.map +1 -0
  147. package/build/types/components/scroll/smooth-scroll/SmoothScroll.d.ts +307 -0
  148. package/build/types/components/scroll/smooth-scroll/SmoothScroll.d.ts.map +1 -0
  149. package/build/types/components/scroll/types.d.ts +11 -0
  150. package/build/types/components/scroll/types.d.ts.map +1 -0
  151. package/build/types/components/split-text/SplitText.d.ts +118 -0
  152. package/build/types/components/split-text/SplitText.d.ts.map +1 -0
  153. package/build/types/components/text/SplitText.d.ts +118 -0
  154. package/build/types/components/text/SplitText.d.ts.map +1 -0
  155. package/build/types/components/timeline/StaticTimeline.d.ts +92 -0
  156. package/build/types/components/timeline/StaticTimeline.d.ts.map +1 -0
  157. package/build/types/components/timeline/Timeline.d.ts +101 -0
  158. package/build/types/components/timeline/Timeline.d.ts.map +1 -0
  159. package/build/types/index.d.ts +38 -0
  160. package/build/types/index.d.ts.map +1 -0
  161. package/build/types/utils/common/index.d.ts +5 -0
  162. package/build/types/utils/common/index.d.ts.map +1 -0
  163. package/build/types/utils/common/mergeWithoutArrays.d.ts +6 -0
  164. package/build/types/utils/common/mergeWithoutArrays.d.ts.map +1 -0
  165. package/build/types/utils/common/randID.d.ts +5 -0
  166. package/build/types/utils/common/randID.d.ts.map +1 -0
  167. package/build/types/utils/common/timeoutCallback.d.ts +6 -0
  168. package/build/types/utils/common/timeoutCallback.d.ts.map +1 -0
  169. package/build/types/utils/errors.d.ts +3 -0
  170. package/build/types/utils/errors.d.ts.map +1 -0
  171. package/build/types/utils/listeners/index.d.ts +4 -0
  172. package/build/types/utils/listeners/index.d.ts.map +1 -0
  173. package/build/types/utils/listeners/intersectionObserverSupported.d.ts +2 -0
  174. package/build/types/utils/listeners/intersectionObserverSupported.d.ts.map +1 -0
  175. package/build/types/utils/listeners/onScroll.d.ts +10 -0
  176. package/build/types/utils/listeners/onScroll.d.ts.map +1 -0
  177. package/build/types/utils/math/boundVal.d.ts +5 -0
  178. package/build/types/utils/math/boundVal.d.ts.map +1 -0
  179. package/build/types/utils/math/index.d.ts +5 -0
  180. package/build/types/utils/math/index.d.ts.map +1 -0
  181. package/build/types/utils/math/lerp.d.ts +5 -0
  182. package/build/types/utils/math/lerp.d.ts.map +1 -0
  183. package/build/types/utils/math/scopeProgress.d.ts +20 -0
  184. package/build/types/utils/math/scopeProgress.d.ts.map +1 -0
  185. package/build/types/utils/types/general.d.ts +7 -0
  186. package/build/types/utils/types/general.d.ts.map +1 -0
  187. package/build/types/utils/types/utility.d.ts +14 -0
  188. package/build/types/utils/types/utility.d.ts.map +1 -0
  189. package/package.json +88 -82
  190. package/src/cdn/index.js +3 -0
  191. package/src/sass/base.scss +3 -0
  192. package/src/sass/components/cursor/_custom-cursor.scss +63 -0
  193. package/src/sass/components/index.scss +6 -0
  194. package/src/sass/components/loading/_preloader.scss +15 -0
  195. package/src/sass/components/scroll/_scrollbar.scss +73 -0
  196. package/src/sass/components/scroll/_smooth-scroll.scss +17 -0
  197. package/src/sass/index.scss +3 -0
  198. package/src/sass/mixins/_scroll.scss +7 -0
  199. package/{dist/scss → src/sass}/mixins/_transition.scss +8 -4
  200. package/src/sass/mixins/_viewport.scss +69 -0
  201. package/src/sass/mixins/index.scss +3 -0
  202. package/src/ts/app/Application.ts +350 -0
  203. package/src/ts/app/events/PageLoad.ts +79 -0
  204. package/src/ts/app/events/Viewport.ts +365 -0
  205. package/src/ts/base/Callbacks.ts +380 -0
  206. package/src/ts/base/Component.ts +83 -0
  207. package/src/ts/base/Module.ts +385 -0
  208. package/src/ts/base/MutableProp.ts +242 -0
  209. package/src/ts/base/Plugin.ts +76 -0
  210. package/src/ts/components/animation-frame/AnimationFrame.ts +264 -0
  211. package/src/ts/components/canvas/Ctx2D.ts +260 -0
  212. package/src/ts/components/canvas/Ctx2DPrerender.ts +96 -0
  213. package/src/ts/components/cursor/CustomCursor.ts +462 -0
  214. package/src/ts/components/dragger/Dragger.ts +313 -0
  215. package/src/ts/components/dragger/DraggerDirection.ts +106 -0
  216. package/src/ts/components/dragger/DraggerMove.ts +114 -0
  217. package/src/ts/components/loading/Preloader.ts +279 -0
  218. package/src/ts/components/loading/ProgressPreloader.ts +484 -0
  219. package/src/ts/components/page/Page.ts +421 -0
  220. package/src/ts/components/scroll/plugins/SmoothScrollDragPlugin.ts +251 -0
  221. package/src/ts/components/scroll/plugins/SmoothScrollKeyboardPlugin.ts +166 -0
  222. package/src/ts/components/scroll/scrollable/ScrollEventsBase.ts +151 -0
  223. package/src/ts/components/scroll/scrollable/ScrollView.ts +435 -0
  224. package/src/ts/components/scroll/scrollbar/Bar.ts +364 -0
  225. package/src/ts/components/scroll/scrollbar/ScrollBar.ts +292 -0
  226. package/src/ts/components/scroll/smooth-scroll/SmoothScroll.ts +861 -0
  227. package/src/ts/components/scroll/types.ts +10 -0
  228. package/src/ts/components/text/SplitText.ts +418 -0
  229. package/src/ts/components/timeline/StaticTimeline.ts +197 -0
  230. package/src/ts/components/timeline/Timeline.ts +256 -0
  231. package/src/ts/index.ts +94 -0
  232. package/src/ts/utils/common/index.ts +9 -0
  233. package/src/ts/utils/common/mergeWithoutArrays.ts +20 -0
  234. package/src/ts/utils/common/randID.ts +9 -0
  235. package/src/ts/utils/common/timeoutCallback.ts +16 -0
  236. package/src/ts/utils/errors.ts +6 -0
  237. package/src/ts/utils/listeners/index.ts +7 -0
  238. package/src/ts/utils/listeners/intersectionObserverSupported.ts +10 -0
  239. package/src/ts/utils/listeners/onScroll.ts +56 -0
  240. package/src/ts/utils/math/boundVal.ts +15 -0
  241. package/src/ts/utils/math/index.ts +9 -0
  242. package/src/ts/utils/math/lerp.ts +16 -0
  243. package/src/ts/utils/math/scopeProgress.ts +23 -0
  244. package/src/ts/utils/types/general.ts +7 -0
  245. package/src/ts/utils/types/utility.ts +34 -0
  246. package/dist/js/AJAXEvent.js +0 -355
  247. package/dist/js/Application.js +0 -345
  248. package/dist/js/ColumnsModule.js +0 -392
  249. package/dist/js/CursorModule.js +0 -390
  250. package/dist/js/DraggerModule.js +0 -792
  251. package/dist/js/Event.js +0 -538
  252. package/dist/js/FilterModule.js +0 -943
  253. package/dist/js/FormModule.js +0 -706
  254. package/dist/js/FrameModule.js +0 -229
  255. package/dist/js/IntervalModule.js +0 -270
  256. package/dist/js/KeydownModule.js +0 -293
  257. package/dist/js/LoadEvent.js +0 -106
  258. package/dist/js/MenuBaseModule.js +0 -292
  259. package/dist/js/MenuModule.js +0 -265
  260. package/dist/js/MenuTimelineModule.js +0 -321
  261. package/dist/js/Module.js +0 -478
  262. package/dist/js/PageAjaxModule.js +0 -1010
  263. package/dist/js/PageLoadMediaPlugin.js +0 -285
  264. package/dist/js/PageModule.js +0 -440
  265. package/dist/js/PaginationModule.js +0 -961
  266. package/dist/js/PaginationScrollPlugin.js +0 -209
  267. package/dist/js/Plugin.js +0 -114
  268. package/dist/js/PopupModule.js +0 -942
  269. package/dist/js/PreloaderModule.js +0 -724
  270. package/dist/js/ResponsiveProp.js +0 -301
  271. package/dist/js/ScrollAnchorModule.js +0 -554
  272. package/dist/js/ScrollAnimateModule.js +0 -419
  273. package/dist/js/ScrollBarPlugin.js +0 -594
  274. package/dist/js/ScrollDragPlugin.js +0 -396
  275. package/dist/js/ScrollModule.js +0 -1071
  276. package/dist/js/ScrollViewModule.js +0 -388
  277. package/dist/js/SelectModule.js +0 -860
  278. package/dist/js/SliderCanvasModule.js +0 -733
  279. package/dist/js/SliderControlsPlugin.js +0 -247
  280. package/dist/js/SliderCounterPlugin.js +0 -278
  281. package/dist/js/SliderDotsPlugin.js +0 -270
  282. package/dist/js/SliderDragSwipePlugin.js +0 -245
  283. package/dist/js/SliderIntervalPlugin.js +0 -192
  284. package/dist/js/SliderKeydownPlugin.js +0 -185
  285. package/dist/js/SliderModule.js +0 -1062
  286. package/dist/js/SliderWheelPlugin.js +0 -194
  287. package/dist/js/TextAnimateModule.js +0 -663
  288. package/dist/js/TextSplitModule.js +0 -785
  289. package/dist/js/TimelineBaseModule.js +0 -405
  290. package/dist/js/TimelineModule.js +0 -494
  291. package/dist/js/URLEvent.js +0 -239
  292. package/dist/js/ViewportEvent.js +0 -465
  293. package/dist/js/WheelEventModule.js +0 -295
  294. package/dist/js/domChildOf.js +0 -46
  295. package/dist/js/domChildren.js +0 -47
  296. package/dist/js/domInsertAfter.js +0 -32
  297. package/dist/js/domRemoveChildren.js +0 -26
  298. package/dist/js/easing.js +0 -363
  299. package/dist/js/eventListenerAdd.js +0 -87
  300. package/dist/js/eventListenerGet.js +0 -49
  301. package/dist/js/eventListenerRemove.js +0 -36
  302. package/dist/js/generateId.js +0 -29
  303. package/dist/js/getBrowserName.js +0 -60
  304. package/dist/js/getOsName.js +0 -39
  305. package/dist/js/getVevetProperties.js +0 -22
  306. package/dist/js/index.js +0 -519
  307. package/dist/js/mathScopeProgress.js +0 -32
  308. package/dist/js/mathSpreadScopeProgress.js +0 -35
  309. package/dist/js/merge.js +0 -33
  310. package/dist/js/normalizeWheel.js +0 -97
  311. package/dist/js/text_animate_module_addons/_composite_elementary.js +0 -196
  312. package/dist/js/text_animate_module_addons/_elementary.js +0 -88
  313. package/dist/js/timeoutCallback.js +0 -26
  314. package/dist/js/vevet.js +0 -10
  315. package/dist/scss/_prefix.scss +0 -1
  316. package/dist/scss/classes/_clear.scss +0 -5
  317. package/dist/scss/classes/_col-row.scss +0 -48
  318. package/dist/scss/classes/_display.scss +0 -65
  319. package/dist/scss/classes/_document-reset.scss +0 -28
  320. package/dist/scss/classes/_document.scss +0 -7
  321. package/dist/scss/classes/_overflow.scss +0 -39
  322. package/dist/scss/classes/_position.scss +0 -55
  323. package/dist/scss/classes/_text.scss +0 -24
  324. package/dist/scss/classes/_transition.scss +0 -22
  325. package/dist/scss/classes/_wrap.scss +0 -31
  326. package/dist/scss/classes/index.scss +0 -14
  327. package/dist/scss/index.scss +0 -3
  328. package/dist/scss/mixins/_clear.scss +0 -6
  329. package/dist/scss/mixins/_display.scss +0 -6
  330. package/dist/scss/mixins/_form.scss +0 -14
  331. package/dist/scss/mixins/_position.scss +0 -42
  332. package/dist/scss/mixins/_reset.scss +0 -17
  333. package/dist/scss/mixins/_responsive.scss +0 -88
  334. package/dist/scss/mixins/index.scss +0 -7
  335. package/dist/scss/modules/columns/_settings.scss +0 -1
  336. package/dist/scss/modules/columns/index.scss +0 -19
  337. package/dist/scss/modules/cursor/_settings.scss +0 -7
  338. package/dist/scss/modules/cursor/index.scss +0 -15
  339. package/dist/scss/modules/form/_settings.scss +0 -15
  340. package/dist/scss/modules/form/index.scss +0 -57
  341. package/dist/scss/modules/index.scss +0 -11
  342. package/dist/scss/modules/menu/_button.scss +0 -58
  343. package/dist/scss/modules/menu/_menu.scss +0 -25
  344. package/dist/scss/modules/menu/_settings.scss +0 -23
  345. package/dist/scss/modules/menu/index.scss +0 -3
  346. package/dist/scss/modules/pagination/_settings.scss +0 -6
  347. package/dist/scss/modules/pagination/index.scss +0 -24
  348. package/dist/scss/modules/popup/_settings.scss +0 -26
  349. package/dist/scss/modules/popup/index.scss +0 -294
  350. package/dist/scss/modules/preloader/_settings.scss +0 -3
  351. package/dist/scss/modules/preloader/index.scss +0 -19
  352. package/dist/scss/modules/scroll/_settings.scss +0 -22
  353. package/dist/scss/modules/scroll/index.scss +0 -94
  354. package/dist/scss/modules/select/_settings.scss +0 -28
  355. package/dist/scss/modules/select/index.scss +0 -142
  356. package/dist/scss/modules/slider/_settings.scss +0 -35
  357. package/dist/scss/modules/slider/index.scss +0 -153
  358. package/dist/scss/modules/text/_settings.scss +0 -1
  359. package/dist/scss/modules/text/index.scss +0 -19
  360. package/dist/types/types.d.ts +0 -18763
package/dist/js/easing.js DELETED
@@ -1,363 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
-
10
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
-
12
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
13
-
14
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
15
-
16
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
17
-
18
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
-
20
- var isarray = require('isarray');
21
- /**
22
- * @description Easing functions. See {@link https://easings.net/en}. <br>
23
- * Available names of easing functions:
24
- * <ul>
25
- * <li>easeInQuad</li>
26
- * <li>easeOutQuad</li>
27
- * <li>easeInOutQuad</li>
28
- * <li>easeInCubic</li>
29
- * <li>easeOutCubic</li>
30
- * <li>easeInOutCubic</li>
31
- * <li>easeInQuart</li>
32
- * <li>easeOutQuart</li>
33
- * <li>easeInOutQuart</li>
34
- * <li>easeInQuint</li>
35
- * <li>easeOutQuint</li>
36
- * <li>easeInOutQuint</li>
37
- * <li>easeInSine</li>
38
- * <li>easeOutSine</li>
39
- * <li>easeInOutSine</li>
40
- * <li>easeInExpo</li>
41
- * <li>easeOutExpo</li>
42
- * <li>easeInOutExpo</li>
43
- * <li>easeInCirc</li>
44
- * <li>easeOutCirc</li>
45
- * <li>easeInOutCirc</li>
46
- * <li>easeInElastic</li>
47
- * <li>easeOutElastic</li>
48
- * <li>easeInOutElastic</li>
49
- * <li>easeInBack</li>
50
- * <li>easeOutBack</li>
51
- * <li>easeInOutBack</li>
52
- * <li>easeInBounce</li>
53
- * <li>easeOutBounce</li>
54
- * <li>easeInOutBounce</li>
55
- * </ul>
56
- *
57
- * @param {number} t - Current time.
58
- * @param {string|Array<number>|Function} value - The name of the easing function or values of a quadratic bezier.
59
- *
60
- * @returns {number} Returns a progress value.
61
- *
62
- * @memberof Vevet
63
- *
64
- * @example
65
- *
66
- * Vevet.easing(.5, 'easeInQuad');
67
- * Vevet.easing(.5, [.25, .1, .25, 1]);
68
- *
69
- */
70
-
71
-
72
- function easing(t, value) {
73
- var b = 0,
74
- c = 1,
75
- d = 1;
76
-
77
- if (isarray(value)) {
78
- return _bezier(value, t);
79
- } else if (typeof value === "string") {
80
- switch (value) {
81
- case 'easeInQuad':
82
- return c * (t /= d) * t + b;
83
-
84
- case 'easeOutQuad':
85
- return -c * (t /= d) * (t - 2) + b;
86
-
87
- case 'easeInOutQuad':
88
- if ((t /= d / 2) < 1) return c / 2 * t * t + b;
89
- return -c / 2 * (--t * (t - 2) - 1) + b;
90
-
91
- case 'easeInCubic':
92
- return c * (t /= d) * t * t + b;
93
-
94
- case 'easeOutCubic':
95
- return c * ((t = t / d - 1) * t * t + 1) + b;
96
-
97
- case 'easeInOutCubic':
98
- if ((t /= d / 2) < 1) return c / 2 * t * t * t + b;
99
- return c / 2 * ((t -= 2) * t * t + 2) + b;
100
-
101
- case 'easeInQuart':
102
- return c * (t /= d) * t * t * t + b;
103
-
104
- case 'easeOutQuart':
105
- return -c * ((t = t / d - 1) * t * t * t - 1) + b;
106
-
107
- case 'easeInOutQuart':
108
- if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b;
109
- return -c / 2 * ((t -= 2) * t * t * t - 2) + b;
110
-
111
- case 'easeInQuint':
112
- return c * (t /= d) * t * t * t * t + b;
113
-
114
- case 'easeOutQuint':
115
- return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
116
-
117
- case 'easeInOutQuint':
118
- if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b;
119
- return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;
120
-
121
- case 'easeInSine':
122
- return -c * Math.cos(t / d * (Math.PI / 2)) + c + b;
123
-
124
- case 'easeOutSine':
125
- return c * Math.sin(t / d * (Math.PI / 2)) + b;
126
-
127
- case 'easeInOutSine':
128
- return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b;
129
-
130
- case 'easeInExpo':
131
- return t == 0 ? b : c * Math.pow(2, 10 * (t / d - 1)) + b;
132
-
133
- case 'easeOutExpo':
134
- return t == d ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b;
135
-
136
- case 'easeInOutExpo':
137
- if (t == 0) return b;
138
- if (t == d) return b + c;
139
- if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b;
140
- return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b;
141
-
142
- case 'easeInCirc':
143
- return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b;
144
-
145
- case 'easeOutCirc':
146
- return c * Math.sqrt(1 - (t = t / d - 1) * t) + b;
147
-
148
- case 'easeInOutCirc':
149
- if ((t /= d / 2) < 1) return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b;
150
- return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b;
151
-
152
- case 'easeInElastic':
153
- var s = 1.70158;
154
- var p = 0;
155
- var a = c;
156
- if (t == 0) return b;
157
- if ((t /= d) == 1) return b + c;
158
- if (!p) p = d * .3;
159
-
160
- if (a < Math.abs(c)) {
161
- a = c; // eslint-disable-next-line no-redeclare
162
-
163
- var s = p / 4; // eslint-disable-next-line no-redeclare
164
- } else var s = p / (2 * Math.PI) * Math.asin(c / a);
165
-
166
- return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
167
-
168
- case 'easeOutElastic':
169
- // eslint-disable-next-line no-redeclare
170
- var s = 1.70158; // eslint-disable-next-line no-redeclare
171
-
172
- var p = 0; // eslint-disable-next-line no-redeclare
173
-
174
- var a = c;
175
- if (t == 0) return b;
176
- if ((t /= d) == 1) return b + c;
177
- if (!p) p = d * .3;
178
-
179
- if (a < Math.abs(c)) {
180
- a = c; // eslint-disable-next-line no-redeclare
181
-
182
- var s = p / 4; // eslint-disable-next-line no-redeclare
183
- } else var s = p / (2 * Math.PI) * Math.asin(c / a);
184
-
185
- return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * (2 * Math.PI) / p) + c + b;
186
-
187
- case 'easeInOutElastic':
188
- // eslint-disable-next-line no-redeclare
189
- var s = 1.70158; // eslint-disable-next-line no-redeclare
190
-
191
- var p = 0; // eslint-disable-next-line no-redeclare
192
-
193
- var a = c;
194
- if (t == 0) return b;
195
- if ((t /= d / 2) == 2) return b + c;
196
- if (!p) p = d * (.3 * 1.5);
197
-
198
- if (a < Math.abs(c)) {
199
- a = c; // eslint-disable-next-line no-redeclare
200
-
201
- var s = p / 4; // eslint-disable-next-line no-redeclare
202
- } else var s = p / (2 * Math.PI) * Math.asin(c / a);
203
-
204
- if (t < 1) return -.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
205
- return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p) * .5 + c + b;
206
-
207
- case 'easeInBack':
208
- if (s == undefined) s = 1.70158;
209
- return c * (t /= d) * t * ((s + 1) * t - s) + b;
210
-
211
- case 'easeOutBack':
212
- if (s == undefined) s = 1.70158;
213
- return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b;
214
-
215
- case 'easeInOutBack':
216
- if (s == undefined) s = 1.70158;
217
- if ((t /= d / 2) < 1) return c / 2 * (t * t * (((s *= 1.525) + 1) * t - s)) + b;
218
- return c / 2 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2) + b;
219
-
220
- case 'easeInBounce':
221
- return c - easing(d - t, 'easeOutBounce') + b;
222
-
223
- case 'easeOutBounce':
224
- if ((t /= d) < 1 / 2.75) {
225
- return c * (7.5625 * t * t) + b;
226
- } else if (t < 2 / 2.75) {
227
- return c * (7.5625 * (t -= 1.5 / 2.75) * t + .75) + b;
228
- } else if (t < 2.5 / 2.75) {
229
- return c * (7.5625 * (t -= 2.25 / 2.75) * t + .9375) + b;
230
- } else {
231
- return c * (7.5625 * (t -= 2.625 / 2.75) * t + .984375) + b;
232
- }
233
-
234
- case 'easeInOutBounce':
235
- if (t < d / 2) return easing(t * 2, 'easeOutBounce') * .5 + b;
236
- return easing(t * 2 - d, 'easeOutBounce') * .5 + c * .5 + b;
237
-
238
- default:
239
- return t;
240
- }
241
- } else if (typeof value === "function") {
242
- return value(t);
243
- }
244
-
245
- return t;
246
- }
247
-
248
- var _default = easing;
249
- /* Private for bezier */
250
-
251
- exports.default = _default;
252
-
253
- function _bezier(arr, t) {
254
- var _arr2 = _slicedToArray(arr, 4),
255
- x1 = _arr2[0],
256
- y1 = _arr2[1],
257
- x2 = _arr2[2],
258
- y2 = _arr2[3];
259
-
260
- if (x1 === y1 && x2 === y2) {
261
- return t;
262
- }
263
-
264
- var val = [];
265
-
266
- for (var i = 0; i < 11; ++i) {
267
- val[i] = _bezierCalc(i * .1, x1, x2);
268
- }
269
-
270
- if (t === 0) {
271
- return 0;
272
- }
273
-
274
- if (t === 1) {
275
- return 1;
276
- }
277
-
278
- return _bezierCalc(_bezierX(arr, t, val), y1, y2);
279
- }
280
-
281
- function _bezierX(arr, t, val) {
282
- // eslint-disable-next-line no-unused-vars
283
- var _arr3 = _slicedToArray(arr, 4),
284
- x1 = _arr3[0],
285
- y1 = _arr3[1],
286
- x2 = _arr3[2],
287
- y2 = _arr3[3];
288
-
289
- var start = 0,
290
- current = 1;
291
-
292
- for (; current !== 10 && val[current] <= t; ++current) {
293
- start += .1;
294
- }
295
-
296
- --current;
297
- var dist = (t - val[current]) / (val[current + 1] - val[current]),
298
- guessForT = start + dist * .1;
299
-
300
- var initialSlope = _bezierSlope(guessForT, x1, x2);
301
-
302
- if (initialSlope >= 0.001) {
303
- return _bezierNewtonRaphsonIterate(t, guessForT, x1, x2);
304
- } else if (initialSlope === 0.0) {
305
- return guessForT;
306
- } else {
307
- return _bezierBinarySubdivide(t, start, start + .1, x1, x2);
308
- }
309
- }
310
-
311
- function _bezierSlope(t, x1, x2) {
312
- return 3.0 * _bezierA(x1, x2) * t * t + 2.0 * _bezierB(x1, x2) * t + _bezierC(x1);
313
- }
314
-
315
- function _bezierNewtonRaphsonIterate(t, guessForT, x1, x2) {
316
- for (var i = 0; i < 4; ++i) {
317
- var currentSlope = _bezierSlope(guessForT, x1, x2);
318
-
319
- if (currentSlope === 0.0) {
320
- return guessForT;
321
- }
322
-
323
- var currentX = _bezierCalc(guessForT, x1, x2) - t;
324
- guessForT -= currentX / currentSlope;
325
- }
326
-
327
- return guessForT;
328
- }
329
-
330
- function _bezierBinarySubdivide(t, a, b, x1, x2) {
331
- var currentX,
332
- currentT,
333
- i = 0;
334
-
335
- do {
336
- currentT = a + (b - a) / 2.0;
337
- currentX = _bezierCalc(currentT, x1, x2) - t;
338
-
339
- if (currentX > 0.0) {
340
- b = currentT;
341
- } else {
342
- a = currentT;
343
- }
344
- } while (Math.abs(currentX) > 0.0000001 && ++i < 10);
345
-
346
- return currentT;
347
- }
348
-
349
- function _bezierCalc(t, x1, x2) {
350
- return ((_bezierA(x1, x2) * t + _bezierB(x1, x2)) * t + _bezierC(x1)) * t;
351
- }
352
-
353
- function _bezierA(x1, x2) {
354
- return 1.0 - 3.0 * x2 + 3.0 * x1;
355
- }
356
-
357
- function _bezierB(x1, x2) {
358
- return 3.0 * x2 - 6.0 * x1;
359
- }
360
-
361
- function _bezierC(x1) {
362
- return 3.0 * x1;
363
- }
@@ -1,87 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _generateId = _interopRequireDefault(require("./generateId"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- /**
13
- * @typedef {object} Vevet.Listener
14
- * @param {Window|HTMLElement} data.el - The element for the event.
15
- * @param {string} data.target - The target of the event.
16
- * @param {boolean} [data.passive] - Is a passive listener.
17
- * @param {Function} data.do - Callback.
18
- */
19
-
20
- /**
21
- * @typedef {object} Vevet.BindListener
22
- * @property {string} id Id of the event.
23
- * @property {Window|HTMLElement} el Element with the event.
24
- * @property {string} target Target of the event.
25
- * @property {Function} do Callback of the event.
26
- */
27
-
28
- /**
29
- * @description Add event listener to the element.
30
- * Almost equal to addEventListener but gives possibilities to manage listeners more convenient.
31
- *
32
- * @param {Vevet.Listener} data
33
- *
34
- * @returns {Vevet.BindListener} Returns id of the event, its element and callback.
35
- *
36
- * @memberof Vevet
37
- *
38
- * @example
39
- *
40
- * Vevet.addEventListener({
41
- * el: el,
42
- * target: 'click',
43
- * do: () => {
44
- * alert("Clicked!");
45
- * }
46
- * });
47
- */
48
- function eventListenerAdd(data) {
49
- var attr = 'vevet-event',
50
- el = data.el,
51
- target = data.target,
52
- callback = data.do;
53
-
54
- if (typeof el[attr] == 'undefined') {
55
- el[attr] = {};
56
- }
57
-
58
- var id = (0, _generateId.default)("".concat(attr, "__").concat(target, "__"));
59
-
60
- if (typeof data.passive !== "undefined") {
61
- if (data.passive) {
62
- el.addEventListener(target, callback, {
63
- passive: true
64
- });
65
- } else {
66
- el.addEventListener(target, callback, {
67
- passive: false
68
- });
69
- }
70
- } else {
71
- el.addEventListener(target, callback, false);
72
- }
73
-
74
- el[attr][id] = {
75
- target: target,
76
- do: callback
77
- };
78
- return {
79
- id: id,
80
- el: el,
81
- target: target,
82
- do: callback
83
- };
84
- }
85
-
86
- var _default = eventListenerAdd;
87
- exports.default = _default;
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- /**
9
- * @description Get event listener data of an element.
10
- *
11
- * @param {object} data - The data object of the event.
12
- * @param {Window|HTMLElement} data.el - Element with the event.
13
- * @param {string} data.id - Id of the event.
14
- *
15
- * @returns {false|Vevet.BindListener} Returns either 'false' or object with an id of the event,
16
- * its element and callback.
17
- *
18
- * @memberof Vevet
19
- *
20
- * @example
21
- *
22
- * Vevet.eventListenerGet({
23
- * el: el,
24
- * id: 'id'
25
- * });
26
- */
27
- function eventListenerGet(data) {
28
- var attr = 'vevet-event',
29
- el = data.el,
30
- id = data.id;
31
-
32
- if (typeof el[attr] == 'undefined') {
33
- return false;
34
- }
35
-
36
- if (typeof el[attr][id] == 'undefined') {
37
- return false;
38
- }
39
-
40
- return {
41
- id: id,
42
- el: el,
43
- target: el[attr][id].target,
44
- do: el[attr][id].do
45
- };
46
- }
47
-
48
- var _default = eventListenerGet;
49
- exports.default = _default;
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _eventListenerGet = _interopRequireDefault(require("./eventListenerGet"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
- /**
13
- * @description Remove an event listener from an element.
14
- *
15
- * @param {object} data - Data object of the event.
16
- * @param {Window|HTMLElement} data.el - Element with the event.
17
- * @param {string} data.id - Id of the event.
18
- *
19
- * @memberof Vevet
20
- *
21
- * @example
22
- *
23
- * Vevet.eventListenerRemove({
24
- * el: el,
25
- * id: 'id'
26
- * });
27
- */
28
- function eventListenerRemove(data) {
29
- var attr = 'vevet-event',
30
- event = (0, _eventListenerGet.default)(data);
31
- event.el.removeEventListener(event.target, event.do, false);
32
- delete event.el[attr][data.id];
33
- }
34
-
35
- var _default = eventListenerRemove;
36
- exports.default = _default;
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- /**
9
- * @description Generate a random id.
10
- *
11
- * @param {string|number} [prefix=id]
12
- *
13
- * @returns {string}
14
- *
15
- * @memberof Vevet
16
- *
17
- * @example
18
- *
19
- * Vevet.generateId('name');
20
- * // => 'name_1563641265586_284'
21
- */
22
- function generateId() {
23
- var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'id';
24
- var id = "".concat(+new Date(), "_").concat(Math.round(Math.random() * 1000));
25
- return "".concat(prefix, "_").concat(id);
26
- }
27
-
28
- var _default = generateId;
29
- exports.default = _default;
@@ -1,60 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- /**
9
- * @description Get browser name.
10
- *
11
- * @returns {string} Returns the name of yor browser (opera|firefox|safari|ie|edge|chrome|unknown).
12
- *
13
- * @memberof Vevet
14
- * @example
15
- *
16
- * Vevet.getBrowserName();
17
- * // => 'chrome'
18
- */
19
- function getBrowserName() {
20
- var browser = ''; // Opera 8.0+
21
-
22
- var isOpera = !!window.opr && !!window.opr.addons || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; // Firefox 1.0+
23
-
24
- var isFirefox = typeof InstallTrigger !== 'undefined'; // Safari 3.0+ "[object HTMLElementConstructor]"
25
-
26
- var isSafari = /constructor/i.test(window.HTMLElement) || function (p) {
27
- return p.toString() === "[object SafariRemoteNotification]";
28
- }(!window['safari'] || window.safari.pushNotification); // Internet Explorer 6-11
29
-
30
-
31
- var isIE =
32
- /*@cc_on!@*/
33
- false || !!document.documentMode; // Edge 20+
34
-
35
- var isEdge = !isIE && !!window.StyleMedia; // Chrome 1+
36
-
37
- var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); // Blink engine detection
38
- //let isBlink = (isChrome || isOpera) && !!window.CSS;
39
-
40
- if (isOpera) {
41
- browser = 'opera';
42
- } else if (isFirefox) {
43
- browser = 'firefox';
44
- } else if (isSafari) {
45
- browser = 'safari';
46
- } else if (isIE) {
47
- browser = 'ie';
48
- } else if (isEdge) {
49
- browser = 'edge';
50
- } else if (isChrome) {
51
- browser = 'chrome';
52
- } else {
53
- browser = 'unknown';
54
- }
55
-
56
- return browser;
57
- }
58
-
59
- var _default = getBrowserName;
60
- exports.default = _default;
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- /**
9
- * @description Get the name of your operating system.
10
- *
11
- * @returns {string} Returns the name of the Operating System (windows|linux|macos|freebsd|unknown).
12
- *
13
- * @memberof Vevet
14
- *
15
- * @example
16
- *
17
- * Vevet.getOsName();
18
- * // => 'windows'
19
- */
20
- function getOsName() {
21
- var os = '';
22
-
23
- if (navigator.userAgent.indexOf("Windows") !== -1) {
24
- os = "windows";
25
- } else if (navigator.userAgent.indexOf("Linux") !== -1) {
26
- os = "linux";
27
- } else if (navigator.userAgent.indexOf("Mac") !== -1) {
28
- os = "macos";
29
- } else if (navigator.userAgent.indexOf("FreeBSD") !== -1) {
30
- os = "freebsd";
31
- } else {
32
- os = "unknown";
33
- }
34
-
35
- return os;
36
- }
37
-
38
- var _default = getOsName;
39
- exports.default = _default;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = getVevetProperties;
7
-
8
- function getVevetProperties(data) {
9
- var vevetApplication = window.vevetApplication;
10
-
11
- if (typeof data == "undefined") {
12
- data = {
13
- v: vevetApplication
14
- };
15
- } else {
16
- if (typeof data.v == "undefined") {
17
- data.v = vevetApplication;
18
- }
19
- }
20
-
21
- return data;
22
- }