@reltio/remotes 1.4.1396 → 1.4.1397

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.
Files changed (82) hide show
  1. package/1219.js +1 -1
  2. package/1219.js.map +1 -1
  3. package/1268.js +1 -1
  4. package/1268.js.map +1 -1
  5. package/1375.js +1 -1
  6. package/1375.js.map +1 -1
  7. package/1689.js +1 -1
  8. package/1689.js.map +1 -1
  9. package/2114.js +1 -1
  10. package/2114.js.map +1 -1
  11. package/2890.js +1 -1
  12. package/2890.js.map +1 -1
  13. package/3149.js +1 -1
  14. package/3149.js.map +1 -1
  15. package/3273.js +1 -1
  16. package/3273.js.map +1 -1
  17. package/3540.js +1 -1
  18. package/3540.js.map +1 -1
  19. package/3602.js +1 -1
  20. package/3602.js.map +1 -1
  21. package/4015.js +1 -1
  22. package/4015.js.map +1 -1
  23. package/447.js +1 -1
  24. package/447.js.map +1 -1
  25. package/461.js +1 -1
  26. package/461.js.map +1 -1
  27. package/4843.js +1 -1
  28. package/4881.js +1 -1
  29. package/4881.js.map +1 -1
  30. package/4889.js +1 -1
  31. package/4889.js.map +1 -1
  32. package/5400.js +1 -1
  33. package/5400.js.map +1 -1
  34. package/5601.js +1 -1
  35. package/5601.js.map +1 -1
  36. package/5709.js +1 -1
  37. package/5709.js.map +1 -1
  38. package/5720.js +1 -1
  39. package/5720.js.map +1 -1
  40. package/5937.js +1 -1
  41. package/5937.js.map +1 -1
  42. package/6103.js +1 -1
  43. package/6103.js.map +1 -1
  44. package/6210.js +2 -0
  45. package/6210.js.map +1 -0
  46. package/6312.js +1 -1
  47. package/6312.js.map +1 -1
  48. package/6617.js +1 -1
  49. package/6617.js.map +1 -1
  50. package/6669.js +1 -1
  51. package/6669.js.map +1 -1
  52. package/6710.js +1 -1
  53. package/6710.js.map +1 -1
  54. package/6913.js +1 -1
  55. package/6913.js.map +1 -1
  56. package/7937.js +1 -1
  57. package/7937.js.map +1 -1
  58. package/8051.js +1 -1
  59. package/8051.js.map +1 -1
  60. package/810.js +2 -0
  61. package/810.js.map +1 -0
  62. package/8183.js +1 -1
  63. package/8183.js.map +1 -1
  64. package/8443.js +1 -1
  65. package/8443.js.map +1 -1
  66. package/8684.js +1 -1
  67. package/8684.js.map +1 -1
  68. package/8847.js +1 -1
  69. package/8847.js.map +1 -1
  70. package/9043.js +1 -1
  71. package/9043.js.map +1 -1
  72. package/9630.js +1 -1
  73. package/9630.js.map +1 -1
  74. package/99.js +1 -1
  75. package/99.js.map +1 -1
  76. package/package.json +1 -1
  77. package/remoteEntry.js +1 -1
  78. package/remoteEntry.js.map +1 -1
  79. package/4678.js +0 -2
  80. package/4678.js.map +0 -1
  81. package/9211.js +0 -2
  82. package/9211.js.map +0 -1
