@reltio/remotes 1.4.1641 → 1.4.1643

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 (92) hide show
  1. package/1039.js +1 -1
  2. package/1088.js +1 -1
  3. package/1146.js +1 -1
  4. package/1148.js +1 -1
  5. package/1334.js +1 -1
  6. package/1425.js +1 -1
  7. package/1554.js +1 -1
  8. package/1572.js +1 -1
  9. package/1664.js +1 -1
  10. package/1707.js +1 -1
  11. package/1790.js +1 -1
  12. package/2066.js +1 -1
  13. package/2400.js +1 -1
  14. package/3096.js +1 -1
  15. package/3348.js +1 -1
  16. package/3358.js +1 -1
  17. package/3358.js.map +1 -1
  18. package/3373.js +1 -1
  19. package/3381.js +1 -1
  20. package/3383.js +1 -1
  21. package/3463.js +1 -1
  22. package/3469.js +1 -1
  23. package/3538.js +1 -1
  24. package/356.js +1 -1
  25. package/3785.js +1 -1
  26. package/3854.js +1 -1
  27. package/3854.js.map +1 -1
  28. package/3902.js +1 -1
  29. package/3912.js +1 -1
  30. package/3926.js +1 -1
  31. package/415.js +1 -1
  32. package/4212.js +1 -1
  33. package/446.js +1 -1
  34. package/4481.js +1 -1
  35. package/4609.js +1 -1
  36. package/4610.js +1 -1
  37. package/4703.js +1 -1
  38. package/4806.js +1 -1
  39. package/4838.js +1 -1
  40. package/50.js +1 -1
  41. package/5039.js +1 -1
  42. package/5053.js +1 -1
  43. package/5108.js +1 -1
  44. package/5163.js +1 -1
  45. package/5292.js +1 -1
  46. package/5383.js +1 -1
  47. package/5617.js +1 -1
  48. package/6020.js +1 -1
  49. package/6287.js +1 -1
  50. package/636.js +1 -1
  51. package/6606.js +1 -1
  52. package/672.js +1 -1
  53. package/6844.js +1 -1
  54. package/6903.js +1 -1
  55. package/6945.js +1 -1
  56. package/7128.js +1 -1
  57. package/7128.js.map +1 -1
  58. package/7303.js +1 -1
  59. package/7340.js +1 -1
  60. package/735.js +1 -1
  61. package/7422.js +1 -1
  62. package/7744.js +1 -1
  63. package/7896.js +1 -1
  64. package/7963.js +1 -1
  65. package/820.js +1 -1
  66. package/8207.js +1 -1
  67. package/829.js +1 -1
  68. package/8344.js +1 -1
  69. package/8565.js +1 -1
  70. package/8741.js +1 -1
  71. package/8893.js +1 -1
  72. package/9016.js +1 -1
  73. package/9050.js +1 -1
  74. package/9109.js +1 -1
  75. package/9283.js +1 -1
  76. package/9309.js +1 -1
  77. package/9328.js +1 -1
  78. package/938.js +1 -1
  79. package/9387.js +1 -1
  80. package/9464.js +1 -1
  81. package/9464.js.map +1 -1
  82. package/9612.js +1 -1
  83. package/9612.js.map +1 -1
  84. package/9652.js +1 -1
  85. package/9736.js +1 -1
  86. package/987.js +1 -1
  87. package/9952.js +1 -1
  88. package/9960.js +1 -1
  89. package/9990.js +1 -1
  90. package/main.js +1 -1
  91. package/package.json +1 -1
  92. package/remoteEntry.js +1 -1
