@openeuropa/bcl-theme-joinup 1.1.1 → 1.2.1
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 +77 -82
- 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/bcl-default-icons-a8ea26d8.svg +1 -0
- package/icons/view/svg/sprite.view-a8ea26d8.svg +1 -0
- 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 -9
- 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 -3
- 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 -158
- 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-banner/banner.html.twig +23 -7
- 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/icons/world-flags/1x1/ea.svg +0 -547
- package/icons/world-flags/4x3/ea.svg +0 -544
package/js/oe-bcl-joinup.umd.js
CHANGED
|
@@ -176,7 +176,6 @@
|
|
|
176
176
|
const reflow = element => {
|
|
177
177
|
element.offsetHeight; // eslint-disable-line no-unused-expressions
|
|
178
178
|
};
|
|
179
|
-
|
|
180
179
|
const getjQuery = () => {
|
|
181
180
|
if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
|
|
182
181
|
return window.jQuery;
|
|
@@ -279,6 +278,7 @@
|
|
|
279
278
|
* --------------------------------------------------------------------------
|
|
280
279
|
*/
|
|
281
280
|
|
|
281
|
+
|
|
282
282
|
/**
|
|
283
283
|
* Constants
|
|
284
284
|
*/
|
|
@@ -608,6 +608,7 @@
|
|
|
608
608
|
* --------------------------------------------------------------------------
|
|
609
609
|
*/
|
|
610
610
|
|
|
611
|
+
|
|
611
612
|
/**
|
|
612
613
|
* Class definition
|
|
613
614
|
*/
|
|
@@ -661,6 +662,7 @@
|
|
|
661
662
|
* --------------------------------------------------------------------------
|
|
662
663
|
*/
|
|
663
664
|
|
|
665
|
+
|
|
664
666
|
/**
|
|
665
667
|
* Constants
|
|
666
668
|
*/
|
|
@@ -728,6 +730,7 @@
|
|
|
728
730
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
729
731
|
* --------------------------------------------------------------------------
|
|
730
732
|
*/
|
|
733
|
+
|
|
731
734
|
const enableDismissTrigger = (component, method = 'hide') => {
|
|
732
735
|
const clickEvent = `click.dismiss${component.EVENT_KEY}`;
|
|
733
736
|
const name = component.NAME;
|
|
@@ -753,6 +756,7 @@
|
|
|
753
756
|
* --------------------------------------------------------------------------
|
|
754
757
|
*/
|
|
755
758
|
|
|
759
|
+
|
|
756
760
|
/**
|
|
757
761
|
* Constants
|
|
758
762
|
*/
|
|
@@ -827,6 +831,7 @@
|
|
|
827
831
|
* --------------------------------------------------------------------------
|
|
828
832
|
*/
|
|
829
833
|
|
|
834
|
+
|
|
830
835
|
/**
|
|
831
836
|
* Constants
|
|
832
837
|
*/
|
|
@@ -890,6 +895,7 @@
|
|
|
890
895
|
* --------------------------------------------------------------------------
|
|
891
896
|
*/
|
|
892
897
|
|
|
898
|
+
|
|
893
899
|
/**
|
|
894
900
|
* Constants
|
|
895
901
|
*/
|
|
@@ -947,6 +953,7 @@
|
|
|
947
953
|
* --------------------------------------------------------------------------
|
|
948
954
|
*/
|
|
949
955
|
|
|
956
|
+
|
|
950
957
|
/**
|
|
951
958
|
* Constants
|
|
952
959
|
*/
|
|
@@ -1066,6 +1073,7 @@
|
|
|
1066
1073
|
* --------------------------------------------------------------------------
|
|
1067
1074
|
*/
|
|
1068
1075
|
|
|
1076
|
+
|
|
1069
1077
|
/**
|
|
1070
1078
|
* Constants
|
|
1071
1079
|
*/
|
|
@@ -1438,6 +1446,7 @@
|
|
|
1438
1446
|
* --------------------------------------------------------------------------
|
|
1439
1447
|
*/
|
|
1440
1448
|
|
|
1449
|
+
|
|
1441
1450
|
/**
|
|
1442
1451
|
* Constants
|
|
1443
1452
|
*/
|
|
@@ -2074,15 +2083,7 @@
|
|
|
2074
2083
|
return;
|
|
2075
2084
|
}
|
|
2076
2085
|
}
|
|
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
2086
|
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
2087
|
return;
|
|
2087
2088
|
}
|
|
2088
2089
|
state.elements.arrow = arrowElement;
|
|
@@ -2207,14 +2208,6 @@
|
|
|
2207
2208
|
adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
|
|
2208
2209
|
_options$roundOffsets = options.roundOffsets,
|
|
2209
2210
|
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
2211
|
var commonStyles = {
|
|
2219
2212
|
placement: getBasePlacement(state.placement),
|
|
2220
2213
|
variation: getVariation(state.placement),
|
|
@@ -2616,9 +2609,6 @@
|
|
|
2616
2609
|
});
|
|
2617
2610
|
if (allowedPlacements.length === 0) {
|
|
2618
2611
|
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
2612
|
} // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
|
|
2623
2613
|
|
|
2624
2614
|
var overflows = allowedPlacements.reduce(function (acc, placement) {
|
|
@@ -3111,90 +3101,6 @@
|
|
|
3111
3101
|
};
|
|
3112
3102
|
}
|
|
3113
3103
|
|
|
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
3104
|
function mergeByName(modifiers) {
|
|
3199
3105
|
var merged = modifiers.reduce(function (merged, current) {
|
|
3200
3106
|
var existing = merged[current.name];
|
|
@@ -3210,8 +3116,6 @@
|
|
|
3210
3116
|
});
|
|
3211
3117
|
}
|
|
3212
3118
|
|
|
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
3119
|
var DEFAULT_OPTIONS = {
|
|
3216
3120
|
placement: 'bottom',
|
|
3217
3121
|
modifiers: [],
|
|
@@ -3268,37 +3172,7 @@
|
|
|
3268
3172
|
|
|
3269
3173
|
state.orderedModifiers = orderedModifiers.filter(function (m) {
|
|
3270
3174
|
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
|
-
}
|
|
3175
|
+
});
|
|
3302
3176
|
runModifierEffects();
|
|
3303
3177
|
return instance.update();
|
|
3304
3178
|
},
|
|
@@ -3317,9 +3191,6 @@
|
|
|
3317
3191
|
// anymore
|
|
3318
3192
|
|
|
3319
3193
|
if (!areValidElements(reference, popper)) {
|
|
3320
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3321
|
-
console.error(INVALID_ELEMENT_ERROR);
|
|
3322
|
-
}
|
|
3323
3194
|
return;
|
|
3324
3195
|
} // Store the reference and popper rects to be read by modifiers
|
|
3325
3196
|
|
|
@@ -3341,15 +3212,7 @@
|
|
|
3341
3212
|
state.orderedModifiers.forEach(function (modifier) {
|
|
3342
3213
|
return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
|
|
3343
3214
|
});
|
|
3344
|
-
var __debug_loops__ = 0;
|
|
3345
3215
|
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
3216
|
if (state.reset === true) {
|
|
3354
3217
|
state.reset = false;
|
|
3355
3218
|
index = -1;
|
|
@@ -3384,9 +3247,6 @@
|
|
|
3384
3247
|
}
|
|
3385
3248
|
};
|
|
3386
3249
|
if (!areValidElements(reference, popper)) {
|
|
3387
|
-
if (process.env.NODE_ENV !== "production") {
|
|
3388
|
-
console.error(INVALID_ELEMENT_ERROR);
|
|
3389
|
-
}
|
|
3390
3250
|
return instance;
|
|
3391
3251
|
}
|
|
3392
3252
|
instance.setOptions(options).then(function (state) {
|
|
@@ -3400,11 +3260,11 @@
|
|
|
3400
3260
|
// one.
|
|
3401
3261
|
|
|
3402
3262
|
function runModifierEffects() {
|
|
3403
|
-
state.orderedModifiers.forEach(function (
|
|
3404
|
-
var name =
|
|
3405
|
-
|
|
3406
|
-
options =
|
|
3407
|
-
effect =
|
|
3263
|
+
state.orderedModifiers.forEach(function (_ref) {
|
|
3264
|
+
var name = _ref.name,
|
|
3265
|
+
_ref$options = _ref.options,
|
|
3266
|
+
options = _ref$options === void 0 ? {} : _ref$options,
|
|
3267
|
+
effect = _ref.effect;
|
|
3408
3268
|
if (typeof effect === 'function') {
|
|
3409
3269
|
var cleanupFn = effect({
|
|
3410
3270
|
state: state,
|
|
@@ -3487,6 +3347,7 @@
|
|
|
3487
3347
|
* --------------------------------------------------------------------------
|
|
3488
3348
|
*/
|
|
3489
3349
|
|
|
3350
|
+
|
|
3490
3351
|
/**
|
|
3491
3352
|
* Constants
|
|
3492
3353
|
*/
|
|
@@ -3854,6 +3715,7 @@
|
|
|
3854
3715
|
* --------------------------------------------------------------------------
|
|
3855
3716
|
*/
|
|
3856
3717
|
|
|
3718
|
+
|
|
3857
3719
|
/**
|
|
3858
3720
|
* ------------------------------------------------------------------------
|
|
3859
3721
|
* Constants
|
|
@@ -3984,6 +3846,7 @@
|
|
|
3984
3846
|
* --------------------------------------------------------------------------
|
|
3985
3847
|
*/
|
|
3986
3848
|
|
|
3849
|
+
|
|
3987
3850
|
/**
|
|
3988
3851
|
* Constants
|
|
3989
3852
|
*/
|
|
@@ -4081,6 +3944,7 @@
|
|
|
4081
3944
|
* --------------------------------------------------------------------------
|
|
4082
3945
|
*/
|
|
4083
3946
|
|
|
3947
|
+
|
|
4084
3948
|
/**
|
|
4085
3949
|
* Constants
|
|
4086
3950
|
*/
|
|
@@ -4097,7 +3961,6 @@
|
|
|
4097
3961
|
// if false, we use the backdrop helper without adding any element to the dom
|
|
4098
3962
|
rootElement: 'body' // give the choice to place backdrop under different elements
|
|
4099
3963
|
};
|
|
4100
|
-
|
|
4101
3964
|
const DefaultType$8 = {
|
|
4102
3965
|
className: 'string',
|
|
4103
3966
|
clickCallback: '(function|null)',
|
|
@@ -4205,6 +4068,7 @@
|
|
|
4205
4068
|
* --------------------------------------------------------------------------
|
|
4206
4069
|
*/
|
|
4207
4070
|
|
|
4071
|
+
|
|
4208
4072
|
/**
|
|
4209
4073
|
* Constants
|
|
4210
4074
|
*/
|
|
@@ -4221,7 +4085,6 @@
|
|
|
4221
4085
|
autofocus: true,
|
|
4222
4086
|
trapElement: null // The element to trap focus inside of
|
|
4223
4087
|
};
|
|
4224
|
-
|
|
4225
4088
|
const DefaultType$7 = {
|
|
4226
4089
|
autofocus: 'boolean',
|
|
4227
4090
|
trapElement: 'element'
|
|
@@ -4303,6 +4166,7 @@
|
|
|
4303
4166
|
* --------------------------------------------------------------------------
|
|
4304
4167
|
*/
|
|
4305
4168
|
|
|
4169
|
+
|
|
4306
4170
|
/**
|
|
4307
4171
|
* Constants
|
|
4308
4172
|
*/
|
|
@@ -4609,6 +4473,7 @@
|
|
|
4609
4473
|
* --------------------------------------------------------------------------
|
|
4610
4474
|
*/
|
|
4611
4475
|
|
|
4476
|
+
|
|
4612
4477
|
/**
|
|
4613
4478
|
* Constants
|
|
4614
4479
|
*/
|
|
@@ -4934,6 +4799,7 @@
|
|
|
4934
4799
|
* --------------------------------------------------------------------------
|
|
4935
4800
|
*/
|
|
4936
4801
|
|
|
4802
|
+
|
|
4937
4803
|
/**
|
|
4938
4804
|
* Constants
|
|
4939
4805
|
*/
|
|
@@ -5069,6 +4935,7 @@
|
|
|
5069
4935
|
* --------------------------------------------------------------------------
|
|
5070
4936
|
*/
|
|
5071
4937
|
|
|
4938
|
+
|
|
5072
4939
|
/**
|
|
5073
4940
|
* Constants
|
|
5074
4941
|
*/
|
|
@@ -5580,6 +5447,7 @@
|
|
|
5580
5447
|
* --------------------------------------------------------------------------
|
|
5581
5448
|
*/
|
|
5582
5449
|
|
|
5450
|
+
|
|
5583
5451
|
/**
|
|
5584
5452
|
* Constants
|
|
5585
5453
|
*/
|
|
@@ -5660,6 +5528,7 @@
|
|
|
5660
5528
|
* --------------------------------------------------------------------------
|
|
5661
5529
|
*/
|
|
5662
5530
|
|
|
5531
|
+
|
|
5663
5532
|
/**
|
|
5664
5533
|
* Constants
|
|
5665
5534
|
*/
|
|
@@ -5981,6 +5850,7 @@
|
|
|
5981
5850
|
* --------------------------------------------------------------------------
|
|
5982
5851
|
*/
|
|
5983
5852
|
|
|
5853
|
+
|
|
5984
5854
|
/**
|
|
5985
5855
|
* ------------------------------------------------------------------------
|
|
5986
5856
|
* Constants
|
|
@@ -6187,6 +6057,7 @@
|
|
|
6187
6057
|
* --------------------------------------------------------------------------
|
|
6188
6058
|
*/
|
|
6189
6059
|
|
|
6060
|
+
|
|
6190
6061
|
/**
|
|
6191
6062
|
* Constants
|
|
6192
6063
|
*/
|
|
@@ -6448,6 +6319,7 @@
|
|
|
6448
6319
|
* --------------------------------------------------------------------------
|
|
6449
6320
|
*/
|
|
6450
6321
|
|
|
6322
|
+
|
|
6451
6323
|
/**
|
|
6452
6324
|
* Constants
|
|
6453
6325
|
*/
|
|
@@ -6630,6 +6502,7 @@
|
|
|
6630
6502
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6631
6503
|
* --------------------------------------------------------------------------
|
|
6632
6504
|
*/
|
|
6505
|
+
|
|
6633
6506
|
var index_umd = {
|
|
6634
6507
|
Alert,
|
|
6635
6508
|
Button,
|