eis-ui-render 0.34.3 → 0.35.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/README.md +411 -18
- package/THIRD-PARTY-NOTICES.md +127 -0
- package/dist/THIRD-PARTY-LICENSES.txt +429 -0
- package/dist/contract.d.ts +299 -0
- package/dist/index.d.ts +42 -5
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -15
- package/dist/index.js.map +1 -1
- package/dist/sbom.cdx.json +338 -0
- package/dist/static/all.css +2 -39
- package/dist/static/font.css +2 -8
- package/docs/BUILT-IN-PHRASES.md +79 -0
- package/docs/SUPPORTED-PROPS.md +422 -0
- package/docs/SUPPORTED-VIEWS.md +140 -0
- package/meta.schema.json +494 -0
- package/package.json +113 -73
- package/static/all.css +4 -22
- package/static/all.css.map +1 -1
- package/dist/UIRender.d.ts +0 -43
- package/dist/static/all.css.map +0 -1
- package/dist/static/fonts/icons/fonts/iconsOpenL.eot +0 -0
- package/dist/static/fonts/icons/fonts/iconsOpenL.svg +0 -95
- package/dist/static/fonts/icons/fonts/iconsOpenL.ttf +0 -0
- package/dist/static/fonts/icons/fonts/iconsOpenL.woff +0 -0
- package/dist/static/images/diamonds-dimmed-flipped.png +0 -0
- package/dist/static/images/diamonds-dimmed.png +0 -0
- package/dist/static/images/diamonds.png +0 -0
- package/dist/static/images/flags/ad.svg +0 -150
- package/dist/static/images/flags/ae.svg +0 -6
- package/dist/static/images/flags/af.svg +0 -81
- package/dist/static/images/flags/ag.svg +0 -14
- package/dist/static/images/flags/ai.svg +0 -767
- package/dist/static/images/flags/al.svg +0 -5
- package/dist/static/images/flags/am.svg +0 -5
- package/dist/static/images/flags/ao.svg +0 -13
- package/dist/static/images/flags/aq.svg +0 -6
- package/dist/static/images/flags/ar.svg +0 -31
- package/dist/static/images/flags/as.svg +0 -33
- package/dist/static/images/flags/at.svg +0 -6
- package/dist/static/images/flags/au.svg +0 -9
- package/dist/static/images/flags/aw.svg +0 -186
- package/dist/static/images/flags/ax.svg +0 -18
- package/dist/static/images/flags/az.svg +0 -8
- package/dist/static/images/flags/ba.svg +0 -12
- package/dist/static/images/flags/bb.svg +0 -6
- package/dist/static/images/flags/bd.svg +0 -4
- package/dist/static/images/flags/be.svg +0 -7
- package/dist/static/images/flags/bf.svg +0 -7
- package/dist/static/images/flags/bg.svg +0 -7
- package/dist/static/images/flags/bh.svg +0 -11
- package/dist/static/images/flags/bi.svg +0 -15
- package/dist/static/images/flags/bj.svg +0 -14
- package/dist/static/images/flags/bl.svg +0 -7
- package/dist/static/images/flags/bm.svg +0 -98
- package/dist/static/images/flags/bn.svg +0 -36
- package/dist/static/images/flags/bo.svg +0 -676
- package/dist/static/images/flags/bq.svg +0 -5
- package/dist/static/images/flags/br.svg +0 -45
- package/dist/static/images/flags/bs.svg +0 -13
- package/dist/static/images/flags/bt.svg +0 -89
- package/dist/static/images/flags/bv.svg +0 -13
- package/dist/static/images/flags/bw.svg +0 -7
- package/dist/static/images/flags/by.svg +0 -20
- package/dist/static/images/flags/bz.svg +0 -145
- package/dist/static/images/flags/ca.svg +0 -4
- package/dist/static/images/flags/cc.svg +0 -19
- package/dist/static/images/flags/cd.svg +0 -5
- package/dist/static/images/flags/cf.svg +0 -15
- package/dist/static/images/flags/cg.svg +0 -12
- package/dist/static/images/flags/ch.svg +0 -9
- package/dist/static/images/flags/ci.svg +0 -7
- package/dist/static/images/flags/ck.svg +0 -9
- package/dist/static/images/flags/cl.svg +0 -13
- package/dist/static/images/flags/cm.svg +0 -15
- package/dist/static/images/flags/cn.svg +0 -11
- package/dist/static/images/flags/co.svg +0 -7
- package/dist/static/images/flags/cr.svg +0 -7
- package/dist/static/images/flags/cu.svg +0 -13
- package/dist/static/images/flags/cv.svg +0 -13
- package/dist/static/images/flags/cw.svg +0 -14
- package/dist/static/images/flags/cx.svg +0 -15
- package/dist/static/images/flags/cy.svg +0 -6
- package/dist/static/images/flags/cz.svg +0 -12
- package/dist/static/images/flags/de.svg +0 -5
- package/dist/static/images/flags/dj.svg +0 -13
- package/dist/static/images/flags/dk.svg +0 -5
- package/dist/static/images/flags/dm.svg +0 -152
- package/dist/static/images/flags/do.svg +0 -6745
- package/dist/static/images/flags/dz.svg +0 -5
- package/dist/static/images/flags/ec.svg +0 -138
- package/dist/static/images/flags/ee.svg +0 -7
- package/dist/static/images/flags/eg.svg +0 -38
- package/dist/static/images/flags/eh.svg +0 -15
- package/dist/static/images/flags/el.svg +0 -22
- package/dist/static/images/flags/en.svg +0 -15
- package/dist/static/images/flags/er.svg +0 -8
- package/dist/static/images/flags/es-ct.svg +0 -4
- package/dist/static/images/flags/es.svg +0 -544
- package/dist/static/images/flags/et.svg +0 -14
- package/dist/static/images/flags/eu.svg +0 -28
- package/dist/static/images/flags/fa.svg +0 -219
- package/dist/static/images/flags/fi.svg +0 -5
- package/dist/static/images/flags/fj.svg +0 -120
- package/dist/static/images/flags/fk.svg +0 -89
- package/dist/static/images/flags/fm.svg +0 -11
- package/dist/static/images/flags/fo.svg +0 -12
- package/dist/static/images/flags/fr.svg +0 -7
- package/dist/static/images/flags/ga.svg +0 -7
- package/dist/static/images/flags/gb-eng.svg +0 -5
- package/dist/static/images/flags/gb-nir.svg +0 -131
- package/dist/static/images/flags/gb-sct.svg +0 -4
- package/dist/static/images/flags/gb-wls.svg +0 -9
- package/dist/static/images/flags/gb.svg +0 -15
- package/dist/static/images/flags/gd.svg +0 -27
- package/dist/static/images/flags/ge.svg +0 -6
- package/dist/static/images/flags/gf.svg +0 -5
- package/dist/static/images/flags/gg.svg +0 -9
- package/dist/static/images/flags/gh.svg +0 -6
- package/dist/static/images/flags/gi.svg +0 -32
- package/dist/static/images/flags/gl.svg +0 -4
- package/dist/static/images/flags/gm.svg +0 -14
- package/dist/static/images/flags/gn.svg +0 -7
- package/dist/static/images/flags/gp.svg +0 -7
- package/dist/static/images/flags/gq.svg +0 -23
- package/dist/static/images/flags/gr.svg +0 -22
- package/dist/static/images/flags/gs.svg +0 -201
- package/dist/static/images/flags/gt.svg +0 -204
- package/dist/static/images/flags/gu.svg +0 -39
- package/dist/static/images/flags/gw.svg +0 -13
- package/dist/static/images/flags/gy.svg +0 -9
- package/dist/static/images/flags/he.svg +0 -14
- package/dist/static/images/flags/hk.svg +0 -30
- package/dist/static/images/flags/hm.svg +0 -9
- package/dist/static/images/flags/hn.svg +0 -18
- package/dist/static/images/flags/hr.svg +0 -58
- package/dist/static/images/flags/ht.svg +0 -116
- package/dist/static/images/flags/hu.svg +0 -7
- package/dist/static/images/flags/id.svg +0 -6
- package/dist/static/images/flags/ie.svg +0 -7
- package/dist/static/images/flags/il.svg +0 -14
- package/dist/static/images/flags/im.svg +0 -36
- package/dist/static/images/flags/in.svg +0 -25
- package/dist/static/images/flags/io.svg +0 -138
- package/dist/static/images/flags/iq.svg +0 -10
- package/dist/static/images/flags/ir.svg +0 -219
- package/dist/static/images/flags/is.svg +0 -12
- package/dist/static/images/flags/it.svg +0 -7
- package/dist/static/images/flags/ja.svg +0 -11
- package/dist/static/images/flags/je.svg +0 -29
- package/dist/static/images/flags/jm.svg +0 -8
- package/dist/static/images/flags/jo.svg +0 -16
- package/dist/static/images/flags/jp.svg +0 -11
- package/dist/static/images/flags/ke.svg +0 -23
- package/dist/static/images/flags/kg.svg +0 -15
- package/dist/static/images/flags/kh.svg +0 -61
- package/dist/static/images/flags/ki.svg +0 -36
- package/dist/static/images/flags/km.svg +0 -16
- package/dist/static/images/flags/kn.svg +0 -14
- package/dist/static/images/flags/ko.svg +0 -24
- package/dist/static/images/flags/kp.svg +0 -15
- package/dist/static/images/flags/kr.svg +0 -24
- package/dist/static/images/flags/kw.svg +0 -13
- package/dist/static/images/flags/ky.svg +0 -63
- package/dist/static/images/flags/kz.svg +0 -23
- package/dist/static/images/flags/la.svg +0 -12
- package/dist/static/images/flags/lb.svg +0 -15
- package/dist/static/images/flags/lc.svg +0 -8
- package/dist/static/images/flags/li.svg +0 -43
- package/dist/static/images/flags/lk.svg +0 -22
- package/dist/static/images/flags/lr.svg +0 -14
- package/dist/static/images/flags/ls.svg +0 -8
- package/dist/static/images/flags/lt.svg +0 -7
- package/dist/static/images/flags/lu.svg +0 -5
- package/dist/static/images/flags/lv.svg +0 -6
- package/dist/static/images/flags/ly.svg +0 -13
- package/dist/static/images/flags/ma.svg +0 -4
- package/dist/static/images/flags/mc.svg +0 -6
- package/dist/static/images/flags/md.svg +0 -70
- package/dist/static/images/flags/me.svg +0 -116
- package/dist/static/images/flags/mf.svg +0 -7
- package/dist/static/images/flags/mg.svg +0 -7
- package/dist/static/images/flags/mh.svg +0 -7
- package/dist/static/images/flags/mk.svg +0 -5
- package/dist/static/images/flags/ml.svg +0 -7
- package/dist/static/images/flags/mm.svg +0 -16
- package/dist/static/images/flags/mn.svg +0 -13
- package/dist/static/images/flags/mo.svg +0 -9
- package/dist/static/images/flags/mp.svg +0 -86
- package/dist/static/images/flags/mq.svg +0 -7
- package/dist/static/images/flags/mr.svg +0 -6
- package/dist/static/images/flags/ms.svg +0 -39
- package/dist/static/images/flags/mt.svg +0 -49
- package/dist/static/images/flags/mu.svg +0 -8
- package/dist/static/images/flags/mv.svg +0 -6
- package/dist/static/images/flags/mw.svg +0 -10
- package/dist/static/images/flags/mx.svg +0 -382
- package/dist/static/images/flags/my.svg +0 -15
- package/dist/static/images/flags/mz.svg +0 -21
- package/dist/static/images/flags/na.svg +0 -16
- package/dist/static/images/flags/nc.svg +0 -7
- package/dist/static/images/flags/ne.svg +0 -6
- package/dist/static/images/flags/nf.svg +0 -9
- package/dist/static/images/flags/ng.svg +0 -6
- package/dist/static/images/flags/ni.svg +0 -129
- package/dist/static/images/flags/nl.svg +0 -7
- package/dist/static/images/flags/no.svg +0 -7
- package/dist/static/images/flags/np.svg +0 -14
- package/dist/static/images/flags/nr.svg +0 -12
- package/dist/static/images/flags/nu.svg +0 -26
- package/dist/static/images/flags/nz.svg +0 -41
- package/dist/static/images/flags/om.svg +0 -115
- package/dist/static/images/flags/pa.svg +0 -14
- package/dist/static/images/flags/pe.svg +0 -244
- package/dist/static/images/flags/pf.svg +0 -19
- package/dist/static/images/flags/pg.svg +0 -9
- package/dist/static/images/flags/ph.svg +0 -9
- package/dist/static/images/flags/pk.svg +0 -15
- package/dist/static/images/flags/pl.svg +0 -6
- package/dist/static/images/flags/pm.svg +0 -7
- package/dist/static/images/flags/pn.svg +0 -62
- package/dist/static/images/flags/pr.svg +0 -13
- package/dist/static/images/flags/ps.svg +0 -15
- package/dist/static/images/flags/pt.svg +0 -57
- package/dist/static/images/flags/pw.svg +0 -11
- package/dist/static/images/flags/py.svg +0 -157
- package/dist/static/images/flags/qa.svg +0 -4
- package/dist/static/images/flags/re.svg +0 -7
- package/dist/static/images/flags/ro.svg +0 -7
- package/dist/static/images/flags/rs.svg +0 -292
- package/dist/static/images/flags/ru.svg +0 -7
- package/dist/static/images/flags/rw.svg +0 -13
- package/dist/static/images/flags/sa.svg +0 -26
- package/dist/static/images/flags/sb.svg +0 -13
- package/dist/static/images/flags/sc.svg +0 -14
- package/dist/static/images/flags/sd.svg +0 -13
- package/dist/static/images/flags/se.svg +0 -16
- package/dist/static/images/flags/sg.svg +0 -13
- package/dist/static/images/flags/sh.svg +0 -74
- package/dist/static/images/flags/si.svg +0 -18
- package/dist/static/images/flags/sj.svg +0 -7
- package/dist/static/images/flags/sk.svg +0 -9
- package/dist/static/images/flags/sl.svg +0 -7
- package/dist/static/images/flags/sm.svg +0 -91
- package/dist/static/images/flags/sn.svg +0 -8
- package/dist/static/images/flags/so.svg +0 -11
- package/dist/static/images/flags/sr.svg +0 -6
- package/dist/static/images/flags/ss.svg +0 -8
- package/dist/static/images/flags/st.svg +0 -16
- package/dist/static/images/flags/sv.svg +0 -601
- package/dist/static/images/flags/sx.svg +0 -56
- package/dist/static/images/flags/sy.svg +0 -6
- package/dist/static/images/flags/sz.svg +0 -45
- package/dist/static/images/flags/tc.svg +0 -67
- package/dist/static/images/flags/td.svg +0 -7
- package/dist/static/images/flags/tf.svg +0 -15
- package/dist/static/images/flags/tg.svg +0 -14
- package/dist/static/images/flags/th.svg +0 -7
- package/dist/static/images/flags/tj.svg +0 -22
- package/dist/static/images/flags/tk.svg +0 -5
- package/dist/static/images/flags/tl.svg +0 -13
- package/dist/static/images/flags/tm.svg +0 -206
- package/dist/static/images/flags/tn.svg +0 -13
- package/dist/static/images/flags/to.svg +0 -10
- package/dist/static/images/flags/tr.svg +0 -8
- package/dist/static/images/flags/tt.svg +0 -5
- package/dist/static/images/flags/tv.svg +0 -27
- package/dist/static/images/flags/tw.svg +0 -14
- package/dist/static/images/flags/tz.svg +0 -13
- package/dist/static/images/flags/ua.svg +0 -6
- package/dist/static/images/flags/ug.svg +0 -30
- package/dist/static/images/flags/um.svg +0 -15
- package/dist/static/images/flags/un.svg +0 -16
- package/dist/static/images/flags/us.svg +0 -10
- package/dist/static/images/flags/uy.svg +0 -28
- package/dist/static/images/flags/uz.svg +0 -30
- package/dist/static/images/flags/va.svg +0 -479
- package/dist/static/images/flags/vc.svg +0 -8
- package/dist/static/images/flags/ve.svg +0 -26
- package/dist/static/images/flags/vg.svg +0 -127
- package/dist/static/images/flags/vi.svg +0 -28
- package/dist/static/images/flags/vn.svg +0 -11
- package/dist/static/images/flags/vu.svg +0 -18
- package/dist/static/images/flags/wf.svg +0 -7
- package/dist/static/images/flags/ws.svg +0 -7
- package/dist/static/images/flags/xk.svg +0 -16
- package/dist/static/images/flags/ye.svg +0 -7
- package/dist/static/images/flags/yi.svg +0 -12
- package/dist/static/images/flags/yt.svg +0 -7
- package/dist/static/images/flags/za.svg +0 -17
- package/dist/static/images/flags/zh-HK.svg +0 -30
- package/dist/static/images/flags/zh.svg +0 -11
- package/dist/static/images/flags/zm.svg +0 -27
- package/dist/static/images/flags/zw.svg +0 -21
- package/dist/static/images/flags.png +0 -0
- package/dist/static/images/home.jpg +0 -0
- package/dist/static/images/logo.svg +0 -1
- package/dist/static/images/showIf.png +0 -0
- package/dist/static/images/ui-architecture.png +0 -0
- package/dist/static/images/ui-render-inspect.png +0 -0
- package/dist/static/images/ui-render-version.png +0 -0
- package/static/images/diamonds-dimmed-flipped.png +0 -0
- package/static/images/diamonds-dimmed.png +0 -0
- package/static/images/diamonds.png +0 -0
- package/static/images/flags/ad.svg +0 -150
- package/static/images/flags/ae.svg +0 -6
- package/static/images/flags/af.svg +0 -81
- package/static/images/flags/ag.svg +0 -14
- package/static/images/flags/ai.svg +0 -767
- package/static/images/flags/al.svg +0 -5
- package/static/images/flags/am.svg +0 -5
- package/static/images/flags/ao.svg +0 -13
- package/static/images/flags/aq.svg +0 -6
- package/static/images/flags/ar.svg +0 -31
- package/static/images/flags/as.svg +0 -33
- package/static/images/flags/at.svg +0 -6
- package/static/images/flags/au.svg +0 -9
- package/static/images/flags/aw.svg +0 -186
- package/static/images/flags/ax.svg +0 -18
- package/static/images/flags/az.svg +0 -8
- package/static/images/flags/ba.svg +0 -12
- package/static/images/flags/bb.svg +0 -6
- package/static/images/flags/bd.svg +0 -4
- package/static/images/flags/be.svg +0 -7
- package/static/images/flags/bf.svg +0 -7
- package/static/images/flags/bg.svg +0 -7
- package/static/images/flags/bh.svg +0 -11
- package/static/images/flags/bi.svg +0 -15
- package/static/images/flags/bj.svg +0 -14
- package/static/images/flags/bl.svg +0 -7
- package/static/images/flags/bm.svg +0 -98
- package/static/images/flags/bn.svg +0 -36
- package/static/images/flags/bo.svg +0 -676
- package/static/images/flags/bq.svg +0 -5
- package/static/images/flags/br.svg +0 -45
- package/static/images/flags/bs.svg +0 -13
- package/static/images/flags/bt.svg +0 -89
- package/static/images/flags/bv.svg +0 -13
- package/static/images/flags/bw.svg +0 -7
- package/static/images/flags/by.svg +0 -20
- package/static/images/flags/bz.svg +0 -145
- package/static/images/flags/ca.svg +0 -4
- package/static/images/flags/cc.svg +0 -19
- package/static/images/flags/cd.svg +0 -5
- package/static/images/flags/cf.svg +0 -15
- package/static/images/flags/cg.svg +0 -12
- package/static/images/flags/ch.svg +0 -9
- package/static/images/flags/ci.svg +0 -7
- package/static/images/flags/ck.svg +0 -9
- package/static/images/flags/cl.svg +0 -13
- package/static/images/flags/cm.svg +0 -15
- package/static/images/flags/cn.svg +0 -11
- package/static/images/flags/co.svg +0 -7
- package/static/images/flags/cr.svg +0 -7
- package/static/images/flags/cu.svg +0 -13
- package/static/images/flags/cv.svg +0 -13
- package/static/images/flags/cw.svg +0 -14
- package/static/images/flags/cx.svg +0 -15
- package/static/images/flags/cy.svg +0 -6
- package/static/images/flags/cz.svg +0 -12
- package/static/images/flags/de.svg +0 -5
- package/static/images/flags/dj.svg +0 -13
- package/static/images/flags/dk.svg +0 -5
- package/static/images/flags/dm.svg +0 -152
- package/static/images/flags/do.svg +0 -6745
- package/static/images/flags/dz.svg +0 -5
- package/static/images/flags/ec.svg +0 -138
- package/static/images/flags/ee.svg +0 -7
- package/static/images/flags/eg.svg +0 -38
- package/static/images/flags/eh.svg +0 -15
- package/static/images/flags/el.svg +0 -22
- package/static/images/flags/en.svg +0 -15
- package/static/images/flags/er.svg +0 -8
- package/static/images/flags/es-ct.svg +0 -4
- package/static/images/flags/es.svg +0 -544
- package/static/images/flags/et.svg +0 -14
- package/static/images/flags/eu.svg +0 -28
- package/static/images/flags/fa.svg +0 -219
- package/static/images/flags/fi.svg +0 -5
- package/static/images/flags/fj.svg +0 -120
- package/static/images/flags/fk.svg +0 -89
- package/static/images/flags/fm.svg +0 -11
- package/static/images/flags/fo.svg +0 -12
- package/static/images/flags/fr.svg +0 -7
- package/static/images/flags/ga.svg +0 -7
- package/static/images/flags/gb-eng.svg +0 -5
- package/static/images/flags/gb-nir.svg +0 -131
- package/static/images/flags/gb-sct.svg +0 -4
- package/static/images/flags/gb-wls.svg +0 -9
- package/static/images/flags/gb.svg +0 -15
- package/static/images/flags/gd.svg +0 -27
- package/static/images/flags/ge.svg +0 -6
- package/static/images/flags/gf.svg +0 -5
- package/static/images/flags/gg.svg +0 -9
- package/static/images/flags/gh.svg +0 -6
- package/static/images/flags/gi.svg +0 -32
- package/static/images/flags/gl.svg +0 -4
- package/static/images/flags/gm.svg +0 -14
- package/static/images/flags/gn.svg +0 -7
- package/static/images/flags/gp.svg +0 -7
- package/static/images/flags/gq.svg +0 -23
- package/static/images/flags/gr.svg +0 -22
- package/static/images/flags/gs.svg +0 -201
- package/static/images/flags/gt.svg +0 -204
- package/static/images/flags/gu.svg +0 -39
- package/static/images/flags/gw.svg +0 -13
- package/static/images/flags/gy.svg +0 -9
- package/static/images/flags/he.svg +0 -14
- package/static/images/flags/hk.svg +0 -30
- package/static/images/flags/hm.svg +0 -9
- package/static/images/flags/hn.svg +0 -18
- package/static/images/flags/hr.svg +0 -58
- package/static/images/flags/ht.svg +0 -116
- package/static/images/flags/hu.svg +0 -7
- package/static/images/flags/id.svg +0 -6
- package/static/images/flags/ie.svg +0 -7
- package/static/images/flags/il.svg +0 -14
- package/static/images/flags/im.svg +0 -36
- package/static/images/flags/in.svg +0 -25
- package/static/images/flags/io.svg +0 -138
- package/static/images/flags/iq.svg +0 -10
- package/static/images/flags/ir.svg +0 -219
- package/static/images/flags/is.svg +0 -12
- package/static/images/flags/it.svg +0 -7
- package/static/images/flags/ja.svg +0 -11
- package/static/images/flags/je.svg +0 -29
- package/static/images/flags/jm.svg +0 -8
- package/static/images/flags/jo.svg +0 -16
- package/static/images/flags/jp.svg +0 -11
- package/static/images/flags/ke.svg +0 -23
- package/static/images/flags/kg.svg +0 -15
- package/static/images/flags/kh.svg +0 -61
- package/static/images/flags/ki.svg +0 -36
- package/static/images/flags/km.svg +0 -16
- package/static/images/flags/kn.svg +0 -14
- package/static/images/flags/ko.svg +0 -24
- package/static/images/flags/kp.svg +0 -15
- package/static/images/flags/kr.svg +0 -24
- package/static/images/flags/kw.svg +0 -13
- package/static/images/flags/ky.svg +0 -63
- package/static/images/flags/kz.svg +0 -23
- package/static/images/flags/la.svg +0 -12
- package/static/images/flags/lb.svg +0 -15
- package/static/images/flags/lc.svg +0 -8
- package/static/images/flags/li.svg +0 -43
- package/static/images/flags/lk.svg +0 -22
- package/static/images/flags/lr.svg +0 -14
- package/static/images/flags/ls.svg +0 -8
- package/static/images/flags/lt.svg +0 -7
- package/static/images/flags/lu.svg +0 -5
- package/static/images/flags/lv.svg +0 -6
- package/static/images/flags/ly.svg +0 -13
- package/static/images/flags/ma.svg +0 -4
- package/static/images/flags/mc.svg +0 -6
- package/static/images/flags/md.svg +0 -70
- package/static/images/flags/me.svg +0 -116
- package/static/images/flags/mf.svg +0 -7
- package/static/images/flags/mg.svg +0 -7
- package/static/images/flags/mh.svg +0 -7
- package/static/images/flags/mk.svg +0 -5
- package/static/images/flags/ml.svg +0 -7
- package/static/images/flags/mm.svg +0 -16
- package/static/images/flags/mn.svg +0 -13
- package/static/images/flags/mo.svg +0 -9
- package/static/images/flags/mp.svg +0 -86
- package/static/images/flags/mq.svg +0 -7
- package/static/images/flags/mr.svg +0 -6
- package/static/images/flags/ms.svg +0 -39
- package/static/images/flags/mt.svg +0 -49
- package/static/images/flags/mu.svg +0 -8
- package/static/images/flags/mv.svg +0 -6
- package/static/images/flags/mw.svg +0 -10
- package/static/images/flags/mx.svg +0 -382
- package/static/images/flags/my.svg +0 -15
- package/static/images/flags/mz.svg +0 -21
- package/static/images/flags/na.svg +0 -16
- package/static/images/flags/nc.svg +0 -7
- package/static/images/flags/ne.svg +0 -6
- package/static/images/flags/nf.svg +0 -9
- package/static/images/flags/ng.svg +0 -6
- package/static/images/flags/ni.svg +0 -129
- package/static/images/flags/nl.svg +0 -7
- package/static/images/flags/no.svg +0 -7
- package/static/images/flags/np.svg +0 -14
- package/static/images/flags/nr.svg +0 -12
- package/static/images/flags/nu.svg +0 -26
- package/static/images/flags/nz.svg +0 -41
- package/static/images/flags/om.svg +0 -115
- package/static/images/flags/pa.svg +0 -14
- package/static/images/flags/pe.svg +0 -244
- package/static/images/flags/pf.svg +0 -19
- package/static/images/flags/pg.svg +0 -9
- package/static/images/flags/ph.svg +0 -9
- package/static/images/flags/pk.svg +0 -15
- package/static/images/flags/pl.svg +0 -6
- package/static/images/flags/pm.svg +0 -7
- package/static/images/flags/pn.svg +0 -62
- package/static/images/flags/pr.svg +0 -13
- package/static/images/flags/ps.svg +0 -15
- package/static/images/flags/pt.svg +0 -57
- package/static/images/flags/pw.svg +0 -11
- package/static/images/flags/py.svg +0 -157
- package/static/images/flags/qa.svg +0 -4
- package/static/images/flags/re.svg +0 -7
- package/static/images/flags/ro.svg +0 -7
- package/static/images/flags/rs.svg +0 -292
- package/static/images/flags/ru.svg +0 -7
- package/static/images/flags/rw.svg +0 -13
- package/static/images/flags/sa.svg +0 -26
- package/static/images/flags/sb.svg +0 -13
- package/static/images/flags/sc.svg +0 -14
- package/static/images/flags/sd.svg +0 -13
- package/static/images/flags/se.svg +0 -16
- package/static/images/flags/sg.svg +0 -13
- package/static/images/flags/sh.svg +0 -74
- package/static/images/flags/si.svg +0 -18
- package/static/images/flags/sj.svg +0 -7
- package/static/images/flags/sk.svg +0 -9
- package/static/images/flags/sl.svg +0 -7
- package/static/images/flags/sm.svg +0 -91
- package/static/images/flags/sn.svg +0 -8
- package/static/images/flags/so.svg +0 -11
- package/static/images/flags/sr.svg +0 -6
- package/static/images/flags/ss.svg +0 -8
- package/static/images/flags/st.svg +0 -16
- package/static/images/flags/sv.svg +0 -601
- package/static/images/flags/sx.svg +0 -56
- package/static/images/flags/sy.svg +0 -6
- package/static/images/flags/sz.svg +0 -45
- package/static/images/flags/tc.svg +0 -67
- package/static/images/flags/td.svg +0 -7
- package/static/images/flags/tf.svg +0 -15
- package/static/images/flags/tg.svg +0 -14
- package/static/images/flags/th.svg +0 -7
- package/static/images/flags/tj.svg +0 -22
- package/static/images/flags/tk.svg +0 -5
- package/static/images/flags/tl.svg +0 -13
- package/static/images/flags/tm.svg +0 -206
- package/static/images/flags/tn.svg +0 -13
- package/static/images/flags/to.svg +0 -10
- package/static/images/flags/tr.svg +0 -8
- package/static/images/flags/tt.svg +0 -5
- package/static/images/flags/tv.svg +0 -27
- package/static/images/flags/tw.svg +0 -14
- package/static/images/flags/tz.svg +0 -13
- package/static/images/flags/ua.svg +0 -6
- package/static/images/flags/ug.svg +0 -30
- package/static/images/flags/um.svg +0 -15
- package/static/images/flags/un.svg +0 -16
- package/static/images/flags/us.svg +0 -10
- package/static/images/flags/uy.svg +0 -28
- package/static/images/flags/uz.svg +0 -30
- package/static/images/flags/va.svg +0 -479
- package/static/images/flags/vc.svg +0 -8
- package/static/images/flags/ve.svg +0 -26
- package/static/images/flags/vg.svg +0 -127
- package/static/images/flags/vi.svg +0 -28
- package/static/images/flags/vn.svg +0 -11
- package/static/images/flags/vu.svg +0 -18
- package/static/images/flags/wf.svg +0 -7
- package/static/images/flags/ws.svg +0 -7
- package/static/images/flags/xk.svg +0 -16
- package/static/images/flags/ye.svg +0 -7
- package/static/images/flags/yi.svg +0 -12
- package/static/images/flags/yt.svg +0 -7
- package/static/images/flags/za.svg +0 -17
- package/static/images/flags/zh-HK.svg +0 -30
- package/static/images/flags/zh.svg +0 -11
- package/static/images/flags/zm.svg +0 -27
- package/static/images/flags/zw.svg +0 -21
- package/static/images/flags.png +0 -0
- package/static/images/home.jpg +0 -0
- package/static/images/logo.svg +0 -1
- package/static/images/showIf.png +0 -0
- package/static/images/ui-architecture.png +0 -0
- package/static/images/ui-render-inspect.png +0 -0
- package/static/images/ui-render-version.png +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE — DO NOT EDIT. Run `npm run docs:views` to regenerate.
|
|
3
|
+
Inventory and resolution status come from the FIELD constants and the resolver source;
|
|
4
|
+
the prose comes from scripts/view-reference-curation.js. Generator: scripts/generate-view-reference.js.
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
# Supported `view` types
|
|
8
|
+
|
|
9
|
+
Every name a `meta.json` may use: the `view` of a node, the value of a `render*`
|
|
10
|
+
attribute, and the action names accepted by `onClick`, `onChange` and `onDone`.
|
|
11
|
+
|
|
12
|
+
**This page is generated.** Editing it by hand is pointless — the contract test
|
|
13
|
+
regenerates it and fails on any difference. Run `npm run docs:views` after changing a
|
|
14
|
+
`FIELD` constant or a resolver `case`, and edit prose in `scripts/view-reference-curation.js`.
|
|
15
|
+
|
|
16
|
+
Props are documented separately: `docs/SUPPORTED-PROPS.md` covers the prop surface of the
|
|
17
|
+
three views the `semantic-ui-react` exit replaced — all three are in-house since §9.7-F1
|
|
18
|
+
step 3 part 2, and no file in `src` references the package any more. Every component's
|
|
19
|
+
props are also its exported TypeScript props type, and the meta contract the package
|
|
20
|
+
publishes is typed in `dist/contract.d.ts`.
|
|
21
|
+
|
|
22
|
+
## How a node is resolved
|
|
23
|
+
|
|
24
|
+
A node's `view` is dispatched by `Render.Component` in
|
|
25
|
+
`src/core/engine/mapper.tsx`: a `switch` handles the layout and display
|
|
26
|
+
views directly, and its `default` branch hands form fields to `renderField` in
|
|
27
|
+
`src/core/engine/components/renders.tsx`.
|
|
28
|
+
|
|
29
|
+
Two consequences worth knowing before authoring meta:
|
|
30
|
+
|
|
31
|
+
- **An unknown `view` is not an error.** It reaches `renderField`'s `default`,
|
|
32
|
+
which renders `PlaceholderField`: a red box showing the `view` name followed by
|
|
33
|
+
"field does not exist!" in place of the node. Every `view` in the second table
|
|
34
|
+
below behaves the same way — the constant exists, but nothing dispatches it.
|
|
35
|
+
- **An unknown `render*` value is not an error either.** `Render.Method` falls
|
|
36
|
+
back to rendering the value as plain text, so a misspelled renderer name looks
|
|
37
|
+
like a deliberately unformatted value.
|
|
38
|
+
|
|
39
|
+
## Views — `view` (37)
|
|
40
|
+
|
|
41
|
+
### Resolved (37)
|
|
42
|
+
|
|
43
|
+
| `view` | Constant | Resolves to | Dispatched by | Description |
|
|
44
|
+
| --- | --- | --- | --- | --- |
|
|
45
|
+
| `AutoSubmit` | `FIELD.TYPE.AUTO_SUBMIT` | `AutoSave` | `mapper.tsx` switch | Renders no markup of its own and calls its `onChange` with the form values whenever they change, so `"onChange": "submit"` submits the form. `onChange` is required; `delay` debounces it, `partial` sends only changed values and `showLoader` overlays a spinner while saving. |
|
|
46
|
+
| `Button` | `FIELD.TYPE.BUTTON` | `Button` | `mapper.tsx` switch | Clickable button whose content comes from `items`, or from a plain `label` when there are no children. `onClick` takes an action name or an action object — see the action table below. |
|
|
47
|
+
| `Checkbox` | `FIELD.TYPE.CHECKBOX` | `Checkbox` | `mapper.tsx` switch | Standalone checkbox with an optional label, driven by the `value` and `onChange` props of the node. Presentational only — it registers no form value. Use `Toggle`, or `Input` with `type: "toggle"`, for a form-bound checkbox. |
|
|
48
|
+
| `Col` | `FIELD.TYPE.COL` | `View` | `mapper.tsx` switch | Vertical flex container that renders `items` as its children. Aliases: `Column`, `VerticalLayout`. |
|
|
49
|
+
| `ColList` | `FIELD.TYPE.COL_LIST` | `List` | `mapper.tsx` switch | Alias of `List`. |
|
|
50
|
+
| `Column` | `FIELD.TYPE.COL2` | `View` | `mapper.tsx` switch | Alias of `Col`. |
|
|
51
|
+
| `Counter` | `FIELD.TYPE.COUNTER` | `Counter` | `mapper.tsx` switch | Number that animates from `start` to `end` when it mounts. A change of `start`, `end`, `duration`, `delay` or `interval` runs the animation again. |
|
|
52
|
+
| `Data` | `FIELD.TYPE.DATA` | `Data` | `mapper.tsx` switch | Nested render instance: `meta` carries the nested declaration, `data` or `name` selects the values its views display, and `kind` groups sibling instances into one array for validation. Its fields belong to the parent's form, unless `useForm` gives it a form of its own; a `renderExtraItem` declaration sets `useForm`, and what a user types in that draft row is not data until the row is added: `getFormData`, a submit, an upload and `onApplyPeriods` leave it out. Outside a table row its fields keep their own names, from the root of the form's values, whatever `name` selects: a field shows and writes the root's value at its name, and `getFormData` returns it there. A `useForm` form starts from the selected values, and `getFormData` still returns its fields at the root, under their names. With `localDraft` and a `TableCells` declaration it renders a draft row that keeps its values in local state until the row is added. Any falsy local value falls back to the root `data`, so the nested block still has an object to bind against. |
|
|
53
|
+
| `Dropdown` | `FIELD.TYPE.DROPDOWN` | `Dropdown` | `mapper.tsx` default branch | Option list that deliberately does not write a form value; its `onChange` is proxied so the handler receives the selected value alone. `mapOptions` maps each entry of `options`, usually bound to the data with `{name}`, onto an option. Use `Select` for the form-bound equivalent. |
|
|
54
|
+
| `Expand` | `FIELD.TYPE.EXPAND` | `Expand` | `mapper.tsx` switch | Expanding and collapsing section with a clickable title, taking `items` as the collapsed content. A `label`, or failing that a `name`, is promoted to `title` when no `title` is given. |
|
|
55
|
+
| `ExpandList` | `FIELD.TYPE.EXPAND_LIST` | `ExpandList` | `mapper.tsx` switch | One `Expand` per entry of the node data, titled by `renderLabel` and filled by `renderItem`. |
|
|
56
|
+
| `HorizontalLayout` | `FIELD.TYPE.ROW2` | `Row` | `mapper.tsx` switch | Alias of `Row`. |
|
|
57
|
+
| `HorizontalList` | `FIELD.TYPE.ROW_LIST2` | `List` | `mapper.tsx` switch | Alias of `RowList`. |
|
|
58
|
+
| `Icon` | `FIELD.TYPE.ICON` | `Icon` | `mapper.tsx` switch | Icon named by its font class, with `items` rendered as its children. |
|
|
59
|
+
| `Image` | `FIELD.TYPE.IMAGE` | `Image` | `mapper.tsx` switch | Image addressed by `name` plus optional `path`, or by a direct `src`. Without `src`, the `name` is lower-cased, with spaces turned into dashes, and read from `path`, which defaults to the host's `/static/images/`: the package ships no images. `alt` defaults to the `name` without its extension. |
|
|
60
|
+
| `Input` | `FIELD.TYPE.INPUT` | `InputField` | `mapper.tsx` default branch, `renderField` | Form-bound input whose `type` picks the widget. `type` of `select`, `slider`, `toggle` or `file` re-dispatches the node as `Select`, `SliderLabel`, `Toggle` or `Upload`; `number` and `date` stay `Input` and resolve to the number and date fields; `min`/`max` on a number install a range validator; an `icon` object is rendered recursively. |
|
|
61
|
+
| `Label` | `FIELD.TYPE.LABEL` | `Label` | `mapper.tsx` switch | A `<label>` element wrapping `items` as its children. |
|
|
62
|
+
| `List` | `FIELD.TYPE.LIST` | `List` | `mapper.tsx` switch | Renders the node data array through `renderItem` inside a vertical container. Aliases: `ColList`, `VerticalList`. `RowList` and `HorizontalList` are the horizontal form. |
|
|
63
|
+
| `PieChart` | `FIELD.TYPE.PIE_CHART` | `PieChart` | `mapper.tsx` switch | Pie chart drawn as an inline SVG donut from the node data. `mapItems` maps each datum onto the chart shape; `legends`, `pointers` and `sort` control labelling and order. |
|
|
64
|
+
| `Popup` | `FIELD.TYPE.POPUP` | `PopupContent` | `mapper.tsx` switch | Registers its `items` on the render instance under `id` and renders nothing in place; the content is mounted only when the `popupOpen` action opens it. An `id` containing `{...}` is kept as a template and interpolated at open time, so one declaration can serve many rows. The popup shows the node's `title` above its `items`; no other key of the node has an effect. |
|
|
65
|
+
| `ProgressSteps` | `FIELD.TYPE.PROGRESS_STEPS` | `ProgressSteps` | `mapper.tsx` switch | Step indicator whose items each carry `step`, `label` and `content`, any of which may itself be a view declaration. |
|
|
66
|
+
| `Row` | `FIELD.TYPE.ROW` | `Row` | `mapper.tsx` switch | Horizontal flex container that renders `items` as its children. Alias: `HorizontalLayout`. |
|
|
67
|
+
| `RowList` | `FIELD.TYPE.ROW_LIST` | `List` | `mapper.tsx` switch | Renders the node data array through `renderItem` inside a horizontal container. Alias: `HorizontalList`. Same component as `List`, with the `row` flag set. |
|
|
68
|
+
| `Select` | `FIELD.TYPE.SELECT` | `DropdownField` | `mapper.tsx` default branch, `renderField`, `Input` `type` | Form-bound option list. When `mapOptions.value` is something other than `{index}`, `onChange` is handed the option index instead of the value, so `{state.…}` paths and cascading selects keep working. |
|
|
69
|
+
| `SliderLabel` | `FIELD.TYPE.SLIDER` | `SliderField` | `renderField`, `Input` `type` | Form-bound slider with a label. Also reached from `view: "Input"` with `type: "slider"`. |
|
|
70
|
+
| `Space` | `FIELD.TYPE.SPACE` | `Space` | `mapper.tsx` switch | Empty spacer between sibling items. |
|
|
71
|
+
| `Table` | `FIELD.TYPE.TABLE` | `TableView` | `mapper.tsx` switch | Table with dynamic `headers`, optional sorting, pagination, column groups and a `renderCell` declaration per header. `group` pivots rows into grouped columns, `extraItems` appends computed rows, `filterItems` keeps only rows matching the parent row, and the node `name` is expanded to the full dot-path its row inputs register under. A header in `headers` or `extraHeaders` shows its `label`; without one it shows no text, and its `id` is hidden text that names it for screen readers (meta contract 2: under 1 the `id` showed), while `label: ""` names nothing. A table without `headers` takes them from its first row's keys and shows those. |
|
|
72
|
+
| `TableCells` | `FIELD.TYPE.TABLE_CELLS` | `Table.Cell` | `mapper.tsx` switch | Renders each entry of `items` inside its own table cell. Each cell inherits the row `relativePath` and `relativeIndex`, which is what keeps nested input names row-scoped (`path[0].field`, not `path.field`). |
|
|
73
|
+
| `TabList` | `FIELD.TYPE.TAB_LIST` | `TabList` | `mapper.tsx` switch | Tabs built from the node data array, labelled by `renderLabel` and filled by `renderItem`. |
|
|
74
|
+
| `Tabs` | `FIELD.TYPE.TABS` | `Tabs` | `mapper.tsx` switch | Tab strip whose items each carry a `tab` and a `content`, either of which may be a nested view declaration. Items are consumed as `{tab, content}` pairs, so a `view` on an item is ignored — the `view: "Tab"` that several example metas carry resolves to nothing at all. `childrenBeforeTabs` and `childrenAfterTabs` render outside the strip. |
|
|
75
|
+
| `Text` | `FIELD.TYPE.TEXT` | `Text` | `mapper.tsx` switch | Text node whose content comes from `items`, from `renderLabel`, from a plain `label`, or from the value at `name`. |
|
|
76
|
+
| `Title` | `FIELD.TYPE.TITLE` | `Text` | `mapper.tsx` switch | A `Text` node with the `h3` class prepended, for consistent headings. |
|
|
77
|
+
| `Toggle` | `FIELD.TYPE.TOGGLE` | `ToggleField` | `renderField`, `Input` `type` | Form-bound checkbox rendered as a toggle. Also reached from `view: "Input"` with `type: "toggle"`. |
|
|
78
|
+
| `Tooltip` | `FIELD.TYPE.TOOLTIP` | `Tooltip` | `mapper.tsx` switch | Tooltip whose body comes from `label` and whose trigger is a nested `children` or `items` declaration. A `label` is promoted to `content` when no `content` is given (`mapper.tsx`), and `content` is what the tooltip renders — it is an explicit alias for `title` that wins over it. Any node can also carry a `tooltip` attribute instead of using this view, and that attribute may be an object, whose properties are spread into the tooltip — narrowed at §9.7-F1 step 2 part 3 from the 45 names `semantic-ui-react` accepted to 13, with the 19 reachable-and-plausible ones warning once each in development. **Correction (step 2 part 1):** this entry once said `items` supplied the tooltip *body*; measured, `items` becomes the TRIGGER. **And a correction to that correction (step 2 part 3):** part 1 measured the `items` form as not rendering at all, because `semantic-ui-react` required the trigger to be exactly one element (`React.Children.only`) while `mapper.tsx` builds an array, so it threw and left the engine error diagnostic in the node's place. The in-house tooltip has no such restriction — the trigger is rendered as children, so `items` renders the trigger AND the tooltip. `UIRender.overlay-behavior.test.js` pins the new behaviour, in the test that pinned the old failure until it was flipped. **Opens on hover (after 500 ms) and on keyboard focus, NOT on click or tap** — the click gesture was dropped at step 2 part 3 because every tooltipped node owns its own `onClick`; see `docs/SUPPORTED-PROPS.md` under `dropped.on`. |
|
|
79
|
+
| `Upload` | `FIELD.TYPE.UPLOAD` | `UploadField` | `renderField`, `Input` `type` | Form-bound file upload with drag and drop, taking several files unless `multiple` is false. Also reached from `view: "Input"` with `type: "file"`. `formats` lists the accepted extensions; with neither `formats` nor a known `fileType`, any file is accepted. Uploading is wired to the host `uploadFile` API call through the `upload` action. |
|
|
80
|
+
| `VerticalLayout` | `FIELD.TYPE.COL3` | `View` | `mapper.tsx` switch | Alias of `Col`. |
|
|
81
|
+
| `VerticalList` | `FIELD.TYPE.COL_LIST3` | `List` | `mapper.tsx` switch | Alias of `List`. |
|
|
82
|
+
|
|
83
|
+
### Declared, but no resolver case (0)
|
|
84
|
+
|
|
85
|
+
A node using one of these renders the "field does not exist!" placeholder.
|
|
86
|
+
They are listed because the constants are exported and reachable, so meta
|
|
87
|
+
authors and IDE tooling do see them.
|
|
88
|
+
|
|
89
|
+
| `view` | Constant | Declared in | Description |
|
|
90
|
+
| --- | --- | --- | --- |
|
|
91
|
+
|
|
92
|
+
## Value renderers — `render*` (7)
|
|
93
|
+
|
|
94
|
+
Used as the value of any attribute whose name starts with `render`
|
|
95
|
+
(`renderCell`, `renderItem`, `renderLabel`, …). All of these are wired in
|
|
96
|
+
`Render.Method`; anything else falls back to plain text.
|
|
97
|
+
|
|
98
|
+
| `render*` value | Constant | Description |
|
|
99
|
+
| --- | --- | --- |
|
|
100
|
+
| `Currency` | `FIELD.RENDER.CURRENCY` | Number prefixed with a currency symbol, where `decimals` defaults to 2 and `symbol` to `$`. A non-numeric value renders nothing. In every form, the name or `{"name": "Currency"}`, at the top of a `render*` attribute or inside its `values`, it takes the symbol from the root meta's `currencyCode`, or from one an object form gives: `$` for `USD`, the default, `€` for `EUR`, `£` for `GBP`, and the code itself for any other. A `symbol` the object form gives wins over both. |
|
|
101
|
+
| `Date` | `FIELD.RENDER.DATE` | Value formatted as a date. An empty value renders nothing. |
|
|
102
|
+
| `Double5` | `FIELD.RENDER.DOUBLE5` | Number with exactly five decimal places, ignoring any `decimals` given. A non-numeric value renders nothing. |
|
|
103
|
+
| `Float` | `FIELD.RENDER.FLOAT` | Number with `decimals` decimal places. Without `decimals` it shows an integer, rounded. A non-numeric value renders nothing. |
|
|
104
|
+
| `Percent` | `FIELD.RENDER.PERCENT` | Number multiplied by 100 and suffixed with a percent sign, with `decimals` decimal places. Without `decimals` it shows an integer, rounded. A non-numeric value renders nothing. |
|
|
105
|
+
| `String` | `FIELD.RENDER.STRING` | Value as plain text. |
|
|
106
|
+
| `Title+Input` | `FIELD.RENDER.TITLE_n_INPUT` | Value as text inside a row. The name is historical: there is no input in the implementation, only the value as text. |
|
|
107
|
+
|
|
108
|
+
## Actions — `onClick` / `onChange` / `onDone` (13)
|
|
109
|
+
|
|
110
|
+
Given as a string (`"submit"`, or `"setState,active.tab"` to append arguments)
|
|
111
|
+
or as an object (`{name, args, mapArgs, onDone}`). Resolved through `FIELD.FUNC`.
|
|
112
|
+
A name that is not below stays an unresolved string rather than raising.
|
|
113
|
+
|
|
114
|
+
| Action | Constant | Registered in | Description |
|
|
115
|
+
| --- | --- | --- | --- |
|
|
116
|
+
| `addData` | `FIELD.ACTION.ADD_DATA` | `engine/rules.tsx` | Validates the nested form and appends its values as a new row of the parent instance `dataKind` array. Warns and does nothing when the node has no parent instance and form. |
|
|
117
|
+
| `download` | `FIELD.ACTION.DOWNLOAD` | `engine/rules.tsx` | Calls the host `downloadFile` API call with the first argument and saves the response as a file, named by the second argument when that is a non-empty string and by the first otherwise. Does nothing when the host supplies no `downloadFile`. With no name at all the browser names the saved file. A failure opens an error popup titled with the error message. |
|
|
118
|
+
| `fetch` | `FIELD.ACTION.FETCH` | `engine/rules.tsx` | The global `fetch`. |
|
|
119
|
+
| `onApplyPeriods` | `FIELD.ACTION.ON_APPLY_PERIODS` | `engine/rules.tsx` | Sends the form data to the host `updateData` API call and restarts the form with the normalized response. Sends nothing while a field the user can change shows its validation error, and shows nothing new: the field shows its own. A disabled or readonly field does not hold it back, nor does a table's draft row (`renderExtraItem`), which is not sent. Does nothing when the host supplies no `updateData`, or the same call under its deprecated old name. An empty response (`undefined`, `null`, `''`, `0`) leaves the data as it was; failures open an error popup. |
|
|
120
|
+
| `popup` | `FIELD.ACTION.POPUP` | `engine/rules.tsx` | Opens an alert popup with the given title and content. |
|
|
121
|
+
| `popupOpen` | `FIELD.ACTION.POPUP_OPEN` | `engine/rules.tsx` | Opens the content registered by a `Popup` node with the given `id`. Event arguments are filtered out, and the row index is forwarded so fields inside the popup address the row that opened it. Of an options object after the `id`, only `relativeIndex` and `relativePath` are read, for a template popup's row. |
|
|
122
|
+
| `removeData` | `FIELD.ACTION.REMOVE_DATA` | `engine/rules.tsx` | Removes the current row from the parent instance `dataKind` array through the parent form array mutator. Warns and does nothing when the node has no parent instance and form. |
|
|
123
|
+
| `reset` | `FIELD.ACTION.RESET` | `engine/rules.tsx` | Resets the form to its initial values. |
|
|
124
|
+
| `setState` | `FIELD.ACTION.SET_STATE` | `engine/rules.tsx` | Writes the incoming value into the render instance state at the path given as the argument, for example `setState,active.tab`. This is the channel `{state.…}` templates and `showIf` read; a `Dropdown` or `Select` with a `name` and no `onChange` gets `setState,<name>` installed automatically. |
|
|
125
|
+
| `submit` | `FIELD.ACTION.SUBMIT` | `engine/rules.tsx` | Submits the form, first merging the values of every nested `dataKind` instance into the payload. |
|
|
126
|
+
| `updateDataOnChange` | `FIELD.ACTION.UPDATE_DATA_ON_CHANGE` | `engine/rules.tsx` | Writes a changed primitive value into every property of the instance data whose key is the field `name`, at any depth. Marked in the source as a temporary solution; it ignores object values, and does nothing when called without a field object. |
|
|
127
|
+
| `upload` | `FIELD.ACTION.UPLOAD` | `engine/rules.tsx` | Sends the current form data without the file field, the first picked file and every picked file to the host `uploadFile` API call as `(serializedData, file, files)`, and restarts the form with the normalized response. Does nothing when the host supplies no `uploadFile`. An empty response (`undefined`, `null`, `''`, `0`) leaves the data as it was; a failure is logged, with no popup. |
|
|
128
|
+
| `warn` | `FIELD.ACTION.WARN` | `variables/fields.ts` | Logs the arguments with `console.warn`. |
|
|
129
|
+
|
|
130
|
+
## What this page does and does not guarantee
|
|
131
|
+
|
|
132
|
+
Guaranteed by the generator and its contract test: the three inventories are
|
|
133
|
+
complete, every string matches its constant, and the resolved/unresolved split
|
|
134
|
+
matches the resolver source. Add or delete a constant or a `case` and the check
|
|
135
|
+
fails until the page is regenerated.
|
|
136
|
+
|
|
137
|
+
Not guaranteed: the descriptions. They are curated prose, so a change to what a
|
|
138
|
+
view *renders* — as opposed to whether it resolves — will not fail anything. That
|
|
139
|
+
gap closes when the resolver becomes a registry table (UPGRADE-PLAN §9.3); until
|
|
140
|
+
then, treat the prose as reviewed documentation rather than a machine-checked fact.
|
package/meta.schema.json
ADDED
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://eisgroup.github.io/ui-render/meta.schema.json",
|
|
4
|
+
"title": "eis-ui-render meta.json",
|
|
5
|
+
"description": "UI declaration consumed by the eis-ui-render UIRender component. A meta.json file is a single root Field node; every node may nest further nodes under `items`. The schema is deliberately open: nodes accept properties beyond the ones listed here, because component props are forwarded to the underlying React component. Constraints are only declared where the engine genuinely requires them — every one of them corresponds to a verified runtime failure but the format of `metaVersion`, which the engine ignores, and the shipped test suite validates all bundled examples against this file.",
|
|
6
|
+
"$ref": "#/$defs/node",
|
|
7
|
+
"properties": {
|
|
8
|
+
"$schema": {
|
|
9
|
+
"description": "OPTIONAL pointer to this schema, e.g. \"./node_modules/eis-ui-render/meta.schema.json\". Editors pick up validation and autocomplete from it with no workspace configuration. The engine strips the field before rendering, so it costs nothing at runtime.",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"metaVersion": {
|
|
13
|
+
"$ref": "#/$defs/metaVersion"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"$defs": {
|
|
17
|
+
"metaVersion": {
|
|
18
|
+
"description": "OPTIONAL contract version this file was authored against, as `MAJOR` or `MAJOR.MINOR` (current: \"2\", in which a Table header without a `label` shows no text, where 1 showed its `id`). Root-level only. Absence means \"current\": the file targets whatever contract the installed eis-ui-render implements, which is the right choice when meta and library ship together. MAJOR changes only for a change that would break existing meta; MINOR for additive ones. The engine ignores the value and strips the field before rendering, so declaring it never changes output.",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[0-9]+(\\.[0-9]+)?$",
|
|
21
|
+
"examples": [
|
|
22
|
+
"1",
|
|
23
|
+
"1.0"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"node": {
|
|
27
|
+
"description": "A Field node. `view` selects the React component; `items` nests children.",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"view": {
|
|
31
|
+
"$ref": "#/$defs/view"
|
|
32
|
+
},
|
|
33
|
+
"name": {
|
|
34
|
+
"description": "Dot/bracket key path into data.json (or into the node's inherited relative data). Curly braces interpolate dynamic state, e.g. \"group.{state.group,0}.title\". MUST be a string: the engine interpolates it with String.prototype.replace, so any other type throws during render.",
|
|
35
|
+
"type": [
|
|
36
|
+
"string",
|
|
37
|
+
"null"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"items": {
|
|
41
|
+
"description": "Nested child nodes. MUST be an array, or a `{ name }` value transform that resolves to one: the engine maps over it, so any other type throws during render.",
|
|
42
|
+
"anyOf": [
|
|
43
|
+
{
|
|
44
|
+
"type": [
|
|
45
|
+
"array",
|
|
46
|
+
"null"
|
|
47
|
+
],
|
|
48
|
+
"items": {
|
|
49
|
+
"$ref": "#/$defs/nodeEntry"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"$ref": "#/$defs/valueRef"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"relativeData": {
|
|
58
|
+
"description": "false stops this node resolving its local data by `name` (a Table still does), so it keeps the data it inherited. In a value transform, a render* definition or a showIf, false reads `name` from the root data.json. Inherited by descendants; a descendant may opt back in with true.",
|
|
59
|
+
"type": [
|
|
60
|
+
"boolean",
|
|
61
|
+
"null"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"showIf": {
|
|
65
|
+
"description": "Conditional rendering. A string is a key path that must be truthy. An object narrows it: {name, equal, relativeData}; an empty object tests the node's own local data.",
|
|
66
|
+
"$ref": "#/$defs/showIf"
|
|
67
|
+
},
|
|
68
|
+
"headers": {
|
|
69
|
+
"description": "Table column definitions, each a node-shaped object (`id`, `label`, `renderCell`, ...). A header shows its `label`. Without one it shows no text, and its `id` is hidden text that names it for screen readers; `label: \"\"` names nothing. MUST be an array, or a `{ name }` value transform that resolves to one: the Table component maps over it.",
|
|
70
|
+
"anyOf": [
|
|
71
|
+
{
|
|
72
|
+
"type": [
|
|
73
|
+
"array",
|
|
74
|
+
"null"
|
|
75
|
+
],
|
|
76
|
+
"items": {
|
|
77
|
+
"$ref": "#/$defs/nodeEntry"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"$ref": "#/$defs/valueRef"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"extraHeaders": {
|
|
86
|
+
"description": "Additional rows of Table headers, rendered above `headers` in the order given: each row an array of header definitions (`label`, `colSpan`, ...), which show their `label` as `headers` do. MUST be an array, or a `{ name }` value transform that resolves to one.",
|
|
87
|
+
"anyOf": [
|
|
88
|
+
{
|
|
89
|
+
"type": [
|
|
90
|
+
"array",
|
|
91
|
+
"null"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"$ref": "#/$defs/valueRef"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"extraItems": {
|
|
100
|
+
"description": "Additional Table rows appended after the data rows. MUST be an array, or a `{ name }` value transform that resolves to one.",
|
|
101
|
+
"anyOf": [
|
|
102
|
+
{
|
|
103
|
+
"type": [
|
|
104
|
+
"array",
|
|
105
|
+
"null"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"$ref": "#/$defs/valueRef"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"meta": {
|
|
114
|
+
"description": "Nested UIRender declaration. The engine does not transform this subtree — the nested instance validates and renders it on its own — so it is a complete meta document, including its own optional `metaVersion`.",
|
|
115
|
+
"$ref": "#"
|
|
116
|
+
},
|
|
117
|
+
"onClick": {
|
|
118
|
+
"$ref": "#/$defs/functionRef"
|
|
119
|
+
},
|
|
120
|
+
"onChange": {
|
|
121
|
+
"$ref": "#/$defs/functionRef"
|
|
122
|
+
},
|
|
123
|
+
"onDone": {
|
|
124
|
+
"$ref": "#/$defs/functionRef"
|
|
125
|
+
},
|
|
126
|
+
"onFocus": {
|
|
127
|
+
"description": "Called when the node takes focus. On a field, after the field's own handling, never in its place.",
|
|
128
|
+
"$ref": "#/$defs/functionRef"
|
|
129
|
+
},
|
|
130
|
+
"onBlur": {
|
|
131
|
+
"description": "Called when the node loses focus. On a field, after the field's own handling, never in its place.",
|
|
132
|
+
"$ref": "#/$defs/functionRef"
|
|
133
|
+
},
|
|
134
|
+
"type": {
|
|
135
|
+
"description": "Input variant. `select`, `slider`, `toggle` and `file` re-resolve an Input node to the matching field component; `number` and `date` select the numeric and date field. Any other value is passed through to the underlying input element.",
|
|
136
|
+
"$ref": "#/$defs/inputType"
|
|
137
|
+
},
|
|
138
|
+
"format": {
|
|
139
|
+
"description": "Name of a value normalizer applied when displaying the field value.",
|
|
140
|
+
"$ref": "#/$defs/normalizerName"
|
|
141
|
+
},
|
|
142
|
+
"normalize": {
|
|
143
|
+
"description": "Name of a value normalizer applied to the field value on change.",
|
|
144
|
+
"$ref": "#/$defs/normalizerName"
|
|
145
|
+
},
|
|
146
|
+
"parse": {
|
|
147
|
+
"description": "Name of a value parser (falls back to the normalizer of the same name) applied when reading the field value back.",
|
|
148
|
+
"$ref": "#/$defs/normalizerName"
|
|
149
|
+
},
|
|
150
|
+
"validate": {
|
|
151
|
+
"description": "Field validation. A string names a built-in validator. Any other shape is forwarded to the form library unchanged."
|
|
152
|
+
},
|
|
153
|
+
"verify": {
|
|
154
|
+
"description": "Cross-field validation, composed ahead of `validate`. `validate` here is one {name, args} definition or a list of them; remaining properties are passed to each validator as options.",
|
|
155
|
+
"type": [
|
|
156
|
+
"object",
|
|
157
|
+
"null"
|
|
158
|
+
],
|
|
159
|
+
"properties": {
|
|
160
|
+
"validate": {
|
|
161
|
+
"description": "One cross-field validator definition, or a list of them."
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"mapOptions": {
|
|
166
|
+
"description": "Maps raw option objects to the {text, value} shape a Select/Dropdown needs. A string picks that single key path; an object maps target prop -> source key path, where the literal \"{index}\" yields the option's array index as a string.",
|
|
167
|
+
"$ref": "#/$defs/mapper"
|
|
168
|
+
},
|
|
169
|
+
"mapItems": {
|
|
170
|
+
"description": "Maps raw data rows to the shape a chart needs, in the same form as `mapOptions`.",
|
|
171
|
+
"$ref": "#/$defs/mapper"
|
|
172
|
+
},
|
|
173
|
+
"filterItems": {
|
|
174
|
+
"description": "Row filter definitions applied to the node's collection.",
|
|
175
|
+
"type": [
|
|
176
|
+
"array",
|
|
177
|
+
"null"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"tooltip": {
|
|
181
|
+
"description": "Wraps the rendered node in a tooltip. A string is the tooltip title; an object is passed to the tooltip component."
|
|
182
|
+
},
|
|
183
|
+
"styles": {
|
|
184
|
+
"description": "CSS class names. Transformed into `className` before rendering; the object form is the single-key value transform.",
|
|
185
|
+
"$ref": "#/$defs/stringOrValueRef"
|
|
186
|
+
},
|
|
187
|
+
"className": {
|
|
188
|
+
"description": "CSS class names, used as-is.",
|
|
189
|
+
"$ref": "#/$defs/stringOrValueRef"
|
|
190
|
+
},
|
|
191
|
+
"label": {
|
|
192
|
+
"description": "Visible label. The object form is the single-key value transform."
|
|
193
|
+
},
|
|
194
|
+
"children": {
|
|
195
|
+
"description": "Literal content for text-like views, used when the node declares no `items`."
|
|
196
|
+
},
|
|
197
|
+
"tab": {
|
|
198
|
+
"description": "Tabs item header: a string, or a node rendered as the tab header."
|
|
199
|
+
},
|
|
200
|
+
"content": {
|
|
201
|
+
"description": "Tabs / ProgressSteps item body: a node rendered lazily when the item becomes active."
|
|
202
|
+
},
|
|
203
|
+
"metaVersion": {
|
|
204
|
+
"description": "Only meaningful on the root node. The engine strips it everywhere; on a nested node it is silently ignored.",
|
|
205
|
+
"$ref": "#/$defs/metaVersion"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"patternProperties": {
|
|
209
|
+
"^render": {
|
|
210
|
+
"$ref": "#/$defs/renderer"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"nodeEntry": {
|
|
215
|
+
"description": "An entry in a node collection. `null` is allowed because the engine deletes null attributes and filters null array entries before rendering, so a null entry is dropped rather than rendered.",
|
|
216
|
+
"anyOf": [
|
|
217
|
+
{
|
|
218
|
+
"$ref": "#/$defs/node"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"type": "null"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
"showIf": {
|
|
226
|
+
"anyOf": [
|
|
227
|
+
{
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"type": "object",
|
|
232
|
+
"properties": {
|
|
233
|
+
"name": {
|
|
234
|
+
"description": "Key path whose value is tested. Supports {state.x} interpolation.",
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"equal": {
|
|
238
|
+
"description": "When present, the value at `name` must deep-equal this. When absent, the value must be truthy."
|
|
239
|
+
},
|
|
240
|
+
"relativeData": {
|
|
241
|
+
"description": "false resolves `name` against the root data instead of the inherited local data.",
|
|
242
|
+
"type": [
|
|
243
|
+
"boolean",
|
|
244
|
+
"null"
|
|
245
|
+
]
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"type": "null"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
"renderer": {
|
|
255
|
+
"description": "A `render*` value transform. A string names a built-in render method (unknown names fall back to plain text). An object is either a nested field definition (has `view`), a function definition (has `name`), or a value-match map (has `values`).",
|
|
256
|
+
"anyOf": [
|
|
257
|
+
{
|
|
258
|
+
"$ref": "#/$defs/renderMethodName"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"$ref": "#/$defs/node"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "null"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
"functionRef": {
|
|
269
|
+
"description": "A handler. A string names a built-in action, a host-supplied `methods` entry or a renderer instance method, with comma-separated trailing arguments (e.g. \"setState,active.group\"). The object form adds arguments and chaining.",
|
|
270
|
+
"anyOf": [
|
|
271
|
+
{
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"name": {
|
|
278
|
+
"description": "Action name.",
|
|
279
|
+
"$ref": "#/$defs/actionName"
|
|
280
|
+
},
|
|
281
|
+
"args": {
|
|
282
|
+
"description": "Extra arguments appended after the caller's own arguments. Strings containing curly braces are interpolated with the current row index and value.",
|
|
283
|
+
"type": "array"
|
|
284
|
+
},
|
|
285
|
+
"mapArgs": {
|
|
286
|
+
"description": "Replaces the caller's arguments with values interpolated from them and from data.json.",
|
|
287
|
+
"type": "array"
|
|
288
|
+
},
|
|
289
|
+
"onDone": {
|
|
290
|
+
"description": "Chained handler invoked with the result (awaited when the result is a Promise).",
|
|
291
|
+
"$ref": "#/$defs/functionRef"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "null"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
"mapper": {
|
|
301
|
+
"anyOf": [
|
|
302
|
+
{
|
|
303
|
+
"type": "string"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"type": "object"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "null"
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
"stringOrValueRef": {
|
|
314
|
+
"anyOf": [
|
|
315
|
+
{
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "number"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"$ref": "#/$defs/valueRef"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "object",
|
|
326
|
+
"description": "An object whose truthy keys are used as class names."
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"type": "array"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "null"
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"description": "A class-name value. Passed to `classNames()`, which accepts a string or number, an array of those (recursively), an object whose truthy keys are used, or null."
|
|
336
|
+
},
|
|
337
|
+
"valueRef": {
|
|
338
|
+
"description": "Single-key value transform: replaced by the value found at `name` before rendering. Only `name`, with an optional `relativeData`: the engine transforms an object with no other key, and passes any other on as it is.",
|
|
339
|
+
"type": "object",
|
|
340
|
+
"required": [
|
|
341
|
+
"name"
|
|
342
|
+
],
|
|
343
|
+
"properties": {
|
|
344
|
+
"name": {
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"relativeData": {
|
|
348
|
+
"type": [
|
|
349
|
+
"boolean",
|
|
350
|
+
"null"
|
|
351
|
+
]
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"additionalProperties": false
|
|
355
|
+
},
|
|
356
|
+
"view": {
|
|
357
|
+
"description": "Component type. The listed values are the vocabulary the engine declares; an unlisted string is accepted by this schema but renders a \"field does not exist\" placeholder, so the dev-mode validator reports it.",
|
|
358
|
+
"anyOf": [
|
|
359
|
+
{
|
|
360
|
+
"enum": [
|
|
361
|
+
"AutoSubmit",
|
|
362
|
+
"Button",
|
|
363
|
+
"Checkbox",
|
|
364
|
+
"Col",
|
|
365
|
+
"ColList",
|
|
366
|
+
"Column",
|
|
367
|
+
"Counter",
|
|
368
|
+
"Data",
|
|
369
|
+
"Dropdown",
|
|
370
|
+
"Expand",
|
|
371
|
+
"ExpandList",
|
|
372
|
+
"HorizontalLayout",
|
|
373
|
+
"HorizontalList",
|
|
374
|
+
"Icon",
|
|
375
|
+
"Image",
|
|
376
|
+
"Input",
|
|
377
|
+
"Label",
|
|
378
|
+
"List",
|
|
379
|
+
"PieChart",
|
|
380
|
+
"Popup",
|
|
381
|
+
"ProgressSteps",
|
|
382
|
+
"Row",
|
|
383
|
+
"RowList",
|
|
384
|
+
"Select",
|
|
385
|
+
"SliderLabel",
|
|
386
|
+
"Space",
|
|
387
|
+
"TabList",
|
|
388
|
+
"Table",
|
|
389
|
+
"TableCells",
|
|
390
|
+
"Tabs",
|
|
391
|
+
"Text",
|
|
392
|
+
"Title",
|
|
393
|
+
"Toggle",
|
|
394
|
+
"Tooltip",
|
|
395
|
+
"Upload",
|
|
396
|
+
"VerticalLayout",
|
|
397
|
+
"VerticalList"
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"type": "string"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"renderMethodName": {
|
|
406
|
+
"description": "Built-in value renderer. An unlisted string is accepted here but falls back to plain text at runtime, so the dev-mode validator reports it.",
|
|
407
|
+
"anyOf": [
|
|
408
|
+
{
|
|
409
|
+
"enum": [
|
|
410
|
+
"Currency",
|
|
411
|
+
"Date",
|
|
412
|
+
"Double5",
|
|
413
|
+
"Float",
|
|
414
|
+
"Percent",
|
|
415
|
+
"String",
|
|
416
|
+
"Title+Input"
|
|
417
|
+
]
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"type": "string"
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
"actionName": {
|
|
425
|
+
"description": "Built-in action. Host applications extend this set through the `methods` prop, so an unlisted string is valid.",
|
|
426
|
+
"anyOf": [
|
|
427
|
+
{
|
|
428
|
+
"enum": [
|
|
429
|
+
"addData",
|
|
430
|
+
"download",
|
|
431
|
+
"fetch",
|
|
432
|
+
"onApplyPeriods",
|
|
433
|
+
"popup",
|
|
434
|
+
"popupOpen",
|
|
435
|
+
"removeData",
|
|
436
|
+
"reset",
|
|
437
|
+
"setState",
|
|
438
|
+
"submit",
|
|
439
|
+
"updateDataOnChange",
|
|
440
|
+
"upload",
|
|
441
|
+
"warn"
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"type": "string"
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
"normalizerName": {
|
|
450
|
+
"description": "Built-in value normalizer / parser. An unlisted string leaves the value untouched.",
|
|
451
|
+
"anyOf": [
|
|
452
|
+
{
|
|
453
|
+
"enum": [
|
|
454
|
+
"currency",
|
|
455
|
+
"date",
|
|
456
|
+
"double5",
|
|
457
|
+
"integer",
|
|
458
|
+
"percent",
|
|
459
|
+
"phone",
|
|
460
|
+
"uppercase"
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"type": "string"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"type": "null"
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"inputType": {
|
|
472
|
+
"anyOf": [
|
|
473
|
+
{
|
|
474
|
+
"enum": [
|
|
475
|
+
"date",
|
|
476
|
+
"file",
|
|
477
|
+
"number",
|
|
478
|
+
"select",
|
|
479
|
+
"slider",
|
|
480
|
+
"text",
|
|
481
|
+
"textarea",
|
|
482
|
+
"toggle"
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"type": "null"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|