package/9612.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a6db09a8-ee3d-433e-8df1-b1bdf5af728a",e._sentryDebugIdIdentifier="sentry-dbid-a6db09a8-ee3d-433e-8df1-b1bdf5af728a")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1642"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9612],{9366:(e,t,n)=>{n.d(t,{Q:()=>c});var a=n(7896),r=n(95038),o=n.n(r);const s={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:n}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=s,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const n="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?n:n.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,n,a;if(e.isUTC())return"UTC";const r=null==(t=e._z)?void 0:t.name;return null!=(n=null!=r?r:null==(a=this.moment.defaultZone)?void 0:a.name)?n:"system"},this.setTimezone=(e,t)=>{var n,a;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const r="default"===t?null!=(n=null==(a=this.moment.defaultZone)?void 0:a.name)?n:"system":t,o=e.clone();return o.tz(r),o},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||o().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(o().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?o().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const n=e.clone();return n.locale(this.getCurrentLocaleCode()),n.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,n)=>e.diff(t,n),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,n])=>e.isBetween(t,n,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>o().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=t.clone().startOf("month").startOf("week"),a=t.clone().endOf("month").endOf("week");let r=0,o=n;const s=[];for(;o.isBefore(a);){const e=Math.floor(r/7);s[e]=s[e]||[],s[e].push(o),o=o.clone().add(1,"day"),r+=1}return s},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const n=this.moment(e).startOf("year"),a=this.moment(t).endOf("year"),r=[];let o=n;for(;o.isBefore(a);)r.push(o),o=o.clone().add(1,"year");return r},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?o().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=n||o(),this.locale=e,this.formats=(0,a.Z)({},i,t)}}},82565:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),o=n(12115);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=(0,n(72342).makeStyles)((e=>({basicViewPaper:s({display:"flex",flexDirection:"column"},e.basicView)})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const d=(0,a.forwardRef)(((e,t)=>{let{children:n,className:a}=e,s=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const i=l();return r().createElement(o.Z,c({ref:t,className:a,classes:{root:i.basicViewPaper}},s),n)}));d.displayName="BasicView";const m=d},52194:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),o=n(71153),s=n.n(o),i=n(17998);const l=(0,n(72342).makeStyles)({container:{padding:"0 16px",minHeight:"48px",".react-draggable &":{paddingTop:"4px"}},title:{fontSize:"16px",lineHeight:"19px",justifyContent:"flex-start"}}),c=e=>{let{className:t,title:n,children:a}=e;const o=l();return r().createElement(i.Z,{title:n,classes:{root:s()(o.container,t),title:o.title}},a)}},70700:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),o=n(2507),s=n.n(o),i=n(50914),l=n(35988),c=n(20827),d=n(22165),m=n(38677),h=n(71153),u=n.n(h),p=n(90838);const f=(0,n(72342).makeStyles)((()=>({container:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},placeholder:{flex:1},stepper:{padding:"0 24px",flex:2},stepButton:{margin:"-20px -16px",padding:"20px 16px","& svg text":{textAnchor:"middle"}},buttons:{flex:1,display:"flex",justifyContent:"flex-end"},backButton:{marginRight:"8px",border:"1px solid rgba(0, 0, 0, 0.23)"},progressButtonWrapper:{position:"relative"},progress:{position:"absolute",left:"calc(50% - 12px)",top:"calc(50% - 12px)"}})));function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y.apply(this,arguments)}const b=e=>{let{isInProgress:t,disabled:n,circularColor:a="primary",className:o,children:s,onClick:i}=e,l=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["isInProgress","disabled","circularColor","className","children","onClick"]);const c=f();return r().createElement(m.Z,y({},l,{className:u()(c.progressButtonWrapper,o),onClick:i,disabled:n||t}),s,t&&r().createElement("div",{className:c.progress,"data-reltio-id":"reltio-circular-load-indicator"},r().createElement(p.Z,{size:24,color:a})))},g=e=>{let{activeStep:t,steps:n,isPending:a=!1,onConfirm:o,onChangeStep:h}=e;const u=f(),p=t===n.length-1,y=e=>{e!==t&&h(e)},g=(0,i.propOr)(!0,"enabled"),v=e=>{if(e>0){const t=e-1;g(n[t])?y(t):v(t)}},x=e=>{if(e<n.length-1){const t=e+1;g(n[t])?y(t):x(t)}},O=p&&!!o,w=O||(0,i.any)(g,(0,i.drop)(t+1,n));return r().createElement("div",{className:u.container},r().createElement("div",{className:u.placeholder}),r().createElement(l.Z,{nonLinear:!0,activeStep:t,className:u.stepper},n.map(((e,n)=>{let{label:o,enabled:s=!0}=e;const i=!s||a,l=!i&&n<t;return r().createElement(c.Z,{key:o,completed:l,disabled:i},r().createElement(d.Z,{className:u.stepButton,onClick:()=>y(n),"data-reltio-id":`reltio-search-bulk-update-${n}`},o))}))),r().createElement("div",{className:u.buttons},t>0&&r().createElement(m.Z,{variant:"outlined",className:u.backButton,onClick:()=>v(t),disabled:a,"data-reltio-id":"reltio-search-bulk-update-back"},s().text("Back")),r().createElement(b,{variant:"contained",color:"primary",disabled:!w,isInProgress:a,onClick:p?o:()=>x(t),"data-reltio-id":"reltio-search-bulk-update-"+(p?"confirm":"continue")},O?s().text("Confirm"):s().text("Continue"))))}},55688:(e,t,n)=>{n.d(t,{Z:()=>h});var a=n(24328),r=n.n(a),o=n(79312),s=n(71153),i=n.n(s);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(this,arguments)}const c=e=>r().createElement("svg",l({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M2 0h13v2H8v19h12V6h-9V4h11v19H2V0zm9 8h7v2h-7V8zm0 4h7v2h-7v-2zm0 4h7v2h-7v-2zM4 4v2h2V4H4zm0 8v2h2v-2H4zm0-4v2h2V8H4zm0 8v2h2v-2H4z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd"})),d=(0,n(72342).makeStyles)((()=>({labelWrapper:{height:"24px",display:"inline-flex",alignItems:"center"},tenantIcon:{height:"24px",width:"24px",marginRight:"4px",opacity:.38},tenantLabel:{lineHeight:"15px",fontSize:"13px",color:"rgba(0,0,0,0.38)"}})));var m=n(14596);const h=e=>{let{className:t}=e;const n=d(),a=(0,m.xz)(),s=(0,m.fN)(),l=`${a}${s?" - "+s.toUpperCase():""}`;return r().createElement("div",{className:i()(n.labelWrapper,t)},r().createElement(c,{className:n.tenantIcon,"data-reltio-id":"reltio-tenant-icon"}),r().createElement(o.Z,{className:n.tenantLabel},l))}},56346:(e,t,n)=>{n.d(t,{Z:()=>L});var a=n(24328),r=n.n(a),o=n(31421),s=n(71153),i=n.n(s),l=n(2507),c=n.n(l),d=n(83422),m=n(79312),h=n(14596),u=n(80687),p=n(82565),f=n(52194),y=n(89978),b=n(26978),g=n(72342);const v=(0,g.makeStyles)({attributesContainer:{padding:"0 16px 16px 16px"},header:{marginBottom:"4px"},noCaption:{paddingTop:"16px"},noData:{fontSize:"13px",color:"rgba(0,0,0,0.54)"}}),x=e=>{let{className:t,entity:n={},caption:s="",excludeUris:l=[],includeUris:g=[],attributesCount:x=16}=e;const O=v(),w=(0,h.AH)(),k=(0,h.xK)(),C=(0,a.useMemo)((()=>(0,b.U)(w,n.type,g,l)),[l,g,w,n.type]),M=(0,o.fyF)(C,n).filter((e=>{let{values:t}=e;return!(0,o.O27)(t)})).length>0;return M||!(0,o.O27)(s)?r().createElement(u.J.Provider,{value:k},r().createElement(p.Z,{className:t},s&&r().createElement(f.Z,{className:O.header,title:s}),r().createElement(d.Z,{className:i()(O.attributesContainer,{[O.noCaption]:!s})},M?r().createElement(y.Z,{entity:n,attrTypes:C,parentUri:n.uri,drawLines:!1,max:x}):r().createElement(m.Z,{className:O.noData},c().text("No data found"))))):null};var O=n(76141),w=n(63532),k=n(1108);const C=(0,g.makeStyles)({attributesContainer:{overflow:"hidden",padding:"0 16px 16px 16px"},header:{marginBottom:"4px"},noCaption:{paddingTop:"16px"}});function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){T(e,t,n[t])}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E=e=>{let{className:t,mode:n,entity:s,caption:l="",excludeUris:c=[],includeUris:m=[],pinnedAttributes:u}=e;const y=C(),g=(0,a.useContext)(w.m),v=(0,h.ax)("addAttributes"),x=(0,h.ax)("modifyAttribute"),T=(0,h.ax)("removeAttribute"),E=(0,h.AH)(),D=(0,h.R2)(),S=(0,h.vc)(s.uri)||{},L=(0,a.useMemo)((()=>(0,o.mC3)(u,D)),[u,D]),N=(0,a.useMemo)((()=>(0,b.U)(E,S.type,m,c)),[c,m,E,S.type]),j=(0,a.useCallback)((e=>v(e.map((e=>M({},e,{viewId:g}))))),[g,v]),Z=(0,a.useCallback)((e=>x(M({},e,{viewId:g}))),[g,x]),P=(0,a.useCallback)((e=>T(M({},e,{viewId:g}))),[g,T]);return r().createElement(p.Z,{className:t},l&&r().createElement(f.Z,{className:y.header,title:l}),r().createElement(d.Z,{className:i()(y.attributesContainer,{[y.noCaption]:!l})},r().createElement(k.c.Provider,{value:L},r().createElement(O.Z,{entity:S,attrTypes:N,parentUri:S.uri,drawLines:!1,mode:n,showEmptyEditors:(0,o.ZiX)(S.uri),crosswalks:S.crosswalks,onAddAttributes:j,onChangeAttribute:Z,onDeleteAttribute:P}))))};var D=n(10609);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},S.apply(this,arguments)}const L=e=>{let{attributesCount:t,pinnedAttributes:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["attributesCount","pinnedAttributes"]);const s=(0,h.Fr)(),i=(0,h.YA)(),l=a.entity||s,c=a.mode||i;return r().createElement(D.u.Provider,{value:l},(0,o.uzs)(c)?r().createElement(x,S({},a,{attributesCount:t,entity:l})):r().createElement(E,S({},a,{mode:c,pinnedAttributes:n,entity:l})))}},69612:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var a=n(24328),r=n.n(a),o=n(52730),s=n(69089),i=n(59464),l=n(290),c=n(9366),d=n(41633),m=n(56346),h=n(13961),u=n(26482),p=n(79312),f=n(92679),y=n(38677),b=n(2507),g=n.n(b),v=n(50914),x=n(39475),O=n(55688),w=n(70700);function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},k.apply(this,arguments)}const C=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",k({width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("path",{d:"M24 17.454v-2.181c0-2.411-3.905-4.364-8.727-4.364-4.822 0-8.728 1.953-8.728 4.364v2.181H24zM10.91 4.364a4.362 4.362 0 004.363 4.363 4.362 4.362 0 004.363-4.363A4.362 4.362 0 0015.273 0a4.362 4.362 0 00-4.364 4.364zM3.272 1.636V4.91H0v4.364h3.273v3.273L8.727 7.09 3.273 1.636z",fill:"#000",fillOpacity:".26"}))},M=(0,n(72342).makeStyles)((()=>({appbar:{zIndex:1},toolbar:{background:"white",paddingLeft:"21px",justifyContent:"space-between",borderBottom:"1px solid rgba(0,0,0,0.1)",boxSizing:"border-box"},toolbarHeader:{display:"flex",alignItems:"center"},toolbarButton:{margin:"0 4px"},closeButton:{marginRight:"10px"},tenantLabel:{marginLeft:"23px"}}))),T=e=>{let{onClose:t}=e;const n=M(),[s,l]=(0,a.useState)(0),c=(0,o.useSelector)(i.ZP.selectors.getEntity),d=(0,o.useSelector)((e=>i.ZP.selectors.getAuhoringByEntityType(e,c.type)));return r().createElement(h.Z,{position:"static",color:"default",className:n.appbar},r().createElement(u.Z,{className:n.toolbar},r().createElement("div",{className:n.toolbarHeader},r().createElement(x.k,{tooltipTitle:g().text("Close"),"aria-label":g().text("Close"),icon:f.default,onClick:t,className:n.closeButton,size:"L"}),r().createElement(p.Z,{variant:"h6"},g().text("Create Item: <No Label>")),r().createElement(O.Z,{className:n.tenantLabel})),r().createElement("div",null,r().createElement(y.Z,{onClick:()=>{},className:n.toolbarButton},g().text("Cancel")),r().createElement(y.Z,{color:"primary",onClick:()=>{},className:n.toolbarButton},g().text("Suggest")),r().createElement(y.Z,{color:"primary",onClick:()=>{},className:n.toolbarButton},g().text("Save")),r().createElement(x.k,{size:"S",icon:C,onClick:()=>{},"data-reltio-id":"reltio-reassign-button"}))),r().createElement(u.Z,{className:n.toolbar},r().createElement(w.Z,{activeStep:s,steps:(0,v.project)(["label"],d),onChangeStep:l})))},E=()=>{const e=(0,o.useDispatch)();return r().createElement(d._,{dateAdapter:c.Q},r().createElement(s.Z,{fullScreen:!0,open:!0},r().createElement(T,{onClose:()=>{e(i.ui.actions.openPreviousPage())}}),r().createElement(l.Z,null,r().createElement(m.Z,null))))}}}]);
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="24feba75-f27a-460e-9338-b2e09602a4da",e._sentryDebugIdIdentifier="sentry-dbid-24feba75-f27a-460e-9338-b2e09602a4da")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1644"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9612],{9366:(e,t,n)=>{n.d(t,{Q:()=>c});var a=n(7896),r=n(95038),o=n.n(r);const s={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:n}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=s,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const n="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?n:n.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,n,a;if(e.isUTC())return"UTC";const r=null==(t=e._z)?void 0:t.name;return null!=(n=null!=r?r:null==(a=this.moment.defaultZone)?void 0:a.name)?n:"system"},this.setTimezone=(e,t)=>{var n,a;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const r="default"===t?null!=(n=null==(a=this.moment.defaultZone)?void 0:a.name)?n:"system":t,o=e.clone();return o.tz(r),o},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||o().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(o().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?o().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const n=e.clone();return n.locale(this.getCurrentLocaleCode()),n.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,n)=>e.diff(t,n),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,n])=>e.isBetween(t,n,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>o().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=t.clone().startOf("month").startOf("week"),a=t.clone().endOf("month").endOf("week");let r=0,o=n;const s=[];for(;o.isBefore(a);){const e=Math.floor(r/7);s[e]=s[e]||[],s[e].push(o),o=o.clone().add(1,"day"),r+=1}return s},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const n=this.moment(e).startOf("year"),a=this.moment(t).endOf("year"),r=[];let o=n;for(;o.isBefore(a);)r.push(o),o=o.clone().add(1,"year");return r},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?o().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=n||o(),this.locale=e,this.formats=(0,a.Z)({},i,t)}}},82565:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),o=n(12115);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=(0,n(72342).makeStyles)((e=>({basicViewPaper:s({display:"flex",flexDirection:"column"},e.basicView)})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const d=(0,a.forwardRef)(((e,t)=>{let{children:n,className:a}=e,s=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const i=l();return r().createElement(o.Z,c({ref:t,className:a,classes:{root:i.basicViewPaper}},s),n)}));d.displayName="BasicView";const m=d},52194:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),o=n(71153),s=n.n(o),i=n(17998);const l=(0,n(72342).makeStyles)({container:{padding:"0 16px",minHeight:"48px",".react-draggable &":{paddingTop:"4px"}},title:{fontSize:"16px",lineHeight:"19px",justifyContent:"flex-start"}}),c=e=>{let{className:t,title:n,children:a}=e;const o=l();return r().createElement(i.Z,{title:n,classes:{root:s()(o.container,t),title:o.title}},a)}},70700:(e,t,n)=>{n.d(t,{Z:()=>b});var a=n(24328),r=n.n(a),o=n(2507),s=n.n(o),i=n(50914),l=n(35988),c=n(20827),d=n(22165),m=n(38677),h=n(71153),u=n.n(h),p=n(90838);const f=(0,n(72342).makeStyles)((()=>({container:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},placeholder:{flex:1},stepper:{padding:"0 24px",flex:2},stepButton:{margin:"-20px -16px",padding:"20px 16px","& svg text":{textAnchor:"middle"}},buttons:{flex:1,display:"flex",justifyContent:"flex-end"},backButton:{marginRight:"8px",border:"1px solid rgba(0, 0, 0, 0.23)"},progressButtonWrapper:{position:"relative"},progress:{position:"absolute",left:"calc(50% - 12px)",top:"calc(50% - 12px)"}})));function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y.apply(this,arguments)}const g=e=>{let{isInProgress:t,disabled:n,circularColor:a="primary",className:o,children:s,onClick:i}=e,l=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["isInProgress","disabled","circularColor","className","children","onClick"]);const c=f();return r().createElement(m.Z,y({},l,{className:u()(c.progressButtonWrapper,o),onClick:i,disabled:n||t}),s,t&&r().createElement("div",{className:c.progress,"data-reltio-id":"reltio-circular-load-indicator"},r().createElement(p.Z,{size:24,color:a})))},b=e=>{let{activeStep:t,steps:n,isPending:a=!1,onConfirm:o,onChangeStep:h}=e;const u=f(),p=t===n.length-1,y=e=>{e!==t&&h(e)},b=(0,i.propOr)(!0,"enabled"),v=e=>{if(e>0){const t=e-1;b(n[t])?y(t):v(t)}},x=e=>{if(e<n.length-1){const t=e+1;b(n[t])?y(t):x(t)}},O=p&&!!o,w=O||(0,i.any)(b,(0,i.drop)(t+1,n));return r().createElement("div",{className:u.container},r().createElement("div",{className:u.placeholder}),r().createElement(l.Z,{nonLinear:!0,activeStep:t,className:u.stepper},n.map(((e,n)=>{let{label:o,enabled:s=!0}=e;const i=!s||a,l=!i&&n<t;return r().createElement(c.Z,{key:o,completed:l,disabled:i},r().createElement(d.Z,{className:u.stepButton,onClick:()=>y(n),"data-reltio-id":`reltio-search-bulk-update-${n}`},o))}))),r().createElement("div",{className:u.buttons},t>0&&r().createElement(m.Z,{variant:"outlined",className:u.backButton,onClick:()=>v(t),disabled:a,"data-reltio-id":"reltio-search-bulk-update-back"},s().text("Back")),r().createElement(g,{variant:"contained",color:"primary",disabled:!w,isInProgress:a,onClick:p?o:()=>x(t),"data-reltio-id":"reltio-search-bulk-update-"+(p?"confirm":"continue")},O?s().text("Confirm"):s().text("Continue"))))}},55688:(e,t,n)=>{n.d(t,{Z:()=>h});var a=n(24328),r=n.n(a),o=n(79312),s=n(71153),i=n.n(s);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(this,arguments)}const c=e=>r().createElement("svg",l({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M2 0h13v2H8v19h12V6h-9V4h11v19H2V0zm9 8h7v2h-7V8zm0 4h7v2h-7v-2zm0 4h7v2h-7v-2zM4 4v2h2V4H4zm0 8v2h2v-2H4zm0-4v2h2V8H4zm0 8v2h2v-2H4z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd"})),d=(0,n(72342).makeStyles)((()=>({labelWrapper:{height:"24px",display:"inline-flex",alignItems:"center"},tenantIcon:{height:"24px",width:"24px",marginRight:"4px",opacity:.38},tenantLabel:{lineHeight:"15px",fontSize:"13px",color:"rgba(0,0,0,0.38)"}})));var m=n(14596);const h=e=>{let{className:t}=e;const n=d(),a=(0,m.xz)(),s=(0,m.fN)(),l=`${a}${s?" - "+s.toUpperCase():""}`;return r().createElement("div",{className:i()(n.labelWrapper,t)},r().createElement(c,{className:n.tenantIcon,"data-reltio-id":"reltio-tenant-icon"}),r().createElement(o.Z,{className:n.tenantLabel},l))}},56346:(e,t,n)=>{n.d(t,{Z:()=>L});var a=n(24328),r=n.n(a),o=n(31421),s=n(71153),i=n.n(s),l=n(2507),c=n.n(l),d=n(83422),m=n(79312),h=n(14596),u=n(80687),p=n(82565),f=n(52194),y=n(89978),g=n(26978),b=n(72342);const v=(0,b.makeStyles)({attributesContainer:{padding:"0 16px 16px 16px"},header:{marginBottom:"4px"},noCaption:{paddingTop:"16px"},noData:{fontSize:"13px",color:"rgba(0,0,0,0.54)"}}),x=e=>{let{className:t,entity:n={},caption:s="",excludeUris:l=[],includeUris:b=[],attributesCount:x=16}=e;const O=v(),w=(0,h.AH)(),k=(0,h.xK)(),C=(0,a.useMemo)((()=>(0,g.U)(w,n.type,b,l)),[l,b,w,n.type]),M=(0,o.fyF)(C,n).filter((e=>{let{values:t}=e;return!(0,o.O27)(t)})).length>0;return M||!(0,o.O27)(s)?r().createElement(u.J.Provider,{value:k},r().createElement(p.Z,{className:t},s&&r().createElement(f.Z,{className:O.header,title:s}),r().createElement(d.Z,{className:i()(O.attributesContainer,{[O.noCaption]:!s})},M?r().createElement(y.Z,{entity:n,attrTypes:C,parentUri:n.uri,drawLines:!1,max:x}):r().createElement(m.Z,{className:O.noData},c().text("No data found"))))):null};var O=n(76141),w=n(63532),k=n(1108);const C=(0,b.makeStyles)({attributesContainer:{overflow:"hidden",padding:"0 16px 16px 16px"},header:{marginBottom:"4px"},noCaption:{paddingTop:"16px"}});function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){T(e,t,n[t])}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E=e=>{let{className:t,mode:n,entity:s,caption:l="",excludeUris:c=[],includeUris:m=[],pinnedAttributes:u}=e;const y=C(),b=(0,a.useContext)(w.m),v=(0,h.ax)("addAttributes"),x=(0,h.ax)("modifyAttribute"),T=(0,h.ax)("removeAttribute"),E=(0,h.AH)(),D=(0,h.R2)(),S=(0,h.vc)(s.uri)||{},L=(0,a.useMemo)((()=>(0,o.mC3)(u,D)),[u,D]),N=(0,a.useMemo)((()=>(0,g.U)(E,S.type,m,c)),[c,m,E,S.type]),j=(0,a.useCallback)((e=>v(e.map((e=>M({},e,{viewId:b}))))),[b,v]),P=(0,a.useCallback)((e=>x(M({},e,{viewId:b}))),[b,x]),Z=(0,a.useCallback)((e=>T(M({},e,{viewId:b}))),[b,T]);return r().createElement(p.Z,{className:t},l&&r().createElement(f.Z,{className:y.header,title:l}),r().createElement(d.Z,{className:i()(y.attributesContainer,{[y.noCaption]:!l})},r().createElement(k.c.Provider,{value:L},r().createElement(O.Z,{entity:S,attrTypes:N,parentUri:S.uri,drawLines:!1,mode:n,showEmptyEditors:(0,o.ZiX)(S.uri),crosswalks:S.crosswalks,onAddAttributes:j,onChangeAttribute:P,onDeleteAttribute:Z}))))};var D=n(10609);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},S.apply(this,arguments)}const L=e=>{let{attributesCount:t,pinnedAttributes:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["attributesCount","pinnedAttributes"]);const s=(0,h.Fr)(),i=(0,h.YA)(),l=a.entity||s,c=a.mode||i;return r().createElement(D.u.Provider,{value:l},(0,o.uzs)(c)?r().createElement(x,S({},a,{attributesCount:t,entity:l})):r().createElement(E,S({},a,{mode:c,pinnedAttributes:n,entity:l})))}},69612:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var a=n(24328),r=n.n(a),o=n(52730),s=n(69089),i=n(59464),l=n(290),c=n(9366),d=n(41633),m=n(56346),h=n(13961),u=n(26482),p=n(79312),f=n(92679),y=n(38677),g=n(2507),b=n.n(g),v=n(50914),x=n(31421),O=n(39475),w=n(55688),k=n(70700);function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},C.apply(this,arguments)}const M=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",C({width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("path",{d:"M24 17.454v-2.181c0-2.411-3.905-4.364-8.727-4.364-4.822 0-8.728 1.953-8.728 4.364v2.181H24zM10.91 4.364a4.362 4.362 0 004.363 4.363 4.362 4.362 0 004.363-4.363A4.362 4.362 0 0015.273 0a4.362 4.362 0 00-4.364 4.364zM3.272 1.636V4.91H0v4.364h3.273v3.273L8.727 7.09 3.273 1.636z",fill:"#000",fillOpacity:".26"}))},T=(0,n(72342).makeStyles)((()=>({appbar:{zIndex:1},toolbar:{background:"white",paddingLeft:"21px",justifyContent:"space-between",borderBottom:"1px solid rgba(0,0,0,0.1)",boxSizing:"border-box"},toolbarHeader:{display:"flex",alignItems:"center"},toolbarButton:{margin:"0 4px"},closeButton:{marginRight:"10px"},tenantLabel:{marginLeft:"23px"}}))),E=e=>{let{onClose:t,config:n}=e;const s=T(),[l,c]=(0,a.useState)(0),d=(0,o.useDispatch)(),m=(0,o.useSelector)(i.ZP.selectors.getProfileOperation)===x.OXy.Saving;return r().createElement(h.Z,{position:"static",color:"default",className:s.appbar},r().createElement(u.Z,{className:s.toolbar},r().createElement("div",{className:s.toolbarHeader},r().createElement(O.k,{disabled:m,tooltipTitle:b().text("Close"),"aria-label":b().text("Close"),icon:f.default,onClick:t,className:s.closeButton,size:"L"}),r().createElement(p.Z,{variant:"h6"},b().text("Create Item: <No Label>")),r().createElement(w.Z,{className:s.tenantLabel})),r().createElement("div",null,r().createElement(y.Z,{onClick:()=>{},disabled:m,className:s.toolbarButton},b().text("Cancel")),r().createElement(y.Z,{color:"primary",disabled:m,onClick:()=>{},className:s.toolbarButton},b().text("Suggest")),r().createElement(y.Z,{color:"primary",disabled:m,onClick:()=>{d(i.N5.mode.actions.modeUpdated(x.ARY.Editing)),d(i.N5.actions.saveProfile())},className:s.toolbarButton},b().text("Save")),r().createElement(O.k,{disabled:m,size:"S",icon:M,onClick:()=>{},"data-reltio-id":"reltio-reassign-button"}))),r().createElement(u.Z,{className:s.toolbar},r().createElement(k.Z,{activeStep:l,steps:(0,v.project)(["label"],n),onChangeStep:c})))},D=()=>{const e=(0,o.useDispatch)(),t=(0,o.useSelector)(i.ZP.selectors.getEntity),n=(0,o.useSelector)((e=>i.ZP.selectors.getAuhoringByEntityType(e,t.type)));return(0,a.useEffect)((()=>{const t=n.map((e=>e.views)).flat(3);e(i.N5.views.actions.profileViewsSet(t))}),[n,e]),r().createElement(d._,{dateAdapter:c.Q},r().createElement(s.Z,{fullScreen:!0,open:!0},r().createElement(E,{onClose:()=>{e(i.ui.actions.openPreviousPage())},config:n}),r().createElement(l.Z,null,r().createElement(m.Z,null))))}}}]);
2
2
  //# sourceMappingURL=9612.js.map