package/9630.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9630],{8598:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(95038),n=r.n(o);const a=function(){function e(e){var t=void 0===e?{}:e,r=t.locale,o=t.instance,a=t.moment;this.yearFormat="YYYY",this.yearMonthFormat="MMMM YYYY",this.dateTime12hFormat="MMMM Do hh:mm a",this.dateTime24hFormat="MMMM Do HH:mm",this.time12hFormat="hh:mm A",this.time24hFormat="HH:mm",this.dateFormat="MMMM Do",this.moment=o||a||n(),this.locale=r}return e.prototype.parse=function(e,t){return""===e?null:this.moment(e,t,!0)},e.prototype.date=function(e){if(null===e)return null;var t=this.moment(e);return t.locale(this.locale),t},e.prototype.isValid=function(e){return this.moment(e).isValid()},e.prototype.isNull=function(e){return null===e},e.prototype.getDiff=function(e,t){return e.diff(t)},e.prototype.isAfter=function(e,t){return e.isAfter(t)},e.prototype.isBefore=function(e,t){return e.isBefore(t)},e.prototype.isAfterDay=function(e,t){return e.isAfter(t,"day")},e.prototype.isBeforeDay=function(e,t){return e.isBefore(t,"day")},e.prototype.isBeforeYear=function(e,t){return e.isBefore(t,"year")},e.prototype.isAfterYear=function(e,t){return e.isAfter(t,"year")},e.prototype.startOfDay=function(e){return e.clone().startOf("day")},e.prototype.endOfDay=function(e){return e.clone().endOf("day")},e.prototype.format=function(e,t){return e.locale(this.locale),e.format(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hours")},e.prototype.addDays=function(e,t){return t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days")},e.prototype.setHours=function(e,t){return e.clone().hours(t)},e.prototype.getMinutes=function(e){return e.get("minutes")},e.prototype.setMinutes=function(e,t){return e.clone().minutes(t)},e.prototype.getSeconds=function(e){return e.get("seconds")},e.prototype.setSeconds=function(e,t){return e.clone().seconds(t)},e.prototype.getMonth=function(e){return e.get("month")},e.prototype.isSameDay=function(e,t){return e.isSame(t,"day")},e.prototype.isSameMonth=function(e,t){return e.isSame(t,"month")},e.prototype.isSameYear=function(e,t){return e.isSame(t,"year")},e.prototype.isSameHour=function(e,t){return e.isSame(t,"hour")},e.prototype.setMonth=function(e,t){return e.clone().month(t)},e.prototype.getMeridiemText=function(e){return"am"===e?"AM":"PM"},e.prototype.startOfMonth=function(e){return e.clone().startOf("month")},e.prototype.endOfMonth=function(e){return e.clone().endOf("month")},e.prototype.getNextMonth=function(e){return e.clone().add(1,"month")},e.prototype.getPreviousMonth=function(e){return e.clone().subtract(1,"month")},e.prototype.getMonthArray=function(e){for(var t=[e.clone().startOf("year")];t.length<12;){var r=t[t.length-1];t.push(this.getNextMonth(r))}return t},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.clone().set("year",t)},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){return this.moment.weekdaysShort(!0)},e.prototype.isEqual=function(e,t){return null===e&&null===t||this.moment(e).isSame(t)},e.prototype.getWeekArray=function(e){for(var t=e.clone().startOf("month").startOf("week"),r=e.clone().endOf("month").endOf("week"),o=0,n=t,a=[];n.isBefore(r);){var i=Math.floor(o/7);a[i]=a[i]||[],a[i].push(n),n=n.clone().add(1,"day"),o+=1}return a},e.prototype.getYearRange=function(e,t){for(var r=this.moment(e).startOf("year"),o=this.moment(t).endOf("year"),n=[],a=r;a.isBefore(o);)n.push(a),a=a.clone().add(1,"year");return n},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,"YYYY")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ddd, MMM D")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM D")},e.prototype.getMonthText=function(e){return this.format(e,"MMMM")},e.prototype.getDayText=function(e){return this.format(e,"D")},e.prototype.getHourText=function(e,t){return this.format(e,t?"hh":"HH")},e.prototype.getMinuteText=function(e){return this.format(e,"mm")},e.prototype.getSecondText=function(e){return this.format(e,"ss")},e}()},29103:(e,t,r)=>{var o=r(71600);t.Z=void 0;var n=o(r(24328)),a=(0,o(r(50175)).default)(n.default.createElement("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");t.Z=a},83911:(e,t,r)=>{var o=r(71600);t.Z=void 0;var n=o(r(24328)),a=(0,o(r(50175)).default)(n.default.createElement("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}),"FullscreenExit");t.Z=a},53469:(e,t,r)=>{r.r(t),r.d(t,{default:()=>k});var o=r(8598),n=r(36138),a=r(22664),i=r(39450),l=r(585),s=r(24328),u=r.n(s),c=r(52730),p=r(44443),f=r(4044),m=r(56259),h=r(98884),d=r(67268),y=r(22243);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},g.apply(this,arguments)}const v=e=>{let{layoutItemConfig:t,views:r,onToggleFullscreen:o,isFullscreen:n,className:a,onRemove:i,children:l,style:s}=e,c=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["layoutItemConfig","views","onToggleFullscreen","isFullscreen","className","onRemove","children","style"]);const p=r.find((e=>{let{config:r}=e;return t.i===r.id}));if(!p)return null;const{config:f}=p;return u().createElement("div",g({style:s,className:a},c),y.Z.getComponent({type:f.component,config:f,onRemove:i,onToggleFullscreen:o,isFullscreen:n}),l)};var x=r(79692);const M=(0,x.Z)({pageWrapper:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},content:{display:"flex",overflow:"hidden",height:"100%"},rightPanel:{overflowY:"auto",backgroundColor:"#FFF",borderLeft:"solid 1px rgba(0, 0, 0, 0.12)",width:"490px",minWidth:"490px",maxWidth:"490px"},mainPanel:{flex:"1 1 auto",overflow:"auto",backgroundColor:"#F9F9F9"}}),b=(0,s.memo)((e=>{let{views:t,layout:r,onLayoutChanged:o}=e;const n=M();return u().createElement("div",{className:n.pageWrapper},u().createElement("div",{className:n.content},u().createElement("div",{className:n.mainPanel},u().createElement(d.Z,{LayoutItem:v,views:t,layout:r,onLayoutChanged:o,draggableHandle:".viewDraggableHandle"}))))})),E=(0,x.Z)({perspectiveView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"}});var w=r(94079),T=r(71153),H=r.n(T),O=r(17440);const S=(0,x.Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},attributeType:{display:"flex",flexWrap:"wrap"},badge:{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px",backgroundColor:"#0071ce",color:"#f5f5f5"}}))),F=e=>{let{label:t,attributeType:r,className:o,classes:n,children:a}=e;const i=S({classes:n});return(0,O.isNil)(r)?null:u().createElement("div",{className:H()(i.profileBandWrapper,o)},u().createElement("div",{className:i.profileBand},u().createElement(w.Avatar,{className:H()(i.profileIcon,i.imageProfileIcon)}),u().createElement("div",{className:i.profileInfo},u().createElement("div",null,u().createElement(w.Typography,{variant:"h6",className:i.label},(0,f.idV)(t))),u().createElement("div",{className:i.specialInfo},u().createElement("div",{className:i.attributeType},u().createElement(w.Typography,{className:H()(i.badge,o),component:"div"},(0,f.idV)(r.label))))),a&&u().createElement("div",null,a)))};var P=r(49885);const D=(0,s.memo)((e=>{let{config:t,attributeTypeUri:r,value:o}=e;const n=E(),[a,i]=(0,s.useState)(""),l=(0,c.useSelector)(P.ZP.selectors.getMetadata),p=(0,c.useSelector)(P.ZP.selectors.getAttributePresentations),d=(0,f.zeJ)(l,r);(0,s.useEffect)((()=>{(0,f.kR6)({attributeType:d,attributePresentations:p,value:o}).then((e=>i(e)))}),[d,p,o]);const y=(0,f.BlA)({value:(0,f.QZu)(d)?o:(e=>Object.values(e[0])[0])(o),attributeType:d}),g=(0,s.useMemo)((()=>t.views.map((e=>({config:e})))),[t]),[v,x]=(0,s.useState)();(0,s.useEffect)((()=>{const e=(0,f.sFD)(t.layout,t.views);x(e)}),[t]);const M=(0,s.useCallback)((e=>x(e)),[]);return u().createElement("div",{className:n.perspectiveView},u().createElement(m.I.Provider,{value:y},u().createElement(F,{label:a,attributeType:d}),u().createElement(h.DX,null,v&&u().createElement(b,{layout:v,onLayoutChanged:M,views:g}))))})),N=(0,n.createGenerateClassName)({productionPrefix:"pivotingPerspective",disableGlobal:!0}),k=e=>{let{config:t,attributeTypeUri:r,value:s,store:f,onResize:m}=e;return u().createElement(c.Provider,{store:f},u().createElement(i.m.Provider,{value:t.id},u().createElement(n.StylesProvider,{generateClassName:N},u().createElement(a.MuiPickersUtilsProvider,{utils:o.Z},u().createElement(p.Z,{handleHeight:!0,onResize:(e,t)=>null==m?void 0:m(Math.floor(e),Math.floor(t))}),t&&u().createElement(D,{value:s,config:t,attributeTypeUri:r}),u().createElement(l.Z,null)))))}}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9630],{8598:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(95038),n=r.n(o);const a=function(){function e(e){var t=void 0===e?{}:e,r=t.locale,o=t.instance,a=t.moment;this.yearFormat="YYYY",this.yearMonthFormat="MMMM YYYY",this.dateTime12hFormat="MMMM Do hh:mm a",this.dateTime24hFormat="MMMM Do HH:mm",this.time12hFormat="hh:mm A",this.time24hFormat="HH:mm",this.dateFormat="MMMM Do",this.moment=o||a||n(),this.locale=r}return e.prototype.parse=function(e,t){return""===e?null:this.moment(e,t,!0)},e.prototype.date=function(e){if(null===e)return null;var t=this.moment(e);return t.locale(this.locale),t},e.prototype.isValid=function(e){return this.moment(e).isValid()},e.prototype.isNull=function(e){return null===e},e.prototype.getDiff=function(e,t){return e.diff(t)},e.prototype.isAfter=function(e,t){return e.isAfter(t)},e.prototype.isBefore=function(e,t){return e.isBefore(t)},e.prototype.isAfterDay=function(e,t){return e.isAfter(t,"day")},e.prototype.isBeforeDay=function(e,t){return e.isBefore(t,"day")},e.prototype.isBeforeYear=function(e,t){return e.isBefore(t,"year")},e.prototype.isAfterYear=function(e,t){return e.isAfter(t,"year")},e.prototype.startOfDay=function(e){return e.clone().startOf("day")},e.prototype.endOfDay=function(e){return e.clone().endOf("day")},e.prototype.format=function(e,t){return e.locale(this.locale),e.format(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hours")},e.prototype.addDays=function(e,t){return t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days")},e.prototype.setHours=function(e,t){return e.clone().hours(t)},e.prototype.getMinutes=function(e){return e.get("minutes")},e.prototype.setMinutes=function(e,t){return e.clone().minutes(t)},e.prototype.getSeconds=function(e){return e.get("seconds")},e.prototype.setSeconds=function(e,t){return e.clone().seconds(t)},e.prototype.getMonth=function(e){return e.get("month")},e.prototype.isSameDay=function(e,t){return e.isSame(t,"day")},e.prototype.isSameMonth=function(e,t){return e.isSame(t,"month")},e.prototype.isSameYear=function(e,t){return e.isSame(t,"year")},e.prototype.isSameHour=function(e,t){return e.isSame(t,"hour")},e.prototype.setMonth=function(e,t){return e.clone().month(t)},e.prototype.getMeridiemText=function(e){return"am"===e?"AM":"PM"},e.prototype.startOfMonth=function(e){return e.clone().startOf("month")},e.prototype.endOfMonth=function(e){return e.clone().endOf("month")},e.prototype.getNextMonth=function(e){return e.clone().add(1,"month")},e.prototype.getPreviousMonth=function(e){return e.clone().subtract(1,"month")},e.prototype.getMonthArray=function(e){for(var t=[e.clone().startOf("year")];t.length<12;){var r=t[t.length-1];t.push(this.getNextMonth(r))}return t},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.clone().set("year",t)},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){return this.moment.weekdaysShort(!0)},e.prototype.isEqual=function(e,t){return null===e&&null===t||this.moment(e).isSame(t)},e.prototype.getWeekArray=function(e){for(var t=e.clone().startOf("month").startOf("week"),r=e.clone().endOf("month").endOf("week"),o=0,n=t,a=[];n.isBefore(r);){var i=Math.floor(o/7);a[i]=a[i]||[],a[i].push(n),n=n.clone().add(1,"day"),o+=1}return a},e.prototype.getYearRange=function(e,t){for(var r=this.moment(e).startOf("year"),o=this.moment(t).endOf("year"),n=[],a=r;a.isBefore(o);)n.push(a),a=a.clone().add(1,"year");return n},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,"YYYY")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ddd, MMM D")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM D")},e.prototype.getMonthText=function(e){return this.format(e,"MMMM")},e.prototype.getDayText=function(e){return this.format(e,"D")},e.prototype.getHourText=function(e,t){return this.format(e,t?"hh":"HH")},e.prototype.getMinuteText=function(e){return this.format(e,"mm")},e.prototype.getSecondText=function(e){return this.format(e,"ss")},e}()},29103:(e,t,r)=>{var o=r(71600);t.Z=void 0;var n=o(r(24328)),a=(0,o(r(50175)).default)(n.default.createElement("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");t.Z=a},83911:(e,t,r)=>{var o=r(71600);t.Z=void 0;var n=o(r(24328)),a=(0,o(r(50175)).default)(n.default.createElement("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}),"FullscreenExit");t.Z=a},53469:(e,t,r)=>{r.r(t),r.d(t,{default:()=>k});var o=r(8598),n=r(36138),a=r(22664),i=r(39450),l=r(585),s=r(24328),u=r.n(s),c=r(52730),p=r(44443),f=r(52992),m=r(56259),h=r(98884),d=r(67268),y=r(22243);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},g.apply(this,arguments)}const v=e=>{let{layoutItemConfig:t,views:r,onToggleFullscreen:o,isFullscreen:n,className:a,onRemove:i,children:l,style:s}=e,c=function(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["layoutItemConfig","views","onToggleFullscreen","isFullscreen","className","onRemove","children","style"]);const p=r.find((e=>{let{config:r}=e;return t.i===r.id}));if(!p)return null;const{config:f}=p;return u().createElement("div",g({style:s,className:a},c),y.Z.getComponent({type:f.component,config:f,onRemove:i,onToggleFullscreen:o,isFullscreen:n}),l)};var x=r(79692);const M=(0,x.Z)({pageWrapper:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},content:{display:"flex",overflow:"hidden",height:"100%"},rightPanel:{overflowY:"auto",backgroundColor:"#FFF",borderLeft:"solid 1px rgba(0, 0, 0, 0.12)",width:"490px",minWidth:"490px",maxWidth:"490px"},mainPanel:{flex:"1 1 auto",overflow:"auto",backgroundColor:"#F9F9F9"}}),b=(0,s.memo)((e=>{let{views:t,layout:r,onLayoutChanged:o}=e;const n=M();return u().createElement("div",{className:n.pageWrapper},u().createElement("div",{className:n.content},u().createElement("div",{className:n.mainPanel},u().createElement(d.Z,{LayoutItem:v,views:t,layout:r,onLayoutChanged:o,draggableHandle:".viewDraggableHandle"}))))})),E=(0,x.Z)({perspectiveView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"}});var w=r(94079),T=r(71153),H=r.n(T),O=r(17440);const S=(0,x.Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},attributeType:{display:"flex",flexWrap:"wrap"},badge:{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px",backgroundColor:"#0071ce",color:"#f5f5f5"}}))),F=e=>{let{label:t,attributeType:r,className:o,classes:n,children:a}=e;const i=S({classes:n});return(0,O.isNil)(r)?null:u().createElement("div",{className:H()(i.profileBandWrapper,o)},u().createElement("div",{className:i.profileBand},u().createElement(w.Avatar,{className:H()(i.profileIcon,i.imageProfileIcon)}),u().createElement("div",{className:i.profileInfo},u().createElement("div",null,u().createElement(w.Typography,{variant:"h6",className:i.label},(0,f.idV)(t))),u().createElement("div",{className:i.specialInfo},u().createElement("div",{className:i.attributeType},u().createElement(w.Typography,{className:H()(i.badge,o),component:"div"},(0,f.idV)(r.label))))),a&&u().createElement("div",null,a)))};var P=r(49885);const D=(0,s.memo)((e=>{let{config:t,attributeTypeUri:r,value:o}=e;const n=E(),[a,i]=(0,s.useState)(""),l=(0,c.useSelector)(P.ZP.selectors.getMetadata),p=(0,c.useSelector)(P.ZP.selectors.getAttributePresentations),d=(0,f.zeJ)(l,r);(0,s.useEffect)((()=>{(0,f.kR6)({attributeType:d,attributePresentations:p,value:o}).then((e=>i(e)))}),[d,p,o]);const y=(0,f.BlA)({value:(0,f.QZu)(d)?o:(e=>Object.values(e[0])[0])(o),attributeType:d}),g=(0,s.useMemo)((()=>t.views.map((e=>({config:e})))),[t]),[v,x]=(0,s.useState)();(0,s.useEffect)((()=>{const e=(0,f.sFD)(t.layout,t.views);x(e)}),[t]);const M=(0,s.useCallback)((e=>x(e)),[]);return u().createElement("div",{className:n.perspectiveView},u().createElement(m.I.Provider,{value:y},u().createElement(F,{label:a,attributeType:d}),u().createElement(h.DX,null,v&&u().createElement(b,{layout:v,onLayoutChanged:M,views:g}))))})),N=(0,n.createGenerateClassName)({productionPrefix:"pivotingPerspective",disableGlobal:!0}),k=e=>{let{config:t,attributeTypeUri:r,value:s,store:f,onResize:m}=e;return u().createElement(c.Provider,{store:f},u().createElement(i.m.Provider,{value:t.id},u().createElement(n.StylesProvider,{generateClassName:N},u().createElement(a.MuiPickersUtilsProvider,{utils:o.Z},u().createElement(p.Z,{handleHeight:!0,onResize:(e,t)=>null==m?void 0:m(Math.floor(e),Math.floor(t))}),t&&u().createElement(D,{value:s,config:t,attributeTypeUri:r}),u().createElement(l.Z,null)))))}}}]);
2
2
  //# sourceMappingURL=9630.js.map
package/9630.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"9630.js","mappings":"2JAuNA,QArNiC,WAC7B,SAASA,EAAYC,GACjB,IAAIC,OAAY,IAAPD,EAAgB,GAAKA,EAAIE,EAASD,EAAGC,OAAQC,EAAWF,EAAGE,SAAUC,EAASH,EAAGG,OAC1FC,KAAKC,WAAa,OAClBD,KAAKE,gBAAkB,YACvBF,KAAKG,kBAAoB,kBACzBH,KAAKI,kBAAoB,gBACzBJ,KAAKK,cAAgB,UACrBL,KAAKM,cAAgB,QACrBN,KAAKO,WAAa,UAClBP,KAAKD,OAASD,GAAYC,GAAU,IACpCC,KAAKH,OAASA,EAuMlB,OArMAH,EAAYc,UAAUC,MAAQ,SAAU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AAAA,UAClB,IACI5F,EAAOX,MAAMwG,KAAK/F,IAAD,CACbE,OAAQF,OAEhB,CAACE,KAGEwB,EAAQsE,IAAalB,EAAAA,EAAAA,aAC5BM,EAAAA,EAAAA,YAAU,KACN,MAAMa,GAAYC,EAAAA,EAAAA,KAA6BhG,EAAOwB,OAAQxB,EAAOX,OACrEyG,EAAUC,KACX,CAAC/F,IAEJ,MAAMiG,GAAqBC,EAAAA,EAAAA,cAAa1E,GAAmCsE,EAAUtE,IAAS,IAE9F,OACI,yBAAKhC,UAAWkC,EAAOI,iBACnB,kBAACqE,EAAA,WAAD,CAA+B7M,MAAO+L,GAClC,kBAAC,EAAD,CAAqBlC,MAAOA,EAAOY,cAAeA,IAClD,kBAAC,KAAD,KACKvC,GACG,kBAAC,EAAD,CAAgBA,OAAQA,EAAQC,gBAAiBwE,EAAoB5G,MAAOsG,UCvD9FS,GAAoBC,EAAAA,EAAAA,yBAAwB,CAC9CC,iBAAkB,sBAClBC,eAAe,ICXnB,EDsB4B,IAA+D,IAA9D,OAACvG,EAAD,iBAAS0E,EAAT,MAA2BpL,EAA3B,MAAkCkN,EAAlC,SAAyCC,GAAqB,EACvF,OACI,kBAAC,EAAAC,SAAD,CAAUF,MAAOA,GACb,kBAACG,EAAA,WAAD,CAAwBrN,MAAO0G,EAAOE,IAClC,kBAAC,EAAA0G,eAAD,CAAgBR,kBAAmBA,GAC/B,kBAAC,EAAAS,wBAAD,CAAyBC,MAAOxO,EAAAA,GAC5B,kBAAC,IAAD,CACIyO,cAAY,EACZN,SAAU,CAACvF,EAAOT,IAAWgG,MAAAA,OAAnB,EAAmBA,EAAWxL,KAAK6C,MAAMoD,GAAQjG,KAAK6C,MAAM2C,MAEzET,GACG,kBAAC,EAAD,CACI1G,MAAOA,EACP0G,OAAQA,EACR0E,iBAAkBA,IAG1B,kBAACsC,EAAA,EAAD","sources":["webpack://@reltio/remotes/../../node_modules/@date-io/moment/build/index.esm.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/Fullscreen.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/FullscreenExit.js","webpack://@reltio/remotes/../pivoting/src/components/PivotingLayoutItem/PivotingLayoutItem.tsx","webpack://@reltio/remotes/../pivoting/src/components/PivotingLayout/styles.ts","webpack://@reltio/remotes/../pivoting/src/components/PivotingLayout/PivotingLayout.tsx","webpack://@reltio/remotes/../pivoting/src/perspective/styles.ts","webpack://@reltio/remotes/../pivoting/src/components/PivotingProfileBand/styles.ts","webpack://@reltio/remotes/../pivoting/src/components/PivotingProfileBand/PivotingProfileBand.tsx","webpack://@reltio/remotes/../pivoting/src/perspective/PivotingPerspective.tsx","webpack://@reltio/remotes/../pivoting/src/perspective/index.tsx","webpack://@reltio/remotes/./src/pivoting.ts"],"sourcesContent":["import defaultMoment from 'moment';\n\nvar MomentUtils = /** @class */ (function () {\n function MomentUtils(_a) {\n var _b = _a === void 0 ? {} : _a, locale = _b.locale, instance = _b.instance, moment = _b.moment;\n this.yearFormat = \"YYYY\";\n this.yearMonthFormat = \"MMMM YYYY\";\n this.dateTime12hFormat = \"MMMM Do hh:mm a\";\n this.dateTime24hFormat = \"MMMM Do HH:mm\";\n this.time12hFormat = \"hh:mm A\";\n this.time24hFormat = \"HH:mm\";\n this.dateFormat = \"MMMM Do\";\n this.moment = instance || moment || defaultMoment;\n this.locale = locale;\n }\n MomentUtils.prototype.parse = function (value, format) {\n if (value === \"\") {\n return null;\n }\n return this.moment(value, format, true);\n };\n MomentUtils.prototype.date = function (value) {\n if (value === null) {\n return null;\n }\n var moment = this.moment(value);\n moment.locale(this.locale);\n return moment;\n };\n MomentUtils.prototype.isValid = function (value) {\n return this.moment(value).isValid();\n };\n MomentUtils.prototype.isNull = function (date) {\n return date === null;\n };\n MomentUtils.prototype.getDiff = function (date, comparing) {\n return date.diff(comparing);\n };\n MomentUtils.prototype.isAfter = function (date, value) {\n return date.isAfter(value);\n };\n MomentUtils.prototype.isBefore = function (date, value) {\n return date.isBefore(value);\n };\n MomentUtils.prototype.isAfterDay = function (date, value) {\n return date.isAfter(value, \"day\");\n };\n MomentUtils.prototype.isBeforeDay = function (date, value) {\n return date.isBefore(value, \"day\");\n };\n MomentUtils.prototype.isBeforeYear = function (date, value) {\n return date.isBefore(value, \"year\");\n };\n MomentUtils.prototype.isAfterYear = function (date, value) {\n return date.isAfter(value, \"year\");\n };\n MomentUtils.prototype.startOfDay = function (date) {\n return date.clone().startOf(\"day\");\n };\n MomentUtils.prototype.endOfDay = function (date) {\n return date.clone().endOf(\"day\");\n };\n MomentUtils.prototype.format = function (date, formatString) {\n date.locale(this.locale);\n return date.format(formatString);\n };\n MomentUtils.prototype.formatNumber = function (numberToFormat) {\n return numberToFormat;\n };\n MomentUtils.prototype.getHours = function (date) {\n return date.get(\"hours\");\n };\n MomentUtils.prototype.addDays = function (date, count) {\n return count < 0\n ? date.clone().subtract(Math.abs(count), \"days\")\n : date.clone().add(count, \"days\");\n };\n MomentUtils.prototype.setHours = function (date, count) {\n return date.clone().hours(count);\n };\n MomentUtils.prototype.getMinutes = function (date) {\n return date.get(\"minutes\");\n };\n MomentUtils.prototype.setMinutes = function (date, count) {\n return date.clone().minutes(count);\n };\n MomentUtils.prototype.getSeconds = function (date) {\n return date.get(\"seconds\");\n };\n MomentUtils.prototype.setSeconds = function (date, count) {\n return date.clone().seconds(count);\n };\n MomentUtils.prototype.getMonth = function (date) {\n return date.get(\"month\");\n };\n MomentUtils.prototype.isSameDay = function (date, comparing) {\n return date.isSame(comparing, \"day\");\n };\n MomentUtils.prototype.isSameMonth = function (date, comparing) {\n return date.isSame(comparing, \"month\");\n };\n MomentUtils.prototype.isSameYear = function (date, comparing) {\n return date.isSame(comparing, \"year\");\n };\n MomentUtils.prototype.isSameHour = function (date, comparing) {\n return date.isSame(comparing, \"hour\");\n };\n MomentUtils.prototype.setMonth = function (date, count) {\n return date.clone().month(count);\n };\n MomentUtils.prototype.getMeridiemText = function (ampm) {\n return ampm === \"am\" ? \"AM\" : \"PM\";\n };\n MomentUtils.prototype.startOfMonth = function (date) {\n return date.clone().startOf(\"month\");\n };\n MomentUtils.prototype.endOfMonth = function (date) {\n return date.clone().endOf(\"month\");\n };\n MomentUtils.prototype.getNextMonth = function (date) {\n return date.clone().add(1, \"month\");\n };\n MomentUtils.prototype.getPreviousMonth = function (date) {\n return date.clone().subtract(1, \"month\");\n };\n MomentUtils.prototype.getMonthArray = function (date) {\n var firstMonth = date.clone().startOf(\"year\");\n var monthArray = [firstMonth];\n while (monthArray.length < 12) {\n var prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n return monthArray;\n };\n MomentUtils.prototype.getYear = function (date) {\n return date.get(\"year\");\n };\n MomentUtils.prototype.setYear = function (date, year) {\n return date.clone().set(\"year\", year);\n };\n MomentUtils.prototype.mergeDateAndTime = function (date, time) {\n return this.setMinutes(this.setHours(date, this.getHours(time)), this.getMinutes(time));\n };\n MomentUtils.prototype.getWeekdays = function () {\n return this.moment.weekdaysShort(true);\n };\n MomentUtils.prototype.isEqual = function (value, comparing) {\n if (value === null && comparing === null) {\n return true;\n }\n return this.moment(value).isSame(comparing);\n };\n MomentUtils.prototype.getWeekArray = function (date) {\n var start = date\n .clone()\n .startOf(\"month\")\n .startOf(\"week\");\n var end = date\n .clone()\n .endOf(\"month\")\n .endOf(\"week\");\n var count = 0;\n var current = start;\n var nestedWeeks = [];\n while (current.isBefore(end)) {\n var weekNumber = Math.floor(count / 7);\n nestedWeeks[weekNumber] = nestedWeeks[weekNumber] || [];\n nestedWeeks[weekNumber].push(current);\n current = current.clone().add(1, \"day\");\n count += 1;\n }\n return nestedWeeks;\n };\n MomentUtils.prototype.getYearRange = function (start, end) {\n var startDate = this.moment(start).startOf(\"year\");\n var endDate = this.moment(end).endOf(\"year\");\n var years = [];\n var current = startDate;\n while (current.isBefore(endDate)) {\n years.push(current);\n current = current.clone().add(1, \"year\");\n }\n return years;\n };\n // displaying methods\n MomentUtils.prototype.getCalendarHeaderText = function (date) {\n return this.format(date, this.yearMonthFormat);\n };\n MomentUtils.prototype.getYearText = function (date) {\n return this.format(date, \"YYYY\");\n };\n MomentUtils.prototype.getDatePickerHeaderText = function (date) {\n return this.format(date, \"ddd, MMM D\");\n };\n MomentUtils.prototype.getDateTimePickerHeaderText = function (date) {\n return this.format(date, \"MMM D\");\n };\n MomentUtils.prototype.getMonthText = function (date) {\n return this.format(date, \"MMMM\");\n };\n MomentUtils.prototype.getDayText = function (date) {\n return this.format(date, \"D\");\n };\n MomentUtils.prototype.getHourText = function (date, ampm) {\n return this.format(date, ampm ? \"hh\" : \"HH\");\n };\n MomentUtils.prototype.getMinuteText = function (date) {\n return this.format(date, \"mm\");\n };\n MomentUtils.prototype.getSecondText = function (date) {\n return this.format(date, \"ss\");\n };\n return MomentUtils;\n}());\n\nexport default MomentUtils;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z\"\n}), 'Fullscreen');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z\"\n}), 'FullscreenExit');\n\nexports.default = _default;","import React from 'react';\nimport {ViewsFactory} from '@reltio/dashboard';\nimport {ReactGridLayoutItem} from '@reltio/components';\nimport {PivotingView} from '../../types';\n\ntype Props = {\n className?: string;\n isFullscreen: boolean;\n style: React.CSSProperties;\n onToggleFullscreen: (id: string) => void;\n onRemove: (id: string) => void;\n views: PivotingView[];\n layoutItemConfig: ReactGridLayoutItem;\n children: React.ReactNode;\n};\n\nexport const PivotingLayoutItem = ({\n layoutItemConfig,\n views,\n onToggleFullscreen,\n isFullscreen,\n className,\n onRemove,\n children: ResizeComponent,\n style,\n ...props\n}: Props) => {\n const view = views.find(({config}) => layoutItemConfig.i === config.id);\n if (!view) {\n return null;\n }\n\n const {config} = view;\n return (\n <div style={style} className={className} {...props}>\n {ViewsFactory.getComponent({\n type: config.component,\n config,\n onRemove,\n onToggleFullscreen,\n isFullscreen\n })}\n {ResizeComponent}\n </div>\n );\n};\n","import {makeStyles} from '@material-ui/core/styles';\n\nconst configWidth = 490;\n\nexport const useStyles = makeStyles({\n pageWrapper: {\n height: '100%',\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column'\n },\n content: {\n display: 'flex',\n overflow: 'hidden',\n height: '100%'\n },\n rightPanel: {\n overflowY: 'auto',\n backgroundColor: '#FFF',\n borderLeft: 'solid 1px rgba(0, 0, 0, 0.12)',\n width: `${configWidth}px`,\n minWidth: `${configWidth}px`,\n maxWidth: `${configWidth}px`\n },\n mainPanel: {\n flex: '1 1 auto',\n overflow: 'auto',\n backgroundColor: '#F9F9F9'\n }\n});\n","import React, {memo} from 'react';\nimport {ReltioGridLayoutItem} from '@reltio/mdm-sdk';\nimport {ReltioGridLayout} from '@reltio/components';\nimport {PivotingView} from '../../types';\nimport {PivotingLayoutItem} from '../PivotingLayoutItem/PivotingLayoutItem';\nimport {useStyles} from './styles';\n\ntype Props = {\n views: PivotingView[];\n layout: ReltioGridLayoutItem[];\n onLayoutChanged: (layout: ReltioGridLayoutItem[]) => void;\n};\n\nconst PivotingLayout = ({views, layout, onLayoutChanged}: Props) => {\n const styles = useStyles();\n\n return (\n <div className={styles.pageWrapper}>\n <div className={styles.content}>\n <div className={styles.mainPanel}>\n <ReltioGridLayout\n LayoutItem={PivotingLayoutItem}\n views={views}\n layout={layout}\n onLayoutChanged={onLayoutChanged}\n draggableHandle=\".viewDraggableHandle\"\n />\n </div>\n </div>\n </div>\n );\n};\n\nexport default memo(PivotingLayout);\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles({\n perspectiveView: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n overflowX: 'hidden',\n overflowY: 'auto',\n fontFamily: 'Roboto, Helvetica, Arial, sans-serif',\n display: 'flex',\n flexDirection: 'column'\n }\n});\n","import {makeStyles} from '@material-ui/core/styles';\n\nconst useStyles = makeStyles((theme) => ({\n profileBandWrapper: {\n // especially for IE (overflow fix)\n flexShrink: 0\n },\n profileBand: {\n display: 'flex',\n padding: '16px 12px 16px 16px',\n alignItems: 'flex-start',\n backgroundColor: '#fff',\n boxShadow: 'inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);',\n\n '&:after': {\n content: '\"\"',\n minHeight: 'inherit',\n fontSize: 0\n }\n },\n profileIcon: {\n marginRight: '12px'\n },\n imageProfileIcon: {\n width: '48px',\n height: '48px'\n },\n profileInfo: {\n display: 'flex',\n flexDirection: 'column',\n flex: '1 1 50%'\n },\n label: {\n lineHeight: '1.2',\n letterSpacing: '0.25px',\n color: theme.palette.text.primary,\n wordBreak: 'break-word',\n\n '&+ $specialInfo': {\n marginTop: '4px'\n }\n },\n specialInfo: {\n display: 'flex',\n justifyContent: 'space-between',\n flexWrap: 'wrap',\n width: '100%',\n marginTop: '8px'\n },\n attributeType: {\n display: 'flex',\n flexWrap: 'wrap'\n },\n badge: {\n padding: '2px 8px 3px',\n borderRadius: '2px',\n fontSize: '13px',\n fontWeight: 500,\n lineHeight: '15px',\n display: 'inline-flex',\n marginRight: '16px',\n backgroundColor: '#0071ce',\n color: '#f5f5f5'\n }\n}));\n\nexport default useStyles;\n","import {Avatar as Avatar} from '@material-ui/core';\nimport {Typography as Typography} from '@material-ui/core';\nimport {AttributeType, getLabel} from '@reltio/mdm-sdk';\nimport classnames from 'classnames';\nimport {isNil} from 'ramda';\nimport React from 'react';\nimport useStyles from './styles';\n\ntype Props = {\n label: string;\n attributeType: AttributeType;\n className?: string;\n classes?: Record<string, string>;\n children?: React.ReactNode;\n};\nconst PivotingProfileBand = ({label, attributeType, className, classes, children}: Props) => {\n const styles = useStyles({classes});\n\n if (isNil(attributeType)) {\n return null;\n }\n return (\n <div className={classnames(styles.profileBandWrapper, className)}>\n <div className={styles.profileBand}>\n <Avatar className={classnames(styles.profileIcon, styles.imageProfileIcon)} />\n <div className={styles.profileInfo}>\n <div>\n <Typography variant=\"h6\" className={styles.label}>\n {getLabel(label)}\n </Typography>\n </div>\n <div className={styles.specialInfo}>\n <div className={styles.attributeType}>\n <Typography className={classnames(styles.badge, className)} component=\"div\">\n {getLabel(attributeType.label)}\n </Typography>\n </div>\n </div>\n </div>\n {children && <div>{children}</div>}\n </div>\n </div>\n );\n};\n\nexport default PivotingProfileBand;\n","import React, {memo, useCallback, useEffect, useMemo, useState} from 'react';\nimport {\n AttributePresentations,\n convertPivotingValueToSearchFilters,\n PivotingPerspectiveConfig,\n findAttributeTypeByUri,\n getPivotingLabel,\n isNested,\n Metadata,\n PivotingValue,\n PrimitiveValue,\n removeUnsupportedLayoutItems,\n ReltioGridLayoutItem\n} from '@reltio/mdm-sdk';\nimport {ReloadFacetProvider, SearchFiltersContext} from '@reltio/components';\nimport PivotingLayout from '../components/PivotingLayout/PivotingLayout';\nimport {useStyles} from './styles';\nimport PivotingProfileBand from '../components/PivotingProfileBand/PivotingProfileBand';\nimport {useSelector} from 'react-redux';\nimport mdmModule from '@reltio/mdm-module';\n\ntype Props = {\n config: PivotingPerspectiveConfig;\n attributeTypeUri: string;\n value: PivotingValue[];\n};\n\nconst PivotingPerspective = ({config, attributeTypeUri, value}: Props) => {\n const styles = useStyles();\n const [label, setLabel] = useState('');\n const metadata: Metadata = useSelector(mdmModule.selectors.getMetadata);\n const attributePresentations: AttributePresentations = useSelector(mdmModule.selectors.getAttributePresentations);\n const attributeType = findAttributeTypeByUri(metadata, attributeTypeUri);\n\n useEffect(() => {\n getPivotingLabel({attributeType, attributePresentations, value}).then((label) => setLabel(label));\n }, [attributeType, attributePresentations, value]);\n const getFirstValue = (value: PivotingValue[]) => Object.values(value[0])[0];\n\n const filters = convertPivotingValueToSearchFilters({\n value: isNested(attributeType) ? value : (getFirstValue(value) as PrimitiveValue),\n attributeType\n });\n\n const pivotingViews = useMemo(\n () =>\n config.views.map((view) => ({\n config: view\n })),\n [config]\n );\n\n const [layout, setLayout] = useState<ReltioGridLayoutItem[]>();\n useEffect(() => {\n const newLayout = removeUnsupportedLayoutItems(config.layout, config.views);\n setLayout(newLayout);\n }, [config]);\n\n const handleLayoutChange = useCallback((layout: ReltioGridLayoutItem[]) => setLayout(layout), []);\n\n return (\n <div className={styles.perspectiveView}>\n <SearchFiltersContext.Provider value={filters}>\n <PivotingProfileBand label={label} attributeType={attributeType} />\n <ReloadFacetProvider>\n {layout && (\n <PivotingLayout layout={layout} onLayoutChanged={handleLayoutChange} views={pivotingViews} />\n )}\n </ReloadFacetProvider>\n </SearchFiltersContext.Provider>\n </div>\n );\n};\n\nexport default memo(PivotingPerspective);\n","import MomentUtils from '@date-io/moment';\nimport {createGenerateClassName, StylesProvider} from '@material-ui/core/styles';\nimport {MuiPickersUtilsProvider} from '@material-ui/pickers';\nimport {ErrorPopup, ViewIdContext} from '@reltio/components';\nimport {DashboardPerspectiveConfig, PivotingValue} from '@reltio/mdm-sdk';\nimport React from 'react';\nimport {Provider} from 'react-redux';\nimport ReactResizeDetector from 'react-resize-detector';\nimport {Store} from 'redux';\nimport PivotingPerspectiveView from './PivotingPerspective';\n\nconst generateClassName = createGenerateClassName({\n productionPrefix: 'pivotingPerspective',\n disableGlobal: true\n});\n\ntype Props = {\n config: DashboardPerspectiveConfig;\n attributeTypeUri: string;\n value: PivotingValue[];\n store: Store<unknown>;\n onResize?: (width: number, height: number) => void;\n};\n\nconst PivotingPerspective = ({config, attributeTypeUri, value, store, onResize}: Props) => {\n return (\n <Provider store={store}>\n <ViewIdContext.Provider value={config.id}>\n <StylesProvider generateClassName={generateClassName}>\n <MuiPickersUtilsProvider utils={MomentUtils}>\n <ReactResizeDetector\n handleHeight\n onResize={(width, height) => onResize?.(Math.floor(width), Math.floor(height))}\n />\n {config && (\n <PivotingPerspectiveView\n value={value}\n config={config}\n attributeTypeUri={attributeTypeUri}\n />\n )}\n <ErrorPopup />\n </MuiPickersUtilsProvider>\n </StylesProvider>\n </ViewIdContext.Provider>\n </Provider>\n );\n};\n\nexport {PivotingPerspective};\n","import {PivotingView} from '@reltio/pivoting';\n\nexport default PivotingView;\n"],"names":["MomentUtils","_a","_b","locale","instance","moment","this","yearFormat","yearMonthFormat","dateTime12hFormat","dateTime24hFormat","time12hFormat","time24hFormat","dateFormat","prototype","parse","value","format","date","isValid","isNull","getDiff","comparing","diff","isAfter","isBefore","isAfterDay","isBeforeDay","isBeforeYear","isAfterYear","startOfDay","clone","startOf","endOfDay","endOf","formatString","formatNumber","numberToFormat","getHours","get","addDays","count","subtract","Math","abs","add","setHours","hours","getMinutes","setMinutes","minutes","getSeconds","setSeconds","seconds","getMonth","isSameDay","isSame","isSameMonth","isSameYear","isSameHour","setMonth","month","getMeridiemText","ampm","startOfMonth","endOfMonth","getNextMonth","getPreviousMonth","getMonthArray","monthArray","length","prevMonth","push","getYear","setYear","year","set","mergeDateAndTime","time","getWeekdays","weekdaysShort","isEqual","getWeekArray","start","end","current","nestedWeeks","weekNumber","floor","getYearRange","startDate","endDate","years","getCalendarHeaderText","getYearText","getDatePickerHeaderText","getDateTimePickerHeaderText","getMonthText","getDayText","getHourText","getMinuteText","getSecondText","_interopRequireDefault","exports","_react","_default","default","createElement","d","PivotingLayoutItem","layoutItemConfig","views","onToggleFullscreen","isFullscreen","className","onRemove","children","ResizeComponent","style","props","view","find","config","i","id","ViewsFactory","type","component","useStyles","makeStyles","pageWrapper","height","overflow","display","flexDirection","content","rightPanel","overflowY","backgroundColor","borderLeft","width","minWidth","maxWidth","mainPanel","flex","memo","layout","onLayoutChanged","styles","ReltioGridLayout","LayoutItem","draggableHandle","perspectiveView","position","top","left","right","bottom","overflowX","fontFamily","theme","profileBandWrapper","flexShrink","profileBand","padding","alignItems","boxShadow","minHeight","fontSize","profileIcon","marginRight","imageProfileIcon","profileInfo","label","lineHeight","letterSpacing","color","palette","text","primary","wordBreak","marginTop","specialInfo","justifyContent","flexWrap","attributeType","badge","borderRadius","fontWeight","classes","isNil","classnames","Avatar","Typography","variant","getLabel","attributeTypeUri","setLabel","useState","metadata","useSelector","mdmModule","attributePresentations","findAttributeTypeByUri","useEffect","getPivotingLabel","then","filters","convertPivotingValueToSearchFilters","isNested","Object","values","getFirstValue","pivotingViews","useMemo","map","setLayout","newLayout","removeUnsupportedLayoutItems","handleLayoutChange","useCallback","SearchFiltersContext","generateClassName","createGenerateClassName","productionPrefix","disableGlobal","store","onResize","Provider","ViewIdContext","StylesProvider","MuiPickersUtilsProvider","utils","handleHeight","ErrorPopup"],"sourceRoot":""}
1
+ {"version":3,"file":"9630.js","mappings":"2JAuNA,QArNiC,WAC7B,SAASA,EAAYC,GACjB,IAAIC,OAAY,IAAPD,EAAgB,GAAKA,EAAIE,EAASD,EAAGC,OAAQC,EAAWF,EAAGE,SAAUC,EAASH,EAAGG,OAC1FC,KAAKC,WAAa,OAClBD,KAAKE,gBAAkB,YACvBF,KAAKG,kBAAoB,kBACzBH,KAAKI,kBAAoB,gBACzBJ,KAAKK,cAAgB,UACrBL,KAAKM,cAAgB,QACrBN,KAAKO,WAAa,UAClBP,KAAKD,OAASD,GAAYC,GAAU,IACpCC,KAAKH,OAASA,EAuMlB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.esm.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/Fullscreen.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/FullscreenExit.js","webpack://@reltio/remotes/../pivoting/src/components/PivotingLayoutItem/PivotingLayoutItem.tsx","webpack://@reltio/remotes/../pivoting/src/components/PivotingLayout/styles.ts","webpack://@reltio/remotes/../pivoting/src/components/PivotingLayout/PivotingLayout.tsx","webpack://@reltio/remotes/../pivoting/src/perspective/styles.ts","webpack://@reltio/remotes/../pivoting/src/components/PivotingProfileBand/styles.ts","webpack://@reltio/remotes/../pivoting/src/components/PivotingProfileBand/PivotingProfileBand.tsx","webpack://@reltio/remotes/../pivoting/src/perspective/PivotingPerspective.tsx","webpack://@reltio/remotes/../pivoting/src/perspective/index.tsx","webpack://@reltio/remotes/./src/pivoting.ts"],"sourcesContent":["import defaultMoment from 'moment';\n\nvar MomentUtils = /** @class */ (function () {\n function MomentUtils(_a) {\n var _b = _a === void 0 ? {} : _a, locale = _b.locale, instance = _b.instance, moment = _b.moment;\n this.yearFormat = \"YYYY\";\n this.yearMonthFormat = \"MMMM YYYY\";\n this.dateTime12hFormat = \"MMMM Do hh:mm a\";\n this.dateTime24hFormat = \"MMMM Do HH:mm\";\n this.time12hFormat = \"hh:mm A\";\n this.time24hFormat = \"HH:mm\";\n this.dateFormat = \"MMMM Do\";\n this.moment = instance || moment || defaultMoment;\n this.locale = locale;\n }\n MomentUtils.prototype.parse = function (value, format) {\n if (value === \"\") {\n return null;\n }\n return this.moment(value, format, true);\n };\n MomentUtils.prototype.date = function (value) {\n if (value === null) {\n return null;\n }\n var moment = this.moment(value);\n moment.locale(this.locale);\n return moment;\n };\n MomentUtils.prototype.isValid = function (value) {\n return this.moment(value).isValid();\n };\n MomentUtils.prototype.isNull = function (date) {\n return date === null;\n };\n MomentUtils.prototype.getDiff = function (date, comparing) {\n return date.diff(comparing);\n };\n MomentUtils.prototype.isAfter = function (date, value) {\n return date.isAfter(value);\n };\n MomentUtils.prototype.isBefore = function (date, value) {\n return date.isBefore(value);\n };\n MomentUtils.prototype.isAfterDay = function (date, value) {\n return date.isAfter(value, \"day\");\n };\n MomentUtils.prototype.isBeforeDay = function (date, value) {\n return date.isBefore(value, \"day\");\n };\n MomentUtils.prototype.isBeforeYear = function (date, value) {\n return date.isBefore(value, \"year\");\n };\n MomentUtils.prototype.isAfterYear = function (date, value) {\n return date.isAfter(value, \"year\");\n };\n MomentUtils.prototype.startOfDay = function (date) {\n return date.clone().startOf(\"day\");\n };\n MomentUtils.prototype.endOfDay = function (date) {\n return date.clone().endOf(\"day\");\n };\n MomentUtils.prototype.format = function (date, formatString) {\n date.locale(this.locale);\n return date.format(formatString);\n };\n MomentUtils.prototype.formatNumber = function (numberToFormat) {\n return numberToFormat;\n };\n MomentUtils.prototype.getHours = function (date) {\n return date.get(\"hours\");\n };\n MomentUtils.prototype.addDays = function (date, count) {\n return count < 0\n ? date.clone().subtract(Math.abs(count), \"days\")\n : date.clone().add(count, \"days\");\n };\n MomentUtils.prototype.setHours = function (date, count) {\n return date.clone().hours(count);\n };\n MomentUtils.prototype.getMinutes = function (date) {\n return date.get(\"minutes\");\n };\n MomentUtils.prototype.setMinutes = function (date, count) {\n return date.clone().minutes(count);\n };\n MomentUtils.prototype.getSeconds = function (date) {\n return date.get(\"seconds\");\n };\n MomentUtils.prototype.setSeconds = function (date, count) {\n return date.clone().seconds(count);\n };\n MomentUtils.prototype.getMonth = function (date) {\n return date.get(\"month\");\n };\n MomentUtils.prototype.isSameDay = function (date, comparing) {\n return date.isSame(comparing, \"day\");\n };\n MomentUtils.prototype.isSameMonth = function (date, comparing) {\n return date.isSame(comparing, \"month\");\n };\n MomentUtils.prototype.isSameYear = function (date, comparing) {\n return date.isSame(comparing, \"year\");\n };\n MomentUtils.prototype.isSameHour = function (date, comparing) {\n return date.isSame(comparing, \"hour\");\n };\n MomentUtils.prototype.setMonth = function (date, count) {\n return date.clone().month(count);\n };\n MomentUtils.prototype.getMeridiemText = function (ampm) {\n return ampm === \"am\" ? \"AM\" : \"PM\";\n };\n MomentUtils.prototype.startOfMonth = function (date) {\n return date.clone().startOf(\"month\");\n };\n MomentUtils.prototype.endOfMonth = function (date) {\n return date.clone().endOf(\"month\");\n };\n MomentUtils.prototype.getNextMonth = function (date) {\n return date.clone().add(1, \"month\");\n };\n MomentUtils.prototype.getPreviousMonth = function (date) {\n return date.clone().subtract(1, \"month\");\n };\n MomentUtils.prototype.getMonthArray = function (date) {\n var firstMonth = date.clone().startOf(\"year\");\n var monthArray = [firstMonth];\n while (monthArray.length < 12) {\n var prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n return monthArray;\n };\n MomentUtils.prototype.getYear = function (date) {\n return date.get(\"year\");\n };\n MomentUtils.prototype.setYear = function (date, year) {\n return date.clone().set(\"year\", year);\n };\n MomentUtils.prototype.mergeDateAndTime = function (date, time) {\n return this.setMinutes(this.setHours(date, this.getHours(time)), this.getMinutes(time));\n };\n MomentUtils.prototype.getWeekdays = function () {\n return this.moment.weekdaysShort(true);\n };\n MomentUtils.prototype.isEqual = function (value, comparing) {\n if (value === null && comparing === null) {\n return true;\n }\n return this.moment(value).isSame(comparing);\n };\n MomentUtils.prototype.getWeekArray = function (date) {\n var start = date\n .clone()\n .startOf(\"month\")\n .startOf(\"week\");\n var end = date\n .clone()\n .endOf(\"month\")\n .endOf(\"week\");\n var count = 0;\n var current = start;\n var nestedWeeks = [];\n while (current.isBefore(end)) {\n var weekNumber = Math.floor(count / 7);\n nestedWeeks[weekNumber] = nestedWeeks[weekNumber] || [];\n nestedWeeks[weekNumber].push(current);\n current = current.clone().add(1, \"day\");\n count += 1;\n }\n return nestedWeeks;\n };\n MomentUtils.prototype.getYearRange = function (start, end) {\n var startDate = this.moment(start).startOf(\"year\");\n var endDate = this.moment(end).endOf(\"year\");\n var years = [];\n var current = startDate;\n while (current.isBefore(endDate)) {\n years.push(current);\n current = current.clone().add(1, \"year\");\n }\n return years;\n };\n // displaying methods\n MomentUtils.prototype.getCalendarHeaderText = function (date) {\n return this.format(date, this.yearMonthFormat);\n };\n MomentUtils.prototype.getYearText = function (date) {\n return this.format(date, \"YYYY\");\n };\n MomentUtils.prototype.getDatePickerHeaderText = function (date) {\n return this.format(date, \"ddd, MMM D\");\n };\n MomentUtils.prototype.getDateTimePickerHeaderText = function (date) {\n return this.format(date, \"MMM D\");\n };\n MomentUtils.prototype.getMonthText = function (date) {\n return this.format(date, \"MMMM\");\n };\n MomentUtils.prototype.getDayText = function (date) {\n return this.format(date, \"D\");\n };\n MomentUtils.prototype.getHourText = function (date, ampm) {\n return this.format(date, ampm ? \"hh\" : \"HH\");\n };\n MomentUtils.prototype.getMinuteText = function (date) {\n return this.format(date, \"mm\");\n };\n MomentUtils.prototype.getSecondText = function (date) {\n return this.format(date, \"ss\");\n };\n return MomentUtils;\n}());\n\nexport default MomentUtils;\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z\"\n}), 'Fullscreen');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z\"\n}), 'FullscreenExit');\n\nexports.default = _default;","import React from 'react';\nimport {ViewsFactory} from '@reltio/dashboard';\nimport {ReactGridLayoutItem} from '@reltio/components';\nimport {PivotingView} from '../../types';\n\ntype Props = {\n className?: string;\n isFullscreen: boolean;\n style: React.CSSProperties;\n onToggleFullscreen: (id: string) => void;\n onRemove: (id: string) => void;\n views: PivotingView[];\n layoutItemConfig: ReactGridLayoutItem;\n children: React.ReactNode;\n};\n\nexport const PivotingLayoutItem = ({\n layoutItemConfig,\n views,\n onToggleFullscreen,\n isFullscreen,\n className,\n onRemove,\n children: ResizeComponent,\n style,\n ...props\n}: Props) => {\n const view = views.find(({config}) => layoutItemConfig.i === config.id);\n if (!view) {\n return null;\n }\n\n const {config} = view;\n return (\n <div style={style} className={className} {...props}>\n {ViewsFactory.getComponent({\n type: config.component,\n config,\n onRemove,\n onToggleFullscreen,\n isFullscreen\n })}\n {ResizeComponent}\n </div>\n );\n};\n","import {makeStyles} from '@material-ui/core/styles';\n\nconst configWidth = 490;\n\nexport const useStyles = makeStyles({\n pageWrapper: {\n height: '100%',\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column'\n },\n content: {\n display: 'flex',\n overflow: 'hidden',\n height: '100%'\n },\n rightPanel: {\n overflowY: 'auto',\n backgroundColor: '#FFF',\n borderLeft: 'solid 1px rgba(0, 0, 0, 0.12)',\n width: `${configWidth}px`,\n minWidth: `${configWidth}px`,\n maxWidth: `${configWidth}px`\n },\n mainPanel: {\n flex: '1 1 auto',\n overflow: 'auto',\n backgroundColor: '#F9F9F9'\n }\n});\n","import React, {memo} from 'react';\nimport {ReltioGridLayoutItem} from '@reltio/mdm-sdk';\nimport {ReltioGridLayout} from '@reltio/components';\nimport {PivotingView} from '../../types';\nimport {PivotingLayoutItem} from '../PivotingLayoutItem/PivotingLayoutItem';\nimport {useStyles} from './styles';\n\ntype Props = {\n views: PivotingView[];\n layout: ReltioGridLayoutItem[];\n onLayoutChanged: (layout: ReltioGridLayoutItem[]) => void;\n};\n\nconst PivotingLayout = ({views, layout, onLayoutChanged}: Props) => {\n const styles = useStyles();\n\n return (\n <div className={styles.pageWrapper}>\n <div className={styles.content}>\n <div className={styles.mainPanel}>\n <ReltioGridLayout\n LayoutItem={PivotingLayoutItem}\n views={views}\n layout={layout}\n onLayoutChanged={onLayoutChanged}\n draggableHandle=\".viewDraggableHandle\"\n />\n </div>\n </div>\n </div>\n );\n};\n\nexport default memo(PivotingLayout);\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles({\n perspectiveView: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n overflowX: 'hidden',\n overflowY: 'auto',\n fontFamily: 'Roboto, Helvetica, Arial, sans-serif',\n display: 'flex',\n flexDirection: 'column'\n }\n});\n","import {makeStyles} from '@material-ui/core/styles';\n\nconst useStyles = makeStyles((theme) => ({\n profileBandWrapper: {\n // especially for IE (overflow fix)\n flexShrink: 0\n },\n profileBand: {\n display: 'flex',\n padding: '16px 12px 16px 16px',\n alignItems: 'flex-start',\n backgroundColor: '#fff',\n boxShadow: 'inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);',\n\n '&:after': {\n content: '\"\"',\n minHeight: 'inherit',\n fontSize: 0\n }\n },\n profileIcon: {\n marginRight: '12px'\n },\n imageProfileIcon: {\n width: '48px',\n height: '48px'\n },\n profileInfo: {\n display: 'flex',\n flexDirection: 'column',\n flex: '1 1 50%'\n },\n label: {\n lineHeight: '1.2',\n letterSpacing: '0.25px',\n color: theme.palette.text.primary,\n wordBreak: 'break-word',\n\n '&+ $specialInfo': {\n marginTop: '4px'\n }\n },\n specialInfo: {\n display: 'flex',\n justifyContent: 'space-between',\n flexWrap: 'wrap',\n width: '100%',\n marginTop: '8px'\n },\n attributeType: {\n display: 'flex',\n flexWrap: 'wrap'\n },\n badge: {\n padding: '2px 8px 3px',\n borderRadius: '2px',\n fontSize: '13px',\n fontWeight: 500,\n lineHeight: '15px',\n display: 'inline-flex',\n marginRight: '16px',\n backgroundColor: '#0071ce',\n color: '#f5f5f5'\n }\n}));\n\nexport default useStyles;\n","import {Avatar as Avatar} from '@material-ui/core';\nimport {Typography as Typography} from '@material-ui/core';\nimport {AttributeType, getLabel} from '@reltio/mdm-sdk';\nimport classnames from 'classnames';\nimport {isNil} from 'ramda';\nimport React from 'react';\nimport useStyles from './styles';\n\ntype Props = {\n label: string;\n attributeType: AttributeType;\n className?: string;\n classes?: Record<string, string>;\n children?: React.ReactNode;\n};\nconst PivotingProfileBand = ({label, attributeType, className, classes, children}: Props) => {\n const styles = useStyles({classes});\n\n if (isNil(attributeType)) {\n return null;\n }\n return (\n <div className={classnames(styles.profileBandWrapper, className)}>\n <div className={styles.profileBand}>\n <Avatar className={classnames(styles.profileIcon, styles.imageProfileIcon)} />\n <div className={styles.profileInfo}>\n <div>\n <Typography variant=\"h6\" className={styles.label}>\n {getLabel(label)}\n </Typography>\n </div>\n <div className={styles.specialInfo}>\n <div className={styles.attributeType}>\n <Typography className={classnames(styles.badge, className)} component=\"div\">\n {getLabel(attributeType.label)}\n </Typography>\n </div>\n </div>\n </div>\n {children && <div>{children}</div>}\n </div>\n </div>\n );\n};\n\nexport default PivotingProfileBand;\n","import React, {memo, useCallback, useEffect, useMemo, useState} from 'react';\nimport {\n AttributePresentations,\n convertPivotingValueToSearchFilters,\n PivotingPerspectiveConfig,\n findAttributeTypeByUri,\n getPivotingLabel,\n isNested,\n Metadata,\n PivotingValue,\n PrimitiveValue,\n removeUnsupportedLayoutItems,\n ReltioGridLayoutItem\n} from '@reltio/mdm-sdk';\nimport {ReloadFacetProvider, SearchFiltersContext} from '@reltio/components';\nimport PivotingLayout from '../components/PivotingLayout/PivotingLayout';\nimport {useStyles} from './styles';\nimport PivotingProfileBand from '../components/PivotingProfileBand/PivotingProfileBand';\nimport {useSelector} from 'react-redux';\nimport mdmModule from '@reltio/mdm-module';\n\ntype Props = {\n config: PivotingPerspectiveConfig;\n attributeTypeUri: string;\n value: PivotingValue[];\n};\n\nconst PivotingPerspective = ({config, attributeTypeUri, value}: Props) => {\n const styles = useStyles();\n const [label, setLabel] = useState('');\n const metadata: Metadata = useSelector(mdmModule.selectors.getMetadata);\n const attributePresentations: AttributePresentations = useSelector(mdmModule.selectors.getAttributePresentations);\n const attributeType = findAttributeTypeByUri(metadata, attributeTypeUri);\n\n useEffect(() => {\n getPivotingLabel({attributeType, attributePresentations, value}).then((label) => setLabel(label));\n }, [attributeType, attributePresentations, value]);\n const getFirstValue = (value: PivotingValue[]) => Object.values(value[0])[0];\n\n const filters = convertPivotingValueToSearchFilters({\n value: isNested(attributeType) ? value : (getFirstValue(value) as PrimitiveValue),\n attributeType\n });\n\n const pivotingViews = useMemo(\n () =>\n config.views.map((view) => ({\n config: view\n })),\n [config]\n );\n\n const [layout, setLayout] = useState<ReltioGridLayoutItem[]>();\n useEffect(() => {\n const newLayout = removeUnsupportedLayoutItems(config.layout, config.views);\n setLayout(newLayout);\n }, [config]);\n\n const handleLayoutChange = useCallback((layout: ReltioGridLayoutItem[]) => setLayout(layout), []);\n\n return (\n <div className={styles.perspectiveView}>\n <SearchFiltersContext.Provider value={filters}>\n <PivotingProfileBand label={label} attributeType={attributeType} />\n <ReloadFacetProvider>\n {layout && (\n <PivotingLayout layout={layout} onLayoutChanged={handleLayoutChange} views={pivotingViews} />\n )}\n </ReloadFacetProvider>\n </SearchFiltersContext.Provider>\n </div>\n );\n};\n\nexport default memo(PivotingPerspective);\n","import MomentUtils from '@date-io/moment';\nimport {createGenerateClassName, StylesProvider} from '@material-ui/core/styles';\nimport {MuiPickersUtilsProvider} from '@material-ui/pickers';\nimport {ErrorPopup, ViewIdContext} from '@reltio/components';\nimport {DashboardPerspectiveConfig, PivotingValue} from '@reltio/mdm-sdk';\nimport React from 'react';\nimport {Provider} from 'react-redux';\nimport ReactResizeDetector from 'react-resize-detector';\nimport {Store} from 'redux';\nimport PivotingPerspectiveView from './PivotingPerspective';\n\nconst generateClassName = createGenerateClassName({\n productionPrefix: 'pivotingPerspective',\n disableGlobal: true\n});\n\ntype Props = {\n config: DashboardPerspectiveConfig;\n attributeTypeUri: string;\n value: PivotingValue[];\n store: Store<unknown>;\n onResize?: (width: number, height: number) => void;\n};\n\nconst PivotingPerspective = ({config, attributeTypeUri, value, store, onResize}: Props) => {\n return (\n <Provider store={store}>\n <ViewIdContext.Provider value={config.id}>\n <StylesProvider generateClassName={generateClassName}>\n <MuiPickersUtilsProvider utils={MomentUtils}>\n <ReactResizeDetector\n handleHeight\n onResize={(width, height) => onResize?.(Math.floor(width), Math.floor(height))}\n />\n {config && (\n <PivotingPerspectiveView\n value={value}\n config={config}\n attributeTypeUri={attributeTypeUri}\n />\n )}\n <ErrorPopup />\n </MuiPickersUtilsProvider>\n </StylesProvider>\n </ViewIdContext.Provider>\n </Provider>\n );\n};\n\nexport {PivotingPerspective};\n","import {PivotingView} from '@reltio/pivoting';\n\nexport default PivotingView;\n"],"names":["MomentUtils","_a","_b","locale","instance","moment","this","yearFormat","yearMonthFormat","dateTime12hFormat","dateTime24hFormat","time12hFormat","time24hFormat","dateFormat","prototype","parse","value","format","date","isValid","isNull","getDiff","comparing","diff","isAfter","isBefore","isAfterDay","isBeforeDay","isBeforeYear","isAfterYear","startOfDay","clone","startOf","endOfDay","endOf","formatString","formatNumber","numberToFormat","getHours","get","addDays","count","subtract","Math","abs","add","setHours","hours","getMinutes","setMinutes","minutes","getSeconds","setSeconds","seconds","getMonth","isSameDay","isSame","isSameMonth","isSameYear","isSameHour","setMonth","month","getMeridiemText","ampm","startOfMonth","endOfMonth","getNextMonth","getPreviousMonth","getMonthArray","monthArray","length","prevMonth","push","getYear","setYear","year","set","mergeDateAndTime","time","getWeekdays","weekdaysShort","isEqual","getWeekArray","start","end","current","nestedWeeks","weekNumber","floor","getYearRange","startDate","endDate","years","getCalendarHeaderText","getYearText","getDatePickerHeaderText","getDateTimePickerHeaderText","getMonthText","getDayText","getHourText","getMinuteText","getSecondText","_interopRequireDefault","exports","_react","_default","default","createElement","d","PivotingLayoutItem","layoutItemConfig","views","onToggleFullscreen","isFullscreen","className","onRemove","children","ResizeComponent","style","props","view","find","config","i","id","ViewsFactory","type","component","useStyles","makeStyles","pageWrapper","height","overflow","display","flexDirection","content","rightPanel","overflowY","backgroundColor","borderLeft","width","minWidth","maxWidth","mainPanel","flex","memo","layout","onLayoutChanged","styles","ReltioGridLayout","LayoutItem","draggableHandle","perspectiveView","position","top","left","right","bottom","overflowX","fontFamily","theme","profileBandWrapper","flexShrink","profileBand","padding","alignItems","boxShadow","minHeight","fontSize","profileIcon","marginRight","imageProfileIcon","profileInfo","label","lineHeight","letterSpacing","color","palette","text","primary","wordBreak","marginTop","specialInfo","justifyContent","flexWrap","attributeType","badge","borderRadius","fontWeight","classes","isNil","classnames","Avatar","Typography","variant","getLabel","attributeTypeUri","setLabel","useState","metadata","useSelector","mdmModule","attributePresentations","findAttributeTypeByUri","useEffect","getPivotingLabel","then","filters","convertPivotingValueToSearchFilters","isNested","Object","values","getFirstValue","pivotingViews","useMemo","map","setLayout","newLayout","removeUnsupportedLayoutItems","handleLayoutChange","useCallback","SearchFiltersContext","generateClassName","createGenerateClassName","productionPrefix","disableGlobal","store","onResize","Provider","ViewIdContext","StylesProvider","MuiPickersUtilsProvider","utils","handleHeight","ErrorPopup"],"sourceRoot":""}