@reltio/remotes 1.4.1527 → 1.4.1528
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.
- package/1032.js +1 -1
- package/2114.js +1 -1
- package/2125.js +1 -1
- package/2890.js +1 -1
- package/2951.js +1 -1
- package/3118.js +1 -1
- package/316.js +1 -1
- package/3396.js +1 -1
- package/3469.js +1 -1
- package/3540.js +1 -1
- package/385.js +1 -1
- package/385.js.map +1 -1
- package/4120.js +1 -1
- package/4183.js +1 -1
- package/4217.js +1 -1
- package/4469.js +1 -1
- package/4843.js +1 -1
- package/5400.js +1 -1
- package/5605.js +1 -1
- package/566.js +1 -1
- package/5706.js +1 -1
- package/5709.js +1 -1
- package/574.js +1 -1
- package/5756.js +1 -1
- package/6233.js +1 -1
- package/6299.js +1 -1
- package/6312.js +1 -1
- package/6578.js +1 -1
- package/6634.js +2 -0
- package/6634.js.map +1 -0
- package/7198.js +1 -1
- package/769.js +1 -1
- package/7771.js +2 -0
- package/7771.js.map +1 -0
- package/8051.js +1 -1
- package/8594.js +1 -1
- package/8768.js +1 -1
- package/9113.js +1 -1
- package/9113.js.map +1 -1
- package/9258.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/3758.js +0 -2
- package/3758.js.map +0 -1
- package/5301.js +0 -2
- package/5301.js.map +0 -1
package/4469.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4469],{8598:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(95038),o=n.n(r);const a=function(){function e(e){var t=void 0===e?{}:e,n=t.locale,r=t.instance,a=t.moment;this.yearFormat="YYYY",this.yearMonthFormat="MMMM YYYY",this.dateTime12hFormat="MMMM Do hh:mm a",this.dateTime24hFormat="MMMM Do HH:mm",this.time12hFormat="hh:mm A",this.time24hFormat="HH:mm",this.dateFormat="MMMM Do",this.moment=r||a||o(),this.locale=n}return e.prototype.parse=function(e,t){return""===e?null:this.moment(e,t,!0)},e.prototype.date=function(e){if(null===e)return null;var t=this.moment(e);return t.locale(this.locale),t},e.prototype.isValid=function(e){return this.moment(e).isValid()},e.prototype.isNull=function(e){return null===e},e.prototype.getDiff=function(e,t){return e.diff(t)},e.prototype.isAfter=function(e,t){return e.isAfter(t)},e.prototype.isBefore=function(e,t){return e.isBefore(t)},e.prototype.isAfterDay=function(e,t){return e.isAfter(t,"day")},e.prototype.isBeforeDay=function(e,t){return e.isBefore(t,"day")},e.prototype.isBeforeYear=function(e,t){return e.isBefore(t,"year")},e.prototype.isAfterYear=function(e,t){return e.isAfter(t,"year")},e.prototype.startOfDay=function(e){return e.clone().startOf("day")},e.prototype.endOfDay=function(e){return e.clone().endOf("day")},e.prototype.format=function(e,t){return e.locale(this.locale),e.format(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hours")},e.prototype.addDays=function(e,t){return t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days")},e.prototype.setHours=function(e,t){return e.clone().hours(t)},e.prototype.getMinutes=function(e){return e.get("minutes")},e.prototype.setMinutes=function(e,t){return e.clone().minutes(t)},e.prototype.getSeconds=function(e){return e.get("seconds")},e.prototype.setSeconds=function(e,t){return e.clone().seconds(t)},e.prototype.getMonth=function(e){return e.get("month")},e.prototype.isSameDay=function(e,t){return e.isSame(t,"day")},e.prototype.isSameMonth=function(e,t){return e.isSame(t,"month")},e.prototype.isSameYear=function(e,t){return e.isSame(t,"year")},e.prototype.isSameHour=function(e,t){return e.isSame(t,"hour")},e.prototype.setMonth=function(e,t){return e.clone().month(t)},e.prototype.getMeridiemText=function(e){return"am"===e?"AM":"PM"},e.prototype.startOfMonth=function(e){return e.clone().startOf("month")},e.prototype.endOfMonth=function(e){return e.clone().endOf("month")},e.prototype.getNextMonth=function(e){return e.clone().add(1,"month")},e.prototype.getPreviousMonth=function(e){return e.clone().subtract(1,"month")},e.prototype.getMonthArray=function(e){for(var t=[e.clone().startOf("year")];t.length<12;){var n=t[t.length-1];t.push(this.getNextMonth(n))}return t},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.clone().set("year",t)},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){return this.moment.weekdaysShort(!0)},e.prototype.isEqual=function(e,t){return null===e&&null===t||this.moment(e).isSame(t)},e.prototype.getWeekArray=function(e){for(var t=e.clone().startOf("month").startOf("week"),n=e.clone().endOf("month").endOf("week"),r=0,o=t,a=[];o.isBefore(n);){var l=Math.floor(r/7);a[l]=a[l]||[],a[l].push(o),o=o.clone().add(1,"day"),r+=1}return a},e.prototype.getYearRange=function(e,t){for(var n=this.moment(e).startOf("year"),r=this.moment(t).endOf("year"),o=[],a=n;a.isBefore(r);)o.push(a),a=a.clone().add(1,"year");return o},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,"YYYY")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ddd, MMM D")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM D")},e.prototype.getMonthText=function(e){return this.format(e,"MMMM")},e.prototype.getDayText=function(e){return this.format(e,"D")},e.prototype.getHourText=function(e,t){return this.format(e,t?"hh":"HH")},e.prototype.getMinuteText=function(e){return this.format(e,"mm")},e.prototype.getSecondText=function(e){return this.format(e,"ss")},e}()},74402:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),o=n(17440),a=n(85216);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>{let{rowIndex:t,columnData:{id:n},cellIndex:r}=e;return`${n}[${t}][${r}]`},s=()=>{const[e,t]=(0,r.useState)({}),n=(0,r.useRef)({}),s=(0,r.useCallback)((0,a.DsO)((()=>{t(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}({},n.current))})),[]),c=(0,r.useCallback)((()=>{n.current={}}),[]);return{getDynamicRowCellHeight:(0,r.useCallback)((0,o.pipe)(i,(0,o.prop)(o.__,e)),[e]),changeRowCellHeight:(0,r.useCallback)((0,o.curry)((0,o.useWith)((0,o.pipe)(((e,t)=>{n.current[e]=t}),s),[i,o.identity])),[]),clearHeightsCache:c}}},58662:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a),i=n(71153),s=n.n(i),c=n(94079),u=n(87918),p=n.n(u),f=n(31276),m=n(17440);const d=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>{let{classes:t={},count:n,rowsPerPageOptions:r,page:o,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:g,basicTableRef:b,labelRowsPerPage:h}=e;const v=d(),w=(0,a.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],b)()}),[b]),S=(0,a.useCallback)((e=>{i(e),w()}),[i,w]),T=(0,a.useCallback)((e=>{i(0),g(e),w()}),[i,g,w]);return l().createElement(c.TablePagination,{classes:y({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:h||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:r}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(r,"0,0")})},count:n,rowsPerPageOptions:r,page:o,onChangePage:(0,m.pipe)((0,m.nthArg)(1),S),rowsPerPage:u,onChangeRowsPerPage:(0,m.pipe)(f.NA,T)})};b.propTypes={classes:o().object,rowsPerPageOptions:o().arrayOf(o().number),count:o().number,page:o().number,onChangePage:o().func,rowsPerPage:o().number,onChangeRowsPerPage:o().func,basicTableRef:o().shape({current:o().object}),labelRowsPerPage:o().string};const h=l().memo(b)},97946:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(44443),s=n(94079),c=n(20562);const u=e=>{let{onChangeHeight:t,children:n}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["onChangeHeight","children"]);const l=(0,r.useRef)(null),{rowValue:u,rowIndex:p,columnData:f,cellIndex:m}=a,d=t({rowIndex:p,cellIndex:m,columnData:f}),y=()=>l.current&&d(l.current.clientHeight);return(0,c.D)(y,[u.rawValue]),o().createElement("div",null,o().createElement(i.Z,{handleHeight:!0,onResize:y}),o().createElement(s.RootRef,{rootRef:l},n))};u.propTypes={onChangeHeight:l().func,children:l().node};const p=u},75512:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a),i=n(44443);const s=()=>l().createElement("div",{style:{display:"none"}}),c=e=>{let{widthToHide:t,children:n}=e;return l().createElement(i.Z,{handleWidth:!0,render:e=>{let{width:r}=e;return r>t?l().createElement(l().Fragment,null,n):l().createElement(s,null)}})};c.propTypes={children:o().node,widthToHide:o().number.isRequired};const u=c},43775:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(94079);const s=(0,n(79692).Z)({onlyValue:{color:"rgba(0,0,0,.6)",fontSize:"13px",fontWeight:"normal",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}});var c=n(79026);const u=e=>{let{value:t,onChange:n,options:a,classes:l={},emptyLabel:u}=e;const p=s(),[f,...m]=a,d=0===m.length;(0,r.useEffect)((()=>{d&&t!==f.value&&n(f.value)}),[f.value]);const y=!!u;return o().createElement("div",{className:l.root},d?o().createElement(i.Typography,{className:l.onlyValue||p.onlyValue,variant:"h6"},f.label):o().createElement(c.Z,{displayEmpty:y,disableUnderline:!0,classes:{select:l.select||p.select},TextFieldProps:{classes:{root:l.textField||p.textField}},MenuProps:{classes:{list:l.selectMenu||p.selectMenu}},value:t||"",entries:y?[{value:"",label:u},...a]:a,onChange:e=>n(e||null)}))};u.propTypes={value:l().string,onChange:l().func,options:l().arrayOf(l().shape({value:l().string,label:l().string})),classes:l().shape({root:l().string,onlyValue:l().string,select:l().string,selectMenu:l().string,textField:l().string}),emptyLabel:l().string};const p=u},77565:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(94079),s=n(83543);const c=(0,n(79692).Z)((()=>({viewMoreLessLink:{display:"flex",alignItems:"center",cursor:"pointer"},arrow:{marginRight:"8px",marginLeft:"-2px",transform:"rotate(0deg)",transition:"transform 0.35s ease"},rotated:{transform:"rotate(-180deg)"}})));var u=n(71153),p=n.n(u),f=n(87918),m=n.n(f);const d=e=>{let{active:t,onClick:n,className:r}=e;const a=c();return o().createElement(i.Link,{className:p()(a.viewMoreLessLink,r),onClick:n,underline:"none"},o().createElement(s.Z,{className:p()(a.arrow,{[a.rotated]:t})}),t?m().text("View less"):m().text("View more"))};d.propTypes={active:l().bool,onClick:l().func,className:l().string};const y=d},60641:(e,t,n)=>{n.d(t,{w:()=>i});var r=n(24328),o=n(20562);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>{let{getSavedState:t,saveState:n,entityTypeUri:l}=e;const[i,s]=(0,r.useState)({}),[c,u]=(0,r.useState)(null),[p,f]=(0,r.useState)(!1);(0,o.D)((()=>{c&&(s(a({},i,c)),u(null))}),[l]);const m=(0,r.useCallback)((e=>{if(!l)return;const t={[l]:e};u(t),n(a({},i,t))}),[l,n,i]);return(0,r.useEffect)((()=>{t().then((e=>{s(e||{})})).then((e=>f(!0))).catch((e=>f(!0)))}),[]),{isLoaded:p&&!!l,savedState:i[l],updateSavedState:m}}},84469:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ft});var r=n(24328),o=n.n(r),a=n(8598),l=n(36138),i=n(44443),s=n(22664),c=n(47898),u=n(585),p=n(85216),f=n(17440),m=n(52730),d=n(86361),y=n(60641),g=n(20562),b=n(10237),h=n(58662),v=n(99136),w=n(49885),S=n(37754);const T=e=>`equals(type,'${e}')`;var E=n(87918),O=n.n(E);const x=[10,25,50,100],P="type",C="members",M="attributes",j=[{id:"timestamp",label:"Date",dataTypeDefinition:{type:p.oS0.TYPE_TIMESTAMP},hideable:!1},{id:P,label:"Interaction type",sortable:!1,filterOptions:[{value:p.j5E.EQUALS},{value:p.j5E.NOT_EQUALS}]},{id:C,label:"Actors",sortable:!1,dataTypeDefinition:{type:p.oS0.TYPE_STRING}},{id:M,label:"Attributes",sortable:!1,filterable:!1,maxAttrsToShow:7}],R=(0,f.pluck)("id",j),D=[P,M],k=(0,f.pipe)((0,f.map)((e=>({id:(0,p.Tde)(e.uri),label:e.label,dataTypeDefinition:(0,p.PFL)(e)}))),(0,f.uniqBy)((0,f.prop)("id"))),I=(0,f.pipe)((0,f.chain)((e=>{let{memberTypes:t}=e;return t.map((e=>{let{name:t,label:n}=e;return{label:n,value:t}}))})),(0,f.uniqBy)((0,f.prop)("value"))),L=(e,t)=>n=>(0,f.adjust)(n.findIndex((0,f.propEq)("id",e)),t,n),Z=e=>L(C,(0,f.assoc)("filterOptions",(e=>{const t={type:p.oS0.TYPE_SELECT,options:I(e)},n=(0,p.gmx)("types");return[{value:p.j5E.EQUALS},{value:p.j5E.NOT_EQUALS},{value:p.j5E.HAS_ALL},{value:p.j5E.IN_FILE},{value:p.j5E.NOT_IN_FILE},{value:n(p.j5E.EQUALS),label:O().text("type equals"),dataTypeDefinition:t},{value:n(p.j5E.NOT_EQUALS),label:O().text("type not"),dataTypeDefinition:t},{value:n(p.j5E.HAS_ALL),label:O().text("type has all"),dataTypeDefinition:t},{value:n(p.j5E.IN_FILE),label:O().text("type in file")},{value:n(p.j5E.NOT_IN_FILE),label:O().text("type not in file")}]})(e))),A=(e,t,n,r)=>{return r?(0,f.pipe)(p.Sbt,k,(0,f.concat)(j),(0,f.reject)((e=>{let{id:t}=e;return D.includes(t)})),Z([(0,p.roS)(e,r)]))(e,r):(0,f.pipe)((o=t.attributes,L(M,(0,f.assoc)("attrsToShow",o))),(e=>L(P,(0,f.assoc)("dataTypeDefinition",(e=>({type:p.oS0.TYPE_SELECT,options:e.map((e=>{let{uri:t,label:n}=e;return{value:t,label:n}}))}))(e))))(n),Z(e.interactionTypes||[]))(j);var o};var N=n(85229);var _=n(13980),H=n.n(_),F=n(71153),Y=n.n(F),V=n(79692);function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){z(e,t,n[t])}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const U={padding:"15px 25px 0 25px","&:last-child":{paddingBottom:"15px"}},B=(0,V.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%",fontSize:"12px"},rowCell:{fontSize:"13px",overflow:"hidden",overflowWrap:"break-word",wordWrap:"break-word"},"row-cell--sorted":{color:"rgba(0,0,0,0.87)"},actorsWrapper:{paddingRight:"25px",paddingLeft:"15px","&:last-child":{paddingBottom:"15px"}},memberWrapper:{display:"flex",paddingTop:"15px",boxSizing:"border-box",position:"relative"},entityLabel:{fontSize:"15px",display:"inline-block",overflowX:"hidden",margin:"-2px 0 -1px 45px"},entityAvatar:{transform:"scale(0.5)",position:"absolute",left:0,top:"2px"},defaultWrapper:U,blobWrapper:W({},U,{whiteSpace:"pre-wrap"}),link:{cursor:"pointer",color:e.palette.primary.main},attributesWrapper:{padding:"15px 25px 10px 25px",color:"rgba(0,0,0,0.87)"},viewMore:{marginLeft:"-5px"}})));function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}const $=e=>{let{cell:t,CellValueRenderer:n,isSorted:r}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["cell","CellValueRenderer","isSorted"]);const l=B();return o().createElement("div",{className:Y()({[l["row-cell--sorted"]]:r},l.rowCell)},t.values.map(((e,t)=>o().createElement(n,q({key:t,value:e},a)))))};$.propTypes={rowValue:H().object,cell:H().object,CellValueRenderer:H().elementType,isSorted:H().bool};const Q=$;var G=n(97946),X=n(85709),J=n(92332);const K=(0,n(67353).Z)((e=>{const t=B();return o().createElement("div",{className:t.headCell},o().createElement(J.default,e))}));var ee=n(34e3);const te=e=>{let{entityType:t,label:n,onClick:r}=e;const a=B(),l=(0,p.idV)(n);return o().createElement("div",{className:a.memberWrapper},o().createElement(ee.Z,{className:a.entityAvatar,entityType:t}),o().createElement("span",{className:Y()(a.entityLabel,a.link),onClick:r},l))};te.propTypes={entityType:p.p8l,label:H().string,onClick:H().func};const ne=(0,f.pipe)(f.values,(0,f.chain)((0,f.prop)("members")),(0,f.uniqBy)((0,f.prop)("objectURI"))),re=e=>{let{value:t}=e;const n=B(),a=ne(t),l=(0,m.useDispatch)(),i=(0,r.useContext)(c.m),s=(0,m.useSelector)(w.ZP.selectors.getMetadata);return o().createElement("div",{className:n.actorsWrapper},a.map((e=>{let{objectURI:t,type:n,label:r}=e;return o().createElement(te,{key:t,entityType:(0,p.nt9)(s,n),label:r,onClick:()=>{return e=t,l(w.ui.actions.openEntity({uri:e,viewId:i}));var e}})})))};re.propTypes={value:H().object};const oe=re;var ae=n(72768);const le=e=>{let{value:t,columnData:{dataTypeDefinition:n}}=e;const r=B();return o().createElement("div",{className:r.defaultWrapper},o().createElement(ae.Z,{value:t,dataTypeDefinition:n}))};le.propTypes={value:H().any,columnData:H().shape({dataTypeDefinition:H().object})};const ie=le;var se=n(25461);const ce=e=>{let{value:t}=e;const n=B();return o().createElement("div",{className:n.blobWrapper},t)};ce.propTypes={value:H().any};const ue=ce;var pe=n(94079);const fe=e=>{let{value:t}=e;const n=B();return o().createElement("div",{className:n.defaultWrapper},o().createElement(pe.Link,{className:n.link,href:t,target:"_blank",underline:"none"},t))};fe.propTypes={value:H().any};const me=fe;var de=n(80931),ye=n(77565);const ge=e=>{let{value:t,rowValue:n,columnData:a}=e;const l=B(),i=(0,m.useSelector)(w.ZP.selectors.getMetadata),s=n.rawValue,c=(0,r.useMemo)((()=>(0,p.roS)(i,s.type).attributes),[s,i]),[u,d]=(0,r.useState)(!1),y=t,g=Object.keys(y),b=a.maxAttrsToShow,h=g.length>b,v=u?g:g.slice(0,b),S=(0,f.pick)(v,y),T=v.map((e=>c.find((0,f.propEq)("name",e))));return o().createElement("div",{className:l.attributesWrapper},o().createElement(de.Z,{entity:{attributes:S},attrTypes:T,drawLines:!1}),h&&o().createElement(ye.Z,{active:u,onClick:()=>d((e=>!e)),className:l.viewMore}))};ge.propTypes={value:H().object,rowValue:H().object,columnData:H().object};const be=ge;function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ve=(0,f.pipe)((0,f.split)("."),(0,f.slice)(1,1/0)),we=e=>{if(e.startsWith("attributes.")){const t=ve(e);return t.length>1?t.slice(0,-1):null}return null},Se=e=>{if(e.id===C)return oe;if(e.id===M)return be;switch(e.dataTypeDefinition.type){case p.oS0.TYPE_URL:case p.oS0.TYPE_BLOG_URL:case p.oS0.TYPE_IMAGE_URL:case p.oS0.TYPE_EMAIL:return me;case p.oS0.TYPE_BLOB:return ue;default:return ie}},Te=(0,f.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){he(e,t,n[t])}))}return e}({sortable:!0},e,{resizable:!0,nestedPath:we(e.id),headCellRenderer:K,rowCellValueRenderer:Se(e)}))),Ee=(0,f.pipe)((0,f.prop)("members"),f.length),Oe=(0,f.pipe)((0,f.map)(Ee),f.values,(0,f.reduce)(((e,t)=>e+33*t),15)),xe=(0,f.pipe)((0,f.path)(["cell","values"]),(0,f.reduce)(((e,t)=>e+Oe(t)),0)),Pe=(0,f.cond)([[(0,f.pathEq)(["columnData","id"],C),xe],[(0,f.pathEq)(["columnData","id"],M),e=>{let{columnData:t,cell:n}=e;const r=(0,f.pipe)((0,f.path)(["values",0]),f.values,f.length)(n);return r>t.maxAttrsToShow?26*t.maxAttrsToShow+49:26*r+25}],[f.T,se.Z]]);var Ce=n(74402);const Me=(0,V.Z)({tableContainer:{flex:1,display:"flex",fontFamily:"Roboto",color:"rgba(0,0,0,0.54)"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"row-cell__buttons-container":{position:"absolute"},"row-cell__buttons-wrapper":{display:"flex",paddingLeft:"10px","& > button":{marginLeft:"-10px",transform:"scale(0.9)"}}});function je(){return je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},je.apply(this,arguments)}const Re=e=>{let{columnsData:t,interactions:n,metadata:a,sorting:l,onSort:i,filters:s,onFilter:c,basicTableRef:u}=e;const m=(0,r.useMemo)((()=>((e,t,n)=>e.map((e=>(0,f.pipe)((0,f.reduce)(((t,r)=>(0,f.assoc)(r.id,((e,t,n)=>{switch(e.id){case C:return(0,p.bzh)(n,t);case"timestamp":return t.timestamp;case P:return t.type;case M:{const n=(0,f.path)(["attrsToShow",t.type],e),r=(e,r)=>n.includes((0,p.tCm)(t.type,r));return n?(0,f.pickBy)(r,t.attributes):t.attributes}default:return((e,t)=>(0,f.pipe)((0,f.path)(["attributes"]),(0,p.IhQ)(e))(t))(ve(e.id),t)}})(r,e,n),t)),{}),(0,f.assoc)("rawValue",e))(t))))(n,t,a)),[n,t,a]),d=(0,r.useMemo)((()=>Te(t)),[t]),y=Me(),{getDynamicRowCellHeight:g,changeRowCellHeight:b,clearHeightsCache:h}=(0,Ce.Z)();(0,r.useLayoutEffect)(h,[n]);const v=(0,r.useCallback)((e=>o().createElement(G.Z,je({onChangeHeight:b},e),o().createElement(Q,je({},e,{isSorted:!!l&&l.field===e.columnData.id})))),[l,b]),w=(0,r.useCallback)((0,f.either)(g,Pe),[g,Pe]);return o().createElement("div",{className:y.tableContainer},o().createElement(X.Z,{columnsData:d,rowsData:m,sorting:l,onSort:i,filters:s,onFilter:c,hoverStateEnabled:!0,defaultColumnWidth:250,defaultColumnMinWidth:200,getRowCellHeight:w,headRowHeight:56,renderRowCell:v,classes:{hoveredRowRightContentWrapper:y["row-cell__buttons-wrapper"],hoveredRowRightContentContainer:y["row-cell__buttons-container"]},ref:u}))};var De=n(92778),ke=n(75512),Ie=n(30553),Le=n(51229),Ze=n(1876),Ae=n(60894),Ne=n(94656);const _e=(0,V.Z)({header:{"& > button":{margin:"0 -2px"},paddingRight:"15px"},totalCaption:{lineHeight:"inherit",fontSize:"14px",color:"rgba(0,0,0,0.6)",flexShrink:0,marginRight:"5px"},interactionTypeSelector:{margin:"3px 10px 0 30px",overflow:"hidden"}});var He=n(43775);const Fe=e=>{let{value:t,onChange:n,interactionTypes:r,className:a}=e;return o().createElement(He.Z,{classes:{root:a},value:t,onChange:n,options:r.map((e=>{let{label:t,uri:n}=e;return{label:t,value:n}})),emptyLabel:O().text("All interaction types")})};Fe.propTypes={value:H().string,onChange:H().func,interactionTypes:H().arrayOf(p.RgZ),className:H().string};const Ye=Fe,Ve=e=>{let{title:t,total:n,filtersEnabled:r,onToggleFilters:a,columnsData:l,selectedColumns:i,onChangeColumns:s,interactionTypes:c,currentInteractionType:u,onInteractionTypeChange:p}=e;const f=_e();return o().createElement(De.Z,{title:t,classes:{root:f.header,title:f.title}},c.length>0&&o().createElement(Ye,{className:f.interactionTypeSelector,value:u,onChange:p,interactionTypes:c}),o().createElement(ke.Z,{widthToHide:500},o().createElement(Ie.Z,{height:28,margin:20}),o().createElement(pe.Typography,{className:f.totalCaption,variant:"caption"},n>1?O().text("${count} interactions",{count:n}):O().text("${count} interaction",{count:n}))),o().createElement(Le.Z,null),o().createElement(Ze.Z,{enabled:r,onClick:a}),o().createElement(Ie.Z,{height:28,margin:4}),o().createElement(Ae.Z,{columnsData:l,selectedColumns:i,onChangeColumns:s}))};Ve.propTypes={title:H().string,total:H().number,columnsData:Ne.uz,selectedColumns:H().arrayOf(H().string),onChangeColumns:H().func,filtersEnabled:H().bool,onToggleFilters:H().func,interactionTypes:H().arrayOf(p.RgZ),currentInteractionType:H().string,onInteractionTypeChange:H().func};const We=Ve;var ze=n(26180),Ue=n(31276);function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qe(e,t,n[t])}))}return e}function qe(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="CHANGE_INTERACTION_TYPE",Qe="APPLY_SAVED_STATE",Ge="SAVE_CURRENT_STATE",Xe=Be({},ze.ZP.actions,{changeInteractionType:(0,Ue.zD)($e),applySavedState:(0,Ue.zD)(Qe),saveCurrentState:(0,Ue.zD)(Ge)}),Je=(0,f.evolve)({filters:(0,f.when)((0,f.prop)(C),(0,f.dissoc)(C))}),Ke=(0,f.assoc)("page",0),et=e=>(0,f.pipe)((0,f.prop)("visibleColumns"),(0,f.ifElse)((0,f.always)(e.currentInteractionType),(0,f.without)(D),(0,f.concat)(D)),(0,f.intersection)(R))(e),tt=e=>(0,f.path)(["visibleColumnsForInteractionTypes",`${e.currentInteractionType}`],e),nt=e=>{const t=(0,f.either)(tt,et)(e);return ze.ZP.changeVisibleColumns(e,t)},rt=(0,f.either)(tt,(0,f.prop)("visibleColumns")),ot=(0,f.pipe)((0,f.propOr)(null,"filters"),(0,f.unless)(f.isNil,(0,f.filter)((e=>{let{filter:t,value:n}=e;return(0,p.jtL)(t,n)})))),at=e=>{const{currentInteractionType:t,visibleColumns:n}=e;return(0,f.evolve)({visibleColumnsForInteractionTypes:(0,f.assoc)(`${t}`,n)},e)},lt=(0,f.pipe)(at,(0,f.pick)(["currentInteractionType","visibleColumnsForInteractionTypes","filters","sorting"])),it=(e,t)=>{switch(t.type){case $e:{const n=t.payload;return(0,f.pipe)(at,(0,f.assoc)("currentInteractionType",n),nt,Je,Ke)(e)}case Qe:{const{savedState:n,entityType:r}=t.payload,o=n?rt(n):e.visibleColumns;return Be({},e,n,{filters:n?ot(n):e.filters,visibleColumns:o,entityTypeOfAppliedSavedState:r})}case Ge:return Be({},e,{stateToSave:lt(e)});default:return ze.ZP.reducer(e,t)}},st=(0,V.Z)((e=>({basicView:{position:"absolute",top:0,bottom:0,left:0,right:0,boxShadow:"none"},tableView:{position:"relative",flex:1,display:"flex",flexDirection:"column"}}))),[ct]=R,ut=e=>{let{config:t,getSavedState:n,saveState:a}=e;const l=(0,m.useSelector)(w.ZP.selectors.getEntity),i=(0,m.useSelector)(w.ZP.selectors.getMetadata),s=st(),c={currentInteractionType:null,filters:null,visibleColumns:R,sorting:{order:t.sortOrder||"desc",field:t.sortColumn||ct},page:0,rowsPerPage:t.max||15,stateToSave:null,entityTypeOfAppliedSavedState:null,visibleColumnsForInteractionTypes:{}},[u,E]=(0,r.useReducer)(it,c),{visibleColumns:O,filters:P,sorting:C,page:M,rowsPerPage:j,currentInteractionType:D,stateToSave:k,entityTypeOfAppliedSavedState:I}=u,{applySavedState:L,saveCurrentState:Z,toggleFilters:_,toggleSort:H,changeFilter:F,changeColumns:Y,changeInteractionType:V,changePage:W,changeRowsPerPage:z}=(0,d.o)({actions:Xe,dispatch:E}),{uri:U,type:B}=l||{},q=I===B,{isLoaded:$,savedState:Q,updateSavedState:G}=(0,y.w)({entityTypeUri:B,getSavedState:n,saveState:a});(0,r.useEffect)((()=>{if($){const e=(0,p.Ww1)(i,B),t=null==Q?void 0:Q.currentInteractionType,n=!t||(0,p.roS)({interactionTypes:e},t);L({savedState:n?Q:null,entityType:B})}}),[$,B,i]),(0,g.D)((()=>{q&&G(k)}),[k]),(0,g.D)((()=>{W(0)}),[U]);const X=(0,r.useMemo)((()=>(0,p.Ww1)(i,B)),[B,i]),J=(0,r.useMemo)((()=>A(i,t,X,D)),[i,t,X,D]),K=(0,r.useMemo)((()=>O.map((e=>J.find((0,f.propEq)("id",e))))),[O,J]),ee=(0,r.useMemo)((()=>((e,t,n)=>{const r=p.wSh.fromNull(e).map(T).orSome(""),o=(0,S.Tz)(n,t);return(new p.MEy).addClause(r).addClause(o).build()})(D,P,K)),[D,P]),{isLoading:te,interactions:ne,total:re}=(e=>{let{entityUri:t,filter:n,sorting:o,page:a,rowsPerPage:l,enabled:i}=e;const[s,c]=(0,r.useState)(!1),[u,f]=(0,r.useState)(0),[m,d]=(0,r.useState)([]),y=(0,N._)();return(0,r.useEffect)((()=>{i&&(c(!0),y((0,p.QaS)({entityUri:t,offset:a*l,max:l,filter:n,sort:o.field,order:o.order})).then((e=>{let{totalFetched:t,interactions:n=[]}=e;f(t),d(n)})).then((e=>c(!1))).catch((e=>c(!1))))}),[t,n,o.field,o.order,a,l,i]),{isLoading:s,interactions:m,total:u}})({enabled:!!U&&q,entityUri:U,filter:ee,sorting:C,rowsPerPage:j,page:M}),oe=(0,r.useMemo)((()=>{return e=c.rowsPerPage,x.filter((t=>t!==e)).concat(e).sort(f.subtract);var e}),[]),ae=!q||te,le=(0,r.useCallback)((0,f.pipe)(F,Z),[F,Z]),ie=(0,r.useRef)(null);return o().createElement(b.Z,{className:s.basicView},o().createElement(We,{title:t.caption,total:re,columnsData:J,selectedColumns:O,onChangeColumns:(0,f.pipe)(Y,Z),filtersEnabled:!!P,onToggleFilters:(0,f.pipe)(_,Z),interactionTypes:X,currentInteractionType:D,onInteractionTypeChange:(0,f.pipe)(V,Z)}),o().createElement("div",{className:s.tableView},o().createElement(Re,{columnsData:K,interactions:ne,metadata:i,filters:P,onFilter:le,sorting:C,onSort:(0,f.pipe)(H,Z),basicTableRef:ie}),o().createElement(h.Z,{count:re,rowsPerPageOptions:oe,rowsPerPage:j,onChangeRowsPerPage:z,page:M,onChangePage:W,basicTableRef:ie}),ae&&o().createElement(v.Z,null)))},pt=(0,l.createGenerateClassName)({productionPrefix:"interactionTable",disableGlobal:!0}),ft=e=>{let{config:t,store:n,onResize:d=f.identity,saveState:y,getSavedState:g}=e;const b=(0,r.useCallback)((0,p.aYu)(g),[g]);return o().createElement(m.Provider,{store:n},o().createElement(c.m.Provider,{value:t.id},o().createElement(l.StylesProvider,{generateClassName:pt},o().createElement(s.MuiPickersUtilsProvider,{utils:a.Z},o().createElement(i.Z,{handleHeight:!0,onResize:(e,t)=>d(Math.floor(e),Math.floor(t))}),t&&o().createElement(ut,{config:t,saveState:y,getSavedState:b}),o().createElement(u.Z,null)))))}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4469],{8598:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(95038),o=n.n(r);const a=function(){function e(e){var t=void 0===e?{}:e,n=t.locale,r=t.instance,a=t.moment;this.yearFormat="YYYY",this.yearMonthFormat="MMMM YYYY",this.dateTime12hFormat="MMMM Do hh:mm a",this.dateTime24hFormat="MMMM Do HH:mm",this.time12hFormat="hh:mm A",this.time24hFormat="HH:mm",this.dateFormat="MMMM Do",this.moment=r||a||o(),this.locale=n}return e.prototype.parse=function(e,t){return""===e?null:this.moment(e,t,!0)},e.prototype.date=function(e){if(null===e)return null;var t=this.moment(e);return t.locale(this.locale),t},e.prototype.isValid=function(e){return this.moment(e).isValid()},e.prototype.isNull=function(e){return null===e},e.prototype.getDiff=function(e,t){return e.diff(t)},e.prototype.isAfter=function(e,t){return e.isAfter(t)},e.prototype.isBefore=function(e,t){return e.isBefore(t)},e.prototype.isAfterDay=function(e,t){return e.isAfter(t,"day")},e.prototype.isBeforeDay=function(e,t){return e.isBefore(t,"day")},e.prototype.isBeforeYear=function(e,t){return e.isBefore(t,"year")},e.prototype.isAfterYear=function(e,t){return e.isAfter(t,"year")},e.prototype.startOfDay=function(e){return e.clone().startOf("day")},e.prototype.endOfDay=function(e){return e.clone().endOf("day")},e.prototype.format=function(e,t){return e.locale(this.locale),e.format(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hours")},e.prototype.addDays=function(e,t){return t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days")},e.prototype.setHours=function(e,t){return e.clone().hours(t)},e.prototype.getMinutes=function(e){return e.get("minutes")},e.prototype.setMinutes=function(e,t){return e.clone().minutes(t)},e.prototype.getSeconds=function(e){return e.get("seconds")},e.prototype.setSeconds=function(e,t){return e.clone().seconds(t)},e.prototype.getMonth=function(e){return e.get("month")},e.prototype.isSameDay=function(e,t){return e.isSame(t,"day")},e.prototype.isSameMonth=function(e,t){return e.isSame(t,"month")},e.prototype.isSameYear=function(e,t){return e.isSame(t,"year")},e.prototype.isSameHour=function(e,t){return e.isSame(t,"hour")},e.prototype.setMonth=function(e,t){return e.clone().month(t)},e.prototype.getMeridiemText=function(e){return"am"===e?"AM":"PM"},e.prototype.startOfMonth=function(e){return e.clone().startOf("month")},e.prototype.endOfMonth=function(e){return e.clone().endOf("month")},e.prototype.getNextMonth=function(e){return e.clone().add(1,"month")},e.prototype.getPreviousMonth=function(e){return e.clone().subtract(1,"month")},e.prototype.getMonthArray=function(e){for(var t=[e.clone().startOf("year")];t.length<12;){var n=t[t.length-1];t.push(this.getNextMonth(n))}return t},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.clone().set("year",t)},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){return this.moment.weekdaysShort(!0)},e.prototype.isEqual=function(e,t){return null===e&&null===t||this.moment(e).isSame(t)},e.prototype.getWeekArray=function(e){for(var t=e.clone().startOf("month").startOf("week"),n=e.clone().endOf("month").endOf("week"),r=0,o=t,a=[];o.isBefore(n);){var l=Math.floor(r/7);a[l]=a[l]||[],a[l].push(o),o=o.clone().add(1,"day"),r+=1}return a},e.prototype.getYearRange=function(e,t){for(var n=this.moment(e).startOf("year"),r=this.moment(t).endOf("year"),o=[],a=n;a.isBefore(r);)o.push(a),a=a.clone().add(1,"year");return o},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,"YYYY")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ddd, MMM D")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM D")},e.prototype.getMonthText=function(e){return this.format(e,"MMMM")},e.prototype.getDayText=function(e){return this.format(e,"D")},e.prototype.getHourText=function(e,t){return this.format(e,t?"hh":"HH")},e.prototype.getMinuteText=function(e){return this.format(e,"mm")},e.prototype.getSecondText=function(e){return this.format(e,"ss")},e}()},74402:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),o=n(17440),a=n(95023);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>{let{rowIndex:t,columnData:{id:n},cellIndex:r}=e;return`${n}[${t}][${r}]`},s=()=>{const[e,t]=(0,r.useState)({}),n=(0,r.useRef)({}),s=(0,r.useCallback)((0,a.DsO)((()=>{t(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}({},n.current))})),[]),c=(0,r.useCallback)((()=>{n.current={}}),[]);return{getDynamicRowCellHeight:(0,r.useCallback)((0,o.pipe)(i,(0,o.prop)(o.__,e)),[e]),changeRowCellHeight:(0,r.useCallback)((0,o.curry)((0,o.useWith)((0,o.pipe)(((e,t)=>{n.current[e]=t}),s),[i,o.identity])),[]),clearHeightsCache:c}}},58662:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a),i=n(71153),s=n.n(i),c=n(94079),u=n(87918),p=n.n(u),f=n(31276),m=n(17440);const d=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>{let{classes:t={},count:n,rowsPerPageOptions:r,page:o,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:g,basicTableRef:b,labelRowsPerPage:h}=e;const v=d(),w=(0,a.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],b)()}),[b]),S=(0,a.useCallback)((e=>{i(e),w()}),[i,w]),T=(0,a.useCallback)((e=>{i(0),g(e),w()}),[i,g,w]);return l().createElement(c.TablePagination,{classes:y({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:h||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:r}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(r,"0,0")})},count:n,rowsPerPageOptions:r,page:o,onChangePage:(0,m.pipe)((0,m.nthArg)(1),S),rowsPerPage:u,onChangeRowsPerPage:(0,m.pipe)(f.NA,T)})};b.propTypes={classes:o().object,rowsPerPageOptions:o().arrayOf(o().number),count:o().number,page:o().number,onChangePage:o().func,rowsPerPage:o().number,onChangeRowsPerPage:o().func,basicTableRef:o().shape({current:o().object}),labelRowsPerPage:o().string};const h=l().memo(b)},97946:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(44443),s=n(94079),c=n(20562);const u=e=>{let{onChangeHeight:t,children:n}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["onChangeHeight","children"]);const l=(0,r.useRef)(null),{rowValue:u,rowIndex:p,columnData:f,cellIndex:m}=a,d=t({rowIndex:p,cellIndex:m,columnData:f}),y=()=>l.current&&d(l.current.clientHeight);return(0,c.D)(y,[u.rawValue]),o().createElement("div",null,o().createElement(i.Z,{handleHeight:!0,onResize:y}),o().createElement(s.RootRef,{rootRef:l},n))};u.propTypes={onChangeHeight:l().func,children:l().node};const p=u},75512:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(13980),o=n.n(r),a=n(24328),l=n.n(a),i=n(44443);const s=()=>l().createElement("div",{style:{display:"none"}}),c=e=>{let{widthToHide:t,children:n}=e;return l().createElement(i.Z,{handleWidth:!0,render:e=>{let{width:r}=e;return r>t?l().createElement(l().Fragment,null,n):l().createElement(s,null)}})};c.propTypes={children:o().node,widthToHide:o().number.isRequired};const u=c},43775:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(94079);const s=(0,n(79692).Z)({onlyValue:{color:"rgba(0,0,0,.6)",fontSize:"13px",fontWeight:"normal",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}});var c=n(79026);const u=e=>{let{value:t,onChange:n,options:a,classes:l={},emptyLabel:u}=e;const p=s(),[f,...m]=a,d=0===m.length;(0,r.useEffect)((()=>{d&&t!==f.value&&n(f.value)}),[f.value]);const y=!!u;return o().createElement("div",{className:l.root},d?o().createElement(i.Typography,{className:l.onlyValue||p.onlyValue,variant:"h6"},f.label):o().createElement(c.Z,{displayEmpty:y,disableUnderline:!0,classes:{select:l.select||p.select},TextFieldProps:{classes:{root:l.textField||p.textField}},MenuProps:{classes:{list:l.selectMenu||p.selectMenu}},value:t||"",entries:y?[{value:"",label:u},...a]:a,onChange:e=>n(e||null)}))};u.propTypes={value:l().string,onChange:l().func,options:l().arrayOf(l().shape({value:l().string,label:l().string})),classes:l().shape({root:l().string,onlyValue:l().string,select:l().string,selectMenu:l().string,textField:l().string}),emptyLabel:l().string};const p=u},77565:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),a=n(13980),l=n.n(a),i=n(94079),s=n(83543);const c=(0,n(79692).Z)((()=>({viewMoreLessLink:{display:"flex",alignItems:"center",cursor:"pointer"},arrow:{marginRight:"8px",marginLeft:"-2px",transform:"rotate(0deg)",transition:"transform 0.35s ease"},rotated:{transform:"rotate(-180deg)"}})));var u=n(71153),p=n.n(u),f=n(87918),m=n.n(f);const d=e=>{let{active:t,onClick:n,className:r}=e;const a=c();return o().createElement(i.Link,{className:p()(a.viewMoreLessLink,r),onClick:n,underline:"none"},o().createElement(s.Z,{className:p()(a.arrow,{[a.rotated]:t})}),t?m().text("View less"):m().text("View more"))};d.propTypes={active:l().bool,onClick:l().func,className:l().string};const y=d},60641:(e,t,n)=>{n.d(t,{w:()=>i});var r=n(24328),o=n(20562);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>{let{getSavedState:t,saveState:n,entityTypeUri:l}=e;const[i,s]=(0,r.useState)({}),[c,u]=(0,r.useState)(null),[p,f]=(0,r.useState)(!1);(0,o.D)((()=>{c&&(s(a({},i,c)),u(null))}),[l]);const m=(0,r.useCallback)((e=>{if(!l)return;const t={[l]:e};u(t),n(a({},i,t))}),[l,n,i]);return(0,r.useEffect)((()=>{t().then((e=>{s(e||{})})).then((e=>f(!0))).catch((e=>f(!0)))}),[]),{isLoaded:p&&!!l,savedState:i[l],updateSavedState:m}}},84469:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ft});var r=n(24328),o=n.n(r),a=n(8598),l=n(36138),i=n(44443),s=n(22664),c=n(47898),u=n(585),p=n(95023),f=n(17440),m=n(52730),d=n(86361),y=n(60641),g=n(20562),b=n(10237),h=n(58662),v=n(99136),w=n(49885),S=n(37754);const T=e=>`equals(type,'${e}')`;var E=n(87918),O=n.n(E);const x=[10,25,50,100],P="type",C="members",M="attributes",j=[{id:"timestamp",label:"Date",dataTypeDefinition:{type:p.oS0.TYPE_TIMESTAMP},hideable:!1},{id:P,label:"Interaction type",sortable:!1,filterOptions:[{value:p.j5E.EQUALS},{value:p.j5E.NOT_EQUALS}]},{id:C,label:"Actors",sortable:!1,dataTypeDefinition:{type:p.oS0.TYPE_STRING}},{id:M,label:"Attributes",sortable:!1,filterable:!1,maxAttrsToShow:7}],R=(0,f.pluck)("id",j),D=[P,M],k=(0,f.pipe)((0,f.map)((e=>({id:(0,p.Tde)(e.uri),label:e.label,dataTypeDefinition:(0,p.PFL)(e)}))),(0,f.uniqBy)((0,f.prop)("id"))),I=(0,f.pipe)((0,f.chain)((e=>{let{memberTypes:t}=e;return t.map((e=>{let{name:t,label:n}=e;return{label:n,value:t}}))})),(0,f.uniqBy)((0,f.prop)("value"))),L=(e,t)=>n=>(0,f.adjust)(n.findIndex((0,f.propEq)("id",e)),t,n),Z=e=>L(C,(0,f.assoc)("filterOptions",(e=>{const t={type:p.oS0.TYPE_SELECT,options:I(e)},n=(0,p.gmx)("types");return[{value:p.j5E.EQUALS},{value:p.j5E.NOT_EQUALS},{value:p.j5E.HAS_ALL},{value:p.j5E.IN_FILE},{value:p.j5E.NOT_IN_FILE},{value:n(p.j5E.EQUALS),label:O().text("type equals"),dataTypeDefinition:t},{value:n(p.j5E.NOT_EQUALS),label:O().text("type not"),dataTypeDefinition:t},{value:n(p.j5E.HAS_ALL),label:O().text("type has all"),dataTypeDefinition:t},{value:n(p.j5E.IN_FILE),label:O().text("type in file")},{value:n(p.j5E.NOT_IN_FILE),label:O().text("type not in file")}]})(e))),A=(e,t,n,r)=>{return r?(0,f.pipe)(p.Sbt,k,(0,f.concat)(j),(0,f.reject)((e=>{let{id:t}=e;return D.includes(t)})),Z([(0,p.roS)(e,r)]))(e,r):(0,f.pipe)((o=t.attributes,L(M,(0,f.assoc)("attrsToShow",o))),(e=>L(P,(0,f.assoc)("dataTypeDefinition",(e=>({type:p.oS0.TYPE_SELECT,options:e.map((e=>{let{uri:t,label:n}=e;return{value:t,label:n}}))}))(e))))(n),Z(e.interactionTypes||[]))(j);var o};var N=n(85229);var _=n(13980),H=n.n(_),F=n(71153),Y=n.n(F),V=n(79692);function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){z(e,t,n[t])}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const U={padding:"15px 25px 0 25px","&:last-child":{paddingBottom:"15px"}},B=(0,V.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%",fontSize:"12px"},rowCell:{fontSize:"13px",overflow:"hidden",overflowWrap:"break-word",wordWrap:"break-word"},"row-cell--sorted":{color:"rgba(0,0,0,0.87)"},actorsWrapper:{paddingRight:"25px",paddingLeft:"15px","&:last-child":{paddingBottom:"15px"}},memberWrapper:{display:"flex",paddingTop:"15px",boxSizing:"border-box",position:"relative"},entityLabel:{fontSize:"15px",display:"inline-block",overflowX:"hidden",margin:"-2px 0 -1px 45px"},entityAvatar:{transform:"scale(0.5)",position:"absolute",left:0,top:"2px"},defaultWrapper:U,blobWrapper:W({},U,{whiteSpace:"pre-wrap"}),link:{cursor:"pointer",color:e.palette.primary.main},attributesWrapper:{padding:"15px 25px 10px 25px",color:"rgba(0,0,0,0.87)"},viewMore:{marginLeft:"-5px"}})));function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}const $=e=>{let{cell:t,CellValueRenderer:n,isSorted:r}=e,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["cell","CellValueRenderer","isSorted"]);const l=B();return o().createElement("div",{className:Y()({[l["row-cell--sorted"]]:r},l.rowCell)},t.values.map(((e,t)=>o().createElement(n,q({key:t,value:e},a)))))};$.propTypes={rowValue:H().object,cell:H().object,CellValueRenderer:H().elementType,isSorted:H().bool};const Q=$;var G=n(97946),X=n(85709),J=n(92332);const K=(0,n(67353).Z)((e=>{const t=B();return o().createElement("div",{className:t.headCell},o().createElement(J.default,e))}));var ee=n(34e3);const te=e=>{let{entityType:t,label:n,onClick:r}=e;const a=B(),l=(0,p.idV)(n);return o().createElement("div",{className:a.memberWrapper},o().createElement(ee.Z,{className:a.entityAvatar,entityType:t}),o().createElement("span",{className:Y()(a.entityLabel,a.link),onClick:r},l))};te.propTypes={entityType:p.p8l,label:H().string,onClick:H().func};const ne=(0,f.pipe)(f.values,(0,f.chain)((0,f.prop)("members")),(0,f.uniqBy)((0,f.prop)("objectURI"))),re=e=>{let{value:t}=e;const n=B(),a=ne(t),l=(0,m.useDispatch)(),i=(0,r.useContext)(c.m),s=(0,m.useSelector)(w.ZP.selectors.getMetadata);return o().createElement("div",{className:n.actorsWrapper},a.map((e=>{let{objectURI:t,type:n,label:r}=e;return o().createElement(te,{key:t,entityType:(0,p.nt9)(s,n),label:r,onClick:()=>{return e=t,l(w.ui.actions.openEntity({uri:e,viewId:i}));var e}})})))};re.propTypes={value:H().object};const oe=re;var ae=n(72768);const le=e=>{let{value:t,columnData:{dataTypeDefinition:n}}=e;const r=B();return o().createElement("div",{className:r.defaultWrapper},o().createElement(ae.Z,{value:t,dataTypeDefinition:n}))};le.propTypes={value:H().any,columnData:H().shape({dataTypeDefinition:H().object})};const ie=le;var se=n(25461);const ce=e=>{let{value:t}=e;const n=B();return o().createElement("div",{className:n.blobWrapper},t)};ce.propTypes={value:H().any};const ue=ce;var pe=n(94079);const fe=e=>{let{value:t}=e;const n=B();return o().createElement("div",{className:n.defaultWrapper},o().createElement(pe.Link,{className:n.link,href:t,target:"_blank",underline:"none"},t))};fe.propTypes={value:H().any};const me=fe;var de=n(80931),ye=n(77565);const ge=e=>{let{value:t,rowValue:n,columnData:a}=e;const l=B(),i=(0,m.useSelector)(w.ZP.selectors.getMetadata),s=n.rawValue,c=(0,r.useMemo)((()=>(0,p.roS)(i,s.type).attributes),[s,i]),[u,d]=(0,r.useState)(!1),y=t,g=Object.keys(y),b=a.maxAttrsToShow,h=g.length>b,v=u?g:g.slice(0,b),S=(0,f.pick)(v,y),T=v.map((e=>c.find((0,f.propEq)("name",e))));return o().createElement("div",{className:l.attributesWrapper},o().createElement(de.Z,{entity:{attributes:S},attrTypes:T,drawLines:!1}),h&&o().createElement(ye.Z,{active:u,onClick:()=>d((e=>!e)),className:l.viewMore}))};ge.propTypes={value:H().object,rowValue:H().object,columnData:H().object};const be=ge;function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ve=(0,f.pipe)((0,f.split)("."),(0,f.slice)(1,1/0)),we=e=>{if(e.startsWith("attributes.")){const t=ve(e);return t.length>1?t.slice(0,-1):null}return null},Se=e=>{if(e.id===C)return oe;if(e.id===M)return be;switch(e.dataTypeDefinition.type){case p.oS0.TYPE_URL:case p.oS0.TYPE_BLOG_URL:case p.oS0.TYPE_IMAGE_URL:case p.oS0.TYPE_EMAIL:return me;case p.oS0.TYPE_BLOB:return ue;default:return ie}},Te=(0,f.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){he(e,t,n[t])}))}return e}({sortable:!0},e,{resizable:!0,nestedPath:we(e.id),headCellRenderer:K,rowCellValueRenderer:Se(e)}))),Ee=(0,f.pipe)((0,f.prop)("members"),f.length),Oe=(0,f.pipe)((0,f.map)(Ee),f.values,(0,f.reduce)(((e,t)=>e+33*t),15)),xe=(0,f.pipe)((0,f.path)(["cell","values"]),(0,f.reduce)(((e,t)=>e+Oe(t)),0)),Pe=(0,f.cond)([[(0,f.pathEq)(["columnData","id"],C),xe],[(0,f.pathEq)(["columnData","id"],M),e=>{let{columnData:t,cell:n}=e;const r=(0,f.pipe)((0,f.path)(["values",0]),f.values,f.length)(n);return r>t.maxAttrsToShow?26*t.maxAttrsToShow+49:26*r+25}],[f.T,se.Z]]);var Ce=n(74402);const Me=(0,V.Z)({tableContainer:{flex:1,display:"flex",fontFamily:"Roboto",color:"rgba(0,0,0,0.54)"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"row-cell__buttons-container":{position:"absolute"},"row-cell__buttons-wrapper":{display:"flex",paddingLeft:"10px","& > button":{marginLeft:"-10px",transform:"scale(0.9)"}}});function je(){return je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},je.apply(this,arguments)}const Re=e=>{let{columnsData:t,interactions:n,metadata:a,sorting:l,onSort:i,filters:s,onFilter:c,basicTableRef:u}=e;const m=(0,r.useMemo)((()=>((e,t,n)=>e.map((e=>(0,f.pipe)((0,f.reduce)(((t,r)=>(0,f.assoc)(r.id,((e,t,n)=>{switch(e.id){case C:return(0,p.bzh)(n,t);case"timestamp":return t.timestamp;case P:return t.type;case M:{const n=(0,f.path)(["attrsToShow",t.type],e),r=(e,r)=>n.includes((0,p.tCm)(t.type,r));return n?(0,f.pickBy)(r,t.attributes):t.attributes}default:return((e,t)=>(0,f.pipe)((0,f.path)(["attributes"]),(0,p.IhQ)(e))(t))(ve(e.id),t)}})(r,e,n),t)),{}),(0,f.assoc)("rawValue",e))(t))))(n,t,a)),[n,t,a]),d=(0,r.useMemo)((()=>Te(t)),[t]),y=Me(),{getDynamicRowCellHeight:g,changeRowCellHeight:b,clearHeightsCache:h}=(0,Ce.Z)();(0,r.useLayoutEffect)(h,[n]);const v=(0,r.useCallback)((e=>o().createElement(G.Z,je({onChangeHeight:b},e),o().createElement(Q,je({},e,{isSorted:!!l&&l.field===e.columnData.id})))),[l,b]),w=(0,r.useCallback)((0,f.either)(g,Pe),[g,Pe]);return o().createElement("div",{className:y.tableContainer},o().createElement(X.Z,{columnsData:d,rowsData:m,sorting:l,onSort:i,filters:s,onFilter:c,hoverStateEnabled:!0,defaultColumnWidth:250,defaultColumnMinWidth:200,getRowCellHeight:w,headRowHeight:56,renderRowCell:v,classes:{hoveredRowRightContentWrapper:y["row-cell__buttons-wrapper"],hoveredRowRightContentContainer:y["row-cell__buttons-container"]},ref:u}))};var De=n(92778),ke=n(75512),Ie=n(30553),Le=n(51229),Ze=n(1876),Ae=n(60894),Ne=n(94656);const _e=(0,V.Z)({header:{"& > button":{margin:"0 -2px"},paddingRight:"15px"},totalCaption:{lineHeight:"inherit",fontSize:"14px",color:"rgba(0,0,0,0.6)",flexShrink:0,marginRight:"5px"},interactionTypeSelector:{margin:"3px 10px 0 30px",overflow:"hidden"}});var He=n(43775);const Fe=e=>{let{value:t,onChange:n,interactionTypes:r,className:a}=e;return o().createElement(He.Z,{classes:{root:a},value:t,onChange:n,options:r.map((e=>{let{label:t,uri:n}=e;return{label:t,value:n}})),emptyLabel:O().text("All interaction types")})};Fe.propTypes={value:H().string,onChange:H().func,interactionTypes:H().arrayOf(p.RgZ),className:H().string};const Ye=Fe,Ve=e=>{let{title:t,total:n,filtersEnabled:r,onToggleFilters:a,columnsData:l,selectedColumns:i,onChangeColumns:s,interactionTypes:c,currentInteractionType:u,onInteractionTypeChange:p}=e;const f=_e();return o().createElement(De.Z,{title:t,classes:{root:f.header,title:f.title}},c.length>0&&o().createElement(Ye,{className:f.interactionTypeSelector,value:u,onChange:p,interactionTypes:c}),o().createElement(ke.Z,{widthToHide:500},o().createElement(Ie.Z,{height:28,margin:20}),o().createElement(pe.Typography,{className:f.totalCaption,variant:"caption"},n>1?O().text("${count} interactions",{count:n}):O().text("${count} interaction",{count:n}))),o().createElement(Le.Z,null),o().createElement(Ze.Z,{enabled:r,onClick:a}),o().createElement(Ie.Z,{height:28,margin:4}),o().createElement(Ae.Z,{columnsData:l,selectedColumns:i,onChangeColumns:s}))};Ve.propTypes={title:H().string,total:H().number,columnsData:Ne.uz,selectedColumns:H().arrayOf(H().string),onChangeColumns:H().func,filtersEnabled:H().bool,onToggleFilters:H().func,interactionTypes:H().arrayOf(p.RgZ),currentInteractionType:H().string,onInteractionTypeChange:H().func};const We=Ve;var ze=n(26180),Ue=n(31276);function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qe(e,t,n[t])}))}return e}function qe(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="CHANGE_INTERACTION_TYPE",Qe="APPLY_SAVED_STATE",Ge="SAVE_CURRENT_STATE",Xe=Be({},ze.ZP.actions,{changeInteractionType:(0,Ue.zD)($e),applySavedState:(0,Ue.zD)(Qe),saveCurrentState:(0,Ue.zD)(Ge)}),Je=(0,f.evolve)({filters:(0,f.when)((0,f.prop)(C),(0,f.dissoc)(C))}),Ke=(0,f.assoc)("page",0),et=e=>(0,f.pipe)((0,f.prop)("visibleColumns"),(0,f.ifElse)((0,f.always)(e.currentInteractionType),(0,f.without)(D),(0,f.concat)(D)),(0,f.intersection)(R))(e),tt=e=>(0,f.path)(["visibleColumnsForInteractionTypes",`${e.currentInteractionType}`],e),nt=e=>{const t=(0,f.either)(tt,et)(e);return ze.ZP.changeVisibleColumns(e,t)},rt=(0,f.either)(tt,(0,f.prop)("visibleColumns")),ot=(0,f.pipe)((0,f.propOr)(null,"filters"),(0,f.unless)(f.isNil,(0,f.filter)((e=>{let{filter:t,value:n}=e;return(0,p.jtL)(t,n)})))),at=e=>{const{currentInteractionType:t,visibleColumns:n}=e;return(0,f.evolve)({visibleColumnsForInteractionTypes:(0,f.assoc)(`${t}`,n)},e)},lt=(0,f.pipe)(at,(0,f.pick)(["currentInteractionType","visibleColumnsForInteractionTypes","filters","sorting"])),it=(e,t)=>{switch(t.type){case $e:{const n=t.payload;return(0,f.pipe)(at,(0,f.assoc)("currentInteractionType",n),nt,Je,Ke)(e)}case Qe:{const{savedState:n,entityType:r}=t.payload,o=n?rt(n):e.visibleColumns;return Be({},e,n,{filters:n?ot(n):e.filters,visibleColumns:o,entityTypeOfAppliedSavedState:r})}case Ge:return Be({},e,{stateToSave:lt(e)});default:return ze.ZP.reducer(e,t)}},st=(0,V.Z)((e=>({basicView:{position:"absolute",top:0,bottom:0,left:0,right:0,boxShadow:"none"},tableView:{position:"relative",flex:1,display:"flex",flexDirection:"column"}}))),[ct]=R,ut=e=>{let{config:t,getSavedState:n,saveState:a}=e;const l=(0,m.useSelector)(w.ZP.selectors.getEntity),i=(0,m.useSelector)(w.ZP.selectors.getMetadata),s=st(),c={currentInteractionType:null,filters:null,visibleColumns:R,sorting:{order:t.sortOrder||"desc",field:t.sortColumn||ct},page:0,rowsPerPage:t.max||15,stateToSave:null,entityTypeOfAppliedSavedState:null,visibleColumnsForInteractionTypes:{}},[u,E]=(0,r.useReducer)(it,c),{visibleColumns:O,filters:P,sorting:C,page:M,rowsPerPage:j,currentInteractionType:D,stateToSave:k,entityTypeOfAppliedSavedState:I}=u,{applySavedState:L,saveCurrentState:Z,toggleFilters:_,toggleSort:H,changeFilter:F,changeColumns:Y,changeInteractionType:V,changePage:W,changeRowsPerPage:z}=(0,d.o)({actions:Xe,dispatch:E}),{uri:U,type:B}=l||{},q=I===B,{isLoaded:$,savedState:Q,updateSavedState:G}=(0,y.w)({entityTypeUri:B,getSavedState:n,saveState:a});(0,r.useEffect)((()=>{if($){const e=(0,p.Ww1)(i,B),t=null==Q?void 0:Q.currentInteractionType,n=!t||(0,p.roS)({interactionTypes:e},t);L({savedState:n?Q:null,entityType:B})}}),[$,B,i]),(0,g.D)((()=>{q&&G(k)}),[k]),(0,g.D)((()=>{W(0)}),[U]);const X=(0,r.useMemo)((()=>(0,p.Ww1)(i,B)),[B,i]),J=(0,r.useMemo)((()=>A(i,t,X,D)),[i,t,X,D]),K=(0,r.useMemo)((()=>O.map((e=>J.find((0,f.propEq)("id",e))))),[O,J]),ee=(0,r.useMemo)((()=>((e,t,n)=>{const r=p.wSh.fromNull(e).map(T).orSome(""),o=(0,S.Tz)(n,t);return(new p.MEy).addClause(r).addClause(o).build()})(D,P,K)),[D,P]),{isLoading:te,interactions:ne,total:re}=(e=>{let{entityUri:t,filter:n,sorting:o,page:a,rowsPerPage:l,enabled:i}=e;const[s,c]=(0,r.useState)(!1),[u,f]=(0,r.useState)(0),[m,d]=(0,r.useState)([]),y=(0,N._)();return(0,r.useEffect)((()=>{i&&(c(!0),y((0,p.QaS)({entityUri:t,offset:a*l,max:l,filter:n,sort:o.field,order:o.order})).then((e=>{let{totalFetched:t,interactions:n=[]}=e;f(t),d(n)})).then((e=>c(!1))).catch((e=>c(!1))))}),[t,n,o.field,o.order,a,l,i]),{isLoading:s,interactions:m,total:u}})({enabled:!!U&&q,entityUri:U,filter:ee,sorting:C,rowsPerPage:j,page:M}),oe=(0,r.useMemo)((()=>{return e=c.rowsPerPage,x.filter((t=>t!==e)).concat(e).sort(f.subtract);var e}),[]),ae=!q||te,le=(0,r.useCallback)((0,f.pipe)(F,Z),[F,Z]),ie=(0,r.useRef)(null);return o().createElement(b.Z,{className:s.basicView},o().createElement(We,{title:t.caption,total:re,columnsData:J,selectedColumns:O,onChangeColumns:(0,f.pipe)(Y,Z),filtersEnabled:!!P,onToggleFilters:(0,f.pipe)(_,Z),interactionTypes:X,currentInteractionType:D,onInteractionTypeChange:(0,f.pipe)(V,Z)}),o().createElement("div",{className:s.tableView},o().createElement(Re,{columnsData:K,interactions:ne,metadata:i,filters:P,onFilter:le,sorting:C,onSort:(0,f.pipe)(H,Z),basicTableRef:ie}),o().createElement(h.Z,{count:re,rowsPerPageOptions:oe,rowsPerPage:j,onChangeRowsPerPage:z,page:M,onChangePage:W,basicTableRef:ie}),ae&&o().createElement(v.Z,null)))},pt=(0,l.createGenerateClassName)({productionPrefix:"interactionTable",disableGlobal:!0}),ft=e=>{let{config:t,store:n,onResize:d=f.identity,saveState:y,getSavedState:g}=e;const b=(0,r.useCallback)((0,p.aYu)(g),[g]);return o().createElement(m.Provider,{store:n},o().createElement(c.m.Provider,{value:t.id},o().createElement(l.StylesProvider,{generateClassName:pt},o().createElement(s.MuiPickersUtilsProvider,{utils:a.Z},o().createElement(i.Z,{handleHeight:!0,onResize:(e,t)=>d(Math.floor(e),Math.floor(t))}),t&&o().createElement(ut,{config:t,saveState:y,getSavedState:b}),o().createElement(u.Z,null)))))}}}]);
|
|
2
2
|
//# sourceMappingURL=4469.js.map
|
package/4843.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4843],{34843:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ACTIVITY_TYPES:()=>i.IL3,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,AllDateRangeValues:()=>i.XYV,ApiErrorCode:()=>i.Xt7,AttributeErrorType:()=>i.wfT,AttributeTypeType:()=>i.EMD,AttributeValuePathItemType:()=>i.HAc,AuditAttrTypes:()=>i.PEf,CardinalityType:()=>i.oA3,ChartTypes:()=>i.$XE,CollaborationAttrTypes:()=>i.eWf,CollaborationObjectTypes:()=>i.q7e,ComplexAttributeType:()=>i.KVe,ConfigPermissions:()=>i.WVQ,ConnectionEntityType:()=>i.oZZ,ConnectionRelationType:()=>i.bNA,ConnectionType:()=>i.Rjq,CrosswalksAttrTypes:()=>i.G39,CustomAction:()=>i.W0P,CustomScriptPlatform:()=>i.X1H,DCRChangeRequestState:()=>i.hdG,DCROperationTypes:()=>i.ws7,DCRTypes:()=>i.VI$,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeTypes:()=>i.KfU,DateRangeValue:()=>i.bZE,Directions:()=>i.Nsj,DraftMarks:()=>i.psV,EntityAttrTypes:()=>i.xPW,EntityType:()=>i.pyR,EntityTypeType:()=>i.p8l,ErrorSeverity:()=>i.Wkf,ErrorSource:()=>i.zHr,ErrorType:()=>i.NIO,FACET_TYPES:()=>i.$26,FileValueType:()=>i.Esk,FillRateState:()=>i.s9T,FilterBuilder:()=>i.MEy,FilterOptions:()=>i.j5E,FilterType:()=>i.vAw,FilterValueType:()=>i.NMQ,GlobalContextValue:()=>i.eVu,GraphLayout:()=>i.YGb,GraphTypeType:()=>i.mNm,HistoryOperations:()=>i.Y1q,InteractionTypeType:()=>i.RgZ,KeywordSearchType:()=>i.Qy0,LOCALE_ATTRIBUTE_PRESENTATION:()=>i.Q26,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrNames:()=>i.Ury,MatchRulesAttrTypes:()=>i.S91,MatchRulesType:()=>i.p3$,Maybe:()=>i.wSh,MetadataPermissions:()=>i.BDP,MetadataType:()=>i.pGS,Mode:()=>i.ARY,ModeType:()=>i.XGc,ModeTypes:()=>i.fO_,NODE_EDITING_MODES:()=>i.wwy,NOT_MATCH:()=>i.h_8,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,Order:()=>i.KM9,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,PotentialMatchesAttrTypes:()=>i.C68,PotentialMatchesConfigType:()=>i.yxQ,PredefinedWorkflowProcessType:()=>i.Yj_,PreviewPanelMode:()=>i.D25,ProfileViewTypes:()=>i.ZIY,READABLE_QUERY_PRIMITIVE_TYPES:()=>i.Tl4,RdmAttrTypes:()=>i.lwr,ReferenceAttributeType:()=>i.NkU,ReferenceAttributeValueType:()=>i.Rtp,RelationDirections:()=>i.YGx,RelationType:()=>i.uTS,RelationTypeDirection:()=>i.MCv,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,RequestAction:()=>i.MVv,ScreenItemType:()=>i.h_m,SearchDrivenDateRangeValues:()=>i.DUe,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SortingStrategy:()=>i.PYu,SpecialAttrTypes:()=>i.lD1,StatusVF:()=>i.lVm,TREE_DEFAULT_SORT_FIELD:()=>i.vnX,TREE_DEFAULT_SORT_ORDER:()=>i.$x5,TREE_SORT_FIELD_VALUES:()=>i._R1,TREE_SORT_ORDER_VALUES:()=>i.wUm,UniquenessAnalysisState:()=>i.dC6,UnmergeOperation:()=>i.MBD,UserPermissions:()=>i.GmF,ValidationServiceOption:()=>i.cKm,WorkflowAttrTypes:()=>i.iP_,WorkflowPriority:()=>i.NVC,addAttribute:()=>i.tPT,addCommentForTask:()=>i.tZe,addCrosswalk:()=>i.kRE,addCrosswalkInContributor:()=>i.psB,addDefaultValuesToAttributes:()=>i.X0$,addDefaultValuesToComplexAttribute:()=>i.$vY,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityRequiredAttributes:()=>i.ayi,addValueToDependentLookups:()=>i.asT,applyCrosswalks:()=>i.kGs,applyRelationTypeObject:()=>i.ewt,areAllOperatorsAnd:()=>i.O_f,areOneHierarchyUris:()=>i.sOy,attributeUriToSearchUri:()=>i.Tde,basicFilterBuildRules:()=>i.LMI,buildAttributesReadableQuery:()=>i.skb,buildBasicFilterString:()=>i.sPt,buildComplexFilterString:()=>i.sH1,buildDateRangeFilterClause:()=>i.lPZ,buildEntityTypeFilterClause:()=>i.bG8,buildEntityUriFilterClause:()=>i._LJ,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,buildSourceFilterClause:()=>i.dwd,buildUserFilterClause:()=>i.F$g,calcTotalCommentItems:()=>i.mdt,calculateCrosswalkTreeDeep:()=>i.Qbq,canCreateRelationBetweenEntities:()=>i.rny,canUserCreateWorkflowConfigJar:()=>i.UEY,canUserCreateWorkflowEnvironmentConfigJar:()=>i.Q0T,canUserDeleteProfiles:()=>i.Lyr,canUserExecuteWorkflowJobs:()=>i.sBn,canUserExecuteWorkflowJobsSyncBusinessProcessData:()=>i.itK,canUserExecuteWorkflowJobsTerminateProcessInstance:()=>i.H9$,canUserExecuteWorkflowJobsUpdateTasks:()=>i.KPc,canUserExecuteWorkflowJobsValidateTasks:()=>i.zos,canUserGetDQStatistic:()=>i.ELQ,canUserImportEntitiesFromDT:()=>i.dZs,canUserMakeActivitiesExport:()=>i.Cz4,canUserMakeBulkUpdate:()=>i.z_L,canUserMakeExport:()=>i.fGe,canUserManageWorkflowDefinition:()=>i.iuF,canUserManageWorkflowEnvironmentDefinition:()=>i.Wib,canUserOpenDataLoader:()=>i.Hn0,canUserReadDVF:()=>i.obS,canUserReadEntitiesFromDT:()=>i.E$L,canUserReadWorkflowDataTask:()=>i.XUh,canUserRegisterConfigEnvironments:()=>i.Qp_,canUserStartProcessInstanceFromQuery:()=>i._jk,canUserUpdateProcessInstance:()=>i.sKE,canUserUpdateWorkflowDataTask:()=>i.WmG,canUserViewProcessInstanceSearchQuery:()=>i.QKx,canUserViewWorkflowConfigJar:()=>i.Oik,canUserViewWorkflowDefinition:()=>i.s0A,canUserViewWorkflowEnvironmentConfigJar:()=>i.o9m,canUserViewWorkflowJobs:()=>i.MCd,canWrapInSameAttribute:()=>i.RsS,cascadeUpdate:()=>i.tGK,changeEntityAttribute:()=>i.lIv,checkCanCreateAttribute:()=>i.Vg3,checkCanCreateCrosswalk:()=>i.mkC,checkCanDeleteAttribute:()=>i.xv5,checkCanDeleteCrosswalk:()=>i.a14,checkCanEditAttribute:()=>i.yv0,checkCanEditCrosswalk:()=>i.Zm0,checkCanImportEntityOfType:()=>i.Nxd,checkCanReadAttribute:()=>i.$mM,checkConfigPermission:()=>i.ifj,checkDraftMarked:()=>i.NWi,checkEdited:()=>i.xr3,checkIfOptionHasValues:()=>i.wNf,checkIgnored:()=>i.iJH,checkMetadataForCreate:()=>i.d89,checkMetadataForDelete:()=>i.Edd,checkMetadataForUpdate:()=>i.Z5t,checkMetadataPermission:()=>i.uGe,checkMetadataPermissions:()=>i.UoR,checkNew:()=>i.xvW,checkRemoved:()=>i.$qe,checkUserPermissions:()=>i.yPM,cleanAttributes:()=>i.$cp,cleanAttributesWith:()=>i.vKJ,cloneEntity:()=>i.VtG,collectAllDiffs:()=>i.AID,collectAllTransitiveEntitiesUris:()=>i.B1H,collectContributorsFromTree:()=>i.b7X,collectCrosswalksFromAttributes:()=>i.$uE,collectCrosswalksFromContributor:()=>i.keo,collectDiffForValidation:()=>i.C_p,collectPerspectiveViews:()=>i.G27,collectVersions:()=>i.JA0,compareActivenessAttributes:()=>i.b3T,compareAttributes:()=>i.oC6,compareImages:()=>i._Zs,compareRoles:()=>i.epC,compareTags:()=>i.YYG,configServiceRequest:()=>i.f_2,convertOldAdvancedAttribute:()=>i.w3l,convertOldDashboardConfig:()=>i.QHB,convertOldFacets:()=>i.Jso,convertOldLayoutToReltioGridLayout:()=>i.RXH,convertOldProfileConfig:()=>i.Vr9,convertOldUIConfigToNewConfig:()=>i.lMm,convertPivotingValueToSearchFilters:()=>i.BlA,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDefaultValues:()=>i.GPx,createNewAttribute:()=>i.gjI,createNewConnectionWithDefaultRelationType:()=>i.vlo,createObjectIdForPM:()=>i.E_P,createRecentSearch:()=>i.aAL,createReferencedRelationForAttrValue:()=>i.NBq,createRelatedObjectUris:()=>i.wp9,createRelation:()=>i.DsR,createRelationCreateCommand:()=>i.MPc,createRelationDeleteCommand:()=>i.gWE,createRelationIgnoreCommand:()=>i.DT_,createRelationRepointCommand:()=>i.ipn,createRelationTypesLabelsMap:()=>i.ORg,createRelationUpdateCommand:()=>i._wz,createRelationsCommandsFromConnections:()=>i.RYR,createReply:()=>i.PP2,createRequestProvider:()=>i.wS7,createSavedSearch:()=>i.cBQ,createTemporaryEntity:()=>i.pBq,debounce:()=>i.DsO,deleteActivenessAttribute:()=>i.X78,deleteAttribute:()=>i.xZs,deleteComment:()=>i.YFy,deleteCrosswalk:()=>i.Gmt,deleteCrosswalkAttribute:()=>i.K$w,deleteRecentSearch:()=>i.DSj,deleteReply:()=>i.Mfr,deleteSavedSearch:()=>i.k9j,durationToTimestamp:()=>i.EjS,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,enhanceDCREntitiesFromResponse:()=>i.n6p,enrichEntityWithDataTenant:()=>i.E7G,entity:()=>i.nwO,entityCumulativeUpdate:()=>i.Mzk,eqCrosswalks:()=>i.aFF,escapeQueryValue:()=>i.HRH,evaluateAttributeLabel:()=>i.EZK,evaluateDeepEntityLabel:()=>i.Kxm,evaluateErrorPath:()=>i.Z9i,exportActivities:()=>i.CrF,filterOutHiddenAttributes:()=>i.DNd,filterRelatedParentValuesForDependentLookupValueUri:()=>i.vUy,filterValueToQueryString:()=>i.lJh,filterValueToQueryStringWithQuotes:()=>i.zHo,find:()=>i.sEJ,findAllTemporaryRefEntityURI:()=>i.UO$,findAttributeTypeByUri:()=>i.zeJ,findAttributeValueByUri:()=>i.dLR,findAttributeValues:()=>i.JQy,findAttributeValuesByTypeUri:()=>i.XtP,findClosestCommonAncestor:()=>i.Ug0,findContributorForCrosswalk:()=>i.A1W,findLabelPattern:()=>i.sw,findNodeById:()=>i.nv3,findParentNodeById:()=>i.JgD,findParentNodes:()=>i.nve,findReferenceAttributeByRefEntityUri:()=>i.SkP,findRelatedTemporaryEntities:()=>i.SAs,findSiblingsAttributeValues:()=>i.i5L,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixLayout:()=>i.Aup,fixNonUniqViewsIds:()=>i.Mfk,flatAttributeTreeNode:()=>i.HQx,flatAttributeTreeNodeWithSimplesOnly:()=>i.oN$,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatTime:()=>i.mrB,generateEntityUrlForOldMode:()=>i.OuZ,generateNewRelationUri:()=>i.ncP,generatePivotingUrlForOldMode:()=>i.FQ2,generateTagUrlForOldMode:()=>i.W$R,generateTempDCRUri:()=>i.JOV,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getAccessToken:()=>i.hPi,getActionPermissionForMatch:()=>i.hXd,getActionPermissionForMatches:()=>i.OCS,getActivenessAttributes:()=>i.p2l,getActivities:()=>i.qF1,getActivitiesTotal:()=>i._X$,getActivityLabelsFromNewActivity:()=>i.yj2,getActorsForInteraction:()=>i.bzh,getAllAttributeTypesTree:()=>i.k66,getAllEntityTypesForGraphType:()=>i.kiP,getAllPaths:()=>i.pSg,getAllUsersForTenant:()=>i.kz_,getAnalyticsAttributeTypesTree:()=>i.H_U,getAnalyticsAttributesList:()=>i.t9e,getAssigneeForTask:()=>i.j2$,getAttrDataTypeDefinition:()=>i.PFL,getAttrTypeForFacet:()=>i.aJ3,getAttrTypeLookupCode:()=>i.To9,getAttributeByPath:()=>i.wpo,getAttributeOwnError:()=>i.ADq,getAttributePagerActiveErrors:()=>i.UUb,getAttributePagerActiveTypeErrorMessage:()=>i.tQX,getAttributeSource:()=>i.xy8,getAttributeTypeSubAttributes:()=>i.EUG,getAttributeTypeUriByValueUri:()=>i.AFK,getAttributeTypesHierarchyByUri:()=>i.X3M,getAttributeTypesTree:()=>i.WN0,getAttributeValue:()=>i.kDl,getAttributeValuePath:()=>i.uDV,getAttributeValuesByPath:()=>i.IhQ,getAttributeValuesByPathWithOvFlag:()=>i.pfb,getAttributeValuesUris:()=>i.R$r,getAttributesForMatchRules:()=>i.w80,getAttributesList:()=>i.Pfu,getAttributesListForEditMode:()=>i.Gtj,getAttributesListForReadMode:()=>i.fyF,getAttributesTreeFromAttributes:()=>i.kkq,getBaseUri:()=>i.u5q,getBusinessCardAttributes:()=>i.O$n,getBusinessCardAttributesText:()=>i.ptG,getChartItemColor:()=>i.f4_,getColorForId:()=>i.uap,getComment:()=>i.d7q,getComments:()=>i.liG,getCommentsCount:()=>i.$oF,getConnectionEntityUriPath:()=>i.avf,getConnectionRelationAttributesPath:()=>i.DiQ,getConnectionRelationDirectionPath:()=>i.cfX,getConnectionRelationEndDatePath:()=>i.vD3,getConnectionRelationObjectPath:()=>i.Qrb,getConnectionRelationStartDatePath:()=>i.EJQ,getConnectionRelationTypePath:()=>i.HWy,getConnectionRelationUriForLink:()=>i.gjS,getConnectionRelationUriPath:()=>i.y6v,getConsoleApps:()=>i.JUW,getContributorColor:()=>i.GtP,getCreatableAttributeTypes:()=>i._kX,getCreatableOrReadableAttributeTypes:()=>i.u1e,getCrosswalkAttributes:()=>i.sJj,getCrosswalkColor:()=>i.CJp,getCrosswalkId:()=>i.uKF,getCrosswalkTree:()=>i.wo0,getCrosswalkType:()=>i.s5,getCrosswalksTypes:()=>i.cwx,getCustomerTenantInfo:()=>i.Y6b,getDQChartsData:()=>i.TTx,getDTSubscriptions:()=>i.UtR,getDVF:()=>i.HaQ,getDataChangeRequest:()=>i.E6I,getDataTenantEntity:()=>i.Won,getDataTenantEntitySecondaryLabel:()=>i.vTU,getDataTenantEntityUri:()=>i.Nsy,getDataTenantFromCrosswalks:()=>i.KMQ,getDataTenantFromEntityUri:()=>i.Do$,getDataTenantSpecialAttributeFieldName:()=>i.CSV,getDataTenantsInfo:()=>i.TMe,getDataTypeDefinitionForFilterValue:()=>i.l1V,getDateRangeByDatePeriod:()=>i.RHh,getDateRangeByValue:()=>i.VQ1,getDateRangeOptions:()=>i.cGG,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getDvfColor:()=>i.jLA,getEditableAttributeTypeSubAttributes:()=>i.BoX,getEndObjectTypeUri:()=>i.GGR,getEndObjectUri:()=>i.j5q,getEntitiesByUris:()=>i.DnY,getEntitiesHierarchy:()=>i.RY5,getEntitiesMapForConnections:()=>i.Px$,getEntitiesMapForTransitiveMatches:()=>i.KPC,getEntitiesStats:()=>i.NIY,getEntity:()=>i.HvW,getEntityAttributesFromMetadata:()=>i.Fof,getEntityBySurvivorshipGroupUri:()=>i.BXy,getEntityColor:()=>i.fX,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityMatchRules:()=>i.q27,getEntityPerspectiveScreenItem:()=>i.vrC,getEntityPreviousChange:()=>i.fAQ,getEntitySecondaryLabel:()=>i.XkT,getEntityTimeSlice:()=>i.lrH,getEntityType:()=>i.nt9,getEntityTypeGraphIcon:()=>i.XH8,getEntityTypeImage:()=>i.XH2,getEntityTypeLabel:()=>i.jFi,getEntityTypeMatchAttributes:()=>i.qhs,getEntityUriForLink:()=>i.wwR,getEntityUriFromAttributeUri:()=>i.Uk3,getEntityUriFromDCRUri:()=>i.$Rg,getEntityUriFromMatchObject:()=>i.ev7,getEnvironmentSettings:()=>i.RB9,getErrorId:()=>i.iFp,getErrorMessage:()=>i.e$p,getErrorType:()=>i.PcX,getErrorUniqKey:()=>i.SpP,getFacetTitle:()=>i.R6_,getFacetTypeForAttrType:()=>i.CY1,getFacetedAttributeData:()=>i.Ajk,getFacetedAttributeDataWithSearchParams:()=>i.Yiz,getFacets:()=>i.FK9,getFileName:()=>i.UOo,getFillRate:()=>i.aTW,getFilterOptionArity:()=>i.uug,getFilterOptionForFacet:()=>i.P$2,getFilterOptionLabel:()=>i.XS2,getFilterOptionsForDataTypeDefinition:()=>i.Hyb,getFilterOptionsForQueryBuilder:()=>i.d3Y,getFilterOptionsForRelationshipQueryBuilder:()=>i.Klp,getFilterValueForFacet:()=>i.WxZ,getFilterValueLabel:()=>i.Gzu,getFilteredEntities:()=>i.ZOr,getFilteredEntitiesFromDataTenant:()=>i.uqV,getFirstElementIfArray:()=>i.Pm4,getFirstLevelSearchUri:()=>i.hWO,getFontColor:()=>i.nHA,getFullObjectsHierarchy:()=>i.nVD,getGlobalContextValue:()=>i._tF,getGraphSearchCount:()=>i.dED,getGraphSearchEntities:()=>i.P2h,getGraphType:()=>i.jrr,getGraphTypesForEntityType:()=>i.mmY,getGroupLabelByTypeUri:()=>i.T6O,getGroupTasksForTenant:()=>i.h6J,getGroupsFromSearchState:()=>i.hM2,getHash:()=>i.XR6,getHierarchyAncestors:()=>i.jmz,getHierarchyDescendants:()=>i.IHt,getHierarchyNodeEditorActiveError:()=>i.NZI,getHistoricUris:()=>i.wdF,getHistoryAppearanceBySpecialAttributeValue:()=>i.YNv,getHistoryAppearanceByUri:()=>i.IFm,getHistoryAttributeClassName:()=>i.o_F,getHistoryWithTotal:()=>i.kgP,getHops:()=>i.ZYI,getImageAttributeOvPreviewUrl:()=>i.QXK,getImageAttributeOvThumbnailUrl:()=>i.efz,getImageAttributeOvUrl:()=>i.Q5d,getImageAttributeThumbnailUrl:()=>i.Ysv,getInOutRelationTypesForEntityTypeUri:()=>i.UWq,getInOutRelations:()=>i.ocC,getInheritancePath:()=>i.io3,getInteractionAttributesFromMetadata:()=>i.Sbt,getInteractionType:()=>i.roS,getInteractionTypesForEntityType:()=>i.Ww1,getInteractions:()=>i.QaS,getIntervalUnitLabel:()=>i.wsP,getKeywordFromOldSearchState:()=>i.ERZ,getKeywordFromSearchState:()=>i.CL1,getLabel:()=>i.idV,getLastUriPart:()=>i.nIW,getLookupCodesFromFacets:()=>i.fjE,getLookupLabel:()=>i.sG0,getLookups:()=>i.tV7,getMapSearchLabel:()=>i.g8o,getMapSearchValues:()=>i.Qy,getMatchGroupLabelsForFacet:()=>i.t2P,getMatchGroups:()=>i.KbW,getMatchRuleLabel:()=>i.wId,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getMlDqData:()=>i.GFW,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getOvAttributeValuesByPathWithOvFlag:()=>i.BgZ,getOvAttributeValuesByPathWithUri:()=>i.xIV,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPivotingLabel:()=>i.kR6,getPotentialMatchesColor:()=>i.gFw,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileBandObjectIdsForCollaboration:()=>i.L5S,getProfileEntityWithHistoryDiff:()=>i.Ob5,getProfileEntityWithoutHistoryDiff:()=>i.KUV,getProfileObjectIdsForCollaboration:()=>i.dvH,getProfileViewsIdsByTypes:()=>i.V3i,getPropWithInheritance:()=>i.VD3,getRangeOptionLabel:()=>i.mm2,getRdmTenants:()=>i.rou,getReadableAttributeTypes:()=>i.izH,getReadableAttributesList:()=>i.DK$,getRecentSearches:()=>i.KMp,getReferencedAttrTypeUrisFromAttrType:()=>i.c31,getReferencedEntityActiveError:()=>i.mbo,getReferencedEntityAttrTypesUris:()=>i.gT8,getReferencedEntityFromAttrValue:()=>i.CZ8,getReferencedEntityTypeUri:()=>i.uGi,getReferencedEntityTypeUriFromAttrType:()=>i.Poc,getReferencedEntityTypeUriFromAttrValue:()=>i._9k,getReferencedEntityUri:()=>i.ZTM,getReferencedEntityUriFromAttrValue:()=>i.bwT,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.PUO,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypePropWithInheritance:()=>i.oSN,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequiredAttributeTypes:()=>i.Y_p,getRequiredAttributeTypesByTypeUri:()=>i.$k6,getResolvedLookupLabel:()=>i.Gdl,getResolvedLookupValue:()=>i.U6P,getResolvedLookupsForFacet:()=>i.OwB,getRestrictedObjectsHierarchy:()=>i.hTh,getRoleLabel:()=>i.xqc,getRolesForEntityType:()=>i.JvE,getRootFieldName:()=>i.i29,getRulesConfig:()=>i.dzT,getSavedSearch:()=>i.uPS,getSavedSearches:()=>i.cZV,getSearchGroupAttributeEntityTypeUri:()=>i.n3B,getSearchGroupAttributeLabel:()=>i.e6O,getSearchLink:()=>i.s7j,getSearchLinkState:()=>i.j$Q,getSingleAttributeEntity:()=>i.PeS,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantIconColor:()=>i.bsH,getTenantName:()=>i.u9Z,getTenantPermissions:()=>i.LCU,getTotalFromDataTenant:()=>i.J$m,getTotals:()=>i.j_Q,getTotalsForQuery:()=>i.OaI,getTransitiveMatchRules:()=>i.wB1,getTransitiveMatches:()=>i.SP6,getTransitiveMatchesForEntity:()=>i.ZYr,getTree:()=>i.IMU,getUIConfiguration:()=>i.FoU,getUnresolvedLookupsList:()=>i.DVz,getUnresolvedLookupsListFromSearchGroups:()=>i.mxe,getUrisForSaving:()=>i.FHr,getUserPreference:()=>i.D1g,getValidatedSortField:()=>i.VO3,getValidatedSortOrder:()=>i.de5,gif2Url:()=>i.Uw1,hasAttributeDescendantsWithErrors:()=>i.J6q,hasDependentLookupAttributes:()=>i.XCe,hasEntityInTree:()=>i.fbl,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,historyPalettes:()=>i.zXF,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,initializeWebWorker:()=>i.QWZ,insertDefaultImageByAttrUri:()=>i.YL3,intl:()=>i.NW9,isAbortError:()=>i.D_E,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeError:()=>i.Wah,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeForDataTenant:()=>i.fGG,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isAvailableRelationTypeUri:()=>i.pQZ,isAvailableTenantForEntityType:()=>i.oZ7,isBooleanType:()=>i.T6Y,isChangeRequestUri:()=>i.VRd,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDCRUri:()=>i.FP6,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValid:()=>i.RZp,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptyEntity:()=>i.lzc,isEmptySearchGroup:()=>i.qIF,isEmptyValue:()=>i.O27,isEntityImportedToCT:()=>i.aBi,isEntitySpecialAttrType:()=>i.xOX,isEntityTypeUri:()=>i.EdS,isEntityUri:()=>i.WgC,isEnumAttrType:()=>i.eEv,isFileFilterOption:()=>i.A4t,isFirstLevelAttributeUri:()=>i.YOQ,isFloatingType:()=>i.Wos,isFreemiumAdmin:()=>i.jWr,isImage:()=>i.Or$,isInHierarchy:()=>i.lhE,isLookupAttrType:()=>i.CwH,isMatchRuleAttrType:()=>i.pzC,isMultiValueOption:()=>i.ymH,isNested:()=>i.QZu,isNumericRangeFacet:()=>i.rYH,isNumericType:()=>i.FVt,isObject:()=>i.Kn2,isOrOperator:()=>i.jgw,isOutdatedDateRangeValue:()=>i.Qgr,isOv:()=>i.OXP,isPartOfErrorAttributeTypeUri:()=>i.nsY,isPartOfErrorParentUri:()=>i.vyG,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationCommandForUri:()=>i.kMF,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isRelationWithEntityType:()=>i.Ian,isReltioCrosswalk:()=>i.KVV,isRequired:()=>i.q9e,isResolvedLookupCode:()=>i.iIf,isRoleAttrType:()=>i.ian,isSSNType:()=>i.m6e,isSourceSystemAttrType:()=>i.OFd,isSpecialAttribute:()=>i.kqr,isSuggestMode:()=>i.fnZ,isTagAttrType:()=>i.VFZ,isTempUri:()=>i.ZiX,isTimestampBasedType:()=>i.j5n,isToday:()=>i.zkt,isTransitiveMatch:()=>i.Pcm,isTypeAttrType:()=>i.QDV,isTypeFacet:()=>i.M5u,isTypeSearchGroupAttribute:()=>i.laD,isTypeaheadAttrType:()=>i.mtq,isUnresolvedLookupCode:()=>i.CtB,isUrl:()=>i.CBv,isUrlType:()=>i.I0t,isValidRelationToAdd:()=>i.u1G,isValidSearchGroup:()=>i.gk1,isValidSearchGroupAttribute:()=>i.Bgb,isViewMode:()=>i.uzs,joinFilterStrings:()=>i.v0l,loadMetadata:()=>i.Zqp,localizeMetadata:()=>i.j0k,looseEquals:()=>i.l22,makeAttrTypeUri:()=>i.tCm,makeCompositeFilterOption:()=>i.gmx,mapFilterValue:()=>i.mOr,mapSearchTypeToFieldName:()=>i.TwZ,mapTree:()=>i.GyU,markAsNotMatch:()=>i.zGm,markDataTenantEntityAsNotMatch:()=>i.bMg,markEdited:()=>i.EyD,markIgnored:()=>i.FQA,markMixedEntitiesAsNotMatches:()=>i.fZN,markNew:()=>i.xsF,markRemoved:()=>i.Lxg,markSavedSearchAsFavorite:()=>i.O3l,markSavedSearchAsPublic:()=>i.Wni,marksJSONReplacer:()=>i.wRx,mergeCustomerTenantEntityWithMixedEntities:()=>i.OxG,mergeDataEntityWithCustomerEntity:()=>i.Jwg,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,multiValueFilter:()=>i.NPd,normalizeMetadata:()=>i.MrZ,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,optimizeCommands:()=>i.Jct,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseRelationsConfig:()=>i.fS6,parseTimestamp:()=>i.ZBU,partitionByMlMatch:()=>i.UkJ,pinAttribute:()=>i.xkv,populateDependentLookupsFromEntity:()=>i.z$M,postGraphExport:()=>i.KAm,prepareAttrDiff:()=>i.lCl,prepareEntityForValidation:()=>i.rkF,processDefinitions:()=>i.IU6,promiseAllSettled:()=>i.RGr,promisifyCallback:()=>i.aYu,promisifyProvider:()=>i.ije,rateRelation:()=>i.Buf,rawRequest:()=>i.YLu,referencedEntityAttributeTypesSelectionStrategy:()=>i.ct9,reinstateDataTenantEntityMatch:()=>i.XkY,reinstateMatch:()=>i.T5R,reinstateMixedEntitiesMatches:()=>i.uQS,relationEditorAttributeTypesSelectionStrategy:()=>i.wcJ,removeAttribute:()=>i.d$I,removeDtssPrefixFromEntityUri:()=>i.rSp,removeEntity:()=>i.Sx,removeEntityAttribute:()=>i.Ilm,removeEntitySpecialAttribute:()=>i.Ki6,removeRelation:()=>i.VGk,removeUnsupportedLayoutItems:()=>i.sFD,removeValuesFromDependentLookups:()=>i.eWN,replacePlaceholdersInQuery:()=>i.dWE,replaceTempUriInCommands:()=>i.Lkd,replaceTemporaryRefEntityURI:()=>i.aDL,requestForDataTenant:()=>i.yaA,resetUserPreference:()=>i.lOh,resolve:()=>i.DBr,resolveLookupsList:()=>i.hK$,runTaskAction:()=>i.TZ_,sanitizeTypesInSearchGroups:()=>i.CMB,saveEntity:()=>i.FU8,saveTemporaryEntities:()=>i.J$p,saveTemporaryEntity:()=>i.b5s,searchUriToAttrUri:()=>i.h2W,sendRequestFromCustomSandbox:()=>i.SL_,sendWorkflowRequest:()=>i.oUH,setAsMatch:()=>i.ck9,setGlobalContextValue:()=>i.RAb,setLookupStrategy:()=>i.nL,setMinHeightForDashboardWidgets:()=>i.k$p,setRequestProvider:()=>i.Xs0,setUserPreference:()=>i.u7I,shiftDownOperators:()=>i.rxg,shiftUpOperators:()=>i.bji,shouldUseValidationService:()=>i.oCZ,sortTreeChildren:()=>i.MjG,startProcessFromQuery:()=>i.FuV,startProcessInstance:()=>i.$ju,startProcessInstanceByPairs:()=>i.t6d,svg2Url:()=>i.m5F,syncAttributeTypeWithDependentLookups:()=>i.sx,theme:()=>i.rSc,typeAheadSearch:()=>i.U10,unmergeContributor:()=>i.L8n,unsubscribeEntityFromDataTenantEntity:()=>i.R9X,updateActivenessAttribute:()=>i.rj2,updateAssigneeForTask:()=>i._C4,updateAttribute:()=>i.tCj,updateComment:()=>i.uAg,updateConnectionEntityLabel:()=>i.wx9,updateDueDateForTask:()=>i.KF3,updatePriorityForTask:()=>i.ax9,updateRelation:()=>i.HH7,updateReply:()=>i.ufV,updateSavedSearch:()=>i._6y,updateTreesWithNewEntity:()=>i.XTh,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,userPreferencesComparator:()=>i.oss,utils:()=>i.P6Y,validateComplexAttribute:()=>i.q5j,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateFilterValue:()=>i.jtL,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInBrackets:()=>i.tM8,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(85216)}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4843],{34843:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ACTIVITY_TYPES:()=>i.IL3,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,AllDateRangeValues:()=>i.XYV,ApiErrorCode:()=>i.Xt7,AttributeErrorType:()=>i.wfT,AttributeTypeType:()=>i.EMD,AttributeValuePathItemType:()=>i.HAc,AuditAttrTypes:()=>i.PEf,CardinalityType:()=>i.oA3,ChartTypes:()=>i.$XE,CollaborationAttrTypes:()=>i.eWf,CollaborationObjectTypes:()=>i.q7e,ComplexAttributeType:()=>i.KVe,ConfigPermissions:()=>i.WVQ,ConnectionEntityType:()=>i.oZZ,ConnectionRelationType:()=>i.bNA,ConnectionType:()=>i.Rjq,CrosswalksAttrTypes:()=>i.G39,CustomAction:()=>i.W0P,CustomScriptPlatform:()=>i.X1H,DCRChangeRequestState:()=>i.hdG,DCROperationTypes:()=>i.ws7,DCRTypes:()=>i.VI$,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeTypes:()=>i.KfU,DateRangeValue:()=>i.bZE,Directions:()=>i.Nsj,DraftMarks:()=>i.psV,EntityAttrTypes:()=>i.xPW,EntityType:()=>i.pyR,EntityTypeType:()=>i.p8l,ErrorSeverity:()=>i.Wkf,ErrorSource:()=>i.zHr,ErrorType:()=>i.NIO,FACET_TYPES:()=>i.$26,FileValueType:()=>i.Esk,FillRateState:()=>i.s9T,FilterBuilder:()=>i.MEy,FilterOptions:()=>i.j5E,FilterType:()=>i.vAw,FilterValueType:()=>i.NMQ,GlobalContextValue:()=>i.eVu,GraphLayout:()=>i.YGb,GraphTypeType:()=>i.mNm,HistoryOperations:()=>i.Y1q,InteractionTypeType:()=>i.RgZ,KeywordSearchType:()=>i.Qy0,LOCALE_ATTRIBUTE_PRESENTATION:()=>i.Q26,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrNames:()=>i.Ury,MatchRulesAttrTypes:()=>i.S91,MatchRulesType:()=>i.p3$,Maybe:()=>i.wSh,MetadataPermissions:()=>i.BDP,MetadataType:()=>i.pGS,Mode:()=>i.ARY,ModeType:()=>i.XGc,ModeTypes:()=>i.fO_,NODE_EDITING_MODES:()=>i.wwy,NOT_MATCH:()=>i.h_8,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,Order:()=>i.KM9,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,PotentialMatchesAttrTypes:()=>i.C68,PotentialMatchesConfigType:()=>i.yxQ,PredefinedWorkflowProcessType:()=>i.Yj_,PreviewPanelMode:()=>i.D25,ProfileViewTypes:()=>i.ZIY,READABLE_QUERY_PRIMITIVE_TYPES:()=>i.Tl4,RdmAttrTypes:()=>i.lwr,ReferenceAttributeType:()=>i.NkU,ReferenceAttributeValueType:()=>i.Rtp,RelationDirections:()=>i.YGx,RelationType:()=>i.uTS,RelationTypeDirection:()=>i.MCv,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,RequestAction:()=>i.MVv,ScreenItemType:()=>i.h_m,SearchDrivenDateRangeValues:()=>i.DUe,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SortingStrategy:()=>i.PYu,SpecialAttrTypes:()=>i.lD1,StatusVF:()=>i.lVm,TREE_DEFAULT_SORT_FIELD:()=>i.vnX,TREE_DEFAULT_SORT_ORDER:()=>i.$x5,TREE_SORT_FIELD_VALUES:()=>i._R1,TREE_SORT_ORDER_VALUES:()=>i.wUm,UniquenessAnalysisState:()=>i.dC6,UnmergeOperation:()=>i.MBD,UserPermissions:()=>i.GmF,ValidationServiceOption:()=>i.cKm,WorkflowAttrTypes:()=>i.iP_,WorkflowPriority:()=>i.NVC,addAttribute:()=>i.tPT,addCommentForTask:()=>i.tZe,addCrosswalk:()=>i.kRE,addCrosswalkInContributor:()=>i.psB,addDefaultValuesToAttributes:()=>i.X0$,addDefaultValuesToComplexAttribute:()=>i.$vY,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityRequiredAttributes:()=>i.ayi,addValueToDependentLookups:()=>i.asT,applyCrosswalks:()=>i.kGs,applyRelationTypeObject:()=>i.ewt,areAllOperatorsAnd:()=>i.O_f,areOneHierarchyUris:()=>i.sOy,attributeUriToSearchUri:()=>i.Tde,basicFilterBuildRules:()=>i.LMI,buildAttributesReadableQuery:()=>i.skb,buildBasicFilterString:()=>i.sPt,buildComplexFilterString:()=>i.sH1,buildDateRangeFilterClause:()=>i.lPZ,buildEntityTypeFilterClause:()=>i.bG8,buildEntityUriFilterClause:()=>i._LJ,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,buildSourceFilterClause:()=>i.dwd,buildUserFilterClause:()=>i.F$g,calcTotalCommentItems:()=>i.mdt,calculateCrosswalkTreeDeep:()=>i.Qbq,canCreateRelationBetweenEntities:()=>i.rny,canUserCreateWorkflowConfigJar:()=>i.UEY,canUserCreateWorkflowEnvironmentConfigJar:()=>i.Q0T,canUserDeleteProfiles:()=>i.Lyr,canUserExecuteWorkflowJobs:()=>i.sBn,canUserExecuteWorkflowJobsSyncBusinessProcessData:()=>i.itK,canUserExecuteWorkflowJobsTerminateProcessInstance:()=>i.H9$,canUserExecuteWorkflowJobsUpdateTasks:()=>i.KPc,canUserExecuteWorkflowJobsValidateTasks:()=>i.zos,canUserGetDQStatistic:()=>i.ELQ,canUserImportEntitiesFromDT:()=>i.dZs,canUserMakeActivitiesExport:()=>i.Cz4,canUserMakeBulkUpdate:()=>i.z_L,canUserMakeExport:()=>i.fGe,canUserManageWorkflowDefinition:()=>i.iuF,canUserManageWorkflowEnvironmentDefinition:()=>i.Wib,canUserOpenDataLoader:()=>i.Hn0,canUserReadDVF:()=>i.obS,canUserReadEntitiesFromDT:()=>i.E$L,canUserReadWorkflowDataTask:()=>i.XUh,canUserRegisterConfigEnvironments:()=>i.Qp_,canUserStartProcessInstanceFromQuery:()=>i._jk,canUserUpdateProcessInstance:()=>i.sKE,canUserUpdateWorkflowDataTask:()=>i.WmG,canUserViewProcessInstanceSearchQuery:()=>i.QKx,canUserViewWorkflowConfigJar:()=>i.Oik,canUserViewWorkflowDefinition:()=>i.s0A,canUserViewWorkflowEnvironmentConfigJar:()=>i.o9m,canUserViewWorkflowJobs:()=>i.MCd,canWrapInSameAttribute:()=>i.RsS,cascadeUpdate:()=>i.tGK,changeEntityAttribute:()=>i.lIv,checkCanCreateAttribute:()=>i.Vg3,checkCanCreateCrosswalk:()=>i.mkC,checkCanDeleteAttribute:()=>i.xv5,checkCanDeleteCrosswalk:()=>i.a14,checkCanEditAttribute:()=>i.yv0,checkCanEditCrosswalk:()=>i.Zm0,checkCanImportEntityOfType:()=>i.Nxd,checkCanReadAttribute:()=>i.$mM,checkConfigPermission:()=>i.ifj,checkDraftMarked:()=>i.NWi,checkEdited:()=>i.xr3,checkIfOptionHasValues:()=>i.wNf,checkIgnored:()=>i.iJH,checkMatchRuleSummaryRelevance:()=>i.KB$,checkMetadataForCreate:()=>i.d89,checkMetadataForDelete:()=>i.Edd,checkMetadataForUpdate:()=>i.Z5t,checkMetadataPermission:()=>i.uGe,checkMetadataPermissions:()=>i.UoR,checkNew:()=>i.xvW,checkRemoved:()=>i.$qe,checkUserPermissions:()=>i.yPM,cleanAttributes:()=>i.$cp,cleanAttributesWith:()=>i.vKJ,cloneEntity:()=>i.VtG,collectAllDiffs:()=>i.AID,collectAllTransitiveEntitiesUris:()=>i.B1H,collectContributorsFromTree:()=>i.b7X,collectCrosswalksFromAttributes:()=>i.$uE,collectCrosswalksFromContributor:()=>i.keo,collectDiffForValidation:()=>i.C_p,collectPerspectiveViews:()=>i.G27,collectVersions:()=>i.JA0,compareActivenessAttributes:()=>i.b3T,compareAttributes:()=>i.oC6,compareImages:()=>i._Zs,compareRoles:()=>i.epC,compareTags:()=>i.YYG,configServiceRequest:()=>i.f_2,convertOldAdvancedAttribute:()=>i.w3l,convertOldDashboardConfig:()=>i.QHB,convertOldFacets:()=>i.Jso,convertOldLayoutToReltioGridLayout:()=>i.RXH,convertOldProfileConfig:()=>i.Vr9,convertOldUIConfigToNewConfig:()=>i.lMm,convertPivotingValueToSearchFilters:()=>i.BlA,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDefaultValues:()=>i.GPx,createNewAttribute:()=>i.gjI,createNewConnectionWithDefaultRelationType:()=>i.vlo,createObjectIdForPM:()=>i.E_P,createRecentSearch:()=>i.aAL,createReferencedRelationForAttrValue:()=>i.NBq,createRelatedObjectUris:()=>i.wp9,createRelation:()=>i.DsR,createRelationCreateCommand:()=>i.MPc,createRelationDeleteCommand:()=>i.gWE,createRelationIgnoreCommand:()=>i.DT_,createRelationRepointCommand:()=>i.ipn,createRelationTypesLabelsMap:()=>i.ORg,createRelationUpdateCommand:()=>i._wz,createRelationsCommandsFromConnections:()=>i.RYR,createReply:()=>i.PP2,createRequestProvider:()=>i.wS7,createSavedSearch:()=>i.cBQ,createTemporaryEntity:()=>i.pBq,debounce:()=>i.DsO,deleteActivenessAttribute:()=>i.X78,deleteAttribute:()=>i.xZs,deleteComment:()=>i.YFy,deleteCrosswalk:()=>i.Gmt,deleteCrosswalkAttribute:()=>i.K$w,deleteRecentSearch:()=>i.DSj,deleteReply:()=>i.Mfr,deleteSavedSearch:()=>i.k9j,durationToTimestamp:()=>i.EjS,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,enhanceDCREntitiesFromResponse:()=>i.n6p,enrichEntityWithDataTenant:()=>i.E7G,entity:()=>i.nwO,entityCumulativeUpdate:()=>i.Mzk,eqCrosswalks:()=>i.aFF,escapeQueryValue:()=>i.HRH,evaluateAttributeLabel:()=>i.EZK,evaluateDeepEntityLabel:()=>i.Kxm,evaluateErrorPath:()=>i.Z9i,exportActivities:()=>i.CrF,filterOutHiddenAttributes:()=>i.DNd,filterRelatedParentValuesForDependentLookupValueUri:()=>i.vUy,filterValueToQueryString:()=>i.lJh,filterValueToQueryStringWithQuotes:()=>i.zHo,find:()=>i.sEJ,findAllTemporaryRefEntityURI:()=>i.UO$,findAttributeTypeByUri:()=>i.zeJ,findAttributeValueByUri:()=>i.dLR,findAttributeValues:()=>i.JQy,findAttributeValuesByTypeUri:()=>i.XtP,findClosestCommonAncestor:()=>i.Ug0,findContributorForCrosswalk:()=>i.A1W,findLabelPattern:()=>i.sw,findNodeById:()=>i.nv3,findParentNodeById:()=>i.JgD,findParentNodes:()=>i.nve,findReferenceAttributeByRefEntityUri:()=>i.SkP,findRelatedTemporaryEntities:()=>i.SAs,findSiblingsAttributeValues:()=>i.i5L,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixLayout:()=>i.Aup,fixNonUniqViewsIds:()=>i.Mfk,flatAttributeTreeNode:()=>i.HQx,flatAttributeTreeNodeWithSimplesOnly:()=>i.oN$,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatRelevanceScore:()=>i.ped,formatTime:()=>i.mrB,generateEntityUrlForOldMode:()=>i.OuZ,generateNewRelationUri:()=>i.ncP,generatePivotingUrlForOldMode:()=>i.FQ2,generateTagUrlForOldMode:()=>i.W$R,generateTempDCRUri:()=>i.JOV,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getAccessToken:()=>i.hPi,getActionPermissionForMatch:()=>i.hXd,getActionPermissionForMatches:()=>i.OCS,getActivenessAttributes:()=>i.p2l,getActivities:()=>i.qF1,getActivitiesTotal:()=>i._X$,getActivityLabelsFromNewActivity:()=>i.yj2,getActorsForInteraction:()=>i.bzh,getAllAttributeTypesTree:()=>i.k66,getAllEntityTypesForGraphType:()=>i.kiP,getAllPaths:()=>i.pSg,getAllUsersForTenant:()=>i.kz_,getAnalyticsAttributeTypesTree:()=>i.H_U,getAnalyticsAttributesList:()=>i.t9e,getAssigneeForTask:()=>i.j2$,getAttrDataTypeDefinition:()=>i.PFL,getAttrTypeForFacet:()=>i.aJ3,getAttrTypeLookupCode:()=>i.To9,getAttributeByPath:()=>i.wpo,getAttributeOwnError:()=>i.ADq,getAttributePagerActiveErrors:()=>i.UUb,getAttributePagerActiveTypeErrorMessage:()=>i.tQX,getAttributeSource:()=>i.xy8,getAttributeTypeSubAttributes:()=>i.EUG,getAttributeTypeUriByValueUri:()=>i.AFK,getAttributeTypesHierarchyByUri:()=>i.X3M,getAttributeTypesTree:()=>i.WN0,getAttributeValue:()=>i.kDl,getAttributeValuePath:()=>i.uDV,getAttributeValuesByPath:()=>i.IhQ,getAttributeValuesByPathWithOvFlag:()=>i.pfb,getAttributeValuesUris:()=>i.R$r,getAttributesForMatchRules:()=>i.w80,getAttributesList:()=>i.Pfu,getAttributesListForEditMode:()=>i.Gtj,getAttributesListForReadMode:()=>i.fyF,getAttributesTreeFromAttributes:()=>i.kkq,getBaseUri:()=>i.u5q,getBusinessCardAttributes:()=>i.O$n,getBusinessCardAttributesText:()=>i.ptG,getChartItemColor:()=>i.f4_,getColorForId:()=>i.uap,getComment:()=>i.d7q,getComments:()=>i.liG,getCommentsCount:()=>i.$oF,getConnectionEntityUriPath:()=>i.avf,getConnectionRelationAttributesPath:()=>i.DiQ,getConnectionRelationDirectionPath:()=>i.cfX,getConnectionRelationEndDatePath:()=>i.vD3,getConnectionRelationObjectPath:()=>i.Qrb,getConnectionRelationStartDatePath:()=>i.EJQ,getConnectionRelationTypePath:()=>i.HWy,getConnectionRelationUriForLink:()=>i.gjS,getConnectionRelationUriPath:()=>i.y6v,getConsoleApps:()=>i.JUW,getContributorColor:()=>i.GtP,getCreatableAttributeTypes:()=>i._kX,getCreatableOrReadableAttributeTypes:()=>i.u1e,getCrosswalkAttributes:()=>i.sJj,getCrosswalkColor:()=>i.CJp,getCrosswalkId:()=>i.uKF,getCrosswalkTree:()=>i.wo0,getCrosswalkType:()=>i.s5,getCrosswalksTypes:()=>i.cwx,getCustomerTenantInfo:()=>i.Y6b,getDQChartsData:()=>i.TTx,getDTSubscriptions:()=>i.UtR,getDVF:()=>i.HaQ,getDataChangeRequest:()=>i.E6I,getDataTenantEntity:()=>i.Won,getDataTenantEntitySecondaryLabel:()=>i.vTU,getDataTenantEntityUri:()=>i.Nsy,getDataTenantFromCrosswalks:()=>i.KMQ,getDataTenantFromEntityUri:()=>i.Do$,getDataTenantSpecialAttributeFieldName:()=>i.CSV,getDataTenantsInfo:()=>i.TMe,getDataTypeDefinitionForFilterValue:()=>i.l1V,getDateRangeByDatePeriod:()=>i.RHh,getDateRangeByValue:()=>i.VQ1,getDateRangeOptions:()=>i.cGG,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getDvfColor:()=>i.jLA,getEditableAttributeTypeSubAttributes:()=>i.BoX,getEndObjectTypeUri:()=>i.GGR,getEndObjectUri:()=>i.j5q,getEntitiesByUris:()=>i.DnY,getEntitiesHierarchy:()=>i.RY5,getEntitiesMapForConnections:()=>i.Px$,getEntitiesMapForTransitiveMatches:()=>i.KPC,getEntitiesStats:()=>i.NIY,getEntity:()=>i.HvW,getEntityAttributesFromMetadata:()=>i.Fof,getEntityBySurvivorshipGroupUri:()=>i.BXy,getEntityColor:()=>i.fX,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityMatchRules:()=>i.q27,getEntityPerspectiveScreenItem:()=>i.vrC,getEntityPreviousChange:()=>i.fAQ,getEntitySecondaryLabel:()=>i.XkT,getEntityTimeSlice:()=>i.lrH,getEntityType:()=>i.nt9,getEntityTypeGraphIcon:()=>i.XH8,getEntityTypeImage:()=>i.XH2,getEntityTypeLabel:()=>i.jFi,getEntityTypeMatchAttributes:()=>i.qhs,getEntityUriForLink:()=>i.wwR,getEntityUriFromAttributeUri:()=>i.Uk3,getEntityUriFromDCRUri:()=>i.$Rg,getEntityUriFromMatchObject:()=>i.ev7,getEnvironmentSettings:()=>i.RB9,getErrorId:()=>i.iFp,getErrorMessage:()=>i.e$p,getErrorType:()=>i.PcX,getErrorUniqKey:()=>i.SpP,getFacetTitle:()=>i.R6_,getFacetTypeForAttrType:()=>i.CY1,getFacetedAttributeData:()=>i.Ajk,getFacetedAttributeDataWithSearchParams:()=>i.Yiz,getFacets:()=>i.FK9,getFileName:()=>i.UOo,getFillRate:()=>i.aTW,getFilterOptionArity:()=>i.uug,getFilterOptionForFacet:()=>i.P$2,getFilterOptionLabel:()=>i.XS2,getFilterOptionsForDataTypeDefinition:()=>i.Hyb,getFilterOptionsForQueryBuilder:()=>i.d3Y,getFilterOptionsForRelationshipQueryBuilder:()=>i.Klp,getFilterValueForFacet:()=>i.WxZ,getFilterValueLabel:()=>i.Gzu,getFilteredEntities:()=>i.ZOr,getFilteredEntitiesFromDataTenant:()=>i.uqV,getFirstElementIfArray:()=>i.Pm4,getFirstLevelSearchUri:()=>i.hWO,getFontColor:()=>i.nHA,getFullObjectsHierarchy:()=>i.nVD,getGlobalContextValue:()=>i._tF,getGraphSearchCount:()=>i.dED,getGraphSearchEntities:()=>i.P2h,getGraphType:()=>i.jrr,getGraphTypesForEntityType:()=>i.mmY,getGroupLabelByTypeUri:()=>i.T6O,getGroupTasksForTenant:()=>i.h6J,getGroupsFromSearchState:()=>i.hM2,getHash:()=>i.XR6,getHierarchyAncestors:()=>i.jmz,getHierarchyDescendants:()=>i.IHt,getHierarchyNodeEditorActiveError:()=>i.NZI,getHistoricUris:()=>i.wdF,getHistoryAppearanceBySpecialAttributeValue:()=>i.YNv,getHistoryAppearanceByUri:()=>i.IFm,getHistoryAttributeClassName:()=>i.o_F,getHistoryWithTotal:()=>i.kgP,getHops:()=>i.ZYI,getImageAttributeOvPreviewUrl:()=>i.QXK,getImageAttributeOvThumbnailUrl:()=>i.efz,getImageAttributeOvUrl:()=>i.Q5d,getImageAttributeThumbnailUrl:()=>i.Ysv,getInOutRelationTypesForEntityTypeUri:()=>i.UWq,getInOutRelations:()=>i.ocC,getInheritancePath:()=>i.io3,getInteractionAttributesFromMetadata:()=>i.Sbt,getInteractionType:()=>i.roS,getInteractionTypesForEntityType:()=>i.Ww1,getInteractions:()=>i.QaS,getIntervalUnitLabel:()=>i.wsP,getKeywordFromOldSearchState:()=>i.ERZ,getKeywordFromSearchState:()=>i.CL1,getLabel:()=>i.idV,getLastUriPart:()=>i.nIW,getLookupCodesFromFacets:()=>i.fjE,getLookupLabel:()=>i.sG0,getLookups:()=>i.tV7,getMapSearchLabel:()=>i.g8o,getMapSearchValues:()=>i.Qy,getMatchGroupLabelsForFacet:()=>i.t2P,getMatchGroups:()=>i.KbW,getMatchRuleLabel:()=>i.wId,getMatchRuleSummary:()=>i.TAC,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getMlDqData:()=>i.GFW,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getOvAttributeValuesByPathWithOvFlag:()=>i.BgZ,getOvAttributeValuesByPathWithUri:()=>i.xIV,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPivotingLabel:()=>i.kR6,getPotentialMatchesColor:()=>i.gFw,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileBandObjectIdsForCollaboration:()=>i.L5S,getProfileEntityWithHistoryDiff:()=>i.Ob5,getProfileEntityWithoutHistoryDiff:()=>i.KUV,getProfileObjectIdsForCollaboration:()=>i.dvH,getProfileViewsIdsByTypes:()=>i.V3i,getPropWithInheritance:()=>i.VD3,getRangeOptionLabel:()=>i.mm2,getRdmTenants:()=>i.rou,getReadableAttributeTypes:()=>i.izH,getReadableAttributesList:()=>i.DK$,getRecentSearches:()=>i.KMp,getReferencedAttrTypeUrisFromAttrType:()=>i.c31,getReferencedEntityActiveError:()=>i.mbo,getReferencedEntityAttrTypesUris:()=>i.gT8,getReferencedEntityFromAttrValue:()=>i.CZ8,getReferencedEntityTypeUri:()=>i.uGi,getReferencedEntityTypeUriFromAttrType:()=>i.Poc,getReferencedEntityTypeUriFromAttrValue:()=>i._9k,getReferencedEntityUri:()=>i.ZTM,getReferencedEntityUriFromAttrValue:()=>i.bwT,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.PUO,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypePropWithInheritance:()=>i.oSN,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequiredAttributeTypes:()=>i.Y_p,getRequiredAttributeTypesByTypeUri:()=>i.$k6,getResolvedLookupLabel:()=>i.Gdl,getResolvedLookupValue:()=>i.U6P,getResolvedLookupsForFacet:()=>i.OwB,getRestrictedObjectsHierarchy:()=>i.hTh,getRoleLabel:()=>i.xqc,getRolesForEntityType:()=>i.JvE,getRootFieldName:()=>i.i29,getRulesConfig:()=>i.dzT,getSavedSearch:()=>i.uPS,getSavedSearches:()=>i.cZV,getSearchGroupAttributeEntityTypeUri:()=>i.n3B,getSearchGroupAttributeLabel:()=>i.e6O,getSearchLink:()=>i.s7j,getSearchLinkState:()=>i.j$Q,getSingleAttributeEntity:()=>i.PeS,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantIconColor:()=>i.bsH,getTenantName:()=>i.u9Z,getTenantPermissions:()=>i.LCU,getTotalFromDataTenant:()=>i.J$m,getTotals:()=>i.j_Q,getTotalsForQuery:()=>i.OaI,getTransitiveMatchRules:()=>i.wB1,getTransitiveMatches:()=>i.SP6,getTransitiveMatchesForEntity:()=>i.ZYr,getTree:()=>i.IMU,getUIConfiguration:()=>i.FoU,getUnresolvedLookupsList:()=>i.DVz,getUnresolvedLookupsListFromSearchGroups:()=>i.mxe,getUrisForSaving:()=>i.FHr,getUserPreference:()=>i.D1g,getValidatedSortField:()=>i.VO3,getValidatedSortOrder:()=>i.de5,gif2Url:()=>i.Uw1,hasAttributeDescendantsWithErrors:()=>i.J6q,hasDependentLookupAttributes:()=>i.XCe,hasEntityInTree:()=>i.fbl,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,historyPalettes:()=>i.zXF,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,initializeWebWorker:()=>i.QWZ,insertDefaultImageByAttrUri:()=>i.YL3,intl:()=>i.NW9,isAbortError:()=>i.D_E,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeError:()=>i.Wah,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeForDataTenant:()=>i.fGG,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isAvailableRelationTypeUri:()=>i.pQZ,isAvailableTenantForEntityType:()=>i.oZ7,isBooleanType:()=>i.T6Y,isChangeRequestUri:()=>i.VRd,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDCRUri:()=>i.FP6,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValid:()=>i.RZp,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptyEntity:()=>i.lzc,isEmptySearchGroup:()=>i.qIF,isEmptyValue:()=>i.O27,isEntityImportedToCT:()=>i.aBi,isEntitySpecialAttrType:()=>i.xOX,isEntityTypeUri:()=>i.EdS,isEntityUri:()=>i.WgC,isEnumAttrType:()=>i.eEv,isFileFilterOption:()=>i.A4t,isFirstLevelAttributeUri:()=>i.YOQ,isFloatingType:()=>i.Wos,isFreemiumAdmin:()=>i.jWr,isImage:()=>i.Or$,isInHierarchy:()=>i.lhE,isLookupAttrType:()=>i.CwH,isMatchRuleAttrType:()=>i.pzC,isMultiValueOption:()=>i.ymH,isNested:()=>i.QZu,isNumericRangeFacet:()=>i.rYH,isNumericType:()=>i.FVt,isObject:()=>i.Kn2,isOrOperator:()=>i.jgw,isOutdatedDateRangeValue:()=>i.Qgr,isOv:()=>i.OXP,isPartOfErrorAttributeTypeUri:()=>i.nsY,isPartOfErrorParentUri:()=>i.vyG,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationCommandForUri:()=>i.kMF,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isRelationWithEntityType:()=>i.Ian,isReltioCrosswalk:()=>i.KVV,isRequired:()=>i.q9e,isResolvedLookupCode:()=>i.iIf,isRoleAttrType:()=>i.ian,isSSNType:()=>i.m6e,isSourceSystemAttrType:()=>i.OFd,isSpecialAttribute:()=>i.kqr,isSuggestMode:()=>i.fnZ,isTagAttrType:()=>i.VFZ,isTempUri:()=>i.ZiX,isTimestampBasedType:()=>i.j5n,isToday:()=>i.zkt,isTransitiveMatch:()=>i.Pcm,isTypeAttrType:()=>i.QDV,isTypeFacet:()=>i.M5u,isTypeSearchGroupAttribute:()=>i.laD,isTypeaheadAttrType:()=>i.mtq,isUnresolvedLookupCode:()=>i.CtB,isUrl:()=>i.CBv,isUrlType:()=>i.I0t,isValidRelationToAdd:()=>i.u1G,isValidSearchGroup:()=>i.gk1,isValidSearchGroupAttribute:()=>i.Bgb,isViewMode:()=>i.uzs,joinFilterStrings:()=>i.v0l,loadMetadata:()=>i.Zqp,localizeMetadata:()=>i.j0k,looseEquals:()=>i.l22,makeAttrTypeUri:()=>i.tCm,makeCompositeFilterOption:()=>i.gmx,mapFilterValue:()=>i.mOr,mapSearchTypeToFieldName:()=>i.TwZ,mapTree:()=>i.GyU,markAsNotMatch:()=>i.zGm,markDataTenantEntityAsNotMatch:()=>i.bMg,markEdited:()=>i.EyD,markIgnored:()=>i.FQA,markMixedEntitiesAsNotMatches:()=>i.fZN,markNew:()=>i.xsF,markRemoved:()=>i.Lxg,markSavedSearchAsFavorite:()=>i.O3l,markSavedSearchAsPublic:()=>i.Wni,marksJSONReplacer:()=>i.wRx,mergeCustomerTenantEntityWithMixedEntities:()=>i.OxG,mergeDataEntityWithCustomerEntity:()=>i.Jwg,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,multiValueFilter:()=>i.NPd,normalizeMetadata:()=>i.MrZ,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,optimizeCommands:()=>i.Jct,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseRelationsConfig:()=>i.fS6,parseTimestamp:()=>i.ZBU,partitionByMlMatch:()=>i.UkJ,pinAttribute:()=>i.xkv,populateDependentLookupsFromEntity:()=>i.z$M,postGraphExport:()=>i.KAm,prepareAttrDiff:()=>i.lCl,prepareEntityForValidation:()=>i.rkF,processDefinitions:()=>i.IU6,promiseAllSettled:()=>i.RGr,promisifyCallback:()=>i.aYu,promisifyProvider:()=>i.ije,rateRelation:()=>i.Buf,rawRequest:()=>i.YLu,referencedEntityAttributeTypesSelectionStrategy:()=>i.ct9,reinstateDataTenantEntityMatch:()=>i.XkY,reinstateMatch:()=>i.T5R,reinstateMixedEntitiesMatches:()=>i.uQS,relationEditorAttributeTypesSelectionStrategy:()=>i.wcJ,removeAttribute:()=>i.d$I,removeDtssPrefixFromEntityUri:()=>i.rSp,removeEntity:()=>i.Sx,removeEntityAttribute:()=>i.Ilm,removeEntitySpecialAttribute:()=>i.Ki6,removeRelation:()=>i.VGk,removeUnsupportedLayoutItems:()=>i.sFD,removeValuesFromDependentLookups:()=>i.eWN,replacePlaceholdersInQuery:()=>i.dWE,replaceTempUriInCommands:()=>i.Lkd,replaceTemporaryRefEntityURI:()=>i.aDL,requestForDataTenant:()=>i.yaA,resetUserPreference:()=>i.lOh,resolve:()=>i.DBr,resolveLookupsList:()=>i.hK$,runTaskAction:()=>i.TZ_,sanitizeTypesInSearchGroups:()=>i.CMB,saveEntity:()=>i.FU8,saveTemporaryEntities:()=>i.J$p,saveTemporaryEntity:()=>i.b5s,searchUriToAttrUri:()=>i.h2W,sendRequestFromCustomSandbox:()=>i.SL_,sendWorkflowRequest:()=>i.oUH,setAsMatch:()=>i.ck9,setGlobalContextValue:()=>i.RAb,setLookupStrategy:()=>i.nL,setMinHeightForDashboardWidgets:()=>i.k$p,setRequestProvider:()=>i.Xs0,setUserPreference:()=>i.u7I,shiftDownOperators:()=>i.rxg,shiftUpOperators:()=>i.bji,shouldUseValidationService:()=>i.oCZ,sortTreeChildren:()=>i.MjG,startProcessFromQuery:()=>i.FuV,startProcessInstance:()=>i.$ju,startProcessInstanceByPairs:()=>i.t6d,svg2Url:()=>i.m5F,syncAttributeTypeWithDependentLookups:()=>i.sx,theme:()=>i.rSc,typeAheadSearch:()=>i.U10,unmergeContributor:()=>i.L8n,unsubscribeEntityFromDataTenantEntity:()=>i.R9X,updateActivenessAttribute:()=>i.rj2,updateAssigneeForTask:()=>i._C4,updateAttribute:()=>i.tCj,updateComment:()=>i.uAg,updateConnectionEntityLabel:()=>i.wx9,updateDueDateForTask:()=>i.KF3,updatePriorityForTask:()=>i.ax9,updateRelation:()=>i.HH7,updateReply:()=>i.ufV,updateSavedSearch:()=>i._6y,updateTreesWithNewEntity:()=>i.XTh,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,userPreferencesComparator:()=>i.oss,utils:()=>i.P6Y,validateComplexAttribute:()=>i.q5j,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateFilterValue:()=>i.jtL,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInBrackets:()=>i.tM8,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(95023)}}]);
|
package/5400.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5400],{79821:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(49885),a=r(85216),s=r(97991);const c=(0,r(79692).Z)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),p=(0,a.XH8)(r,{type:t.id}),d=(0,a.vPL)(u,p);return o().createElement(s.Z,{className:n.icon,icon:d,avatarText:t.title[0]})}},99757:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(71153),s=r.n(a),c=r(17440),u=r(97820),p=r(54763),d=r(45767),m=r(95613),b=r(22385),f=r(79692);const h=(0,f.Z)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(b.Z,{size:"M",icon:d.Z,disabled:l}))};var x=r(85216);function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>j(e,t,r,n,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>j(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(94079),L=r(49885),R=r(7785),Z=r(44890),D=r(27239),A=r(79821);const F=(0,f.Z)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},B.apply(this,arguments)}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(L.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:p}=i;const d=C(s,t),m=a===n;return o().createElement(R.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:d,data:W({},s,{groupName:p}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.ListItem,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(56656);const H=(0,f.Z)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:d,onRestoreFocus:m=c.identity,onOpenPopup:b=c.identity,disableRestoreFocus:f=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),L=!!j,[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>P(R,r)),[r,R]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),G=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),U=(0,n.useRef)(),K=(0,n.useCallback)(((e,t)=>{d({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),G({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),U.current&&U.current.focus())}),[A,d,g,G,U]),X=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:K,selectedAttributes:A}),[K,A]),{focusIndex:_,handleKeyDown:q}=(0,p.t)({items:$,open:L,onSelectFocusedItem:X,selectedItems:A,onClose:G});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{b(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:L,anchorEl:j,onClose:G,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:U,disableRestoreFocus:f,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:K,selectedAttributes:A,width:V,height:400,focusIndex:_,hideCheckBox:S})))}))},74566:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(73038),s=r(58241),c=r(71153),u=r.n(c);const p=(0,r(79692).Z)((()=>({hidden:{visibility:"hidden"}}))),d=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=p(),{toggleRowCollapse:c,getIsRowCollapsible:d,getIsRowCollapsed:m}=(0,n.useContext)(a.x),b=d(r),f=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!b}),isOpen:!f,onClick:e=>{c(t),e.stopPropagation()}})};d.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=d},43290:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440);const s=(0,r(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},89119:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(87918),s=r.n(a),c=r(71153),u=r.n(c),p=r(17440),d=r(85216),m=r(97820),b=r(7785),f=r(56656),h=r(44890),g=r(54763),y=r(27239);const x=(0,r(79692).Z)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,n.useMemo)((()=>{const e=(0,p.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(j);return(I?p.map:p.chain)(l,i)};return t}),[c,I,j]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),L=(0,n.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),R=(0,n.useMemo)((()=>(0,f.LG)(L)),[L]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:R,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(b.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,d.fW1)("label")(L)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:R,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},27652:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(4190),i=r(60364);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),p=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),p);return()=>clearTimeout(e)}u(!0)}}),[t,p,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},59725:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(85216),s=r(42520);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:m={},disabled:b=!1}=e;const f=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:f,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:m,disabled:b,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},42520:(e,t,r)=>{r.d(t,{S:()=>T});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440),s=r(85216),c=r(94079),u=r(83543),p=r(79692);const d=(0,p.Z)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),m=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),f=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,h=e=>{let{list:t,maxWidth:r}=e;const l=d(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=m(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const u=b(t),p=a>0,h=p?b(t.slice(0,-a)):u;return o().createElement(c.Tooltip,{title:p?u:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:f(r)},className:l.listLabel,ref:i},u),o().createElement("div",{className:l.visibleItemsLabel},h),p&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var g=r(22385),y=r(97820),x=r(54763),w=r(7785),v=r(27239),O=r(44890);function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}const S=(0,a.always)(32),I=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(O.Z,C({getItemSize:S,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(w.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(v.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));I.displayName="SelectMetadataTypesList";const E=(0,p.Z)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&[disabled]":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){P(e,t,r[t])}))}return e}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:p,onChange:d,ListLabelProps:m={},disabled:b,enableEmptyValueUnderline:f,single:w,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=E(),[P,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),L=(0,n.useCallback)((()=>T(!1)),[]),[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,L),[L,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,R)})).map(((e,t)=>({item:{item:j({},e,{filterText:R})},index:t}))),B=(0,n.useMemo)((()=>p.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[p,l]),W=(0,n.useCallback)(((e,t)=>{w?(d(t?[e.uri]:[]),A()):d(t?p.concat(e.uri):p.filter((t=>t!==e.uri)))}),[p,d,w,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!p.includes(t.uri);W(t,r)}),[p,W]),{focusIndex:z,handleKeyDown:M}=(0,x.t)({items:F,open:P,onSelectFocusedItem:$,selectedItems:p,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,G=Math.max(V,255),U=0===p.length;return o().createElement(o().Fragment,null,o().createElement(c.TextField,{label:v,ref:H,InputProps:{startAdornment:U&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},U?o().createElement("div",null,t):o().createElement(h,k({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:U&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:b}),underline:S.disabledUnderline},endAdornment:o().createElement(g.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:P}),disabled:b}),readOnly:!0,disabled:!0,disableUnderline:U&&!f},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:b?void 0:N,classes:{root:i()(S.root,r.root)},margin:"dense",variant:"filled",disabled:b,"data-reltio-id":O}),o().createElement(y.Z,{open:P,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:G,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(I,{items:F,onItemClick:W,selectedItems:p,width:G,height:245,focusIndex:z})))}));T.displayName="MetadataTypesSelector"},17349:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(87918),u=r.n(c),p=r(6782),d=r(79692);const m="46px",b=(0,d.Z)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:m},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:m}}))),f=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,p.Z)(r.operator):u().text("Where"))};f.propTypes={className:i().string,rowData:i().object};const h=f;var g=r(85216);const y=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,g.XS2)(r.filter):u().text("equals"))};var x=r(94656);const w=(0,d.Z)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:u,filterSelectorRef:p,attributeSelectorProps:d={}}=e,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const b=w();return o().createElement("div",{className:s()(b.row,t.root)},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:n}),o().createElement("div",{className:s()(b.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:d,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:p,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,b.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.actionsContainer,{[b.hidden]:!r})},o().createElement(u,{rowContext:m,rowData:r})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,n.memo)(v)},41315:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(17440),s=r(17349),c=r(94656);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const p=e=>{let{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const d=(e,t,n)=>{const d=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:d,classes:r,filterSelectorRef:t===c?i:void 0},p,m))};return o().createElement("div",{className:t},n.map(d),d(null,n.length,n))};p.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const d=(0,n.memo)(p)},50905:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(17440);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5400],{79821:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(49885),a=r(95023),s=r(97991);const c=(0,r(79692).Z)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),p=(0,a.XH8)(r,{type:t.id}),d=(0,a.vPL)(u,p);return o().createElement(s.Z,{className:n.icon,icon:d,avatarText:t.title[0]})}},99757:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(71153),s=r.n(a),c=r(17440),u=r(97820),p=r(54763),d=r(45767),m=r(95613),b=r(22385),f=r(79692);const h=(0,f.Z)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(b.Z,{size:"M",icon:d.Z,disabled:l}))};var x=r(95023);function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>j(e,t,r,n,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>j(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(94079),L=r(49885),R=r(7785),Z=r(44890),D=r(27239),A=r(79821);const F=(0,f.Z)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},B.apply(this,arguments)}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(L.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:p}=i;const d=C(s,t),m=a===n;return o().createElement(R.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:d,data:W({},s,{groupName:p}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.ListItem,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(56656);const H=(0,f.Z)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:d,onRestoreFocus:m=c.identity,onOpenPopup:b=c.identity,disableRestoreFocus:f=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),L=!!j,[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>P(R,r)),[r,R]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),G=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),U=(0,n.useRef)(),K=(0,n.useCallback)(((e,t)=>{d({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),G({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),U.current&&U.current.focus())}),[A,d,g,G,U]),X=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:K,selectedAttributes:A}),[K,A]),{focusIndex:_,handleKeyDown:q}=(0,p.t)({items:$,open:L,onSelectFocusedItem:X,selectedItems:A,onClose:G});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{b(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:L,anchorEl:j,onClose:G,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:U,disableRestoreFocus:f,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:K,selectedAttributes:A,width:V,height:400,focusIndex:_,hideCheckBox:S})))}))},74566:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(73038),s=r(58241),c=r(71153),u=r.n(c);const p=(0,r(79692).Z)((()=>({hidden:{visibility:"hidden"}}))),d=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=p(),{toggleRowCollapse:c,getIsRowCollapsible:d,getIsRowCollapsed:m}=(0,n.useContext)(a.x),b=d(r),f=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!b}),isOpen:!f,onClick:e=>{c(t),e.stopPropagation()}})};d.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=d},43290:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440);const s=(0,r(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},89119:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(87918),s=r.n(a),c=r(71153),u=r.n(c),p=r(17440),d=r(95023),m=r(97820),b=r(7785),f=r(56656),h=r(44890),g=r(54763),y=r(27239);const x=(0,r(79692).Z)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,n.useMemo)((()=>{const e=(0,p.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(j);return(I?p.map:p.chain)(l,i)};return t}),[c,I,j]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),L=(0,n.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),R=(0,n.useMemo)((()=>(0,f.LG)(L)),[L]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:R,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(b.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,d.fW1)("label")(L)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:R,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},27652:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(4190),i=r(60364);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),p=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),p);return()=>clearTimeout(e)}u(!0)}}),[t,p,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},59725:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(95023),s=r(42520);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:m={},disabled:b=!1}=e;const f=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:f,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:m,disabled:b,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},42520:(e,t,r)=>{r.d(t,{S:()=>T});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440),s=r(95023),c=r(94079),u=r(83543),p=r(79692);const d=(0,p.Z)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),m=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),f=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,h=e=>{let{list:t,maxWidth:r}=e;const l=d(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=m(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const u=b(t),p=a>0,h=p?b(t.slice(0,-a)):u;return o().createElement(c.Tooltip,{title:p?u:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:f(r)},className:l.listLabel,ref:i},u),o().createElement("div",{className:l.visibleItemsLabel},h),p&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var g=r(22385),y=r(97820),x=r(54763),w=r(7785),v=r(27239),O=r(44890);function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}const S=(0,a.always)(32),I=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(O.Z,C({getItemSize:S,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(w.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(v.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));I.displayName="SelectMetadataTypesList";const E=(0,p.Z)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&[disabled]":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){P(e,t,r[t])}))}return e}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:p,onChange:d,ListLabelProps:m={},disabled:b,enableEmptyValueUnderline:f,single:w,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=E(),[P,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),L=(0,n.useCallback)((()=>T(!1)),[]),[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,L),[L,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,R)})).map(((e,t)=>({item:{item:j({},e,{filterText:R})},index:t}))),B=(0,n.useMemo)((()=>p.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[p,l]),W=(0,n.useCallback)(((e,t)=>{w?(d(t?[e.uri]:[]),A()):d(t?p.concat(e.uri):p.filter((t=>t!==e.uri)))}),[p,d,w,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!p.includes(t.uri);W(t,r)}),[p,W]),{focusIndex:z,handleKeyDown:M}=(0,x.t)({items:F,open:P,onSelectFocusedItem:$,selectedItems:p,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,G=Math.max(V,255),U=0===p.length;return o().createElement(o().Fragment,null,o().createElement(c.TextField,{label:v,ref:H,InputProps:{startAdornment:U&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},U?o().createElement("div",null,t):o().createElement(h,k({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:U&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:b}),underline:S.disabledUnderline},endAdornment:o().createElement(g.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:P}),disabled:b}),readOnly:!0,disabled:!0,disableUnderline:U&&!f},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:b?void 0:N,classes:{root:i()(S.root,r.root)},margin:"dense",variant:"filled",disabled:b,"data-reltio-id":O}),o().createElement(y.Z,{open:P,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:G,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(I,{items:F,onItemClick:W,selectedItems:p,width:G,height:245,focusIndex:z})))}));T.displayName="MetadataTypesSelector"},17349:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(87918),u=r.n(c),p=r(6782),d=r(79692);const m="46px",b=(0,d.Z)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:m},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:m}}))),f=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,p.Z)(r.operator):u().text("Where"))};f.propTypes={className:i().string,rowData:i().object};const h=f;var g=r(95023);const y=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,g.XS2)(r.filter):u().text("equals"))};var x=r(94656);const w=(0,d.Z)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:u,filterSelectorRef:p,attributeSelectorProps:d={}}=e,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const b=w();return o().createElement("div",{className:s()(b.row,t.root)},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:n}),o().createElement("div",{className:s()(b.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:d,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:p,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,b.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.actionsContainer,{[b.hidden]:!r})},o().createElement(u,{rowContext:m,rowData:r})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,n.memo)(v)},41315:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(17440),s=r(17349),c=r(94656);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const p=e=>{let{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const d=(e,t,n)=>{const d=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:d,classes:r,filterSelectorRef:t===c?i:void 0},p,m))};return o().createElement("div",{className:t},n.map(d),d(null,n.length,n))};p.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const d=(0,n.memo)(p)},50905:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(17440);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
|
|
2
2
|
//# sourceMappingURL=5400.js.map
|