package/9612.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"9612.js","mappings":"ooBAIA,MAAMA,EAAiB,CAErBC,EAAG,OACHC,GAAI,OACJC,KAAM,OAENC,EAAG,CACDC,YAAa,QACbC,YAAa,QACbC,UAAW,GAEbC,GAAI,QACJC,IAAK,CACHJ,YAAa,QACbC,YAAa,UAEfI,KAAM,CACJL,YAAa,QACbC,YAAa,UAGfK,EAAG,CACDN,YAAa,MACbC,YAAa,QACbC,UAAW,GAEbK,GAAI,MACJC,GAAI,CACFR,YAAa,MACbC,YAAa,qBAGfQ,EAAG,CACDT,YAAa,UACbC,YAAa,QACbC,UAAW,GAEbQ,EAAG,CACDV,YAAa,UACbC,YAAa,QACbC,UAAW,GAEbS,EAAG,CACDX,YAAa,UACbC,YAAa,QACbC,UAAW,GAEbU,GAAI,CACFZ,YAAa,UACbC,YAAa,UAEfY,IAAK,CACHb,YAAa,UACbC,YAAa,UAEfa,KAAM,CACJd,YAAa,UACbC,YAAa,UAGfc,EAAG,WACHC,EAAG,WAEHC,EAAG,CACDjB,YAAa,QACbC,YAAa,QACbC,UAAW,GAEbgB,GAAI,QACJC,EAAG,CACDnB,YAAa,QACbC,YAAa,QACbC,UAAW,GAEbkB,GAAI,QAEJC,EAAG,CACDrB,YAAa,UACbC,YAAa,QACbC,UAAW,GAEboB,GAAI,UAEJC,EAAG,CACDvB,YAAa,UACbC,YAAa,QACbC,UAAW,GAEbsB,GAAI,WAEAC,EAAiB,CACrBC,KAAM,OACNC,MAAO,OACPC,WAAY,MAC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Ae,6BAI3B,kBAAC2J,EAAA,EAAD,CAAShM,UAAWE,EAAO6K,SACvB,kBAACwB,EAAA,EAAD,CACI5J,WAAYA,EACZC,OAAO4J,EAAAA,EAAAA,SAAQ,CAAC,SAAUX,GAC1B9I,aAAcE,OC3DlC,ECQoC,KAChC,MAAMwJ,GAAWC,EAAAA,EAAAA,eAIjB,OACI,kBAACC,EAAA,EAAD,CAAsBC,YAAavX,EAAAA,GAC/B,kBAACwX,EAAA,EAAD,CAAQC,YAAU,EAACC,MAAM,GACrB,kBAACvB,EAAD,CAAcC,QANV,KACZgB,EAASO,EAAAA,GAAAA,QAAAA,uBAMD,kBAACC,EAAA,EAAD,KACI,kBAACC,EAAA,EAAD","sources":["webpack://@reltio/remotes/../../node_modules/@mui/x-date-pickers/AdapterMoment/AdapterMoment.js","webpack://@reltio/remotes/../components/src/components/BasicView/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicView/BasicView.tsx","webpack://@reltio/remotes/../components/src/components/FacetViewHeader/styles.ts","webpack://@reltio/remotes/../components/src/components/FacetViewHeader/FacetViewHeader.tsx","webpack://@reltio/remotes/../components/src/components/StepNavigation/styles.ts","webpack://@reltio/remotes/../components/src/components/StepNavigation/ProgressButton.tsx","webpack://@reltio/remotes/../components/src/components/StepNavigation/StepNavigation.tsx","webpack://@reltio/remotes/../components/src/icons/Tenant.tsx","webpack://@reltio/remotes/../components/src/components/TenantLabel/styles.ts","webpack://@reltio/remotes/../components/src/components/TenantLabel/TenantLabel.tsx","webpack://@reltio/remotes/../components/src/components/attributes/readMode/AttributesView/styles.ts","webpack://@reltio/remotes/../components/src/components/attributes/readMode/AttributesView/AttributesView.tsx","webpack://@reltio/remotes/../components/src/components/attributes/editMode/AttributesView/styles.ts","webpack://@reltio/remotes/../components/src/components/attributes/editMode/AttributesView/AttributesView.tsx","webpack://@reltio/remotes/../components/src/components/attributes/AttributesView/AttributesView.tsx","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/icons/reassign.svg","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/styles.ts","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/DialogHeader.tsx","webpack://@reltio/remotes/./src/authoring.ts","webpack://@reltio/remotes/../authoring/src/perspective/index.tsx"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable class-methods-use-this */\nimport defaultMoment from 'moment';\n// From https://momentjs.com/docs/#/displaying/format/\nconst formatTokenMap = {\n // Year\n Y: 'year',\n YY: 'year',\n YYYY: 'year',\n // Month\n M: {\n sectionType: 'month',\n contentType: 'digit',\n maxLength: 2\n },\n MM: 'month',\n MMM: {\n sectionType: 'month',\n contentType: 'letter'\n },\n MMMM: {\n sectionType: 'month',\n contentType: 'letter'\n },\n // Day of the month\n D: {\n sectionType: 'day',\n contentType: 'digit',\n maxLength: 2\n },\n DD: 'day',\n Do: {\n sectionType: 'day',\n contentType: 'digit-with-letter'\n },\n // Day of the week\n E: {\n sectionType: 'weekDay',\n contentType: 'digit',\n maxLength: 1\n },\n e: {\n sectionType: 'weekDay',\n contentType: 'digit',\n maxLength: 1\n },\n d: {\n sectionType: 'weekDay',\n contentType: 'digit',\n maxLength: 1\n },\n dd: {\n sectionType: 'weekDay',\n contentType: 'letter'\n },\n ddd: {\n sectionType: 'weekDay',\n contentType: 'letter'\n },\n dddd: {\n sectionType: 'weekDay',\n contentType: 'letter'\n },\n // Meridiem\n A: 'meridiem',\n a: 'meridiem',\n // Hours\n H: {\n sectionType: 'hours',\n contentType: 'digit',\n maxLength: 2\n },\n HH: 'hours',\n h: {\n sectionType: 'hours',\n contentType: 'digit',\n maxLength: 2\n },\n hh: 'hours',\n // Minutes\n m: {\n sectionType: 'minutes',\n contentType: 'digit',\n maxLength: 2\n },\n mm: 'minutes',\n // Seconds\n s: {\n sectionType: 'seconds',\n contentType: 'digit',\n maxLength: 2\n },\n ss: 'seconds'\n};\nconst defaultFormats = {\n year: 'YYYY',\n month: 'MMMM',\n monthShort: 'MMM',\n dayOfMonth: 'D',\n weekday: 'dddd',\n weekdayShort: 'ddd',\n hours24h: 'HH',\n hours12h: 'hh',\n meridiem: 'A',\n minutes: 'mm',\n seconds: 'ss',\n fullDate: 'll',\n fullDateWithWeekday: 'dddd, LL',\n keyboardDate: 'L',\n shortDate: 'MMM D',\n normalDate: 'D MMMM',\n normalDateWithWeekday: 'ddd, MMM D',\n monthAndYear: 'MMMM YYYY',\n monthAndDate: 'MMMM D',\n fullTime: 'LT',\n fullTime12h: 'hh:mm A',\n fullTime24h: 'HH:mm',\n fullDateTime: 'lll',\n fullDateTime12h: 'll hh:mm A',\n fullDateTime24h: 'll HH:mm',\n keyboardDateTime: 'L LT',\n keyboardDateTime12h: 'L hh:mm A',\n keyboardDateTime24h: 'L HH:mm'\n};\nconst MISSING_TIMEZONE_PLUGIN = ['Missing timezone plugin', 'To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`', 'Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone'].join('\\n');\n\n/**\n * Based on `@date-io/moment`\n *\n * MIT License\n *\n * Copyright (c) 2017 Dmitriy Kovalenko\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nexport class AdapterMoment {\n constructor({\n locale,\n formats,\n instance\n } = {}) {\n this.isMUIAdapter = true;\n this.isTimezoneCompatible = true;\n this.lib = 'moment';\n this.moment = void 0;\n this.locale = void 0;\n this.formats = void 0;\n this.escapedCharacters = {\n start: '[',\n end: ']'\n };\n this.formatTokenMap = formatTokenMap;\n this.setLocaleToValue = value => {\n const expectedLocale = this.getCurrentLocaleCode();\n if (expectedLocale === value.locale()) {\n return value;\n }\n return value.locale(expectedLocale);\n };\n this.hasTimezonePlugin = () => typeof this.moment.tz !== 'undefined';\n this.createSystemDate = value => {\n const parsedValue = this.moment(value).local();\n if (this.locale === undefined) {\n return parsedValue;\n }\n return parsedValue.locale(this.locale);\n };\n this.createUTCDate = value => {\n const parsedValue = this.moment.utc(value);\n if (this.locale === undefined) {\n return parsedValue;\n }\n return parsedValue.locale(this.locale);\n };\n this.createTZDate = (value, timezone) => {\n /* istanbul ignore next */\n if (!this.hasTimezonePlugin()) {\n throw new Error(MISSING_TIMEZONE_PLUGIN);\n }\n const parsedValue = timezone === 'default' ? this.moment(value) : this.moment.tz(value, timezone);\n if (this.locale === undefined) {\n return parsedValue;\n }\n return parsedValue.locale(this.locale);\n };\n this.date = value => {\n if (value === null) {\n return null;\n }\n const moment = this.moment(value);\n moment.locale(this.getCurrentLocaleCode());\n return moment;\n };\n this.dateWithTimezone = (value, timezone) => {\n if (value === null) {\n return null;\n }\n if (timezone === 'UTC') {\n return this.createUTCDate(value);\n }\n if (timezone === 'system' || timezone === 'default' && !this.hasTimezonePlugin()) {\n return this.createSystemDate(value);\n }\n return this.createTZDate(value, timezone);\n };\n this.getTimezone = value => {\n var _value$_z, _ref, _this$moment$defaultZ;\n if (value.isUTC()) {\n return 'UTC';\n }\n\n // @ts-ignore\n // eslint-disable-next-line no-underscore-dangle\n const zone = (_value$_z = value._z) == null ? void 0 : _value$_z.name;\n\n // @ts-ignore\n return (_ref = zone != null ? zone : (_this$moment$defaultZ = this.moment.defaultZone) == null ? void 0 : _this$moment$defaultZ.name) != null ? _ref : 'system';\n };\n this.setTimezone = (value, timezone) => {\n var _this$moment$defaultZ2, _this$moment$defaultZ3;\n if (timezone === 'UTC') {\n return value.clone().utc();\n }\n if (timezone === 'system') {\n return value.clone().local();\n }\n if (!this.hasTimezonePlugin()) {\n if (timezone === 'default') {\n return value;\n }\n\n /* istanbul ignore next */\n throw new Error(MISSING_TIMEZONE_PLUGIN);\n }\n const cleanZone = timezone === 'default' ? // @ts-ignore\n (_this$moment$defaultZ2 = (_this$moment$defaultZ3 = this.moment.defaultZone) == null ? void 0 : _this$moment$defaultZ3.name) != null ? _this$moment$defaultZ2 : 'system' : timezone;\n const newValue = value.clone();\n newValue.tz(cleanZone);\n return newValue;\n };\n this.toJsDate = value => {\n return value.toDate();\n };\n this.parseISO = isoString => {\n return this.moment(isoString, true);\n };\n this.toISO = value => {\n return value.toISOString();\n };\n this.parse = (value, format) => {\n if (value === '') {\n return null;\n }\n if (this.locale) {\n return this.moment(value, format, this.locale, true);\n }\n return this.moment(value, format, true);\n };\n this.getCurrentLocaleCode = () => {\n return this.locale || defaultMoment.locale();\n };\n this.is12HourCycleInCurrentLocale = () => {\n return /A|a/.test(defaultMoment.localeData(this.getCurrentLocaleCode()).longDateFormat('LT'));\n };\n this.expandFormat = format => {\n // @see https://github.com/moment/moment/blob/develop/src/lib/format/format.js#L6\n const localFormattingTokens = /(\\[[^[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})|./g;\n return format.match(localFormattingTokens).map(token => {\n const firstCharacter = token[0];\n if (firstCharacter === 'L' || firstCharacter === ';') {\n return defaultMoment.localeData(this.getCurrentLocaleCode()).longDateFormat(token);\n }\n return token;\n }).join('');\n };\n this.getFormatHelperText = format => {\n return this.expandFormat(format).replace(/a/gi, '(a|p)m').toLocaleLowerCase();\n };\n this.isNull = value => {\n return value === null;\n };\n this.isValid = value => {\n return this.moment(value).isValid();\n };\n this.format = (value, formatKey) => {\n return this.formatByString(value, this.formats[formatKey]);\n };\n this.formatByString = (value, formatString) => {\n const clonedDate = value.clone();\n clonedDate.locale(this.getCurrentLocaleCode());\n return clonedDate.format(formatString);\n };\n this.formatNumber = numberToFormat => {\n return numberToFormat;\n };\n this.getDiff = (value, comparing, unit) => {\n return value.diff(comparing, unit);\n };\n this.isEqual = (value, comparing) => {\n if (value === null && comparing === null) {\n return true;\n }\n return this.moment(value).isSame(comparing);\n };\n this.isSameYear = (value, comparing) => {\n return value.isSame(comparing, 'year');\n };\n this.isSameMonth = (value, comparing) => {\n return value.isSame(comparing, 'month');\n };\n this.isSameDay = (value, comparing) => {\n return value.isSame(comparing, 'day');\n };\n this.isSameHour = (value, comparing) => {\n return value.isSame(comparing, 'hour');\n };\n this.isAfter = (value, comparing) => {\n return value.isAfter(comparing);\n };\n this.isAfterYear = (value, comparing) => {\n return value.isAfter(comparing, 'year');\n };\n this.isAfterDay = (value, comparing) => {\n return value.isAfter(comparing, 'day');\n };\n this.isBefore = (value, comparing) => {\n return value.isBefore(comparing);\n };\n this.isBeforeYear = (value, comparing) => {\n return value.isBefore(comparing, 'year');\n };\n this.isBeforeDay = (value, comparing) => {\n return value.isBefore(comparing, 'day');\n };\n this.isWithinRange = (value, [start, end]) => {\n return value.isBetween(start, end, null, '[]');\n };\n this.startOfYear = value => {\n return value.clone().startOf('year');\n };\n this.startOfMonth = value => {\n return value.clone().startOf('month');\n };\n this.startOfWeek = value => {\n return value.clone().startOf('week');\n };\n this.startOfDay = value => {\n return value.clone().startOf('day');\n };\n this.endOfYear = value => {\n return value.clone().endOf('year');\n };\n this.endOfMonth = value => {\n return value.clone().endOf('month');\n };\n this.endOfWeek = value => {\n return value.clone().endOf('week');\n };\n this.endOfDay = value => {\n return value.clone().endOf('day');\n };\n this.addYears = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'years') : value.clone().add(amount, 'years');\n };\n this.addMonths = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'months') : value.clone().add(amount, 'months');\n };\n this.addWeeks = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'weeks') : value.clone().add(amount, 'weeks');\n };\n this.addDays = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'days') : value.clone().add(amount, 'days');\n };\n this.addHours = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'hours') : value.clone().add(amount, 'hours');\n };\n this.addMinutes = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'minutes') : value.clone().add(amount, 'minutes');\n };\n this.addSeconds = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'seconds') : value.clone().add(amount, 'seconds');\n };\n this.getYear = value => {\n return value.get('year');\n };\n this.getMonth = value => {\n return value.get('month');\n };\n this.getDate = value => {\n return value.get('date');\n };\n this.getHours = value => {\n return value.get('hours');\n };\n this.getMinutes = value => {\n return value.get('minutes');\n };\n this.getSeconds = value => {\n return value.get('seconds');\n };\n this.getMilliseconds = value => {\n return value.get('milliseconds');\n };\n this.setYear = (value, year) => {\n return value.clone().year(year);\n };\n this.setMonth = (value, month) => {\n return value.clone().month(month);\n };\n this.setDate = (value, date) => {\n return value.clone().date(date);\n };\n this.setHours = (value, hours) => {\n return value.clone().hours(hours);\n };\n this.setMinutes = (value, minutes) => {\n return value.clone().minutes(minutes);\n };\n this.setSeconds = (value, seconds) => {\n return value.clone().seconds(seconds);\n };\n this.setMilliseconds = (value, milliseconds) => {\n return value.clone().milliseconds(milliseconds);\n };\n this.getDaysInMonth = value => {\n return value.daysInMonth();\n };\n this.getNextMonth = value => {\n return value.clone().add(1, 'month');\n };\n this.getPreviousMonth = value => {\n return value.clone().subtract(1, 'month');\n };\n this.getMonthArray = value => {\n const firstMonth = this.startOfYear(value);\n const monthArray = [firstMonth];\n while (monthArray.length < 12) {\n const prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n return monthArray;\n };\n this.mergeDateAndTime = (dateParam, timeParam) => {\n return dateParam.clone().hour(timeParam.hour()).minute(timeParam.minute()).second(timeParam.second());\n };\n this.getWeekdays = () => {\n return defaultMoment.weekdaysShort(true);\n };\n this.getWeekArray = value => {\n const cleanLocale = this.setLocaleToValue(value);\n const start = cleanLocale.clone().startOf('month').startOf('week');\n const end = cleanLocale.clone().endOf('month').endOf('week');\n let count = 0;\n let current = start;\n const nestedWeeks = [];\n while (current.isBefore(end)) {\n const 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 this.getWeekNumber = value => {\n return value.week();\n };\n this.getYearRange = (start, end) => {\n const startDate = this.moment(start).startOf('year');\n const endDate = this.moment(end).endOf('year');\n const years = [];\n let current = startDate;\n while (current.isBefore(endDate)) {\n years.push(current);\n current = current.clone().add(1, 'year');\n }\n return years;\n };\n this.getMeridiemText = ampm => {\n if (this.is12HourCycleInCurrentLocale()) {\n // AM/PM translation only possible in those who have 12 hour cycle in locale.\n return defaultMoment.localeData(this.getCurrentLocaleCode()).meridiem(ampm === 'am' ? 0 : 13, 0, false);\n }\n return ampm === 'am' ? 'AM' : 'PM'; // fallback for de, ru, ...etc\n };\n this.moment = instance || defaultMoment;\n this.locale = locale;\n this.formats = _extends({}, defaultFormats, formats);\n }\n}","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n basicViewPaper: {\n display: 'flex',\n flexDirection: 'column',\n ...theme.basicView\n }\n}));\n","import React, {forwardRef} from 'react';\nimport Paper, {PaperProps} from '@mui/material/Paper';\nimport {useStyles} from './styles';\n\nconst BasicView = forwardRef(\n ({children, className, ...otherProps}: PaperProps, ref: React.RefObject<HTMLDivElement>) => {\n const styles = useStyles();\n return (\n <Paper ref={ref} className={className} classes={{root: styles.basicViewPaper}} {...otherProps}>\n {children}\n </Paper>\n );\n }\n);\n\nBasicView.displayName = 'BasicView';\n\nexport default BasicView;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n container: {\n padding: '0 16px',\n minHeight: '48px',\n '.react-draggable &': {\n paddingTop: '4px'\n }\n },\n title: {\n fontSize: '16px',\n lineHeight: '19px',\n justifyContent: 'flex-start'\n }\n});\n","import React from 'react';\nimport classnames from 'classnames';\nimport BasicViewHeader from '../BasicViewHeader/BasicViewHeader';\nimport {useStyles} from './styles';\n\ntype Props = {\n className?: string;\n title: string;\n children?: React.ReactNode;\n};\n\nconst FacetViewHeader = ({className, title, children}: Props) => {\n const styles = useStyles();\n return (\n <BasicViewHeader title={title} classes={{root: classnames(styles.container, className), title: styles.title}}>\n {children}\n </BasicViewHeader>\n );\n};\n\nexport default FacetViewHeader;\n","import {makeStyles} from '@mui/styles';\n\nconst useStyles = makeStyles(() => ({\n container: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: '100%'\n },\n placeholder: {\n flex: 1\n },\n stepper: {\n padding: '0 24px',\n flex: 2\n },\n stepButton: {\n margin: '-20px -16px',\n padding: '20px 16px',\n '& svg text': {\n textAnchor: 'middle'\n }\n },\n buttons: {\n flex: 1,\n display: 'flex',\n justifyContent: 'flex-end'\n },\n backButton: {\n marginRight: '8px',\n border: '1px solid rgba(0, 0, 0, 0.23)'\n },\n progressButtonWrapper: {\n position: 'relative'\n },\n progress: {\n position: 'absolute',\n left: 'calc(50% - 12px)',\n top: 'calc(50% - 12px)'\n }\n}));\n\nexport {useStyles};\n","import React from 'react';\nimport classnames from 'classnames';\nimport Button from '@mui/material/Button';\nimport CircularProgress from '@mui/material/CircularProgress';\nimport {useStyles} from './styles';\n\ntype Props = {\n isInProgress: boolean;\n disabled: boolean;\n onClick: () => void;\n circularColor?: 'primary' | 'secondary' | 'inherit';\n children: React.ReactNode;\n className?: string;\n [key: string]: any;\n};\n\nconst ProgressButton = ({\n isInProgress,\n disabled,\n circularColor = 'primary' as const,\n className,\n children,\n onClick,\n ...otherButtonProps\n}: Props) => {\n const styles = useStyles();\n\n return (\n <Button\n {...otherButtonProps}\n className={classnames(styles.progressButtonWrapper, className)}\n onClick={onClick}\n disabled={disabled || isInProgress}\n >\n {children}\n {isInProgress && (\n <div className={styles.progress} data-reltio-id=\"reltio-circular-load-indicator\">\n <CircularProgress size={24} color={circularColor} />\n </div>\n )}\n </Button>\n );\n};\n\nexport default ProgressButton;\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport {any, drop, propOr} from 'ramda';\nimport Stepper from '@mui/material/Stepper';\nimport Step from '@mui/material/Step';\nimport StepButton from '@mui/material/StepButton';\nimport Button from '@mui/material/Button';\nimport ProgressButton from './ProgressButton';\nimport {useStyles} from './styles';\n\ntype Props = {\n activeStep: number;\n steps: Array<{\n label: string;\n enabled?: boolean;\n }>;\n isPending?: boolean;\n onConfirm?: () => void;\n onChangeStep: (step: number) => void;\n};\n\nconst StepNavigation = ({activeStep, steps, isPending = false, onConfirm, onChangeStep}: Props) => {\n const styles = useStyles();\n\n const isLastStep = activeStep === steps.length - 1;\n const setActiveStep = (step) => {\n if (step !== activeStep) {\n onChangeStep(step);\n }\n };\n\n const isEnabled = propOr(true, 'enabled');\n\n const onBack = (currentStep) => {\n if (currentStep > 0) {\n const prevStep = currentStep - 1;\n if (isEnabled(steps[prevStep])) {\n setActiveStep(prevStep);\n } else {\n onBack(prevStep);\n }\n }\n };\n\n const onNext = (currentStep) => {\n if (currentStep < steps.length - 1) {\n const nextStep = currentStep + 1;\n if (isEnabled(steps[nextStep])) {\n setActiveStep(nextStep);\n } else {\n onNext(nextStep);\n }\n }\n };\n\n const showConfirm = isLastStep && !!onConfirm;\n const isNextButtonEnabled = showConfirm || any(isEnabled, drop(activeStep + 1, steps));\n\n return (\n <div className={styles.container}>\n <div className={styles.placeholder} />\n <Stepper nonLinear activeStep={activeStep} className={styles.stepper}>\n {steps.map(({label, enabled = true}, index) => {\n const disabledStep = !enabled || isPending;\n const completedStep = !disabledStep && index < activeStep;\n return (\n <Step key={label} completed={completedStep} disabled={disabledStep}>\n <StepButton\n className={styles.stepButton}\n onClick={() => setActiveStep(index)}\n data-reltio-id={`reltio-search-bulk-update-${index}`}\n >\n {label}\n </StepButton>\n </Step>\n );\n })}\n </Stepper>\n <div className={styles.buttons}>\n {activeStep > 0 && (\n <Button\n variant=\"outlined\"\n className={styles.backButton}\n onClick={() => onBack(activeStep)}\n disabled={isPending}\n data-reltio-id=\"reltio-search-bulk-update-back\"\n >\n {i18n.text('Back')}\n </Button>\n )}\n <ProgressButton\n variant=\"contained\"\n color=\"primary\"\n disabled={!isNextButtonEnabled}\n isInProgress={isPending}\n onClick={isLastStep ? onConfirm : () => onNext(activeStep)}\n data-reltio-id={`reltio-search-bulk-update-${isLastStep ? 'confirm' : 'continue'}`}\n >\n {showConfirm ? i18n.text('Confirm') : i18n.text('Continue')}\n </ProgressButton>\n </div>\n </div>\n );\n};\n\nexport default StepNavigation;\n","import React from 'react';\n\nconst SvgTenant: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {\n return (\n <svg width={24} height={24} viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M2 0h13v2H8v19h12V6h-9V4h11v19H2V0zm9 8h7v2h-7V8zm0 4h7v2h-7v-2zm0 4h7v2h-7v-2zM4 4v2h2V4H4zm0 8v2h2v-2H4zm0-4v2h2V8H4zm0 8v2h2v-2H4z\"\n fill=\"#000\"\n stroke=\"none\"\n strokeWidth={1}\n fillRule=\"evenodd\"\n />\n </svg>\n );\n};\n\nexport default SvgTenant;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles(() => ({\n labelWrapper: {\n height: '24px',\n display: 'inline-flex',\n alignItems: 'center'\n },\n tenantIcon: {\n height: '24px',\n width: '24px',\n marginRight: '4px',\n opacity: 0.38\n },\n tenantLabel: {\n lineHeight: '15px',\n fontSize: '13px',\n color: 'rgba(0,0,0,0.38)'\n }\n}));\n","import React from 'react';\nimport Typography from '@mui/material/Typography';\nimport classnames from 'classnames';\nimport TenantIcon from '../../icons/Tenant';\nimport {useStyles} from './styles';\nimport {useMdmEnvironment, useMdmTenantName} from '../../contexts';\n\ntype Props = {\n className?: string;\n};\n\nconst TenantLabel = ({className}: Props) => {\n const styles = useStyles();\n const customerTenantLabel = useMdmTenantName();\n const environmentName = useMdmEnvironment();\n const tenantLabelWithEnv = `${customerTenantLabel}${environmentName ? ' - ' + environmentName.toUpperCase() : ''}`;\n return (\n <div className={classnames(styles.labelWrapper, className)}>\n <TenantIcon className={styles.tenantIcon} data-reltio-id=\"reltio-tenant-icon\" />\n <Typography className={styles.tenantLabel}>{tenantLabelWithEnv}</Typography>\n </div>\n );\n};\n\nexport default TenantLabel;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n attributesContainer: {\n padding: '0 16px 16px 16px'\n },\n header: {\n marginBottom: '4px'\n },\n noCaption: {\n paddingTop: '16px'\n },\n noData: {\n fontSize: '13px',\n color: 'rgba(0,0,0,0.54)'\n }\n});\n","import React, {useMemo} from 'react';\nimport {Entity, getAttributesListForReadMode, isEmptyValue} from '@reltio/mdm-sdk';\nimport classnames from 'classnames';\nimport i18n from 'ui-i18n';\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport {PivotingAttributeContext, useMdmMetadata, useMdmPivotingAttributes} from '../../../../contexts';\nimport BasicView from '../../../BasicView/BasicView';\nimport FacetViewHeader from '../../../FacetViewHeader/FacetViewHeader';\nimport AttributesList from '../AttributesList';\nimport {AttributesViewProps} from '../../types';\nimport {getFilteredAttrTypes} from '../../helpers/attributesView';\nimport {useStyles} from './styles';\n\ntype Props = Omit<AttributesViewProps, 'mode' | 'pinnedAttributes'>;\n\nconst AttributesView = ({\n className,\n entity = {} as Entity,\n caption = '',\n excludeUris = [],\n includeUris = [],\n attributesCount = 16\n}: Props) => {\n const styles = useStyles();\n\n const metadata = useMdmMetadata();\n const pivotingAttributes = useMdmPivotingAttributes();\n\n const filteredAttrTypes = useMemo(\n () => getFilteredAttrTypes(metadata, entity.type, includeUris, excludeUris),\n [excludeUris, includeUris, metadata, entity.type]\n );\n\n const attributesList = getAttributesListForReadMode(filteredAttrTypes, entity);\n\n const isShowAttributeList = attributesList.filter(({values}) => !isEmptyValue(values)).length > 0;\n\n return isShowAttributeList || !isEmptyValue(caption) ? (\n <PivotingAttributeContext.Provider value={pivotingAttributes}>\n <BasicView className={className}>\n {caption && <FacetViewHeader className={styles.header} title={caption} />}\n <Box className={classnames(styles.attributesContainer, {[styles.noCaption]: !caption})}>\n {isShowAttributeList ? (\n <AttributesList\n entity={entity}\n attrTypes={filteredAttrTypes}\n parentUri={entity.uri}\n drawLines={false}\n max={attributesCount}\n />\n ) : (\n <Typography className={styles.noData}>{i18n.text('No data found')}</Typography>\n )}\n </Box>\n </BasicView>\n </PivotingAttributeContext.Provider>\n ) : null;\n};\n\nexport default AttributesView;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n attributesContainer: {\n overflow: 'hidden',\n padding: '0 16px 16px 16px'\n },\n header: {\n marginBottom: '4px'\n },\n noCaption: {\n paddingTop: '16px'\n }\n});\n","import React, {useCallback, useContext, useMemo} from 'react';\nimport classnames from 'classnames';\nimport {\n isTempUri,\n getPinnedAttributesForUser,\n Entity,\n AddAttributesPayload,\n ModifyAttributePayload,\n RemoveAttributePayload\n} from '@reltio/mdm-sdk';\nimport Box from '@mui/material/Box';\nimport BasicView from '../../../BasicView/BasicView';\nimport FacetViewHeader from '../../../FacetViewHeader/FacetViewHeader';\nimport AttributesList from '../AttributesList';\nimport {\n ViewIdContext,\n useMdmAction,\n useMdmMetadata,\n useMdmModifiedEntity,\n useMdmUserRoles\n} from '../../../../contexts';\nimport {AttributesViewProps} from '../../types';\nimport {getFilteredAttrTypes} from '../../helpers/attributesView';\nimport {PinnedAttributesContext} from '../contexts/PinnedAttributesContext';\nimport {useStyles} from './styles';\n\ntype Props = Omit<AttributesViewProps, 'attributesCount'>;\n\nconst AttributesView = ({\n className,\n mode,\n entity,\n caption = '',\n excludeUris = [],\n includeUris = [],\n pinnedAttributes\n}: Props) => {\n const styles = useStyles();\n const viewId = useContext(ViewIdContext);\n\n const addAttributes = useMdmAction('addAttributes');\n const modifyAttribute = useMdmAction('modifyAttribute');\n const removeAttribute = useMdmAction('removeAttribute');\n const metadata = useMdmMetadata();\n const userRoles = useMdmUserRoles();\n const modifiedEntity = useMdmModifiedEntity(entity.uri) || ({} as Entity);\n\n const pinnedAttributeUris = useMemo(\n () => getPinnedAttributesForUser(pinnedAttributes, userRoles),\n [pinnedAttributes, userRoles]\n );\n\n const filteredAttrTypes = useMemo(\n () => getFilteredAttrTypes(metadata, modifiedEntity.type, includeUris, excludeUris),\n [excludeUris, includeUris, metadata, modifiedEntity.type]\n );\n\n const onAddAttributes = useCallback(\n (params: AddAttributesPayload) => addAttributes(params.map((param) => ({...param, viewId}))),\n [viewId, addAttributes]\n );\n\n const onChangeAttribute = useCallback(\n (params: ModifyAttributePayload) => modifyAttribute({...params, viewId}),\n [viewId, modifyAttribute]\n );\n\n const onDeleteAttribute = useCallback(\n (params: RemoveAttributePayload) => removeAttribute({...params, viewId}),\n [viewId, removeAttribute]\n );\n\n return (\n <BasicView className={className}>\n {caption && <FacetViewHeader className={styles.header} title={caption} />}\n <Box className={classnames(styles.attributesContainer, {[styles.noCaption]: !caption})}>\n <PinnedAttributesContext.Provider value={pinnedAttributeUris}>\n <AttributesList\n entity={modifiedEntity}\n attrTypes={filteredAttrTypes}\n parentUri={modifiedEntity.uri}\n drawLines={false}\n mode={mode}\n showEmptyEditors={isTempUri(modifiedEntity.uri)}\n crosswalks={modifiedEntity.crosswalks}\n onAddAttributes={onAddAttributes}\n onChangeAttribute={onChangeAttribute}\n onDeleteAttribute={onDeleteAttribute}\n />\n </PinnedAttributesContext.Provider>\n </Box>\n </BasicView>\n );\n};\n\nexport default AttributesView;\n","import React from 'react';\nimport {isViewMode} from '@reltio/mdm-sdk';\nimport {AttributesViewProps} from '../types';\nimport ReadModeAttributesView from '../readMode/AttributesView/AttributesView';\nimport EditModeAttributesView from '../editMode/AttributesView/AttributesView';\nimport {useMdmEntityWithDiff, useMdmMode, EntityContext} from '../../../contexts';\n\nconst AttributesView = ({attributesCount, pinnedAttributes, ...restProps}: AttributesViewProps) => {\n const mdmEntity = useMdmEntityWithDiff();\n const mdmMode = useMdmMode();\n\n const entity = restProps.entity || mdmEntity;\n const mode = restProps.mode || mdmMode;\n\n return (\n <EntityContext.Provider value={entity}>\n {isViewMode(mode) ? (\n <ReadModeAttributesView {...restProps} attributesCount={attributesCount} entity={entity} />\n ) : (\n <EditModeAttributesView\n {...restProps}\n mode={mode}\n pinnedAttributes={pinnedAttributes}\n entity={entity}\n />\n )}\n </EntityContext.Provider>\n );\n};\n\nexport default AttributesView;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\nexport default (({\n styles = {},\n ...props\n}) => React.createElement(\"svg\", _extends({\n width: \"24\",\n height: \"18\",\n viewBox: \"0 0 24 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), React.createElement(\"path\", {\n d: \"M24 17.454v-2.181c0-2.411-3.905-4.364-8.727-4.364-4.822 0-8.728 1.953-8.728 4.364v2.181H24zM10.91 4.364a4.362 4.362 0 004.363 4.363 4.362 4.362 0 004.363-4.363A4.362 4.362 0 0015.273 0a4.362 4.362 0 00-4.364 4.364zM3.272 1.636V4.91H0v4.364h3.273v3.273L8.727 7.09 3.273 1.636z\",\n fill: \"#000\",\n fillOpacity: \".26\"\n})));","import {makeStyles} from '@mui/styles';\n\nconst useStyles = makeStyles(() => ({\n appbar: {\n zIndex: 1\n },\n\n toolbar: {\n background: 'white',\n paddingLeft: '21px',\n justifyContent: 'space-between',\n borderBottom: '1px solid rgba(0,0,0,0.1)',\n boxSizing: 'border-box'\n },\n\n toolbarHeader: {\n display: 'flex',\n alignItems: 'center'\n },\n\n toolbarButton: {\n margin: '0 4px'\n },\n\n closeButton: {\n marginRight: '10px'\n },\n\n tenantLabel: {\n marginLeft: '23px'\n }\n}));\n\nexport {useStyles};\n","import React, {useState} from 'react';\nimport {useSelector} from 'react-redux';\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\nimport Typography from '@mui/material/Typography';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Button from '@mui/material/Button';\nimport i18n from 'ui-i18n';\nimport {project} from 'ramda';\nimport mdmModule from '@reltio/mdm-module';\nimport {SmallIconButtonWithTooltip, StepNavigation, TenantLabel} from '@reltio/components';\nimport ReassignIcon from './icons/reassign.svg';\nimport {useStyles} from './styles';\n\ntype Props = {\n onClose: () => void;\n};\n\nexport const DialogHeader = ({onClose}: Props) => {\n const styles = useStyles();\n const [activeStep, setActiveStep] = useState(0);\n const entity = useSelector(mdmModule.selectors.getEntity);\n const authoringConfig = useSelector((state) => mdmModule.selectors.getAuhoringByEntityType(state, entity.type));\n\n return (\n <AppBar position=\"static\" color=\"default\" className={styles.appbar}>\n <Toolbar className={styles.toolbar}>\n <div className={styles.toolbarHeader}>\n <SmallIconButtonWithTooltip\n tooltipTitle={i18n.text('Close')}\n aria-label={i18n.text('Close')}\n icon={CloseIcon}\n onClick={onClose}\n className={styles.closeButton}\n size=\"L\"\n />\n <Typography variant=\"h6\">{i18n.text('Create Item: <No Label>')}</Typography>\n <TenantLabel className={styles.tenantLabel} />\n </div>\n <div>\n <Button onClick={() => {}} className={styles.toolbarButton}>\n {i18n.text('Cancel')}\n </Button>\n <Button color=\"primary\" onClick={() => {}} className={styles.toolbarButton}>\n {i18n.text('Suggest')}\n </Button>\n <Button color=\"primary\" onClick={() => {}} className={styles.toolbarButton}>\n {i18n.text('Save')}\n </Button>\n <SmallIconButtonWithTooltip\n size=\"S\"\n icon={ReassignIcon}\n onClick={() => {}}\n data-reltio-id=\"reltio-reassign-button\"\n />\n </div>\n </Toolbar>\n <Toolbar className={styles.toolbar}>\n <StepNavigation\n activeStep={activeStep}\n steps={project(['label'], authoringConfig)}\n onChangeStep={setActiveStep}\n />\n </Toolbar>\n </AppBar>\n );\n};\n","import {AuthoringView} from '@reltio/authoring';\n\nexport default AuthoringView;\n","import React from 'react';\nimport {useDispatch} from 'react-redux';\nimport Dialog from '@mui/material/Dialog';\nimport {ui} from '@reltio/mdm-module';\nimport DialogContent from '@mui/material/DialogContent';\nimport {AdapterMoment} from '@mui/x-date-pickers/AdapterMoment';\nimport {LocalizationProvider} from '@mui/x-date-pickers/LocalizationProvider';\nimport {AttributesView} from '@reltio/components';\nimport {DialogHeader} from '../components/DialogHeader/DialogHeader';\n\nexport const AuthoringPerspective = () => {\n const dispatch = useDispatch();\n const onClose = () => {\n dispatch(ui.actions.openPreviousPage());\n };\n return (\n <LocalizationProvider dateAdapter={AdapterMoment}>\n <Dialog fullScreen open={true}>\n <DialogHeader onClose={onClose} />\n <DialogContent>\n <AttributesView />\n </DialogContent>\n </Dialog>\n </LocalizationProvider>\n );\n};\n"],"names":["formatTokenMap","Y","YY","YYYY","M","sectionType","contentType","maxLength","MM","MMM","MMMM","D","DD","Do","E","e","d","dd","ddd","dddd","A","a","H","HH","h","hh","m","mm","s","ss","defaultFormats","year","month","monthShort","dayOfMonth","weekday","weekdayShort","hours24h","hours12h","meridiem","minutes","seconds","fullDate","fullDateWithWeekday","keyboardDate","shortDate","normalDate","normalDateWithWeekday","monthAndYear","monthAndDate","fullTime","fullTime12h","fullTime24h","fullDateTime","fullDateTime12h","fullDateTime24h","keyboardDateTime","keyboardDateTime12h","keyboardDateTime24h","MISSING_TIMEZONE_PLUGIN","join","AdapterMoment","constructor","locale","formats","instance","this","isMUIAdapter","isTimezoneCompatible","lib","moment","escapedCharacters","start","end","setLocaleToValue","value","expectedLocale","getCurrentLocaleCode","hasTimezonePlugin","tz","createSystemDate","parsedValue","local","undefined","createUTCDate","utc","createTZDate","timezone","Error","date","dateWithTimezone","getTimezone","_value$_z","_ref","_this$moment$defaultZ","isUTC","zone","_z","name","defaultZone","setTimezone","_this$moment$defaultZ2","_this$moment$defaultZ3","clone","cleanZone","newValue","toJsDate","toDate","parseISO","isoString","toISO","toISOString","parse","format","is12HourCycleInCurrentLocale","test","longDateFormat","expandFormat","match","map","token","firstCharacter","getFormatHelperText","replace","toLocaleLowerCase","isNull","isValid","formatKey","formatByString","formatString","clonedDate","formatNumber","numberToFormat","getDiff","comparing","unit","diff","isEqual","isSame","isSameYear","isSameMonth","isSameDay","isSameHour","isAfter","isAfterYear","isAfterDay","isBefore","isBeforeYear","isBeforeDay","isWithinRange","isBetween","startOfYear","startOf","startOfMonth","startOfWeek","startOfDay","endOfYear","endOf","endOfMonth","endOfWeek","endOfDay","addYears","amount","subtract","Math","abs","add","addMonths","addWeeks","addDays","addHours","addMinutes","addSeconds","getYear","get","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setYear","setMonth","setDate","setHours","hours","setMinutes","setSeconds","setMilliseconds","milliseconds","getDaysInMonth","daysInMonth","getNextMonth","getPreviousMonth","getMonthArray","monthArray","length","prevMonth","push","mergeDateAndTime","dateParam","timeParam","hour","minute","second","getWeekdays","getWeekArray","cleanLocale","count","current","nestedWeeks","weekNumber","floor","getWeekNumber","week","getYearRange","startDate","endDate","years","getMeridiemText","ampm","useStyles","makeStyles","theme","basicViewPaper","display","flexDirection","basicView","BasicView","forwardRef","ref","children","className","otherProps","styles","Paper","classes","root","displayName","container","padding","minHeight","paddingTop","title","fontSize","lineHeight","justifyContent","BasicViewHeader","classnames","alignItems","width","placeholder","flex","stepper","stepButton","margin","textAnchor","buttons","backButton","marginRight","border","progressButtonWrapper","position","progress","left","top","isInProgress","disabled","circularColor","onClick","otherButtonProps","Button","CircularProgress","size","color","activeStep","steps","isPending","onConfirm","onChangeStep","isLastStep","setActiveStep","step","isEnabled","propOr","onBack","currentStep","prevStep","onNext","nextStep","showConfirm","isNextButtonEnabled","any","drop","Stepper","nonLinear","index","label","enabled","disabledStep","completedStep","Step","key","completed","StepButton","variant","i18n","props","height","viewBox","xmlns","fill","stroke","strokeWidth","fillRule","labelWrapper","tenantIcon","opacity","tenantLabel","customerTenantLabel","useMdmTenantName","environmentName","useMdmEnvironment","tenantLabelWithEnv","toUpperCase","Tenant","Typography","attributesContainer","header","marginBottom","noCaption","noData","entity","caption","excludeUris","includeUris","attributesCount","metadata","useMdmMetadata","pivotingAttributes","useMdmPivotingAttributes","filteredAttrTypes","useMemo","getFilteredAttrTypes","type","isShowAttributeList","getAttributesListForReadMode","filter","values","isEmptyValue","PivotingAttributeContext","FacetViewHeader","Box","AttributesList","attrTypes","parentUri","uri","drawLines","max","overflow","mode","pinnedAttributes","viewId","useContext","ViewIdContext","addAttributes","useMdmAction","modifyAttribute","removeAttribute","userRoles","useMdmUserRoles","modifiedEntity","useMdmModifiedEntity","pinnedAttributeUris","getPinnedAttributesForUser","onAddAttributes","useCallback","params","param","onChangeAttribute","onDeleteAttribute","PinnedAttributesContext","showEmptyEditors","isTempUri","crosswalks","restProps","mdmEntity","useMdmEntityWithDiff","mdmMode","useMdmMode","EntityContext","isViewMode","_extends","Object","assign","target","i","arguments","source","prototype","hasOwnProperty","call","apply","React","fillOpacity","appbar","zIndex","toolbar","background","paddingLeft","borderBottom","boxSizing","toolbarHeader","toolbarButton","closeButton","marginLeft","DialogHeader","onClose","useState","useSelector","mdmModule","authoringConfig","state","AppBar","Toolbar","SmallIconButton","tooltipTitle","icon","CloseIcon","TenantLabel","ReassignIcon","StepNavigation","project","dispatch","useDispatch","LocalizationProvider","dateAdapter","Dialog","fullScreen","open","ui","DialogContent","AttributesView"],"sourceRoot":""}
1
+ {"version":3,"file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AAcE,OChFlC,ECQoC,KAChC,MAAM2I,GAAWC,EAAAA,EAAAA,eACXzF,GAAS2F,EAAAA,EAAAA,aAAYC,EAAAA,GAAAA,UAAAA,WACrBc,GAAkBf,EAAAA,EAAAA,cAAagB,GAAUf,EAAAA,GAAAA,UAAAA,wBAA4Ce,EAAO3G,EAAOY,QAWzG,OALAgG,EAAAA,EAAAA,YAAU,KACN,MAAMC,EAAQH,EAAgB/T,KAAKmU,GAASA,EAAKD,QAAOE,KAAK,GAC7DvB,EAASa,EAAAA,GAAAA,MAAAA,QAAAA,gBAAsCQ,MAChD,CAACH,EAAiBlB,IAGjB,kBAACwB,EAAA,EAAD,CAAsBC,YAAahY,EAAAA,GAC/B,kBAACiY,EAAA,EAAD,CAAQC,YAAU,EAACC,MAAM,GACrB,kBAAChC,EAAD,CAAcC,QAZV,KACZG,EAAS6B,EAAAA,GAAAA,QAAAA,qBAW+B/B,OAAQoB,IACxC,kBAACY,EAAA,EAAD,KACI,kBAACC,EAAA,EAAD","sources":["webpack://@reltio/remotes/../../node_modules/@mui/x-date-pickers/AdapterMoment/AdapterMoment.js","webpack://@reltio/remotes/../components/src/components/BasicView/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicView/BasicView.tsx","webpack://@reltio/remotes/../components/src/components/FacetViewHeader/styles.ts","webpack://@reltio/remotes/../components/src/components/FacetViewHeader/FacetViewHeader.tsx","webpack://@reltio/remotes/../components/src/components/StepNavigation/styles.ts","webpack://@reltio/remotes/../components/src/components/StepNavigation/ProgressButton.tsx","webpack://@reltio/remotes/../components/src/components/StepNavigation/StepNavigation.tsx","webpack://@reltio/remotes/../components/src/icons/Tenant.tsx","webpack://@reltio/remotes/../components/src/components/TenantLabel/styles.ts","webpack://@reltio/remotes/../components/src/components/TenantLabel/TenantLabel.tsx","webpack://@reltio/remotes/../components/src/components/attributes/readMode/AttributesView/styles.ts","webpack://@reltio/remotes/../components/src/components/attributes/readMode/AttributesView/AttributesView.tsx","webpack://@reltio/remotes/../components/src/components/attributes/editMode/AttributesView/styles.ts","webpack://@reltio/remotes/../components/src/components/attributes/editMode/AttributesView/AttributesView.tsx","webpack://@reltio/remotes/../components/src/components/attributes/AttributesView/AttributesView.tsx","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/icons/reassign.svg","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/styles.ts","webpack://@reltio/remotes/../authoring/src/components/DialogHeader/DialogHeader.tsx","webpack://@reltio/remotes/./src/authoring.ts","webpack://@reltio/remotes/../authoring/src/perspective/index.tsx"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable class-methods-use-this */\nimport defaultMoment from 'moment';\n// From https://momentjs.com/docs/#/displaying/format/\nconst formatTokenMap = {\n // Year\n Y: 'year',\n YY: 'year',\n YYYY: 'year',\n // Month\n M: {\n sectionType: 'month',\n contentType: 'digit',\n maxLength: 2\n },\n MM: 'month',\n MMM: {\n sectionType: 'month',\n contentType: 'letter'\n },\n MMMM: {\n sectionType: 'month',\n contentType: 'letter'\n },\n // Day of the month\n D: {\n sectionType: 'day',\n contentType: 'digit',\n maxLength: 2\n },\n DD: 'day',\n Do: {\n sectionType: 'day',\n contentType: 'digit-with-letter'\n },\n // Day of the week\n E: {\n sectionType: 'weekDay',\n contentType: 'digit',\n maxLength: 1\n },\n e: {\n sectionType: 'weekDay',\n contentType: 'digit',\n maxLength: 1\n },\n d: {\n sectionType: 'weekDay',\n contentType: 'digit',\n maxLength: 1\n },\n dd: {\n sectionType: 'weekDay',\n contentType: 'letter'\n },\n ddd: {\n sectionType: 'weekDay',\n contentType: 'letter'\n },\n dddd: {\n sectionType: 'weekDay',\n contentType: 'letter'\n },\n // Meridiem\n A: 'meridiem',\n a: 'meridiem',\n // Hours\n H: {\n sectionType: 'hours',\n contentType: 'digit',\n maxLength: 2\n },\n HH: 'hours',\n h: {\n sectionType: 'hours',\n contentType: 'digit',\n maxLength: 2\n },\n hh: 'hours',\n // Minutes\n m: {\n sectionType: 'minutes',\n contentType: 'digit',\n maxLength: 2\n },\n mm: 'minutes',\n // Seconds\n s: {\n sectionType: 'seconds',\n contentType: 'digit',\n maxLength: 2\n },\n ss: 'seconds'\n};\nconst defaultFormats = {\n year: 'YYYY',\n month: 'MMMM',\n monthShort: 'MMM',\n dayOfMonth: 'D',\n weekday: 'dddd',\n weekdayShort: 'ddd',\n hours24h: 'HH',\n hours12h: 'hh',\n meridiem: 'A',\n minutes: 'mm',\n seconds: 'ss',\n fullDate: 'll',\n fullDateWithWeekday: 'dddd, LL',\n keyboardDate: 'L',\n shortDate: 'MMM D',\n normalDate: 'D MMMM',\n normalDateWithWeekday: 'ddd, MMM D',\n monthAndYear: 'MMMM YYYY',\n monthAndDate: 'MMMM D',\n fullTime: 'LT',\n fullTime12h: 'hh:mm A',\n fullTime24h: 'HH:mm',\n fullDateTime: 'lll',\n fullDateTime12h: 'll hh:mm A',\n fullDateTime24h: 'll HH:mm',\n keyboardDateTime: 'L LT',\n keyboardDateTime12h: 'L hh:mm A',\n keyboardDateTime24h: 'L HH:mm'\n};\nconst MISSING_TIMEZONE_PLUGIN = ['Missing timezone plugin', 'To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`', 'Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone'].join('\\n');\n\n/**\n * Based on `@date-io/moment`\n *\n * MIT License\n *\n * Copyright (c) 2017 Dmitriy Kovalenko\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nexport class AdapterMoment {\n constructor({\n locale,\n formats,\n instance\n } = {}) {\n this.isMUIAdapter = true;\n this.isTimezoneCompatible = true;\n this.lib = 'moment';\n this.moment = void 0;\n this.locale = void 0;\n this.formats = void 0;\n this.escapedCharacters = {\n start: '[',\n end: ']'\n };\n this.formatTokenMap = formatTokenMap;\n this.setLocaleToValue = value => {\n const expectedLocale = this.getCurrentLocaleCode();\n if (expectedLocale === value.locale()) {\n return value;\n }\n return value.locale(expectedLocale);\n };\n this.hasTimezonePlugin = () => typeof this.moment.tz !== 'undefined';\n this.createSystemDate = value => {\n const parsedValue = this.moment(value).local();\n if (this.locale === undefined) {\n return parsedValue;\n }\n return parsedValue.locale(this.locale);\n };\n this.createUTCDate = value => {\n const parsedValue = this.moment.utc(value);\n if (this.locale === undefined) {\n return parsedValue;\n }\n return parsedValue.locale(this.locale);\n };\n this.createTZDate = (value, timezone) => {\n /* istanbul ignore next */\n if (!this.hasTimezonePlugin()) {\n throw new Error(MISSING_TIMEZONE_PLUGIN);\n }\n const parsedValue = timezone === 'default' ? this.moment(value) : this.moment.tz(value, timezone);\n if (this.locale === undefined) {\n return parsedValue;\n }\n return parsedValue.locale(this.locale);\n };\n this.date = value => {\n if (value === null) {\n return null;\n }\n const moment = this.moment(value);\n moment.locale(this.getCurrentLocaleCode());\n return moment;\n };\n this.dateWithTimezone = (value, timezone) => {\n if (value === null) {\n return null;\n }\n if (timezone === 'UTC') {\n return this.createUTCDate(value);\n }\n if (timezone === 'system' || timezone === 'default' && !this.hasTimezonePlugin()) {\n return this.createSystemDate(value);\n }\n return this.createTZDate(value, timezone);\n };\n this.getTimezone = value => {\n var _value$_z, _ref, _this$moment$defaultZ;\n if (value.isUTC()) {\n return 'UTC';\n }\n\n // @ts-ignore\n // eslint-disable-next-line no-underscore-dangle\n const zone = (_value$_z = value._z) == null ? void 0 : _value$_z.name;\n\n // @ts-ignore\n return (_ref = zone != null ? zone : (_this$moment$defaultZ = this.moment.defaultZone) == null ? void 0 : _this$moment$defaultZ.name) != null ? _ref : 'system';\n };\n this.setTimezone = (value, timezone) => {\n var _this$moment$defaultZ2, _this$moment$defaultZ3;\n if (timezone === 'UTC') {\n return value.clone().utc();\n }\n if (timezone === 'system') {\n return value.clone().local();\n }\n if (!this.hasTimezonePlugin()) {\n if (timezone === 'default') {\n return value;\n }\n\n /* istanbul ignore next */\n throw new Error(MISSING_TIMEZONE_PLUGIN);\n }\n const cleanZone = timezone === 'default' ? // @ts-ignore\n (_this$moment$defaultZ2 = (_this$moment$defaultZ3 = this.moment.defaultZone) == null ? void 0 : _this$moment$defaultZ3.name) != null ? _this$moment$defaultZ2 : 'system' : timezone;\n const newValue = value.clone();\n newValue.tz(cleanZone);\n return newValue;\n };\n this.toJsDate = value => {\n return value.toDate();\n };\n this.parseISO = isoString => {\n return this.moment(isoString, true);\n };\n this.toISO = value => {\n return value.toISOString();\n };\n this.parse = (value, format) => {\n if (value === '') {\n return null;\n }\n if (this.locale) {\n return this.moment(value, format, this.locale, true);\n }\n return this.moment(value, format, true);\n };\n this.getCurrentLocaleCode = () => {\n return this.locale || defaultMoment.locale();\n };\n this.is12HourCycleInCurrentLocale = () => {\n return /A|a/.test(defaultMoment.localeData(this.getCurrentLocaleCode()).longDateFormat('LT'));\n };\n this.expandFormat = format => {\n // @see https://github.com/moment/moment/blob/develop/src/lib/format/format.js#L6\n const localFormattingTokens = /(\\[[^[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})|./g;\n return format.match(localFormattingTokens).map(token => {\n const firstCharacter = token[0];\n if (firstCharacter === 'L' || firstCharacter === ';') {\n return defaultMoment.localeData(this.getCurrentLocaleCode()).longDateFormat(token);\n }\n return token;\n }).join('');\n };\n this.getFormatHelperText = format => {\n return this.expandFormat(format).replace(/a/gi, '(a|p)m').toLocaleLowerCase();\n };\n this.isNull = value => {\n return value === null;\n };\n this.isValid = value => {\n return this.moment(value).isValid();\n };\n this.format = (value, formatKey) => {\n return this.formatByString(value, this.formats[formatKey]);\n };\n this.formatByString = (value, formatString) => {\n const clonedDate = value.clone();\n clonedDate.locale(this.getCurrentLocaleCode());\n return clonedDate.format(formatString);\n };\n this.formatNumber = numberToFormat => {\n return numberToFormat;\n };\n this.getDiff = (value, comparing, unit) => {\n return value.diff(comparing, unit);\n };\n this.isEqual = (value, comparing) => {\n if (value === null && comparing === null) {\n return true;\n }\n return this.moment(value).isSame(comparing);\n };\n this.isSameYear = (value, comparing) => {\n return value.isSame(comparing, 'year');\n };\n this.isSameMonth = (value, comparing) => {\n return value.isSame(comparing, 'month');\n };\n this.isSameDay = (value, comparing) => {\n return value.isSame(comparing, 'day');\n };\n this.isSameHour = (value, comparing) => {\n return value.isSame(comparing, 'hour');\n };\n this.isAfter = (value, comparing) => {\n return value.isAfter(comparing);\n };\n this.isAfterYear = (value, comparing) => {\n return value.isAfter(comparing, 'year');\n };\n this.isAfterDay = (value, comparing) => {\n return value.isAfter(comparing, 'day');\n };\n this.isBefore = (value, comparing) => {\n return value.isBefore(comparing);\n };\n this.isBeforeYear = (value, comparing) => {\n return value.isBefore(comparing, 'year');\n };\n this.isBeforeDay = (value, comparing) => {\n return value.isBefore(comparing, 'day');\n };\n this.isWithinRange = (value, [start, end]) => {\n return value.isBetween(start, end, null, '[]');\n };\n this.startOfYear = value => {\n return value.clone().startOf('year');\n };\n this.startOfMonth = value => {\n return value.clone().startOf('month');\n };\n this.startOfWeek = value => {\n return value.clone().startOf('week');\n };\n this.startOfDay = value => {\n return value.clone().startOf('day');\n };\n this.endOfYear = value => {\n return value.clone().endOf('year');\n };\n this.endOfMonth = value => {\n return value.clone().endOf('month');\n };\n this.endOfWeek = value => {\n return value.clone().endOf('week');\n };\n this.endOfDay = value => {\n return value.clone().endOf('day');\n };\n this.addYears = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'years') : value.clone().add(amount, 'years');\n };\n this.addMonths = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'months') : value.clone().add(amount, 'months');\n };\n this.addWeeks = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'weeks') : value.clone().add(amount, 'weeks');\n };\n this.addDays = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'days') : value.clone().add(amount, 'days');\n };\n this.addHours = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'hours') : value.clone().add(amount, 'hours');\n };\n this.addMinutes = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'minutes') : value.clone().add(amount, 'minutes');\n };\n this.addSeconds = (value, amount) => {\n return amount < 0 ? value.clone().subtract(Math.abs(amount), 'seconds') : value.clone().add(amount, 'seconds');\n };\n this.getYear = value => {\n return value.get('year');\n };\n this.getMonth = value => {\n return value.get('month');\n };\n this.getDate = value => {\n return value.get('date');\n };\n this.getHours = value => {\n return value.get('hours');\n };\n this.getMinutes = value => {\n return value.get('minutes');\n };\n this.getSeconds = value => {\n return value.get('seconds');\n };\n this.getMilliseconds = value => {\n return value.get('milliseconds');\n };\n this.setYear = (value, year) => {\n return value.clone().year(year);\n };\n this.setMonth = (value, month) => {\n return value.clone().month(month);\n };\n this.setDate = (value, date) => {\n return value.clone().date(date);\n };\n this.setHours = (value, hours) => {\n return value.clone().hours(hours);\n };\n this.setMinutes = (value, minutes) => {\n return value.clone().minutes(minutes);\n };\n this.setSeconds = (value, seconds) => {\n return value.clone().seconds(seconds);\n };\n this.setMilliseconds = (value, milliseconds) => {\n return value.clone().milliseconds(milliseconds);\n };\n this.getDaysInMonth = value => {\n return value.daysInMonth();\n };\n this.getNextMonth = value => {\n return value.clone().add(1, 'month');\n };\n this.getPreviousMonth = value => {\n return value.clone().subtract(1, 'month');\n };\n this.getMonthArray = value => {\n const firstMonth = this.startOfYear(value);\n const monthArray = [firstMonth];\n while (monthArray.length < 12) {\n const prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n return monthArray;\n };\n this.mergeDateAndTime = (dateParam, timeParam) => {\n return dateParam.clone().hour(timeParam.hour()).minute(timeParam.minute()).second(timeParam.second());\n };\n this.getWeekdays = () => {\n return defaultMoment.weekdaysShort(true);\n };\n this.getWeekArray = value => {\n const cleanLocale = this.setLocaleToValue(value);\n const start = cleanLocale.clone().startOf('month').startOf('week');\n const end = cleanLocale.clone().endOf('month').endOf('week');\n let count = 0;\n let current = start;\n const nestedWeeks = [];\n while (current.isBefore(end)) {\n const 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 this.getWeekNumber = value => {\n return value.week();\n };\n this.getYearRange = (start, end) => {\n const startDate = this.moment(start).startOf('year');\n const endDate = this.moment(end).endOf('year');\n const years = [];\n let current = startDate;\n while (current.isBefore(endDate)) {\n years.push(current);\n current = current.clone().add(1, 'year');\n }\n return years;\n };\n this.getMeridiemText = ampm => {\n if (this.is12HourCycleInCurrentLocale()) {\n // AM/PM translation only possible in those who have 12 hour cycle in locale.\n return defaultMoment.localeData(this.getCurrentLocaleCode()).meridiem(ampm === 'am' ? 0 : 13, 0, false);\n }\n return ampm === 'am' ? 'AM' : 'PM'; // fallback for de, ru, ...etc\n };\n this.moment = instance || defaultMoment;\n this.locale = locale;\n this.formats = _extends({}, defaultFormats, formats);\n }\n}","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n basicViewPaper: {\n display: 'flex',\n flexDirection: 'column',\n ...theme.basicView\n }\n}));\n","import React, {forwardRef} from 'react';\nimport Paper, {PaperProps} from '@mui/material/Paper';\nimport {useStyles} from './styles';\n\nconst BasicView = forwardRef(\n ({children, className, ...otherProps}: PaperProps, ref: React.RefObject<HTMLDivElement>) => {\n const styles = useStyles();\n return (\n <Paper ref={ref} className={className} classes={{root: styles.basicViewPaper}} {...otherProps}>\n {children}\n </Paper>\n );\n }\n);\n\nBasicView.displayName = 'BasicView';\n\nexport default BasicView;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n container: {\n padding: '0 16px',\n minHeight: '48px',\n '.react-draggable &': {\n paddingTop: '4px'\n }\n },\n title: {\n fontSize: '16px',\n lineHeight: '19px',\n justifyContent: 'flex-start'\n }\n});\n","import React from 'react';\nimport classnames from 'classnames';\nimport BasicViewHeader from '../BasicViewHeader/BasicViewHeader';\nimport {useStyles} from './styles';\n\ntype Props = {\n className?: string;\n title: string;\n children?: React.ReactNode;\n};\n\nconst FacetViewHeader = ({className, title, children}: Props) => {\n const styles = useStyles();\n return (\n <BasicViewHeader title={title} classes={{root: classnames(styles.container, className), title: styles.title}}>\n {children}\n </BasicViewHeader>\n );\n};\n\nexport default FacetViewHeader;\n","import {makeStyles} from '@mui/styles';\n\nconst useStyles = makeStyles(() => ({\n container: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: '100%'\n },\n placeholder: {\n flex: 1\n },\n stepper: {\n padding: '0 24px',\n flex: 2\n },\n stepButton: {\n margin: '-20px -16px',\n padding: '20px 16px',\n '& svg text': {\n textAnchor: 'middle'\n }\n },\n buttons: {\n flex: 1,\n display: 'flex',\n justifyContent: 'flex-end'\n },\n backButton: {\n marginRight: '8px',\n border: '1px solid rgba(0, 0, 0, 0.23)'\n },\n progressButtonWrapper: {\n position: 'relative'\n },\n progress: {\n position: 'absolute',\n left: 'calc(50% - 12px)',\n top: 'calc(50% - 12px)'\n }\n}));\n\nexport {useStyles};\n","import React from 'react';\nimport classnames from 'classnames';\nimport Button from '@mui/material/Button';\nimport CircularProgress from '@mui/material/CircularProgress';\nimport {useStyles} from './styles';\n\ntype Props = {\n isInProgress: boolean;\n disabled: boolean;\n onClick: () => void;\n circularColor?: 'primary' | 'secondary' | 'inherit';\n children: React.ReactNode;\n className?: string;\n [key: string]: any;\n};\n\nconst ProgressButton = ({\n isInProgress,\n disabled,\n circularColor = 'primary' as const,\n className,\n children,\n onClick,\n ...otherButtonProps\n}: Props) => {\n const styles = useStyles();\n\n return (\n <Button\n {...otherButtonProps}\n className={classnames(styles.progressButtonWrapper, className)}\n onClick={onClick}\n disabled={disabled || isInProgress}\n >\n {children}\n {isInProgress && (\n <div className={styles.progress} data-reltio-id=\"reltio-circular-load-indicator\">\n <CircularProgress size={24} color={circularColor} />\n </div>\n )}\n </Button>\n );\n};\n\nexport default ProgressButton;\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport {any, drop, propOr} from 'ramda';\nimport Stepper from '@mui/material/Stepper';\nimport Step from '@mui/material/Step';\nimport StepButton from '@mui/material/StepButton';\nimport Button from '@mui/material/Button';\nimport ProgressButton from './ProgressButton';\nimport {useStyles} from './styles';\n\ntype Props = {\n activeStep: number;\n steps: Array<{\n label: string;\n enabled?: boolean;\n }>;\n isPending?: boolean;\n onConfirm?: () => void;\n onChangeStep: (step: number) => void;\n};\n\nconst StepNavigation = ({activeStep, steps, isPending = false, onConfirm, onChangeStep}: Props) => {\n const styles = useStyles();\n\n const isLastStep = activeStep === steps.length - 1;\n const setActiveStep = (step) => {\n if (step !== activeStep) {\n onChangeStep(step);\n }\n };\n\n const isEnabled = propOr(true, 'enabled');\n\n const onBack = (currentStep) => {\n if (currentStep > 0) {\n const prevStep = currentStep - 1;\n if (isEnabled(steps[prevStep])) {\n setActiveStep(prevStep);\n } else {\n onBack(prevStep);\n }\n }\n };\n\n const onNext = (currentStep) => {\n if (currentStep < steps.length - 1) {\n const nextStep = currentStep + 1;\n if (isEnabled(steps[nextStep])) {\n setActiveStep(nextStep);\n } else {\n onNext(nextStep);\n }\n }\n };\n\n const showConfirm = isLastStep && !!onConfirm;\n const isNextButtonEnabled = showConfirm || any(isEnabled, drop(activeStep + 1, steps));\n\n return (\n <div className={styles.container}>\n <div className={styles.placeholder} />\n <Stepper nonLinear activeStep={activeStep} className={styles.stepper}>\n {steps.map(({label, enabled = true}, index) => {\n const disabledStep = !enabled || isPending;\n const completedStep = !disabledStep && index < activeStep;\n return (\n <Step key={label} completed={completedStep} disabled={disabledStep}>\n <StepButton\n className={styles.stepButton}\n onClick={() => setActiveStep(index)}\n data-reltio-id={`reltio-search-bulk-update-${index}`}\n >\n {label}\n </StepButton>\n </Step>\n );\n })}\n </Stepper>\n <div className={styles.buttons}>\n {activeStep > 0 && (\n <Button\n variant=\"outlined\"\n className={styles.backButton}\n onClick={() => onBack(activeStep)}\n disabled={isPending}\n data-reltio-id=\"reltio-search-bulk-update-back\"\n >\n {i18n.text('Back')}\n </Button>\n )}\n <ProgressButton\n variant=\"contained\"\n color=\"primary\"\n disabled={!isNextButtonEnabled}\n isInProgress={isPending}\n onClick={isLastStep ? onConfirm : () => onNext(activeStep)}\n data-reltio-id={`reltio-search-bulk-update-${isLastStep ? 'confirm' : 'continue'}`}\n >\n {showConfirm ? i18n.text('Confirm') : i18n.text('Continue')}\n </ProgressButton>\n </div>\n </div>\n );\n};\n\nexport default StepNavigation;\n","import React from 'react';\n\nconst SvgTenant: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {\n return (\n <svg width={24} height={24} viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M2 0h13v2H8v19h12V6h-9V4h11v19H2V0zm9 8h7v2h-7V8zm0 4h7v2h-7v-2zm0 4h7v2h-7v-2zM4 4v2h2V4H4zm0 8v2h2v-2H4zm0-4v2h2V8H4zm0 8v2h2v-2H4z\"\n fill=\"#000\"\n stroke=\"none\"\n strokeWidth={1}\n fillRule=\"evenodd\"\n />\n </svg>\n );\n};\n\nexport default SvgTenant;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles(() => ({\n labelWrapper: {\n height: '24px',\n display: 'inline-flex',\n alignItems: 'center'\n },\n tenantIcon: {\n height: '24px',\n width: '24px',\n marginRight: '4px',\n opacity: 0.38\n },\n tenantLabel: {\n lineHeight: '15px',\n fontSize: '13px',\n color: 'rgba(0,0,0,0.38)'\n }\n}));\n","import React from 'react';\nimport Typography from '@mui/material/Typography';\nimport classnames from 'classnames';\nimport TenantIcon from '../../icons/Tenant';\nimport {useStyles} from './styles';\nimport {useMdmEnvironment, useMdmTenantName} from '../../contexts';\n\ntype Props = {\n className?: string;\n};\n\nconst TenantLabel = ({className}: Props) => {\n const styles = useStyles();\n const customerTenantLabel = useMdmTenantName();\n const environmentName = useMdmEnvironment();\n const tenantLabelWithEnv = `${customerTenantLabel}${environmentName ? ' - ' + environmentName.toUpperCase() : ''}`;\n return (\n <div className={classnames(styles.labelWrapper, className)}>\n <TenantIcon className={styles.tenantIcon} data-reltio-id=\"reltio-tenant-icon\" />\n <Typography className={styles.tenantLabel}>{tenantLabelWithEnv}</Typography>\n </div>\n );\n};\n\nexport default TenantLabel;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n attributesContainer: {\n padding: '0 16px 16px 16px'\n },\n header: {\n marginBottom: '4px'\n },\n noCaption: {\n paddingTop: '16px'\n },\n noData: {\n fontSize: '13px',\n color: 'rgba(0,0,0,0.54)'\n }\n});\n","import React, {useMemo} from 'react';\nimport {Entity, getAttributesListForReadMode, isEmptyValue} from '@reltio/mdm-sdk';\nimport classnames from 'classnames';\nimport i18n from 'ui-i18n';\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport {PivotingAttributeContext, useMdmMetadata, useMdmPivotingAttributes} from '../../../../contexts';\nimport BasicView from '../../../BasicView/BasicView';\nimport FacetViewHeader from '../../../FacetViewHeader/FacetViewHeader';\nimport AttributesList from '../AttributesList';\nimport {AttributesViewProps} from '../../types';\nimport {getFilteredAttrTypes} from '../../helpers/attributesView';\nimport {useStyles} from './styles';\n\ntype Props = Omit<AttributesViewProps, 'mode' | 'pinnedAttributes'>;\n\nconst AttributesView = ({\n className,\n entity = {} as Entity,\n caption = '',\n excludeUris = [],\n includeUris = [],\n attributesCount = 16\n}: Props) => {\n const styles = useStyles();\n\n const metadata = useMdmMetadata();\n const pivotingAttributes = useMdmPivotingAttributes();\n\n const filteredAttrTypes = useMemo(\n () => getFilteredAttrTypes(metadata, entity.type, includeUris, excludeUris),\n [excludeUris, includeUris, metadata, entity.type]\n );\n\n const attributesList = getAttributesListForReadMode(filteredAttrTypes, entity);\n\n const isShowAttributeList = attributesList.filter(({values}) => !isEmptyValue(values)).length > 0;\n\n return isShowAttributeList || !isEmptyValue(caption) ? (\n <PivotingAttributeContext.Provider value={pivotingAttributes}>\n <BasicView className={className}>\n {caption && <FacetViewHeader className={styles.header} title={caption} />}\n <Box className={classnames(styles.attributesContainer, {[styles.noCaption]: !caption})}>\n {isShowAttributeList ? (\n <AttributesList\n entity={entity}\n attrTypes={filteredAttrTypes}\n parentUri={entity.uri}\n drawLines={false}\n max={attributesCount}\n />\n ) : (\n <Typography className={styles.noData}>{i18n.text('No data found')}</Typography>\n )}\n </Box>\n </BasicView>\n </PivotingAttributeContext.Provider>\n ) : null;\n};\n\nexport default AttributesView;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n attributesContainer: {\n overflow: 'hidden',\n padding: '0 16px 16px 16px'\n },\n header: {\n marginBottom: '4px'\n },\n noCaption: {\n paddingTop: '16px'\n }\n});\n","import React, {useCallback, useContext, useMemo} from 'react';\nimport classnames from 'classnames';\nimport {\n isTempUri,\n getPinnedAttributesForUser,\n Entity,\n AddAttributesPayload,\n ModifyAttributePayload,\n RemoveAttributePayload\n} from '@reltio/mdm-sdk';\nimport Box from '@mui/material/Box';\nimport BasicView from '../../../BasicView/BasicView';\nimport FacetViewHeader from '../../../FacetViewHeader/FacetViewHeader';\nimport AttributesList from '../AttributesList';\nimport {\n ViewIdContext,\n useMdmAction,\n useMdmMetadata,\n useMdmModifiedEntity,\n useMdmUserRoles\n} from '../../../../contexts';\nimport {AttributesViewProps} from '../../types';\nimport {getFilteredAttrTypes} from '../../helpers/attributesView';\nimport {PinnedAttributesContext} from '../contexts/PinnedAttributesContext';\nimport {useStyles} from './styles';\n\ntype Props = Omit<AttributesViewProps, 'attributesCount'>;\n\nconst AttributesView = ({\n className,\n mode,\n entity,\n caption = '',\n excludeUris = [],\n includeUris = [],\n pinnedAttributes\n}: Props) => {\n const styles = useStyles();\n const viewId = useContext(ViewIdContext);\n\n const addAttributes = useMdmAction('addAttributes');\n const modifyAttribute = useMdmAction('modifyAttribute');\n const removeAttribute = useMdmAction('removeAttribute');\n const metadata = useMdmMetadata();\n const userRoles = useMdmUserRoles();\n const modifiedEntity = useMdmModifiedEntity(entity.uri) || ({} as Entity);\n\n const pinnedAttributeUris = useMemo(\n () => getPinnedAttributesForUser(pinnedAttributes, userRoles),\n [pinnedAttributes, userRoles]\n );\n\n const filteredAttrTypes = useMemo(\n () => getFilteredAttrTypes(metadata, modifiedEntity.type, includeUris, excludeUris),\n [excludeUris, includeUris, metadata, modifiedEntity.type]\n );\n\n const onAddAttributes = useCallback(\n (params: AddAttributesPayload) => addAttributes(params.map((param) => ({...param, viewId}))),\n [viewId, addAttributes]\n );\n\n const onChangeAttribute = useCallback(\n (params: ModifyAttributePayload) => modifyAttribute({...params, viewId}),\n [viewId, modifyAttribute]\n );\n\n const onDeleteAttribute = useCallback(\n (params: RemoveAttributePayload) => removeAttribute({...params, viewId}),\n [viewId, removeAttribute]\n );\n\n return (\n <BasicView className={className}>\n {caption && <FacetViewHeader className={styles.header} title={caption} />}\n <Box className={classnames(styles.attributesContainer, {[styles.noCaption]: !caption})}>\n <PinnedAttributesContext.Provider value={pinnedAttributeUris}>\n <AttributesList\n entity={modifiedEntity}\n attrTypes={filteredAttrTypes}\n parentUri={modifiedEntity.uri}\n drawLines={false}\n mode={mode}\n showEmptyEditors={isTempUri(modifiedEntity.uri)}\n crosswalks={modifiedEntity.crosswalks}\n onAddAttributes={onAddAttributes}\n onChangeAttribute={onChangeAttribute}\n onDeleteAttribute={onDeleteAttribute}\n />\n </PinnedAttributesContext.Provider>\n </Box>\n </BasicView>\n );\n};\n\nexport default AttributesView;\n","import React from 'react';\nimport {isViewMode} from '@reltio/mdm-sdk';\nimport {AttributesViewProps} from '../types';\nimport ReadModeAttributesView from '../readMode/AttributesView/AttributesView';\nimport EditModeAttributesView from '../editMode/AttributesView/AttributesView';\nimport {useMdmEntityWithDiff, useMdmMode, EntityContext} from '../../../contexts';\n\nconst AttributesView = ({attributesCount, pinnedAttributes, ...restProps}: AttributesViewProps) => {\n const mdmEntity = useMdmEntityWithDiff();\n const mdmMode = useMdmMode();\n\n const entity = restProps.entity || mdmEntity;\n const mode = restProps.mode || mdmMode;\n\n return (\n <EntityContext.Provider value={entity}>\n {isViewMode(mode) ? (\n <ReadModeAttributesView {...restProps} attributesCount={attributesCount} entity={entity} />\n ) : (\n <EditModeAttributesView\n {...restProps}\n mode={mode}\n pinnedAttributes={pinnedAttributes}\n entity={entity}\n />\n )}\n </EntityContext.Provider>\n );\n};\n\nexport default AttributesView;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\nexport default (({\n styles = {},\n ...props\n}) => React.createElement(\"svg\", _extends({\n width: \"24\",\n height: \"18\",\n viewBox: \"0 0 24 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), React.createElement(\"path\", {\n d: \"M24 17.454v-2.181c0-2.411-3.905-4.364-8.727-4.364-4.822 0-8.728 1.953-8.728 4.364v2.181H24zM10.91 4.364a4.362 4.362 0 004.363 4.363 4.362 4.362 0 004.363-4.363A4.362 4.362 0 0015.273 0a4.362 4.362 0 00-4.364 4.364zM3.272 1.636V4.91H0v4.364h3.273v3.273L8.727 7.09 3.273 1.636z\",\n fill: \"#000\",\n fillOpacity: \".26\"\n})));","import {makeStyles} from '@mui/styles';\n\nconst useStyles = makeStyles(() => ({\n appbar: {\n zIndex: 1\n },\n\n toolbar: {\n background: 'white',\n paddingLeft: '21px',\n justifyContent: 'space-between',\n borderBottom: '1px solid rgba(0,0,0,0.1)',\n boxSizing: 'border-box'\n },\n\n toolbarHeader: {\n display: 'flex',\n alignItems: 'center'\n },\n\n toolbarButton: {\n margin: '0 4px'\n },\n\n closeButton: {\n marginRight: '10px'\n },\n\n tenantLabel: {\n marginLeft: '23px'\n }\n}));\n\nexport {useStyles};\n","import React, {useState} from 'react';\nimport {useSelector, useDispatch} from 'react-redux';\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\nimport Typography from '@mui/material/Typography';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Button from '@mui/material/Button';\nimport i18n from 'ui-i18n';\nimport {project} from 'ramda';\nimport mdmModule, {profile} from '@reltio/mdm-module';\nimport {AuthoringItem, Mode, Operation} from '@reltio/mdm-sdk';\nimport {SmallIconButtonWithTooltip, StepNavigation, TenantLabel} from '@reltio/components';\nimport ReassignIcon from './icons/reassign.svg';\nimport {useStyles} from './styles';\n\ntype Props = {\n onClose: () => void;\n config: AuthoringItem[];\n};\n\nexport const DialogHeader = ({onClose, config}: Props) => {\n const styles = useStyles();\n const [activeStep, setActiveStep] = useState(0);\n const dispatch = useDispatch();\n const profileOperation = useSelector(mdmModule.selectors.getProfileOperation);\n const isOperationSaving = profileOperation === Operation.Saving;\n const isDisabledButtons = isOperationSaving;\n\n const handleSave = () => {\n dispatch(profile.mode.actions.modeUpdated(Mode.Editing));\n dispatch(profile.actions.saveProfile());\n };\n\n return (\n <AppBar position=\"static\" color=\"default\" className={styles.appbar}>\n <Toolbar className={styles.toolbar}>\n <div className={styles.toolbarHeader}>\n <SmallIconButtonWithTooltip\n disabled={isDisabledButtons}\n tooltipTitle={i18n.text('Close')}\n aria-label={i18n.text('Close')}\n icon={CloseIcon}\n onClick={onClose}\n className={styles.closeButton}\n size=\"L\"\n />\n <Typography variant=\"h6\">{i18n.text('Create Item: <No Label>')}</Typography>\n <TenantLabel className={styles.tenantLabel} />\n </div>\n <div>\n <Button onClick={() => {}} disabled={isDisabledButtons} className={styles.toolbarButton}>\n {i18n.text('Cancel')}\n </Button>\n <Button\n color=\"primary\"\n disabled={isDisabledButtons}\n onClick={() => {}}\n className={styles.toolbarButton}\n >\n {i18n.text('Suggest')}\n </Button>\n <Button\n color=\"primary\"\n disabled={isDisabledButtons}\n onClick={handleSave}\n className={styles.toolbarButton}\n >\n {i18n.text('Save')}\n </Button>\n <SmallIconButtonWithTooltip\n disabled={isDisabledButtons}\n size=\"S\"\n icon={ReassignIcon}\n onClick={() => {}}\n data-reltio-id=\"reltio-reassign-button\"\n />\n </div>\n </Toolbar>\n <Toolbar className={styles.toolbar}>\n <StepNavigation\n activeStep={activeStep}\n steps={project(['label'], config)}\n onChangeStep={setActiveStep}\n />\n </Toolbar>\n </AppBar>\n );\n};\n","import {AuthoringView} from '@reltio/authoring';\n\nexport default AuthoringView;\n","import React, {useEffect} from 'react';\nimport {useDispatch, useSelector} from 'react-redux';\nimport Dialog from '@mui/material/Dialog';\nimport mdmModule, {ui, profile} from '@reltio/mdm-module';\nimport DialogContent from '@mui/material/DialogContent';\nimport {AdapterMoment} from '@mui/x-date-pickers/AdapterMoment';\nimport {LocalizationProvider} from '@mui/x-date-pickers/LocalizationProvider';\nimport {AttributesView} from '@reltio/components';\nimport {DialogHeader} from '../components/DialogHeader/DialogHeader';\n\nexport const AuthoringPerspective = () => {\n const dispatch = useDispatch();\n const entity = useSelector(mdmModule.selectors.getEntity);\n const authoringConfig = useSelector((state) => mdmModule.selectors.getAuhoringByEntityType(state, entity.type));\n\n const onClose = () => {\n dispatch(ui.actions.openPreviousPage());\n };\n\n useEffect(() => {\n const views = authoringConfig.map((item) => item.views).flat(3);\n dispatch(profile.views.actions.profileViewsSet(views));\n }, [authoringConfig, dispatch]);\n\n return (\n <LocalizationProvider dateAdapter={AdapterMoment}>\n <Dialog fullScreen open={true}>\n <DialogHeader onClose={onClose} config={authoringConfig} />\n <DialogContent>\n <AttributesView />\n </DialogContent>\n </Dialog>\n </LocalizationProvider>\n );\n};\n"],"names":["formatTokenMap","Y","YY","YYYY","M","sectionType","contentType","maxLength","MM","MMM","MMMM","D","DD","Do","E","e","d","dd","ddd","dddd","A","a","H","HH","h","hh","m","mm","s","ss","defaultFormats","year","month","monthShort","dayOfMonth","weekday","weekdayShort","hours24h","hours12h","meridiem","minutes","seconds","fullDate","fullDateWithWeekday","keyboardDate","shortDate","normalDate","normalDateWithWeekday","monthAndYear","monthAndDate","fullTime","fullTime12h","fullTime24h","fullDateTime","fullDateTime12h","fullDateTime24h","keyboardDateTime","keyboardDateTime12h","keyboardDateTime24h","MISSING_TIMEZONE_PLUGIN","join","AdapterMoment","constructor","locale","formats","instance","this","isMUIAdapter","isTimezoneCompatible","lib","moment","escapedCharacters","start","end","setLocaleToValue","value","expectedLocale","getCurrentLocaleCode","hasTimezonePlugin","tz","createSystemDate","parsedValue","local","undefined","createUTCDate","utc","createTZDate","timezone","Error","date","dateWithTimezone","getTimezone","_value$_z","_ref","_this$moment$defaultZ","isUTC","zone","_z","name","defaultZone","setTimezone","_this$moment$defaultZ2","_this$moment$defaultZ3","clone","cleanZone","newValue","toJsDate","toDate","parseISO","isoString","toISO","toISOString","parse","format","is12HourCycleInCurrentLocale","test","longDateFormat","expandFormat","match","map","token","firstCharacter","getFormatHelperText","replace","toLocaleLowerCase","isNull","isValid","formatKey","formatByString","formatString","clonedDate","formatNumber","numberToFormat","getDiff","comparing","unit","diff","isEqual","isSame","isSameYear","isSameMonth","isSameDay","isSameHour","isAfter","isAfterYear","isAfterDay","isBefore","isBeforeYear","isBeforeDay","isWithinRange","isBetween","startOfYear","startOf","startOfMonth","startOfWeek","startOfDay","endOfYear","endOf","endOfMonth","endOfWeek","endOfDay","addYears","amount","subtract","Math","abs","add","addMonths","addWeeks","addDays","addHours","addMinutes","addSeconds","getYear","get","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setYear","setMonth","setDate","setHours","hours","setMinutes","setSeconds","setMilliseconds","milliseconds","getDaysInMonth","daysInMonth","getNextMonth","getPreviousMonth","getMonthArray","monthArray","length","prevMonth","push","mergeDateAndTime","dateParam","timeParam","hour","minute","second","getWeekdays","getWeekArray","cleanLocale","count","current","nestedWeeks","weekNumber","floor","getWeekNumber","week","getYearRange","startDate","endDate","years","getMeridiemText","ampm","useStyles","makeStyles","theme","basicViewPaper","display","flexDirection","basicView","BasicView","forwardRef","ref","children","className","otherProps","styles","Paper","classes","root","displayName","container","padding","minHeight","paddingTop","title","fontSize","lineHeight","justifyContent","BasicViewHeader","classnames","alignItems","width","placeholder","flex","stepper","stepButton","margin","textAnchor","buttons","backButton","marginRight","border","progressButtonWrapper","position","progress","left","top","isInProgress","disabled","circularColor","onClick","otherButtonProps","Button","CircularProgress","size","color","activeStep","steps","isPending","onConfirm","onChangeStep","isLastStep","setActiveStep","step","isEnabled","propOr","onBack","currentStep","prevStep","onNext","nextStep","showConfirm","isNextButtonEnabled","any","drop","Stepper","nonLinear","index","label","enabled","disabledStep","completedStep","Step","key","completed","StepButton","variant","i18n","props","height","viewBox","xmlns","fill","stroke","strokeWidth","fillRule","labelWrapper","tenantIcon","opacity","tenantLabel","customerTenantLabel","useMdmTenantName","environmentName","useMdmEnvironment","tenantLabelWithEnv","toUpperCase","Tenant","Typography","attributesContainer","header","marginBottom","noCaption","noData","entity","caption","excludeUris","includeUris","attributesCount","metadata","useMdmMetadata","pivotingAttributes","useMdmPivotingAttributes","filteredAttrTypes","useMemo","getFilteredAttrTypes","type","isShowAttributeList","getAttributesListForReadMode","filter","values","isEmptyValue","PivotingAttributeContext","FacetViewHeader","Box","AttributesList","attrTypes","parentUri","uri","drawLines","max","overflow","mode","pinnedAttributes","viewId","useContext","ViewIdContext","addAttributes","useMdmAction","modifyAttribute","removeAttribute","userRoles","useMdmUserRoles","modifiedEntity","useMdmModifiedEntity","pinnedAttributeUris","getPinnedAttributesForUser","onAddAttributes","useCallback","params","param","onChangeAttribute","onDeleteAttribute","PinnedAttributesContext","showEmptyEditors","isTempUri","crosswalks","restProps","mdmEntity","useMdmEntityWithDiff","mdmMode","useMdmMode","EntityContext","isViewMode","_extends","Object","assign","target","i","arguments","source","prototype","hasOwnProperty","call","apply","React","fillOpacity","appbar","zIndex","toolbar","background","paddingLeft","borderBottom","boxSizing","toolbarHeader","toolbarButton","closeButton","marginLeft","DialogHeader","onClose","config","useState","dispatch","useDispatch","isDisabledButtons","useSelector","mdmModule","Operation","AppBar","Toolbar","SmallIconButton","tooltipTitle","icon","CloseIcon","TenantLabel","profile","Mode","ReassignIcon","StepNavigation","project","authoringConfig","state","useEffect","views","item","flat","LocalizationProvider","dateAdapter","Dialog","fullScreen","open","ui","DialogContent","AttributesView"],"sourceRoot":""}
package/9652.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a4ebd607-e3c3-402b-8f82-4b0bc00acc3d",e._sentryDebugIdIdentifier="sentry-dbid-a4ebd607-e3c3-402b-8f82-4b0bc00acc3d")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1642"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9652],{4237:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"}),"CalendarToday");t.Z=s},89323:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=s},29754:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=s},42503:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=s},80653:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");t.Z=s},13510:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}),"History");t.Z=s},69208:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=s},23468:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=s},31373:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=s},11559:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=s},26436:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=s},35936:(e,t,o)=>{o.d(t,{Z:()=>y});var n=o(7896),a=o(31461),r=o(24328),s=o(6277),i=o(69075),l=o(79312),c=o(65992),d=o(43853),h=o(34642),u=o(68346),m=o(52322);const f=["className","id"],p=(0,c.ZP)(l.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),y=r.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiDialogTitle"}),{className:l,id:c}=o,y=(0,a.Z)(o,f),v=o,g=(e=>{const{classes:t}=e;return(0,i.Z)({root:["root"]},h.a,t)})(v),{titleId:Z=c}=r.useContext(u.Z);return(0,m.jsx)(p,(0,n.Z)({component:"h2",className:(0,s.default)(g.root,l),ownerState:v,ref:t,variant:"h6",id:null!=c?c:Z},y))}))},74607:(e,t,o)=>{o.d(t,{Z:()=>y});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(65992),c=o(43853),d=o(3875),h=o(60433),u=o(28734),m=o(52322);const f=["className","row"],p=(0,l.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((({ownerState:e})=>(0,a.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),y=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:r,row:l=!1}=o,y=(0,n.Z)(o,f),v=(0,h.Z)(),g=(0,u.Z)({props:o,muiFormControl:v,states:["error"]}),Z=(0,a.Z)({},o,{row:l,error:g.error}),M=(e=>{const{classes:t,row:o,error:n}=e,a={root:["root",o&&"row",n&&"error"]};return(0,i.Z)(a,d.y,t)})(Z);return(0,m.jsx)(p,(0,a.Z)({className:(0,s.default)(M.root,r),ownerState:Z,ref:t},y))}))},3875:(e,t,o)=>{o.d(t,{y:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiFormGroup",e)}const s=(0,n.Z)("MuiFormGroup",["root","row","error"])},63297:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(47591),c=o(18205),d=o(43853),h=o(6620),u=o(52322);const m=(0,h.Z)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=(0,h.Z)((0,u.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var p=o(65992);const y=(0,p.ZP)("span")({position:"relative",display:"flex"}),v=(0,p.ZP)(m)({transform:"scale(1)"}),g=(0,p.ZP)(f)((({theme:e,ownerState:t})=>(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),Z=function(e){const{checked:t=!1,classes:o={},fontSize:n}=e,r=(0,a.Z)({},e,{checked:t});return(0,u.jsxs)(y,{className:o.root,ownerState:r,children:[(0,u.jsx)(v,{fontSize:n,className:o.background,ownerState:r}),(0,u.jsx)(g,{fontSize:n,className:o.dot,ownerState:r})]})};var M=o(7342),w=o(5209),b=o(49240),C=o(62591);const T=["checked","checkedIcon","color","icon","name","onChange","size","className"],D=(0,p.ZP)(c.Z,{shouldForwardProp:e=>(0,p.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${(0,M.Z)(o.color)}`]]}})((({theme:e,ownerState:t})=>(0,a.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${C.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${C.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),L=(0,u.jsx)(Z,{checked:!0}),O=(0,u.jsx)(Z,{}),S=r.forwardRef((function(e,t){var o,l;const c=(0,d.Z)({props:e,name:"MuiRadio"}),{checked:h,checkedIcon:m=L,color:f="primary",icon:p=O,name:y,onChange:v,size:g="medium",className:Z}=c,S=(0,n.Z)(c,T),k=(0,a.Z)({},c,{color:f,size:g}),z=(e=>{const{classes:t,color:o}=e,n={root:["root",`color${(0,M.Z)(o)}`]};return(0,a.Z)({},t,(0,i.Z)(n,C.l,t))})(k),x=(0,b.Z)();let j=h;const H=(0,w.Z)(v,x&&x.onChange);let P=y;var R,Y;return x&&(void 0===j&&(R=x.value,j="object"==typeof(Y=c.value)&&null!==Y?R===Y:String(R)===String(Y)),void 0===P&&(P=x.name)),(0,u.jsx)(D,(0,a.Z)({type:"radio",icon:r.cloneElement(p,{fontSize:null!=(o=O.props.fontSize)?o:g}),checkedIcon:r.cloneElement(m,{fontSize:null!=(l=L.props.fontSize)?l:g}),ownerState:k,classes:z,name:P,checked:j,onChange:H,ref:t,className:(0,s.default)(z.root,Z)},S))}))},62591:(e,t,o)=>{o.d(t,{l:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiRadio",e)}const s=(0,n.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"])},96758:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7896),a=o(31461),r=o(24328),s=o(74607),i=o(98659),l=o(19570),c=o(64770),d=o(85954),h=o(52322);const u=["actions","children","defaultValue","name","onChange","value"],m=r.forwardRef((function(e,t){const{actions:o,children:m,defaultValue:f,name:p,onChange:y,value:v}=e,g=(0,a.Z)(e,u),Z=r.useRef(null),[M,w]=(0,l.Z)({controlled:v,default:f,name:"RadioGroup"});r.useImperativeHandle(o,(()=>({focus:()=>{let e=Z.current.querySelector("input:not(:disabled):checked");e||(e=Z.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const b=(0,i.Z)(t,Z),C=(0,d.Z)(p),T=r.useMemo((()=>({name:C,onChange(e){w(e.target.value),y&&y(e,e.target.value)},value:M})),[C,y,w,M]);return(0,h.jsx)(c.Z.Provider,{value:T,children:(0,h.jsx)(s.Z,(0,n.Z)({role:"radiogroup",ref:b},g,{children:m}))})}))},64770:(e,t,o)=>{o.d(t,{Z:()=>n});const n=o(24328).createContext(void 0)},49240:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(24328),a=o(64770);function r(){return n.useContext(a.Z)}},9366:(e,t,o)=>{o.d(t,{Q:()=>c});var n=o(7896),a=o(95038),r=o.n(a);const s={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:o}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=s,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const o="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?o:o.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,o,n;if(e.isUTC())return"UTC";const a=null==(t=e._z)?void 0:t.name;return null!=(o=null!=a?a:null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system"},this.setTimezone=(e,t)=>{var o,n;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const a="default"===t?null!=(o=null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system":t,r=e.clone();return r.tz(a),r},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||r().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(r().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?r().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const o=e.clone();return o.locale(this.getCurrentLocaleCode()),o.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,o)=>e.diff(t,o),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,o])=>e.isBetween(t,o,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>r().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),o=t.clone().startOf("month").startOf("week"),n=t.clone().endOf("month").endOf("week");let a=0,r=o;const s=[];for(;r.isBefore(n);){const e=Math.floor(a/7);s[e]=s[e]||[],s[e].push(r),r=r.clone().add(1,"day"),a+=1}return s},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const o=this.moment(e).startOf("year"),n=this.moment(t).endOf("year"),a=[];let r=o;for(;r.isBefore(n);)a.push(r),r=r.clone().add(1,"year");return a},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?r().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=o||r(),this.locale=e,this.formats=(0,n.Z)({},i,t)}}},70347:(e,t,o)=>{o.d(t,{ZP:()=>C});var n=o(7896),a=o(38777),r=o(56666),s=o(9249),i=o(87371),l=o(45754),c=o(11987),d=o(95058),h=o(24328),u=o.n(h),m=(o(3528),o(75047),o(81997)),f=o(54573),p=(o(78951),o(61950),o(64486));function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var v,g,Z,M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,o=String(e).toLowerCase(),n=String(t.value).toLowerCase(),a=String(t.label).toLowerCase();return n===o||a===o},w=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,o){return!(!e||t.some((function(t){return M(e,t)}))||o.some((function(t){return M(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),b=(v=f.S,Z=g=function(e){(0,l.Z)(h,e);var t,o,r=(t=h,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,d.Z)(t);if(o){var a=(0,d.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function h(e){var t;(0,s.Z)(this,h),(t=r.call(this,e)).select=void 0,t.onChange=function(e,o){var n=t.props,r=n.getNewOptionData,s=n.inputValue,i=n.isMulti,l=n.onChange,c=n.onCreateOption,d=n.value,h=n.name;if("select-option"!==o.action)return l(e,o);var u=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==u)l(e,o);else if(c)c(s);else{var p=r(s,s),y={action:"create-option",name:h};l(i?[].concat((0,a.Z)((0,m.C)(d)),[p]):p,y)}};var o=e.options||[];return t.state={newOption:void 0,options:o},t}return(0,i.Z)(h,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,o=e.createOptionPosition,n=e.formatCreateLabel,r=e.getNewOptionData,s=e.inputValue,i=e.isLoading,l=e.isValidNewOption,c=e.value,d=e.options||[],h=this.state.newOption;h=l(s,(0,m.C)(c),d)?r(s,n(s)):void 0,this.setState({newOption:h,options:!t&&i||!h?d:"first"===o?[h].concat((0,a.Z)(d)):[].concat((0,a.Z)(d),[h])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return u().createElement(v,(0,n.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),h}(h.Component),g.defaultProps=w,Z);const C=(0,p.m)(b)}}]);
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a4ebd607-e3c3-402b-8f82-4b0bc00acc3d",e._sentryDebugIdIdentifier="sentry-dbid-a4ebd607-e3c3-402b-8f82-4b0bc00acc3d")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1644"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9652],{4237:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"}),"CalendarToday");t.Z=s},89323:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=s},29754:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=s},42503:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=s},80653:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");t.Z=s},13510:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}),"History");t.Z=s},69208:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=s},23468:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=s},31373:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=s},11559:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=s},26436:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=s},35936:(e,t,o)=>{o.d(t,{Z:()=>y});var n=o(7896),a=o(31461),r=o(24328),s=o(6277),i=o(69075),l=o(79312),c=o(65992),d=o(43853),h=o(34642),u=o(68346),m=o(52322);const f=["className","id"],p=(0,c.ZP)(l.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),y=r.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiDialogTitle"}),{className:l,id:c}=o,y=(0,a.Z)(o,f),v=o,g=(e=>{const{classes:t}=e;return(0,i.Z)({root:["root"]},h.a,t)})(v),{titleId:Z=c}=r.useContext(u.Z);return(0,m.jsx)(p,(0,n.Z)({component:"h2",className:(0,s.default)(g.root,l),ownerState:v,ref:t,variant:"h6",id:null!=c?c:Z},y))}))},74607:(e,t,o)=>{o.d(t,{Z:()=>y});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(65992),c=o(43853),d=o(3875),h=o(60433),u=o(28734),m=o(52322);const f=["className","row"],p=(0,l.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((({ownerState:e})=>(0,a.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),y=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:r,row:l=!1}=o,y=(0,n.Z)(o,f),v=(0,h.Z)(),g=(0,u.Z)({props:o,muiFormControl:v,states:["error"]}),Z=(0,a.Z)({},o,{row:l,error:g.error}),M=(e=>{const{classes:t,row:o,error:n}=e,a={root:["root",o&&"row",n&&"error"]};return(0,i.Z)(a,d.y,t)})(Z);return(0,m.jsx)(p,(0,a.Z)({className:(0,s.default)(M.root,r),ownerState:Z,ref:t},y))}))},3875:(e,t,o)=>{o.d(t,{y:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiFormGroup",e)}const s=(0,n.Z)("MuiFormGroup",["root","row","error"])},63297:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(47591),c=o(18205),d=o(43853),h=o(6620),u=o(52322);const m=(0,h.Z)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=(0,h.Z)((0,u.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var p=o(65992);const y=(0,p.ZP)("span")({position:"relative",display:"flex"}),v=(0,p.ZP)(m)({transform:"scale(1)"}),g=(0,p.ZP)(f)((({theme:e,ownerState:t})=>(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),Z=function(e){const{checked:t=!1,classes:o={},fontSize:n}=e,r=(0,a.Z)({},e,{checked:t});return(0,u.jsxs)(y,{className:o.root,ownerState:r,children:[(0,u.jsx)(v,{fontSize:n,className:o.background,ownerState:r}),(0,u.jsx)(g,{fontSize:n,className:o.dot,ownerState:r})]})};var M=o(7342),w=o(5209),b=o(49240),C=o(62591);const T=["checked","checkedIcon","color","icon","name","onChange","size","className"],D=(0,p.ZP)(c.Z,{shouldForwardProp:e=>(0,p.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${(0,M.Z)(o.color)}`]]}})((({theme:e,ownerState:t})=>(0,a.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${C.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${C.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),L=(0,u.jsx)(Z,{checked:!0}),O=(0,u.jsx)(Z,{}),S=r.forwardRef((function(e,t){var o,l;const c=(0,d.Z)({props:e,name:"MuiRadio"}),{checked:h,checkedIcon:m=L,color:f="primary",icon:p=O,name:y,onChange:v,size:g="medium",className:Z}=c,S=(0,n.Z)(c,T),k=(0,a.Z)({},c,{color:f,size:g}),z=(e=>{const{classes:t,color:o}=e,n={root:["root",`color${(0,M.Z)(o)}`]};return(0,a.Z)({},t,(0,i.Z)(n,C.l,t))})(k),x=(0,b.Z)();let j=h;const H=(0,w.Z)(v,x&&x.onChange);let P=y;var R,Y;return x&&(void 0===j&&(R=x.value,j="object"==typeof(Y=c.value)&&null!==Y?R===Y:String(R)===String(Y)),void 0===P&&(P=x.name)),(0,u.jsx)(D,(0,a.Z)({type:"radio",icon:r.cloneElement(p,{fontSize:null!=(o=O.props.fontSize)?o:g}),checkedIcon:r.cloneElement(m,{fontSize:null!=(l=L.props.fontSize)?l:g}),ownerState:k,classes:z,name:P,checked:j,onChange:H,ref:t,className:(0,s.default)(z.root,Z)},S))}))},62591:(e,t,o)=>{o.d(t,{l:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiRadio",e)}const s=(0,n.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"])},96758:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7896),a=o(31461),r=o(24328),s=o(74607),i=o(98659),l=o(19570),c=o(64770),d=o(85954),h=o(52322);const u=["actions","children","defaultValue","name","onChange","value"],m=r.forwardRef((function(e,t){const{actions:o,children:m,defaultValue:f,name:p,onChange:y,value:v}=e,g=(0,a.Z)(e,u),Z=r.useRef(null),[M,w]=(0,l.Z)({controlled:v,default:f,name:"RadioGroup"});r.useImperativeHandle(o,(()=>({focus:()=>{let e=Z.current.querySelector("input:not(:disabled):checked");e||(e=Z.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const b=(0,i.Z)(t,Z),C=(0,d.Z)(p),T=r.useMemo((()=>({name:C,onChange(e){w(e.target.value),y&&y(e,e.target.value)},value:M})),[C,y,w,M]);return(0,h.jsx)(c.Z.Provider,{value:T,children:(0,h.jsx)(s.Z,(0,n.Z)({role:"radiogroup",ref:b},g,{children:m}))})}))},64770:(e,t,o)=>{o.d(t,{Z:()=>n});const n=o(24328).createContext(void 0)},49240:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(24328),a=o(64770);function r(){return n.useContext(a.Z)}},9366:(e,t,o)=>{o.d(t,{Q:()=>c});var n=o(7896),a=o(95038),r=o.n(a);const s={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:o}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=s,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const o="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?o:o.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,o,n;if(e.isUTC())return"UTC";const a=null==(t=e._z)?void 0:t.name;return null!=(o=null!=a?a:null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system"},this.setTimezone=(e,t)=>{var o,n;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const a="default"===t?null!=(o=null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system":t,r=e.clone();return r.tz(a),r},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||r().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(r().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?r().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const o=e.clone();return o.locale(this.getCurrentLocaleCode()),o.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,o)=>e.diff(t,o),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,o])=>e.isBetween(t,o,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>r().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),o=t.clone().startOf("month").startOf("week"),n=t.clone().endOf("month").endOf("week");let a=0,r=o;const s=[];for(;r.isBefore(n);){const e=Math.floor(a/7);s[e]=s[e]||[],s[e].push(r),r=r.clone().add(1,"day"),a+=1}return s},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const o=this.moment(e).startOf("year"),n=this.moment(t).endOf("year"),a=[];let r=o;for(;r.isBefore(n);)a.push(r),r=r.clone().add(1,"year");return a},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?r().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=o||r(),this.locale=e,this.formats=(0,n.Z)({},i,t)}}},70347:(e,t,o)=>{o.d(t,{ZP:()=>C});var n=o(7896),a=o(38777),r=o(56666),s=o(9249),i=o(87371),l=o(45754),c=o(11987),d=o(95058),h=o(24328),u=o.n(h),m=(o(3528),o(75047),o(81997)),f=o(54573),p=(o(78951),o(61950),o(64486));function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var v,g,Z,M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,o=String(e).toLowerCase(),n=String(t.value).toLowerCase(),a=String(t.label).toLowerCase();return n===o||a===o},w=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,o){return!(!e||t.some((function(t){return M(e,t)}))||o.some((function(t){return M(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),b=(v=f.S,Z=g=function(e){(0,l.Z)(h,e);var t,o,r=(t=h,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,d.Z)(t);if(o){var a=(0,d.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function h(e){var t;(0,s.Z)(this,h),(t=r.call(this,e)).select=void 0,t.onChange=function(e,o){var n=t.props,r=n.getNewOptionData,s=n.inputValue,i=n.isMulti,l=n.onChange,c=n.onCreateOption,d=n.value,h=n.name;if("select-option"!==o.action)return l(e,o);var u=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==u)l(e,o);else if(c)c(s);else{var p=r(s,s),y={action:"create-option",name:h};l(i?[].concat((0,a.Z)((0,m.C)(d)),[p]):p,y)}};var o=e.options||[];return t.state={newOption:void 0,options:o},t}return(0,i.Z)(h,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,o=e.createOptionPosition,n=e.formatCreateLabel,r=e.getNewOptionData,s=e.inputValue,i=e.isLoading,l=e.isValidNewOption,c=e.value,d=e.options||[],h=this.state.newOption;h=l(s,(0,m.C)(c),d)?r(s,n(s)):void 0,this.setState({newOption:h,options:!t&&i||!h?d:"first"===o?[h].concat((0,a.Z)(d)):[].concat((0,a.Z)(d),[h])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return u().createElement(v,(0,n.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),h}(h.Component),g.defaultProps=w,Z);const C=(0,p.m)(b)}}]);
2
2
  //# sourceMappingURL=9652.js.map