@zealicsolutions/web-ui 1.0.44-beta-8 → 1.0.44-beta-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,25 @@ export interface CalendarMoleculeProps {
28
28
  paddingBottom?: string;
29
29
  primaryColor?: string;
30
30
  secondaryColor?: string;
31
+ toolbarBg?: string;
32
+ toolbarTextColor?: string;
33
+ buttonBg?: string;
34
+ buttonTextColor?: string;
35
+ buttonHoverBg?: string;
36
+ dayHeaderColor?: string;
37
+ dayHeaderFontWeight?: number | string;
38
+ slotLabelColor?: string;
39
+ slotLabelFontSize?: string | number;
40
+ eventBg?: string;
41
+ eventBorderColor?: string;
42
+ eventTextColor?: string;
43
+ eventHoverBg?: string;
44
+ nowIndicatorColor?: string;
45
+ resourceAreaBg?: string;
46
+ resourceTextColor?: string;
47
+ resourceBorderColor?: string;
48
+ bodyBg?: string;
49
+ resourceAreaWidth?: string | number;
31
50
  /** callback whenever a drop creates a new event */
32
51
  onEventAdd?: (e: EventInput) => void;
33
52
  configurationItemInfo?: ConfigurationItemInfo;
@@ -28,6 +28,25 @@ export interface CalendarMoleculeProps {
28
28
  paddingBottom?: string;
29
29
  primaryColor?: string;
30
30
  secondaryColor?: string;
31
+ toolbarBg?: string;
32
+ toolbarTextColor?: string;
33
+ buttonBg?: string;
34
+ buttonTextColor?: string;
35
+ buttonHoverBg?: string;
36
+ dayHeaderColor?: string;
37
+ dayHeaderFontWeight?: number | string;
38
+ slotLabelColor?: string;
39
+ slotLabelFontSize?: string | number;
40
+ eventBg?: string;
41
+ eventBorderColor?: string;
42
+ eventTextColor?: string;
43
+ eventHoverBg?: string;
44
+ nowIndicatorColor?: string;
45
+ resourceAreaBg?: string;
46
+ resourceTextColor?: string;
47
+ resourceBorderColor?: string;
48
+ bodyBg?: string;
49
+ resourceAreaWidth?: string | number;
31
50
  /** callback whenever a drop creates a new event */
32
51
  onEventAdd?: (e: EventInput) => void;
33
52
  configurationItemInfo?: ConfigurationItemInfo;
@@ -1,2 +1,2 @@
1
- import{__spreadArray as e,__assign as i}from"../../node_modules/tslib/tslib.es6.js";import{jsx as t}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useRef as o,useState as r,useEffect as n,useCallback as d}from"react";import a from"../../node_modules/@fullcalendar/react/dist/index.js";import l,{Draggable as m}from"../../node_modules/@fullcalendar/interaction/index.js";import s from"../../node_modules/@fullcalendar/daygrid/index.js";import u from"../../node_modules/@fullcalendar/timegrid/index.js";import c from"../../node_modules/@fullcalendar/list/index.js";import f from"../../node_modules/@fullcalendar/timeline/index.js";import g from"../../node_modules/@fullcalendar/resource/index.js";import v from"../../node_modules/@fullcalendar/resource-timegrid/index.js";import p from"../../node_modules/@fullcalendar/resource-timeline/index.js";import b from"../../node_modules/@mui/material/Box/Box.js";var h=function(h){var y=h.events,x=void 0===y?[]:y,j=h.resources,D=h.initialView,T=void 0===D?"dayGridMonth":D,_=h.enableDayGrid,G=void 0===_||_,k=h.enableTimeGrid,C=void 0===k||k,M=h.enableList,S=void 0!==M&&M,w=h.enableTimeline,B=void 0!==w&&w,L=h.enableResourceTimeline,R=void 0!==L&&L,W=h.slotDuration,A=void 0===W?"00:15:00":W,I=h.snapDuration,N=void 0===I?"00:05:00":I,O=h.businessHours,E=h.width,H=h.height,J=void 0===H?"auto":H,V=h.backgroundColor,Y=h.themeSystem,K=void 0===Y?"standard":Y,q=h.marginLeft,z=void 0===q?"0":q,F=h.marginTop,P=void 0===F?"0":F,Q=h.marginRight,U=void 0===Q?"0":Q,X=h.marginBottom,Z=void 0===X?"0":X,$=h.paddingLeft,ee=void 0===$?"0":$,ie=h.paddingTop,te=void 0===ie?"0":ie,oe=h.paddingRight,re=void 0===oe?"0":oe,ne=h.paddingBottom,de=void 0===ne?"0":ne,ae=h.primaryColor,le=h.secondaryColor,me=h.onEventAdd,se=h.configurationItemInfo,ue=o(null),ce=r(x),fe=ce[0],ge=ce[1];n((function(){var e=new m(document.body,{itemSelector:".fc-event-external",eventData:function(e){var i=JSON.parse(e.getAttribute("data-event")),t=Math.floor(i.duration/60),o=i.duration%60;return{id:i.id,title:i.title,duration:"".concat(t,":").concat(o.toString().padStart(2,"0"))}}});return function(){return e.destroy()}}),[]);var ve=d((function(i){var t=JSON.parse(i.draggedEl.getAttribute("data-event")),o=i.event.start,r=new Date(o.getTime()+6e4*t.duration),n={id:"".concat(t.id,"-").concat(o.getTime()),title:t.title,start:o,end:r,resourceId:t.resourceId};ge((function(i){return e(e([],i,!0),[n],!1)})),null==me||me(n),i.event.remove()}),[me]),pe=[l,s,u,c,f,g,v,p],be={dayGridMonth:G,dayGridWeek:G,dayGridDay:G,timeGridWeek:C,timeGridDay:C,listYear:S,listMonth:S,listWeek:S,listDay:S,timelineYear:B,timelineMonth:B,timelineWeek:B,timelineDay:B,resourceTimeGridWeek:R,resourceTimeGridDay:R,resourceTimelineMonth:R,resourceTimelineWeek:R,resourceTimelineDay:R},he=Object.entries(be).filter((function(e){return e[0],e[1]})).map((function(e){return e[0]})).join(","),ye=be[T]?T:he.split(",")[0]||"dayGridMonth";return t(b,i({sx:{width:E,height:J,backgroundColor:V,marginLeft:z,marginTop:P,marginRight:U,marginBottom:Z,paddingLeft:ee,paddingTop:te,paddingRight:re,paddingBottom:de,"--fc-button-bg":ae,"--fc-event-bg":le}},se,{children:t(a,{ref:ue,themeSystem:K,schedulerLicenseKey:"CC-Attribution-NonCommercial-NoDerivatives",plugins:pe,initialView:ye,headerToolbar:{left:"prev,next today",center:"title",right:"".concat(he)},editable:!0,droppable:!0,selectable:!0,businessHours:O,slotDuration:A,snapDuration:N,events:fe,resources:j,eventReceive:ve})}))};export{h as CalendarMolecule};
1
+ import{__spreadArray as e,__assign as o}from"../../node_modules/tslib/tslib.es6.js";import{jsx as r}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useRef as t,useState as i,useEffect as n,useCallback as d}from"react";import a from"../../node_modules/@fullcalendar/react/dist/index.js";import l,{Draggable as c}from"../../node_modules/@fullcalendar/interaction/index.js";import s from"../../node_modules/@fullcalendar/daygrid/index.js";import u from"../../node_modules/@fullcalendar/timegrid/index.js";import m from"../../node_modules/@fullcalendar/list/index.js";import f from"../../node_modules/@fullcalendar/timeline/index.js";import g from"../../node_modules/@fullcalendar/resource/index.js";import v from"../../node_modules/@fullcalendar/resource-timegrid/index.js";import b from"../../node_modules/@fullcalendar/resource-timeline/index.js";import p from"../../node_modules/@mui/material/Box/Box.js";var h=function(h){var y=h.events,C=void 0===y?[]:y,x=h.resources,T=h.initialView,j=void 0===T?"dayGridMonth":T,B=h.enableDayGrid,D=void 0===B||B,k=h.enableTimeGrid,_=void 0===k||k,G=h.enableList,S=void 0!==G&&G,W=h.enableTimeline,w=void 0!==W&&W,L=h.enableResourceTimeline,M=void 0!==L&&L,A=h.slotDuration,H=void 0===A?"00:15:00":A,R=h.snapDuration,I=void 0===R?"00:05:00":R,N=h.businessHours,O=h.width,z=h.height,E=void 0===z?"auto":z,F=h.backgroundColor,J=h.themeSystem,V=void 0===J?"standard":J,Y=h.marginLeft,K=void 0===Y?"0":Y,q=h.marginTop,P=void 0===q?"0":q,Q=h.marginRight,U=void 0===Q?"0":Q,X=h.marginBottom,Z=void 0===X?"0":X,$=h.paddingLeft,ee=void 0===$?"0":$,oe=h.paddingTop,re=void 0===oe?"0":oe,te=h.paddingRight,ie=void 0===te?"0":te,ne=h.paddingBottom,de=void 0===ne?"0":ne,ae=h.primaryColor;h.secondaryColor,h.toolbarBg,h.toolbarTextColor,h.buttonBg,h.buttonTextColor,h.buttonHoverBg,h.dayHeaderColor,h.dayHeaderFontWeight,h.slotLabelColor,h.slotLabelFontSize,h.eventBg,h.eventBorderColor,h.eventTextColor,h.eventHoverBg,h.nowIndicatorColor,h.resourceAreaBg,h.resourceTextColor,h.resourceBorderColor,h.bodyBg,h.resourceAreaWidth;var le=h.onEventAdd,ce=h.configurationItemInfo,se=t(null),ue=i(C),me=ue[0],fe=ue[1];n((function(){var e=new c(document.body,{itemSelector:".fc-event-external",eventData:function(e){var o=JSON.parse(e.getAttribute("data-event")),r=Math.floor(o.duration/60),t=o.duration%60;return{id:o.id,title:o.title,duration:"".concat(r,":").concat(t.toString().padStart(2,"0"))}}});return function(){return e.destroy()}}),[]);var ge=d((function(o){var r=JSON.parse(o.draggedEl.getAttribute("data-event")),t=o.event.start,i=new Date(t.getTime()+6e4*r.duration),n={id:"".concat(r.id,"-").concat(t.getTime()),title:r.title,start:t,end:i,resourceId:r.resourceId};fe((function(o){return e(e([],o,!0),[n],!1)})),null==le||le(n),o.event.remove()}),[le]),ve=[l,s,u,m,f,g,v,b],be={dayGridMonth:D,dayGridWeek:D,dayGridDay:D,timeGridWeek:_,timeGridDay:_,listYear:S,listMonth:S,listWeek:S,listDay:S,timelineYear:w,timelineMonth:w,timelineWeek:w,timelineDay:w,resourceTimeGridWeek:M,resourceTimeGridDay:M,resourceTimelineMonth:M,resourceTimelineWeek:M,resourceTimelineDay:M},pe=Object.entries(be).filter((function(e){return e[0],e[1]})).map((function(e){return e[0]})).join(","),he=be[j]?j:pe.split(",")[0]||"dayGridMonth";return console.log(ae),r(p,o({sx:{width:O,height:E,backgroundColor:F,marginLeft:K,marginTop:P,marginRight:U,marginBottom:Z,paddingLeft:ee,paddingTop:re,paddingRight:ie,paddingBottom:de,"--fc-button-bg":ae,"--fc-button-color":ae,"--fc-button-hover-bg":ae,"& .fc .fc-toolbar":{backgroundColor:ae},"& .fc .fc-col-header-cell-cushion":{color:ae,fontWeight:ae},"& .fc .fc-timegrid-slot-label-cushion":{color:ae,fontSize:ae},"& .fc .fc-event":{backgroundColor:ae,borderColor:ae,color:ae},"& .fc .fc-event:hover":{backgroundColor:ae},"& .fc .fc-now-indicator":{backgroundColor:ae},"& .fc .fc-resource-area":{backgroundColor:ae},"& .fc .fc-resource .fc-resource-title":{color:ae},"& .fc .fc-resource-area-cell":{borderColor:ae},"& .fc .fc-scrollgrid-section":{backgroundColor:ae}}},ce,{children:r(a,{ref:se,themeSystem:V,schedulerLicenseKey:"CC-Attribution-NonCommercial-NoDerivatives",plugins:ve,initialView:he,headerToolbar:{left:"prev,next today",center:"title",right:"".concat(pe)},editable:!0,droppable:!0,selectable:!0,businessHours:N,slotDuration:H,snapDuration:I,events:me,resources:x,eventReceive:ge})}))};export{h as CalendarMolecule};
2
2
  //# sourceMappingURL=CalendarMolecule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarMolecule.js","sources":["../../../../../src/molecules/Calendar/CalendarMolecule.tsx"],"sourcesContent":[null],"names":["CalendarMolecule","_a","_b","events","initialEvents","resources","_c","initialView","_d","enableDayGrid","_e","enableTimeGrid","_f","enableList","_g","enableTimeline","_h","enableResourceTimeline","_j","slotDuration","_k","snapDuration","businessHours","width","_l","height","backgroundColor","_m","themeSystem","_o","marginLeft","_p","marginTop","_q","marginRight","_r","marginBottom","_s","paddingLeft","_t","paddingTop","_u","paddingRight","_v","paddingBottom","primaryColor","secondaryColor","onEventAdd","configurationItemInfo","calendarRef","useRef","_w","useState","eventsState","setEventsState","useEffect","dd","Draggable","document","body","itemSelector","eventData","el","raw","JSON","parse","getAttribute","hrs","Math","floor","duration","mins","id","title","concat","toString","padStart","destroy","onEventReceive","useCallback","info","draggedEl","start","event","end","Date","getTime","newEvt","resourceId","prev","__spreadArray","remove","ALL_PLUGINS","interactionPlugin","dayGridPlugin","timeGridPlugin","listPlugin","timelinePlugin","resourcePlugin","resourceTimeGridPlugin","resourceTimelinePlugin","viewMap","dayGridMonth","dayGridWeek","dayGridDay","timeGridWeek","timeGridDay","listYear","listMonth","listWeek","listDay","timelineYear","timelineMonth","timelineWeek","timelineDay","resourceTimeGridWeek","resourceTimeGridDay","resourceTimelineMonth","resourceTimelineWeek","resourceTimelineDay","toolbarViews","Object","entries","filter","map","join","safeInitialView","split","_jsx","Box","__assign","sx","FullCalendar","ref","schedulerLicenseKey","plugins","headerToolbar","left","center","right","editable","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AQrB,IACjCsB,QAAO,SAAC1H,GAAiB,OAAfA,EAAA,GAASA,EAAA,EAAM,IACzB2H,KAAI,SAAC3H,GAAW,OAANA,EAAA,EAAM,IAChB4H,KAAK,KAEFC,GAAkBzB,GAAQ9F,GAC5BA,EACAiH,GAAaO,MAAM,KAAK,IAAM,eAkBlC,OACEC,EAACC,EAAGC,EAAA,CAACC,GAjBW,CAChB5G,MAAKA,EACLE,OAAMA,EACNC,gBAAeA,EACfI,WAAUA,EACVE,UAASA,EACTE,YAAWA,EACXE,aAAYA,EACZE,YAAWA,GACXE,WAAUA,GACVE,aAAYA,GACZE,cAAaA,GACb,iBAAkBC,GAClB,gBAAiBC,KAIOE,aACtBgF,EAACI,EACC,CAAAC,IAAKpF,GACLrB,YAAaA,EACb0G,oBAAoB,6CACpBC,QAAS3C,GACTrF,YAAauH,GACbU,cAAe,CACbC,KAAM,kBACNC,OAAQ,QACRC,MAAO,GAAGjE,OAAA8C,KAEZoB,UAAQ,EACRC,WAAS,EACTC,YACA,EAAAxH,cAAeA,EACfH,aAAcA,EACdE,aAAcA,EACdlB,OAAQkD,GACRhD,UAAWA,EACX0I,aAAcjE,OAItB"}
