j1-template 2021.2.0 → 2021.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +6 -6
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +6 -1
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +11 -23
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +5 -5
- data/_layouts/default.html +36 -26
- data/assets/data/cookieconsent.html +43 -33
- data/assets/data/msdropdown.json +155 -0
- data/assets/data/panel.html +10 -10
- data/assets/data/quicklinks.html +25 -4
- data/assets/data/translator.html +291 -0
- data/assets/data/translator_languages.json +142 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +41 -34
- data/assets/themes/j1/adapter/js/fam.js +1 -1
- data/assets/themes/j1/adapter/js/j1.js +204 -158
- data/assets/themes/j1/adapter/js/navigator.js +11 -4
- data/assets/themes/j1/adapter/js/rtable.js +77 -24
- data/assets/themes/j1/adapter/js/themer.js +2 -2
- data/assets/themes/j1/adapter/js/translator.js +492 -0
- data/assets/themes/j1/core/country-flags/1x1/ad.svg +148 -0
- data/assets/themes/j1/core/country-flags/1x1/ae.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/af.svg +81 -0
- data/assets/themes/j1/core/country-flags/1x1/ag.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ai.svg +763 -0
- data/assets/themes/j1/core/country-flags/1x1/al.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/am.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ao.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/aq.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ar.svg +31 -0
- data/assets/themes/j1/core/country-flags/1x1/as.svg +33 -0
- data/assets/themes/j1/core/country-flags/1x1/at.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/au.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/aw.svg +186 -0
- data/assets/themes/j1/core/country-flags/1x1/ax.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/az.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/ba.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/bb.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/bd.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/be.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bg.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bh.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/bi.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/bj.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/bl.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bm.svg +98 -0
- data/assets/themes/j1/core/country-flags/1x1/bn.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/bo.svg +678 -0
- data/assets/themes/j1/core/country-flags/1x1/bq.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/br.svg +45 -0
- data/assets/themes/j1/core/country-flags/1x1/bs.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/bt.svg +89 -0
- data/assets/themes/j1/core/country-flags/1x1/bv.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/bw.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/by.svg +22 -0
- data/assets/themes/j1/core/country-flags/1x1/bz.svg +145 -0
- data/assets/themes/j1/core/country-flags/1x1/ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/cc.svg +19 -0
- data/assets/themes/j1/core/country-flags/1x1/cd.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/cf.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cg.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/ch.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/ci.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ck.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/cl.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cm.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cn.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/co.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/cr.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/cu.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cv.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cw.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/cx.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cy.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/cz.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/de.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/dj.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/dk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/dm.svg +152 -0
- data/assets/themes/j1/core/country-flags/1x1/do.svg +6745 -0
- data/assets/themes/j1/core/country-flags/1x1/dz.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ec.svg +138 -0
- data/assets/themes/j1/core/country-flags/1x1/ee.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/eg.svg +38 -0
- data/assets/themes/j1/core/country-flags/1x1/eh.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/er.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/es-ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/es-ga.svg +189 -0
- data/assets/themes/j1/core/country-flags/1x1/es.svg +547 -0
- data/assets/themes/j1/core/country-flags/1x1/et.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/eu.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/fi.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/fj.svg +125 -0
- data/assets/themes/j1/core/country-flags/1x1/fk.svg +93 -0
- data/assets/themes/j1/core/country-flags/1x1/fm.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/fo.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/fr.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ga.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-eng.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-nir.svg +131 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-sct.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-wls.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gb.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gd.svg +27 -0
- data/assets/themes/j1/core/country-flags/1x1/ge.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/gf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gg.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gh.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/gi.svg +32 -0
- data/assets/themes/j1/core/country-flags/1x1/gl.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/gm.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gn.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gp.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gq.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/gr.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/gs.svg +206 -0
- data/assets/themes/j1/core/country-flags/1x1/gt.svg +204 -0
- data/assets/themes/j1/core/country-flags/1x1/gu.svg +39 -0
- data/assets/themes/j1/core/country-flags/1x1/gw.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/gy.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/hk.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/hm.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/hn.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/hr.svg +56 -0
- data/assets/themes/j1/core/country-flags/1x1/ht.svg +116 -0
- data/assets/themes/j1/core/country-flags/1x1/hu.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/id.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ie.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/il.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/im.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/in.svg +25 -0
- data/assets/themes/j1/core/country-flags/1x1/io.svg +140 -0
- data/assets/themes/j1/core/country-flags/1x1/iq.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/ir.svg +219 -0
- data/assets/themes/j1/core/country-flags/1x1/is.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/it.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/je.svg +29 -0
- data/assets/themes/j1/core/country-flags/1x1/jm.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/jo.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/jp.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/ke.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/kg.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/kh.svg +61 -0
- data/assets/themes/j1/core/country-flags/1x1/ki.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/km.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/kn.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/kp.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/kr.svg +24 -0
- data/assets/themes/j1/core/country-flags/1x1/kw.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ky.svg +70 -0
- data/assets/themes/j1/core/country-flags/1x1/kz.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/la.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/lb.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/lc.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/li.svg +43 -0
- data/assets/themes/j1/core/country-flags/1x1/lk.svg +22 -0
- data/assets/themes/j1/core/country-flags/1x1/lr.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ls.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/lt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/lu.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/lv.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ly.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ma.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/mc.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/md.svg +71 -0
- data/assets/themes/j1/core/country-flags/1x1/me.svg +118 -0
- data/assets/themes/j1/core/country-flags/1x1/mf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mg.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mh.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/mk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ml.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mm.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/mn.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/mo.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/mp.svg +86 -0
- data/assets/themes/j1/core/country-flags/1x1/mq.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mr.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ms.svg +70 -0
- data/assets/themes/j1/core/country-flags/1x1/mt.svg +50 -0
- data/assets/themes/j1/core/country-flags/1x1/mu.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/mv.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/mw.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/mx.svg +378 -0
- data/assets/themes/j1/core/country-flags/1x1/my.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/mz.svg +21 -0
- data/assets/themes/j1/core/country-flags/1x1/na.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/nc.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ne.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/nf.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/ng.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ni.svg +129 -0
- data/assets/themes/j1/core/country-flags/1x1/nl.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/no.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/np.svg +19 -0
- data/assets/themes/j1/core/country-flags/1x1/nr.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/nu.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/nz.svg +41 -0
- data/assets/themes/j1/core/country-flags/1x1/om.svg +115 -0
- data/assets/themes/j1/core/country-flags/1x1/pa.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/pe.svg +244 -0
- data/assets/themes/j1/core/country-flags/1x1/pf.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/pg.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/ph.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/pk.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/pl.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/pm.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/pn.svg +67 -0
- data/assets/themes/j1/core/country-flags/1x1/pr.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ps.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/pt.svg +57 -0
- data/assets/themes/j1/core/country-flags/1x1/pw.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/py.svg +156 -0
- data/assets/themes/j1/core/country-flags/1x1/qa.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/re.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ro.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/rs.svg +296 -0
- data/assets/themes/j1/core/country-flags/1x1/ru.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/rw.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sa.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/sb.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sc.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/sd.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/se.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/sg.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sh.svg +81 -0
- data/assets/themes/j1/core/country-flags/1x1/si.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/sj.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/sk.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/sl.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/sm.svg +89 -0
- data/assets/themes/j1/core/country-flags/1x1/sn.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/so.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/sr.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ss.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/st.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/sv.svg +596 -0
- data/assets/themes/j1/core/country-flags/1x1/sx.svg +56 -0
- data/assets/themes/j1/core/country-flags/1x1/sy.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/sz.svg +45 -0
- data/assets/themes/j1/core/country-flags/1x1/tc.svg +74 -0
- data/assets/themes/j1/core/country-flags/1x1/td.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tf.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/tg.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/th.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tj.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/tk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/tl.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/tm.svg +203 -0
- data/assets/themes/j1/core/country-flags/1x1/tn.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/to.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/tr.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/tt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tv.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/tw.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/tz.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/ua.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ug.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/um.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/un.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/us.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/uy.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/uz.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/va.svg +479 -0
- data/assets/themes/j1/core/country-flags/1x1/vc.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/ve.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/vg.svg +128 -0
- data/assets/themes/j1/core/country-flags/1x1/vi.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/vn.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/vu.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/wf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ws.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/xk.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/ye.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/yt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/za.svg +17 -0
- data/assets/themes/j1/core/country-flags/1x1/zm.svg +27 -0
- data/assets/themes/j1/core/country-flags/1x1/zw.svg +21 -0
- data/assets/themes/j1/core/country-flags/4x3/ad.svg +150 -0
- data/assets/themes/j1/core/country-flags/4x3/ae.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/af.svg +81 -0
- data/assets/themes/j1/core/country-flags/4x3/ag.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ai.svg +763 -0
- data/assets/themes/j1/core/country-flags/4x3/al.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/am.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ao.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/aq.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ar.svg +31 -0
- data/assets/themes/j1/core/country-flags/4x3/as.svg +33 -0
- data/assets/themes/j1/core/country-flags/4x3/at.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/au.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/aw.svg +186 -0
- data/assets/themes/j1/core/country-flags/4x3/ax.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/az.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/ba.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/bb.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/bd.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/be.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bg.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bh.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/bi.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/bj.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/bl.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bm.svg +98 -0
- data/assets/themes/j1/core/country-flags/4x3/bn.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/bo.svg +676 -0
- data/assets/themes/j1/core/country-flags/4x3/bq.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/br.svg +45 -0
- data/assets/themes/j1/core/country-flags/4x3/bs.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/bt.svg +89 -0
- data/assets/themes/j1/core/country-flags/4x3/bv.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/bw.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/by.svg +20 -0
- data/assets/themes/j1/core/country-flags/4x3/bz.svg +145 -0
- data/assets/themes/j1/core/country-flags/4x3/ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/cc.svg +19 -0
- data/assets/themes/j1/core/country-flags/4x3/cd.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/cf.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cg.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/ch.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ci.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ck.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/cl.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cm.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cn.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/co.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/cr.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/cu.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cv.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cw.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/cx.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cy.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/cz.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/de.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/dj.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/dk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/dm.svg +152 -0
- data/assets/themes/j1/core/country-flags/4x3/do.svg +6745 -0
- data/assets/themes/j1/core/country-flags/4x3/dz.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ec.svg +138 -0
- data/assets/themes/j1/core/country-flags/4x3/ee.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/eg.svg +38 -0
- data/assets/themes/j1/core/country-flags/4x3/eh.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/er.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/es-ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/es-ga.svg +189 -0
- data/assets/themes/j1/core/country-flags/4x3/es.svg +544 -0
- data/assets/themes/j1/core/country-flags/4x3/et.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/eu.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/fi.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/fj.svg +122 -0
- data/assets/themes/j1/core/country-flags/4x3/fk.svg +90 -0
- data/assets/themes/j1/core/country-flags/4x3/fm.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/fo.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/fr.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ga.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-eng.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-nir.svg +132 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-sct.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-wls.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/gb.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gd.svg +27 -0
- data/assets/themes/j1/core/country-flags/4x3/ge.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/gf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gg.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/gh.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/gi.svg +32 -0
- data/assets/themes/j1/core/country-flags/4x3/gl.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/gm.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/gn.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gp.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gq.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/gr.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/gs.svg +201 -0
- data/assets/themes/j1/core/country-flags/4x3/gt.svg +204 -0
- data/assets/themes/j1/core/country-flags/4x3/gu.svg +39 -0
- data/assets/themes/j1/core/country-flags/4x3/gw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/gy.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/hk.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/hm.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/hn.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/hr.svg +58 -0
- data/assets/themes/j1/core/country-flags/4x3/ht.svg +116 -0
- data/assets/themes/j1/core/country-flags/4x3/hu.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/id.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ie.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/il.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/im.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/in.svg +25 -0
- data/assets/themes/j1/core/country-flags/4x3/io.svg +138 -0
- data/assets/themes/j1/core/country-flags/4x3/iq.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/ir.svg +219 -0
- data/assets/themes/j1/core/country-flags/4x3/is.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/it.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/je.svg +29 -0
- data/assets/themes/j1/core/country-flags/4x3/jm.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/jo.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/jp.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/ke.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/kg.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/kh.svg +61 -0
- data/assets/themes/j1/core/country-flags/4x3/ki.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/km.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/kn.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/kp.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/kr.svg +24 -0
- data/assets/themes/j1/core/country-flags/4x3/kw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ky.svg +63 -0
- data/assets/themes/j1/core/country-flags/4x3/kz.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/la.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/lb.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/lc.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/li.svg +43 -0
- data/assets/themes/j1/core/country-flags/4x3/lk.svg +22 -0
- data/assets/themes/j1/core/country-flags/4x3/lr.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ls.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/lt.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/lu.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/lv.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ly.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ma.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/mc.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/md.svg +70 -0
- data/assets/themes/j1/core/country-flags/4x3/me.svg +116 -0
- data/assets/themes/j1/core/country-flags/4x3/mf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mg.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mh.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ml.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mm.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/mn.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/mo.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/mp.svg +86 -0
- data/assets/themes/j1/core/country-flags/4x3/mq.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mr.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ms.svg +78 -0
- data/assets/themes/j1/core/country-flags/4x3/mt.svg +49 -0
- data/assets/themes/j1/core/country-flags/4x3/mu.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/mv.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/mw.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/mx.svg +382 -0
- data/assets/themes/j1/core/country-flags/4x3/my.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/mz.svg +21 -0
- data/assets/themes/j1/core/country-flags/4x3/na.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/nc.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ne.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/nf.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ng.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ni.svg +129 -0
- data/assets/themes/j1/core/country-flags/4x3/nl.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/no.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/np.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/nr.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/nu.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/nz.svg +41 -0
- data/assets/themes/j1/core/country-flags/4x3/om.svg +115 -0
- data/assets/themes/j1/core/country-flags/4x3/pa.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/pe.svg +244 -0
- data/assets/themes/j1/core/country-flags/4x3/pf.svg +19 -0
- data/assets/themes/j1/core/country-flags/4x3/pg.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ph.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/pk.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/pl.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/pm.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/pn.svg +62 -0
- data/assets/themes/j1/core/country-flags/4x3/pr.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ps.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/pt.svg +57 -0
- data/assets/themes/j1/core/country-flags/4x3/pw.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/py.svg +157 -0
- data/assets/themes/j1/core/country-flags/4x3/qa.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/re.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ro.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/rs.svg +292 -0
- data/assets/themes/j1/core/country-flags/4x3/ru.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/rw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sa.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/sb.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sc.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/sd.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/se.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/sg.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sh.svg +74 -0
- data/assets/themes/j1/core/country-flags/4x3/si.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/sj.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/sk.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/sl.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/sm.svg +91 -0
- data/assets/themes/j1/core/country-flags/4x3/sn.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/so.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/sr.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ss.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/st.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/sv.svg +594 -0
- data/assets/themes/j1/core/country-flags/4x3/sx.svg +56 -0
- data/assets/themes/j1/core/country-flags/4x3/sy.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/sz.svg +45 -0
- data/assets/themes/j1/core/country-flags/4x3/tc.svg +67 -0
- data/assets/themes/j1/core/country-flags/4x3/td.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/tf.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/tg.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/th.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/tj.svg +22 -0
- data/assets/themes/j1/core/country-flags/4x3/tk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/tl.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/tm.svg +206 -0
- data/assets/themes/j1/core/country-flags/4x3/tn.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/to.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/tr.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/tt.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/tv.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/tw.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/tz.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ua.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ug.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/um.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/un.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/us.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/uy.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/uz.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/va.svg +479 -0
- data/assets/themes/j1/core/country-flags/4x3/vc.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/ve.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/vg.svg +127 -0
- data/assets/themes/j1/core/country-flags/4x3/vi.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/vn.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/vu.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/wf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ws.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/xk.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/ye.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/yt.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/za.svg +17 -0
- data/assets/themes/j1/core/country-flags/4x3/zm.svg +27 -0
- data/assets/themes/j1/core/country-flags/4x3/zw.svg +21 -0
- data/assets/themes/j1/core/country-flags/css/theme/uno.css +73 -0
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +58 -109
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +30 -21
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +1407 -20
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +8502 -10
- data/assets/themes/j1/core/js/template.min.js +16 -7
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +49 -42
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.js +388 -0
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +18 -0
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +257 -240
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +1 -2
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/msDropdown/css/flags.css +1033 -0
- data/assets/themes/j1/modules/msDropdown/css/flags.min.css +23 -0
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.css +278 -0
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +34 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/1273404841_tick_16.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Amex-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Cash-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Discover-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Mastercard-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Paypal-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Visa-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/blank.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-chrome.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-firefox.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-msie.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-opera.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-safari.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/button-large.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/demoaction.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/enabled.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/flagssprite_small.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/giftlelo_dot_com.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon-search.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_calendar.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_cart.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_cd.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_email.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_faq.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_games.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_lockopen.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_music.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_phone.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_sales.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_secure.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_video.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/jquery-msdropdown.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/msDropDown.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/preview.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/sprite.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/sprite.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/tick.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.js +2664 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js +33 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +1 -0
- data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +3 -3
- data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +2 -174
- data/assets/themes/j1/modules/rtable/js/rtable.js +59 -25
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +12 -683
- data/assets/themes/j1/modules/translator/css/translator.css +33 -0
- data/assets/themes/j1/modules/translator/css/translator.min.css +15 -0
- data/assets/themes/j1/modules/translator/js/translator.js +614 -0
- data/assets/themes/j1/modules/translator/js/translator.min.js +15 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +13 -49
- data/lib/starter_web/_data/j1_config.yml +4 -7
- data/lib/starter_web/_data/layouts/collection.yml +1 -12
- data/lib/starter_web/_data/layouts/home.yml +0 -12
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +100 -90
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/rtable.yml +34 -0
- data/lib/starter_web/_data/modules/defaults/translator.yml +142 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +34 -0
- data/lib/starter_web/_data/modules/translator.yml +31 -0
- data/lib/starter_web/_data/resources.yml +126 -101
- data/lib/starter_web/_includes/attributes.asciidoc +12 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/flag-icon-inline.rb +37 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/markus-krisetya-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-2-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/percentage_global_mobile_tr.jpg +0 -0
- data/lib/starter_web/package.json +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +0 -8
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +3 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +4 -27
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +5 -27
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -20
- data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -27
- data/lib/starter_web/pages/public/learn/quickstart.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +7 -3
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +3 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +30 -28
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +112 -10
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +8 -5
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +4 -2
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +6 -8
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +42 -43
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +15 -15
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -2
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -1
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -3
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +0 -2
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -2
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +743 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -0
- data/lib/starter_web/pages/public/previewer/{bootstrap_theme.adoc → preview_bootstrap_theme.adoc} +2 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +584 -35
- data/assets/themes/j1/core/js/template.js.map +0 -1
- data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +0 -18
- data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +0 -2371
- data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +0 -60
- data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +0 -19
- data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
- data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +0 -119
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -39
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +0 -71
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +0 -31
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -39
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -61
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -55
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +0 -95
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -95
- data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -95
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +0 -41
- data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +0 -857
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -47
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +0 -71
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +0 -30
- data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -31
- data/lib/starter_web/pages/public/previewer/iframer.adoc +0 -93
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +0 -41
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +0 -574
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +0 -220
- data/lib/starter_web/pages/public/previewer/mdil_icons_preview.adoc +0 -76
- data/lib/starter_web/pages/public/previewer/rouge.adoc +0 -133
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +0 -191
@@ -1,690 +1,19 @@
|
|
1
1
|
/*
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
#
|
4
|
-
#
|
3
|
+
# ~/assets/themes/j1/modules/rtable/js/rtable.min.js
|
4
|
+
# Tablesaw v3.1.2 implementation for J1 Template
|
5
5
|
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://github.com/filamentgroup/tablesaw
|
9
9
|
#
|
10
|
-
#
|
11
|
-
#
|
10
|
+
# Copyright (C) 2021 Juergen Adams
|
11
|
+
# Copyright (c) 2013 Filament Group
|
12
12
|
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
13
|
+
# J1 Template is licensed under the MIT License.
|
14
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
+
# Tablesaw is licensed under the MIT License.
|
16
|
+
# See: https://github.com/filamentgroup/tablesaw/blob/master/LICENSE
|
17
17
|
# -----------------------------------------------------------------------------
|
18
18
|
*/
|
19
|
-
|
20
|
-
/*! Tablesaw - v3.1.2 - 2019-03-19
|
21
|
-
* https://github.com/filamentgroup/tablesaw
|
22
|
-
* Copyright (c) 2019 Filament Group; Licensed MIT */
|
23
|
-
|
24
|
-
(function (root, factory) {
|
25
|
-
if (typeof define === 'function' && define.amd) {
|
26
|
-
define(["jquery"], function (jQuery) {
|
27
|
-
return (root.Tablesaw = factory(jQuery, root));
|
28
|
-
});
|
29
|
-
} else if (typeof exports === 'object') {
|
30
|
-
if( "document" in root ) {
|
31
|
-
module.exports = factory(require('jquery'), root);
|
32
|
-
} else {
|
33
|
-
// special jQuery case for CommonJS (pass in a window)
|
34
|
-
module.exports = factory(require('jquery')(root), root);
|
35
|
-
}
|
36
|
-
} else {
|
37
|
-
root.Tablesaw = factory(jQuery, root);
|
38
|
-
}
|
39
|
-
}(typeof window !== "undefined" ? window : this, function ($, window) {
|
40
|
-
"use strict";
|
41
|
-
|
42
|
-
var document = window.document;
|
43
|
-
|
44
|
-
// Account for Tablesaw being loaded either before or after the DOMContentLoaded event is fired.
|
45
|
-
var domContentLoadedTriggered = /complete|loaded/.test(document.readyState);
|
46
|
-
document.addEventListener("DOMContentLoaded", function() {
|
47
|
-
domContentLoadedTriggered = true;
|
48
|
-
});
|
49
|
-
|
50
|
-
var Tablesaw = {
|
51
|
-
i18n: {
|
52
|
-
modeStack: "Stack",
|
53
|
-
modeSwipe: "Swipe",
|
54
|
-
modeToggle: "Toggle",
|
55
|
-
modeSwitchColumnsAbbreviated: "Cols",
|
56
|
-
modeSwitchColumns: "Columns",
|
57
|
-
columnToggleButton: "Columns",
|
58
|
-
columnToggleError: "No eligible columns.",
|
59
|
-
sort: "Sort",
|
60
|
-
swipePreviousColumn: "Previous column",
|
61
|
-
swipeNextColumn: "Next column"
|
62
|
-
},
|
63
|
-
// cut the mustard
|
64
|
-
mustard:
|
65
|
-
"head" in document && // IE9+, Firefox 4+, Safari 5.1+, Mobile Safari 4.1+, Opera 11.5+, Android 2.3+
|
66
|
-
(!window.blackberry || window.WebKitPoint) && // only WebKit Blackberry (OS 6+)
|
67
|
-
!window.operamini,
|
68
|
-
$: $,
|
69
|
-
_init: function(element) {
|
70
|
-
Tablesaw.$(element || document).trigger("enhance.tablesaw");
|
71
|
-
},
|
72
|
-
init: function(element) {
|
73
|
-
// Account for Tablesaw being loaded either before or after the DOMContentLoaded event is fired.
|
74
|
-
domContentLoadedTriggered =
|
75
|
-
domContentLoadedTriggered || /complete|loaded/.test(document.readyState);
|
76
|
-
if (!domContentLoadedTriggered) {
|
77
|
-
if ("addEventListener" in document) {
|
78
|
-
// Use raw DOMContentLoaded instead of shoestring (may have issues in Android 2.3, exhibited by stack table)
|
79
|
-
document.addEventListener("DOMContentLoaded", function() {
|
80
|
-
Tablesaw._init(element);
|
81
|
-
});
|
82
|
-
}
|
83
|
-
} else {
|
84
|
-
Tablesaw._init(element);
|
85
|
-
}
|
86
|
-
}
|
87
|
-
};
|
88
|
-
|
89
|
-
$(document).on("enhance.tablesaw", function() {
|
90
|
-
// Extend i18n config, if one exists.
|
91
|
-
if (typeof TablesawConfig !== "undefined" && TablesawConfig.i18n) {
|
92
|
-
Tablesaw.i18n = $.extend(Tablesaw.i18n, TablesawConfig.i18n || {});
|
93
|
-
}
|
94
|
-
|
95
|
-
Tablesaw.i18n.modes = [
|
96
|
-
Tablesaw.i18n.modeStack,
|
97
|
-
Tablesaw.i18n.modeSwipe,
|
98
|
-
Tablesaw.i18n.modeToggle
|
99
|
-
];
|
100
|
-
});
|
101
|
-
|
102
|
-
if (Tablesaw.mustard) {
|
103
|
-
$(document.documentElement).addClass("tablesaw-enhanced");
|
104
|
-
}
|
105
|
-
|
106
|
-
(function() {
|
107
|
-
var pluginName = "tablesaw";
|
108
|
-
var classes = {
|
109
|
-
toolbar: "tablesaw-bar"
|
110
|
-
};
|
111
|
-
var events = {
|
112
|
-
create: "tablesawcreate",
|
113
|
-
destroy: "tablesawdestroy",
|
114
|
-
refresh: "tablesawrefresh",
|
115
|
-
resize: "tablesawresize"
|
116
|
-
};
|
117
|
-
var defaultMode = "stack";
|
118
|
-
var initSelector = "table";
|
119
|
-
var initFilterSelector = "[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]";
|
120
|
-
var defaultConfig = {};
|
121
|
-
|
122
|
-
Tablesaw.events = events;
|
123
|
-
|
124
|
-
var Table = function(element) {
|
125
|
-
if (!element) {
|
126
|
-
throw new Error("Tablesaw requires an element.");
|
127
|
-
}
|
128
|
-
|
129
|
-
this.table = element;
|
130
|
-
this.$table = $(element);
|
131
|
-
|
132
|
-
// only one <thead> and <tfoot> are allowed, per the specification
|
133
|
-
this.$thead = this.$table
|
134
|
-
.children()
|
135
|
-
.filter("thead")
|
136
|
-
.eq(0);
|
137
|
-
|
138
|
-
// multiple <tbody> are allowed, per the specification
|
139
|
-
this.$tbody = this.$table.children().filter("tbody");
|
140
|
-
|
141
|
-
this.mode = this.$table.attr("data-tablesaw-mode") || defaultMode;
|
142
|
-
|
143
|
-
this.$toolbar = null;
|
144
|
-
|
145
|
-
this.attributes = {
|
146
|
-
subrow: "data-tablesaw-subrow",
|
147
|
-
ignorerow: "data-tablesaw-ignorerow"
|
148
|
-
};
|
149
|
-
|
150
|
-
this.init();
|
151
|
-
};
|
152
|
-
|
153
|
-
Table.prototype.init = function() {
|
154
|
-
if (!this.$thead.length) {
|
155
|
-
throw new Error("tablesaw: a <thead> is required, but none was found.");
|
156
|
-
}
|
157
|
-
|
158
|
-
if (!this.$thead.find("th").length) {
|
159
|
-
throw new Error("tablesaw: no header cells found. Are you using <th> inside of <thead>?");
|
160
|
-
}
|
161
|
-
|
162
|
-
// assign an id if there is none
|
163
|
-
if (!this.$table.attr("id")) {
|
164
|
-
this.$table.attr("id", pluginName + "-" + Math.round(Math.random() * 10000));
|
165
|
-
}
|
166
|
-
|
167
|
-
this.createToolbar();
|
168
|
-
|
169
|
-
this._initCells();
|
170
|
-
|
171
|
-
this.$table.data(pluginName, this);
|
172
|
-
|
173
|
-
this.$table.trigger(events.create, [this]);
|
174
|
-
};
|
175
|
-
|
176
|
-
Table.prototype.getConfig = function(pluginSpecificConfig) {
|
177
|
-
// shoestring extend doesn’t support arbitrary args
|
178
|
-
var configs = $.extend(defaultConfig, pluginSpecificConfig || {});
|
179
|
-
return $.extend(configs, typeof TablesawConfig !== "undefined" ? TablesawConfig : {});
|
180
|
-
};
|
181
|
-
|
182
|
-
Table.prototype._getPrimaryHeaderRow = function() {
|
183
|
-
return this._getHeaderRows().eq(0);
|
184
|
-
};
|
185
|
-
|
186
|
-
Table.prototype._getHeaderRows = function() {
|
187
|
-
return this.$thead
|
188
|
-
.children()
|
189
|
-
.filter("tr")
|
190
|
-
.filter(function() {
|
191
|
-
return !$(this).is("[data-tablesaw-ignorerow]");
|
192
|
-
});
|
193
|
-
};
|
194
|
-
|
195
|
-
Table.prototype._getRowIndex = function($row) {
|
196
|
-
return $row.prevAll().length;
|
197
|
-
};
|
198
|
-
|
199
|
-
Table.prototype._getHeaderRowIndeces = function() {
|
200
|
-
var self = this;
|
201
|
-
var indeces = [];
|
202
|
-
this._getHeaderRows().each(function() {
|
203
|
-
indeces.push(self._getRowIndex($(this)));
|
204
|
-
});
|
205
|
-
return indeces;
|
206
|
-
};
|
207
|
-
|
208
|
-
Table.prototype._getPrimaryHeaderCells = function($row) {
|
209
|
-
return ($row || this._getPrimaryHeaderRow()).find("th");
|
210
|
-
};
|
211
|
-
|
212
|
-
Table.prototype._$getCells = function(th) {
|
213
|
-
var self = this;
|
214
|
-
return $(th)
|
215
|
-
.add(th.cells)
|
216
|
-
.filter(function() {
|
217
|
-
var $t = $(this);
|
218
|
-
var $row = $t.parent();
|
219
|
-
var hasColspan = $t.is("[colspan]");
|
220
|
-
// no subrows or ignored rows (keep cells in ignored rows that do not have a colspan)
|
221
|
-
return (
|
222
|
-
!$row.is("[" + self.attributes.subrow + "]") &&
|
223
|
-
(!$row.is("[" + self.attributes.ignorerow + "]") || !hasColspan)
|
224
|
-
);
|
225
|
-
});
|
226
|
-
};
|
227
|
-
|
228
|
-
Table.prototype._getVisibleColspan = function() {
|
229
|
-
var colspan = 0;
|
230
|
-
this._getPrimaryHeaderCells().each(function() {
|
231
|
-
var $t = $(this);
|
232
|
-
if ($t.css("display") !== "none") {
|
233
|
-
colspan += parseInt($t.attr("colspan"), 10) || 1;
|
234
|
-
}
|
235
|
-
});
|
236
|
-
return colspan;
|
237
|
-
};
|
238
|
-
|
239
|
-
Table.prototype.getColspanForCell = function($cell) {
|
240
|
-
var visibleColspan = this._getVisibleColspan();
|
241
|
-
var visibleSiblingColumns = 0;
|
242
|
-
if ($cell.closest("tr").data("tablesaw-rowspanned")) {
|
243
|
-
visibleSiblingColumns++;
|
244
|
-
}
|
245
|
-
|
246
|
-
$cell.siblings().each(function() {
|
247
|
-
var $t = $(this);
|
248
|
-
var colColspan = parseInt($t.attr("colspan"), 10) || 1;
|
249
|
-
|
250
|
-
if ($t.css("display") !== "none") {
|
251
|
-
visibleSiblingColumns += colColspan;
|
252
|
-
}
|
253
|
-
});
|
254
|
-
// console.log( $cell[ 0 ], visibleColspan, visibleSiblingColumns );
|
255
|
-
|
256
|
-
return visibleColspan - visibleSiblingColumns;
|
257
|
-
};
|
258
|
-
|
259
|
-
Table.prototype.isCellInColumn = function(header, cell) {
|
260
|
-
return $(header)
|
261
|
-
.add(header.cells)
|
262
|
-
.filter(function() {
|
263
|
-
return this === cell;
|
264
|
-
}).length;
|
265
|
-
};
|
266
|
-
|
267
|
-
Table.prototype.updateColspanCells = function(cls, header, userAction) {
|
268
|
-
var self = this;
|
269
|
-
var primaryHeaderRow = self._getPrimaryHeaderRow();
|
270
|
-
|
271
|
-
// find persistent column rowspans
|
272
|
-
this.$table.find("[rowspan][data-tablesaw-priority]").each(function() {
|
273
|
-
var $t = $(this);
|
274
|
-
if ($t.attr("data-tablesaw-priority") !== "persist") {
|
275
|
-
return;
|
276
|
-
}
|
277
|
-
|
278
|
-
var $row = $t.closest("tr");
|
279
|
-
var rowspan = parseInt($t.attr("rowspan"), 10);
|
280
|
-
if (rowspan > 1) {
|
281
|
-
$row = $row.next();
|
282
|
-
|
283
|
-
$row.data("tablesaw-rowspanned", true);
|
284
|
-
|
285
|
-
rowspan--;
|
286
|
-
}
|
287
|
-
});
|
288
|
-
|
289
|
-
this.$table
|
290
|
-
.find("[colspan],[data-tablesaw-maxcolspan]")
|
291
|
-
.filter(function() {
|
292
|
-
// is not in primary header row
|
293
|
-
return $(this).closest("tr")[0] !== primaryHeaderRow[0];
|
294
|
-
})
|
295
|
-
.each(function() {
|
296
|
-
var $cell = $(this);
|
297
|
-
|
298
|
-
if (userAction === undefined || self.isCellInColumn(header, this)) {
|
299
|
-
} else {
|
300
|
-
// if is not a user action AND the cell is not in the updating column, kill it
|
301
|
-
return;
|
302
|
-
}
|
303
|
-
|
304
|
-
var colspan = self.getColspanForCell($cell);
|
305
|
-
|
306
|
-
if (cls && userAction !== undefined) {
|
307
|
-
// console.log( colspan === 0 ? "addClass" : "removeClass", $cell );
|
308
|
-
$cell[colspan === 0 ? "addClass" : "removeClass"](cls);
|
309
|
-
}
|
310
|
-
|
311
|
-
// cache original colspan
|
312
|
-
var maxColspan = parseInt($cell.attr("data-tablesaw-maxcolspan"), 10);
|
313
|
-
if (!maxColspan) {
|
314
|
-
$cell.attr("data-tablesaw-maxcolspan", $cell.attr("colspan"));
|
315
|
-
} else if (colspan > maxColspan) {
|
316
|
-
colspan = maxColspan;
|
317
|
-
}
|
318
|
-
|
319
|
-
// console.log( this, "setting colspan to ", colspan );
|
320
|
-
$cell.attr("colspan", colspan);
|
321
|
-
});
|
322
|
-
};
|
323
|
-
|
324
|
-
Table.prototype._findPrimaryHeadersForCell = function(cell) {
|
325
|
-
var $headerRow = this._getPrimaryHeaderRow();
|
326
|
-
var headerRowIndex = this._getRowIndex($headerRow);
|
327
|
-
var results = [];
|
328
|
-
|
329
|
-
for (var rowNumber = 0; rowNumber < this.headerMapping.length; rowNumber++) {
|
330
|
-
if (rowNumber === headerRowIndex) {
|
331
|
-
continue;
|
332
|
-
}
|
333
|
-
|
334
|
-
for (var colNumber = 0; colNumber < this.headerMapping[rowNumber].length; colNumber++) {
|
335
|
-
if (this.headerMapping[rowNumber][colNumber] === cell) {
|
336
|
-
results.push(this.headerMapping[headerRowIndex][colNumber]);
|
337
|
-
}
|
338
|
-
}
|
339
|
-
}
|
340
|
-
|
341
|
-
return results;
|
342
|
-
};
|
343
|
-
|
344
|
-
// used by init cells
|
345
|
-
Table.prototype.getRows = function() {
|
346
|
-
var self = this;
|
347
|
-
return this.$table.find("tr").filter(function() {
|
348
|
-
return $(this)
|
349
|
-
.closest("table")
|
350
|
-
.is(self.$table);
|
351
|
-
});
|
352
|
-
};
|
353
|
-
|
354
|
-
// used by sortable
|
355
|
-
Table.prototype.getBodyRows = function(tbody) {
|
356
|
-
return (tbody ? $(tbody) : this.$tbody).children().filter("tr");
|
357
|
-
};
|
358
|
-
|
359
|
-
Table.prototype.getHeaderCellIndex = function(cell) {
|
360
|
-
var lookup = this.headerMapping[0];
|
361
|
-
for (var colIndex = 0; colIndex < lookup.length; colIndex++) {
|
362
|
-
if (lookup[colIndex] === cell) {
|
363
|
-
return colIndex;
|
364
|
-
}
|
365
|
-
}
|
366
|
-
|
367
|
-
return -1;
|
368
|
-
};
|
369
|
-
|
370
|
-
Table.prototype._initCells = function() {
|
371
|
-
// re-establish original colspans
|
372
|
-
this.$table.find("[data-tablesaw-maxcolspan]").each(function() {
|
373
|
-
var $t = $(this);
|
374
|
-
$t.attr("colspan", $t.attr("data-tablesaw-maxcolspan"));
|
375
|
-
});
|
376
|
-
|
377
|
-
var $rows = this.getRows();
|
378
|
-
var columnLookup = [];
|
379
|
-
|
380
|
-
$rows.each(function(rowNumber) {
|
381
|
-
columnLookup[rowNumber] = [];
|
382
|
-
});
|
383
|
-
|
384
|
-
$rows.each(function(rowNumber) {
|
385
|
-
var coltally = 0;
|
386
|
-
var $t = $(this);
|
387
|
-
var children = $t.children();
|
388
|
-
|
389
|
-
children.each(function() {
|
390
|
-
var colspan = parseInt(
|
391
|
-
this.getAttribute("data-tablesaw-maxcolspan") || this.getAttribute("colspan"),
|
392
|
-
10
|
393
|
-
);
|
394
|
-
var rowspan = parseInt(this.getAttribute("rowspan"), 10);
|
395
|
-
|
396
|
-
// set in a previous rowspan
|
397
|
-
while (columnLookup[rowNumber][coltally]) {
|
398
|
-
coltally++;
|
399
|
-
}
|
400
|
-
|
401
|
-
columnLookup[rowNumber][coltally] = this;
|
402
|
-
|
403
|
-
// TODO? both colspan and rowspan
|
404
|
-
if (colspan) {
|
405
|
-
for (var k = 0; k < colspan - 1; k++) {
|
406
|
-
coltally++;
|
407
|
-
columnLookup[rowNumber][coltally] = this;
|
408
|
-
}
|
409
|
-
}
|
410
|
-
if (rowspan) {
|
411
|
-
for (var j = 1; j < rowspan; j++) {
|
412
|
-
columnLookup[rowNumber + j][coltally] = this;
|
413
|
-
}
|
414
|
-
}
|
415
|
-
|
416
|
-
coltally++;
|
417
|
-
});
|
418
|
-
});
|
419
|
-
|
420
|
-
var headerRowIndeces = this._getHeaderRowIndeces();
|
421
|
-
for (var colNumber = 0; colNumber < columnLookup[0].length; colNumber++) {
|
422
|
-
for (var headerIndex = 0, k = headerRowIndeces.length; headerIndex < k; headerIndex++) {
|
423
|
-
var headerCol = columnLookup[headerRowIndeces[headerIndex]][colNumber];
|
424
|
-
|
425
|
-
var rowNumber = headerRowIndeces[headerIndex];
|
426
|
-
var rowCell;
|
427
|
-
|
428
|
-
if (!headerCol.cells) {
|
429
|
-
headerCol.cells = [];
|
430
|
-
}
|
431
|
-
|
432
|
-
while (rowNumber < columnLookup.length) {
|
433
|
-
rowCell = columnLookup[rowNumber][colNumber];
|
434
|
-
|
435
|
-
if (headerCol !== rowCell) {
|
436
|
-
headerCol.cells.push(rowCell);
|
437
|
-
}
|
438
|
-
|
439
|
-
rowNumber++;
|
440
|
-
}
|
441
|
-
}
|
442
|
-
}
|
443
|
-
|
444
|
-
this.headerMapping = columnLookup;
|
445
|
-
};
|
446
|
-
|
447
|
-
Table.prototype.refresh = function() {
|
448
|
-
this._initCells();
|
449
|
-
|
450
|
-
this.$table.trigger(events.refresh, [this]);
|
451
|
-
};
|
452
|
-
|
453
|
-
Table.prototype._getToolbarAnchor = function() {
|
454
|
-
var $parent = this.$table.parent();
|
455
|
-
if ($parent.is(".tablesaw-overflow")) {
|
456
|
-
return $parent;
|
457
|
-
}
|
458
|
-
return this.$table;
|
459
|
-
};
|
460
|
-
|
461
|
-
Table.prototype._getToolbar = function($anchor) {
|
462
|
-
if (!$anchor) {
|
463
|
-
$anchor = this._getToolbarAnchor();
|
464
|
-
}
|
465
|
-
return $anchor.prev().filter("." + classes.toolbar);
|
466
|
-
};
|
467
|
-
|
468
|
-
Table.prototype.createToolbar = function() {
|
469
|
-
// Insert the toolbar
|
470
|
-
// TODO move this into a separate component
|
471
|
-
var $anchor = this._getToolbarAnchor();
|
472
|
-
var $toolbar = this._getToolbar($anchor);
|
473
|
-
if (!$toolbar.length) {
|
474
|
-
$toolbar = $("<div>")
|
475
|
-
.addClass(classes.toolbar)
|
476
|
-
.insertBefore($anchor);
|
477
|
-
}
|
478
|
-
this.$toolbar = $toolbar;
|
479
|
-
|
480
|
-
if (this.mode) {
|
481
|
-
this.$toolbar.addClass("tablesaw-mode-" + this.mode);
|
482
|
-
}
|
483
|
-
};
|
484
|
-
|
485
|
-
Table.prototype.destroy = function() {
|
486
|
-
// Don’t remove the toolbar, just erase the classes on it.
|
487
|
-
// Some of the table features are not yet destroy-friendly.
|
488
|
-
this._getToolbar().each(function() {
|
489
|
-
this.className = this.className.replace(/\btablesaw-mode\-\w*\b/gi, "");
|
490
|
-
});
|
491
|
-
|
492
|
-
var tableId = this.$table.attr("id");
|
493
|
-
$(document).off("." + tableId);
|
494
|
-
$(window).off("." + tableId);
|
495
|
-
|
496
|
-
// other plugins
|
497
|
-
this.$table.trigger(events.destroy, [this]);
|
498
|
-
|
499
|
-
this.$table.removeData(pluginName);
|
500
|
-
};
|
501
|
-
|
502
|
-
// Collection method.
|
503
|
-
$.fn[pluginName] = function() {
|
504
|
-
return this.each(function() {
|
505
|
-
var $t = $(this);
|
506
|
-
|
507
|
-
if ($t.data(pluginName)) {
|
508
|
-
return;
|
509
|
-
}
|
510
|
-
|
511
|
-
new Table(this);
|
512
|
-
});
|
513
|
-
};
|
514
|
-
|
515
|
-
var $doc = $(document);
|
516
|
-
$doc.on("enhance.tablesaw", function(e) {
|
517
|
-
// Cut the mustard
|
518
|
-
if (Tablesaw.mustard) {
|
519
|
-
var $target = $(e.target);
|
520
|
-
if ($target.parent().length) {
|
521
|
-
$target = $target.parent();
|
522
|
-
}
|
523
|
-
|
524
|
-
$target
|
525
|
-
.find(initSelector)
|
526
|
-
.filter(initFilterSelector)
|
527
|
-
[pluginName]();
|
528
|
-
}
|
529
|
-
});
|
530
|
-
|
531
|
-
// Avoid a resize during scroll:
|
532
|
-
// Some Mobile devices trigger a resize during scroll (sometimes when
|
533
|
-
// doing elastic stretch at the end of the document or from the
|
534
|
-
// location bar hide)
|
535
|
-
var isScrolling = false;
|
536
|
-
var scrollTimeout;
|
537
|
-
$doc.on("scroll.tablesaw", function() {
|
538
|
-
isScrolling = true;
|
539
|
-
|
540
|
-
window.clearTimeout(scrollTimeout);
|
541
|
-
scrollTimeout = window.setTimeout(function() {
|
542
|
-
isScrolling = false;
|
543
|
-
}, 300); // must be greater than the resize timeout below
|
544
|
-
});
|
545
|
-
|
546
|
-
var resizeTimeout;
|
547
|
-
$(window).on("resize", function() {
|
548
|
-
if (!isScrolling) {
|
549
|
-
window.clearTimeout(resizeTimeout);
|
550
|
-
resizeTimeout = window.setTimeout(function() {
|
551
|
-
$doc.trigger(events.resize);
|
552
|
-
}, 150); // must be less than the scrolling timeout above.
|
553
|
-
}
|
554
|
-
});
|
555
|
-
|
556
|
-
Tablesaw.Table = Table;
|
557
|
-
})();
|
558
|
-
|
559
|
-
(function() {
|
560
|
-
var classes = {
|
561
|
-
stackTable: "tablesaw-stack",
|
562
|
-
cellLabels: "tablesaw-cell-label",
|
563
|
-
cellContentLabels: "tablesaw-cell-content"
|
564
|
-
};
|
565
|
-
|
566
|
-
var data = {
|
567
|
-
key: "tablesaw-stack"
|
568
|
-
};
|
569
|
-
|
570
|
-
var attrs = {
|
571
|
-
labelless: "data-tablesaw-no-labels",
|
572
|
-
hideempty: "data-tablesaw-hide-empty"
|
573
|
-
};
|
574
|
-
|
575
|
-
var Stack = function(element, tablesaw) {
|
576
|
-
this.tablesaw = tablesaw;
|
577
|
-
this.$table = $(element);
|
578
|
-
|
579
|
-
this.labelless = this.$table.is("[" + attrs.labelless + "]");
|
580
|
-
this.hideempty = this.$table.is("[" + attrs.hideempty + "]");
|
581
|
-
|
582
|
-
this.$table.data(data.key, this);
|
583
|
-
};
|
584
|
-
|
585
|
-
Stack.prototype.init = function() {
|
586
|
-
this.$table.addClass(classes.stackTable);
|
587
|
-
|
588
|
-
if (this.labelless) {
|
589
|
-
return;
|
590
|
-
}
|
591
|
-
|
592
|
-
var self = this;
|
593
|
-
|
594
|
-
this.$table
|
595
|
-
.find("th, td")
|
596
|
-
.filter(function() {
|
597
|
-
return !$(this).closest("thead").length;
|
598
|
-
})
|
599
|
-
.filter(function() {
|
600
|
-
return (
|
601
|
-
!$(this).is("[" + attrs.labelless + "]") &&
|
602
|
-
!$(this)
|
603
|
-
.closest("tr")
|
604
|
-
.is("[" + attrs.labelless + "]") &&
|
605
|
-
(!self.hideempty || !!$(this).html())
|
606
|
-
);
|
607
|
-
})
|
608
|
-
.each(function() {
|
609
|
-
var $newHeader = $(document.createElement("b")).addClass(classes.cellLabels);
|
610
|
-
var $cell = $(this);
|
611
|
-
|
612
|
-
$(self.tablesaw._findPrimaryHeadersForCell(this)).each(function(index) {
|
613
|
-
var $header = $(this.cloneNode(true));
|
614
|
-
// TODO decouple from sortable better
|
615
|
-
// Changed from .text() in https://github.com/filamentgroup/tablesaw/commit/b9c12a8f893ec192830ec3ba2d75f062642f935b
|
616
|
-
// to preserve structural html in headers, like <a>
|
617
|
-
var $sortableButton = $header.find(".tablesaw-sortable-btn");
|
618
|
-
$header.find(".tablesaw-sortable-arrow").remove();
|
619
|
-
|
620
|
-
// TODO decouple from checkall better
|
621
|
-
var $checkall = $header.find("[data-tablesaw-checkall]");
|
622
|
-
$checkall.closest("label").remove();
|
623
|
-
if ($checkall.length) {
|
624
|
-
$newHeader = $([]);
|
625
|
-
return;
|
626
|
-
}
|
627
|
-
|
628
|
-
if (index > 0) {
|
629
|
-
$newHeader.append(document.createTextNode(", "));
|
630
|
-
}
|
631
|
-
|
632
|
-
var parentNode = $sortableButton.length ? $sortableButton[0] : $header[0];
|
633
|
-
var el;
|
634
|
-
while ((el = parentNode.firstChild)) {
|
635
|
-
$newHeader[0].appendChild(el);
|
636
|
-
}
|
637
|
-
});
|
638
|
-
|
639
|
-
if ($newHeader.length && !$cell.find("." + classes.cellContentLabels).length) {
|
640
|
-
$cell.wrapInner("<span class='" + classes.cellContentLabels + "'></span>");
|
641
|
-
}
|
642
|
-
|
643
|
-
// Update if already exists.
|
644
|
-
var $label = $cell.find("." + classes.cellLabels);
|
645
|
-
if (!$label.length) {
|
646
|
-
$cell.prepend(document.createTextNode(" "));
|
647
|
-
$cell.prepend($newHeader);
|
648
|
-
} else {
|
649
|
-
// only if changed
|
650
|
-
$label.replaceWith($newHeader);
|
651
|
-
}
|
652
|
-
});
|
653
|
-
};
|
654
|
-
|
655
|
-
Stack.prototype.destroy = function() {
|
656
|
-
this.$table.removeClass(classes.stackTable);
|
657
|
-
this.$table.find("." + classes.cellLabels).remove();
|
658
|
-
this.$table.find("." + classes.cellContentLabels).each(function() {
|
659
|
-
$(this).replaceWith($(this.childNodes));
|
660
|
-
});
|
661
|
-
};
|
662
|
-
|
663
|
-
// on tablecreate, init
|
664
|
-
$(document)
|
665
|
-
.on(Tablesaw.events.create, function(e, tablesaw) {
|
666
|
-
if (tablesaw.mode === "stack") {
|
667
|
-
var table = new Stack(tablesaw.table, tablesaw);
|
668
|
-
table.init();
|
669
|
-
}
|
670
|
-
})
|
671
|
-
.on(Tablesaw.events.refresh, function(e, tablesaw) {
|
672
|
-
if (tablesaw.mode === "stack") {
|
673
|
-
$(tablesaw.table)
|
674
|
-
.data(data.key)
|
675
|
-
.init();
|
676
|
-
}
|
677
|
-
})
|
678
|
-
.on(Tablesaw.events.destroy, function(e, tablesaw) {
|
679
|
-
if (tablesaw.mode === "stack") {
|
680
|
-
$(tablesaw.table)
|
681
|
-
.data(data.key)
|
682
|
-
.destroy();
|
683
|
-
}
|
684
|
-
});
|
685
|
-
|
686
|
-
Tablesaw.Stack = Stack;
|
687
|
-
})();
|
688
|
-
return Tablesaw;
|
689
|
-
|
690
|
-
}));
|
19
|
+
!function(e,a){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e.Tablesaw=a(t,e)}):"object"==typeof exports?"document"in e?module.exports=a(require("jquery"),e):module.exports=a(require("jquery")(e),e):e.Tablesaw=a(jQuery,e)}("undefined"!=typeof window?window:this,function(h,c){"use strict";var u=c.document,a=/complete|loaded/.test(u.readyState);u.addEventListener("DOMContentLoaded",function(){a=!0});var p={i18n:{modeStack:"Stack",modeSwipe:"Swipe",modeToggle:"Toggle",modeSwitchColumnsAbbreviated:"Cols",modeSwitchColumns:"Columns",columnToggleButton:"Columns",columnToggleError:"No eligible columns.",sort:"Sort",swipePreviousColumn:"Previous column",swipeNextColumn:"Next column"},breakpoint:{xl:"1200px",lg:"992px",md:"768px",sm:"576px",xs:"575px",default:"992px"},mustard:"head"in u&&(!c.blackberry||c.WebKitPoint)&&!c.operamini,$:h,_init:function(t,e){p.$(t||u).trigger("enhance.tablesaw"),p.options=e},init:function(t,e){(a=a||/complete|loaded/.test(u.readyState))?p._init(t,e):"addEventListener"in u&&u.addEventListener("DOMContentLoaded",function(){p._init(t,e)})}};return h(u).on("enhance.tablesaw",function(){"undefined"!=typeof TablesawConfig&&TablesawConfig.i18n&&(p.i18n=h.extend(p.i18n,TablesawConfig.i18n||{})),p.i18n.modes=[p.i18n.modeStack,p.i18n.modeSwipe,p.i18n.modeToggle]}),p.mustard&&h(u.documentElement).addClass("tablesaw-enhanced"),function(){var e="tablesaw",a="tablesaw-bar",n={create:"tablesawcreate",destroy:"tablesawdestroy",refresh:"tablesawrefresh",resize:"tablesawresize"},i={},r=log4javascript.getLogger("j1.rtable");function t(t){if(!t)throw new Error("Tablesaw requires an element.");this.table=t,this.$table=h(t),this.$thead=this.$table.children().filter("thead").eq(0),this.$tbody=this.$table.children().filter("tbody"),this.mode=this.$table.attr("data-tablesaw-mode")||"stack",this.$toolbar=null,this.attributes={subrow:"data-tablesaw-subrow",ignorerow:"data-tablesaw-ignorerow"},this.init()}p.events=n,t.prototype.init=function(){if(!this.$thead.length)throw new Error("tablesaw: a <thead> is required, but none was found.");if(!this.$thead.find("th").length)throw new Error("tablesaw: no header cells found. Are you using <th> inside of <thead>?");this.$table.attr("id")||this.$table.attr("id",e+"-"+Math.round(1e4*Math.random())),this.createToolbar(),this._initCells(),this.$table.data(e,this),this.$table.trigger(n.create,[this])},t.prototype.getConfig=function(t){t=h.extend(i,t||{});return h.extend(t,"undefined"!=typeof TablesawConfig?TablesawConfig:{})},t.prototype._getPrimaryHeaderRow=function(){return this._getHeaderRows().eq(0)},t.prototype._getHeaderRows=function(){return this.$thead.children().filter("tr").filter(function(){return!h(this).is("[data-tablesaw-ignorerow]")})},t.prototype._getRowIndex=function(t){return t.prevAll().length},t.prototype._getHeaderRowIndeces=function(){var t=this,e=[];return this._getHeaderRows().each(function(){e.push(t._getRowIndex(h(this)))}),e},t.prototype._getPrimaryHeaderCells=function(t){return(t||this._getPrimaryHeaderRow()).find("th")},t.prototype._$getCells=function(t){var a=this;return h(t).add(t.cells).filter(function(){var t=h(this),e=t.parent(),t=t.is("[colspan]");return!(e.is("["+a.attributes.subrow+"]")||e.is("["+a.attributes.ignorerow+"]")&&t)})},t.prototype._getVisibleColspan=function(){var e=0;return this._getPrimaryHeaderCells().each(function(){var t=h(this);"none"!==t.css("display")&&(e+=parseInt(t.attr("colspan"),10)||1)}),e},t.prototype.getColspanForCell=function(t){var e=this._getVisibleColspan(),a=0;return t.closest("tr").data("tablesaw-rowspanned")&&a++,t.siblings().each(function(){var t=h(this),e=parseInt(t.attr("colspan"),10)||1;"none"!==t.css("display")&&(a+=e)}),e-a},t.prototype.isCellInColumn=function(t,e){return h(t).add(t.cells).filter(function(){return this===e}).length},t.prototype.updateColspanCells=function(n,i,r){var o=this,t=o._getPrimaryHeaderRow();this.$table.find("[rowspan][data-tablesaw-priority]").each(function(){var t,e=h(this);"persist"===e.attr("data-tablesaw-priority")&&(t=e.closest("tr"),1<(e=parseInt(e.attr("rowspan"),10))&&((t=t.next()).data("tablesaw-rowspanned",!0),e--))}),this.$table.find("[colspan],[data-tablesaw-maxcolspan]").filter(function(){return h(this).closest("tr")[0]!==t[0]}).each(function(){var t,e,a=h(this);void 0!==r&&!o.isCellInColumn(i,this)||(t=o.getColspanForCell(a),n&&void 0!==r&&a[0===t?"addClass":"removeClass"](n),(e=parseInt(a.attr("data-tablesaw-maxcolspan"),10))?e<t&&(t=e):a.attr("data-tablesaw-maxcolspan",a.attr("colspan")),a.attr("colspan",t))})},t.prototype._findPrimaryHeadersForCell=function(t){for(var e=this._getPrimaryHeaderRow(),a=this._getRowIndex(e),n=[],i=0;i<this.headerMapping.length;i++)if(i!==a)for(var r=0;r<this.headerMapping[i].length;r++)this.headerMapping[i][r]===t&&n.push(this.headerMapping[a][r]);return n},t.prototype.getRows=function(){var t=this;return this.$table.find("tr").filter(function(){return h(this).closest("table").is(t.$table)})},t.prototype.getBodyRows=function(t){return(t?h(t):this.$tbody).children().filter("tr")},t.prototype.getHeaderCellIndex=function(t){for(var e=this.headerMapping[0],a=0;a<e.length;a++)if(e[a]===t)return a;return-1},t.prototype._initCells=function(){this.$table.find("[data-tablesaw-maxcolspan]").each(function(){var t=h(this);t.attr("colspan",t.attr("data-tablesaw-maxcolspan"))});var t=this.getRows(),o=[];t.each(function(t){o[t]=[]}),t.each(function(i){var r=0;h(this).children().each(function(){for(var t=parseInt(this.getAttribute("data-tablesaw-maxcolspan")||this.getAttribute("colspan"),10),e=parseInt(this.getAttribute("rowspan"),10);o[i][r];)r++;if(o[i][r]=this,t)for(var a=0;a<t-1;a++)r++,o[i][r]=this;if(e)for(var n=1;n<e;n++)o[i+n][r]=this;r++})});for(var e=this._getHeaderRowIndeces(),a=0;a<o[0].length;a++)for(var n=0,i=e.length;n<i;n++){var r,s=o[e[n]][a],l=e[n];for(s.cells||(s.cells=[]);l<o.length;)s!==(r=o[l][a])&&s.cells.push(r),l++}this.headerMapping=o},t.prototype.refresh=function(){this._initCells(),this.$table.trigger(n.refresh,[this])},t.prototype._getToolbarAnchor=function(){var t=this.$table.parent();return t.is(".tablesaw-overflow")?t:this.$table},t.prototype._getToolbar=function(t){return(t=t||this._getToolbarAnchor()).prev().filter("."+a)},t.prototype.createToolbar=function(){var t=this._getToolbarAnchor(),e=this._getToolbar(t);e.length||(e=h("<div>").addClass(a).insertBefore(t)),this.$toolbar=e,this.mode&&this.$toolbar.addClass("tablesaw-mode-"+this.mode)},t.prototype.destroy=function(){this._getToolbar().each(function(){this.className=this.className.replace(/\btablesaw-mode\-\w*\b/gi,"")});var t=this.$table.attr("id");h(u).off("."+t),h(c).off("."+t),this.$table.trigger(n.destroy,[this]),this.$table.removeData(e)},h.fn[e]=function(){return this.each(function(){h(this).data(e)||new t(this)})};var o=h(u);o.on("enhance.tablesaw",function(t){p.mustard&&((t=h(t.target)).parent().length&&(t=t.parent()),t.find("table").filter("[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]")[e]())});var s,l,d=!1;o.on("scroll.tablesaw",function(){d=!0,c.clearTimeout(s),s=c.setTimeout(function(){d=!1},300)}),h(c).on("resize",function(){h("table").each(function(){var t,e=h(this);h(e).hasClass("rtable")&&(h(c).width(),h(c).width()<p.options.breakpoint?(t="\nhide colgroups: "+e.attr("id"),e.find("colgroup").hide()):(t="\nshow colgroup: "+e.attr("id"),e.find("colgroup").show()),r.debug(t))}),d||(c.clearTimeout(l),l=c.setTimeout(function(){o.trigger(n.resize)},150))}),p.Table=t}(),function(){function a(t,e){this.tablesaw=e,this.$table=h(t),this.labelless=this.$table.is("["+o+"]"),this.hideempty=this.$table.is("["+s+"]"),this.$table.data(r,this)}var t="tablesaw-stack",n="tablesaw-cell-label",i="tablesaw-cell-content",r="tablesaw-stack",o="data-tablesaw-no-labels",s="data-tablesaw-hide-empty";a.prototype.init=function(){var a;this.$table.addClass(t),this.labelless||(a=this).$table.find("th, td").filter(function(){return!h(this).closest("thead").length}).filter(function(){return!(h(this).is("["+o+"]")||h(this).closest("tr").is("["+o+"]")||a.hideempty&&!h(this).html())}).each(function(){var o=h(u.createElement("b")).addClass(n),t=h(this);h(a.tablesaw._findPrimaryHeadersForCell(this)).each(function(t){var e=h(this.cloneNode(!0)),a=e.find(".tablesaw-sortable-btn");e.find(".tablesaw-sortable-arrow").remove();var n=e.find("[data-tablesaw-checkall]");if(n.closest("label").remove(),n.length)o=h([]);else{0<t&&o.append(u.createTextNode(", "));for(var i,r=(a.length?a:e)[0];i=r.firstChild;)o[0].appendChild(i)}}),o.length&&!t.find("."+i).length&&t.wrapInner("<span class='"+i+"'></span>");var e=t.find("."+n);e.length?e.replaceWith(o):(t.prepend(u.createTextNode(" ")),t.prepend(o))})},a.prototype.destroy=function(){this.$table.removeClass(t),this.$table.find("."+n).remove(),this.$table.find("."+i).each(function(){h(this).replaceWith(h(this.childNodes))})},h(u).on(p.events.create,function(t,e){"stack"===e.mode&&new a(e.table,e).init()}).on(p.events.refresh,function(t,e){"stack"===e.mode&&h(e.table).data(r).init()}).on(p.events.destroy,function(t,e){"stack"===e.mode&&h(e.table).data(r).destroy()}),p.Stack=a}(),p});
|