@reltio/remotes 1.4.1182 → 1.4.1186
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/1920.js +1 -1
- package/1957.js +1 -1
- package/1957.js.map +1 -1
- package/2114.js +1 -1
- package/2378.js +3 -0
- package/{7621.js.LICENSE.txt → 2378.js.LICENSE.txt} +0 -0
- package/2378.js.map +1 -0
- package/2396.js +2 -0
- package/2396.js.map +1 -0
- package/2498.js +2 -0
- package/2498.js.map +1 -0
- package/2890.js +1 -1
- package/3029.js +2 -0
- package/3029.js.map +1 -0
- package/3126.js +1 -1
- package/3698.js +2 -0
- package/3698.js.map +1 -0
- package/3981.js +1 -1
- package/3981.js.map +1 -1
- package/{8581.js → 4013.js} +2 -2
- package/4013.js.map +1 -0
- package/4132.js +1 -1
- package/4132.js.map +1 -1
- package/4277.js +1 -1
- package/4277.js.map +1 -1
- package/4361.js +1 -1
- package/4374.js +3 -0
- package/{5026.js.LICENSE.txt → 4374.js.LICENSE.txt} +0 -0
- package/4374.js.map +1 -0
- package/4582.js +1 -1
- package/4689.js +1 -1
- package/4843.js +1 -1
- package/4889.js +1 -1
- package/5243.js +2 -0
- package/5243.js.map +1 -0
- package/5276.js +2 -0
- package/5276.js.map +1 -0
- package/5400.js +1 -1
- package/5709.js +1 -1
- package/5720.js +1 -1
- package/5884.js +1 -1
- package/5884.js.map +1 -1
- package/{1196.css → 604.css} +1 -1
- package/604.css.map +1 -0
- package/604.js +2 -0
- package/604.js.map +1 -0
- package/621.js +1 -1
- package/6303.js +2 -0
- package/6303.js.map +1 -0
- package/6596.js +1 -1
- package/6710.js +1 -1
- package/6710.js.map +1 -1
- package/737.js +2 -0
- package/737.js.map +1 -0
- package/7820.js +2 -0
- package/7820.js.map +1 -0
- package/8896.js +2 -0
- package/8896.js.map +1 -0
- package/8969.js +1 -1
- package/8969.js.map +1 -1
- package/9062.js +2 -0
- package/9062.js.map +1 -0
- package/9306.js +2 -0
- package/9306.js.map +1 -0
- package/9431.js +1 -1
- package/9431.js.map +1 -1
- package/9551.js +1 -1
- package/9609.js +2 -0
- package/9609.js.map +1 -0
- package/9630.js +1 -1
- package/9838.js +1 -1
- package/9838.js.map +1 -1
- package/main.js +1 -1
- package/main.js.map +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/1136.js +0 -2
- package/1136.js.map +0 -1
- package/1196.css.map +0 -1
- package/1196.js +0 -2
- package/1196.js.map +0 -1
- package/1406.js +0 -2
- package/1406.js.map +0 -1
- package/350.js +0 -2
- package/350.js.map +0 -1
- package/366.js +0 -2
- package/366.js.map +0 -1
- package/3745.js +0 -2
- package/3745.js.map +0 -1
- package/5026.js +0 -3
- package/5026.js.map +0 -1
- package/5198.js +0 -2
- package/5198.js.map +0 -1
- package/5797.js +0 -2
- package/5797.js.map +0 -1
- package/6971.js +0 -2
- package/6971.js.map +0 -1
- package/7147.js +0 -2
- package/7147.js.map +0 -1
- package/7526.js +0 -2
- package/7526.js.map +0 -1
- package/7621.js +0 -3
- package/7621.js.map +0 -1
- package/8419.js +0 -2
- package/8419.js.map +0 -1
- package/8581.js.map +0 -1
- package/9503.js +0 -2
- package/9503.js.map +0 -1
- package/9983.js +0 -2
- package/9983.js.map +0 -1
package/3126.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3126],{52391:(e,t,n)=>{n.d(t,{Z:()=>te});var r=n(24328),l=n.n(r),a=n(52730),o=n(17440),i=n(59431),c=n(56306);function u(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){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(e,t,n,r)=>{const l=(0,c.jFi)(e,{type:n}),a=t.label||t.name;return u({attrType:t,title:a},(0,c.kqr)(t)?{fieldName:t.name}:{entityTypeUri:n,pathToTitle:Array.isArray(r)?[l,...r,a]:[l,a],fieldName:(0,c.Tde)(t.uri)})},m=function(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const a=u({},r(e,t,n,l),{uri:t.uri}),o=t.children?t.children.map((a=>m(e,a,n,r,l.concat(t.label)))):[];return o.length&&(a.children=o),a},p=(e,t)=>{let n;const r=(e,t)=>{for(const l of t){if(e===l.fieldName)return void(n=l);"children"in l&&r(e,l.children)}};return r(e,t),n},f=(e,t)=>e?e.find((e=>e.value===t)):null;var g=n(87918),v=n.n(g),h=n(6782),b=n(31517),y=n(79692);const x=(0,y.Z)({dropDownSelector:{width:"100%"}}),C=(0,r.memo)((e=>{let{rowData:t,rowContext:n,textFieldInputRef:a}=e;const i=x(),{attribute:{attrType:u={},fieldName:s=null}={},filter:d,id:m}=t||{},{changeFilter:p}=n,g=u&&s&&(0,o.pipe)(c.d3Y,(0,o.map)((e=>({value:e,label:(0,h.Z)((0,c.XS2)(e))}))))(u,s),y=(0,r.useCallback)((e=>{const t={fieldName:s,filter:e.value,values:[]};p(t,m)}),[p,m,s]);return(0,r.useEffect)((()=>{(s&&!d||s&&!f(g,d))&&y(g[0])}),[s,d,y,g]),l().createElement(b.Z,{label:"",height:40,isDisabled:!g,placeholder:v().text("Equals"),value:f(g,d),options:g,onChange:y,className:i.dropDownSelector,textFieldInputRef:a})}));var w=n(87685),E=n(74443),O=n(8818);function D(){return D=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},D.apply(this,arguments)}const k=e=>l().createElement("svg",D({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",focusable:"false"},e),l().createElement("defs",null,l().createElement("path",{d:"M20.222 6C21.21 6 22 6.8 22 7.778v12.444C22 21.2 21.209 22 20.222 22H7.778C6.79 22 6 21.2 6 20.222V7.778C6 6.8 6.791 6 7.778 6h12.444zM8 8v12h12V8H8zM4 18H2V4c0-1.1.9-2 2-2h14v2H4v14z",id:"Duplicate_svg__a"})),l().createElement("g",{transform:"translate(-2 -2)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"Duplicate_svg__b",fill:"#fff"},l().createElement("use",{xlinkHref:"#Duplicate_svg__a"})),l().createElement("g",{mask:"url(#Duplicate_svg__b)",fill:"#000",fillOpacity:.54},l().createElement("path",{d:"M0 0h24v24H0z"})))),R=(0,y.Z)((()=>({actions:{width:"88px",height:"24px",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0,"& >span":{cursor:"pointer",display:"flex"},"& $actionIcon":{cursor:"pointer",color:"rgba(0, 0, 0, .54)"}},actionIcon:{}}))),I=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const a=R(),{id:o,attribute:i}=t||{},{addRowAfterIndex:c,removeRow:u,duplicateRow:s}=n,d=(0,r.useCallback)((()=>{c(o)}),[c,o]),m=(0,r.useCallback)((()=>{s(o)}),[s,o]),p=(0,r.useCallback)((()=>{u(o)}),[o,u]);return l().createElement("div",{className:a.actions},l().createElement(O.k,{tooltipTitle:v().text("Add"),icon:E.Z,size:"M",onClick:d}),i&&l().createElement(O.k,{tooltipTitle:v().text("Duplicate"),icon:k,size:"M",onClick:m}),l().createElement(O.k,{tooltipTitle:v().text("Delete"),icon:w.default,size:"M",onClick:p}))}));var N=n(41315),H=n(99757);const S=(0,r.memo)((e=>{let{rowData:t,rowContext:n,attributeSelectorProps:a}=e;const{attribute:o,id:i,filter:u}=t||{},{changeFilter:s,addNewFilter:d,attributesGroup:m}=n,p=(0,r.useCallback)((e=>(0,c.e6O)({data:e})),[]),f=(0,r.useMemo)((()=>[{id:"",title:"",attributes:m}]),[m]),g=(0,r.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:u,values:[]};s(t,i)}else d({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[d,s,i,t,u]);return l().createElement(H.Z,{itemsGroups:f,ungroup:!0,single:!0,value:o,getLabel:p,onSelect:g,onOpenPopup:a.onOpen})}));var M=n(24754),P=n(96808),j=n(12079),Z=n(36179),T=n(82455),B=n(92575),F=n(31276);function V(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 L=(0,y.Z)((e=>({option:{paddingLeft:"35px"},dropdownIndicator:{cursor:"pointer",color:e.palette.text.secondary,marginTop:0,marginBottom:0},clearIndicator:{display:"none"}}))),W={input:e=>V({},e,{fontSize:"14px"}),menuPortal:e=>V({},e,{zIndex:1300}),menuList:e=>V({},e,{maxHeight:"240px",padding:"8px 0"}),menu:e=>V({},e,{maxHeight:"240px"})};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){A(e,t,n[t])}))}return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const q=e=>{let{values:t=[],onChange:n,options:a,fullWidth:i,TextFieldProps:u={}}=e;const s=L(),d=(0,r.useRef)(null),m=(0,r.useCallback)((e=>a.find((t=>t.value===e))||{value:e,label:e}),[a]),p=(0,r.useMemo)((()=>t.map(m)),[m,t]),{InputProps:f={},className:g}=u,v=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(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)&&(l[n]=e[n])}return l}(u,["InputProps","className"]);return l().createElement(B.Z,{value:p,onChange:(0,o.pipe)((0,o.defaultTo)([]),(0,o.pluck)("value"),n),options:a,TextFieldProps:_({InputProps:_({disableUnderline:(0,c.O27)(t)},f),variant:"filled",className:g,ref:d},v),components:{DropdownIndicator:P.Z,Option:j.Z,Menu:Z.Z,MultiValue:T.Z,IndicatorSeparator:F.Vd},inputRef:d,classes:s,styles:_({},W,{container:e=>_({},e,i?{width:"100%"}:{})}),menuPortalTarget:document.body})};q.displayName="MultiValueSelector";const $=(0,r.memo)(q);let U;!function(e){e.matchRules="matchRules",e.MLRecommendedMatch="MLRecommendedMatch"}(U||(U={}));const G=e=>{let{name:t,values:n,onChange:o,entityType:u,TextFieldProps:s,fullWidth:d}=e;const m=(0,a.useSelector)(i.ZP.selectors.getMetadata),[p,f]=(0,r.useMemo)((()=>(0,c.UkJ)((0,c.KbW)(m,null==u?void 0:u.uri))),[null==u?void 0:u.uri,m]),g=(0,r.useMemo)((()=>function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{label:t,uri:n}=e;return{label:t,value:n}}))}(t===U.matchRules?f:p)),[t,f,p]);return l().createElement($,{values:n,onChange:o,options:g,TextFieldProps:s,fullWidth:d})};G.displayName="MatchRulesSelector";const X=G,J=(0,y.Z)({input:{margin:0,borderRadius:"4px",width:"100%",paddingTop:0,paddingBottom:0},root:{borderRadius:"4px 4px 0 0",padding:0,display:"flex",alignItems:"center",margin:0},valuesEditor:{display:"flex",alignItems:"center",width:"222px!important",minHeight:"40px",flexShrink:0}}),K=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const a=J(),o=(null==t?void 0:t.attribute)&&(0,c.wNf)(t.filter),{changeFilter:i,entityType:u}=n,{values:s=[],attribute:{attrType:d,fieldName:m=null}={},filter:p,id:f}=t||{},g=d&&(0,c.PFL)(d),v=g&&(0,c.l1V)(g,p),h=(0,r.useMemo)((()=>({filter:p,fieldName:m,values:s||[]})),[p,m,s]),b=(0,r.useMemo)((()=>({InputProps:{classes:{root:a.input}}})),[a]),y=(0,r.useMemo)((()=>({root:a.root})),[a]),x=(0,r.useCallback)((e=>{i({fieldName:m,filter:p,values:e},f)}),[i,f,m,p]);return l().createElement("div",{className:a.valuesEditor},(null==t?void 0:t.attribute)&&o&&((0,c.pzC)(d)?l().createElement(X,{entityType:u,name:d.name,values:s,onChange:x,TextFieldProps:b,fullWidth:!0}):l().createElement(M.Z,{filter:h,onChange:x,dataTypeDefinition:v,fullWidth:!0,TextFieldProps:b,color:"primary",classes:y,orientation:"horizontal"})))})),Y=(0,y.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),Q={fieldName:null,filter:null,values:[]},ee=()=>null,te=(0,r.memo)((e=>{let{attributeTypes:t,filters:n,onChange:u}=e;const s=(0,a.useSelector)(i.ZP.selectors.getMetadata),f=(0,c.nt9)(s,(e=>{const t=e.find((e=>!(0,c.kqr)(e)));return t?(0,c.u5q)(t.uri):null})(t)),{attrSelector:g,filterSelector:v,actionContainer:h}=Y(),b=(0,r.useRef)(n);b.current=n;const y=(0,r.useRef)(null),x=(0,r.useRef)(null),w=(0,r.useRef)(null),E=(0,r.useMemo)((()=>({attributeSelectorContainer:g,filterSelectorContainer:v,actionsContainer:h})),[g,v,h]),O=(0,r.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(0,c.kkq)(e,n).map((e=>{const r=(0,c.kqr)(e)?null:t.uri;return m(n,e,r,d)}))}(t,f,s)),[t,s,f]),D=(0,r.useMemo)((()=>n.length?((e,t)=>e.map(((e,n)=>({attribute:e.fieldName?p(e.fieldName,t):void 0,filter:e.filter,id:n,values:e.values}))))(n,O):[]),[O,n]);w.current=D.length,(0,r.useEffect)((()=>{y.current&&x.current!==w.current&&(y.current.querySelector("input").focus(),x.current=null)}),[D.length]);const k=(0,r.useCallback)((()=>{x.current=D.length}),[D.length]),R=(0,r.useMemo)((()=>({onOpen:k})),[k]),H=(0,r.useCallback)((e=>{const t=[...b.current];t.splice(e+1,0,Q),u(t)}),[u]),M=(0,r.useCallback)((e=>{const t=[...b.current];t.splice(e,1),u(t)}),[u]),P=(0,r.useCallback)((e=>{const t=[...b.current];t.splice(e+1,0,{fieldName:b.current[e].fieldName,filter:b.current[e].filter,values:b.current[e].values}),u(t)}),[u]),j=(0,r.useCallback)(((e,t)=>{const n=(0,o.evolve)({[t]:(0,o.always)(e)},b.current);u(n)}),[u]),Z=(0,r.useCallback)((e=>{u([...b.current,e])}),[u]);return l().createElement(N.Z,{rowClasses:E,rowsData:D,AttributeSelectorComponent:S,FilterSelectorComponent:C,ValuesEditorComponent:K,ActionsComponent:I,LogicOperatorComponent:ee,filterSelectorRefIndex:x.current,filterSelectorRef:y,lastRowAttributeSelectorProps:R,attributesGroup:O,changeFilter:j,addNewFilter:Z,addRowAfterIndex:H,removeRow:M,duplicateRow:P,entityType:f})}))},63172:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),l=n.n(r),a=n(87918),o=n.n(a),i=n(94079),c=n(36444),u=n(56306),s=n(52391),d=n(79692);function m(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){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={alignSelf:"center"},g=(0,d.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:m({},f,{marginRight:"16px"}),cancelButton:m({},f,{marginLeft:"auto"}),clearButon:m({},f)}))),v=e=>{let{onClear:t,onCancel:n,onApply:r}=e;const a=g();return l().createElement("div",{className:a.buttonsWrapper},l().createElement(i.Button,{onClick:t,variant:"text",color:"default",className:a.clearButon},o().text("Clear all")),l().createElement(i.Button,{onClick:n,variant:"text",color:"default",className:a.cancelButton},o().text("Cancel")),l().createElement(i.Button,{onClick:r,variant:"text",color:"primary",className:a.applyButton},o().text("Apply")))};var h=n(41128);const b=(0,d.Z)((e=>({triggerButton:{minWidth:0,color:"rgba(0,0,0,0.54)",width:"40px",marginLeft:"auto",marginRight:"12px"},filtersBuilderWrapper:{marginTop:"20px"},popupContent:{paddingLeft:"16px",paddingTop:"20px",paddingBottom:"6px",width:"770px"},divider:{marginBottom:"14px",marginLeft:"-16px",background:"rgba(0, 0, 0, 0.121569)"},changedFiltersIndicator:{backgroundColor:(0,h.U1)(e.palette.primary.main,.12)}}))),y=(0,r.memo)((e=>{let{filters:t,attributeTypes:n,onChange:a}=e;const d=b(),m=(0,r.useRef)(),[p,f]=(0,r.useState)(!1),[g,h]=(0,r.useState)([]),y=(0,u.Uqd)()(t)?"primary":"inherit",x=()=>f((e=>!e));(0,r.useEffect)((()=>{p&&h(t)}),[t,p]);const C=(0,r.useCallback)((()=>{a(g),x()}),[g,a]),w=(0,r.useCallback)((()=>{x()}),[]),E=(0,r.useCallback)((()=>{h([])}),[]);return l().createElement(l().Fragment,null,l().createElement(i.Button,{ref:m,color:y,classes:{root:d.triggerButton,textPrimary:d.changedFiltersIndicator},onClick:x},l().createElement(c.Z,{color:y})),l().createElement(i.Popover,{open:p,classes:{paper:d.popupContent},anchorEl:m.current,onClose:x,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},l().createElement(l().Fragment,null,l().createElement(i.Typography,{variant:"h6"},o().text("Filter")),l().createElement("div",{className:d.filtersBuilderWrapper},l().createElement(s.Z,{attributeTypes:n,filters:g,onChange:h})),l().createElement(i.Divider,{className:d.divider}),l().createElement(v,{onApply:C,onCancel:w,onClear:E}))))}))},46177:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(24328),l=n.n(r),a=n(13980),o=n.n(a),i=n(21697),c=n(14838),u=n(25461),s=n(17440),d=n(22273),m=n(73038);function p(){return p=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},p.apply(this,arguments)}const f=e=>{let{rowsData:t,columnsData:n,renderRowCell:a=c.Z,getRowCellHeight:f=u.Z,defaultRowHeight:g=48,maxRowValuesCount:v=1/0}=e;const{tableRowsData:h,collapseContextValue:b}=(0,d.Z)({rowsData:t,columnsData:n,renderRowCell:a,getRowCellHeight:f,maxRowValuesCount:v});return(0,r.useMemo)((()=>{const e=h.reduce(((e,t,n)=>{const{data:r}=t;return e[n]=(0,i.calculateRowHeight)(r,g),e}),{}),t=(t,n,r)=>{const l=[t,"subRowHeight",n,r,"height"];return(0,s.pathOr)(0,l,e)},r=t=>(0,s.pathOr)(0,[t,"height"],e),a=e=>{let{columnId:a,rowIndex:o}=e,c=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(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)&&(l[n]=e[n])}return l}(e,["columnId","rowIndex"]);return l().createElement(m.x.Provider,{value:b},l().createElement("div",p({},c,{style:{height:r(o)}}),h.length>0&&(0,i.getCellContentFromRowsData)({columnIndex:n.findIndex((0,s.propEq)("id",a)),headData:n,rowsData:h,rowIndex:o,getHeightForSubRow:t})))};return a.propTypes={columnId:o().string,rowIndex:o().number},{getRowHeight:r,CellRenderer:a}}),[h,g,b,n])}},35071:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(13980),l=n.n(r),a=n(24328),o=n.n(a),i=n(73272),c=n(58241);function u(){return u=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},u.apply(this,arguments)}const s=e=>o().createElement("svg",u({viewBox:"0 0 20 20"},e),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 10L14 5.5V9h-3.5L5 3.5 3.5 5l6.04 6H14v3.5l4.5-4.5zM7.04 11.455L3.5 15 5 16.5l3.54-3.545-1.5-1.5z"}));var d=n(87918),m=n.n(d),p=n(71153),f=n.n(p);const g=(0,n(79692).Z)((e=>({expanded:{backgroundColor:"rgba(0, 0, 0, 0.03)"},info:{fontSize:"13px",color:e.palette.text.secondary,wordWrap:"break-word"},icon:{width:"32px",height:"32px",fill:"#fff",backgroundColor:"rgba(177, 92, 189, 1)",borderRadius:"50%",margin:"5px 12px 0 8px"},infoBlock:{display:"flex",flexDirection:"row"},header:{display:"flex",flexDirection:"row",paddingBottom:"5px"},flex:{flex:1},caption:{fontSize:"16px",color:"rgba(0, 0, 0, 0.87)"},title:{display:"flex",flexDirection:"row",alignItems:"center",margin:"6px 0 8px 0"},flag:{height:"12px",width:"12px",stroke:"#000000",fill:"none",margin:"2px 5px 0 5px"},pmReviewCard:{borderTop:"3px solid #E83D40",flexDirection:"column",width:"100%"},date:{fontSize:"13px",color:"rgba(0, 0, 0, 0.87)"},mainInfo:{display:"flex",flexDirection:"column",flex:1}}))),v=e=>{let{date:t,type:n,createdBy:r,step:l,children:u,Actions:d}=e;const p=g(),[v,h]=(0,a.useState)(!1);return o().createElement("div",{className:p.pmReviewCard},o().createElement("div",{className:f()(p.header,{[p.expanded]:v})},o().createElement(s,{className:p.icon}),o().createElement("div",{className:p.mainInfo},o().createElement("div",{className:p.title},o().createElement("div",{className:f()(p.caption,p.flex)},m().text("Match review")),o().createElement(i.Z,{className:p.flag}),o().createElement("span",{className:p.date},m().date(t,"L")),o().createElement(c.Z,{isOpen:v,onClick:()=>{h(!v)}})),o().createElement("div",{className:p.infoBlock},o().createElement("div",{className:p.flex},o().createElement("div",{className:p.info},n),o().createElement("div",{className:p.info},m().text("Created by ${createdBy}",{createdBy:r})),o().createElement("div",{className:p.info},m().text("Step: ${step}",{step:l}))),d))),v?u:null)};v.propTypes={date:l().number,createdBy:l().string,type:l().string,step:l().string,children:l().oneOfType([l().node,l().arrayOf(l().node)]),Actions:l().node};const h=v},71530:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(24328),l=n.n(r);const a=e=>{let{value:t}=e;return t||null},o=e=>{let{label:t}=e;return t||null},i=e=>{let{columnValue:t,rowData:n,setHoveredColumn:r,resetHoveredColumn:o}=e;const i=n.cellRenderer||a,c=r?()=>r(t):void 0;return l().createElement("td",{onMouseOver:c,onMouseLeave:o},l().createElement(i,{value:t[n.id]}))};var c=n(14940),u=n(13896),s=n(42484);let d;!function(e){e.Column="Column",e.Row="Row"}(d||(d={}));var m=n(79692);const p=(0,m.Z)((e=>({tableData:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:0,left:"50%",cursor:"move",transition:"opacity 0.3s",transform:"translateX(-50%) rotate(90deg)",zIndex:5},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary}}))),f=e=>{let{columnValue:t,rowData:n,index:o,onMoveColumn:i,shouldRenderDragIndicator:m,setHoveredColumn:f,resetHoveredColumn:g}=e;const v=p(),h=l().useRef(null),b=l().useRef(null),y=n.cellRenderer||a,[{targetId:x},C]=(0,u.useDrop)({accept:d.Column,hover:(e,n)=>{var r;if(!h.current)return;const l=e.index,a=o;if(l===a)return;const c=null===(r=h.current)||void 0===r?void 0:r.getBoundingClientRect(),u=(c.right-c.left)/2,s=n.getClientOffset().x-c.left;l<a&&s<u||l>a&&s>u||(i(e.columnValue.id,t.id),e.index=a)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:w,sourceId:E},O,D]=(0,u.useDrag)({item:{type:d.Column,index:o,getColumnWidth:()=>{var e;return null==h||null===(e=h.current)||void 0===e?void 0:e.offsetWidth},columnValue:t,rowData:n},isDragging:e=>e.getItem().index===o,collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});(0,r.useEffect)((()=>{D((0,s.r)(),{captureDraggingState:!0}),C(h),O(b)}),[]);const k=f?()=>f(t):void 0;return l().createElement("td",{style:{opacity:w},ref:h,className:v.tableData,"data-source-id":E,"data-target-id":x,onMouseOver:k,onMouseLeave:g},m&&l().createElement("div",{ref:b,className:v.dragIndicator},l().createElement(c.Z,{className:v.dragIndicatorIcon})),l().createElement(y,{value:t[n.id]}))},g=(0,m.Z)((e=>({tableHead:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{height:"100%",opacity:0,position:"absolute",top:0,left:0,cursor:"move",transition:"opacity 0.3s"},dragIndicatorIcon:{top:"15px",width:"14.4px",height:"18px",color:e.palette.text.secondary,position:"relative"}}))),v=e=>{let{rowData:t,isDraggable:n,dragRef:r}=e;const a=g(),i=t.headCellRenderer||o;return l().createElement("th",{className:a.tableHead},n&&l().createElement("div",{ref:r,className:a.dragIndicator},l().createElement(c.Z,{className:a.dragIndicatorIcon})),l().createElement(i,t))},h=e=>{let{rowData:t,columnsData:n,index:r,onMoveColumn:a,setHoveredColumn:o,resetHoveredColumn:c}=e;const u=0===r;return l().createElement("tr",{className:t.rowClassName},l().createElement(v,{rowData:t,isDraggable:!1}),n.map(((e,n)=>{const r=e.isDraggable,s=u&&r;return a?l().createElement(f,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:a,shouldRenderDragIndicator:s,setHoveredColumn:o,resetHoveredColumn:c}):l().createElement(i,{key:e.id||n,rowData:t,columnValue:e,setHoveredColumn:o,resetHoveredColumn:c})})))},b=e=>{let{rowData:t,index:n,columnsData:a,onMoveRow:o,onMoveColumn:c,setHoveredColumn:s,resetHoveredColumn:m}=e;const p=l().useRef(null),g=l().useRef(null),[{targetId:h},b]=(0,u.useDrop)({accept:d.Row,hover:(e,r)=>{if(!p.current)return;const l=e.index,a=n;if(l===a)return;const i=p.current.getBoundingClientRect(),c=(i.bottom-i.top)/2,u=r.getClientOffset().y-i.top;l<a&&u<c||l>a&&u>c||(o(e.id,t.id),e.index=a)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:y,sourceId:x},C,w]=(0,u.useDrag)({item:{type:d.Row,index:n,id:t.id},collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});return(0,r.useEffect)((()=>{w(b(p)),C(g)}),[]),l().createElement("tr",{className:t.rowClassName,style:{opacity:y},ref:p,"data-target-id":h,"data-source-id":x},l().createElement(v,{rowData:t,isDraggable:!0,dragRef:g}),a.map(((e,n)=>c?l().createElement(f,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:c,shouldRenderDragIndicator:!1,setHoveredColumn:s,resetHoveredColumn:m}):l().createElement(i,{key:e.id||n,columnValue:e,rowData:t,setHoveredColumn:s,resetHoveredColumn:m}))))},y=e=>{let{columnWidth:t,columnHeight:n,item:r}=e;const{rowData:o,columnValue:i}=r,c=o.cellRenderer||a;return l().createElement("div",{style:{width:t,height:n,background:"rgba(245,245,245, .5)"}},l().createElement(c,{value:i[o.id]}))},x=(0,m.Z)({dragLayer:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1300,pointerEvents:"none"}}),C=(e,t,n)=>{const r=(null==e?void 0:e.getBoundingClientRect())||{x:0,y:0},l=`translate(${(null==t?void 0:t.x)-(null==r?void 0:r.x)-n/2}px, ${(null==t?void 0:t.y)-(null==r?void 0:r.y)}px`;return{display:"flex",transform:l,WebkitTransform:l}},w=e=>{var t;let{columnHeight:n}=e;const a=x(),o=(0,r.useRef)(),{isDragging:i,clientOffset:c,item:s}=(0,u.useDragLayer)((e=>({isDragging:e.isDragging(),clientOffset:e.getClientOffset(),item:e.getItem()})));if(!i||!s)return null;const m=null===(t=s.getColumnWidth)||void 0===t?void 0:t.call(s);return l().createElement("div",{className:a.dragLayer,ref:o},l().createElement("div",{style:C(o.current,c,m)},s.type===d.Column&&l().createElement(y,{columnWidth:m,columnHeight:n,item:s})))},E=(0,r.memo)((e=>{var t;let{className:n,rowsData:a,columnsData:o,theadRowsNumber:i=0,onMoveRow:c,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d}=e;const m=(0,r.useRef)(null),p=null==m||null===(t=m.current)||void 0===t?void 0:t.offsetHeight,f=!!c||!!u;return l().createElement(l().Fragment,null,f&&l().createElement(w,{columnHeight:p}),l().createElement("table",{ref:m,className:n},i>0&&l().createElement("thead",null,a.slice(0,i).map(((e,t)=>l().createElement(h,{key:e.id||t,rowData:e,columnsData:o,index:t,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d})))),l().createElement("tbody",null,a.slice(i).map(((e,t)=>c?l().createElement(b,{key:e.id||t,index:t+i,rowData:e,columnsData:o,onMoveRow:c,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d}):l().createElement(h,{key:e.id||t,index:t+i,rowData:e,columnsData:o,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d}))))))}))},52049:(e,t,n)=>{n.d(t,{B:()=>l});var r=n(24328);const l=n.n(r)().createContext("");l.displayName="IdContext"},24605:(e,t,n)=>{n.d(t,{D:()=>u});var r=n(24328),l=n.n(r),a=n(87918),o=n.n(a),i=n(94079),c=n(37265);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{anchorOrigin:t,showDismiss:n}=e,[a,u]=(0,r.useState)(!1),[s,d]=(0,r.useState)(""),m=(0,r.useCallback)((()=>{u(!1),d("")}),[]),p=(0,r.useCallback)((e=>{u(!0),d(e)}),[]),f=(0,r.useCallback)((()=>l().createElement(i.Portal,{container:document.body},l().createElement(c.Z,{open:a,anchorOrigin:t,autoHideDuration:5e3,onClose:m,message:s,action:n?l().createElement(i.Button,{color:"primary",onClick:m},o().text("Dismiss")):void 0}))),[a,m,s]);return{SnackbarRenderer:f,showSnackbarMessage:p}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3126],{52391:(e,t,n)=>{n.d(t,{Z:()=>te});var r=n(24328),l=n.n(r),a=n(52730),o=n(17440),i=n(59431),c=n(81667);function u(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){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(e,t,n,r)=>{const l=(0,c.jFi)(e,{type:n}),a=t.label||t.name;return u({attrType:t,title:a},(0,c.kqr)(t)?{fieldName:t.name}:{entityTypeUri:n,pathToTitle:Array.isArray(r)?[l,...r,a]:[l,a],fieldName:(0,c.Tde)(t.uri)})},m=function(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const a=u({},r(e,t,n,l),{uri:t.uri}),o=t.children?t.children.map((a=>m(e,a,n,r,l.concat(t.label)))):[];return o.length&&(a.children=o),a},p=(e,t)=>{let n;const r=(e,t)=>{for(const l of t){if(e===l.fieldName)return void(n=l);"children"in l&&r(e,l.children)}};return r(e,t),n},f=(e,t)=>e?e.find((e=>e.value===t)):null;var g=n(87918),v=n.n(g),h=n(6782),b=n(31517),y=n(79692);const x=(0,y.Z)({dropDownSelector:{width:"100%"}}),C=(0,r.memo)((e=>{let{rowData:t,rowContext:n,textFieldInputRef:a}=e;const i=x(),{attribute:{attrType:u={},fieldName:s=null}={},filter:d,id:m}=t||{},{changeFilter:p}=n,g=u&&s&&(0,o.pipe)(c.d3Y,(0,o.map)((e=>({value:e,label:(0,h.Z)((0,c.XS2)(e))}))))(u,s),y=(0,r.useCallback)((e=>{const t={fieldName:s,filter:e.value,values:[]};p(t,m)}),[p,m,s]);return(0,r.useEffect)((()=>{(s&&!d||s&&!f(g,d))&&y(g[0])}),[s,d,y,g]),l().createElement(b.Z,{label:"",height:40,isDisabled:!g,placeholder:v().text("Equals"),value:f(g,d),options:g,onChange:y,className:i.dropDownSelector,textFieldInputRef:a})}));var w=n(87685),E=n(74443),O=n(8818);function D(){return D=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},D.apply(this,arguments)}const k=e=>l().createElement("svg",D({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",focusable:"false"},e),l().createElement("defs",null,l().createElement("path",{d:"M20.222 6C21.21 6 22 6.8 22 7.778v12.444C22 21.2 21.209 22 20.222 22H7.778C6.79 22 6 21.2 6 20.222V7.778C6 6.8 6.791 6 7.778 6h12.444zM8 8v12h12V8H8zM4 18H2V4c0-1.1.9-2 2-2h14v2H4v14z",id:"Duplicate_svg__a"})),l().createElement("g",{transform:"translate(-2 -2)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"Duplicate_svg__b",fill:"#fff"},l().createElement("use",{xlinkHref:"#Duplicate_svg__a"})),l().createElement("g",{mask:"url(#Duplicate_svg__b)",fill:"#000",fillOpacity:.54},l().createElement("path",{d:"M0 0h24v24H0z"})))),R=(0,y.Z)((()=>({actions:{width:"88px",height:"24px",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0,"& >span":{cursor:"pointer",display:"flex"},"& $actionIcon":{cursor:"pointer",color:"rgba(0, 0, 0, .54)"}},actionIcon:{}}))),I=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const a=R(),{id:o,attribute:i}=t||{},{addRowAfterIndex:c,removeRow:u,duplicateRow:s}=n,d=(0,r.useCallback)((()=>{c(o)}),[c,o]),m=(0,r.useCallback)((()=>{s(o)}),[s,o]),p=(0,r.useCallback)((()=>{u(o)}),[o,u]);return l().createElement("div",{className:a.actions},l().createElement(O.k,{tooltipTitle:v().text("Add"),icon:E.Z,size:"M",onClick:d}),i&&l().createElement(O.k,{tooltipTitle:v().text("Duplicate"),icon:k,size:"M",onClick:m}),l().createElement(O.k,{tooltipTitle:v().text("Delete"),icon:w.default,size:"M",onClick:p}))}));var N=n(41315),H=n(99757);const S=(0,r.memo)((e=>{let{rowData:t,rowContext:n,attributeSelectorProps:a}=e;const{attribute:o,id:i,filter:u}=t||{},{changeFilter:s,addNewFilter:d,attributesGroup:m}=n,p=(0,r.useCallback)((e=>(0,c.e6O)({data:e})),[]),f=(0,r.useMemo)((()=>[{id:"",title:"",attributes:m}]),[m]),g=(0,r.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:u,values:[]};s(t,i)}else d({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[d,s,i,t,u]);return l().createElement(H.Z,{itemsGroups:f,ungroup:!0,single:!0,value:o,getLabel:p,onSelect:g,onOpenPopup:a.onOpen})}));var M=n(24754),P=n(96808),j=n(12079),Z=n(36179),T=n(82455),B=n(92575),F=n(31276);function V(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 L=(0,y.Z)((e=>({option:{paddingLeft:"35px"},dropdownIndicator:{cursor:"pointer",color:e.palette.text.secondary,marginTop:0,marginBottom:0},clearIndicator:{display:"none"}}))),W={input:e=>V({},e,{fontSize:"14px"}),menuPortal:e=>V({},e,{zIndex:1300}),menuList:e=>V({},e,{maxHeight:"240px",padding:"8px 0"}),menu:e=>V({},e,{maxHeight:"240px"})};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){A(e,t,n[t])}))}return e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const q=e=>{let{values:t=[],onChange:n,options:a,fullWidth:i,TextFieldProps:u={}}=e;const s=L(),d=(0,r.useRef)(null),m=(0,r.useCallback)((e=>a.find((t=>t.value===e))||{value:e,label:e}),[a]),p=(0,r.useMemo)((()=>t.map(m)),[m,t]),{InputProps:f={},className:g}=u,v=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(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)&&(l[n]=e[n])}return l}(u,["InputProps","className"]);return l().createElement(B.Z,{value:p,onChange:(0,o.pipe)((0,o.defaultTo)([]),(0,o.pluck)("value"),n),options:a,TextFieldProps:_({InputProps:_({disableUnderline:(0,c.O27)(t)},f),variant:"filled",className:g,ref:d},v),components:{DropdownIndicator:P.Z,Option:j.Z,Menu:Z.Z,MultiValue:T.Z,IndicatorSeparator:F.Vd},inputRef:d,classes:s,styles:_({},W,{container:e=>_({},e,i?{width:"100%"}:{})}),menuPortalTarget:document.body})};q.displayName="MultiValueSelector";const $=(0,r.memo)(q);let U;!function(e){e.matchRules="matchRules",e.MLRecommendedMatch="MLRecommendedMatch"}(U||(U={}));const G=e=>{let{name:t,values:n,onChange:o,entityType:u,TextFieldProps:s,fullWidth:d}=e;const m=(0,a.useSelector)(i.ZP.selectors.getMetadata),[p,f]=(0,r.useMemo)((()=>(0,c.UkJ)((0,c.KbW)(m,null==u?void 0:u.uri))),[null==u?void 0:u.uri,m]),g=(0,r.useMemo)((()=>function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{label:t,uri:n}=e;return{label:t,value:n}}))}(t===U.matchRules?f:p)),[t,f,p]);return l().createElement($,{values:n,onChange:o,options:g,TextFieldProps:s,fullWidth:d})};G.displayName="MatchRulesSelector";const X=G,J=(0,y.Z)({input:{margin:0,borderRadius:"4px",width:"100%",paddingTop:0,paddingBottom:0},root:{borderRadius:"4px 4px 0 0",padding:0,display:"flex",alignItems:"center",margin:0},valuesEditor:{display:"flex",alignItems:"center",width:"222px!important",minHeight:"40px",flexShrink:0}}),K=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const a=J(),o=(null==t?void 0:t.attribute)&&(0,c.wNf)(t.filter),{changeFilter:i,entityType:u}=n,{values:s=[],attribute:{attrType:d,fieldName:m=null}={},filter:p,id:f}=t||{},g=d&&(0,c.PFL)(d),v=g&&(0,c.l1V)(g,p),h=(0,r.useMemo)((()=>({filter:p,fieldName:m,values:s||[]})),[p,m,s]),b=(0,r.useMemo)((()=>({InputProps:{classes:{root:a.input}}})),[a]),y=(0,r.useMemo)((()=>({root:a.root})),[a]),x=(0,r.useCallback)((e=>{i({fieldName:m,filter:p,values:e},f)}),[i,f,m,p]);return l().createElement("div",{className:a.valuesEditor},(null==t?void 0:t.attribute)&&o&&((0,c.pzC)(d)?l().createElement(X,{entityType:u,name:d.name,values:s,onChange:x,TextFieldProps:b,fullWidth:!0}):l().createElement(M.Z,{filter:h,onChange:x,dataTypeDefinition:v,fullWidth:!0,TextFieldProps:b,color:"primary",classes:y,orientation:"horizontal"})))})),Y=(0,y.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),Q={fieldName:null,filter:null,values:[]},ee=()=>null,te=(0,r.memo)((e=>{let{attributeTypes:t,filters:n,onChange:u}=e;const s=(0,a.useSelector)(i.ZP.selectors.getMetadata),f=(0,c.nt9)(s,(e=>{const t=e.find((e=>!(0,c.kqr)(e)));return t?(0,c.u5q)(t.uri):null})(t)),{attrSelector:g,filterSelector:v,actionContainer:h}=Y(),b=(0,r.useRef)(n);b.current=n;const y=(0,r.useRef)(null),x=(0,r.useRef)(null),w=(0,r.useRef)(null),E=(0,r.useMemo)((()=>({attributeSelectorContainer:g,filterSelectorContainer:v,actionsContainer:h})),[g,v,h]),O=(0,r.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(0,c.kkq)(e,n).map((e=>{const r=(0,c.kqr)(e)?null:t.uri;return m(n,e,r,d)}))}(t,f,s)),[t,s,f]),D=(0,r.useMemo)((()=>n.length?((e,t)=>e.map(((e,n)=>({attribute:e.fieldName?p(e.fieldName,t):void 0,filter:e.filter,id:n,values:e.values}))))(n,O):[]),[O,n]);w.current=D.length,(0,r.useEffect)((()=>{y.current&&x.current!==w.current&&(y.current.querySelector("input").focus(),x.current=null)}),[D.length]);const k=(0,r.useCallback)((()=>{x.current=D.length}),[D.length]),R=(0,r.useMemo)((()=>({onOpen:k})),[k]),H=(0,r.useCallback)((e=>{const t=[...b.current];t.splice(e+1,0,Q),u(t)}),[u]),M=(0,r.useCallback)((e=>{const t=[...b.current];t.splice(e,1),u(t)}),[u]),P=(0,r.useCallback)((e=>{const t=[...b.current];t.splice(e+1,0,{fieldName:b.current[e].fieldName,filter:b.current[e].filter,values:b.current[e].values}),u(t)}),[u]),j=(0,r.useCallback)(((e,t)=>{const n=(0,o.evolve)({[t]:(0,o.always)(e)},b.current);u(n)}),[u]),Z=(0,r.useCallback)((e=>{u([...b.current,e])}),[u]);return l().createElement(N.Z,{rowClasses:E,rowsData:D,AttributeSelectorComponent:S,FilterSelectorComponent:C,ValuesEditorComponent:K,ActionsComponent:I,LogicOperatorComponent:ee,filterSelectorRefIndex:x.current,filterSelectorRef:y,lastRowAttributeSelectorProps:R,attributesGroup:O,changeFilter:j,addNewFilter:Z,addRowAfterIndex:H,removeRow:M,duplicateRow:P,entityType:f})}))},63172:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),l=n.n(r),a=n(87918),o=n.n(a),i=n(94079),c=n(36444),u=n(81667),s=n(52391),d=n(79692);function m(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){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={alignSelf:"center"},g=(0,d.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:m({},f,{marginRight:"16px"}),cancelButton:m({},f,{marginLeft:"auto"}),clearButon:m({},f)}))),v=e=>{let{onClear:t,onCancel:n,onApply:r}=e;const a=g();return l().createElement("div",{className:a.buttonsWrapper},l().createElement(i.Button,{onClick:t,variant:"text",color:"default",className:a.clearButon},o().text("Clear all")),l().createElement(i.Button,{onClick:n,variant:"text",color:"default",className:a.cancelButton},o().text("Cancel")),l().createElement(i.Button,{onClick:r,variant:"text",color:"primary",className:a.applyButton},o().text("Apply")))};var h=n(41128);const b=(0,d.Z)((e=>({triggerButton:{minWidth:0,color:"rgba(0,0,0,0.54)",width:"40px",marginLeft:"auto",marginRight:"12px"},filtersBuilderWrapper:{marginTop:"20px"},popupContent:{paddingLeft:"16px",paddingTop:"20px",paddingBottom:"6px",width:"770px"},divider:{marginBottom:"14px",marginLeft:"-16px",background:"rgba(0, 0, 0, 0.121569)"},changedFiltersIndicator:{backgroundColor:(0,h.U1)(e.palette.primary.main,.12)}}))),y=(0,r.memo)((e=>{let{filters:t,attributeTypes:n,onChange:a}=e;const d=b(),m=(0,r.useRef)(),[p,f]=(0,r.useState)(!1),[g,h]=(0,r.useState)([]),y=(0,u.Uqd)()(t)?"primary":"inherit",x=()=>f((e=>!e));(0,r.useEffect)((()=>{p&&h(t)}),[t,p]);const C=(0,r.useCallback)((()=>{a(g),x()}),[g,a]),w=(0,r.useCallback)((()=>{x()}),[]),E=(0,r.useCallback)((()=>{h([])}),[]);return l().createElement(l().Fragment,null,l().createElement(i.Button,{ref:m,color:y,classes:{root:d.triggerButton,textPrimary:d.changedFiltersIndicator},onClick:x},l().createElement(c.Z,{color:y})),l().createElement(i.Popover,{open:p,classes:{paper:d.popupContent},anchorEl:m.current,onClose:x,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},l().createElement(l().Fragment,null,l().createElement(i.Typography,{variant:"h6"},o().text("Filter")),l().createElement("div",{className:d.filtersBuilderWrapper},l().createElement(s.Z,{attributeTypes:n,filters:g,onChange:h})),l().createElement(i.Divider,{className:d.divider}),l().createElement(v,{onApply:C,onCancel:w,onClear:E}))))}))},46177:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(24328),l=n.n(r),a=n(13980),o=n.n(a),i=n(21697),c=n(14838),u=n(25461),s=n(17440),d=n(22273),m=n(73038);function p(){return p=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},p.apply(this,arguments)}const f=e=>{let{rowsData:t,columnsData:n,renderRowCell:a=c.Z,getRowCellHeight:f=u.Z,defaultRowHeight:g=48,maxRowValuesCount:v=1/0}=e;const{tableRowsData:h,collapseContextValue:b}=(0,d.Z)({rowsData:t,columnsData:n,renderRowCell:a,getRowCellHeight:f,maxRowValuesCount:v});return(0,r.useMemo)((()=>{const e=h.reduce(((e,t,n)=>{const{data:r}=t;return e[n]=(0,i.calculateRowHeight)(r,g),e}),{}),t=(t,n,r)=>{const l=[t,"subRowHeight",n,r,"height"];return(0,s.pathOr)(0,l,e)},r=t=>(0,s.pathOr)(0,[t,"height"],e),a=e=>{let{columnId:a,rowIndex:o}=e,c=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(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)&&(l[n]=e[n])}return l}(e,["columnId","rowIndex"]);return l().createElement(m.x.Provider,{value:b},l().createElement("div",p({},c,{style:{height:r(o)}}),h.length>0&&(0,i.getCellContentFromRowsData)({columnIndex:n.findIndex((0,s.propEq)("id",a)),headData:n,rowsData:h,rowIndex:o,getHeightForSubRow:t})))};return a.propTypes={columnId:o().string,rowIndex:o().number},{getRowHeight:r,CellRenderer:a}}),[h,g,b,n])}},35071:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(13980),l=n.n(r),a=n(24328),o=n.n(a),i=n(73272),c=n(58241);function u(){return u=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},u.apply(this,arguments)}const s=e=>o().createElement("svg",u({viewBox:"0 0 20 20"},e),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 10L14 5.5V9h-3.5L5 3.5 3.5 5l6.04 6H14v3.5l4.5-4.5zM7.04 11.455L3.5 15 5 16.5l3.54-3.545-1.5-1.5z"}));var d=n(87918),m=n.n(d),p=n(71153),f=n.n(p);const g=(0,n(79692).Z)((e=>({expanded:{backgroundColor:"rgba(0, 0, 0, 0.03)"},info:{fontSize:"13px",color:e.palette.text.secondary,wordWrap:"break-word"},icon:{width:"32px",height:"32px",fill:"#fff",backgroundColor:"rgba(177, 92, 189, 1)",borderRadius:"50%",margin:"5px 12px 0 8px"},infoBlock:{display:"flex",flexDirection:"row"},header:{display:"flex",flexDirection:"row",paddingBottom:"5px"},flex:{flex:1},caption:{fontSize:"16px",color:"rgba(0, 0, 0, 0.87)"},title:{display:"flex",flexDirection:"row",alignItems:"center",margin:"6px 0 8px 0"},flag:{height:"12px",width:"12px",stroke:"#000000",fill:"none",margin:"2px 5px 0 5px"},pmReviewCard:{borderTop:"3px solid #E83D40",flexDirection:"column",width:"100%"},date:{fontSize:"13px",color:"rgba(0, 0, 0, 0.87)"},mainInfo:{display:"flex",flexDirection:"column",flex:1}}))),v=e=>{let{date:t,type:n,createdBy:r,step:l,children:u,Actions:d}=e;const p=g(),[v,h]=(0,a.useState)(!1);return o().createElement("div",{className:p.pmReviewCard},o().createElement("div",{className:f()(p.header,{[p.expanded]:v})},o().createElement(s,{className:p.icon}),o().createElement("div",{className:p.mainInfo},o().createElement("div",{className:p.title},o().createElement("div",{className:f()(p.caption,p.flex)},m().text("Match review")),o().createElement(i.Z,{className:p.flag}),o().createElement("span",{className:p.date},m().date(t,"L")),o().createElement(c.Z,{isOpen:v,onClick:()=>{h(!v)}})),o().createElement("div",{className:p.infoBlock},o().createElement("div",{className:p.flex},o().createElement("div",{className:p.info},n),o().createElement("div",{className:p.info},m().text("Created by ${createdBy}",{createdBy:r})),o().createElement("div",{className:p.info},m().text("Step: ${step}",{step:l}))),d))),v?u:null)};v.propTypes={date:l().number,createdBy:l().string,type:l().string,step:l().string,children:l().oneOfType([l().node,l().arrayOf(l().node)]),Actions:l().node};const h=v},71530:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(24328),l=n.n(r);const a=e=>{let{value:t}=e;return t||null},o=e=>{let{label:t}=e;return t||null},i=e=>{let{columnValue:t,rowData:n,setHoveredColumn:r,resetHoveredColumn:o}=e;const i=n.cellRenderer||a,c=r?()=>r(t):void 0;return l().createElement("td",{onMouseOver:c,onMouseLeave:o},l().createElement(i,{value:t[n.id]}))};var c=n(14940),u=n(13896),s=n(42484);let d;!function(e){e.Column="Column",e.Row="Row"}(d||(d={}));var m=n(79692);const p=(0,m.Z)((e=>({tableData:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:0,left:"50%",cursor:"move",transition:"opacity 0.3s",transform:"translateX(-50%) rotate(90deg)",zIndex:5},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary}}))),f=e=>{let{columnValue:t,rowData:n,index:o,onMoveColumn:i,shouldRenderDragIndicator:m,setHoveredColumn:f,resetHoveredColumn:g}=e;const v=p(),h=l().useRef(null),b=l().useRef(null),y=n.cellRenderer||a,[{targetId:x},C]=(0,u.useDrop)({accept:d.Column,hover:(e,n)=>{var r;if(!h.current)return;const l=e.index,a=o;if(l===a)return;const c=null===(r=h.current)||void 0===r?void 0:r.getBoundingClientRect(),u=(c.right-c.left)/2,s=n.getClientOffset().x-c.left;l<a&&s<u||l>a&&s>u||(i(e.columnValue.id,t.id),e.index=a)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:w,sourceId:E},O,D]=(0,u.useDrag)({item:{type:d.Column,index:o,getColumnWidth:()=>{var e;return null==h||null===(e=h.current)||void 0===e?void 0:e.offsetWidth},columnValue:t,rowData:n},isDragging:e=>e.getItem().index===o,collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});(0,r.useEffect)((()=>{D((0,s.r)(),{captureDraggingState:!0}),C(h),O(b)}),[]);const k=f?()=>f(t):void 0;return l().createElement("td",{style:{opacity:w},ref:h,className:v.tableData,"data-source-id":E,"data-target-id":x,onMouseOver:k,onMouseLeave:g},m&&l().createElement("div",{ref:b,className:v.dragIndicator},l().createElement(c.Z,{className:v.dragIndicatorIcon})),l().createElement(y,{value:t[n.id]}))},g=(0,m.Z)((e=>({tableHead:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{height:"100%",opacity:0,position:"absolute",top:0,left:0,cursor:"move",transition:"opacity 0.3s"},dragIndicatorIcon:{top:"15px",width:"14.4px",height:"18px",color:e.palette.text.secondary,position:"relative"}}))),v=e=>{let{rowData:t,isDraggable:n,dragRef:r}=e;const a=g(),i=t.headCellRenderer||o;return l().createElement("th",{className:a.tableHead},n&&l().createElement("div",{ref:r,className:a.dragIndicator},l().createElement(c.Z,{className:a.dragIndicatorIcon})),l().createElement(i,t))},h=e=>{let{rowData:t,columnsData:n,index:r,onMoveColumn:a,setHoveredColumn:o,resetHoveredColumn:c}=e;const u=0===r;return l().createElement("tr",{className:t.rowClassName},l().createElement(v,{rowData:t,isDraggable:!1}),n.map(((e,n)=>{const r=e.isDraggable,s=u&&r;return a?l().createElement(f,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:a,shouldRenderDragIndicator:s,setHoveredColumn:o,resetHoveredColumn:c}):l().createElement(i,{key:e.id||n,rowData:t,columnValue:e,setHoveredColumn:o,resetHoveredColumn:c})})))},b=e=>{let{rowData:t,index:n,columnsData:a,onMoveRow:o,onMoveColumn:c,setHoveredColumn:s,resetHoveredColumn:m}=e;const p=l().useRef(null),g=l().useRef(null),[{targetId:h},b]=(0,u.useDrop)({accept:d.Row,hover:(e,r)=>{if(!p.current)return;const l=e.index,a=n;if(l===a)return;const i=p.current.getBoundingClientRect(),c=(i.bottom-i.top)/2,u=r.getClientOffset().y-i.top;l<a&&u<c||l>a&&u>c||(o(e.id,t.id),e.index=a)},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:y,sourceId:x},C,w]=(0,u.useDrag)({item:{type:d.Row,index:n,id:t.id},collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});return(0,r.useEffect)((()=>{w(b(p)),C(g)}),[]),l().createElement("tr",{className:t.rowClassName,style:{opacity:y},ref:p,"data-target-id":h,"data-source-id":x},l().createElement(v,{rowData:t,isDraggable:!0,dragRef:g}),a.map(((e,n)=>c?l().createElement(f,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:c,shouldRenderDragIndicator:!1,setHoveredColumn:s,resetHoveredColumn:m}):l().createElement(i,{key:e.id||n,columnValue:e,rowData:t,setHoveredColumn:s,resetHoveredColumn:m}))))},y=e=>{let{columnWidth:t,columnHeight:n,item:r}=e;const{rowData:o,columnValue:i}=r,c=o.cellRenderer||a;return l().createElement("div",{style:{width:t,height:n,background:"rgba(245,245,245, .5)"}},l().createElement(c,{value:i[o.id]}))},x=(0,m.Z)({dragLayer:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1300,pointerEvents:"none"}}),C=(e,t,n)=>{const r=(null==e?void 0:e.getBoundingClientRect())||{x:0,y:0},l=`translate(${(null==t?void 0:t.x)-(null==r?void 0:r.x)-n/2}px, ${(null==t?void 0:t.y)-(null==r?void 0:r.y)}px`;return{display:"flex",transform:l,WebkitTransform:l}},w=e=>{var t;let{columnHeight:n}=e;const a=x(),o=(0,r.useRef)(),{isDragging:i,clientOffset:c,item:s}=(0,u.useDragLayer)((e=>({isDragging:e.isDragging(),clientOffset:e.getClientOffset(),item:e.getItem()})));if(!i||!s)return null;const m=null===(t=s.getColumnWidth)||void 0===t?void 0:t.call(s);return l().createElement("div",{className:a.dragLayer,ref:o},l().createElement("div",{style:C(o.current,c,m)},s.type===d.Column&&l().createElement(y,{columnWidth:m,columnHeight:n,item:s})))},E=(0,r.memo)((e=>{var t;let{className:n,rowsData:a,columnsData:o,theadRowsNumber:i=0,onMoveRow:c,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d}=e;const m=(0,r.useRef)(null),p=null==m||null===(t=m.current)||void 0===t?void 0:t.offsetHeight,f=!!c||!!u;return l().createElement(l().Fragment,null,f&&l().createElement(w,{columnHeight:p}),l().createElement("table",{ref:m,className:n},i>0&&l().createElement("thead",null,a.slice(0,i).map(((e,t)=>l().createElement(h,{key:e.id||t,rowData:e,columnsData:o,index:t,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d})))),l().createElement("tbody",null,a.slice(i).map(((e,t)=>c?l().createElement(b,{key:e.id||t,index:t+i,rowData:e,columnsData:o,onMoveRow:c,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d}):l().createElement(h,{key:e.id||t,index:t+i,rowData:e,columnsData:o,onMoveColumn:u,setHoveredColumn:s,resetHoveredColumn:d}))))))}))},52049:(e,t,n)=>{n.d(t,{B:()=>l});var r=n(24328);const l=n.n(r)().createContext("");l.displayName="IdContext"},24605:(e,t,n)=>{n.d(t,{D:()=>u});var r=n(24328),l=n.n(r),a=n(87918),o=n.n(a),i=n(94079),c=n(37265);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{anchorOrigin:t,showDismiss:n}=e,[a,u]=(0,r.useState)(!1),[s,d]=(0,r.useState)(""),m=(0,r.useCallback)((()=>{u(!1),d("")}),[]),p=(0,r.useCallback)((e=>{u(!0),d(e)}),[]),f=(0,r.useCallback)((()=>l().createElement(i.Portal,{container:document.body},l().createElement(c.Z,{open:a,anchorOrigin:t,autoHideDuration:5e3,onClose:m,message:s,action:n?l().createElement(i.Button,{color:"primary",onClick:m},o().text("Dismiss")):void 0}))),[a,m,s]);return{SnackbarRenderer:f,showSnackbarMessage:p}}}}]);
|
|
2
2
|
//# sourceMappingURL=3126.js.map
|
package/3698.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3698],{10207:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(7560),a=n(54530),i=n(24328),r=(n(13980),n(6277)),l=n(74603),d=n(15459),s=i.forwardRef((function(e,t){var n=e.disableUnderline,d=e.classes,s=e.fullWidth,p=void 0!==s&&s,u=e.inputComponent,c=void 0===u?"input":u,m=e.multiline,f=void 0!==m&&m,b=e.type,h=void 0===b?"text":b,g=(0,a.Z)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return i.createElement(l.Z,(0,o.Z)({classes:(0,o.Z)({},d,{root:(0,r.Z)(d.root,!n&&d.underline),underline:null}),fullWidth:p,inputComponent:c,multiline:f,ref:t,type:h},g))}));s.muiName="Input";const p=(0,d.Z)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:o,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:o}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(s)},81180:(e,t,n)=>{n.d(t,{Z:()=>i});var o=n(24328),a=n(46163);function i(){return o.useContext(a.Z)}},29838:(e,t,n)=>{n.d(t,{W:()=>c,Z:()=>b});var o=n(7560),a=n(54530),i=n(24328),r=(n(13980),n(32204)),l=n(15459),d=n(31556),s=n(81180),p=n(1369),u=n(29611),c=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},m=i.createElement(u.Z,null),f=i.forwardRef((function(e,t){var n=e.children,l=e.classes,u=e.IconComponent,c=void 0===u?p.Z:u,f=e.input,b=void 0===f?m:f,h=e.inputProps,g=(e.variant,(0,a.Z)(e,["children","classes","IconComponent","input","inputProps","variant"])),v=(0,s.Z)(),y=(0,d.Z)({props:e,muiFormControl:v,states:["variant"]});return i.cloneElement(b,(0,o.Z)({inputComponent:r.Z,inputProps:(0,o.Z)({children:n,classes:l,IconComponent:c,variant:y.variant,type:void 0},h,b?b.props.inputProps:{}),ref:t},g))}));f.muiName="Select";const b=(0,l.Z)(c,{name:"MuiNativeSelect"})(f)},32204:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(7560),a=n(54530),i=n(24328),r=(n(13980),n(6277)),l=n(97580);const d=i.forwardRef((function(e,t){var n=e.classes,d=e.className,s=e.disabled,p=e.IconComponent,u=e.inputRef,c=e.variant,m=void 0===c?"standard":c,f=(0,a.Z)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return i.createElement(i.Fragment,null,i.createElement("select",(0,o.Z)({className:(0,r.Z)(n.root,n.select,n[m],d,s&&n.disabled),disabled:s,ref:u||t},f)),e.multiple?null:i.createElement(p,{className:(0,r.Z)(n.icon,n["icon".concat((0,l.Z)(m))],s&&n.disabled)}))}))},20633:(e,t,n)=>{n.d(t,{Z:()=>b});var o=n(7560),a=n(54530),i=n(24328),r=(n(13980),n(6277)),l=n(74603),d=n(51119),s=n(15459),p=n(60364),u=n(97580),c=i.forwardRef((function(e,t){e.children;var n=e.classes,l=e.className,s=e.label,c=e.labelWidth,m=e.notched,f=e.style,b=(0,a.Z)(e,["children","classes","className","label","labelWidth","notched","style"]),h="rtl"===(0,p.Z)().direction?"right":"left";if(void 0!==s)return i.createElement("fieldset",(0,o.Z)({"aria-hidden":!0,className:(0,r.Z)(n.root,l),ref:t,style:f},b),i.createElement("legend",{className:(0,r.Z)(n.legendLabelled,m&&n.legendNotched)},s?i.createElement("span",null,s):i.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var g=c>0?.75*c+8:.01;return i.createElement("fieldset",(0,o.Z)({"aria-hidden":!0,style:(0,o.Z)((0,d.Z)({},"padding".concat((0,u.Z)(h)),8),f),className:(0,r.Z)(n.root,l),ref:t},b),i.createElement("legend",{className:n.legend,style:{width:m?g:.01}},i.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))}));const m=(0,s.Z)((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(c);var f=i.forwardRef((function(e,t){var n=e.classes,d=e.fullWidth,s=void 0!==d&&d,p=e.inputComponent,u=void 0===p?"input":p,c=e.label,f=e.labelWidth,b=void 0===f?0:f,h=e.multiline,g=void 0!==h&&h,v=e.notched,y=e.type,Z=void 0===y?"text":y,C=(0,a.Z)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return i.createElement(l.Z,(0,o.Z)({renderSuffix:function(e){return i.createElement(m,{className:n.notchedOutline,label:c,labelWidth:b,notched:void 0!==v?v:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,o.Z)({},n,{root:(0,r.Z)(n.root,n.underline),notchedOutline:null}),fullWidth:s,inputComponent:u,multiline:g,ref:t,type:Z},C))}));f.muiName="Input";const b=(0,s.Z)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(f)},73698:(e,t,n)=>{n.d(t,{Z:()=>N});var o=n(7560),a=n(54530),i=n(24328),r=(n(13980),n(36138)),l=n(85354),d=n(90929),s=n(97399),p=(n(48570),n(6277)),u=n(8732),c=n(97580),m=n(48348),f=n(71495),b=n(85974),h=n(24514);function g(e,t){return"object"===(0,d.Z)(t)&&null!==t?e===t:String(e)===String(t)}const v=i.forwardRef((function(e,t){var n=e["aria-label"],r=e.autoFocus,d=e.autoWidth,v=e.children,y=e.classes,Z=e.className,C=e.defaultValue,E=e.disabled,x=e.displayEmpty,w=e.IconComponent,R=e.inputRef,W=e.labelId,S=e.MenuProps,O=void 0===S?{}:S,P=e.multiple,I=e.name,k=e.onBlur,N=e.onChange,M=e.onClose,$=e.onFocus,B=e.onOpen,D=e.open,L=e.readOnly,A=e.renderValue,T=e.SelectDisplayProps,F=void 0===T?{}:T,_=e.tabIndex,V=(e.type,e.value),H=e.variant,j=void 0===H?"standard":H,U=(0,a.Z)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),K=(0,h.Z)({controlled:V,default:C,name:"Select"}),z=(0,l.Z)(K,2),X=z[0],q=z[1],G=i.useRef(null),J=i.useState(null),Q=J[0],Y=J[1],ee=i.useRef(null!=D).current,te=i.useState(),ne=te[0],oe=te[1],ae=i.useState(!1),ie=ae[0],re=ae[1],le=(0,b.Z)(t,R);i.useImperativeHandle(le,(function(){return{focus:function(){Q.focus()},node:G.current,value:X}}),[Q,X]),i.useEffect((function(){r&&Q&&Q.focus()}),[r,Q]),i.useEffect((function(){if(Q){var e=(0,u.Z)(Q).getElementById(W);if(e){var t=function(){getSelection().isCollapsed&&Q.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[W,Q]);var de,se,pe=function(e,t){e?B&&B(t):M&&M(t),ee||(oe(d?null:Q.clientWidth),re(e))},ue=i.Children.toArray(v),ce=function(e){return function(t){var n;if(P||pe(!1,t),P){n=Array.isArray(X)?X.slice():[];var o=X.indexOf(e.props.value);-1===o?n.push(e.props.value):n.splice(o,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),X!==n&&(q(n),N&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:I}}),N(t,e)))}},me=null!==Q&&(ee?D:ie);delete U["aria-invalid"];var fe=[],be=!1;((0,f.vd)({value:X})||x)&&(A?de=A(X):be=!0);var he=ue.map((function(e){if(!i.isValidElement(e))return null;var t;if(P){if(!Array.isArray(X))throw new Error((0,s.Z)(2));(t=X.some((function(t){return g(t,e.props.value)})))&&be&&fe.push(e.props.children)}else(t=g(X,e.props.value))&&be&&(se=e.props.children);return i.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:ce(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));be&&(de=P?fe.join(", "):se);var ge,ve=ne;!d&&ee&&Q&&(ve=Q.clientWidth),ge=void 0!==_?_:E?null:0;var ye=F.id||(I?"mui-component-select-".concat(I):void 0);return i.createElement(i.Fragment,null,i.createElement("div",(0,o.Z)({className:(0,p.Z)(y.root,y.select,y.selectMenu,y[j],Z,E&&y.disabled),ref:Y,tabIndex:ge,role:"button","aria-disabled":E?"true":void 0,"aria-expanded":me?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[W,ye].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){L||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),pe(!0,e))},onMouseDown:E||L?null:function(e){0===e.button&&(e.preventDefault(),Q.focus(),pe(!0,e))},onBlur:function(e){!me&&k&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:X,name:I}}),k(e))},onFocus:$},F,{id:ye}),function(e){return null==e||"string"==typeof e&&!e.trim()}(de)?i.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):de),i.createElement("input",(0,o.Z)({value:Array.isArray(X)?X.join(","):X,name:I,ref:G,"aria-hidden":!0,onChange:function(e){var t=ue.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=ue[t];q(n.props.value),N&&N(e,n)}},tabIndex:-1,className:y.nativeInput,autoFocus:r},U)),i.createElement(w,{className:(0,p.Z)(y.icon,y["icon".concat((0,c.Z)(j))],me&&y.iconOpen,E&&y.disabled)}),i.createElement(m.Z,(0,o.Z)({id:"menu-".concat(I||""),anchorEl:Q,open:me,onClose:function(e){pe(!1,e)}},O,{MenuListProps:(0,o.Z)({"aria-labelledby":W,role:"listbox",disableListWrap:!0},O.MenuListProps),PaperProps:(0,o.Z)({},O.PaperProps,{style:(0,o.Z)({minWidth:ve},null!=O.PaperProps?O.PaperProps.style:null)})}),he))}));var y=n(31556),Z=n(81180),C=n(15459),E=n(1369),x=n(29611),w=n(29838),R=n(32204),W=n(10207),S=n(20633),O=w.W,P=i.createElement(x.Z,null),I=i.createElement(W.Z,null),k=i.forwardRef((function e(t,n){var l=t.autoWidth,d=void 0!==l&&l,s=t.children,p=t.classes,u=t.displayEmpty,c=void 0!==u&&u,m=t.IconComponent,f=void 0===m?E.Z:m,b=t.id,h=t.input,g=t.inputProps,C=t.label,x=t.labelId,w=t.labelWidth,W=void 0===w?0:w,O=t.MenuProps,k=t.multiple,N=void 0!==k&&k,M=t.native,$=void 0!==M&&M,B=t.onClose,D=t.onOpen,L=t.open,A=t.renderValue,T=t.SelectDisplayProps,F=t.variant,_=void 0===F?"standard":F,V=(0,a.Z)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),H=$?R.Z:v,j=(0,Z.Z)(),U=(0,y.Z)({props:t,muiFormControl:j,states:["variant"]}).variant||_,K=h||{standard:P,outlined:i.createElement(S.Z,{label:C,labelWidth:W}),filled:I}[U];return i.cloneElement(K,(0,o.Z)({inputComponent:H,inputProps:(0,o.Z)({children:s,IconComponent:f,variant:U,type:void 0,multiple:N},$?{id:b}:{autoWidth:d,displayEmpty:c,labelId:x,MenuProps:O,onClose:B,onOpen:D,open:L,renderValue:A,SelectDisplayProps:(0,o.Z)({id:b},T)},g,{classes:g?(0,r.mergeClasses)({baseClasses:p,newClasses:g.classes,Component:e}):p},h?h.props.inputProps:{}),ref:n},V))}));k.muiName="Select";const N=(0,C.Z)(O,{name:"MuiSelect"})(k)},1369:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(24328);const a=(0,n(3752).Z)(o.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")}}]);
|
|
2
|
+
//# sourceMappingURL=3698.js.map
|
package/3698.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3698.js","mappings":"mNAwKIA,EAA2B,cAAiB,SAAqBC,EAAOC,GAC1E,IAAIC,EAAmBF,EAAME,iBACzBC,EAAUH,EAAMG,QAChBC,EAAmBJ,EAAMK,UACzBA,OAAiC,IAArBD,GAAsCA,EAClDE,EAAwBN,EAAMO,eAC9BA,OAA2C,IAA1BD,EAAmC,QAAUA,EAC9DE,EAAmBR,EAAMS,UACzBA,OAAiC,IAArBD,GAAsCA,EAClDE,EAAcV,EAAMW,KACpBA,OAAuB,IAAhBD,EAAyB,OAASA,EACzCE,GAAQ,OAAyBZ,EAAO,CAAC,mBAAoB,UAAW,YAAa,iBAAkB,YAAa,SAExH,OAAoB,gBAAoB,KAAW,OAAS,CAC1DG,SAAS,OAAS,GAAIA,EAAS,CAC7BU,MAAM,OAAKV,EAAQU,MAAOX,GAAoBC,EAAQW,WACtDA,UAAW,OAEbT,UAAWA,EACXE,eAAgBA,EAChBE,UAAWA,EACXR,IAAKA,EACLU,KAAMA,GACLC,OAoJLb,EAAYgB,QAAU,QACtB,SAAe,QA5UK,SAAgBC,GAClC,IAAIC,EAA+B,UAAvBD,EAAME,QAAQP,KACtBQ,EAAkBF,EAAQ,sBAAwB,2BAClDG,EAAkBH,EAAQ,sBAAwB,4BACtD,MAAO,CAELJ,KAAM,CACJQ,SAAU,WACVD,gBAAiBA,EACjBE,oBAAqBN,EAAMO,MAAMC,aACjCC,qBAAsBT,EAAMO,MAA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DnG,GAAQ,OAAyBZ,EAAO,CAAC,YAAa,WAAY,UAAW,eAAgB,gBAAiB,KAAM,QAAS,aAAc,QAAS,UAAW,aAAc,YAAa,WAAY,SAAU,UAAW,SAAU,OAAQ,cAAe,qBAAsB,YAElRO,EAAiB8P,EAASE,EAAA,EAAoB,EAC9C9J,GAAiB,EAAApC,EAAA,KAMjBmC,GALM,EAAAgK,EAAA,GAAiB,CACzBxQ,MAAOA,EACPyG,eAAgBA,EAChBE,OAAQ,CAAC,aAEOH,SAAW8J,EACzBG,EAAiB9M,GAAS,CAC5B+M,SAAUd,EACV5K,SAAuB,gBAAoB0D,EAAA,EAAe,CACxDxB,MAAOA,EACPE,WAAYA,IAEdrC,OAAQ+K,GACRtJ,GACF,OAAoB,eAAmBiK,GAAgB,OAAS,CAG9DlQ,eAAgBA,EAChBgG,YAAY,OAAS,CACnBJ,SAAUA,EACVE,cAAeA,EACfG,QAASA,EACT7F,UAAMiG,EAENI,SAAUA,GACTqJ,EAAS,CACVvB,GAAIA,GACF,CACFrF,UAAWA,EACXE,aAAcA,EACdE,QAASA,EACTE,UAAWA,EACXG,QAASA,EACTE,OAAQA,EACRE,KAAMA,EACNE,YAAaA,EACbE,oBAAoB,OAAS,CAC3BoE,GAAIA,GACHpE,IACFnE,EAAY,CACbpG,QAASoG,GAAa,IAAAoK,cAAa,CACjCC,YAAazQ,EACb0Q,WAAYtK,EAAWpG,QACvB2Q,UAAWf,IACR5P,GACJwD,EAAQA,EAAM3D,MAAMuG,WAAa,IACpCtG,IAAKA,GACJW,OAyJLmP,EAAOhP,QAAU,SACjB,SAAe,EAAAiH,EAAA,GAAW1D,EAAQ,CAChCF,KAAM,aADR,CAEG2L,I,+CC1PH,SAAe,E,QAAA,GAA4B,gBAAoB,OAAQ,CACrEgB,EAAG,mBACD","sources":["webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/FilledInput/FilledInput.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/FormControl/useFormControl.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Select/SelectInput.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Select/Select.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n var backgroundColor = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n backgroundColor: backgroundColor,\n borderTopLeftRadius: theme.shape.borderRadius,\n borderTopRightRadius: theme.shape.borderRadius,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n '&:hover': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.13)' : 'rgba(255, 255, 255, 0.13)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: backgroundColor\n }\n },\n '&$focused': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)'\n },\n '&$disabled': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)'\n }\n },\n\n /* Styles applied to the root element if color secondary. */\n colorSecondary: {\n '&$underline:after': {\n borderBottomColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if `disableUnderline={false}`. */\n underline: {\n '&:after': {\n borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&$focused:after': {\n transform: 'scaleX(1)'\n },\n '&$error:after': {\n borderBottomColor: theme.palette.error.main,\n transform: 'scaleX(1)' // error is always underlined in red\n\n },\n '&:before': {\n borderBottom: \"1px solid \".concat(bottomLineColor),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&:hover:before': {\n borderBottom: \"1px solid \".concat(theme.palette.text.primary)\n },\n '&$disabled:before': {\n borderBottomStyle: 'dotted'\n }\n },\n\n /* Pseudo-class applied to the root element if the component is focused. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {\n paddingLeft: 12\n },\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {\n paddingRight: 12\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: '27px 12px 10px',\n '&$marginDense': {\n paddingTop: 23,\n paddingBottom: 6\n }\n },\n\n /* Styles applied to the `input` element. */\n input: {\n padding: '27px 12px 10px',\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.type === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.type === 'light' ? null : '#fff',\n caretColor: theme.palette.type === 'light' ? null : '#fff',\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 23,\n paddingBottom: 6\n },\n\n /* Styles applied to the `input` if in `<FormControl hiddenLabel />`. */\n inputHiddenLabel: {\n paddingTop: 18,\n paddingBottom: 19,\n '&$inputMarginDense': {\n paddingTop: 10,\n paddingBottom: 11\n }\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n padding: 0\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {\n paddingLeft: 0\n },\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {\n paddingRight: 0\n }\n };\n};\nvar FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(props, ref) {\n var disableUnderline = props.disableUnderline,\n classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n classes: _extends({}, classes, {\n root: clsx(classes.root, !disableUnderline && classes.underline),\n underline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? FilledInput.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nFilledInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiFilledInput'\n})(FilledInput);","import * as React from 'react';\nimport FormControlContext from './FormControlContext';\nexport default function useFormControl() {\n return React.useContext(FormControlContext);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport NativeSelectInput from './NativeSelectInput';\nimport withStyles from '../styles/withStyles';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the select component `root` class. */\n root: {},\n\n /* Styles applied to the select component `select` class. */\n select: {\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n // When interacting quickly, the text can end up selected.\n // Native select can't be selected either.\n userSelect: 'none',\n borderRadius: 0,\n // Reset\n minWidth: 16,\n // So it doesn't collapse.\n cursor: 'pointer',\n '&:focus': {\n // Show that it's not an text input\n backgroundColor: theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',\n borderRadius: 0 // Reset Chrome style\n\n },\n // Remove IE 11 arrow\n '&::-ms-expand': {\n display: 'none'\n },\n '&$disabled': {\n cursor: 'default'\n },\n '&[multiple]': {\n height: 'auto'\n },\n '&:not([multiple]) option, &:not([multiple]) optgroup': {\n backgroundColor: theme.palette.background.paper\n },\n '&&': {\n paddingRight: 24\n }\n },\n\n /* Styles applied to the select component if `variant=\"filled\"`. */\n filled: {\n '&&': {\n paddingRight: 32\n }\n },\n\n /* Styles applied to the select component if `variant=\"outlined\"`. */\n outlined: {\n borderRadius: theme.shape.borderRadius,\n '&&': {\n paddingRight: 32\n }\n },\n\n /* Styles applied to the select component `selectMenu` class. */\n selectMenu: {\n height: 'auto',\n // Resets for multpile select with chips\n minHeight: '1.1876em',\n // Required for select\\text-field height consistency\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n },\n\n /* Pseudo-class applied to the select component `disabled` class. */\n disabled: {},\n\n /* Styles applied to the icon component. */\n icon: {\n // We use a position absolute over a flexbox in order to forward the pointer events\n // to the input and to support wrapping tags..\n position: 'absolute',\n right: 0,\n top: 'calc(50% - 12px)',\n // Center vertically\n pointerEvents: 'none',\n // Don't block pointer events on the select under the icon.\n color: theme.palette.action.active,\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the icon component if the popup is open. */\n iconOpen: {\n transform: 'rotate(180deg)'\n },\n\n /* Styles applied to the icon component if `variant=\"filled\"`. */\n iconFilled: {\n right: 7\n },\n\n /* Styles applied to the icon component if `variant=\"outlined\"`. */\n iconOutlined: {\n right: 7\n },\n\n /* Styles applied to the underlying native input component. */\n nativeInput: {\n bottom: 0,\n left: 0,\n position: 'absolute',\n opacity: 0,\n pointerEvents: 'none',\n width: '100%'\n }\n };\n};\nvar defaultInput = /*#__PURE__*/React.createElement(Input, null);\n/**\n * An alternative to `<Select native />` with a much smaller bundle size footprint.\n */\n\nvar NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(props, ref) {\n var children = props.children,\n classes = props.classes,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n _props$input = props.input,\n input = _props$input === void 0 ? defaultInput : _props$input,\n inputProps = props.inputProps,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"IconComponent\", \"input\", \"inputProps\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant']\n });\n return /*#__PURE__*/React.cloneElement(input, _extends({\n // Most of the logic is implemented in `NativeSelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent: NativeSelectInput,\n inputProps: _extends({\n children: children,\n classes: classes,\n IconComponent: IconComponent,\n variant: fcs.variant,\n type: undefined\n }, inputProps, input ? input.props.inputProps : {}),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelect.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The option elements to populate the select with.\n * Can be some `<option>` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType,\n\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n\n /**\n * Attributes applied to the `select` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The input value. The DOM API casts this to a string.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nNativeSelect.muiName = 'Select';\nexport default withStyles(styles, {\n name: 'MuiNativeSelect'\n})(NativeSelect);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport capitalize from '../utils/capitalize';\n/**\n * @ignore - internal component.\n */\n\nvar NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInput(props, ref) {\n var classes = props.classes,\n className = props.className,\n disabled = props.disabled,\n IconComponent = props.IconComponent,\n inputRef = props.inputRef,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"IconComponent\", \"inputRef\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"select\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes[variant], className, disabled && classes.disabled),\n disabled: disabled,\n ref: inputRef || ref\n }, other)), props.multiple ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], disabled && classes.disabled)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelectInput.propTypes = {\n /**\n * The option elements to populate the select with.\n * Can be some `<option>` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Use that prop to pass a ref to the native select element.\n * @deprecated\n */\n inputRef: refType,\n\n /**\n * @ignore\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default NativeSelectInput;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'absolute',\n bottom: 0,\n right: 0,\n top: -5,\n left: 0,\n margin: 0,\n padding: '0 8px',\n pointerEvents: 'none',\n borderRadius: 'inherit',\n borderStyle: 'solid',\n borderWidth: 1,\n overflow: 'hidden'\n },\n\n /* Styles applied to the legend element when `labelWidth` is provided. */\n legend: {\n textAlign: 'left',\n padding: 0,\n lineHeight: '11px',\n // sync with `height` in `legend` styles\n transition: theme.transitions.create('width', {\n duration: 150,\n easing: theme.transitions.easing.easeOut\n })\n },\n\n /* Styles applied to the legend element. */\n legendLabelled: {\n display: 'block',\n width: 'auto',\n textAlign: 'left',\n padding: 0,\n height: 11,\n // sync with `lineHeight` in `legend` styles\n fontSize: '0.75em',\n visibility: 'hidden',\n maxWidth: 0.01,\n transition: theme.transitions.create('max-width', {\n duration: 50,\n easing: theme.transitions.easing.easeOut\n }),\n '& > span': {\n paddingLeft: 5,\n paddingRight: 5,\n display: 'inline-block'\n }\n },\n\n /* Styles applied to the legend element is notched. */\n legendNotched: {\n maxWidth: 1000,\n transition: theme.transitions.create('max-width', {\n duration: 100,\n easing: theme.transitions.easing.easeOut,\n delay: 50\n })\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar NotchedOutline = /*#__PURE__*/React.forwardRef(function NotchedOutline(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n label = props.label,\n labelWidthProp = props.labelWidth,\n notched = props.notched,\n style = props.style,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"label\", \"labelWidth\", \"notched\", \"style\"]);\n\n var theme = useTheme();\n var align = theme.direction === 'rtl' ? 'right' : 'left';\n\n if (label !== undefined) {\n return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n \"aria-hidden\": true,\n className: clsx(classes.root, className),\n ref: ref,\n style: style\n }, other), /*#__PURE__*/React.createElement(\"legend\", {\n className: clsx(classes.legendLabelled, notched && classes.legendNotched)\n }, label ? /*#__PURE__*/React.createElement(\"span\", null, label) : /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: '​'\n }\n })));\n }\n\n var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;\n return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n \"aria-hidden\": true,\n style: _extends(_defineProperty({}, \"padding\".concat(capitalize(align)), 8), style),\n className: clsx(classes.root, className),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"legend\", {\n className: classes.legend,\n style: {\n // IE 11: fieldset with legend does not render\n // a border radius. This maintains consistency\n // by always having a legend rendered\n width: notched ? labelWidth : 0.01\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: '​'\n }\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? NotchedOutline.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The label.\n */\n label: PropTypes.node,\n\n /**\n * The width of the label.\n */\n labelWidth: PropTypes.number.isRequired,\n\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool.isRequired,\n\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateNotchedOutline'\n})(NotchedOutline);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport NotchedOutline from './NotchedOutline';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var borderColor = theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n borderRadius: theme.shape.borderRadius,\n '&:hover $notchedOutline': {\n borderColor: theme.palette.text.primary\n },\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n '&:hover $notchedOutline': {\n borderColor: borderColor\n }\n },\n '&$focused $notchedOutline': {\n borderColor: theme.palette.primary.main,\n borderWidth: 2\n },\n '&$error $notchedOutline': {\n borderColor: theme.palette.error.main\n },\n '&$disabled $notchedOutline': {\n borderColor: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {\n '&$focused $notchedOutline': {\n borderColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {\n paddingLeft: 14\n },\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {\n paddingRight: 14\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: '18.5px 14px',\n '&$marginDense': {\n paddingTop: 10.5,\n paddingBottom: 10.5\n }\n },\n\n /* Styles applied to the `NotchedOutline` element. */\n notchedOutline: {\n borderColor: borderColor\n },\n\n /* Styles applied to the `input` element. */\n input: {\n padding: '18.5px 14px',\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.type === 'light' ? null : '0 0 0 100px #266798 inset',\n WebkitTextFillColor: theme.palette.type === 'light' ? null : '#fff',\n caretColor: theme.palette.type === 'light' ? null : '#fff',\n borderRadius: 'inherit'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 10.5,\n paddingBottom: 10.5\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n padding: 0\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {\n paddingLeft: 0\n },\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {\n paddingRight: 0\n }\n };\n};\nvar OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(props, ref) {\n var classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n label = props.label,\n _props$labelWidth = props.labelWidth,\n labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n notched = props.notched,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"classes\", \"fullWidth\", \"inputComponent\", \"label\", \"labelWidth\", \"multiline\", \"notched\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n renderSuffix: function renderSuffix(state) {\n return /*#__PURE__*/React.createElement(NotchedOutline, {\n className: classes.notchedOutline,\n label: label,\n labelWidth: labelWidth,\n notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n });\n },\n classes: _extends({}, classes, {\n root: clsx(classes.root, classes.underline),\n notchedOutline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? OutlinedInput.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The label of the input. It is only used for layout. The actual labelling\n * is handled by `InputLabel`. If specified `labelWidth` is ignored.\n */\n label: PropTypes.node,\n\n /**\n * The width of the label. Is ignored if `label` is provided. Prefer `label`\n * if the input label appears with a strike through.\n */\n labelWidth: PropTypes.number,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nOutlinedInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiOutlinedInput'\n})(OutlinedInput);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { formatMuiErrorMessage as _formatMuiErrorMessage } from \"@material-ui/utils\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport capitalize from '../utils/capitalize';\nimport { refType } from '@material-ui/utils';\nimport Menu from '../Menu/Menu';\nimport { isFilled } from '../InputBase/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\n\nfunction areEqualValues(a, b) {\n if (_typeof(b) === 'object' && b !== null) {\n return a === b;\n }\n\n return String(a) === String(b);\n}\n\nfunction isEmpty(display) {\n return display == null || typeof display === 'string' && !display.trim();\n}\n/**\n * @ignore - internal component.\n */\n\n\nvar SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n var ariaLabel = props['aria-label'],\n autoFocus = props.autoFocus,\n autoWidth = props.autoWidth,\n children = props.children,\n classes = props.classes,\n className = props.className,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n displayEmpty = props.displayEmpty,\n IconComponent = props.IconComponent,\n inputRefProp = props.inputRef,\n labelId = props.labelId,\n _props$MenuProps = props.MenuProps,\n MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps,\n multiple = props.multiple,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClose = props.onClose,\n onFocus = props.onFocus,\n onOpen = props.onOpen,\n openProp = props.open,\n readOnly = props.readOnly,\n renderValue = props.renderValue,\n _props$SelectDisplayP = props.SelectDisplayProps,\n SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP,\n tabIndexProp = props.tabIndex,\n type = props.type,\n valueProp = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"aria-label\", \"autoFocus\", \"autoWidth\", \"children\", \"classes\", \"className\", \"defaultValue\", \"disabled\", \"displayEmpty\", \"IconComponent\", \"inputRef\", \"labelId\", \"MenuProps\", \"multiple\", \"name\", \"onBlur\", \"onChange\", \"onClose\", \"onFocus\", \"onOpen\", \"open\", \"readOnly\", \"renderValue\", \"SelectDisplayProps\", \"tabIndex\", \"type\", \"value\", \"variant\"]);\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Select'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n value = _useControlled2[0],\n setValue = _useControlled2[1];\n\n var inputRef = React.useRef(null);\n\n var _React$useState = React.useState(null),\n displayNode = _React$useState[0],\n setDisplayNode = _React$useState[1];\n\n var _React$useRef = React.useRef(openProp != null),\n isOpenControlled = _React$useRef.current;\n\n var _React$useState2 = React.useState(),\n menuMinWidthState = _React$useState2[0],\n setMenuMinWidthState = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n openState = _React$useState3[0],\n setOpenState = _React$useState3[1];\n\n var handleRef = useForkRef(ref, inputRefProp);\n React.useImperativeHandle(handleRef, function () {\n return {\n focus: function focus() {\n displayNode.focus();\n },\n node: inputRef.current,\n value: value\n };\n }, [displayNode, value]);\n React.useEffect(function () {\n if (autoFocus && displayNode) {\n displayNode.focus();\n }\n }, [autoFocus, displayNode]);\n React.useEffect(function () {\n if (displayNode) {\n var label = ownerDocument(displayNode).getElementById(labelId);\n\n if (label) {\n var handler = function handler() {\n if (getSelection().isCollapsed) {\n displayNode.focus();\n }\n };\n\n label.addEventListener('click', handler);\n return function () {\n label.removeEventListener('click', handler);\n };\n }\n }\n\n return undefined;\n }, [labelId, displayNode]);\n\n var update = function update(open, event) {\n if (open) {\n if (onOpen) {\n onOpen(event);\n }\n } else if (onClose) {\n onClose(event);\n }\n\n if (!isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : displayNode.clientWidth);\n setOpenState(open);\n }\n };\n\n var handleMouseDown = function handleMouseDown(event) {\n // Ignore everything but left-click\n if (event.button !== 0) {\n return;\n } // Hijack the default focus behavior.\n\n\n event.preventDefault();\n displayNode.focus();\n update(true, event);\n };\n\n var handleClose = function handleClose(event) {\n update(false, event);\n };\n\n var childrenArray = React.Children.toArray(children); // Support autofill.\n\n var handleChange = function handleChange(event) {\n var index = childrenArray.map(function (child) {\n return child.props.value;\n }).indexOf(event.target.value);\n\n if (index === -1) {\n return;\n }\n\n var child = childrenArray[index];\n setValue(child.props.value);\n\n if (onChange) {\n onChange(event, child);\n }\n };\n\n var handleItemClick = function handleItemClick(child) {\n return function (event) {\n if (!multiple) {\n update(false, event);\n }\n\n var newValue;\n\n if (multiple) {\n newValue = Array.isArray(value) ? value.slice() : [];\n var itemIndex = value.indexOf(child.props.value);\n\n if (itemIndex === -1) {\n newValue.push(child.props.value);\n } else {\n newValue.splice(itemIndex, 1);\n }\n } else {\n newValue = child.props.value;\n }\n\n if (child.props.onClick) {\n child.props.onClick(event);\n }\n\n if (value === newValue) {\n return;\n }\n\n setValue(newValue);\n\n if (onChange) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: newValue,\n name: name\n }\n });\n onChange(event, child);\n }\n };\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n if (!readOnly) {\n var validKeys = [' ', 'ArrowUp', 'ArrowDown', // The native select doesn't respond to enter on MacOS, but it's recommended by\n // https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html\n 'Enter'];\n\n if (validKeys.indexOf(event.key) !== -1) {\n event.preventDefault();\n update(true, event);\n }\n }\n };\n\n var open = displayNode !== null && (isOpenControlled ? openProp : openState);\n\n var handleBlur = function handleBlur(event) {\n // if open event.stopImmediatePropagation\n if (!open && onBlur) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: value,\n name: name\n }\n });\n onBlur(event);\n }\n };\n\n delete other['aria-invalid'];\n var display;\n var displaySingle;\n var displayMultiple = [];\n var computeDisplay = false;\n var foundMatch = false; // No need to display any value if the field is empty.\n\n if (isFilled({\n value: value\n }) || displayEmpty) {\n if (renderValue) {\n display = renderValue(value);\n } else {\n computeDisplay = true;\n }\n }\n\n var items = childrenArray.map(function (child) {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var selected;\n\n if (multiple) {\n if (!Array.isArray(value)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? \"Material-UI: The `value` prop must be an array when using the `Select` component with `multiple`.\" : _formatMuiErrorMessage(2));\n }\n\n selected = value.some(function (v) {\n return areEqualValues(v, child.props.value);\n });\n\n if (selected && computeDisplay) {\n displayMultiple.push(child.props.children);\n }\n } else {\n selected = areEqualValues(value, child.props.value);\n\n if (selected && computeDisplay) {\n displaySingle = child.props.children;\n }\n }\n\n if (selected) {\n foundMatch = true;\n }\n\n return /*#__PURE__*/React.cloneElement(child, {\n 'aria-selected': selected ? 'true' : undefined,\n onClick: handleItemClick(child),\n onKeyUp: function onKeyUp(event) {\n if (event.key === ' ') {\n // otherwise our MenuItems dispatches a click event\n // it's not behavior of the native <option> and causes\n // the select to close immediately since we open on space keydown\n event.preventDefault();\n }\n\n if (child.props.onKeyUp) {\n child.props.onKeyUp(event);\n }\n },\n role: 'option',\n selected: selected,\n value: undefined,\n // The value is most likely not a valid HTML attribute.\n 'data-value': child.props.value // Instead, we provide it as a data attribute.\n\n });\n });\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (!foundMatch && !multiple && value !== '') {\n var values = childrenArray.map(function (child) {\n return child.props.value;\n });\n console.warn([\"Material-UI: You have provided an out-of-range value `\".concat(value, \"` for the select \").concat(name ? \"(name=\\\"\".concat(name, \"\\\") \") : '', \"component.\"), \"Consider providing a value that matches one of the available options or ''.\", \"The available values are \".concat(values.filter(function (x) {\n return x != null;\n }).map(function (x) {\n return \"`\".concat(x, \"`\");\n }).join(', ') || '\"\"', \".\")].join('\\n'));\n }\n }, [foundMatch, childrenArray, multiple, name, value]);\n }\n\n if (computeDisplay) {\n display = multiple ? displayMultiple.join(', ') : displaySingle;\n } // Avoid performing a layout computation in the render method.\n\n\n var menuMinWidth = menuMinWidthState;\n\n if (!autoWidth && isOpenControlled && displayNode) {\n menuMinWidth = displayNode.clientWidth;\n }\n\n var tabIndex;\n\n if (typeof tabIndexProp !== 'undefined') {\n tabIndex = tabIndexProp;\n } else {\n tabIndex = disabled ? null : 0;\n }\n\n var buttonId = SelectDisplayProps.id || (name ? \"mui-component-select-\".concat(name) : undefined);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes.selectMenu, classes[variant], className, disabled && classes.disabled),\n ref: setDisplayNode,\n tabIndex: tabIndex,\n role: \"button\",\n \"aria-disabled\": disabled ? 'true' : undefined,\n \"aria-expanded\": open ? 'true' : undefined,\n \"aria-haspopup\": \"listbox\",\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": [labelId, buttonId].filter(Boolean).join(' ') || undefined,\n onKeyDown: handleKeyDown,\n onMouseDown: disabled || readOnly ? null : handleMouseDown,\n onBlur: handleBlur,\n onFocus: onFocus\n }, SelectDisplayProps, {\n // The id is required for proper a11y\n id: buttonId\n }), isEmpty(display) ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: '​'\n }\n }) : display), /*#__PURE__*/React.createElement(\"input\", _extends({\n value: Array.isArray(value) ? value.join(',') : value,\n name: name,\n ref: inputRef,\n \"aria-hidden\": true,\n onChange: handleChange,\n tabIndex: -1,\n className: classes.nativeInput,\n autoFocus: autoFocus\n }, other)), /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], open && classes.iconOpen, disabled && classes.disabled)\n }), /*#__PURE__*/React.createElement(Menu, _extends({\n id: \"menu-\".concat(name || ''),\n anchorEl: displayNode,\n open: open,\n onClose: handleClose\n }, MenuProps, {\n MenuListProps: _extends({\n 'aria-labelledby': labelId,\n role: 'listbox',\n disableListWrap: true\n }, MenuProps.MenuListProps),\n PaperProps: _extends({}, MenuProps.PaperProps, {\n style: _extends({\n minWidth: menuMinWidth\n }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)\n })\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? SelectInput.propTypes = {\n /**\n * @ignore\n */\n 'aria-label': PropTypes.string,\n\n /**\n * @ignore\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `<MenuItem>` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the selected item is displayed even if its value is empty.\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`\n * Equivalent to `ref`\n */\n inputRef: refType,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n */\n open: PropTypes.bool,\n\n /**\n * @ignore\n */\n readOnly: PropTypes.bool,\n\n /**\n * Render the selected value.\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n type: PropTypes.any,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default SelectInput;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { mergeClasses } from '@material-ui/styles';\nimport SelectInput from './SelectInput';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nimport { styles as nativeSelectStyles } from '../NativeSelect/NativeSelect';\nimport NativeSelectInput from '../NativeSelect/NativeSelectInput';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nexport var styles = nativeSelectStyles;\n\nvar _ref = /*#__PURE__*/React.createElement(Input, null);\n\nvar _ref2 = /*#__PURE__*/React.createElement(FilledInput, null);\n\nvar Select = /*#__PURE__*/React.forwardRef(function Select(props, ref) {\n var _props$autoWidth = props.autoWidth,\n autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth,\n children = props.children,\n classes = props.classes,\n _props$displayEmpty = props.displayEmpty,\n displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n id = props.id,\n input = props.input,\n inputProps = props.inputProps,\n label = props.label,\n labelId = props.labelId,\n _props$labelWidth = props.labelWidth,\n labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n MenuProps = props.MenuProps,\n _props$multiple = props.multiple,\n multiple = _props$multiple === void 0 ? false : _props$multiple,\n _props$native = props.native,\n native = _props$native === void 0 ? false : _props$native,\n onClose = props.onClose,\n onOpen = props.onOpen,\n open = props.open,\n renderValue = props.renderValue,\n SelectDisplayProps = props.SelectDisplayProps,\n _props$variant = props.variant,\n variantProps = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoWidth\", \"children\", \"classes\", \"displayEmpty\", \"IconComponent\", \"id\", \"input\", \"inputProps\", \"label\", \"labelId\", \"labelWidth\", \"MenuProps\", \"multiple\", \"native\", \"onClose\", \"onOpen\", \"open\", \"renderValue\", \"SelectDisplayProps\", \"variant\"]);\n\n var inputComponent = native ? NativeSelectInput : SelectInput;\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant']\n });\n var variant = fcs.variant || variantProps;\n var InputComponent = input || {\n standard: _ref,\n outlined: /*#__PURE__*/React.createElement(OutlinedInput, {\n label: label,\n labelWidth: labelWidth\n }),\n filled: _ref2\n }[variant];\n return /*#__PURE__*/React.cloneElement(InputComponent, _extends({\n // Most of the logic is implemented in `SelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent: inputComponent,\n inputProps: _extends({\n children: children,\n IconComponent: IconComponent,\n variant: variant,\n type: undefined,\n // We render a select. We can ignore the type provided by the `Input`.\n multiple: multiple\n }, native ? {\n id: id\n } : {\n autoWidth: autoWidth,\n displayEmpty: displayEmpty,\n labelId: labelId,\n MenuProps: MenuProps,\n onClose: onClose,\n onOpen: onOpen,\n open: open,\n renderValue: renderValue,\n SelectDisplayProps: _extends({\n id: id\n }, SelectDisplayProps)\n }, inputProps, {\n classes: inputProps ? mergeClasses({\n baseClasses: classes,\n newClasses: inputProps.classes,\n Component: Select\n }) : classes\n }, input ? input.props.inputProps : {}),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Select.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\n *\n * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, a value is displayed even if no items are selected.\n *\n * In order to display a meaningful value, a function should be passed to the `renderValue` prop which returns the value to be displayed when no items are selected.\n * You can only use it when the `native` prop is `false` (default).\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType,\n\n /**\n * The `id` of the wrapper element or the `select` element when `native`.\n */\n id: PropTypes.string,\n\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * When `native` is `true`, the attributes are applied on the `select` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * See [OutlinedInput#label](/api/outlined-input/#props)\n */\n label: PropTypes.node,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * See [OutlinedInput#label](/api/outlined-input/#props)\n */\n labelWidth: PropTypes.number,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * If `true`, the component will be using a native `select` element.\n */\n native: PropTypes.bool,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected when `native` is `false` (default).\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n * You can only use it when the `native` prop is `false` (default).\n */\n open: PropTypes.bool,\n\n /**\n * Render the selected value.\n * You can only use it when the `native` prop is `false` (default).\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * The input value. Providing an empty string will select no options.\n * This prop is required when the `native` prop is `false` (default).\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n *\n * If the value is an object it must have reference equality with the option in order to be selected.\n * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nSelect.muiName = 'Select';\nexport default withStyles(styles, {\n name: 'MuiSelect'\n})(Select);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');"],"names":["FilledInput","props","ref","disableUnderline","classes","_props$fullWidth","fullWidth","_props$inputComponent","inputComponent","_props$multiline","multiline","_props$type","type","other","root","underline","muiName","theme","light","palette","bottomLineColor","backgroundColor","position","borderTopLeftRadius","shape","borderRadius","borderTopRightRadius","transition","transitions","create","duration","shorter","easing","easeOut","colorSecondary","borderBottomColor","secondary","main","borderBottom","concat","primary","left","bottom","content","right","transform","pointerEvents","error","text","borderBottomStyle","focused","disabled","adornedStart","paddingLeft","adornedEnd","paddingRight","marginDense","padding","paddingTop","paddingBottom","input","WebkitBoxShadow","WebkitTextFillColor","caretColor","inputMarginDense","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd","name","useFormControl","styles","select","userSelect","minWidth","cursor","display","height","background","paper","filled","outlined","selectMenu","minHeight","textOverflow","whiteSpace","overflow","icon","top","color","action","active","iconOpen","iconFilled","iconOutlined","nativeInput","opacity","width","defaultInput","NativeSelect","children","_props$IconComponent","IconComponent","_props$input","inputProps","variant","muiFormControl","fcs","states","undefined","className","inputRef","_props$variant","multiple","NotchedOutline","label","labelWidthProp","labelWidth","notched","style","align","useTheme","direction","legendLabelled","legendNotched","dangerouslySetInnerHTML","__html","capitalize","legend","withStyles","margin","borderStyle","borderWidth","textAlign","lineHeight","fontSize","visibility","maxWidth","delay","OutlinedInput","_props$labelWidth","InputBase","renderSuffix","state","notchedOutline","Boolean","startAdornment","borderColor","areEqualValues","a","b","String","ariaLabel","autoFocus","autoWidth","defaultValue","displayEmpty","inputRefProp","labelId","_props$MenuProps","MenuProps","onBlur","onChange","onClose","onFocus","onOpen","openProp","open","readOnly","renderValue","_props$SelectDisplayP","SelectDisplayProps","tabIndexProp","tabIndex","valueProp","value","_useControlled","useControlled","controlled","default","_useControlled2","setValue","_React$useState","displayNode","setDisplayNode","isOpenControlled","current","_React$useState2","menuMinWidthState","setMenuMinWidthState","_React$useState3","openState","setOpenState","handleRef","useForkRef","focus","node","ownerDocument","getElementById","handler","getSelection","isCollapsed","addEventListener","removeEventListener","displaySingle","update","event","clientWidth","childrenArray","handleItemClick","child","newValue","Array","isArray","slice","itemIndex","indexOf","push","splice","onClick","persist","Object","defineProperty","writable","displayMultiple","computeDisplay","items","map","selected","Error","some","v","onKeyUp","key","preventDefault","role","join","menuMinWidth","buttonId","id","filter","onKeyDown","onMouseDown","button","trim","isEmpty","index","target","Menu","anchorEl","MenuListProps","disableListWrap","PaperProps","_ref","Input","_ref2","Select","_props$autoWidth","_props$displayEmpty","ArrowDropDown","_props$multiple","_props$native","native","variantProps","NativeSelectInput","formControlState","InputComponent","standard","mergeClasses","baseClasses","newClasses","Component","d"],"sourceRoot":""}
|