1
+ {"version":3,"file":"CalendarMolecule.js","sources":["../../../../../src/molecules/Calendar/CalendarMolecule.tsx"],"sourcesContent":[null],"names":["CalendarMolecule","_a","_b","events","initialEvents","resources","_c","initialView","_d","enableDayGrid","_e","enableTimeGrid","_f","enableList","_g","enableTimeline","_h","enableResourceTimeline","_j","slotDuration","_k","snapDuration","businessHours","width","_l","height","backgroundColor","_m","themeSystem","_o","marginLeft","_p","marginTop","_q","marginRight","_r","marginBottom","_s","paddingLeft","_t","paddingTop","_u","paddingRight","_v","paddingBottom","primaryColor","secondaryColor","toolbarBg","toolbarTextColor","buttonBg","buttonTextColor","buttonHoverBg","dayHeaderColor","dayHeaderFontWeight","slotLabelFontSize","eventBg","eventBorderColor","eventTextColor","eventHoverBg","nowIndicatorColor","resourceAreaBg","resourceTextColor","bodyBg","resourceAreaWidth","onEventAdd","configurationItemInfo","calendarRef","useRef","_w","useState","eventsState","setEventsState","useEffect","dd","Draggable","document","body","itemSelector","eventData","el","raw","JSON","parse","getAttribute","hrs","Math","floor","duration","mins","id","title","concat","toString","padStart","destroy","onEventReceive","useCallback","info","draggedEl","start","event","end","Date","getTime","newEvt","resourceId","prev","__spreadArray","remove","ALL_PLUGINS","interactionPlugin","dayGridPlugin","timeGridPlugin","listPlugin","timelinePlugin","resourcePlugin","resourceTimeGridPlugin","resourceTimelinePlugin","viewMap","dayGridMonth","dayGridWeek","dayGridDay","timeGridWeek","timeGridDay","listYear","listMonth","listWeek","listDay","timelineYear","timelineMonth","timelineWeek","timelineDay","resourceTimeGridWeek","resourceTimeGridDay","resourceTimelineMonth","resourceTimelineWeek","resourceTimelineDay","toolbarViews","Object","entries","filter","map","join","safeInitialView","split","console","log","_jsx","Box","__assign","sx","color","fontWeight","fontSize","borderColor","FullCalendar","ref","schedulerLicenseKey","plugins","headerToolbar","left","center","right","editable","droppable","selectable","eventReceive"],"mappings":"07BAwFO,IAAMA,EAAoD,SAACC,OAChEC,EAA0BD,EAAAE,OAAlBC,OAAgB,IAAAF,EAAA,KACxBG,EAASJ,EAAAI,UACTC,EAA4BL,EAAAM,YAA5BA,OAAc,IAAAD,EAAA,iBACdE,EAAAP,EAAAQ,cAAAA,OAAa,IAAAD,GAAOA,EACpBE,EAAAT,EAAAU,eAAAA,OAAc,IAAAD,GAAOA,EACrBE,eAAAC,OAAa,IAAAD,GAAKA,EAClBE,mBAAAC,OAAiB,IAAAD,GAAKA,EACtBE,2BAAAC,OAAyB,IAAAD,GAAKA,EAC9BE,iBAAAC,aAAe,WAAUD,EACzBE,EAAyBnB,EAAAoB,aAAzBA,OAAY,IAAAD,EAAG,WAAUA,EACzBE,EAAarB,EAAAqB,cACbC,EAAKtB,EAAAsB,MACLC,WAAAC,OAAS,IAAAD,EAAA,OAAMA,EACfE,EAAezB,EAAAyB,gBACfC,gBAAAC,aAA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UA,EACVE,UAASA,EACTE,YAAWA,EACXE,aAAYA,EACZE,YAAWA,GACXE,WAAUA,GACVE,aAAYA,GACZE,cAAaA,GACb,iBAAkBC,GAClB,oBAAqBA,GACrB,uBAAwBA,GAExB,oBAAqB,CACnBnB,gBAAiBmB,IAEnB,oCAAqC,CACnC0G,MAAO1G,GACP2G,WAAY3G,IAEd,wCAAyC,CACvC0G,MAAO1G,GACP4G,SAAU5G,IAEZ,kBAAmB,CACjBnB,gBAAiBmB,GACjB6G,YAAa7G,GACb0G,MAAO1G,IAET,wBAAyB,CACvBnB,gBAAiBmB,IAEnB,0BAA2B,CACzBnB,gBAAiBmB,IAEnB,0BAA2B,CACzBnB,gBAAiBmB,IAEnB,wCAAyC,CACvC0G,MAAO1G,IAET,+BAAgC,CAC9B6G,YAAa7G,IAEf,+BAAgC,CAC9BnB,gBAAiBmB,MAKKoB,aACtBkF,EAACQ,EACC,CAAAC,IAAK1F,GACLtC,YAAaA,EACbiI,oBAAoB,6CACpBC,QAASjD,GACTtG,YAAawI,GACbgB,cAAe,CACbC,KAAM,kBACNC,OAAQ,QACRC,MAAO,GAAGvE,OAAA8C,KAEZ0B,UAAQ,EACRC,WAAS,EACTC,YACA,EAAA/I,cAAeA,EACfH,aAAcA,EACdE,aAAcA,EACdlB,OAAQmE,GACRjE,UAAWA,EACXiK,aAAcvE,OAItB"}
package/dist/index.d.ts CHANGED
@@ -1832,6 +1832,25 @@ interface CalendarMoleculeProps {
1832
1832
  paddingBottom?: string;
1833
1833
  primaryColor?: string;
1834
1834
  secondaryColor?: string;
1835
+ toolbarBg?: string;
1836
+ toolbarTextColor?: string;
1837
+ buttonBg?: string;
1838
+ buttonTextColor?: string;
1839
+ buttonHoverBg?: string;
1840
+ dayHeaderColor?: string;
1841
+ dayHeaderFontWeight?: number | string;
1842
+ slotLabelColor?: string;
1843
+ slotLabelFontSize?: string | number;
1844
+ eventBg?: string;
1845
+ eventBorderColor?: string;
1846
+ eventTextColor?: string;
1847
+ eventHoverBg?: string;
1848
+ nowIndicatorColor?: string;
1849
+ resourceAreaBg?: string;
1850
+ resourceTextColor?: string;
1851
+ resourceBorderColor?: string;
1852
+ bodyBg?: string;
1853
+ resourceAreaWidth?: string | number;
1835
1854
  /** callback whenever a drop creates a new event */
1836
1855
  onEventAdd?: (e: EventInput) => void;
1837
1856
  configurationItemInfo?: ConfigurationItemInfo$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "1.0.44-beta-8",
3
+ "version": "1.0.44-beta-9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"