@adminforth/i18n 1.0.23-next.2 → 1.1.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/.woodpecker/buildRelease.sh +13 -0
- package/.woodpecker/buildSlackNotify.sh +42 -0
- package/.woodpecker/release.yml +45 -0
- package/Changelog.md +4 -0
- package/{custom/node_modules/flag-icon-css/LICENSE → LICENSE} +8 -8
- package/build.log +15 -0
- package/dist/index.js +27 -13
- package/index.ts +21 -5
- package/package.json +30 -2
- package/custom/node_modules/.package-lock.json +0 -16
- package/custom/node_modules/flag-icon-css/.github/dependabot.yml +0 -8
- package/custom/node_modules/flag-icon-css/.github/workflows/test.yml +0 -17
- package/custom/node_modules/flag-icon-css/.prettierignore +0 -3
- package/custom/node_modules/flag-icon-css/.prettierrc.json +0 -20
- package/custom/node_modules/flag-icon-css/404.html +0 -6
- package/custom/node_modules/flag-icon-css/CNAME +0 -1
- package/custom/node_modules/flag-icon-css/README.md +0 -54
- package/custom/node_modules/flag-icon-css/assets/docs.css +0 -58
- package/custom/node_modules/flag-icon-css/assets/docs.js +0 -64
- package/custom/node_modules/flag-icon-css/country.json +0 -1857
- package/custom/node_modules/flag-icon-css/css/flag-icons.css +0 -1610
- package/custom/node_modules/flag-icon-css/css/flag-icons.min.css +0 -1
- package/custom/node_modules/flag-icon-css/favicon.ico +0 -0
- package/custom/node_modules/flag-icon-css/flags/1x1/ac.svg +0 -81
- package/custom/node_modules/flag-icon-css/flags/1x1/ad.svg +0 -148
- package/custom/node_modules/flag-icon-css/flags/1x1/ae.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/af.svg +0 -81
- package/custom/node_modules/flag-icon-css/flags/1x1/ag.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/ai.svg +0 -763
- package/custom/node_modules/flag-icon-css/flags/1x1/al.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/am.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/ao.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/aq.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/ar.svg +0 -31
- package/custom/node_modules/flag-icon-css/flags/1x1/as.svg +0 -33
- package/custom/node_modules/flag-icon-css/flags/1x1/at.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/au.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/aw.svg +0 -186
- package/custom/node_modules/flag-icon-css/flags/1x1/ax.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/1x1/az.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/ba.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/bb.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/bd.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/be.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/bf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/bg.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/bh.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/bi.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/bj.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/bl.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/bm.svg +0 -99
- package/custom/node_modules/flag-icon-css/flags/1x1/bn.svg +0 -36
- package/custom/node_modules/flag-icon-css/flags/1x1/bo.svg +0 -678
- package/custom/node_modules/flag-icon-css/flags/1x1/bq.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/br.svg +0 -45
- package/custom/node_modules/flag-icon-css/flags/1x1/bs.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/bt.svg +0 -89
- package/custom/node_modules/flag-icon-css/flags/1x1/bv.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/bw.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/by.svg +0 -22
- package/custom/node_modules/flag-icon-css/flags/1x1/bz.svg +0 -145
- package/custom/node_modules/flag-icon-css/flags/1x1/ca.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/cc.svg +0 -19
- package/custom/node_modules/flag-icon-css/flags/1x1/cd.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/cf.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/cg.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/ch.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/ci.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/ck.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/cl.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/cm.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/cn.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/co.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/cp.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/cr.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/cu.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/cv.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/cw.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/cx.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/cy.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/cz.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/de.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/dg.svg +0 -140
- package/custom/node_modules/flag-icon-css/flags/1x1/dj.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/dk.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/dm.svg +0 -152
- package/custom/node_modules/flag-icon-css/flags/1x1/do.svg +0 -6745
- package/custom/node_modules/flag-icon-css/flags/1x1/dz.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/ea.svg +0 -547
- package/custom/node_modules/flag-icon-css/flags/1x1/ec.svg +0 -138
- package/custom/node_modules/flag-icon-css/flags/1x1/ee.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/eg.svg +0 -38
- package/custom/node_modules/flag-icon-css/flags/1x1/eh.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/er.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/es-ct.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/es-ga.svg +0 -189
- package/custom/node_modules/flag-icon-css/flags/1x1/es.svg +0 -547
- package/custom/node_modules/flag-icon-css/flags/1x1/et.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/eu.svg +0 -28
- package/custom/node_modules/flag-icon-css/flags/1x1/fi.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/fj.svg +0 -125
- package/custom/node_modules/flag-icon-css/flags/1x1/fk.svg +0 -93
- package/custom/node_modules/flag-icon-css/flags/1x1/fm.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/fo.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/fr.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/ga.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/gb-eng.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/gb-nir.svg +0 -131
- package/custom/node_modules/flag-icon-css/flags/1x1/gb-sct.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/gb-wls.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/gb.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/gd.svg +0 -27
- package/custom/node_modules/flag-icon-css/flags/1x1/ge.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/gf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/gg.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/gh.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/gi.svg +0 -32
- package/custom/node_modules/flag-icon-css/flags/1x1/gl.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/gm.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/gn.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/gp.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/gq.svg +0 -23
- package/custom/node_modules/flag-icon-css/flags/1x1/gr.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/gs.svg +0 -245
- package/custom/node_modules/flag-icon-css/flags/1x1/gt.svg +0 -204
- package/custom/node_modules/flag-icon-css/flags/1x1/gu.svg +0 -39
- package/custom/node_modules/flag-icon-css/flags/1x1/gw.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/gy.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/hk.svg +0 -30
- package/custom/node_modules/flag-icon-css/flags/1x1/hm.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/hn.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/1x1/hr.svg +0 -56
- package/custom/node_modules/flag-icon-css/flags/1x1/ht.svg +0 -116
- package/custom/node_modules/flag-icon-css/flags/1x1/hu.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/ic.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/id.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/ie.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/il.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/im.svg +0 -36
- package/custom/node_modules/flag-icon-css/flags/1x1/in.svg +0 -25
- package/custom/node_modules/flag-icon-css/flags/1x1/io.svg +0 -140
- package/custom/node_modules/flag-icon-css/flags/1x1/iq.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/1x1/ir.svg +0 -219
- package/custom/node_modules/flag-icon-css/flags/1x1/is.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/it.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/je.svg +0 -47
- package/custom/node_modules/flag-icon-css/flags/1x1/jm.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/jo.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/jp.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/ke.svg +0 -23
- package/custom/node_modules/flag-icon-css/flags/1x1/kg.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/kh.svg +0 -61
- package/custom/node_modules/flag-icon-css/flags/1x1/ki.svg +0 -36
- package/custom/node_modules/flag-icon-css/flags/1x1/km.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/kn.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/kp.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/kr.svg +0 -24
- package/custom/node_modules/flag-icon-css/flags/1x1/kw.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/ky.svg +0 -225
- package/custom/node_modules/flag-icon-css/flags/1x1/kz.svg +0 -23
- package/custom/node_modules/flag-icon-css/flags/1x1/la.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/lb.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/lc.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/li.svg +0 -43
- package/custom/node_modules/flag-icon-css/flags/1x1/lk.svg +0 -22
- package/custom/node_modules/flag-icon-css/flags/1x1/lr.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/ls.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/lt.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/lu.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/lv.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/ly.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/ma.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/mc.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/md.svg +0 -71
- package/custom/node_modules/flag-icon-css/flags/1x1/me.svg +0 -118
- package/custom/node_modules/flag-icon-css/flags/1x1/mf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/mg.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/mh.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/mk.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/ml.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/mm.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/mn.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/mo.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/mp.svg +0 -86
- package/custom/node_modules/flag-icon-css/flags/1x1/mq.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/mr.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/ms.svg +0 -70
- package/custom/node_modules/flag-icon-css/flags/1x1/mt.svg +0 -50
- package/custom/node_modules/flag-icon-css/flags/1x1/mu.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/mv.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/mw.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/mx.svg +0 -378
- package/custom/node_modules/flag-icon-css/flags/1x1/my.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/mz.svg +0 -21
- package/custom/node_modules/flag-icon-css/flags/1x1/na.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/nc.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/ne.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/nf.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/ng.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/ni.svg +0 -129
- package/custom/node_modules/flag-icon-css/flags/1x1/nl.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/no.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/np.svg +0 -19
- package/custom/node_modules/flag-icon-css/flags/1x1/nr.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/nu.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/1x1/nz.svg +0 -42
- package/custom/node_modules/flag-icon-css/flags/1x1/om.svg +0 -115
- package/custom/node_modules/flag-icon-css/flags/1x1/pa.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/pe.svg +0 -244
- package/custom/node_modules/flag-icon-css/flags/1x1/pf.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/1x1/pg.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/ph.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/pk.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/pl.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/pm.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/pn.svg +0 -100
- package/custom/node_modules/flag-icon-css/flags/1x1/pr.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/ps.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/pt.svg +0 -57
- package/custom/node_modules/flag-icon-css/flags/1x1/pw.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/py.svg +0 -156
- package/custom/node_modules/flag-icon-css/flags/1x1/qa.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/1x1/re.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/ro.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/rs.svg +0 -296
- package/custom/node_modules/flag-icon-css/flags/1x1/ru.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/rw.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/sa.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/1x1/sb.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/sc.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/sd.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/se.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/sg.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/sh.svg +0 -81
- package/custom/node_modules/flag-icon-css/flags/1x1/si.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/1x1/sj.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/sk.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/1x1/sl.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/1x1/sm.svg +0 -89
- package/custom/node_modules/flag-icon-css/flags/1x1/sn.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/so.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/sr.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/ss.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/st.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/sv.svg +0 -594
- package/custom/node_modules/flag-icon-css/flags/1x1/sx.svg +0 -56
- package/custom/node_modules/flag-icon-css/flags/1x1/sy.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/sz.svg +0 -45
- package/custom/node_modules/flag-icon-css/flags/1x1/ta.svg +0 -81
- package/custom/node_modules/flag-icon-css/flags/1x1/tc.svg +0 -52
- package/custom/node_modules/flag-icon-css/flags/1x1/td.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/tf.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/tg.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/1x1/th.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/tj.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/1x1/tk.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/tl.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/tm.svg +0 -203
- package/custom/node_modules/flag-icon-css/flags/1x1/tn.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/1x1/to.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/1x1/tr.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/tt.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/tv.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/tw.svg +0 -32
- package/custom/node_modules/flag-icon-css/flags/1x1/tz.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/ua.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/1x1/ug.svg +0 -30
- package/custom/node_modules/flag-icon-css/flags/1x1/um.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/1x1/un.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/us.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/1x1/uy.svg +0 -28
- package/custom/node_modules/flag-icon-css/flags/1x1/uz.svg +0 -30
- package/custom/node_modules/flag-icon-css/flags/1x1/va.svg +0 -479
- package/custom/node_modules/flag-icon-css/flags/1x1/vc.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/1x1/ve.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/1x1/vg.svg +0 -127
- package/custom/node_modules/flag-icon-css/flags/1x1/vi.svg +0 -28
- package/custom/node_modules/flag-icon-css/flags/1x1/vn.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/1x1/vu.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/1x1/wf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/ws.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/xk.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/1x1/xx.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/1x1/ye.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/yt.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/1x1/za.svg +0 -17
- package/custom/node_modules/flag-icon-css/flags/1x1/zm.svg +0 -27
- package/custom/node_modules/flag-icon-css/flags/1x1/zw.svg +0 -21
- package/custom/node_modules/flag-icon-css/flags/4x3/ac.svg +0 -76
- package/custom/node_modules/flag-icon-css/flags/4x3/ad.svg +0 -150
- package/custom/node_modules/flag-icon-css/flags/4x3/ae.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/af.svg +0 -81
- package/custom/node_modules/flag-icon-css/flags/4x3/ag.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/ai.svg +0 -763
- package/custom/node_modules/flag-icon-css/flags/4x3/al.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/am.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/ao.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/aq.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/ar.svg +0 -31
- package/custom/node_modules/flag-icon-css/flags/4x3/as.svg +0 -33
- package/custom/node_modules/flag-icon-css/flags/4x3/at.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/au.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/aw.svg +0 -186
- package/custom/node_modules/flag-icon-css/flags/4x3/ax.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/4x3/az.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/ba.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/4x3/bb.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/bd.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/be.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/bf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/bg.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/bh.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/bi.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/bj.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/bl.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/bm.svg +0 -99
- package/custom/node_modules/flag-icon-css/flags/4x3/bn.svg +0 -36
- package/custom/node_modules/flag-icon-css/flags/4x3/bo.svg +0 -676
- package/custom/node_modules/flag-icon-css/flags/4x3/bq.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/br.svg +0 -45
- package/custom/node_modules/flag-icon-css/flags/4x3/bs.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/bt.svg +0 -89
- package/custom/node_modules/flag-icon-css/flags/4x3/bv.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/bw.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/by.svg +0 -20
- package/custom/node_modules/flag-icon-css/flags/4x3/bz.svg +0 -145
- package/custom/node_modules/flag-icon-css/flags/4x3/ca.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/cc.svg +0 -19
- package/custom/node_modules/flag-icon-css/flags/4x3/cd.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/cf.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/cg.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/4x3/ch.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/ci.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/ck.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/cl.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/cm.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/cn.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/co.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/cp.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/cr.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/cu.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/cv.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/cw.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/cx.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/cy.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/cz.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/de.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/dg.svg +0 -138
- package/custom/node_modules/flag-icon-css/flags/4x3/dj.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/dk.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/dm.svg +0 -152
- package/custom/node_modules/flag-icon-css/flags/4x3/do.svg +0 -6745
- package/custom/node_modules/flag-icon-css/flags/4x3/dz.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/ea.svg +0 -544
- package/custom/node_modules/flag-icon-css/flags/4x3/ec.svg +0 -138
- package/custom/node_modules/flag-icon-css/flags/4x3/ee.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/eg.svg +0 -38
- package/custom/node_modules/flag-icon-css/flags/4x3/eh.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/er.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/es-ct.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/es-ga.svg +0 -189
- package/custom/node_modules/flag-icon-css/flags/4x3/es.svg +0 -544
- package/custom/node_modules/flag-icon-css/flags/4x3/et.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/eu.svg +0 -28
- package/custom/node_modules/flag-icon-css/flags/4x3/fi.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/fj.svg +0 -122
- package/custom/node_modules/flag-icon-css/flags/4x3/fk.svg +0 -90
- package/custom/node_modules/flag-icon-css/flags/4x3/fm.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/fo.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/4x3/fr.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/ga.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/gb-eng.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/gb-nir.svg +0 -132
- package/custom/node_modules/flag-icon-css/flags/4x3/gb-sct.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/gb-wls.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/gb.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/gd.svg +0 -27
- package/custom/node_modules/flag-icon-css/flags/4x3/ge.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/gf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/gg.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/gh.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/gi.svg +0 -32
- package/custom/node_modules/flag-icon-css/flags/4x3/gl.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/gm.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/gn.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/gp.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/gq.svg +0 -23
- package/custom/node_modules/flag-icon-css/flags/4x3/gr.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/gs.svg +0 -242
- package/custom/node_modules/flag-icon-css/flags/4x3/gt.svg +0 -204
- package/custom/node_modules/flag-icon-css/flags/4x3/gu.svg +0 -39
- package/custom/node_modules/flag-icon-css/flags/4x3/gw.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/gy.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/hk.svg +0 -30
- package/custom/node_modules/flag-icon-css/flags/4x3/hm.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/hn.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/4x3/hr.svg +0 -58
- package/custom/node_modules/flag-icon-css/flags/4x3/ht.svg +0 -116
- package/custom/node_modules/flag-icon-css/flags/4x3/hu.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/ic.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/id.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/ie.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/il.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/im.svg +0 -36
- package/custom/node_modules/flag-icon-css/flags/4x3/in.svg +0 -25
- package/custom/node_modules/flag-icon-css/flags/4x3/io.svg +0 -138
- package/custom/node_modules/flag-icon-css/flags/4x3/iq.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/4x3/ir.svg +0 -219
- package/custom/node_modules/flag-icon-css/flags/4x3/is.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/4x3/it.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/je.svg +0 -47
- package/custom/node_modules/flag-icon-css/flags/4x3/jm.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/jo.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/jp.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/ke.svg +0 -23
- package/custom/node_modules/flag-icon-css/flags/4x3/kg.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/kh.svg +0 -61
- package/custom/node_modules/flag-icon-css/flags/4x3/ki.svg +0 -36
- package/custom/node_modules/flag-icon-css/flags/4x3/km.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/kn.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/kp.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/kr.svg +0 -24
- package/custom/node_modules/flag-icon-css/flags/4x3/kw.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/ky.svg +0 -225
- package/custom/node_modules/flag-icon-css/flags/4x3/kz.svg +0 -23
- package/custom/node_modules/flag-icon-css/flags/4x3/la.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/4x3/lb.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/lc.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/li.svg +0 -43
- package/custom/node_modules/flag-icon-css/flags/4x3/lk.svg +0 -22
- package/custom/node_modules/flag-icon-css/flags/4x3/lr.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/ls.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/lt.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/lu.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/lv.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/ly.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/ma.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/mc.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/md.svg +0 -70
- package/custom/node_modules/flag-icon-css/flags/4x3/me.svg +0 -116
- package/custom/node_modules/flag-icon-css/flags/4x3/mf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/mg.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/mh.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/mk.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/ml.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/mm.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/mn.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/mo.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/mp.svg +0 -86
- package/custom/node_modules/flag-icon-css/flags/4x3/mq.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/mr.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/ms.svg +0 -78
- package/custom/node_modules/flag-icon-css/flags/4x3/mt.svg +0 -49
- package/custom/node_modules/flag-icon-css/flags/4x3/mu.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/mv.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/mw.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/4x3/mx.svg +0 -382
- package/custom/node_modules/flag-icon-css/flags/4x3/my.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/mz.svg +0 -21
- package/custom/node_modules/flag-icon-css/flags/4x3/na.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/nc.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/ne.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/nf.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/ng.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/ni.svg +0 -129
- package/custom/node_modules/flag-icon-css/flags/4x3/nl.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/no.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/np.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/nr.svg +0 -12
- package/custom/node_modules/flag-icon-css/flags/4x3/nu.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/4x3/nz.svg +0 -42
- package/custom/node_modules/flag-icon-css/flags/4x3/om.svg +0 -115
- package/custom/node_modules/flag-icon-css/flags/4x3/pa.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/pe.svg +0 -244
- package/custom/node_modules/flag-icon-css/flags/4x3/pf.svg +0 -19
- package/custom/node_modules/flag-icon-css/flags/4x3/pg.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/ph.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/pk.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/pl.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/pm.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/pn.svg +0 -97
- package/custom/node_modules/flag-icon-css/flags/4x3/pr.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/ps.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/pt.svg +0 -57
- package/custom/node_modules/flag-icon-css/flags/4x3/pw.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/py.svg +0 -157
- package/custom/node_modules/flag-icon-css/flags/4x3/qa.svg +0 -4
- package/custom/node_modules/flag-icon-css/flags/4x3/re.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/ro.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/rs.svg +0 -292
- package/custom/node_modules/flag-icon-css/flags/4x3/ru.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/rw.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/sa.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/4x3/sb.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/sc.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/sd.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/se.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/sg.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/sh.svg +0 -76
- package/custom/node_modules/flag-icon-css/flags/4x3/si.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/4x3/sj.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/sk.svg +0 -9
- package/custom/node_modules/flag-icon-css/flags/4x3/sl.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/sm.svg +0 -91
- package/custom/node_modules/flag-icon-css/flags/4x3/sn.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/so.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/sr.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/ss.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/st.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/sv.svg +0 -594
- package/custom/node_modules/flag-icon-css/flags/4x3/sx.svg +0 -56
- package/custom/node_modules/flag-icon-css/flags/4x3/sy.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/sz.svg +0 -45
- package/custom/node_modules/flag-icon-css/flags/4x3/ta.svg +0 -76
- package/custom/node_modules/flag-icon-css/flags/4x3/tc.svg +0 -52
- package/custom/node_modules/flag-icon-css/flags/4x3/td.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/tf.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/tg.svg +0 -14
- package/custom/node_modules/flag-icon-css/flags/4x3/th.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/tj.svg +0 -22
- package/custom/node_modules/flag-icon-css/flags/4x3/tk.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/tl.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/tm.svg +0 -206
- package/custom/node_modules/flag-icon-css/flags/4x3/tn.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/to.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/4x3/tr.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/tt.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/tv.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/tw.svg +0 -34
- package/custom/node_modules/flag-icon-css/flags/4x3/tz.svg +0 -13
- package/custom/node_modules/flag-icon-css/flags/4x3/ua.svg +0 -6
- package/custom/node_modules/flag-icon-css/flags/4x3/ug.svg +0 -30
- package/custom/node_modules/flag-icon-css/flags/4x3/um.svg +0 -15
- package/custom/node_modules/flag-icon-css/flags/4x3/un.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/us.svg +0 -10
- package/custom/node_modules/flag-icon-css/flags/4x3/uy.svg +0 -28
- package/custom/node_modules/flag-icon-css/flags/4x3/uz.svg +0 -30
- package/custom/node_modules/flag-icon-css/flags/4x3/va.svg +0 -479
- package/custom/node_modules/flag-icon-css/flags/4x3/vc.svg +0 -8
- package/custom/node_modules/flag-icon-css/flags/4x3/ve.svg +0 -26
- package/custom/node_modules/flag-icon-css/flags/4x3/vg.svg +0 -127
- package/custom/node_modules/flag-icon-css/flags/4x3/vi.svg +0 -28
- package/custom/node_modules/flag-icon-css/flags/4x3/vn.svg +0 -11
- package/custom/node_modules/flag-icon-css/flags/4x3/vu.svg +0 -18
- package/custom/node_modules/flag-icon-css/flags/4x3/wf.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/ws.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/xk.svg +0 -16
- package/custom/node_modules/flag-icon-css/flags/4x3/xx.svg +0 -5
- package/custom/node_modules/flag-icon-css/flags/4x3/ye.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/yt.svg +0 -7
- package/custom/node_modules/flag-icon-css/flags/4x3/za.svg +0 -17
- package/custom/node_modules/flag-icon-css/flags/4x3/zm.svg +0 -27
- package/custom/node_modules/flag-icon-css/flags/4x3/zw.svg +0 -21
- package/custom/node_modules/flag-icon-css/flags.py +0 -37
- package/custom/node_modules/flag-icon-css/index.html +0 -68
- package/custom/node_modules/flag-icon-css/less/flag-icons-base.less +0 -28
- package/custom/node_modules/flag-icon-css/less/flag-icons-list.less +0 -249
- package/custom/node_modules/flag-icon-css/less/flag-icons-more.less +0 -16
- package/custom/node_modules/flag-icon-css/less/flag-icons.less +0 -4
- package/custom/node_modules/flag-icon-css/less/variables.less +0 -3
- package/custom/node_modules/flag-icon-css/package.json +0 -28
- package/custom/node_modules/flag-icon-css/sass/_flag-icons-base.scss +0 -28
- package/custom/node_modules/flag-icon-css/sass/_flag-icons-list.scss +0 -273
- package/custom/node_modules/flag-icon-css/sass/_variables.scss +0 -3
- package/custom/node_modules/flag-icon-css/sass/flag-icons.scss +0 -3
- package/custom/node_modules/flag-icon-css/svgo.config.js +0 -16
- package/dist/custom/ResetPassword.vue +0 -295
- package/dist/custom/ResetPasswordUnderLogin.vue +0 -13
- package/dist/custom/SignupPage.vue +0 -278
- package/dist/custom/SignupUnderLogin.vue +0 -13
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="relative flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-800 relative w-screen h-screen"
|
|
3
|
-
:style="coreStore.config?.loginBackgroundImage && backgroundPosition === 'over' ? {
|
|
4
|
-
'background-image': 'url(' + loadFile(coreStore.config?.loginBackgroundImage) + ')',
|
|
5
|
-
'background-size': 'cover',
|
|
6
|
-
'background-position': 'center',
|
|
7
|
-
'background-blend-mode': 'darken'
|
|
8
|
-
}: {}"
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
<img v-if="coreStore.config?.loginBackgroundImage && backgroundPosition !== 'over'"
|
|
12
|
-
:src="loadFile(coreStore.config?.loginBackgroundImage)"
|
|
13
|
-
class="position-absolute top-0 left-0 h-screen object-cover w-0"
|
|
14
|
-
:class="{
|
|
15
|
-
'1/2': 'md:w-1/2',
|
|
16
|
-
'1/3': 'md:w-1/3',
|
|
17
|
-
'2/3': 'md:w-2/3',
|
|
18
|
-
'3/4': 'md:w-3/4',
|
|
19
|
-
'2/5': 'md:w-2/5',
|
|
20
|
-
'3/5': 'md:w-3/5',
|
|
21
|
-
}[backgroundPosition]"
|
|
22
|
-
/>
|
|
23
|
-
|
|
24
|
-
<!-- Main modal -->
|
|
25
|
-
<div id="authentication-modal" tabindex="-1"
|
|
26
|
-
class="overflow-y-auto flex flex-grow
|
|
27
|
-
overflow-x-hidden z-50 min-w-[350px] justify-center items-center md:inset-0 h-[calc(100%-1rem)] max-h-full">
|
|
28
|
-
<div class="relative p-4 w-full max-h-full max-w-[400px]">
|
|
29
|
-
<!-- Modal content -->
|
|
30
|
-
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black" >
|
|
31
|
-
<!-- Modal header -->
|
|
32
|
-
<div class="flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600">
|
|
33
|
-
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
|
|
34
|
-
Reset your password on {{ coreStore.config?.brandName }}
|
|
35
|
-
</h3>
|
|
36
|
-
</div>
|
|
37
|
-
<!-- Modal body -->
|
|
38
|
-
<div class="p-4 md:p-5">
|
|
39
|
-
<form v-if="enteringNew" class="space-y-4" role="alert" @submit.prevent>
|
|
40
|
-
<div class="relative">
|
|
41
|
-
<label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">New password</label>
|
|
42
|
-
<input
|
|
43
|
-
:type="unmasked ? 'text' : 'password'"
|
|
44
|
-
name="password" id="password"
|
|
45
|
-
v-model="password"
|
|
46
|
-
@keydown.enter="passwordConfirmationInput.focus()"
|
|
47
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white"
|
|
48
|
-
placeholder="New password" required
|
|
49
|
-
/>
|
|
50
|
-
|
|
51
|
-
<button
|
|
52
|
-
type="button"
|
|
53
|
-
@click="unmasked = !unmasked"
|
|
54
|
-
class="h-6 absolute inset-y-2 top-9 right-1 flex items-center pr-2 z-index-100 focus:outline-none"
|
|
55
|
-
>
|
|
56
|
-
<IconEyeSolid class="w-6 h-6 text-gray-400" v-if="!unmasked" />
|
|
57
|
-
<IconEyeSlashSolid class="w-6 h-6 text-gray-400" v-else />
|
|
58
|
-
</button>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
<div class="relative">
|
|
62
|
-
<label for="password_confirmation" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Confirm new password</label>
|
|
63
|
-
<input
|
|
64
|
-
:type="unmasked ? 'text' : 'password'"
|
|
65
|
-
name="password_confirmation" id="password_confirmation"
|
|
66
|
-
v-model="passwordConfirmation"
|
|
67
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white"
|
|
68
|
-
placeholder="Confirm new password" required
|
|
69
|
-
/>
|
|
70
|
-
|
|
71
|
-
<button
|
|
72
|
-
type="button"
|
|
73
|
-
@click="unmasked = !unmasked"
|
|
74
|
-
class="h-6 absolute inset-y-2 top-9 right-1 flex items-center pr-2 z-index-100 focus:outline-none"
|
|
75
|
-
>
|
|
76
|
-
<IconEyeSolid class="w-6 h-6 text-gray-400" v-if="!unmasked" />
|
|
77
|
-
<IconEyeSlashSolid class="w-6 h-6 text-gray-400" v-else />
|
|
78
|
-
</button>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
<div v-if="validationError || error" class="flex items-center p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert">
|
|
82
|
-
<svg class="flex-shrink-0 inline w-4 h-4 me-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
|
|
83
|
-
<path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
|
|
84
|
-
</svg>
|
|
85
|
-
<span class="sr-only">Info</span>
|
|
86
|
-
<div>
|
|
87
|
-
{{ validationError || error }}
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
|
|
91
|
-
<button
|
|
92
|
-
:disabled="inProgress || (validationRunning && validationError)"
|
|
93
|
-
@click="setNewPassword"
|
|
94
|
-
type="submit" class="flex items-center justify-center gap-1 w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 disabled:opacity-50">
|
|
95
|
-
<svg v-if="inProgress"
|
|
96
|
-
aria-hidden="true" class="w-4 h-4 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/><path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874
|
|
97
|
-
// 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/></svg>
|
|
98
|
-
Set new password
|
|
99
|
-
</button>
|
|
100
|
-
</form>
|
|
101
|
-
<!-- END of set new paasord -->
|
|
102
|
-
<div v-if="!enteringNew && requestSent" class="flex items center justify-center p-4 mb-4 text-sm text-green-800 rounded-lg bg-green-50 dark:bg-green-800 dark:text-green-400" role="alert">
|
|
103
|
-
If user with specified email exists in our db, then request was sent. Please check your email at {{ sentToEmail }} to reset your password.
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
<form v-if="!enteringNew && !requestSent" class="space-y-4" @submit.prevent>
|
|
107
|
-
<div>
|
|
108
|
-
<label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your email</label>
|
|
109
|
-
<input type="email" name="email" id="email"
|
|
110
|
-
@keydown.enter="reset()"
|
|
111
|
-
ref="emailInput"
|
|
112
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white"
|
|
113
|
-
placeholder="name@company.com"
|
|
114
|
-
required
|
|
115
|
-
/>
|
|
116
|
-
</div>
|
|
117
|
-
|
|
118
|
-
<div v-if="error" class="flex items-center p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert">
|
|
119
|
-
<svg class="flex-shrink-0 inline w-4 h-4 me-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
|
|
120
|
-
<path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
|
|
121
|
-
</svg>
|
|
122
|
-
<span class="sr-only">Info</span>
|
|
123
|
-
<div>
|
|
124
|
-
{{ error }}
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<button
|
|
130
|
-
@click="reset"
|
|
131
|
-
type="submit" class="flex items-center justify-center gap-1 w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
|
|
132
|
-
<svg v-if="inProgress"
|
|
133
|
-
aria-hidden="true" class="w-4 h-4 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/><path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/></svg>
|
|
134
|
-
|
|
135
|
-
Reset Password
|
|
136
|
-
|
|
137
|
-
</button>
|
|
138
|
-
|
|
139
|
-
<p class="text-gray-500 dark:text-gray-400 font-sm text-right mt-3">
|
|
140
|
-
or <router-link class=" text-blue-600 underline dark:text-blue-500 hover:no-underline
|
|
141
|
-
cursor-pointer" to="/login">
|
|
142
|
-
Back to login
|
|
143
|
-
</router-link>
|
|
144
|
-
</p>
|
|
145
|
-
|
|
146
|
-
</form>
|
|
147
|
-
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
|
|
153
|
-
</div>
|
|
154
|
-
</template>
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
<script setup lang="ts">
|
|
158
|
-
|
|
159
|
-
import { onMounted, ref, computed, Ref } from 'vue';
|
|
160
|
-
import { useCoreStore } from '@/stores/core';
|
|
161
|
-
import { callAdminForthApi, loadFile, applyRegexValidation } from '@/utils';
|
|
162
|
-
import { useRoute, useRouter } from 'vue-router';
|
|
163
|
-
import { IconEyeSolid, IconEyeSlashSolid } from '@iconify-prerendered/vue-flowbite';
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
const inProgress = ref(false);
|
|
167
|
-
|
|
168
|
-
const coreStore = useCoreStore();
|
|
169
|
-
const requestSent = ref(false);
|
|
170
|
-
|
|
171
|
-
const emailInput = ref(null);
|
|
172
|
-
const password = ref("");
|
|
173
|
-
const passwordConfirmation = ref("");
|
|
174
|
-
const unmasked = ref(false);
|
|
175
|
-
const sentToEmail: Ref<string> = ref('');
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
const route = useRoute();
|
|
179
|
-
const router = useRouter();
|
|
180
|
-
|
|
181
|
-
function checkPassowrd() {
|
|
182
|
-
|
|
183
|
-
if (!password.value || !passwordConfirmation.value) {
|
|
184
|
-
return 'Please enter both password and password confirmation';
|
|
185
|
-
}
|
|
186
|
-
if (password.value !== passwordConfirmation.value) {
|
|
187
|
-
return 'Passwords do not match';
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
if (password.value.length < passwordField.value.minLength) {
|
|
191
|
-
return `Password must be at least ${passwordField.value.minLength} characters long`;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
if (password.value.length > passwordField.value.maxLength) {
|
|
195
|
-
return `Password must be at most ${passwordField.value.maxLength} characters long`;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
if (passwordField.value.validation) {
|
|
199
|
-
const valError = applyRegexValidation(password.value, passwordField.value.validation);
|
|
200
|
-
if (valError) {
|
|
201
|
-
return valError;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
return null;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
const validationRunning = ref(false);
|
|
209
|
-
|
|
210
|
-
const validationError = computed(() => {
|
|
211
|
-
console.log('validationRunning.value', validationRunning.value, 'aa', checkPassowrd());
|
|
212
|
-
if (validationRunning.value) {
|
|
213
|
-
return checkPassowrd();
|
|
214
|
-
}
|
|
215
|
-
return null;
|
|
216
|
-
});
|
|
217
|
-
|
|
218
|
-
const error = ref(null);
|
|
219
|
-
|
|
220
|
-
// if token query param is present, we are entering new password
|
|
221
|
-
const enteringNew = computed(() => route.query.token);
|
|
222
|
-
|
|
223
|
-
const backgroundPosition = computed(() => {
|
|
224
|
-
return coreStore.config?.loginBackgroundPosition || '1/2';
|
|
225
|
-
});
|
|
226
|
-
|
|
227
|
-
const passwordField = computed(
|
|
228
|
-
() => route.meta.passwordField
|
|
229
|
-
)
|
|
230
|
-
|
|
231
|
-
onMounted(async () => {
|
|
232
|
-
await coreStore.getPublicConfig();
|
|
233
|
-
});
|
|
234
|
-
|
|
235
|
-
async function reset() {
|
|
236
|
-
error.value = null;
|
|
237
|
-
const email = emailInput.value.value;
|
|
238
|
-
if (!email) {
|
|
239
|
-
error.value = 'Please enter your email';
|
|
240
|
-
return;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
inProgress.value = true;
|
|
244
|
-
const resp = await callAdminForthApi({
|
|
245
|
-
path: `/plugin/${route.meta.pluginInstanceId}/reset-password`,
|
|
246
|
-
method: 'POST',
|
|
247
|
-
body: {
|
|
248
|
-
email,
|
|
249
|
-
url: window.location.origin + window.location.pathname,
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
|
-
inProgress.value = false;
|
|
253
|
-
if (resp.error) {
|
|
254
|
-
error.value = resp.error;
|
|
255
|
-
} else {
|
|
256
|
-
error.value = null;
|
|
257
|
-
requestSent.value = true;
|
|
258
|
-
sentToEmail.value = email;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
async function setNewPassword() {
|
|
263
|
-
error.value = null;
|
|
264
|
-
|
|
265
|
-
if (checkPassowrd()) {
|
|
266
|
-
validationRunning.value = true;
|
|
267
|
-
return;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
inProgress.value = true;
|
|
271
|
-
const resp = await callAdminForthApi({
|
|
272
|
-
path: `/plugin/${route.meta.pluginInstanceId}/reset-password-confirm`,
|
|
273
|
-
method: 'POST',
|
|
274
|
-
body: {
|
|
275
|
-
token: route.query.token,
|
|
276
|
-
password: password.value,
|
|
277
|
-
}
|
|
278
|
-
});
|
|
279
|
-
inProgress.value = false;
|
|
280
|
-
if (resp.error) {
|
|
281
|
-
error.value = resp.error;
|
|
282
|
-
} else {
|
|
283
|
-
error.value = null;
|
|
284
|
-
router.push('/login');
|
|
285
|
-
window.adminforth.alert({
|
|
286
|
-
message: 'Password reset successfully. Please login with your new password',
|
|
287
|
-
variant: 'success',
|
|
288
|
-
timeout: 15,
|
|
289
|
-
});
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
</script>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<p class="text-gray-500 dark:text-gray-400 font-sm text-left mt-3">
|
|
3
|
-
Forgot password? <router-link class=" text-blue-600 underline dark:text-blue-500 hover:no-underline
|
|
4
|
-
cursor-pointer" to="/reset-password">
|
|
5
|
-
reset it
|
|
6
|
-
</router-link>
|
|
7
|
-
</p>
|
|
8
|
-
</template>
|
|
9
|
-
|
|
10
|
-
<script setup>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
</script>
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="relative flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-800 relative w-screen h-screen"
|
|
3
|
-
:style="coreStore.config?.loginBackgroundImage && backgroundPosition === 'over' ? {
|
|
4
|
-
'background-image': 'url(' + loadFile(coreStore.config?.loginBackgroundImage) + ')',
|
|
5
|
-
'background-size': 'cover',
|
|
6
|
-
'background-position': 'center',
|
|
7
|
-
'background-blend-mode': 'darken'
|
|
8
|
-
}: {}"
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
<img v-if="coreStore.config?.loginBackgroundImage && backgroundPosition !== 'over'"
|
|
12
|
-
:src="loadFile(coreStore.config?.loginBackgroundImage)"
|
|
13
|
-
class="position-absolute top-0 left-0 h-screen object-cover w-0"
|
|
14
|
-
:class="{
|
|
15
|
-
'1/2': 'md:w-1/2',
|
|
16
|
-
'1/3': 'md:w-1/3',
|
|
17
|
-
'2/3': 'md:w-2/3',
|
|
18
|
-
'3/4': 'md:w-3/4',
|
|
19
|
-
'2/5': 'md:w-2/5',
|
|
20
|
-
'3/5': 'md:w-3/5',
|
|
21
|
-
}[backgroundPosition]"
|
|
22
|
-
/>
|
|
23
|
-
|
|
24
|
-
<!-- Main modal -->
|
|
25
|
-
<div id="authentication-modal" tabindex="-1"
|
|
26
|
-
class="overflow-y-auto flex flex-grow
|
|
27
|
-
overflow-x-hidden z-50 min-w-[350px] justify-center items-center md:inset-0 h-[calc(100%-1rem)] max-h-full">
|
|
28
|
-
<div class="relative p-4 w-full max-h-full max-w-[400px]">
|
|
29
|
-
<!-- Modal content -->
|
|
30
|
-
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black" >
|
|
31
|
-
<!-- Modal header -->
|
|
32
|
-
<div class="flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600">
|
|
33
|
-
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">
|
|
34
|
-
Sign up into {{ coreStore.config?.brandName }}
|
|
35
|
-
</h3>
|
|
36
|
-
</div>
|
|
37
|
-
<!-- Modal body -->
|
|
38
|
-
<div class="p-4 md:p-5">
|
|
39
|
-
<form v-if="!requestSent" class="space-y-4" role="alert" @submit.prevent>
|
|
40
|
-
<div class="relative">
|
|
41
|
-
<label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your email</label>
|
|
42
|
-
<input type="email" name="email" id="email"
|
|
43
|
-
tabindex="1"
|
|
44
|
-
@keydown.enter="passwordInput.focus()"
|
|
45
|
-
ref="emailInput"
|
|
46
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white"
|
|
47
|
-
placeholder="name@company.com"
|
|
48
|
-
required
|
|
49
|
-
/>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="relative">
|
|
52
|
-
<label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">New password</label>
|
|
53
|
-
<input
|
|
54
|
-
tabindex="2"
|
|
55
|
-
ref="passwordInput"
|
|
56
|
-
:type="unmasked ? 'text' : 'password'"
|
|
57
|
-
name="password" id="password"
|
|
58
|
-
v-model="password"
|
|
59
|
-
@keydown.enter="passwordConfirmationInput.focus()"
|
|
60
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white"
|
|
61
|
-
placeholder="New password" required
|
|
62
|
-
/>
|
|
63
|
-
|
|
64
|
-
<button
|
|
65
|
-
type="button"
|
|
66
|
-
@click="unmasked = !unmasked"
|
|
67
|
-
class="h-6 absolute inset-y-2 top-9 right-1 flex items-center pr-2 z-index-100 focus:outline-none"
|
|
68
|
-
>
|
|
69
|
-
<IconEyeSolid class="w-6 h-6 text-gray-400" v-if="!unmasked" />
|
|
70
|
-
<IconEyeSlashSolid class="w-6 h-6 text-gray-400" v-else />
|
|
71
|
-
</button>
|
|
72
|
-
</div>
|
|
73
|
-
|
|
74
|
-
<div class="relative">
|
|
75
|
-
<label for="password_confirmation" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Confirm new password</label>
|
|
76
|
-
<input
|
|
77
|
-
ref="passwordConfirmationInput"
|
|
78
|
-
:type="unmasked ? 'text' : 'password'"
|
|
79
|
-
name="password_confirmation" id="password_confirmation"
|
|
80
|
-
tabindex="3"
|
|
81
|
-
v-model="passwordConfirmation"
|
|
82
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white"
|
|
83
|
-
placeholder="Confirm new password" required
|
|
84
|
-
/>
|
|
85
|
-
|
|
86
|
-
<button
|
|
87
|
-
type="button"
|
|
88
|
-
@click="unmasked = !unmasked"
|
|
89
|
-
class="h-6 absolute inset-y-2 top-9 right-1 flex items-center pr-2 z-index-100 focus:outline-none"
|
|
90
|
-
>
|
|
91
|
-
<IconEyeSolid class="w-6 h-6 text-gray-400" v-if="!unmasked" />
|
|
92
|
-
<IconEyeSlashSolid class="w-6 h-6 text-gray-400" v-else />
|
|
93
|
-
</button>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<div v-if="validationError || error" class="flex items-center p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert">
|
|
97
|
-
<svg class="flex-shrink-0 inline w-4 h-4 me-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
|
|
98
|
-
<path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
|
|
99
|
-
</svg>
|
|
100
|
-
<span class="sr-only">Info</span>
|
|
101
|
-
<div>
|
|
102
|
-
{{ validationError || error }}
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
<Button
|
|
107
|
-
:disabled="inProgress || (validationRunning && validationError)"
|
|
108
|
-
@click="doSignup"
|
|
109
|
-
type="submit"
|
|
110
|
-
class="w-full"
|
|
111
|
-
:loader="inProgress"
|
|
112
|
-
>
|
|
113
|
-
Sign up
|
|
114
|
-
</Button>
|
|
115
|
-
</form>
|
|
116
|
-
<!-- END of set new paasord -->
|
|
117
|
-
<div v-else class="flex items center justify-center p-4 mb-4 text-sm text-green-800 rounded-lg bg-green-50 dark:bg-green-800 dark:text-green-400" role="alert">
|
|
118
|
-
If user with specified email exists in our db, then request was sent. Please check your email at {{ sentToEmail }} to reset your password.
|
|
119
|
-
</div>
|
|
120
|
-
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</div>
|
|
124
|
-
</div>
|
|
125
|
-
|
|
126
|
-
</div>
|
|
127
|
-
</template>
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<script setup lang="ts">
|
|
131
|
-
|
|
132
|
-
import { onMounted, ref, computed, Ref } from 'vue';
|
|
133
|
-
import { useCoreStore } from '@/stores/core';
|
|
134
|
-
import { useUserStore } from '@/stores/user';
|
|
135
|
-
import { callAdminForthApi, loadFile, applyRegexValidation } from '@/utils';
|
|
136
|
-
import { useRoute, useRouter } from 'vue-router';
|
|
137
|
-
import { IconEyeSolid, IconEyeSlashSolid } from '@iconify-prerendered/vue-flowbite';
|
|
138
|
-
import Button from '@/afcl/Button.vue';
|
|
139
|
-
|
|
140
|
-
const inProgress = ref(false);
|
|
141
|
-
|
|
142
|
-
const coreStore = useCoreStore();
|
|
143
|
-
const requestSent = ref(false);
|
|
144
|
-
|
|
145
|
-
const emailInput = ref(null);
|
|
146
|
-
const passwordInput = ref(null);
|
|
147
|
-
const passwordConfirmationInput = ref(null);
|
|
148
|
-
|
|
149
|
-
const password = ref("");
|
|
150
|
-
const passwordConfirmation = ref("");
|
|
151
|
-
const unmasked = ref(false);
|
|
152
|
-
const sentToEmail: Ref<string> = ref('');
|
|
153
|
-
|
|
154
|
-
const user = useUserStore();
|
|
155
|
-
|
|
156
|
-
const route = useRoute();
|
|
157
|
-
const router = useRouter();
|
|
158
|
-
|
|
159
|
-
function checkPassowrd() {
|
|
160
|
-
|
|
161
|
-
if (!password.value || !passwordConfirmation.value) {
|
|
162
|
-
return 'Please enter both password and password confirmation';
|
|
163
|
-
}
|
|
164
|
-
if (password.value !== passwordConfirmation.value) {
|
|
165
|
-
return 'Passwords do not match';
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (password.value.length < passwordField.value.minLength) {
|
|
169
|
-
return `Password must be at least ${passwordField.value.minLength} characters long`;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
if (password.value.length > passwordField.value.maxLength) {
|
|
173
|
-
return `Password must be at most ${passwordField.value.maxLength} characters long`;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
if (passwordField.value.validation) {
|
|
177
|
-
const valError = applyRegexValidation(password.value, passwordField.value.validation);
|
|
178
|
-
if (valError) {
|
|
179
|
-
return valError;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
return null;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
const validationRunning = ref(false);
|
|
187
|
-
|
|
188
|
-
const validationError = computed(() => {
|
|
189
|
-
if (validationRunning.value) {
|
|
190
|
-
return checkPassowrd();
|
|
191
|
-
}
|
|
192
|
-
return null;
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
const error: Ref<str | null> = ref(null);
|
|
196
|
-
|
|
197
|
-
onMounted(async () => {
|
|
198
|
-
if (route.query.token) {
|
|
199
|
-
// call method completeVerifiedSignup to confirm { token }
|
|
200
|
-
// if success, then redirect to login page
|
|
201
|
-
|
|
202
|
-
const resp = await callAdminForthApi({
|
|
203
|
-
path: `/plugin/${route.meta.pluginInstanceId}/complete-verified-signup`,
|
|
204
|
-
method: 'POST',
|
|
205
|
-
body: {
|
|
206
|
-
token: route.query.token,
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
if (resp.error) {
|
|
210
|
-
window.adminforth.alert({
|
|
211
|
-
message: `Error fetching data: ${error.message}`,
|
|
212
|
-
variant: 'danger',
|
|
213
|
-
});
|
|
214
|
-
} else if (resp.redirectTo) {
|
|
215
|
-
router.push(resp.redirectTo);
|
|
216
|
-
} else {
|
|
217
|
-
await user.finishLogin();
|
|
218
|
-
}
|
|
219
|
-
return;
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
emailInput.value.focus();
|
|
223
|
-
});
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
const backgroundPosition = computed(() => {
|
|
227
|
-
return coreStore.config?.loginBackgroundPosition || '1/2';
|
|
228
|
-
});
|
|
229
|
-
|
|
230
|
-
const passwordField = computed(
|
|
231
|
-
() => route.meta.passwordField
|
|
232
|
-
)
|
|
233
|
-
|
|
234
|
-
onMounted(async () => {
|
|
235
|
-
await coreStore.getPublicConfig();
|
|
236
|
-
});
|
|
237
|
-
|
|
238
|
-
async function doSignup() {
|
|
239
|
-
error.value = null;
|
|
240
|
-
const email = emailInput.value!.value;
|
|
241
|
-
if (!email) {
|
|
242
|
-
error.value = 'Please enter your email';
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
if (checkPassowrd()) {
|
|
246
|
-
validationRunning.value = true;
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
inProgress.value = true;
|
|
251
|
-
const resp = await callAdminForthApi({
|
|
252
|
-
path: `/plugin/${route.meta.pluginInstanceId}/signup`,
|
|
253
|
-
method: 'POST',
|
|
254
|
-
body: {
|
|
255
|
-
email,
|
|
256
|
-
url: window.location.origin + window.location.pathname,
|
|
257
|
-
password: password.value,
|
|
258
|
-
}
|
|
259
|
-
});
|
|
260
|
-
inProgress.value = false;
|
|
261
|
-
if (resp.error) {
|
|
262
|
-
error.value = resp.error;
|
|
263
|
-
} else {
|
|
264
|
-
error.value = null;
|
|
265
|
-
requestSent.value = true;
|
|
266
|
-
sentToEmail.value = email;
|
|
267
|
-
if (resp.redirectTo) {
|
|
268
|
-
router.push(resp.redirectTo);
|
|
269
|
-
} else {
|
|
270
|
-
error.value = null;
|
|
271
|
-
await user.finishLogin();
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
</script>
|