@hipay/hipay-material-ui 1.0.0-beta.2 → 1.0.0-beta.20
Sign up to get free protection for your applications and to get access to all the features.
- package/HI-CHANGELOG.md +58 -0
- package/HiAlertModal/HiAlertModal.js +247 -0
- package/HiAlertModal/index.js +16 -0
- package/HiBreadcrumb/HiBreadcrumb.js +149 -0
- package/HiBreadcrumb/HiStep.js +159 -0
- package/HiBreadcrumb/HiStepConnector.js +207 -0
- package/HiBreadcrumb/HiStepContent.js +122 -0
- package/HiBreadcrumb/HiStepIcon.js +191 -0
- package/HiBreadcrumb/HiStepLabel.js +248 -0
- package/HiBreadcrumb/HiStepper.js +106 -0
- package/HiBreadcrumb/index.js +16 -0
- package/HiCheckbox/HiCheckbox.js +4 -1
- package/HiChip/HiChip.js +16 -6
- package/HiChip/HiChipSwitch.js +11 -4
- package/HiColoredLabel/HiColoredLabel.js +9 -3
- package/HiDatePicker/HiDatePicker.js +34 -30
- package/HiDatePicker/HiDateRangePicker.js +77 -34
- package/HiDatePicker/HiDateRangeSelector.js +38 -17
- package/HiDatePicker/ListPicker.js +32 -7
- package/HiDatePicker/Overlays/CustomOverlayLayout.js +3 -1
- package/HiDatePicker/Overlays/MonthPickerOverlay.js +5 -1
- package/HiDatePicker/Overlays/Overlay.js +22 -4
- package/HiDatePicker/Overlays/YearPickerOverlay.js +2 -1
- package/HiDatePicker/stylesheet.js +11 -0
- package/HiDotsStepper/HiDot.js +151 -0
- package/HiDotsStepper/HiDotsStepper.js +146 -0
- package/HiDotsStepper/index.js +16 -0
- package/HiExpansionPanel/HiExpansionPanel.js +231 -0
- package/HiExpansionPanel/index.js +16 -0
- package/HiForm/HiAddressField.js +187 -0
- package/HiForm/HiFormControl.js +39 -31
- package/HiForm/HiInput.js +48 -22
- package/HiForm/HiSearchField.js +2 -2
- package/HiForm/HiSlider.js +399 -0
- package/HiForm/HiUpload.js +280 -0
- package/HiForm/HiUploadField.js +456 -0
- package/HiForm/index.js +36 -0
- package/HiMap/HiMap.js +367 -0
- package/HiMap/HiMapExpand.js +217 -0
- package/HiMap/index.js +25 -0
- package/HiPdfReader/HiPdfReader.js +282 -0
- package/HiPdfReader/index.js +16 -0
- package/HiPins/HiPins.js +0 -1
- package/HiSelect/HiSelect.js +401 -354
- package/HiSelect/HiSelectField.js +8 -6
- package/HiSelect/HiSuggestSelect.js +27 -47
- package/HiSelect/HiSuggestSelectField.js +88 -80
- package/HiSelect/SelectInput.js +34 -23
- package/HiSelectableList/HiSelectableList.js +9 -3
- package/HiSelectableList/HiSelectableListItem.js +96 -55
- package/HiSwitch/HiSwitchState.js +1 -1
- package/HiSwitch/index.js +6 -0
- package/HiTable/BodyCellBuilder.js +116 -101
- package/HiTable/BodyCells/CellCountry.js +11 -36
- package/HiTable/BodyCells/CellIcon.js +29 -20
- package/HiTable/BodyCells/CellImage.js +44 -23
- package/HiTable/BodyCells/CellLayout.js +50 -21
- package/HiTable/BodyCells/CellNumeric.js +7 -2
- package/HiTable/BodyCells/CellSentinel.js +26 -17
- package/HiTable/BodyCells/CellStatus.js +7 -3
- package/HiTable/BodyCells/CellText.js +2 -1
- package/HiTable/BodyCells/CellThirdPartySecurity.js +45 -22
- package/HiTable/BodyRow.js +106 -62
- package/HiTable/ChildRow.js +3 -9
- package/HiTable/ColumnFilter.js +28 -15
- package/HiTable/HeaderCell.js +25 -20
- package/HiTable/HiTable.js +75 -11
- package/HiTable/HiTableBody.js +80 -36
- package/HiTable/HiTableContextMenu.js +7 -3
- package/HiTable/HiTableFooter.js +132 -0
- package/HiTable/HiTableFooterScroll.js +1 -1
- package/HiTable/HiTableHead.js +24 -7
- package/HiTable/OrderColumns.js +6 -2
- package/HiTopBar/HiTopBar.js +42 -120
- package/es/HiAlertModal/HiAlertModal.js +189 -0
- package/es/HiAlertModal/index.js +1 -0
- package/es/HiBreadcrumb/HiBreadcrumb.js +81 -0
- package/es/HiBreadcrumb/HiStep.js +94 -0
- package/es/HiBreadcrumb/HiStepConnector.js +143 -0
- package/es/HiBreadcrumb/HiStepContent.js +63 -0
- package/es/HiBreadcrumb/HiStepIcon.js +149 -0
- package/es/HiBreadcrumb/HiStepLabel.js +197 -0
- package/es/HiBreadcrumb/HiStepper.js +46 -0
- package/es/HiBreadcrumb/index.js +1 -0
- package/es/HiCheckbox/HiCheckbox.js +4 -1
- package/es/HiChip/HiChip.js +15 -6
- package/es/HiChip/HiChipSwitch.js +11 -4
- package/es/HiColoredLabel/HiColoredLabel.js +9 -4
- package/es/HiDatePicker/HiDatePicker.js +30 -25
- package/es/HiDatePicker/HiDateRangePicker.js +73 -33
- package/es/HiDatePicker/HiDateRangeSelector.js +39 -18
- package/es/HiDatePicker/ListPicker.js +39 -20
- package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +3 -1
- package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +5 -1
- package/es/HiDatePicker/Overlays/Overlay.js +18 -4
- package/es/HiDatePicker/Overlays/YearPickerOverlay.js +2 -1
- package/es/HiDatePicker/stylesheet.js +11 -0
- package/es/HiDotsStepper/HiDot.js +92 -0
- package/es/HiDotsStepper/HiDotsStepper.js +83 -0
- package/es/HiDotsStepper/index.js +1 -0
- package/es/HiExpansionPanel/HiExpansionPanel.js +170 -0
- package/es/HiExpansionPanel/index.js +1 -0
- package/es/HiForm/HiAddressField.js +127 -0
- package/es/HiForm/HiFormControl.js +32 -18
- package/es/HiForm/HiInput.js +43 -21
- package/es/HiForm/HiSearchField.js +2 -2
- package/es/HiForm/HiSlider.js +309 -0
- package/es/HiForm/HiUpload.js +194 -0
- package/es/HiForm/HiUploadField.js +368 -0
- package/es/HiForm/index.js +5 -1
- package/es/HiMap/HiMap.js +285 -0
- package/es/HiMap/HiMapExpand.js +145 -0
- package/es/HiMap/index.js +2 -0
- package/es/HiPdfReader/HiPdfReader.js +198 -0
- package/es/HiPdfReader/index.js +1 -0
- package/es/HiPins/HiPins.js +0 -1
- package/es/HiSelect/HiSelect.js +376 -325
- package/es/HiSelect/HiSelectField.js +9 -7
- package/es/HiSelect/HiSuggestSelect.js +26 -39
- package/es/HiSelect/HiSuggestSelectField.js +77 -69
- package/es/HiSelect/SelectInput.js +44 -23
- package/es/HiSelectableList/HiSelectableList.js +10 -4
- package/es/HiSelectableList/HiSelectableListItem.js +91 -55
- package/es/HiSwitch/HiSwitchState.js +1 -1
- package/es/HiSwitch/index.js +1 -0
- package/es/HiTable/BodyCellBuilder.js +112 -102
- package/es/HiTable/BodyCells/CellCountry.js +10 -35
- package/es/HiTable/BodyCells/CellIcon.js +18 -9
- package/es/HiTable/BodyCells/CellImage.js +43 -24
- package/es/HiTable/BodyCells/CellLayout.js +51 -24
- package/es/HiTable/BodyCells/CellNumeric.js +6 -2
- package/es/HiTable/BodyCells/CellSentinel.js +20 -9
- package/es/HiTable/BodyCells/CellStatus.js +7 -3
- package/es/HiTable/BodyCells/CellText.js +2 -1
- package/es/HiTable/BodyCells/CellThirdPartySecurity.js +42 -18
- package/es/HiTable/BodyRow.js +106 -61
- package/es/HiTable/ChildRow.js +3 -10
- package/es/HiTable/ColumnFilter.js +15 -9
- package/es/HiTable/HeaderCell.js +25 -19
- package/es/HiTable/HiTable.js +73 -12
- package/es/HiTable/HiTableBody.js +71 -32
- package/es/HiTable/HiTableContextMenu.js +7 -3
- package/es/HiTable/HiTableFooter.js +75 -0
- package/es/HiTable/HiTableFooterScroll.js +1 -1
- package/es/HiTable/HiTableHead.js +19 -7
- package/es/HiTable/OrderColumns.js +6 -2
- package/es/HiTopBar/HiTopBar.js +45 -111
- package/es/styles/createHiMuiTheme.js +13 -0
- package/es/utils/hiHelpers.js +6 -5
- package/hmu/images/countries/ad.svg +151 -0
- package/hmu/images/countries/ae.svg +6 -0
- package/hmu/images/countries/af.svg +83 -0
- package/hmu/images/countries/ag.svg +15 -0
- package/hmu/images/countries/ai.svg +767 -0
- package/hmu/images/countries/al.svg +5 -0
- package/hmu/images/countries/am.svg +5 -0
- package/hmu/images/countries/ao.svg +13 -0
- package/hmu/images/countries/aq.svg +6 -0
- package/hmu/images/countries/ar.svg +32 -0
- package/hmu/images/countries/as.svg +33 -0
- package/hmu/images/countries/at.svg +6 -0
- package/hmu/images/countries/au.svg +9 -0
- package/hmu/images/countries/aw.svg +186 -0
- package/hmu/images/countries/ax.svg +18 -0
- package/hmu/images/countries/az.svg +8 -0
- package/hmu/images/countries/ba.svg +12 -0
- package/hmu/images/countries/bb.svg +6 -0
- package/hmu/images/countries/bd.svg +4 -0
- package/hmu/images/countries/be.svg +7 -0
- package/hmu/images/countries/bf.svg +7 -0
- package/hmu/images/countries/bg.svg +7 -0
- package/hmu/images/countries/bh.svg +11 -0
- package/hmu/images/countries/bi.svg +15 -0
- package/hmu/images/countries/bj.svg +14 -0
- package/hmu/images/countries/bl.svg +7 -0
- package/hmu/images/countries/bm.svg +99 -0
- package/hmu/images/countries/bn.svg +36 -0
- package/hmu/images/countries/bo.svg +686 -0
- package/hmu/images/countries/bq.svg +5 -0
- package/hmu/images/countries/br.svg +45 -0
- package/hmu/images/countries/bs.svg +13 -0
- package/hmu/images/countries/bt.svg +89 -0
- package/hmu/images/countries/bv.svg +13 -0
- package/hmu/images/countries/bw.svg +7 -0
- package/hmu/images/countries/by.svg +61 -0
- package/hmu/images/countries/bz.svg +146 -0
- package/hmu/images/countries/ca.svg +4 -0
- package/hmu/images/countries/cc.svg +19 -0
- package/hmu/images/countries/cd.svg +5 -0
- package/hmu/images/countries/cf.svg +15 -0
- package/hmu/images/countries/cg.svg +12 -0
- package/hmu/images/countries/ch.svg +9 -0
- package/hmu/images/countries/ci.svg +7 -0
- package/hmu/images/countries/ck.svg +9 -0
- package/hmu/images/countries/cl.svg +13 -0
- package/hmu/images/countries/cm.svg +15 -0
- package/hmu/images/countries/cn.svg +11 -0
- package/hmu/images/countries/co.svg +7 -0
- package/hmu/images/countries/cr.svg +7 -0
- package/hmu/images/countries/cu.svg +13 -0
- package/hmu/images/countries/cv.svg +13 -0
- package/hmu/images/countries/cw.svg +14 -0
- package/hmu/images/countries/cx.svg +15 -0
- package/hmu/images/countries/cy.svg +6 -0
- package/hmu/images/countries/cz.svg +12 -0
- package/hmu/images/countries/de.svg +5 -0
- package/hmu/images/countries/dj.svg +13 -0
- package/hmu/images/countries/dk.svg +5 -0
- package/hmu/images/countries/dm.svg +152 -0
- package/hmu/images/countries/do.svg +6745 -0
- package/hmu/images/countries/dz.svg +5 -0
- package/hmu/images/countries/ec.svg +141 -0
- package/hmu/images/countries/ee.svg +7 -0
- package/hmu/images/countries/eg.svg +38 -0
- package/hmu/images/countries/eh.svg +15 -0
- package/hmu/images/countries/er.svg +8 -0
- package/hmu/images/countries/es-ct.svg +4 -0
- package/hmu/images/countries/es.svg +581 -0
- package/hmu/images/countries/et.svg +14 -0
- package/hmu/images/countries/eu.svg +28 -0
- package/hmu/images/countries/fi.svg +5 -0
- package/hmu/images/countries/fj.svg +124 -0
- package/hmu/images/countries/fk.svg +90 -0
- package/hmu/images/countries/fm.svg +11 -0
- package/hmu/images/countries/fo.svg +12 -0
- package/hmu/images/countries/fr.svg +7 -0
- package/hmu/images/countries/ga.svg +7 -0
- package/hmu/images/countries/gb-eng.svg +5 -0
- package/hmu/images/countries/gb-nir.svg +137 -0
- package/hmu/images/countries/gb-sct.svg +4 -0
- package/hmu/images/countries/gb-wls.svg +9 -0
- package/hmu/images/countries/gb.svg +15 -0
- package/hmu/images/countries/gd.svg +27 -0
- package/hmu/images/countries/ge.svg +6 -0
- package/hmu/images/countries/gf.svg +5 -0
- package/hmu/images/countries/gg.svg +9 -0
- package/hmu/images/countries/gh.svg +6 -0
- package/hmu/images/countries/gi.svg +33 -0
- package/hmu/images/countries/gl.svg +4 -0
- package/hmu/images/countries/gm.svg +14 -0
- package/hmu/images/countries/gn.svg +7 -0
- package/hmu/images/countries/gp.svg +7 -0
- package/hmu/images/countries/gq.svg +23 -0
- package/hmu/images/countries/gr.svg +22 -0
- package/hmu/images/countries/gs.svg +205 -0
- package/hmu/images/countries/gt.svg +204 -0
- package/hmu/images/countries/gu.svg +39 -0
- package/hmu/images/countries/gw.svg +13 -0
- package/hmu/images/countries/gy.svg +9 -0
- package/hmu/images/countries/hk.svg +32 -0
- package/hmu/images/countries/hm.svg +9 -0
- package/hmu/images/countries/hn.svg +18 -0
- package/hmu/images/countries/hr.svg +59 -0
- package/hmu/images/countries/ht.svg +122 -0
- package/hmu/images/countries/hu.svg +7 -0
- package/hmu/images/countries/id.svg +6 -0
- package/hmu/images/countries/ie.svg +7 -0
- package/hmu/images/countries/il.svg +14 -0
- package/hmu/images/countries/im.svg +36 -0
- package/hmu/images/countries/in.svg +25 -0
- package/hmu/images/countries/io.svg +148 -0
- package/hmu/images/countries/iq.svg +10 -0
- package/hmu/images/countries/ir.svg +219 -0
- package/hmu/images/countries/is.svg +12 -0
- package/hmu/images/countries/it.svg +7 -0
- package/hmu/images/countries/je.svg +32 -0
- package/hmu/images/countries/jm.svg +8 -0
- package/hmu/images/countries/jo.svg +16 -0
- package/hmu/images/countries/jp.svg +11 -0
- package/hmu/images/countries/ke.svg +23 -0
- package/hmu/images/countries/kg.svg +15 -0
- package/hmu/images/countries/kh.svg +69 -0
- package/hmu/images/countries/ki.svg +36 -0
- package/hmu/images/countries/km.svg +16 -0
- package/hmu/images/countries/kn.svg +14 -0
- package/hmu/images/countries/kp.svg +15 -0
- package/hmu/images/countries/kr.svg +24 -0
- package/hmu/images/countries/kw.svg +13 -0
- package/hmu/images/countries/ky.svg +63 -0
- package/hmu/images/countries/kz.svg +23 -0
- package/hmu/images/countries/la.svg +12 -0
- package/hmu/images/countries/lb.svg +15 -0
- package/hmu/images/countries/lc.svg +8 -0
- package/hmu/images/countries/li.svg +43 -0
- package/hmu/images/countries/lk.svg +22 -0
- package/hmu/images/countries/lr.svg +14 -0
- package/hmu/images/countries/ls.svg +8 -0
- package/hmu/images/countries/lt.svg +7 -0
- package/hmu/images/countries/lu.svg +5 -0
- package/hmu/images/countries/lv.svg +6 -0
- package/hmu/images/countries/ly.svg +13 -0
- package/hmu/images/countries/ma.svg +4 -0
- package/hmu/images/countries/mc.svg +6 -0
- package/hmu/images/countries/md.svg +72 -0
- package/hmu/images/countries/me.svg +118 -0
- package/hmu/images/countries/mf.svg +7 -0
- package/hmu/images/countries/mg.svg +7 -0
- package/hmu/images/countries/mh.svg +7 -0
- package/hmu/images/countries/mk.svg +5 -0
- package/hmu/images/countries/ml.svg +7 -0
- package/hmu/images/countries/mm.svg +16 -0
- package/hmu/images/countries/mn.svg +13 -0
- package/hmu/images/countries/mo.svg +9 -0
- package/hmu/images/countries/mp.svg +86 -0
- package/hmu/images/countries/mq.svg +7 -0
- package/hmu/images/countries/mr.svg +6 -0
- package/hmu/images/countries/ms.svg +39 -0
- package/hmu/images/countries/mt.svg +49 -0
- package/hmu/images/countries/mu.svg +8 -0
- package/hmu/images/countries/mv.svg +6 -0
- package/hmu/images/countries/mw.svg +10 -0
- package/hmu/images/countries/mx.svg +385 -0
- package/hmu/images/countries/my.svg +15 -0
- package/hmu/images/countries/mz.svg +21 -0
- package/hmu/images/countries/na.svg +16 -0
- package/hmu/images/countries/nc.svg +7 -0
- package/hmu/images/countries/ne.svg +6 -0
- package/hmu/images/countries/nf.svg +9 -0
- package/hmu/images/countries/ng.svg +6 -0
- package/hmu/images/countries/ni.svg +131 -0
- package/hmu/images/countries/nl.svg +7 -0
- package/hmu/images/countries/no.svg +7 -0
- package/hmu/images/countries/np.svg +14 -0
- package/hmu/images/countries/nr.svg +12 -0
- package/hmu/images/countries/nu.svg +26 -0
- package/hmu/images/countries/nz.svg +41 -0
- package/hmu/images/countries/om.svg +116 -0
- package/hmu/images/countries/pa.svg +14 -0
- package/hmu/images/countries/pe.svg +279 -0
- package/hmu/images/countries/pf.svg +19 -0
- package/hmu/images/countries/pg.svg +9 -0
- package/hmu/images/countries/ph.svg +28 -0
- package/hmu/images/countries/pk.svg +15 -0
- package/hmu/images/countries/pl.svg +6 -0
- package/hmu/images/countries/pm.svg +7 -0
- package/hmu/images/countries/pn.svg +62 -0
- package/hmu/images/countries/pr.svg +13 -0
- package/hmu/images/countries/ps.svg +15 -0
- package/hmu/images/countries/pt.svg +57 -0
- package/hmu/images/countries/pw.svg +11 -0
- package/hmu/images/countries/py.svg +157 -0
- package/hmu/images/countries/qa.svg +4 -0
- package/hmu/images/countries/re.svg +7 -0
- package/hmu/images/countries/ro.svg +7 -0
- package/hmu/images/countries/rs.svg +292 -0
- package/hmu/images/countries/ru.svg +7 -0
- package/hmu/images/countries/rw.svg +13 -0
- package/hmu/images/countries/sa.svg +26 -0
- package/hmu/images/countries/sb.svg +13 -0
- package/hmu/images/countries/sc.svg +14 -0
- package/hmu/images/countries/sd.svg +13 -0
- package/hmu/images/countries/se.svg +16 -0
- package/hmu/images/countries/sg.svg +13 -0
- package/hmu/images/countries/sh.svg +74 -0
- package/hmu/images/countries/si.svg +18 -0
- package/hmu/images/countries/sj.svg +7 -0
- package/hmu/images/countries/sk.svg +9 -0
- package/hmu/images/countries/sl.svg +7 -0
- package/hmu/images/countries/sm.svg +91 -0
- package/hmu/images/countries/sn.svg +8 -0
- package/hmu/images/countries/so.svg +11 -0
- package/hmu/images/countries/sr.svg +6 -0
- package/hmu/images/countries/ss.svg +8 -0
- package/hmu/images/countries/st.svg +16 -0
- package/hmu/images/countries/sv.svg +618 -0
- package/hmu/images/countries/sx.svg +56 -0
- package/hmu/images/countries/sy.svg +6 -0
- package/hmu/images/countries/sz.svg +45 -0
- package/hmu/images/countries/tc.svg +67 -0
- package/hmu/images/countries/td.svg +7 -0
- package/hmu/images/countries/tf.svg +15 -0
- package/hmu/images/countries/tg.svg +14 -0
- package/hmu/images/countries/th.svg +7 -0
- package/hmu/images/countries/tj.svg +22 -0
- package/hmu/images/countries/tk.svg +5 -0
- package/hmu/images/countries/tl.svg +13 -0
- package/hmu/images/countries/tm.svg +213 -0
- package/hmu/images/countries/tn.svg +13 -0
- package/hmu/images/countries/to.svg +10 -0
- package/hmu/images/countries/tr.svg +8 -0
- package/hmu/images/countries/tt.svg +5 -0
- package/hmu/images/countries/tv.svg +27 -0
- package/hmu/images/countries/tw.svg +14 -0
- package/hmu/images/countries/tz.svg +13 -0
- package/hmu/images/countries/ua.svg +6 -0
- package/hmu/images/countries/ug.svg +30 -0
- package/hmu/images/countries/um.svg +23 -0
- package/hmu/images/countries/un.svg +16 -0
- package/hmu/images/countries/us.svg +12 -0
- package/hmu/images/countries/uy.svg +28 -0
- package/hmu/images/countries/uz.svg +30 -0
- package/hmu/images/countries/va.svg +483 -0
- package/hmu/images/countries/vc.svg +8 -0
- package/hmu/images/countries/ve.svg +26 -0
- package/hmu/images/countries/vg.svg +133 -0
- package/hmu/images/countries/vi.svg +31 -0
- package/hmu/images/countries/vn.svg +11 -0
- package/hmu/images/countries/vu.svg +18 -0
- package/hmu/images/countries/wf.svg +7 -0
- package/hmu/images/countries/ws.svg +7 -0
- package/hmu/images/countries/ye.svg +7 -0
- package/hmu/images/countries/yt.svg +7 -0
- package/hmu/images/countries/za.svg +17 -0
- package/hmu/images/countries/zm.svg +27 -0
- package/hmu/images/countries/zw.svg +21 -0
- package/hmu/images/hipay-white-logo.svg +42 -0
- package/hmu/images/logo_visa_75wx45h.gif +0 -0
- package/hmu/images/map_marker.svg +8 -0
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +8 -5
- package/styles/createHiMuiTheme.js +13 -0
- package/umd/hipay-material-ui.development.js +86185 -41566
- package/umd/hipay-material-ui.production.min.js +5 -5
- package/utils/hiHelpers.js +6 -4
@@ -2,17 +2,19 @@
|
|
2
2
|
|
3
3
|
import React from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
5
|
-
|
6
|
-
import Tooltip from '../../Tooltip';
|
7
|
-
import { withStyles, withTheme } from '../../styles';
|
8
5
|
import { Lock, LockOpen, LockOpenOutline } from 'mdi-material-ui';
|
6
|
+
import Tooltip from '../../Tooltip';
|
7
|
+
import { withStyles } from '../../styles';
|
9
8
|
|
10
|
-
export const styles =
|
9
|
+
export const styles = {
|
11
10
|
icon: {
|
12
11
|
width: 18,
|
13
12
|
height: 18
|
13
|
+
},
|
14
|
+
nowrap: {
|
15
|
+
whiteSpace: 'nowrap'
|
14
16
|
}
|
15
|
-
}
|
17
|
+
};
|
16
18
|
|
17
19
|
/**
|
18
20
|
* Cette cellule permet d'afficher une icône représentant le statut du 3DS.
|
@@ -20,8 +22,7 @@ export const styles = theme => ({
|
|
20
22
|
class CellThirdPartySecurity extends React.PureComponent {
|
21
23
|
|
22
24
|
render() {
|
23
|
-
const { classes, theme,
|
24
|
-
|
25
|
+
const { classes, theme, label, value } = this.props;
|
25
26
|
const ECI_5 = 0; // authenticated
|
26
27
|
const ECI_6 = 1; // cardholder not enrolled
|
27
28
|
const ECI_7 = 2; //
|
@@ -30,28 +31,47 @@ class CellThirdPartySecurity extends React.PureComponent {
|
|
30
31
|
const AUTH_2 = 5; // force 3DS
|
31
32
|
|
32
33
|
let icon = null;
|
33
|
-
switch (
|
34
|
+
switch (value) {
|
34
35
|
case ECI_5:
|
35
|
-
icon = React.createElement(Lock, {
|
36
|
+
icon = React.createElement(Lock, {
|
37
|
+
className: classes.icon,
|
38
|
+
style: { color: theme.palette.positive.normal }
|
39
|
+
});
|
36
40
|
break;
|
37
41
|
case ECI_6:
|
38
|
-
icon = React.createElement(LockOpen, {
|
42
|
+
icon = React.createElement(LockOpen, {
|
43
|
+
className: classes.icon,
|
44
|
+
style: { color: theme.palette.middle.normal }
|
45
|
+
});
|
39
46
|
break;
|
40
47
|
case AUTH_1:
|
41
|
-
icon = React.createElement(LockOpenOutline, {
|
48
|
+
icon = React.createElement(LockOpenOutline, {
|
49
|
+
className: classes.icon,
|
50
|
+
style: { color: theme.palette.neutral.light }
|
51
|
+
});
|
42
52
|
break;
|
43
53
|
case AUTH_2:
|
44
|
-
icon = React.createElement(LockOpen, {
|
54
|
+
icon = React.createElement(LockOpen, {
|
55
|
+
className: classes.icon,
|
56
|
+
style: { color: theme.palette.neutral.light }
|
57
|
+
});
|
45
58
|
break;
|
46
59
|
case ECI_7:
|
47
60
|
case AUTH_0:
|
61
|
+
default:
|
48
62
|
icon = null;
|
49
63
|
break;
|
50
64
|
}
|
51
65
|
|
66
|
+
const tooltipContent = React.createElement(
|
67
|
+
'div',
|
68
|
+
{ className: classes.nowrap },
|
69
|
+
label
|
70
|
+
);
|
71
|
+
|
52
72
|
return React.createElement(
|
53
73
|
Tooltip,
|
54
|
-
{ title:
|
74
|
+
{ title: tooltipContent, placement: this.props.sticky ? 'right' : 'bottom' },
|
55
75
|
React.createElement(
|
56
76
|
'div',
|
57
77
|
null,
|
@@ -66,6 +86,14 @@ CellThirdPartySecurity.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
66
86
|
* Useful to extend the style applied to components.
|
67
87
|
*/
|
68
88
|
classes: PropTypes.object,
|
89
|
+
/**
|
90
|
+
* Label
|
91
|
+
*/
|
92
|
+
label: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
93
|
+
/**
|
94
|
+
* True si la colonne est sticky
|
95
|
+
*/
|
96
|
+
sticky: PropTypes.bool,
|
69
97
|
/**
|
70
98
|
* Useful to extend the theme applied to components.
|
71
99
|
* Used theme props positive.normal, middle.normal, neutral.light
|
@@ -80,10 +108,6 @@ CellThirdPartySecurity.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
80
108
|
* AUTH_1 = 4; // ask for 3DS
|
81
109
|
* AUTH_2 = 5; // force 3DS
|
82
110
|
*/
|
83
|
-
|
84
|
-
/**
|
85
|
-
* Label
|
86
|
-
*/
|
87
|
-
value: PropTypes.string
|
111
|
+
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
88
112
|
} : {};
|
89
113
|
export default withStyles(styles, { withTheme: true, name: 'HmuiCellThirdPartySecurity' })(CellThirdPartySecurity);
|
package/es/HiTable/BodyRow.js
CHANGED
@@ -50,6 +50,10 @@ class BodyRow extends React.PureComponent {
|
|
50
50
|
constructor(props) {
|
51
51
|
super();
|
52
52
|
|
53
|
+
this.handleOpenRowDetails = type => () => {
|
54
|
+
this.props.onOpenRowDetails(this.props.row.rowId, type);
|
55
|
+
};
|
56
|
+
|
53
57
|
this.state = {
|
54
58
|
live: props.live,
|
55
59
|
style: {
|
@@ -97,10 +101,6 @@ class BodyRow extends React.PureComponent {
|
|
97
101
|
}
|
98
102
|
}
|
99
103
|
|
100
|
-
handleOpenRowDetails() {
|
101
|
-
this.props.onOpenRowDetails(this.props.row.rowId);
|
102
|
-
}
|
103
|
-
|
104
104
|
handleSelect() {
|
105
105
|
this.props.onSelect(this.props.row);
|
106
106
|
}
|
@@ -112,6 +112,7 @@ class BodyRow extends React.PureComponent {
|
|
112
112
|
theme,
|
113
113
|
row,
|
114
114
|
columns,
|
115
|
+
lookupColumns,
|
115
116
|
orderedColumns,
|
116
117
|
selectable,
|
117
118
|
selected,
|
@@ -122,13 +123,13 @@ class BodyRow extends React.PureComponent {
|
|
122
123
|
numberLocale,
|
123
124
|
sticky,
|
124
125
|
innerRow,
|
125
|
-
isDetail
|
126
|
+
isDetail,
|
127
|
+
detailRowsOptions
|
126
128
|
} = _props,
|
127
|
-
other = _objectWithoutProperties(_props, ['classes', 'theme', 'row', 'columns', 'orderedColumns', 'selectable', 'selected', 'onClick', 'view', 'dense', 'dateLocale', 'numberLocale', 'sticky', 'innerRow', 'isDetail']);
|
129
|
+
other = _objectWithoutProperties(_props, ['classes', 'theme', 'row', 'columns', 'lookupColumns', 'orderedColumns', 'selectable', 'selected', 'onClick', 'view', 'dense', 'dateLocale', 'numberLocale', 'sticky', 'innerRow', 'isDetail', 'detailRowsOptions']);
|
128
130
|
|
129
131
|
const { style } = this.state;
|
130
132
|
|
131
|
-
let firstCol = true;
|
132
133
|
let unfixedCol = true;
|
133
134
|
|
134
135
|
const rowStyle = _extends({}, style, {
|
@@ -143,6 +144,19 @@ class BodyRow extends React.PureComponent {
|
|
143
144
|
// If there is no datas don't display the row
|
144
145
|
if (!row.hasOwnProperty('datas')) return false;
|
145
146
|
|
147
|
+
let detailsInfos = {};
|
148
|
+
if (row.details && row.details.length > 0) {
|
149
|
+
detailsInfos = row.details.reduce((memo, item) => {
|
150
|
+
if (item.rows.length > 0 && detailRowsOptions[item.type] && detailRowsOptions[item.type].anchor) {
|
151
|
+
memo[detailRowsOptions[item.type].anchor] = _extends({
|
152
|
+
type: item.type,
|
153
|
+
total: item.rows.length
|
154
|
+
}, detailRowsOptions[item.type]);
|
155
|
+
}
|
156
|
+
return memo;
|
157
|
+
}, {});
|
158
|
+
}
|
159
|
+
|
146
160
|
return React.createElement(
|
147
161
|
TableRow,
|
148
162
|
{
|
@@ -160,65 +174,85 @@ class BodyRow extends React.PureComponent {
|
|
160
174
|
key: `${row.rowId}-left-cell`,
|
161
175
|
className: patchDivClass
|
162
176
|
}),
|
163
|
-
orderedColumns.map(colRef => {
|
164
|
-
|
177
|
+
orderedColumns.map((colRef, index) => {
|
178
|
+
|
179
|
+
// Dynamic column settings (from OrderColumns)
|
180
|
+
const {
|
181
|
+
colId: colRefId,
|
182
|
+
displayed,
|
183
|
+
view: colView
|
184
|
+
} = colRef,
|
165
185
|
colRefProps = _objectWithoutProperties(colRef, ['colId', 'displayed', 'view']);
|
166
|
-
if (displayed !== false) {
|
167
|
-
// the first column is sticky (except checkbox)
|
168
|
-
const first = firstCol;
|
169
|
-
firstCol = false;
|
170
|
-
const _columns$colRef$colId = columns[colRef.colId],
|
171
|
-
{
|
172
|
-
colId,
|
173
|
-
align,
|
174
|
-
datas,
|
175
|
-
ellipsis,
|
176
|
-
fixedWidth,
|
177
|
-
type,
|
178
|
-
width
|
179
|
-
} = _columns$colRef$colId,
|
180
|
-
columnProps = _objectWithoutProperties(_columns$colRef$colId, ['colId', 'align', 'datas', 'ellipsis', 'fixedWidth', 'type', 'width']);
|
181
|
-
const data = row.datas[colRef.colId];
|
182
186
|
|
183
|
-
|
184
|
-
// add clickable badge in cell to open children
|
185
|
-
const isParentAnchor = row.hasOwnProperty('parentAnchorColumn') && row.parentAnchorColumn === colId && row.hasOwnProperty('children') && row.children.length > 0;
|
187
|
+
if (displayed === false) return null;
|
186
188
|
|
187
|
-
|
188
|
-
|
189
|
-
unfixedCol = unfixedCol && fixedWidth !== true ? false : unfixedCol;
|
189
|
+
// the first column is sticky (except checkbox)
|
190
|
+
const first = index === 0;
|
190
191
|
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
192
|
+
// Static column settings
|
193
|
+
const _columns$colRefId = columns[colRefId],
|
194
|
+
{
|
195
|
+
colId,
|
196
|
+
align,
|
197
|
+
data: colData,
|
198
|
+
ellipsis,
|
199
|
+
fixedWidth,
|
200
|
+
type,
|
201
|
+
width
|
202
|
+
} = _columns$colRefId,
|
203
|
+
columnProps = _objectWithoutProperties(_columns$colRefId, ['colId', 'align', 'data', 'ellipsis', 'fixedWidth', 'type', 'width']);
|
204
|
+
|
205
|
+
// view define in OrderColumn or table prop view by default
|
206
|
+
const effectiveView = colView || view;
|
195
207
|
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
onOpenDetails: this.handleOpenRowDetails,
|
216
|
-
childrenCount: isParentAnchor ? row.children.length : null,
|
217
|
-
colId: colId,
|
218
|
-
lookedUp: lookedUp
|
219
|
-
}, columnProps, colRefProps));
|
208
|
+
// add clickable badge in cell to open children
|
209
|
+
const isParentAnchor = row.hasOwnProperty('parentAnchorColumn') && row.parentAnchorColumn === colId && row.hasOwnProperty('children') && row.children.length > 0;
|
210
|
+
|
211
|
+
// the first non fixed column is the only one not fixed
|
212
|
+
const unfixed = unfixedCol && fixedWidth !== true;
|
213
|
+
unfixedCol = unfixed ? false : unfixedCol;
|
214
|
+
|
215
|
+
// add lookedUp style
|
216
|
+
const lookedUp = Array.isArray(lookupColumns) && lookupColumns.includes(colId);
|
217
|
+
|
218
|
+
// Cell data
|
219
|
+
let data = row.datas[colRefId];
|
220
|
+
// Get object data for column based on reference datas
|
221
|
+
if (data !== undefined && colData !== undefined) {
|
222
|
+
const colItem = colData.find(item => item.id === data.value);
|
223
|
+
if (colItem) {
|
224
|
+
// Hydrate data object with reference item
|
225
|
+
data = _extends({}, colItem, data);
|
226
|
+
}
|
220
227
|
}
|
221
|
-
|
228
|
+
|
229
|
+
return React.createElement(BodyCellBuilder, _extends({}, other, {
|
230
|
+
key: `${row.rowId}-${colId}-cell`,
|
231
|
+
ukey: `${row.rowId}-${colId}-cell`,
|
232
|
+
checkboxValue: row.rowId,
|
233
|
+
type: type,
|
234
|
+
data: data,
|
235
|
+
ellipsis: ellipsis,
|
236
|
+
align: align,
|
237
|
+
view: effectiveView,
|
238
|
+
padding: cst.DEFAULT_PADDING[view],
|
239
|
+
width: width,
|
240
|
+
fixedWidth: !unfixed,
|
241
|
+
sticky: sticky && first,
|
242
|
+
selectable: selectable && first,
|
243
|
+
dateLocale: dateLocale,
|
244
|
+
numberLocale: numberLocale,
|
245
|
+
dense: dense,
|
246
|
+
selected: selected,
|
247
|
+
onSelect: this.handleSelect
|
248
|
+
}, detailsInfos[colId] && {
|
249
|
+
onOpenDetails: this.handleOpenRowDetails(detailsInfos[colId].type),
|
250
|
+
detailInfos: detailsInfos[colId]
|
251
|
+
}, {
|
252
|
+
childrenCount: isParentAnchor ? row.children.length : null,
|
253
|
+
colId: colId,
|
254
|
+
lookedUp: lookedUp
|
255
|
+
}, columnProps, colRefProps));
|
222
256
|
}),
|
223
257
|
React.createElement(TableCell, {
|
224
258
|
style: {
|
@@ -241,7 +275,9 @@ BodyRow.defaultProps = {
|
|
241
275
|
sticky: false,
|
242
276
|
live: false,
|
243
277
|
innerRow: false,
|
244
|
-
lookupColumns: []
|
278
|
+
lookupColumns: [],
|
279
|
+
fixedColumnWidth: true,
|
280
|
+
detailRowsOptions: {}
|
245
281
|
};
|
246
282
|
BodyRow.propTypes = process.env.NODE_ENV !== "production" ? {
|
247
283
|
/**
|
@@ -252,6 +288,15 @@ BodyRow.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
252
288
|
* Densité d'affichage (joue sur la hauteur des lignes)
|
253
289
|
*/
|
254
290
|
dense: PropTypes.bool,
|
291
|
+
/**
|
292
|
+
* Options utilisées pour décrire le comportement de lignes de détails
|
293
|
+
*/
|
294
|
+
detailRowsOptions: PropTypes.object,
|
295
|
+
/**
|
296
|
+
* Fixe la taille des colonnes selon le type de vue
|
297
|
+
* Sinon les colonnes s'adaptent à l'espace disponible
|
298
|
+
*/
|
299
|
+
fixedColumnWidth: PropTypes.bool,
|
255
300
|
/**
|
256
301
|
* Applique le style d'une ligne intégrée a un sous-tableau
|
257
302
|
*/
|
package/es/HiTable/ChildRow.js
CHANGED
@@ -112,9 +112,9 @@ class ChildRow extends React.PureComponent {
|
|
112
112
|
parentIndicatorColumn, parentLabel, parentLabelIcon,
|
113
113
|
children, columns, orderedColumns,
|
114
114
|
selectable, selected,
|
115
|
-
dateLocale, dense, sticky, view
|
115
|
+
dateLocale, dense, sticky, view, row
|
116
116
|
} = _props,
|
117
|
-
other = _objectWithoutProperties(_props, ['classes', 'theme', 'onClose', 'parentRowId', 'parentRowDatas', 'parentIndicatorColumn', 'parentLabel', 'parentLabelIcon', 'children', 'columns', 'orderedColumns', 'selectable', 'selected', 'dateLocale', 'dense', 'sticky', 'view']);
|
117
|
+
other = _objectWithoutProperties(_props, ['classes', 'theme', 'onClose', 'parentRowId', 'parentRowDatas', 'parentIndicatorColumn', 'parentLabel', 'parentLabelIcon', 'children', 'columns', 'orderedColumns', 'selectable', 'selected', 'dateLocale', 'dense', 'sticky', 'view', 'row']);
|
118
118
|
|
119
119
|
let indicator = '';
|
120
120
|
if (parentIndicatorColumn && columns.hasOwnProperty(parentIndicatorColumn)) {
|
@@ -141,10 +141,7 @@ class ChildRow extends React.PureComponent {
|
|
141
141
|
TableBody,
|
142
142
|
null,
|
143
143
|
React.createElement(BodyRow, _extends({
|
144
|
-
row:
|
145
|
-
rowId: parentRowId,
|
146
|
-
datas: parentRowDatas
|
147
|
-
},
|
144
|
+
row: row,
|
148
145
|
selectable: selectable,
|
149
146
|
selected: selected,
|
150
147
|
columns: columns,
|
@@ -277,10 +274,6 @@ ChildRow.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
277
274
|
* Données de la ligne parente
|
278
275
|
*/
|
279
276
|
parentRowDatas: PropTypes.object.isRequired,
|
280
|
-
/**
|
281
|
-
* Ligne des détails de la ligne parente
|
282
|
-
*/
|
283
|
-
parentDetailRows: PropTypes.array,
|
284
277
|
/**
|
285
278
|
* Indicateur du sous-ensemble (en général la date)
|
286
279
|
*/
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import _Set from 'babel-runtime/core-js/set';
|
1
2
|
import _extends from 'babel-runtime/helpers/extends';
|
2
3
|
import React from 'react';
|
3
4
|
import Popover from 'material-ui/Popover';
|
@@ -142,20 +143,20 @@ class ColumnFilter extends React.Component {
|
|
142
143
|
* Sélectionne tous les items filtrés
|
143
144
|
*/
|
144
145
|
selectAllFilters() {
|
145
|
-
this.setState(
|
146
|
+
this.setState(prevState => ({
|
147
|
+
selectedIdList: [...new _Set([...prevState.selectedIdList, ...prevState.suggestions.map(item => item.id)])]
|
148
|
+
}));
|
146
149
|
}
|
147
150
|
|
148
151
|
/**
|
149
152
|
* Désélectionne tous les items filtrés
|
150
153
|
*/
|
151
154
|
deselectAllFilters() {
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
}
|
155
|
+
this.setState(prevState => {
|
156
|
+
return {
|
157
|
+
selectedIdList: prevState.selectedIdList.filter(item => prevState.suggestions.find(suggestion => suggestion.id === item) === undefined)
|
158
|
+
};
|
157
159
|
});
|
158
|
-
this.setState({ selectedIdList });
|
159
160
|
}
|
160
161
|
|
161
162
|
handleSort(direction) {
|
@@ -253,7 +254,11 @@ class ColumnFilter extends React.Component {
|
|
253
254
|
React.createElement(
|
254
255
|
'div',
|
255
256
|
{ className: classes.menuItemFilter },
|
256
|
-
|
257
|
+
React.createElement(
|
258
|
+
'span',
|
259
|
+
{ style: { marginRight: 4 } },
|
260
|
+
translations.filter
|
261
|
+
),
|
257
262
|
React.createElement(
|
258
263
|
HiPins,
|
259
264
|
{
|
@@ -297,7 +302,8 @@ class ColumnFilter extends React.Component {
|
|
297
302
|
itemList: suggestions,
|
298
303
|
selectedIdList: selectedIdList,
|
299
304
|
onSelect: this.toggleSelectItem,
|
300
|
-
leftPadding: 28
|
305
|
+
leftPadding: 28,
|
306
|
+
checkbox: type !== 'icon'
|
301
307
|
}),
|
302
308
|
React.createElement(
|
303
309
|
'div',
|
package/es/HiTable/HeaderCell.js
CHANGED
@@ -130,6 +130,7 @@ class HeaderCell extends React.PureComponent {
|
|
130
130
|
classes,
|
131
131
|
type,
|
132
132
|
title,
|
133
|
+
smallTitle,
|
133
134
|
selectable,
|
134
135
|
selected,
|
135
136
|
onSelect,
|
@@ -140,8 +141,8 @@ class HeaderCell extends React.PureComponent {
|
|
140
141
|
filterSource,
|
141
142
|
view,
|
142
143
|
dense,
|
143
|
-
width
|
144
|
-
|
144
|
+
width,
|
145
|
+
fixedColumnWidth,
|
145
146
|
align = cst.ALIGN_RIGHT_TYPES.includes(type) ? 'right' : 'left',
|
146
147
|
sticky,
|
147
148
|
padding,
|
@@ -153,7 +154,7 @@ class HeaderCell extends React.PureComponent {
|
|
153
154
|
let offset = selectable ? dense ? 32 : 40 : padding;
|
154
155
|
|
155
156
|
// Inclue le padding et/ou la checkbox dans la largeur de la cellule
|
156
|
-
let _width = width + offset + padding;
|
157
|
+
let _width = (width || cst.DEFAULT_WIDTHS[type][view]) + offset + padding;
|
157
158
|
// N'affiche pas le tri si il est désactivé.
|
158
159
|
let _sorted = sortable && sorted;
|
159
160
|
// N'active pas le filtre si il n'y a pas de jeu de donnée sur lesquelles filtrées.
|
@@ -178,19 +179,24 @@ class HeaderCell extends React.PureComponent {
|
|
178
179
|
|
179
180
|
const lookedUpClassName = classNames({ [classes.lookedUp]: lookedUp });
|
180
181
|
|
182
|
+
const cellStyle = {
|
183
|
+
padding: 0,
|
184
|
+
zIndex: sticky ? 13 : 12, // la cellule sticky doit être au dessus des autres cellules du header
|
185
|
+
backgroundColor: 'inherit',
|
186
|
+
textAlign: align
|
187
|
+
};
|
188
|
+
|
189
|
+
if (fixedColumnWidth) {
|
190
|
+
cellStyle.maxWidth = _width;
|
191
|
+
cellStyle.minWidth = _width;
|
192
|
+
cellStyle.width = _width;
|
193
|
+
} else if (width) {
|
194
|
+
cellStyle.width = width;
|
195
|
+
}
|
196
|
+
|
181
197
|
return React.createElement(
|
182
198
|
TableCell,
|
183
|
-
{
|
184
|
-
style: {
|
185
|
-
maxWidth: _width,
|
186
|
-
minWidth: _width,
|
187
|
-
width: _width,
|
188
|
-
padding: 0,
|
189
|
-
zIndex: sticky ? 13 : 12, // la cellule sticky doit être au dessus des autres cellules du header
|
190
|
-
backgroundColor: 'inherit',
|
191
|
-
textAlign: align
|
192
|
-
}
|
193
|
-
},
|
199
|
+
{ style: cellStyle },
|
194
200
|
React.createElement(
|
195
201
|
'div',
|
196
202
|
null,
|
@@ -233,7 +239,7 @@ class HeaderCell extends React.PureComponent {
|
|
233
239
|
{
|
234
240
|
className: classes.labelContainer + (_sorted ? ' ' + classes.labelContainerOrdered : '')
|
235
241
|
},
|
236
|
-
title
|
242
|
+
view !== 's' ? title : smallTitle ? smallTitle : title
|
237
243
|
),
|
238
244
|
align !== 'right' && _icons
|
239
245
|
) : React.createElement(
|
@@ -250,7 +256,7 @@ class HeaderCell extends React.PureComponent {
|
|
250
256
|
React.createElement(
|
251
257
|
'span',
|
252
258
|
{ className: classes.labelContainer, style: { width: '100%' } },
|
253
|
-
title
|
259
|
+
view !== 's' ? title : smallTitle ? smallTitle : title
|
254
260
|
)
|
255
261
|
)
|
256
262
|
),
|
@@ -279,7 +285,7 @@ HeaderCell.defaultProps = {
|
|
279
285
|
sortDirection: 'asc',
|
280
286
|
view: 'l',
|
281
287
|
dense: false,
|
282
|
-
|
288
|
+
fixedColumnWidth: true,
|
283
289
|
sticky: true,
|
284
290
|
padding: 8
|
285
291
|
};
|
@@ -355,11 +361,11 @@ HeaderCell.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
355
361
|
/**
|
356
362
|
* Largeur de la cellule (hors padding), est déduit de view par défaut
|
357
363
|
*/
|
358
|
-
width: PropTypes.number,
|
364
|
+
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
359
365
|
/**
|
360
366
|
* La largeur de la cellule est fixé (toutes les colonnes sauf une)
|
361
367
|
*/
|
362
|
-
|
368
|
+
fixedColumnWidth: PropTypes.bool,
|
363
369
|
/**
|
364
370
|
* Title alignement, est déduit de type par défaut
|
365
371
|
*/
|