rbro-tat-uds 1.5.5 → 1.5.6
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/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -4056,7 +4056,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[i2]+=1);const xt=e=>l.createE
|
|
4056
4056
|
overflow: hidden;
|
4057
4057
|
width: 100%;
|
4058
4058
|
|
4059
|
-
${({$isOpen:e,$height:n,$placeholder:o})=>e?p`
|
4059
|
+
${({$isOpen:e,$height:n,$placeholder:o,$value:i})=>e?p`
|
4060
4060
|
max-height: 304px;
|
4061
4061
|
align-items: stretch;
|
4062
4062
|
|
@@ -4097,9 +4097,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[i2]+=1);const xt=e=>l.createE
|
|
4097
4097
|
border-right: 0.5px solid ${t.gray_200};
|
4098
4098
|
height: 100%;
|
4099
4099
|
width: 100%;
|
4100
|
-
display: ${typeof o=="string"?"flex":"block"};
|
4101
|
-
align-items: ${typeof o=="string"?"center":"stretch"};
|
4102
|
-
padding-left: ${typeof o=="string"?"16px":"0px"};
|
4100
|
+
display: ${typeof o=="string"&&!i?"flex":"block"};
|
4101
|
+
align-items: ${typeof o=="string"&&!i?"center":"stretch"};
|
4102
|
+
padding-left: ${typeof o=="string"&&!i?"16px":"0px"};
|
4103
4103
|
}
|
4104
4104
|
`}
|
4105
4105
|
|
@@ -4120,5 +4120,5 @@ See https://s-c.sh/2BAXzed for more info.`),window[i2]+=1);const xt=e=>l.createE
|
|
4120
4120
|
cursor: default;
|
4121
4121
|
}
|
4122
4122
|
}
|
4123
|
-
`,K4=({height:e="60px",data:n=[],value:o,setValue:i,disabled:a=!1,placeholder:s,...h})=>{var m;const d=x.useRef(null),[C,g]=x.useState(!1),f=x.useCallback(u=>{if(a)return;const{id:y}=u;i(y),g(!1)},[n,i]);return x.useEffect(()=>{const u=y=>{d.current&&!d.current.contains(y.target)&&g(!1)};if(C)return document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[d,C]),x.useEffect(()=>{!o&&!s&&i(n[0].id)},[o]),r.jsx(J4,{ref:d,$height:e,$disabled:a,$isOpen:C,$placeholder:s,...h,children:r.jsxs("button",{disabled:a,onClick:()=>g(!C),children:[r.jsxs("div",{children:[!C&&!o&&s?s:(m=n.find(u=>u.id===o))==null?void 0:m.content,C&&n&&n.length?n.map((u,y)=>r.jsx("button",{disabled:a,onClick:()=>f(u),children:u.content},y)):r.jsx(r.Fragment,{})]}),r.jsx("div",{children:r.jsx("div",{children:r.jsx(O,{icon:C?"select-hide":"select-open-down",size:20,color:t.info_700})})})]})})};exports.Alert=q7;exports.Bar=S7;exports.BreadcrumbItem=B5;exports.Breadcrumbs=T5;exports.Button=N1;exports.Checkbox=Y6;exports.ConfigurationFlexicredit=x7;exports.ConfigurationSaveInfo=A6;exports.Container=C6;exports.Content=f6;exports.ContentDropdown=K4;exports.DashboardSmallShortcut=E4;exports.Datepicker=C4;exports.Divider=L7;exports.Dropdown=f4;exports.Flex=$6;exports.FormField=h7;exports.GraficConfiguratiePensii=U4;exports.GraficFondInvestitii=F4;exports.GraficPensii=y4;exports.GraficPlanInvestitii=q4;exports.GraficPropunerePensii=Y4;exports.Icon=O;exports.IconButton=b1;exports.IconCard=U7;exports.ImageCard=Y7;exports.InvestmentFundItem=V4;exports.LabeledText=ve;exports.Layout=d6;exports.Logo=K5;exports.Modal=Q2;exports.ObjectiveCard=J6;exports.ObjectiveCardSmall=w7;exports.PageMessage=t7;exports.PageTitle=_7;exports.Pill=k4;exports.PlanulFinanciarTeaser=Q6;exports.ProductTeaser=K2;exports.ProductTeaserButton=Le;exports.ProductTeaserParameters=O7;exports.ProductTeaserStep=z7;exports.ProposalPensii=Re;exports.PropunereFlexicredit=we;exports.PropunerePlanInvestitii=ze;exports.Radio=$4;exports.Section=be;exports.SegmentedTabs=E6;exports.SelectionPill=Z4;exports.ShortcutCard=F6;exports.Sidebar=b2;exports.SidebarItem=l6;exports.Slider=g7;exports.Spinner=v2;exports.StepTab=A7;exports.StepsBar=Pe;exports.Tab=M6;exports.TextInput=s7;exports.TimedButton=Z7;exports.colors=t;
|
4123
|
+
`,K4=({height:e="60px",data:n=[],value:o,setValue:i,disabled:a=!1,placeholder:s,...h})=>{var m;const d=x.useRef(null),[C,g]=x.useState(!1),f=x.useCallback(u=>{if(a)return;const{id:y}=u;i(y),g(!1)},[n,i]);return x.useEffect(()=>{const u=y=>{d.current&&!d.current.contains(y.target)&&g(!1)};if(C)return document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}},[d,C]),x.useEffect(()=>{!o&&!s&&i(n[0].id)},[o]),r.jsx(J4,{ref:d,$height:e,$disabled:a,$isOpen:C,$placeholder:s,$value:o,...h,children:r.jsxs("button",{disabled:a,onClick:()=>g(!C),children:[r.jsxs("div",{children:[!C&&!o&&s?s:(m=n.find(u=>u.id===o))==null?void 0:m.content,C&&n&&n.length?n.map((u,y)=>r.jsx("button",{disabled:a,onClick:()=>f(u),children:u.content},y)):r.jsx(r.Fragment,{})]}),r.jsx("div",{children:r.jsx("div",{children:r.jsx(O,{icon:C?"select-hide":"select-open-down",size:20,color:t.info_700})})})]})})};exports.Alert=q7;exports.Bar=S7;exports.BreadcrumbItem=B5;exports.Breadcrumbs=T5;exports.Button=N1;exports.Checkbox=Y6;exports.ConfigurationFlexicredit=x7;exports.ConfigurationSaveInfo=A6;exports.Container=C6;exports.Content=f6;exports.ContentDropdown=K4;exports.DashboardSmallShortcut=E4;exports.Datepicker=C4;exports.Divider=L7;exports.Dropdown=f4;exports.Flex=$6;exports.FormField=h7;exports.GraficConfiguratiePensii=U4;exports.GraficFondInvestitii=F4;exports.GraficPensii=y4;exports.GraficPlanInvestitii=q4;exports.GraficPropunerePensii=Y4;exports.Icon=O;exports.IconButton=b1;exports.IconCard=U7;exports.ImageCard=Y7;exports.InvestmentFundItem=V4;exports.LabeledText=ve;exports.Layout=d6;exports.Logo=K5;exports.Modal=Q2;exports.ObjectiveCard=J6;exports.ObjectiveCardSmall=w7;exports.PageMessage=t7;exports.PageTitle=_7;exports.Pill=k4;exports.PlanulFinanciarTeaser=Q6;exports.ProductTeaser=K2;exports.ProductTeaserButton=Le;exports.ProductTeaserParameters=O7;exports.ProductTeaserStep=z7;exports.ProposalPensii=Re;exports.PropunereFlexicredit=we;exports.PropunerePlanInvestitii=ze;exports.Radio=$4;exports.Section=be;exports.SegmentedTabs=E6;exports.SelectionPill=Z4;exports.ShortcutCard=F6;exports.Sidebar=b2;exports.SidebarItem=l6;exports.Slider=g7;exports.Spinner=v2;exports.StepTab=A7;exports.StepsBar=Pe;exports.Tab=M6;exports.TextInput=s7;exports.TimedButton=Z7;exports.colors=t;
|
4124
4124
|
//# sourceMappingURL=index.cjs.js.map
|