aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/hidden.js.map
blob: 172bb25373608b95f214e92b6832006f7a8b5282 (plain) (blame)
1
{"version":3,"sources":["webpack:///./examples/hidden.js"],"names":["showSecond","str","onChange","value","console","log","format","ReactDom","render","moment","document","getElementById"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,IAAMA,aAAa,IAAnB;AACA,IAAMC,MAAMD,aAAa,UAAb,GAA0B,OAAtC;;AAEA,SAASE,QAAT,CAAkBC,KAAlB,EAAyB;AACvBC,UAAQC,GAAR,CAAYF,SAASA,MAAMG,MAAN,CAAaL,GAAb,CAArB;AACD;;AAED,iDAAAM,CAASC,MAAT,CACE,4DAAC,+DAAD;AACE,UAAQP,GADV;AAEE,cAAYD;AACZ;AAHF,IAIE,kBAAkB,8CAAAS,EAJpB;AAKE,aAAU,KALZ;AAME,YAAUP,QANZ;AAOE,iBAAe;AAAA,WAAM,CAAC,CAAD,EAAI,CAAJ,EAAO,CAAP,EAAU,CAAV,EAAa,CAAb,EAAgB,CAAhB,EAAmB,CAAnB,EAAsB,CAAtB,EAAyB,CAAzB,EAA4B,EAA5B,EAAgC,EAAhC,CAAN;AAAA,GAPjB;AAQE,mBAAiB;AAAA,WAAM,CAAC,CAAD,EAAI,CAAJ,EAAO,CAAP,EAAU,CAAV,EAAa,CAAb,CAAN;AAAA,GARnB;AASE;AATF,EADF,EAYEQ,SAASC,cAAT,CAAwB,iBAAxB,CAZF,E","file":"examples/hidden.js","sourcesContent":["/* eslint no-console:0 */\n\nimport 'rc-time-picker/assets/index.less';\n\nimport React from 'react';\nimport ReactDom from 'react-dom';\n\nimport moment from 'moment';\n\nimport TimePicker from 'rc-time-picker';\n\nconst showSecond = true;\nconst str = showSecond ? 'HH:mm:ss' : 'HH:mm';\n\nfunction onChange(value) {\n  console.log(value && value.format(str));\n}\n\nReactDom.render(\n  <TimePicker\n    format={str}\n    showSecond={showSecond}\n    // use to control utfOffset, locale, default open value\n    defaultOpenValue={moment()}\n    className=\"xxx\"\n    onChange={onChange}\n    disabledHours={() => [0, 1, 2, 3, 4, 5, 6, 7, 8, 22, 23]}\n    disabledMinutes={() => [0, 2, 4, 6, 8]}\n    hideDisabledOptions\n  />,\n  document.getElementById('__react-content')\n);\n\n\n\n// WEBPACK FOOTER //\n// ./examples/hidden.js"],"sourceRoot":""}