@openeuropa/bcl-theme-joinup 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/oe-bcl-joinup.css +55 -68
- package/css/oe-bcl-joinup.css.map +1 -1
- package/css/oe-bcl-joinup.min.css +1 -1
- package/css/oe-bcl-joinup.min.css.map +1 -1
- package/icons/world-flags/1x1/ad.svg +4 -4
- package/icons/world-flags/1x1/af.svg +2 -2
- package/icons/world-flags/1x1/ag.svg +6 -6
- package/icons/world-flags/1x1/al.svg +3 -3
- package/icons/world-flags/1x1/ar.svg +23 -23
- package/icons/world-flags/1x1/arab.svg +109 -0
- package/icons/world-flags/1x1/as.svg +5 -5
- package/icons/world-flags/1x1/aw.svg +2 -2
- package/icons/world-flags/1x1/ax.svg +2 -2
- package/icons/world-flags/1x1/ba.svg +2 -2
- package/icons/world-flags/1x1/bb.svg +2 -2
- package/icons/world-flags/1x1/bi.svg +2 -2
- package/icons/world-flags/1x1/bj.svg +2 -2
- package/icons/world-flags/1x1/bm.svg +2 -2
- package/icons/world-flags/1x1/bn.svg +2 -2
- package/icons/world-flags/1x1/bo.svg +1 -1
- package/icons/world-flags/1x1/bs.svg +2 -2
- package/icons/world-flags/1x1/bv.svg +2 -2
- package/icons/world-flags/1x1/by.svg +2 -2
- package/icons/world-flags/1x1/bz.svg +12 -12
- package/icons/world-flags/1x1/cc.svg +7 -7
- package/icons/world-flags/1x1/cd.svg +2 -2
- package/icons/world-flags/1x1/cefta.svg +2 -2
- package/icons/world-flags/1x1/cf.svg +2 -2
- package/icons/world-flags/1x1/cg.svg +2 -2
- package/icons/world-flags/1x1/cl.svg +2 -2
- package/icons/world-flags/1x1/cm.svg +7 -7
- package/icons/world-flags/1x1/cn.svg +6 -6
- package/icons/world-flags/1x1/cu.svg +4 -4
- package/icons/world-flags/1x1/cv.svg +2 -2
- package/icons/world-flags/1x1/cw.svg +5 -5
- package/icons/world-flags/1x1/cx.svg +4 -4
- package/icons/world-flags/1x1/cy.svg +2 -2
- package/icons/world-flags/1x1/dg.svg +1 -0
- package/icons/world-flags/1x1/dj.svg +2 -2
- package/icons/world-flags/1x1/dm.svg +2 -2
- package/icons/world-flags/1x1/do.svg +123 -6743
- package/icons/world-flags/1x1/eac.svg +50 -0
- package/icons/world-flags/1x1/eg.svg +4 -4
- package/icons/world-flags/1x1/er.svg +2 -2
- package/icons/world-flags/1x1/es-ga.svg +3 -3
- package/icons/world-flags/1x1/es-pv.svg +5 -0
- package/icons/world-flags/1x1/et.svg +2 -2
- package/icons/world-flags/1x1/eu.svg +17 -17
- package/icons/world-flags/1x1/fk.svg +28 -28
- package/icons/world-flags/1x1/fm.svg +2 -2
- package/icons/world-flags/1x1/fo.svg +2 -2
- package/icons/world-flags/1x1/fr.svg +3 -5
- package/icons/world-flags/1x1/gb-nir.svg +2 -2
- package/icons/world-flags/1x1/gd.svg +15 -15
- package/icons/world-flags/1x1/ge.svg +1 -1
- package/icons/world-flags/1x1/gf.svg +3 -5
- package/icons/world-flags/1x1/gg.svg +4 -4
- package/icons/world-flags/1x1/gi.svg +2 -2
- package/icons/world-flags/1x1/gp.svg +3 -5
- package/icons/world-flags/1x1/gs.svg +40 -40
- package/icons/world-flags/1x1/gt.svg +61 -77
- package/icons/world-flags/1x1/gw.svg +7 -7
- package/icons/world-flags/1x1/hk.svg +7 -29
- package/icons/world-flags/1x1/hn.svg +12 -12
- package/icons/world-flags/1x1/hr.svg +3 -3
- package/icons/world-flags/1x1/ht.svg +8 -8
- package/icons/world-flags/1x1/il.svg +2 -2
- package/icons/world-flags/1x1/im.svg +2 -2
- package/icons/world-flags/1x1/in.svg +9 -9
- package/icons/world-flags/1x1/io.svg +1 -0
- package/icons/world-flags/1x1/ir.svg +2 -2
- package/icons/world-flags/1x1/is.svg +2 -2
- package/icons/world-flags/1x1/je.svg +21 -21
- package/icons/world-flags/1x1/jo.svg +2 -2
- package/icons/world-flags/1x1/jp.svg +2 -2
- package/icons/world-flags/1x1/ke.svg +11 -11
- package/icons/world-flags/1x1/kg.svg +2 -2
- package/icons/world-flags/1x1/kh.svg +2 -2
- package/icons/world-flags/1x1/ki.svg +2 -2
- package/icons/world-flags/1x1/km.svg +2 -2
- package/icons/world-flags/1x1/kn.svg +2 -2
- package/icons/world-flags/1x1/kp.svg +2 -2
- package/icons/world-flags/1x1/kr.svg +4 -4
- package/icons/world-flags/1x1/kw.svg +2 -2
- package/icons/world-flags/1x1/ky.svg +44 -50
- package/icons/world-flags/1x1/kz.svg +31 -18
- package/icons/world-flags/1x1/la.svg +2 -2
- package/icons/world-flags/1x1/lb.svg +2 -2
- package/icons/world-flags/1x1/li.svg +2 -2
- package/icons/world-flags/1x1/lk.svg +6 -6
- package/icons/world-flags/1x1/lr.svg +2 -2
- package/icons/world-flags/1x1/ly.svg +2 -2
- package/icons/world-flags/1x1/mf.svg +3 -5
- package/icons/world-flags/1x1/mm.svg +5 -5
- package/icons/world-flags/1x1/mo.svg +2 -2
- package/icons/world-flags/1x1/mp.svg +2 -2
- package/icons/world-flags/1x1/mq.svg +3 -5
- package/icons/world-flags/1x1/mr.svg +1 -1
- package/icons/world-flags/1x1/ms.svg +9 -9
- package/icons/world-flags/1x1/mw.svg +2 -2
- package/icons/world-flags/1x1/mx.svg +7 -7
- package/icons/world-flags/1x1/my.svg +16 -5
- package/icons/world-flags/1x1/mz.svg +2 -2
- package/icons/world-flags/1x1/na.svg +2 -2
- package/icons/world-flags/1x1/ni.svg +59 -59
- package/icons/world-flags/1x1/np.svg +4 -5
- package/icons/world-flags/1x1/nr.svg +2 -2
- package/icons/world-flags/1x1/nz.svg +16 -16
- package/icons/world-flags/1x1/om.svg +2 -2
- package/icons/world-flags/1x1/pa.svg +2 -2
- package/icons/world-flags/1x1/pe.svg +23 -23
- package/icons/world-flags/1x1/pf.svg +2 -2
- package/icons/world-flags/1x1/pg.svg +2 -2
- package/icons/world-flags/1x1/ph.svg +1 -3
- package/icons/world-flags/1x1/pk.svg +2 -2
- package/icons/world-flags/1x1/pm.svg +3 -5
- package/icons/world-flags/1x1/pn.svg +15 -15
- package/icons/world-flags/1x1/pr.svg +2 -2
- package/icons/world-flags/1x1/ps.svg +2 -2
- package/icons/world-flags/1x1/pt.svg +17 -17
- package/icons/world-flags/1x1/pw.svg +2 -2
- package/icons/world-flags/1x1/rs.svg +14 -14
- package/icons/world-flags/1x1/rw.svg +4 -4
- package/icons/world-flags/1x1/sa.svg +6 -7
- package/icons/world-flags/1x1/sb.svg +2 -2
- package/icons/world-flags/1x1/sd.svg +2 -2
- package/icons/world-flags/1x1/sg.svg +2 -2
- package/icons/world-flags/1x1/si.svg +2 -2
- package/icons/world-flags/1x1/sl.svg +2 -2
- package/icons/world-flags/1x1/so.svg +2 -2
- package/icons/world-flags/1x1/st.svg +9 -9
- package/icons/world-flags/1x1/sv.svg +6 -6
- package/icons/world-flags/1x1/sx.svg +2 -2
- package/icons/world-flags/1x1/sz.svg +8 -8
- package/icons/world-flags/1x1/tc.svg +12 -12
- package/icons/world-flags/1x1/tf.svg +6 -6
- package/icons/world-flags/1x1/tg.svg +2 -2
- package/icons/world-flags/1x1/tj.svg +11 -11
- package/icons/world-flags/1x1/tl.svg +2 -2
- package/icons/world-flags/1x1/tm.svg +3 -3
- package/icons/world-flags/1x1/tn.svg +2 -11
- package/icons/world-flags/1x1/tw.svg +2 -2
- package/icons/world-flags/1x1/tz.svg +2 -2
- package/icons/world-flags/1x1/ug.svg +2 -2
- package/icons/world-flags/1x1/um.svg +2 -2
- package/icons/world-flags/1x1/un.svg +2 -2
- package/icons/world-flags/1x1/us.svg +7 -8
- package/icons/world-flags/1x1/uy.svg +10 -10
- package/icons/world-flags/1x1/uz.svg +16 -16
- package/icons/world-flags/1x1/va.svg +179 -468
- package/icons/world-flags/1x1/ve.svg +14 -14
- package/icons/world-flags/1x1/vg.svg +21 -25
- package/icons/world-flags/1x1/vi.svg +2 -2
- package/icons/world-flags/1x1/vn.svg +2 -2
- package/icons/world-flags/1x1/vu.svg +4 -4
- package/icons/world-flags/1x1/wf.svg +3 -5
- package/icons/world-flags/1x1/xk.svg +1 -4
- package/icons/world-flags/1x1/xx.svg +1 -1
- package/icons/world-flags/1x1/yt.svg +3 -5
- package/icons/world-flags/1x1/za.svg +2 -2
- package/icons/world-flags/1x1/zm.svg +2 -2
- package/icons/world-flags/1x1/zw.svg +4 -4
- package/icons/world-flags/4x3/ad.svg +4 -4
- package/icons/world-flags/4x3/af.svg +2 -2
- package/icons/world-flags/4x3/ag.svg +7 -7
- package/icons/world-flags/4x3/al.svg +3 -3
- package/icons/world-flags/4x3/ar.svg +23 -23
- package/icons/world-flags/4x3/arab.svg +109 -0
- package/icons/world-flags/4x3/as.svg +9 -9
- package/icons/world-flags/4x3/aw.svg +2 -2
- package/icons/world-flags/4x3/ax.svg +2 -2
- package/icons/world-flags/4x3/ba.svg +2 -2
- package/icons/world-flags/4x3/bb.svg +2 -2
- package/icons/world-flags/4x3/bi.svg +2 -2
- package/icons/world-flags/4x3/bj.svg +2 -2
- package/icons/world-flags/4x3/bl.svg +3 -5
- package/icons/world-flags/4x3/bm.svg +2 -2
- package/icons/world-flags/4x3/bn.svg +2 -2
- package/icons/world-flags/4x3/bo.svg +1 -1
- package/icons/world-flags/4x3/bs.svg +2 -2
- package/icons/world-flags/4x3/bv.svg +2 -2
- package/icons/world-flags/4x3/by.svg +2 -2
- package/icons/world-flags/4x3/bz.svg +12 -12
- package/icons/world-flags/4x3/cc.svg +7 -7
- package/icons/world-flags/4x3/cefta.svg +2 -2
- package/icons/world-flags/4x3/cf.svg +2 -2
- package/icons/world-flags/4x3/cg.svg +2 -2
- package/icons/world-flags/4x3/cl.svg +2 -2
- package/icons/world-flags/4x3/cm.svg +7 -7
- package/icons/world-flags/4x3/cn.svg +6 -6
- package/icons/world-flags/4x3/cu.svg +4 -4
- package/icons/world-flags/4x3/cv.svg +2 -2
- package/icons/world-flags/4x3/cw.svg +5 -5
- package/icons/world-flags/4x3/cx.svg +4 -4
- package/icons/world-flags/4x3/cy.svg +2 -2
- package/icons/world-flags/4x3/dg.svg +1 -0
- package/icons/world-flags/4x3/dj.svg +2 -2
- package/icons/world-flags/4x3/dm.svg +2 -2
- package/icons/world-flags/4x3/do.svg +121 -6743
- package/icons/world-flags/4x3/eac.svg +50 -0
- package/icons/world-flags/4x3/eg.svg +4 -4
- package/icons/world-flags/4x3/eh.svg +2 -2
- package/icons/world-flags/4x3/es-ga.svg +8 -8
- package/icons/world-flags/4x3/es-pv.svg +5 -0
- package/icons/world-flags/4x3/et.svg +2 -2
- package/icons/world-flags/4x3/eu.svg +17 -17
- package/icons/world-flags/4x3/fk.svg +28 -28
- package/icons/world-flags/4x3/fm.svg +2 -2
- package/icons/world-flags/4x3/fo.svg +2 -2
- package/icons/world-flags/4x3/fr.svg +3 -5
- package/icons/world-flags/4x3/gb-nir.svg +2 -2
- package/icons/world-flags/4x3/gd.svg +15 -15
- package/icons/world-flags/4x3/ge.svg +1 -1
- package/icons/world-flags/4x3/gf.svg +3 -5
- package/icons/world-flags/4x3/gg.svg +4 -4
- package/icons/world-flags/4x3/gi.svg +2 -2
- package/icons/world-flags/4x3/gm.svg +2 -2
- package/icons/world-flags/4x3/gp.svg +3 -5
- package/icons/world-flags/4x3/gs.svg +41 -41
- package/icons/world-flags/4x3/gt.svg +61 -77
- package/icons/world-flags/4x3/gw.svg +7 -7
- package/icons/world-flags/4x3/hk.svg +7 -29
- package/icons/world-flags/4x3/hn.svg +12 -12
- package/icons/world-flags/4x3/hr.svg +3 -3
- package/icons/world-flags/4x3/ht.svg +8 -8
- package/icons/world-flags/4x3/il.svg +2 -2
- package/icons/world-flags/4x3/im.svg +2 -2
- package/icons/world-flags/4x3/in.svg +9 -9
- package/icons/world-flags/4x3/io.svg +1 -0
- package/icons/world-flags/4x3/ir.svg +2 -2
- package/icons/world-flags/4x3/is.svg +2 -2
- package/icons/world-flags/4x3/je.svg +2 -2
- package/icons/world-flags/4x3/jo.svg +2 -2
- package/icons/world-flags/4x3/jp.svg +2 -2
- package/icons/world-flags/4x3/ke.svg +11 -11
- package/icons/world-flags/4x3/kg.svg +2 -2
- package/icons/world-flags/4x3/kh.svg +2 -2
- package/icons/world-flags/4x3/ki.svg +2 -2
- package/icons/world-flags/4x3/km.svg +2 -2
- package/icons/world-flags/4x3/kn.svg +2 -2
- package/icons/world-flags/4x3/kp.svg +2 -2
- package/icons/world-flags/4x3/kr.svg +6 -6
- package/icons/world-flags/4x3/kw.svg +2 -2
- package/icons/world-flags/4x3/ky.svg +44 -50
- package/icons/world-flags/4x3/kz.svg +31 -18
- package/icons/world-flags/4x3/la.svg +2 -2
- package/icons/world-flags/4x3/lb.svg +2 -2
- package/icons/world-flags/4x3/li.svg +2 -2
- package/icons/world-flags/4x3/lk.svg +6 -6
- package/icons/world-flags/4x3/lr.svg +2 -2
- package/icons/world-flags/4x3/ly.svg +2 -2
- package/icons/world-flags/4x3/mf.svg +3 -5
- package/icons/world-flags/4x3/mm.svg +5 -5
- package/icons/world-flags/4x3/mo.svg +2 -2
- package/icons/world-flags/4x3/mp.svg +2 -2
- package/icons/world-flags/4x3/mq.svg +3 -5
- package/icons/world-flags/4x3/mr.svg +1 -1
- package/icons/world-flags/4x3/ms.svg +10 -14
- package/icons/world-flags/4x3/mx.svg +7 -7
- package/icons/world-flags/4x3/my.svg +24 -5
- package/icons/world-flags/4x3/mz.svg +2 -2
- package/icons/world-flags/4x3/na.svg +2 -2
- package/icons/world-flags/4x3/ni.svg +59 -59
- package/icons/world-flags/4x3/np.svg +2 -3
- package/icons/world-flags/4x3/nr.svg +2 -2
- package/icons/world-flags/4x3/nz.svg +16 -16
- package/icons/world-flags/4x3/om.svg +2 -2
- package/icons/world-flags/4x3/pa.svg +2 -2
- package/icons/world-flags/4x3/pe.svg +23 -23
- package/icons/world-flags/4x3/pf.svg +2 -2
- package/icons/world-flags/4x3/pk.svg +2 -2
- package/icons/world-flags/4x3/pm.svg +3 -5
- package/icons/world-flags/4x3/pn.svg +15 -15
- package/icons/world-flags/4x3/pr.svg +2 -2
- package/icons/world-flags/4x3/ps.svg +2 -2
- package/icons/world-flags/4x3/pt.svg +17 -17
- package/icons/world-flags/4x3/pw.svg +2 -2
- package/icons/world-flags/4x3/re.svg +3 -5
- package/icons/world-flags/4x3/rs.svg +14 -14
- package/icons/world-flags/4x3/rw.svg +4 -4
- package/icons/world-flags/4x3/sa.svg +6 -7
- package/icons/world-flags/4x3/sb.svg +2 -2
- package/icons/world-flags/4x3/sd.svg +2 -2
- package/icons/world-flags/4x3/sg.svg +2 -2
- package/icons/world-flags/4x3/si.svg +2 -2
- package/icons/world-flags/4x3/so.svg +2 -2
- package/icons/world-flags/4x3/st.svg +9 -9
- package/icons/world-flags/4x3/sv.svg +6 -6
- package/icons/world-flags/4x3/sx.svg +2 -2
- package/icons/world-flags/4x3/sz.svg +8 -8
- package/icons/world-flags/4x3/tc.svg +12 -12
- package/icons/world-flags/4x3/tf.svg +6 -6
- package/icons/world-flags/4x3/tg.svg +2 -2
- package/icons/world-flags/4x3/tj.svg +11 -11
- package/icons/world-flags/4x3/tl.svg +2 -2
- package/icons/world-flags/4x3/tm.svg +3 -3
- package/icons/world-flags/4x3/tn.svg +2 -11
- package/icons/world-flags/4x3/tw.svg +2 -2
- package/icons/world-flags/4x3/tz.svg +2 -2
- package/icons/world-flags/4x3/ug.svg +2 -2
- package/icons/world-flags/4x3/um.svg +2 -2
- package/icons/world-flags/4x3/un.svg +2 -2
- package/icons/world-flags/4x3/us.svg +7 -8
- package/icons/world-flags/4x3/uy.svg +10 -10
- package/icons/world-flags/4x3/uz.svg +16 -16
- package/icons/world-flags/4x3/va.svg +179 -468
- package/icons/world-flags/4x3/ve.svg +14 -14
- package/icons/world-flags/4x3/vg.svg +21 -25
- package/icons/world-flags/4x3/vi.svg +2 -2
- package/icons/world-flags/4x3/vn.svg +2 -2
- package/icons/world-flags/4x3/vu.svg +4 -4
- package/icons/world-flags/4x3/wf.svg +3 -5
- package/icons/world-flags/4x3/xk.svg +1 -4
- package/icons/world-flags/4x3/xx.svg +1 -1
- package/icons/world-flags/4x3/yt.svg +3 -5
- package/icons/world-flags/4x3/za.svg +2 -2
- package/icons/world-flags/4x3/zm.svg +2 -2
- package/icons/world-flags/4x3/zw.svg +4 -4
- package/js/oe-bcl-joinup.bundle.js +31 -6
- package/js/oe-bcl-joinup.bundle.js.map +1 -1
- package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
- package/js/oe-bcl-joinup.esm.js +24 -0
- package/js/oe-bcl-joinup.esm.js.map +1 -1
- package/js/oe-bcl-joinup.esm.min.js.map +1 -1
- package/js/oe-bcl-joinup.umd.js +31 -155
- package/js/oe-bcl-joinup.umd.js.map +1 -1
- package/js/oe-bcl-joinup.umd.min.js +1 -1
- package/js/oe-bcl-joinup.umd.min.js.map +1 -1
- package/package.json +12 -12
- package/templates/bcl-badge/badge.html.twig +1 -1
- package/templates/bcl-card/card.html.twig +1 -1
- package/templates/bcl-carousel/carousel.html.twig +1 -1
- package/templates/bcl-date-block/date-block.html.twig +5 -5
- package/templates/bcl-featured-media/featured-media.html.twig +20 -5
- package/templates/bcl-form/form.html.twig +1 -1
- package/templates/bcl-gallery/gallery-item.html.twig +1 -1
- package/templates/bcl-link/link.html.twig +2 -2
- package/templates/bcl-placeholder/placeholder.html.twig +1 -1
- package/templates/bcl-subscription-block/subscription-block.html.twig +1 -1
package/js/oe-bcl-joinup.umd.js
CHANGED
|
@@ -279,6 +279,7 @@
|
|
|
279
279
|
* --------------------------------------------------------------------------
|
|
280
280
|
*/
|
|
281
281
|
|
|
282
|
+
|
|
282
283
|
/**
|
|
283
284
|
* Constants
|
|
284
285
|
*/
|
|
@@ -608,6 +609,7 @@
|
|
|
608
609
|
* --------------------------------------------------------------------------
|
|
609
610
|
*/
|
|
610
611
|
|
|
612
|
+
|
|
611
613
|
/**
|
|
612
614
|
* Class definition
|
|
613
615
|
*/
|
|
@@ -661,6 +663,7 @@
|
|
|
661
663
|
* --------------------------------------------------------------------------
|
|
662
664
|
*/
|
|
663
665
|
|
|
666
|
+
|
|
664
667
|
/**
|
|
665
668
|
* Constants
|
|
666
669
|
*/
|
|
@@ -728,6 +731,7 @@
|
|
|
728
731
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
729
732
|
* --------------------------------------------------------------------------
|
|
730
733
|
*/
|
|
734
|
+
|
|
731
735
|
const enableDismissTrigger = (component, method = 'hide') => {
|
|
732
736
|
const clickEvent = `click.dismiss${component.EVENT_KEY}`;
|
|
733
737
|
const name = component.NAME;
|
|
@@ -753,6 +757,7 @@
|
|
|
753
757
|
* --------------------------------------------------------------------------
|
|
754
758
|
*/
|
|
755
759
|
|
|
760
|
+
|
|
756
761
|
/**
|
|
757
762
|
* Constants
|
|
758
763
|
*/
|
|
@@ -827,6 +832,7 @@
|
|
|
827
832
|
* --------------------------------------------------------------------------
|
|
828
833
|
*/
|
|
829
834
|
|
|
835
|
+
|
|
830
836
|
/**
|
|
831
837
|
* Constants
|
|
832
838
|
*/
|
|
@@ -890,6 +896,7 @@
|
|
|
890
896
|
* --------------------------------------------------------------------------
|
|
891
897
|
*/
|
|
892
898
|
|
|
899
|
+
|
|
893
900
|
/**
|
|
894
901
|
* Constants
|
|
895
902
|
*/
|
|
@@ -947,6 +954,7 @@
|
|
|
947
954
|
* --------------------------------------------------------------------------
|
|
948
955
|
*/
|
|
949
956
|
|
|
957
|
+
|
|
950
958
|
/**
|
|
951
959
|
* Constants
|
|
952
960
|
*/
|
|
@@ -1066,6 +1074,7 @@
|
|
|
1066
1074
|
* --------------------------------------------------------------------------
|
|
1067
1075
|
*/
|
|
1068
1076
|
|
|
1077
|
+
|
|
1069
1078
|
/**
|
|
1070
1079
|
* Constants
|
|
1071
1080
|
*/
|
|
@@ -1438,6 +1447,7 @@
|
|
|
1438
1447
|
* --------------------------------------------------------------------------
|
|
1439
1448
|
*/
|
|
1440
1449
|
|
|
1450
|
+
|
|
1441
1451
|
/**
|
|
1442
1452
|
* Constants
|
|
1443
1453
|
*/
|
|
@@ -2074,15 +2084,7 @@
|
|
|
2074
2084
|
return;
|
|
2075
2085
|
}
|
|
2076
2086
|
}
|
|
2077
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2078
|
-
if (!isHTMLElement(arrowElement)) {
|
|
2079
|
-
console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
|
|
2080
|
-
}
|
|
2081
|
-
}
|
|
2082
2087
|
if (!contains(state.elements.popper, arrowElement)) {
|
|
2083
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2084
|
-
console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
|
|
2085
|
-
}
|
|
2086
2088
|
return;
|
|
2087
2089
|
}
|
|
2088
2090
|
state.elements.arrow = arrowElement;
|
|
@@ -2207,14 +2209,6 @@
|
|
|
2207
2209
|
adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
|
|
2208
2210
|
_options$roundOffsets = options.roundOffsets,
|
|
2209
2211
|
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
2210
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2211
|
-
var transitionProperty = getComputedStyle$1(state.elements.popper).transitionProperty || '';
|
|
2212
|
-
if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
|
|
2213
|
-
return transitionProperty.indexOf(property) >= 0;
|
|
2214
|
-
})) {
|
|
2215
|
-
console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));
|
|
2216
|
-
}
|
|
2217
|
-
}
|
|
2218
2212
|
var commonStyles = {
|
|
2219
2213
|
placement: getBasePlacement(state.placement),
|
|
2220
2214
|
variation: getVariation(state.placement),
|
|
@@ -2616,9 +2610,6 @@
|
|
|
2616
2610
|
});
|
|
2617
2611
|
if (allowedPlacements.length === 0) {
|
|
2618
2612
|
allowedPlacements = placements$1;
|
|
2619
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2620
|
-
console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
|
|
2621
|
-
}
|
|
2622
2613
|
} // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
|
|
2623
2614
|
|
|
2624
2615
|
var overflows = allowedPlacements.reduce(function (acc, placement) {
|
|
@@ -3111,90 +3102,6 @@
|
|
|
3111
3102
|
};
|
|
3112
3103
|
}
|
|
3113
3104
|
|
|
3114
|
-
function format(str) {
|
|
3115
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
3116
|
-
args[_key - 1] = arguments[_key];
|
|
3117
|
-
}
|
|
3118
|
-
return [].concat(args).reduce(function (p, c) {
|
|
3119
|
-
return p.replace(/%s/, c);
|
|
3120
|
-
}, str);
|
|
3121
|
-
}
|
|
3122
|
-
|
|
3123
|
-
var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s';
|
|
3124
|
-
var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available';
|
|
3125
|
-
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
3126
|
-
function validateModifiers(modifiers) {
|
|
3127
|
-
modifiers.forEach(function (modifier) {
|
|
3128
|
-
[].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
|
|
3129
|
-
.filter(function (value, index, self) {
|
|
3130
|
-
return self.indexOf(value) === index;
|
|
3131
|
-
}).forEach(function (key) {
|
|
3132
|
-
switch (key) {
|
|
3133
|
-
case 'name':
|
|
3134
|
-
if (typeof modifier.name !== 'string') {
|
|
3135
|
-
console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\""));
|
|
3136
|
-
}
|
|
3137
|
-
break;
|
|
3138
|
-
case 'enabled':
|
|
3139
|
-
if (typeof modifier.enabled !== 'boolean') {
|
|
3140
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
3141
|
-
}
|
|
3142
|
-
break;
|
|
3143
|
-
case 'phase':
|
|
3144
|
-
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
3145
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
3146
|
-
}
|
|
3147
|
-
break;
|
|
3148
|
-
case 'fn':
|
|
3149
|
-
if (typeof modifier.fn !== 'function') {
|
|
3150
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
3151
|
-
}
|
|
3152
|
-
break;
|
|
3153
|
-
case 'effect':
|
|
3154
|
-
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
3155
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
3156
|
-
}
|
|
3157
|
-
break;
|
|
3158
|
-
case 'requires':
|
|
3159
|
-
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
3160
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
3161
|
-
}
|
|
3162
|
-
break;
|
|
3163
|
-
case 'requiresIfExists':
|
|
3164
|
-
if (!Array.isArray(modifier.requiresIfExists)) {
|
|
3165
|
-
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\""));
|
|
3166
|
-
}
|
|
3167
|
-
break;
|
|
3168
|
-
case 'options':
|
|
3169
|
-
case 'data':
|
|
3170
|
-
break;
|
|
3171
|
-
default:
|
|
3172
|
-
console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) {
|
|
3173
|
-
return "\"" + s + "\"";
|
|
3174
|
-
}).join(', ') + "; but \"" + key + "\" was provided.");
|
|
3175
|
-
}
|
|
3176
|
-
modifier.requires && modifier.requires.forEach(function (requirement) {
|
|
3177
|
-
if (modifiers.find(function (mod) {
|
|
3178
|
-
return mod.name === requirement;
|
|
3179
|
-
}) == null) {
|
|
3180
|
-
console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));
|
|
3181
|
-
}
|
|
3182
|
-
});
|
|
3183
|
-
});
|
|
3184
|
-
});
|
|
3185
|
-
}
|
|
3186
|
-
|
|
3187
|
-
function uniqueBy(arr, fn) {
|
|
3188
|
-
var identifiers = new Set();
|
|
3189
|
-
return arr.filter(function (item) {
|
|
3190
|
-
var identifier = fn(item);
|
|
3191
|
-
if (!identifiers.has(identifier)) {
|
|
3192
|
-
identifiers.add(identifier);
|
|
3193
|
-
return true;
|
|
3194
|
-
}
|
|
3195
|
-
});
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
3105
|
function mergeByName(modifiers) {
|
|
3199
3106
|
var merged = modifiers.reduce(function (merged, current) {
|
|
3200
3107
|
var existing = merged[current.name];
|
|
@@ -3210,8 +3117,6 @@
|
|
|
3210
3117
|
});
|
|
3211
3118
|
}
|
|
3212
3119
|
|
|
3213
|
-
var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
|
|
3214
|
-
var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
|
|
3215
3120
|
var DEFAULT_OPTIONS = {
|
|
3216
3121
|
placement: 'bottom',
|
|
3217
3122
|
modifiers: [],
|
|
@@ -3268,37 +3173,7 @@
|
|
|
3268
3173
|
|
|
3269
3174
|
state.orderedModifiers = orderedModifiers.filter(function (m) {
|
|
3270
3175
|
return m.enabled;
|
|
3271
|
-
});
|
|
3272
|
-
// if one of the modifiers is invalid for any reason
|
|
3273
|
-
|
|
3274
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3275
|
-
var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
|
|
3276
|
-
var name = _ref.name;
|
|
3277
|
-
return name;
|
|
3278
|
-
});
|
|
3279
|
-
validateModifiers(modifiers);
|
|
3280
|
-
if (getBasePlacement(state.options.placement) === auto) {
|
|
3281
|
-
var flipModifier = state.orderedModifiers.find(function (_ref2) {
|
|
3282
|
-
var name = _ref2.name;
|
|
3283
|
-
return name === 'flip';
|
|
3284
|
-
});
|
|
3285
|
-
if (!flipModifier) {
|
|
3286
|
-
console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' '));
|
|
3287
|
-
}
|
|
3288
|
-
}
|
|
3289
|
-
var _getComputedStyle = getComputedStyle$1(popper),
|
|
3290
|
-
marginTop = _getComputedStyle.marginTop,
|
|
3291
|
-
marginRight = _getComputedStyle.marginRight,
|
|
3292
|
-
marginBottom = _getComputedStyle.marginBottom,
|
|
3293
|
-
marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can
|
|
3294
|
-
// cause bugs with positioning, so we'll warn the consumer
|
|
3295
|
-
|
|
3296
|
-
if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {
|
|
3297
|
-
return parseFloat(margin);
|
|
3298
|
-
})) {
|
|
3299
|
-
console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));
|
|
3300
|
-
}
|
|
3301
|
-
}
|
|
3176
|
+
});
|
|
3302
3177
|
runModifierEffects();
|
|
3303
3178
|
return instance.update();
|
|
3304
3179
|
},
|
|
@@ -3317,9 +3192,6 @@
|
|
|
3317
3192
|
// anymore
|
|
3318
3193
|
|
|
3319
3194
|
if (!areValidElements(reference, popper)) {
|
|
3320
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3321
|
-
console.error(INVALID_ELEMENT_ERROR);
|
|
3322
|
-
}
|
|
3323
3195
|
return;
|
|
3324
3196
|
} // Store the reference and popper rects to be read by modifiers
|
|
3325
3197
|
|
|
@@ -3341,15 +3213,7 @@
|
|
|
3341
3213
|
state.orderedModifiers.forEach(function (modifier) {
|
|
3342
3214
|
return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
|
|
3343
3215
|
});
|
|
3344
|
-
var __debug_loops__ = 0;
|
|
3345
3216
|
for (var index = 0; index < state.orderedModifiers.length; index++) {
|
|
3346
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3347
|
-
__debug_loops__ += 1;
|
|
3348
|
-
if (__debug_loops__ > 100) {
|
|
3349
|
-
console.error(INFINITE_LOOP_ERROR);
|
|
3350
|
-
break;
|
|
3351
|
-
}
|
|
3352
|
-
}
|
|
3353
3217
|
if (state.reset === true) {
|
|
3354
3218
|
state.reset = false;
|
|
3355
3219
|
index = -1;
|
|
@@ -3384,9 +3248,6 @@
|
|
|
3384
3248
|
}
|
|
3385
3249
|
};
|
|
3386
3250
|
if (!areValidElements(reference, popper)) {
|
|
3387
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3388
|
-
console.error(INVALID_ELEMENT_ERROR);
|
|
3389
|
-
}
|
|
3390
3251
|
return instance;
|
|
3391
3252
|
}
|
|
3392
3253
|
instance.setOptions(options).then(function (state) {
|
|
@@ -3400,11 +3261,11 @@
|
|
|
3400
3261
|
// one.
|
|
3401
3262
|
|
|
3402
3263
|
function runModifierEffects() {
|
|
3403
|
-
state.orderedModifiers.forEach(function (
|
|
3404
|
-
var name =
|
|
3405
|
-
|
|
3406
|
-
options =
|
|
3407
|
-
effect =
|
|
3264
|
+
state.orderedModifiers.forEach(function (_ref) {
|
|
3265
|
+
var name = _ref.name,
|
|
3266
|
+
_ref$options = _ref.options,
|
|
3267
|
+
options = _ref$options === void 0 ? {} : _ref$options,
|
|
3268
|
+
effect = _ref.effect;
|
|
3408
3269
|
if (typeof effect === 'function') {
|
|
3409
3270
|
var cleanupFn = effect({
|
|
3410
3271
|
state: state,
|
|
@@ -3487,6 +3348,7 @@
|
|
|
3487
3348
|
* --------------------------------------------------------------------------
|
|
3488
3349
|
*/
|
|
3489
3350
|
|
|
3351
|
+
|
|
3490
3352
|
/**
|
|
3491
3353
|
* Constants
|
|
3492
3354
|
*/
|
|
@@ -3854,6 +3716,7 @@
|
|
|
3854
3716
|
* --------------------------------------------------------------------------
|
|
3855
3717
|
*/
|
|
3856
3718
|
|
|
3719
|
+
|
|
3857
3720
|
/**
|
|
3858
3721
|
* ------------------------------------------------------------------------
|
|
3859
3722
|
* Constants
|
|
@@ -3984,6 +3847,7 @@
|
|
|
3984
3847
|
* --------------------------------------------------------------------------
|
|
3985
3848
|
*/
|
|
3986
3849
|
|
|
3850
|
+
|
|
3987
3851
|
/**
|
|
3988
3852
|
* Constants
|
|
3989
3853
|
*/
|
|
@@ -4081,6 +3945,7 @@
|
|
|
4081
3945
|
* --------------------------------------------------------------------------
|
|
4082
3946
|
*/
|
|
4083
3947
|
|
|
3948
|
+
|
|
4084
3949
|
/**
|
|
4085
3950
|
* Constants
|
|
4086
3951
|
*/
|
|
@@ -4205,6 +4070,7 @@
|
|
|
4205
4070
|
* --------------------------------------------------------------------------
|
|
4206
4071
|
*/
|
|
4207
4072
|
|
|
4073
|
+
|
|
4208
4074
|
/**
|
|
4209
4075
|
* Constants
|
|
4210
4076
|
*/
|
|
@@ -4303,6 +4169,7 @@
|
|
|
4303
4169
|
* --------------------------------------------------------------------------
|
|
4304
4170
|
*/
|
|
4305
4171
|
|
|
4172
|
+
|
|
4306
4173
|
/**
|
|
4307
4174
|
* Constants
|
|
4308
4175
|
*/
|
|
@@ -4609,6 +4476,7 @@
|
|
|
4609
4476
|
* --------------------------------------------------------------------------
|
|
4610
4477
|
*/
|
|
4611
4478
|
|
|
4479
|
+
|
|
4612
4480
|
/**
|
|
4613
4481
|
* Constants
|
|
4614
4482
|
*/
|
|
@@ -4934,6 +4802,7 @@
|
|
|
4934
4802
|
* --------------------------------------------------------------------------
|
|
4935
4803
|
*/
|
|
4936
4804
|
|
|
4805
|
+
|
|
4937
4806
|
/**
|
|
4938
4807
|
* Constants
|
|
4939
4808
|
*/
|
|
@@ -5069,6 +4938,7 @@
|
|
|
5069
4938
|
* --------------------------------------------------------------------------
|
|
5070
4939
|
*/
|
|
5071
4940
|
|
|
4941
|
+
|
|
5072
4942
|
/**
|
|
5073
4943
|
* Constants
|
|
5074
4944
|
*/
|
|
@@ -5580,6 +5450,7 @@
|
|
|
5580
5450
|
* --------------------------------------------------------------------------
|
|
5581
5451
|
*/
|
|
5582
5452
|
|
|
5453
|
+
|
|
5583
5454
|
/**
|
|
5584
5455
|
* Constants
|
|
5585
5456
|
*/
|
|
@@ -5660,6 +5531,7 @@
|
|
|
5660
5531
|
* --------------------------------------------------------------------------
|
|
5661
5532
|
*/
|
|
5662
5533
|
|
|
5534
|
+
|
|
5663
5535
|
/**
|
|
5664
5536
|
* Constants
|
|
5665
5537
|
*/
|
|
@@ -5981,6 +5853,7 @@
|
|
|
5981
5853
|
* --------------------------------------------------------------------------
|
|
5982
5854
|
*/
|
|
5983
5855
|
|
|
5856
|
+
|
|
5984
5857
|
/**
|
|
5985
5858
|
* ------------------------------------------------------------------------
|
|
5986
5859
|
* Constants
|
|
@@ -6187,6 +6060,7 @@
|
|
|
6187
6060
|
* --------------------------------------------------------------------------
|
|
6188
6061
|
*/
|
|
6189
6062
|
|
|
6063
|
+
|
|
6190
6064
|
/**
|
|
6191
6065
|
* Constants
|
|
6192
6066
|
*/
|
|
@@ -6448,6 +6322,7 @@
|
|
|
6448
6322
|
* --------------------------------------------------------------------------
|
|
6449
6323
|
*/
|
|
6450
6324
|
|
|
6325
|
+
|
|
6451
6326
|
/**
|
|
6452
6327
|
* Constants
|
|
6453
6328
|
*/
|
|
@@ -6630,6 +6505,7 @@
|
|
|
6630
6505
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6631
6506
|
* --------------------------------------------------------------------------
|
|
6632
6507
|
*/
|
|
6508
|
+
|
|
6633
6509
|
var index_umd = {
|
|
6634
6510
|
Alert,
|
|
6635
6511
|
Button,
|