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