Created
February 5, 2019 13:25
-
-
Save prrraveen/a0cb8b0d4919c9bc0e0970a676ae2f74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProgramPage/ProgramCalendar.jsx|10 col 68| const ColoredDateCellWrapper = ({programStartDate, programEndDate})=> ({children, value}) => { | |
ProgramPage/ProgramCalendar.jsx|68 col 25| onNavigate={(date) => { setCurrentDate({ date: moment(date) }) }} | |
|| | |
HomePage/HomepageWrapper.jsx|32 col 33| .then(({ data: { results }}) => { | |
|| | |
ProgramPage/index.js|41 col 9| },() => { | |
ProgramPage/index.js|59 col 34| .then(({ data: { results } }) => { | |
ProgramPage/index.js|73 col 55| const defaultSubProgram = sub_programs.find(item => (item.title === 'DEFAULT')); | |
ProgramPage/index.js|94 col 32| .then(({data: { results }}) => { | |
ProgramPage/index.js|96 col 31| eventChunks.forEach(event => { | |
ProgramPage/index.js|138 col 28| events.forEach((event,i) => { | |
ProgramPage/index.js|184 col 28| // const route = eventId => (`/program/edit-item/${networkId}/${subProgramId}/${eventId}/${programStartDate}/${programEndDate}`) | |
ProgramPage/index.js|196 col 38| const router = (eventStartDate='') => `/program/add-item/${networkId}/${subProgramId}/${eventStartDate}`; | |
|| | |
ProgramPage/Navbar/index.js|42 col 51| const options = subPrograms.map(({ title, id }) => ( | |
|| | |
HomePage/index.js|26 col 23| this.setState(state => ({ | |
HomePage/index.js|42 col 21| .then(({ data }) => { | |
HomePage/index.js|43 col 25| this.setState(state => ({ | |
HomePage/index.js|50 col 18| toggleTitle: () => {} | |
HomePage/index.js|63 col 42| const list = events.map((event, index) => { | |
HomePage/index.js|76 col 66| <div className="event" style={style} key={index} onClick={() => this.setSelectedEvent(event)}> | |
|| | |
EventForm/ActionBar.js|10 col 74| const ActionBar = ({isEditMode, handleDelete, handleSubmit, isFetching}) => { | |
EventForm/ActionBar.js|24 col 91| <Popconfirm title="Are you sure delete Event?" onConfirm={handleDelete} onCancel={() => {}} okText="Yes" cancelText="No"> | |
|| | |
EventForm/index.js|174 col 26| this.setState(state => ({ | |
EventForm/index.js|178 col 26| this.setState(state => ({ | |
EventForm/index.js|265 col 11| }, () => { | |
EventForm/index.js|289 col 26| _this.setState(state => ({ | |
EventForm/index.js|320 col 26| _this.setState(state => ({ | |
EventForm/index.js|333 col 26| _this.setState(state => ({ | |
EventForm/index.js|342 col 27| _this.setState(state => ({ | |
EventForm/index.js|356 col 23| this.setState(state => ({ | |
EventForm/index.js|378 col 23| this.setState(state => ({ | |
EventForm/index.js|391 col 23| this.setState(state => ({ | |
EventForm/index.js|416 col 23| this.setState(state => ({ | |
EventForm/index.js|425 col 23| this.setState(state => ({ | |
EventForm/index.js|441 col 23| this.setState(state => ({ | |
EventForm/index.js|450 col 23| this.setState(state => ({ | |
EventForm/index.js|480 col 24| this.setState(state => ({ | |
EventForm/index.js|489 col 23| this.setState(state => ({ | |
EventForm/index.js|503 col 23| this.setState(state => ({ | |
EventForm/index.js|512 col 24| this.setState(state => ({ | |
EventForm/index.js|523 col 23| this.setState(state => ({ | |
EventForm/index.js|536 col 23| this.setState(state => ({ | |
EventForm/index.js|552 col 23| this.setState(state => ({ | |
EventForm/index.js|565 col 23| this.setState(state => ({ | |
EventForm/index.js|579 col 23| this.setState(state => ({ | |
EventForm/index.js|592 col 37| handleDayOfTheWeekChange = (value) => { | |
EventForm/index.js|593 col 23| this.setState(state => ({ | |
EventForm/index.js|772 col 23| this.setState(state => ({ | |
EventForm/index.js|918 col 23| redirectRoute = id => (`/program/edit-item/${networkId}/${subProgramId}/${id}`) | |
EventForm/index.js|927 col 23| redirectRoute = id => (`/template/edit-item/${templateId}/${id}`) | |
EventForm/index.js|986 col 23| this.setState(state => ({ | |
EventForm/index.js|994 col 23| this.setState(state => ({ | |
EventForm/index.js|1009 col 24| this.setState(state => ({ | |
EventForm/index.js|1027 col 27| _this.setState(state => ({ | |
EventForm/index.js|1038 col 26| _this.setState(state => ({ | |
EventForm/index.js|1053 col 23| this.setState(state => ({ | |
EventForm/index.js|1059 col 23| this.setState(state => ({ | |
EventForm/index.js|1080 col 21| .then((response) => { | |
EventForm/index.js|1132 col 23| this.setState(state => ({ | |
EventForm/index.js|1166 col 23| this.setState(state => ({ | |
EventForm/index.js|1194 col 23| this.setState(state => ({ | |
EventForm/index.js|1211 col 23| this.setState(state => ({ | |
EventForm/index.js|1223 col 8| }),()=>{ | |
EventForm/index.js|1255 col 43| autocompleteResult: results.map(item => ({...item, key: item.id, name: item.title })), | |
EventForm/index.js|1262 col 23| this.setState(state => ({ | |
EventForm/index.js|1311 col 33| .then(({ data: { results }}) => { | |
EventForm/index.js|1329 col 33| .then(({ data: { results }}) => { | |
EventForm/index.js|1355 col 33| .then(({ data: { results }}) => { | |
EventForm/index.js|1373 col 33| .then(({ data: { results }}) => { | |
EventForm/index.js|1390 col 23| this.setState(state => ({ | |
EventForm/index.js|1406 col 46| const rank = homepageEvents.findIndex(item => (item.id === menuId)) + 1 | |
EventForm/index.js|1462 col 40| return daysOfTheWeek.map((day, index)=> ( | |
EventForm/index.js|1468 col 23| this.setState(state => ({ | |
EventForm/index.js|1487 col 43| renderAdditionalInfoForType = (itemType) => { | |
EventForm/index.js|1523 col 58| options = Object.entries(eventTypes).map(([key, val]) => ( | |
EventForm/index.js|1728 col 43| {additional_images.map(image => (<div><img src={image.image_medium} alt='no image' /></div>))} | |
EventForm/index.js|1891 col 37| const stateProps = ({ isFetching }) => ({ | |
|| | |
EventForm/widgets/LogDrawer/index.js|29 col 38| const list = items.map(item => (<p key={item.id}>{item.log_str}</p>)) | |
|| | |
EventForm/widgets/NumberSelect/index.js|8 col 35| const buildOptions = (start, end) => { | |
|| | |
EventForm/widgets/InstructionCard/index.js|16 col 4| }) => { | |
EventForm/widgets/InstructionCard/index.js|30 col 37| {instructions.map((text,index) => (<li key={index}>{text}</li>))} | |
|| | |
EventForm/widgets/Autocomplete/index.js|35 col 25| const OptionUi = (item) => { | |
|| | |
EventForm/widgets/InfoIcon/index.js|8 col 4| }) => { | |
|| | |
EventForm/widgets/NotificationRecommendation/index.js|29 col 30| const Li = ({node, onClick}) => { | |
EventForm/widgets/NotificationRecommendation/index.js|53 col 23| this.setState(state => ({ | |
EventForm/widgets/NotificationRecommendation/index.js|104 col 24| renderItem={node => (<Li node={node} onClick={() => { onSelect(node); this.toggleVisiblity(); }}/>)} | |
|| | |
EventForm/widgets/Weightage/index.js|9 col 49| const Weightage = ({onChange, value, onFocus}) => ( | |
|| | |
Scheduler/reducers.js|8 col 42| export default (state=initState, action) => { | |
|| | |
EventModal/index.jsx|75 col 21| .then((response) => { | |
|| | |
NavigationCalendar/index.js|16 col 23| this.setState(state => ({ | |
NavigationCalendar/index.js|22 col 23| this.setState(state => ({ | |
NavigationCalendar/index.js|28 col 23| this.setState(state => ({ | |
NavigationCalendar/index.js|50 col 19| select={(day)=>this.props.select(day)} | |
NavigationCalendar/index.js|167 col 16| onClick={()=>select(day)}>{number}</span> | |
|| | |
CalendarWrapper/index.js|100 col 50| filteredEvents = fragmentedEvents.filter(event => filters[eventTypeKeyMap[event.type].enum].isActive === true) | |
CalendarWrapper/index.js|138 col 64| const childrenWithProps = React.Children.map(children, child => | |
|| | |
MonthView/Toolbar.js|49 col 21| navigate = action => { | |
MonthView/Toolbar.js|53 col 15| view = view => { | |
MonthView/Toolbar.js|62 col 33| return viewNames.map(name => ( | |
|| | |
MonthView/EmDateContentRow.js|62 col 27| handleSelectSlot = slot => { | |
MonthView/EmDateContentRow.js|68 col 25| handleShowMore = slot => { | |
MonthView/EmDateContentRow.js|80 col 24| createHeadingRef = r => { | |
MonthView/EmDateContentRow.js|84 col 22| createEventRef = r => { | |
MonthView/EmDateContentRow.js|88 col 21| getContainer = () => { | |
MonthView/EmDateContentRow.js|101 col 37| renderHeadingCell = (date, index) => { | |
MonthView/EmDateContentRow.js|114 col 20| renderDummy = () => { | |
MonthView/EmDateContentRow.js|208 col 37| {levels.map((segs, idx) => ( | |
|| | |
MonthView/index.js|23 col 40| const visibleDays = (date, localizer) => { | |
MonthView/index.js|36 col 51| let eventsForWeek = (evts, start, end, accessors) => | |
MonthView/index.js|37 col 17| evts.filter(e => inRange(e, start, end, accessors)) | |
MonthView/index.js|109 col 34| (this._resizeListener = () => { | |
MonthView/index.js|111 col 18| raf(() => { | |
MonthView/index.js|129 col 21| getContainer = () => { | |
MonthView/index.js|150 col 32| renderWeek = (week, weekIdx) => { | |
MonthView/index.js|168 col 24| events.sort((a, b) => sortEvents(a, b, accessors)) | |
MonthView/index.js|199 col 55| readerDateHeading = ({ date, className, ...props }) => { | |
MonthView/index.js|222 col 26| onDrillDown={e => this.handleHeadingClick(date, drilldownView, e)} | |
MonthView/index.js|234 col 59| return dates.range(first, last, 'day').map((day, idx) => ( | |
MonthView/index.js|255 col 20| onHide={() => this.setState({ overlay: null })} | |
MonthView/index.js|281 col 40| handleSelectSlot = (range, slotInfo) => { | |
MonthView/index.js|285 col 39| this._selectTimer = setTimeout(() => this.selectDates(slotInfo)) | |
MonthView/index.js|288 col 40| handleHeadingClick = (date, view, e) => { | |
MonthView/index.js|294 col 33| handleSelectEvent = (...args) => { | |
MonthView/index.js|299 col 38| handleDoubleClickEvent = (...args) => { | |
MonthView/index.js|304 col 47| handleShowMore = (events, date, cell, slot) => { | |
MonthView/index.js|327 col 23| slots.sort((a, b) => +a - +b) | |
MonthView/index.js|343 col 41| MonthView.range = (date, { localizer }) => { | |
MonthView/index.js|351 col 37| MonthView.navigate = (date, action) => { | |
MonthView/index.js|364 col 41| MonthView.title = (date, { localizer }) => | |
|| | |
MonthView/EmBackgroundCells.js|69 col 34| {range.map((date, index) => { | |
MonthView/EmBackgroundCells.js|100 col 53| let selectorClicksHandler = (point, actionType) => { | |
MonthView/EmBackgroundCells.js|121 col 34| selector.on('selecting', box => { | |
MonthView/EmBackgroundCells.js|149 col 37| selector.on('beforeSelect', box => { | |
MonthView/EmBackgroundCells.js|155 col 32| selector.on('click', point => selectorClicksHandler(point, 'click')) | |
MonthView/EmBackgroundCells.js|157 col 38| selector.on('doubleClick', point => | |
MonthView/EmBackgroundCells.js|161 col 34| selector.on('select', bounds => { | |
|| | |
EventForm/widgets/Homepage/index.js|10 col 4| }) => { | |
|| | |
Sidebar/EventFilters.js|9 col 63| const list = Object.entries(filters).map(([key, val]) => ( | |
|| | |
DateHeader/SummaryModal.js|5 col 22| const Li = ({event}) => ( | |
DateHeader/SummaryModal.js|13 col 71| const SummaryModal = ({startingToday, endingToday, toggleVisiblity }) => { | |
DateHeader/SummaryModal.js|28 col 25| renderItem={event => (<Li event={event} />)} | |
DateHeader/SummaryModal.js|36 col 25| renderItem={event => (<Li event={event} />)} | |
|| | |
EventTitle/index.js|18 col 4| }) => { | |
|| | |
DateHeader/index.js|13 col 4| }) => { | |
DateHeader/index.js|36 col 24| this.setState(state => ({ | |
DateHeader/index.js|46 col 41| startingToday = events.filter(event => (event.start_day === +moment(date).format('DDD'))) | |
DateHeader/index.js|47 col 39| endingToday = events.filter(event => (event.end_day === +moment(date).format('DDD'))) | |
DateHeader/index.js|49 col 41| startingToday = events.filter(event => (moment(event.start_time).isSame(date, 'day'))) | |
DateHeader/index.js|50 col 39| endingToday = events.filter(event => (moment(event.end_time).isSame(date, 'day'))) | |
DateHeader/index.js|52 col 22| events.map(event => { console.log(`${moment(event.start_time).format('DD-MM-YYYY')} --- ${moment(date).format('DD-MM-YYYY')}`)}) | |
|| | |
Scheduler/index.js|68 col 30| .then((response) => { | |
Scheduler/index.js|69 col 53| response.data.results.forEach(event => { | |
|| | |
TemplatePage/TemplateCalendar.jsx|39 col 21| onNavigate={() => {}} | |
|| | |
TemplatePage/index.js|41 col 33| .then(({ data: { results }}) => { | |
TemplatePage/index.js|43 col 31| eventChunks.forEach(event => { | |
TemplatePage/index.js|66 col 26| _this.setState(state => ({ | |
TemplatePage/index.js|76 col 28| events.forEach((event,i) => { | |
TemplatePage/index.js|112 col 21| .then(({ data }) => { | |
TemplatePage/index.js|123 col 25| const route = eventId => (`/template/edit-item/${this.templateId}/${eventId}`) | |
TemplatePage/index.js|128 col 33| const router = (startDate='') => (`/template/add-item/${this.templateId}/${startDate}`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment