phcthemes_admin_panel_pack 4.0.7 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +2 -0
- data/Rakefile +8 -8
- data/app/assets/config/phcthemes_admin_panel_pack_manifest.js +9 -9
- data/app/assets/javascripts/common/backstretch/jquery.backstretch.js +1602 -1602
- data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +7023 -7023
- data/app/assets/javascripts/common/bootstrap/bootstrap.three.js +2377 -2377
- data/app/assets/javascripts/common/bootstrap-datepicker/bootstrap-datepicker.js +2039 -2039
- data/app/assets/javascripts/common/bootstrap-markdown/bootstrap-markdown.js +1390 -1390
- data/app/assets/javascripts/common/bootstrap-select/bootstrap-select.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.min.js +7 -7
- data/app/assets/javascripts/common/chartjs/chart.js +0 -0
- data/app/assets/javascripts/common/ckeditor/ckeditor.js +6 -6
- data/app/assets/javascripts/common/ckeditor/ckeditor.js.map +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/af.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ar.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ast.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/az.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/bg.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ca.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/cs.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/da.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/de-ch.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/de.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/el.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/en-au.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/en-gb.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/eo.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/es.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/et.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/eu.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/fa.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/fi.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/fr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/gl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/gu.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/he.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/hr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/hu.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/id.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/it.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ja.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/km.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/kn.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ko.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ku.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/lt.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/lv.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/nb.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ne.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/nl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/no.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/oc.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/pl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/pt-br.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/pt.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ro.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ru.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/si.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sk.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sq.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sr-latn.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sv.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/th.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/tr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/tt.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ug.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/uk.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/vi.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/zh-cn.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/zh.js +0 -0
- data/app/assets/javascripts/common/clipboardjs/clipboard.js +977 -977
- data/app/assets/javascripts/common/covervid/covervid.js +94 -94
- data/app/assets/javascripts/common/custom/custom.js +0 -0
- data/app/assets/javascripts/common/datatables/datatables.js +15310 -15310
- data/app/assets/javascripts/common/daterangepicker/daterangepicker.js +1565 -1565
- data/app/assets/javascripts/common/fastclick/fastclick.js +841 -841
- data/app/assets/javascripts/common/flexslider/jquery.flexslider.js +1252 -1252
- data/app/assets/javascripts/common/greenstock/greensock.js +35 -35
- data/app/assets/javascripts/common/html5sortable/jquery.sortable.js +98 -98
- data/app/assets/javascripts/common/icheck/icheck.js +509 -509
- data/app/assets/javascripts/common/imagesloaded/imagesloaded.pkgd.js +497 -497
- data/app/assets/javascripts/common/isotope/isotope.pkgd.js +3563 -3563
- data/app/assets/javascripts/common/jquery/jquery-3.4.1.js +10598 -10598
- data/app/assets/javascripts/common/jquery-countdown/jquery.countdown.js +245 -245
- data/app/assets/javascripts/common/jquery-filterizer/jquery.filterizr.min.js +0 -0
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.autogrow.js +37 -37
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.charcounter.js +53 -53
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.checkbox.js +54 -54
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.datepicker.js +59 -59
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.js +823 -823
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.masked.js +46 -46
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.time.js +71 -71
- data/app/assets/javascripts/common/jquery-jvectormap/jquery-jvectormap.js +44 -44
- data/app/assets/javascripts/common/jquery-placeholder/jquery.placeholder.js +281 -281
- data/app/assets/javascripts/common/jquery-slimscroll/jquery.slimscroll.js +474 -474
- data/app/assets/javascripts/common/jquery-sparkline/jquery.sparkline.js +3054 -3054
- data/app/assets/javascripts/common/jquery-ui/jquery-ui.js +18705 -18705
- data/app/assets/javascripts/common/jquery-validation/jquery.validate.js +0 -0
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.js +1281 -1281
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.min.js +9 -9
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.africa.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.asia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.australia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.europe.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.north-america.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.south-america.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.algeria.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.argentina.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.brazil.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.canada.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.europe.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.france.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.germany.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.greece.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iran.js +6 -6
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iraq.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.russia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.tunisia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.turkey.js +11 -11
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.usa.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.world.js +2 -2
- data/app/assets/javascripts/common/js-cookie/js.cookie.js +165 -165
- data/app/assets/javascripts/common/layerslider/layerslider.kreaturamedia.jquery.js +12 -12
- data/app/assets/javascripts/common/layerslider/layerslider.origami.js +12 -12
- data/app/assets/javascripts/common/layerslider/layerslider.timeline.js +12 -12
- data/app/assets/javascripts/common/layerslider/layerslider.transitions.js +12 -12
- data/app/assets/javascripts/common/lazysizes/lazysizes.js +754 -754
- data/app/assets/javascripts/common/leaflet/leaflet.js +4 -4
- data/app/assets/javascripts/common/magnific-popup/jquery.magnific-popup.js +1859 -1859
- data/app/assets/javascripts/common/mapbox/mapbox.js +51 -51
- data/app/assets/javascripts/common/metismenu/metisMenu.js +340 -340
- data/app/assets/javascripts/common/moderizer/modernizr.js +11 -11
- data/app/assets/javascripts/common/nouislider/nouislider.js +2637 -2637
- data/app/assets/javascripts/common/owl-carousel/owl.carousel.js +3448 -3448
- data/app/assets/javascripts/common/pace/pace.js +935 -935
- data/app/assets/javascripts/common/paroller/jquery.paroller.js +228 -228
- data/app/assets/javascripts/common/particlejs/particles.js +1540 -1540
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.common.js +1318 -1318
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.esm.js +1316 -1316
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.js +1324 -1324
- data/app/assets/javascripts/common/plyr/plyr.js +9137 -9137
- data/app/assets/javascripts/common/rangeslider/rangeslider.js +498 -498
- data/app/assets/javascripts/common/retina/retina.js +100 -100
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.actions.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.carousel.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.kenburn.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.layeranimation.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.migration.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.navigation.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.parallax.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.slideanims.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.video.js +0 -0
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.revolution.js +0 -0
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.tools.min.js +0 -0
- data/app/assets/javascripts/common/scrollme/jquery.scrollme.js +455 -455
- data/app/assets/javascripts/common/scrollup/jquery.scrollUp.js +168 -168
- data/app/assets/javascripts/common/select2/select2.full.js +6597 -6597
- data/app/assets/javascripts/common/selectbox/jquery.selectBox.js +1091 -1091
- data/app/assets/javascripts/common/slick/slick.js +3004 -3004
- data/app/assets/javascripts/common/smooth-scroll/SmoothScroll.js +788 -788
- data/app/assets/javascripts/common/spectrum/spectrum.js +2323 -2323
- data/app/assets/javascripts/common/stepper/jquery.fs.stepper.js +339 -339
- data/app/assets/javascripts/common/swiper/swiper.js +8124 -8124
- data/app/assets/javascripts/common/toaster/toastr.js +476 -476
- data/app/assets/javascripts/common/typed/typed.js +1044 -1044
- data/app/assets/javascripts/common/visable/jquery.visible.js +68 -68
- data/app/assets/javascripts/common/waypoints/jquery.waypoints.js +661 -661
- data/app/assets/javascripts/common/wow/wow.js +508 -508
- data/app/assets/javascripts/phcthemes_admin_panel_pack_adminlte.js +12 -12
- data/app/assets/javascripts/phcthemes_admin_panel_pack_boomerang.js +0 -0
- data/app/assets/javascripts/phcthemes_admin_panel_pack_coloradmin.js +5 -5
- data/app/assets/javascripts/phcthemes_admin_panel_pack_inspinia.js +10 -10
- data/app/assets/javascripts/phcthemes_admin_panel_pack_metronic.js +6 -6
- data/app/assets/javascripts/phcthemes_admin_panel_pack_quilpro.js +5 -5
- data/app/assets/javascripts/phcthemes_admin_panel_pack_starlight.js +5 -5
- data/app/assets/javascripts/themes/adminlte/theme/adminlte.js +1141 -1141
- data/app/assets/javascripts/themes/coloradmin/theme/color_admin_app.min.js +0 -0
- data/app/assets/javascripts/themes/coloradmin/theme/color_admin_default.js +0 -0
- data/app/assets/javascripts/themes/inspinia/theme/inspinia.js +279 -279
- data/app/assets/javascripts/themes/metronic/theme/plugins.bundle.js +0 -0
- data/app/assets/javascripts/themes/metronic/theme/prismjs.bundle.js +1922 -1922
- data/app/assets/javascripts/themes/metronic/theme/scripts.bundle.js +0 -0
- data/app/assets/javascripts/themes/metronic/theme/widgets.js +0 -0
- data/app/assets/stylesheets/common/hanna_hearts/hanna_hearts.scss +0 -0
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_adminlte.scss +16 -16
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_boomerang.scss +27 -27
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_coloradmin.scss +11 -11
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_inspinia.scss +18 -18
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_metronic.scss +15 -15
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_quilpro.scss +19 -19
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_starlight.scss +15 -15
- data/lib/phcthemes_admin_panel_pack/engine.rb +20 -20
- data/lib/phcthemes_admin_panel_pack/version.rb +3 -3
- data/lib/phcthemes_admin_panel_pack.rb +6 -6
- data/lib/tasks/phcthemes_admin_panel_pack_tasks.rake +4 -4
- metadata +3 -3
@@ -1,228 +1,228 @@
|
|
1
|
-
/**
|
2
|
-
* jQuery plugin paroller.js v1.4.5
|
3
|
-
* https://github.com/tgomilar/paroller.js
|
4
|
-
* preview: https://tgomilar.github.io/paroller/
|
5
|
-
**/
|
6
|
-
(function (factory) {
|
7
|
-
'use strict';
|
8
|
-
if (typeof define === 'function' && define.amd) {
|
9
|
-
define('parollerjs', ['jquery'], factory);
|
10
|
-
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
11
|
-
module.exports = factory(require('jquery'));
|
12
|
-
}
|
13
|
-
else {
|
14
|
-
factory(jQuery);
|
15
|
-
}
|
16
|
-
})(function ($) {
|
17
|
-
'use strict';
|
18
|
-
|
19
|
-
var working = false;
|
20
|
-
var scrollAction = function() {
|
21
|
-
working = false;
|
22
|
-
};
|
23
|
-
|
24
|
-
var setDirection = {
|
25
|
-
bgVertical: function (elem, bgOffset) {
|
26
|
-
return elem.css({'background-position': 'center ' + -bgOffset + 'px'});
|
27
|
-
},
|
28
|
-
bgHorizontal: function (elem, bgOffset) {
|
29
|
-
return elem.css({'background-position': -bgOffset + 'px' + ' center'});
|
30
|
-
},
|
31
|
-
vertical: function (elem, elemOffset, transition, oldTransform) {
|
32
|
-
(oldTransform === 'none' ? oldTransform = '' : true);
|
33
|
-
return elem.css({
|
34
|
-
'-webkit-transform': 'translateY(' + elemOffset + 'px)' + oldTransform,
|
35
|
-
'-moz-transform': 'translateY(' + elemOffset + 'px)' + oldTransform,
|
36
|
-
'transform': 'translateY(' + elemOffset + 'px)' + oldTransform,
|
37
|
-
'transition': transition,
|
38
|
-
'will-change': 'transform'
|
39
|
-
});
|
40
|
-
},
|
41
|
-
horizontal: function (elem, elemOffset, transition, oldTransform) {
|
42
|
-
(oldTransform === 'none' ? oldTransform = '' : true);
|
43
|
-
return elem.css({
|
44
|
-
'-webkit-transform': 'translateX(' + elemOffset + 'px)' + oldTransform,
|
45
|
-
'-moz-transform': 'translateX(' + elemOffset + 'px)' + oldTransform,
|
46
|
-
'transform': 'translateX(' + elemOffset + 'px)' + oldTransform,
|
47
|
-
'transition': transition,
|
48
|
-
'will-change': 'transform'
|
49
|
-
});
|
50
|
-
}
|
51
|
-
};
|
52
|
-
|
53
|
-
var setMovement = {
|
54
|
-
factor: function (elem, width, options) {
|
55
|
-
var dataFactor = elem.data('paroller-factor');
|
56
|
-
var factor = (dataFactor) ? dataFactor : options.factor;
|
57
|
-
if (width < 576) {
|
58
|
-
var dataFactorXs = elem.data('paroller-factor-xs');
|
59
|
-
var factorXs = (dataFactorXs) ? dataFactorXs : options.factorXs;
|
60
|
-
return (factorXs) ? factorXs : factor;
|
61
|
-
}
|
62
|
-
else if (width <= 768) {
|
63
|
-
var dataFactorSm = elem.data('paroller-factor-sm');
|
64
|
-
var factorSm = (dataFactorSm) ? dataFactorSm : options.factorSm;
|
65
|
-
return (factorSm) ? factorSm : factor;
|
66
|
-
}
|
67
|
-
else if (width <= 1024) {
|
68
|
-
var dataFactorMd = elem.data('paroller-factor-md');
|
69
|
-
var factorMd = (dataFactorMd) ? dataFactorMd : options.factorMd;
|
70
|
-
return (factorMd) ? factorMd : factor;
|
71
|
-
}
|
72
|
-
else if (width <= 1200) {
|
73
|
-
var dataFactorLg = elem.data('paroller-factor-lg');
|
74
|
-
var factorLg = (dataFactorLg) ? dataFactorLg : options.factorLg;
|
75
|
-
return (factorLg) ? factorLg : factor;
|
76
|
-
} else if (width <= 1920) {
|
77
|
-
var dataFactorXl = elem.data('paroller-factor-xl');
|
78
|
-
var factorXl = (dataFactorXl) ? dataFactorXl : options.factorXl;
|
79
|
-
return (factorXl) ? factorXl : factor;
|
80
|
-
} else {
|
81
|
-
return factor;
|
82
|
-
}
|
83
|
-
},
|
84
|
-
bgOffset: function (offset, factor) {
|
85
|
-
return Math.round(offset * factor);
|
86
|
-
},
|
87
|
-
transform: function (offset, factor, windowHeight, height) {
|
88
|
-
return Math.round((offset - (windowHeight / 2) + height) * factor);
|
89
|
-
}
|
90
|
-
};
|
91
|
-
|
92
|
-
var clearPositions = {
|
93
|
-
background: function (elem) {
|
94
|
-
return elem.css({'background-position': 'unset'});
|
95
|
-
},
|
96
|
-
foreground: function (elem) {
|
97
|
-
return elem.css({
|
98
|
-
'transform' : 'unset',
|
99
|
-
'transition' : 'unset'
|
100
|
-
});
|
101
|
-
}
|
102
|
-
};
|
103
|
-
|
104
|
-
$.fn.paroller = function (options) {
|
105
|
-
var windowHeight = $(window).height();
|
106
|
-
var documentHeight = $(document).height();
|
107
|
-
|
108
|
-
// default options
|
109
|
-
var options = $.extend({
|
110
|
-
factor: 0, // - to +
|
111
|
-
factorXs: 0, // - to +
|
112
|
-
factorSm: 0, // - to +
|
113
|
-
factorMd: 0, // - to +
|
114
|
-
factorLg: 0, // - to +
|
115
|
-
factorXl: 0, // - to +
|
116
|
-
transition: 'translate 0.1s ease', // CSS transition
|
117
|
-
type: 'background', // foreground
|
118
|
-
direction: 'vertical' // horizontal
|
119
|
-
}, options);
|
120
|
-
|
121
|
-
return this.each(function () {
|
122
|
-
var $this = $(this);
|
123
|
-
var width = $(window).width();
|
124
|
-
var offset = $this.offset().top;
|
125
|
-
var height = $this.outerHeight();
|
126
|
-
|
127
|
-
var dataType = $this.data('paroller-type');
|
128
|
-
var dataDirection = $this.data('paroller-direction');
|
129
|
-
var dataTransition = $this.data('paroller-transition');
|
130
|
-
var oldTransform = $this.css('transform');
|
131
|
-
|
132
|
-
var transition = (dataTransition) ? dataTransition : options.transition;
|
133
|
-
var type = (dataType) ? dataType : options.type;
|
134
|
-
var direction = (dataDirection) ? dataDirection : options.direction;
|
135
|
-
var factor = 0;
|
136
|
-
var bgOffset = setMovement.bgOffset(offset, factor);
|
137
|
-
var transform = setMovement.transform(offset, factor, windowHeight, height);
|
138
|
-
|
139
|
-
if (type === 'background') {
|
140
|
-
if (direction === 'vertical') {
|
141
|
-
setDirection.bgVertical($this, bgOffset);
|
142
|
-
}
|
143
|
-
else if (direction === 'horizontal') {
|
144
|
-
setDirection.bgHorizontal($this, bgOffset);
|
145
|
-
}
|
146
|
-
}
|
147
|
-
else if (type === 'foreground') {
|
148
|
-
if (direction === 'vertical') {
|
149
|
-
setDirection.vertical($this, transform, transition, oldTransform);
|
150
|
-
}
|
151
|
-
else if (direction === 'horizontal') {
|
152
|
-
setDirection.horizontal($this, transform, transition, oldTransform);
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
$(window).on('resize', function () {
|
157
|
-
var scrolling = $(this).scrollTop();
|
158
|
-
width = $(window).width();
|
159
|
-
offset = $this.offset().top;
|
160
|
-
height = $this.outerHeight();
|
161
|
-
factor = setMovement.factor($this, width, options);
|
162
|
-
|
163
|
-
bgOffset = Math.round(offset * factor);
|
164
|
-
transform = Math.round((offset - (windowHeight / 2) + height) * factor);
|
165
|
-
|
166
|
-
if (! working) {
|
167
|
-
window.requestAnimationFrame(scrollAction);
|
168
|
-
working = true;
|
169
|
-
}
|
170
|
-
|
171
|
-
if (type === 'background') {
|
172
|
-
clearPositions.background($this);
|
173
|
-
if (direction === 'vertical') {
|
174
|
-
setDirection.bgVertical($this, bgOffset);
|
175
|
-
}
|
176
|
-
else if (direction === 'horizontal') {
|
177
|
-
setDirection.bgHorizontal($this, bgOffset);
|
178
|
-
}
|
179
|
-
}
|
180
|
-
else if ((type === 'foreground') && (scrolling <= documentHeight)) {
|
181
|
-
clearPositions.foreground($this);
|
182
|
-
if (direction === 'vertical') {
|
183
|
-
setDirection.vertical($this, transform, transition);
|
184
|
-
}
|
185
|
-
else if (direction === 'horizontal') {
|
186
|
-
setDirection.horizontal($this, transform, transition);
|
187
|
-
}
|
188
|
-
}
|
189
|
-
});
|
190
|
-
|
191
|
-
$(window).on('scroll', function () {
|
192
|
-
var scrolling = $(this).scrollTop();
|
193
|
-
var scrollTop = $(document).scrollTop();
|
194
|
-
|
195
|
-
if (scrollTop === 0) {
|
196
|
-
factor = 0;
|
197
|
-
} else {
|
198
|
-
factor = setMovement.factor($this, width, options);
|
199
|
-
}
|
200
|
-
|
201
|
-
bgOffset = Math.round((offset - scrolling) * factor);
|
202
|
-
transform = Math.round(((offset - (windowHeight / 2) + height) - scrolling) * factor);
|
203
|
-
|
204
|
-
if (! working) {
|
205
|
-
window.requestAnimationFrame(scrollAction);
|
206
|
-
working = true;
|
207
|
-
}
|
208
|
-
|
209
|
-
if (type === 'background') {
|
210
|
-
if (direction === 'vertical') {
|
211
|
-
setDirection.bgVertical($this, bgOffset);
|
212
|
-
}
|
213
|
-
else if (direction === 'horizontal') {
|
214
|
-
setDirection.bgHorizontal($this, bgOffset);
|
215
|
-
}
|
216
|
-
}
|
217
|
-
else if ((type === 'foreground') && (scrolling <= documentHeight)) {
|
218
|
-
if (direction === 'vertical') {
|
219
|
-
setDirection.vertical($this, transform, transition, oldTransform);
|
220
|
-
}
|
221
|
-
else if (direction === 'horizontal') {
|
222
|
-
setDirection.horizontal($this, transform, transition, oldTransform);
|
223
|
-
}
|
224
|
-
}
|
225
|
-
});
|
226
|
-
});
|
227
|
-
};
|
228
|
-
});
|
1
|
+
/**
|
2
|
+
* jQuery plugin paroller.js v1.4.5
|
3
|
+
* https://github.com/tgomilar/paroller.js
|
4
|
+
* preview: https://tgomilar.github.io/paroller/
|
5
|
+
**/
|
6
|
+
(function (factory) {
|
7
|
+
'use strict';
|
8
|
+
if (typeof define === 'function' && define.amd) {
|
9
|
+
define('parollerjs', ['jquery'], factory);
|
10
|
+
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
11
|
+
module.exports = factory(require('jquery'));
|
12
|
+
}
|
13
|
+
else {
|
14
|
+
factory(jQuery);
|
15
|
+
}
|
16
|
+
})(function ($) {
|
17
|
+
'use strict';
|
18
|
+
|
19
|
+
var working = false;
|
20
|
+
var scrollAction = function() {
|
21
|
+
working = false;
|
22
|
+
};
|
23
|
+
|
24
|
+
var setDirection = {
|
25
|
+
bgVertical: function (elem, bgOffset) {
|
26
|
+
return elem.css({'background-position': 'center ' + -bgOffset + 'px'});
|
27
|
+
},
|
28
|
+
bgHorizontal: function (elem, bgOffset) {
|
29
|
+
return elem.css({'background-position': -bgOffset + 'px' + ' center'});
|
30
|
+
},
|
31
|
+
vertical: function (elem, elemOffset, transition, oldTransform) {
|
32
|
+
(oldTransform === 'none' ? oldTransform = '' : true);
|
33
|
+
return elem.css({
|
34
|
+
'-webkit-transform': 'translateY(' + elemOffset + 'px)' + oldTransform,
|
35
|
+
'-moz-transform': 'translateY(' + elemOffset + 'px)' + oldTransform,
|
36
|
+
'transform': 'translateY(' + elemOffset + 'px)' + oldTransform,
|
37
|
+
'transition': transition,
|
38
|
+
'will-change': 'transform'
|
39
|
+
});
|
40
|
+
},
|
41
|
+
horizontal: function (elem, elemOffset, transition, oldTransform) {
|
42
|
+
(oldTransform === 'none' ? oldTransform = '' : true);
|
43
|
+
return elem.css({
|
44
|
+
'-webkit-transform': 'translateX(' + elemOffset + 'px)' + oldTransform,
|
45
|
+
'-moz-transform': 'translateX(' + elemOffset + 'px)' + oldTransform,
|
46
|
+
'transform': 'translateX(' + elemOffset + 'px)' + oldTransform,
|
47
|
+
'transition': transition,
|
48
|
+
'will-change': 'transform'
|
49
|
+
});
|
50
|
+
}
|
51
|
+
};
|
52
|
+
|
53
|
+
var setMovement = {
|
54
|
+
factor: function (elem, width, options) {
|
55
|
+
var dataFactor = elem.data('paroller-factor');
|
56
|
+
var factor = (dataFactor) ? dataFactor : options.factor;
|
57
|
+
if (width < 576) {
|
58
|
+
var dataFactorXs = elem.data('paroller-factor-xs');
|
59
|
+
var factorXs = (dataFactorXs) ? dataFactorXs : options.factorXs;
|
60
|
+
return (factorXs) ? factorXs : factor;
|
61
|
+
}
|
62
|
+
else if (width <= 768) {
|
63
|
+
var dataFactorSm = elem.data('paroller-factor-sm');
|
64
|
+
var factorSm = (dataFactorSm) ? dataFactorSm : options.factorSm;
|
65
|
+
return (factorSm) ? factorSm : factor;
|
66
|
+
}
|
67
|
+
else if (width <= 1024) {
|
68
|
+
var dataFactorMd = elem.data('paroller-factor-md');
|
69
|
+
var factorMd = (dataFactorMd) ? dataFactorMd : options.factorMd;
|
70
|
+
return (factorMd) ? factorMd : factor;
|
71
|
+
}
|
72
|
+
else if (width <= 1200) {
|
73
|
+
var dataFactorLg = elem.data('paroller-factor-lg');
|
74
|
+
var factorLg = (dataFactorLg) ? dataFactorLg : options.factorLg;
|
75
|
+
return (factorLg) ? factorLg : factor;
|
76
|
+
} else if (width <= 1920) {
|
77
|
+
var dataFactorXl = elem.data('paroller-factor-xl');
|
78
|
+
var factorXl = (dataFactorXl) ? dataFactorXl : options.factorXl;
|
79
|
+
return (factorXl) ? factorXl : factor;
|
80
|
+
} else {
|
81
|
+
return factor;
|
82
|
+
}
|
83
|
+
},
|
84
|
+
bgOffset: function (offset, factor) {
|
85
|
+
return Math.round(offset * factor);
|
86
|
+
},
|
87
|
+
transform: function (offset, factor, windowHeight, height) {
|
88
|
+
return Math.round((offset - (windowHeight / 2) + height) * factor);
|
89
|
+
}
|
90
|
+
};
|
91
|
+
|
92
|
+
var clearPositions = {
|
93
|
+
background: function (elem) {
|
94
|
+
return elem.css({'background-position': 'unset'});
|
95
|
+
},
|
96
|
+
foreground: function (elem) {
|
97
|
+
return elem.css({
|
98
|
+
'transform' : 'unset',
|
99
|
+
'transition' : 'unset'
|
100
|
+
});
|
101
|
+
}
|
102
|
+
};
|
103
|
+
|
104
|
+
$.fn.paroller = function (options) {
|
105
|
+
var windowHeight = $(window).height();
|
106
|
+
var documentHeight = $(document).height();
|
107
|
+
|
108
|
+
// default options
|
109
|
+
var options = $.extend({
|
110
|
+
factor: 0, // - to +
|
111
|
+
factorXs: 0, // - to +
|
112
|
+
factorSm: 0, // - to +
|
113
|
+
factorMd: 0, // - to +
|
114
|
+
factorLg: 0, // - to +
|
115
|
+
factorXl: 0, // - to +
|
116
|
+
transition: 'translate 0.1s ease', // CSS transition
|
117
|
+
type: 'background', // foreground
|
118
|
+
direction: 'vertical' // horizontal
|
119
|
+
}, options);
|
120
|
+
|
121
|
+
return this.each(function () {
|
122
|
+
var $this = $(this);
|
123
|
+
var width = $(window).width();
|
124
|
+
var offset = $this.offset().top;
|
125
|
+
var height = $this.outerHeight();
|
126
|
+
|
127
|
+
var dataType = $this.data('paroller-type');
|
128
|
+
var dataDirection = $this.data('paroller-direction');
|
129
|
+
var dataTransition = $this.data('paroller-transition');
|
130
|
+
var oldTransform = $this.css('transform');
|
131
|
+
|
132
|
+
var transition = (dataTransition) ? dataTransition : options.transition;
|
133
|
+
var type = (dataType) ? dataType : options.type;
|
134
|
+
var direction = (dataDirection) ? dataDirection : options.direction;
|
135
|
+
var factor = 0;
|
136
|
+
var bgOffset = setMovement.bgOffset(offset, factor);
|
137
|
+
var transform = setMovement.transform(offset, factor, windowHeight, height);
|
138
|
+
|
139
|
+
if (type === 'background') {
|
140
|
+
if (direction === 'vertical') {
|
141
|
+
setDirection.bgVertical($this, bgOffset);
|
142
|
+
}
|
143
|
+
else if (direction === 'horizontal') {
|
144
|
+
setDirection.bgHorizontal($this, bgOffset);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
else if (type === 'foreground') {
|
148
|
+
if (direction === 'vertical') {
|
149
|
+
setDirection.vertical($this, transform, transition, oldTransform);
|
150
|
+
}
|
151
|
+
else if (direction === 'horizontal') {
|
152
|
+
setDirection.horizontal($this, transform, transition, oldTransform);
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
$(window).on('resize', function () {
|
157
|
+
var scrolling = $(this).scrollTop();
|
158
|
+
width = $(window).width();
|
159
|
+
offset = $this.offset().top;
|
160
|
+
height = $this.outerHeight();
|
161
|
+
factor = setMovement.factor($this, width, options);
|
162
|
+
|
163
|
+
bgOffset = Math.round(offset * factor);
|
164
|
+
transform = Math.round((offset - (windowHeight / 2) + height) * factor);
|
165
|
+
|
166
|
+
if (! working) {
|
167
|
+
window.requestAnimationFrame(scrollAction);
|
168
|
+
working = true;
|
169
|
+
}
|
170
|
+
|
171
|
+
if (type === 'background') {
|
172
|
+
clearPositions.background($this);
|
173
|
+
if (direction === 'vertical') {
|
174
|
+
setDirection.bgVertical($this, bgOffset);
|
175
|
+
}
|
176
|
+
else if (direction === 'horizontal') {
|
177
|
+
setDirection.bgHorizontal($this, bgOffset);
|
178
|
+
}
|
179
|
+
}
|
180
|
+
else if ((type === 'foreground') && (scrolling <= documentHeight)) {
|
181
|
+
clearPositions.foreground($this);
|
182
|
+
if (direction === 'vertical') {
|
183
|
+
setDirection.vertical($this, transform, transition);
|
184
|
+
}
|
185
|
+
else if (direction === 'horizontal') {
|
186
|
+
setDirection.horizontal($this, transform, transition);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
});
|
190
|
+
|
191
|
+
$(window).on('scroll', function () {
|
192
|
+
var scrolling = $(this).scrollTop();
|
193
|
+
var scrollTop = $(document).scrollTop();
|
194
|
+
|
195
|
+
if (scrollTop === 0) {
|
196
|
+
factor = 0;
|
197
|
+
} else {
|
198
|
+
factor = setMovement.factor($this, width, options);
|
199
|
+
}
|
200
|
+
|
201
|
+
bgOffset = Math.round((offset - scrolling) * factor);
|
202
|
+
transform = Math.round(((offset - (windowHeight / 2) + height) - scrolling) * factor);
|
203
|
+
|
204
|
+
if (! working) {
|
205
|
+
window.requestAnimationFrame(scrollAction);
|
206
|
+
working = true;
|
207
|
+
}
|
208
|
+
|
209
|
+
if (type === 'background') {
|
210
|
+
if (direction === 'vertical') {
|
211
|
+
setDirection.bgVertical($this, bgOffset);
|
212
|
+
}
|
213
|
+
else if (direction === 'horizontal') {
|
214
|
+
setDirection.bgHorizontal($this, bgOffset);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
else if ((type === 'foreground') && (scrolling <= documentHeight)) {
|
218
|
+
if (direction === 'vertical') {
|
219
|
+
setDirection.vertical($this, transform, transition, oldTransform);
|
220
|
+
}
|
221
|
+
else if (direction === 'horizontal') {
|
222
|
+
setDirection.horizontal($this, transform, transition, oldTransform);
|
223
|
+
}
|
224
|
+
}
|
225
|
+
});
|
226
|
+
});
|
227
|
+
};
|
228
|
+
});
|