dga-ui-react 1.6.1 → 1.8.0
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/Metric/cjs/index.js.map +1 -1
- package/Metric/esm/index.js.map +1 -1
- package/charts/cjs/index.js.map +1 -1
- package/charts/esm/index.js.map +1 -1
- package/dist/cjs/index.js +30 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +31 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -554,7 +554,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
554
554
|
opacity: 1;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
`,Yr="#FFF",Hr="#FFF3",Mr="#FFFFFF4D",Lr="#FFF6",Qr="#FFF9",jr="#FFFFFFB2",Vr="#FFFC",Pr={small:{w:74,h:24,p:8,f:12},medium:{w:94,h:32,p:12,f:14},large:{w:110,h:40,p:16,f:16}},Kr=o.forwardRef(((o,n)=>{var{children:i,size:a="large",style:l="primary",buttonStyle:s,destructive:d,iconOnly:c,onColor:p,leadIcon:u,trailIcon:g}=o,h=v(o,["children","size","style","buttonStyle","destructive","iconOnly","onColor","leadIcon","trailIcon"]);const A=b(),f=((e,t=!1,r=!1)=>t||r?!t&&r?{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]}},primary:{backgroundColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Yr}},"secondary-solid":{backgroundColor:{default:e.palette.error[50],hovered:e.palette.error[100],active:e.palette.error[200],disabled:e.palette.neutral[200]},fontColor:{default:e.palette.error[700],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[700],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{default:e.palette.error[200],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400],focus:e.textColor}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[700],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}}}:t&&!r?{neutral:{backgroundColor:{default:Yr,hovered:Vr,active:Qr,disabled:Hr},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:Lr},borderColor:{focus:Yr},innerBorderColor:{focus:e.textColor}},primary:{backgroundColor:{default:Yr,hovered:Vr,active:Qr,disabled:Hr},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:Lr},borderColor:{focus:Yr},innerBorderColor:{focus:e.textColor}},"secondary-solid":{backgroundColor:{default:Hr,hovered:Hr,active:Lr,disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:Lr},borderColor:{focus:Yr}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:Hr,active:Lr,disabled:"transparent"},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:Lr},borderColor:{default:Lr,hovered:Lr,active:Lr,disabled:e.palette.neutral[400],focus:Yr}},subtle:{backgroundColor:{default:"transparent",hovered:Hr,active:Lr,disabled:"transparent"},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:Lr},borderColor:{focus:Yr}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.textOnColor||Yr,hovered:e.palette.primary[400],active:e.palette.primary[300],disabled:Lr},borderColor:{focus:Yr}}}:{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]}},primary:{backgroundColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:Yr},innerBorderColor:{focus:e.textColor}},"secondary-solid":{backgroundColor:{default:e.palette.error[50],hovered:e.palette.error[100],active:e.palette.error[200],disabled:e.palette.neutral[200]},fontColor:{default:e.palette.error[700],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400]},borderColor:{focus:Yr}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{default:e.palette.error[200],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400],focus:Yr}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{focus:Yr}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[300],active:e.palette.error[400],disabled:e.palette.neutral[400]},borderColor:{focus:Yr}}}:{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Yr}},primary:{backgroundColor:{default:e.palette.primary[600],hovered:e.palette.primary[700],active:e.palette.primary[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Yr}},"secondary-solid":{backgroundColor:{default:e.palette.neutral[100],hovered:e.palette.neutral[200],active:e.palette.neutral[200],disabled:e.palette.neutral[200]},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.neutral[100],active:e.palette.neutral[200],disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{default:e.palette.neutral[300],hovered:e.palette.neutral[200],active:e.palette.neutral[300],disabled:e.palette.neutral[400],focus:e.textColor}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.neutral[100],active:e.palette.neutral[200],disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.palette.primary[700],active:e.palette.primary[900],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}}})(A,p,d),x=f[l].backgroundColor,y=f[l].fontColor,C=f[l].borderColor,w=f[l].innerBorderColor;return t(Xr,Object.assign({},h,{ref:n,className:m("dgaui dgaui_button",h.className),$disabled:h.disabled,$customStyle:{theme:A,minWidth:c?0:Pr[a].w,height:Pr[a].h,padding:Pr[a].p,fontSize:Pr[a].f,fontColor:y,backgroundColor:x,borderColor:C,innerBorderColor:w},children:[c&&e("div",{className:"iconOnly",children:u||i}),!c&&t(r,{children:[e("div",{className:"leadIcon",children:u}),i,e("div",{className:"trailIcon",children:g})]})]}))})),Xr=sr.button`
|
|
557
|
+
`,Yr="#FFF",Hr="#FFF3",Mr="#FFFFFF4D",Lr="#FFF6",Qr="#FFF9",jr="#FFFFFFB2",Vr="#FFFC",Pr={small:{w:74,h:24,p:8,f:12},medium:{w:94,h:32,p:12,f:14},large:{w:110,h:40,p:16,f:16}},Kr=o.forwardRef(((o,n)=>{var{children:i,size:a="large",style:l="primary",buttonStyle:s,destructive:d,iconOnly:c,onColor:p,leadIcon:u,trailIcon:g}=o,h=v(o,["children","size","style","buttonStyle","destructive","iconOnly","onColor","leadIcon","trailIcon"]);const A=b(),f=((e,t=!1,r=!1)=>t||r?!t&&r?{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]}},primary:{backgroundColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Yr}},"secondary-solid":{backgroundColor:{default:e.palette.error[50],hovered:e.palette.error[100],active:e.palette.error[200],disabled:e.palette.neutral[200]},fontColor:{default:e.palette.error[700],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[700],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{default:e.palette.error[200],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400],focus:e.textColor}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[700],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}}}:t&&!r?{neutral:{backgroundColor:{default:Yr,hovered:Vr,active:Qr,disabled:Hr},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:Lr},borderColor:{focus:Yr},innerBorderColor:{focus:e.textColor}},primary:{backgroundColor:{default:Yr,hovered:Vr,active:Qr,disabled:Hr},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:Lr},borderColor:{focus:Yr},innerBorderColor:{focus:e.textColor}},"secondary-solid":{backgroundColor:{default:Hr,hovered:Hr,active:Lr,disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:Lr},borderColor:{focus:Yr}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:Hr,active:Lr,disabled:"transparent"},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:Lr},borderColor:{default:Lr,hovered:Lr,active:Lr,disabled:e.palette.neutral[400],focus:Yr}},subtle:{backgroundColor:{default:"transparent",hovered:Hr,active:Lr,disabled:"transparent"},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:Lr},borderColor:{focus:Yr}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.textOnColor||Yr,hovered:e.palette.primary[400],active:e.palette.primary[300],disabled:Lr},borderColor:{focus:Yr}}}:{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]}},primary:{backgroundColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:Yr},innerBorderColor:{focus:e.textColor}},"secondary-solid":{backgroundColor:{default:e.palette.error[50],hovered:e.palette.error[100],active:e.palette.error[200],disabled:e.palette.neutral[200]},fontColor:{default:e.palette.error[700],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400]},borderColor:{focus:Yr}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{default:e.palette.error[200],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400],focus:Yr}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{focus:Yr}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[300],active:e.palette.error[400],disabled:e.palette.neutral[400]},borderColor:{focus:Yr}}}:{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Yr}},primary:{backgroundColor:{default:e.palette.primary[600],hovered:e.palette.primary[700],active:e.palette.primary[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Yr,hovered:e.textOnColor||Yr,active:e.textOnColor||Yr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Yr}},"secondary-solid":{backgroundColor:{default:e.palette.neutral[100],hovered:e.palette.neutral[200],active:e.palette.neutral[200],disabled:e.palette.neutral[200]},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.neutral[100],active:e.palette.neutral[200],disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{default:e.palette.neutral[300],hovered:e.palette.neutral[200],active:e.palette.neutral[300],disabled:e.palette.neutral[400],focus:e.textColor}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.neutral[100],active:e.palette.neutral[200],disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.palette.primary[700],active:e.palette.primary[900],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}}})(A,p,d),x=f[l].backgroundColor,y=f[l].fontColor,C=f[l].borderColor,w=f[l].innerBorderColor;return t(Xr,Object.assign({},h,{ref:n,className:m("dgaui dgaui_button",h.className),$disabled:h.disabled,$customStyle:{theme:A,minWidth:c?0:Pr[a].w,height:Pr[a].h,padding:Pr[a].p,fontSize:Pr[a].f,fontColor:y,backgroundColor:x,borderColor:C,innerBorderColor:w},style:s,children:[c&&e("div",{className:"iconOnly",children:u||i}),!c&&t(r,{children:[e("div",{className:"leadIcon",children:u}),i,e("div",{className:"trailIcon",children:g})]})]}))})),Xr=sr.button`
|
|
558
558
|
outline: none;
|
|
559
559
|
border-radius: 4px;
|
|
560
560
|
cursor: pointer;
|
|
@@ -1544,7 +1544,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1544
1544
|
`,Fo=sr.div`
|
|
1545
1545
|
direction: ${e=>e.$theme.direction};
|
|
1546
1546
|
grid-column: span ${e=>e.$columnSpan};
|
|
1547
|
-
`,Ro=(e,t,r)=>o.Children.map(e,(e=>o.isValidElement(e)?e.type===o.Fragment?Ro(e.props.children,t,r):o.cloneElement(e,{columnSpacing:t,rowSpacing:r}):e));const Uo=r=>{var{leadText:o,helpText:n,type:i,actions:a,closeButton:l,onClose:s,background:d}=r,c=v(r,["leadText","helpText","type","actions","closeButton","onClose","background"]);const p=b(),u=No(),g=
|
|
1547
|
+
`,Ro=(e,t,r)=>o.Children.map(e,(e=>o.isValidElement(e)?e.type===o.Fragment?Ro(e.props.children,t,r):o.cloneElement(e,{columnSpacing:t,rowSpacing:r}):e));const Uo=r=>{var{leadText:o,helpText:n,type:i="neutral",actions:a,closeButton:l,onClose:s,background:d}=r,c=v(r,["leadText","helpText","type","actions","closeButton","onClose","background"]);const p=b(),u=No(),g=(h=p,{neutral:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASKSURBVHgBzVm/cxpHFH57HAiKYNKjjDyjymRGDmmMm0hNUBVNZiK1iRNSy8h/AKiKUgRwHXnitJCZtKDGpIlS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zIjF+XyO7qbuKNcCB45+RBHoKIxpmIpVaye+0y1cogaf59dMy+6/ogUAEpVyWUWZlwPjgTuCxcOo/OjcOFzHvInKw+hO8q9ll/hhn94CoDQSCpn3zr8PMJAizv2KSxx+IVquE9ga1m1GoQ75v3TlIV0zUK8ZLypNxOJwOFTiC/RDuiZg7+li0qzSx5Nl1WXGiDS49PHBdL9nNsOFnE/5QzsEvilYGHUUj7zGPAlCH1f4bZZx3NgjzEUjr8oWMDcf5IX3XUfeYxNv0dUDRpnFHvMmaZWAUXlAacTv5X4WILWVoJmfJbVx+Cqij4gSfbRAHafNxXc+TrOkQ2whguNQmYbh8rWQr61CXbzQRn9DsOPnuopoSCHr0hHPIpHF/ob4D9qk6fUuw5aHAAAAAElFTkSuQmCC",vLine:h.palette.neutral[200],border:h.palette.neutral[200],font:h.palette.neutral[800],bg:h.palette.neutral[25]},destructive:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASRSURBVHgBzVlPiFtFGP9m3stB2fzTg9DdQ/agtR7cFYsWFMyC50q9eKjSFjyIIN09iOKhmy0oSg9NEcRDwV20h16s9qqSiBdbWtjtoX/oYVNoS1tok7yU9rB5b/r9Jnlpkr6XnUlDtj/I7nvzZjK/9/v+zDcTQUNCVat5ct0ZRSpPSs2SEBluzrQf17hHhUhUVKDWZBCURTZbpiEgbDozqQyTOsik5rvImM5U4cnKtOEvMdmK+TBTYo6zqATN0wggBC2bEt2UoGo0oFiBbBXbfGZWVBbExMTK4G4DoDzv6KhUiyUgqCgmUguxz6MaYVLlOqf4Mk9jgVoVzWCOTV7rfyIjuyfcEo2NHCBm24I8gScIwqw6bYwfeXWf5+5Dj4mbnrdfCvqFthCcNxecdLoY3ncIst/lVMIpkaIcbS1qoulPh/7YMXHgyMIzQA7IUMJZDG+0glo911mnIXD33Bm6Xfp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AAAAABJRU5ErkJggg==",vLine:h.palette.error[600],border:h.palette.error[200],font:h.palette.error[700],bg:h.palette.error[25]},warning:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQsSURBVHgBzZnLa1NbFMa/vfPA3Iem3rZ6wQvJBS94fbTiQAXBFEFnPgYKOlLUqW0d6qDxH9BmXrFOdOBAdKQDMeJAh1HRgYI9ouIjaqNUg3mc7Vo7OWkaT5J9TkLqD1LOYx/Od7611n5VwCeqmE1AySEoO0GnwxAiSlejlbsiR8cWFCzAfgAp0yI0kIYPhJfGSs1GUSqNQomxeTHGWPS6NMqBMyLSZ5k+ZCSwKmyCHBlDVxDTpkLbClSFj6P0N+nDsXZYkCIpgv0XWzVqKZDy7Fz3XGvKpAgPjDe76SpQh7RYukqHCfSGDELBESH6co03pGvzYuk2eieOGa4a8hM/CdRh5Qd6T0IV9LsXsCDEKv/+MALiAhYTuzwulqycdE5rAlV+NgZJoRWIYXHJUT7GnXycD7EsJn8BcQwX6IRzoh3U7gVKM+iAT4/u4SP9mL/Wb8Vy+nVEKNjHLlYcZPc64OHkSdw/dQBv79/UIvn4ydQZdEShoPvfYOVMbIdPnl0+p0VtS93A0n/X6mv5969w98Quffz/sQn4QkgawZCUelbiM/dYyLNLZ7H60MmaOCYyuAqbTk/BujZVC7sPoiqfTUjYerrkCw7lqh379a8RzkO+zg77RpSHJWRgCD54desKinOfsfrg/DBa+vplQZs1x5P48vwxrOvn4Q9BDioVg0d0aMmZ+O6jiKz4p3b9KYWbC8Yh9PtS3YbToFG8EVIOcRXH4BF2jz5M5149biJie44h+McyzFA++iDKAj3N8+oLwwR2cQ1VMoc5/+4lPBKVHh/QYeQqdSuMZqzcsgt/UpU/9VEwLDBn2pjde03h3TB21vU+uxqjnHO9R8XEz3p0kUYSZS6Q3Vu+bovuQtzgiuWPcMMZ/ma8VbRF3YzImLZmARyuZrwkh1r1eys278Q7Gg6Nse0XQZTtOyRyr0l7dqe+W2lkuEnoHZZRHjZz2BWBDIXY3EEezt62cCBIFcu/ZrDDnCLG2DItRUSv+I3y0El0PyMD5x4/G6d+0QxlsbbKfPB7lierRtMO7gM5z9ip3yjcrRxjuPP+Vq3c/+gDY8YCxbQI9x+pCKwsM2cNn9Qv/UCzFO4y2g1h/AGct/1Uwe0+ZgHlUlxE/rbm1ySFLC9URvFLUHFPHzmXqi7ytL/bWxweoV2xcnmE3eOz2lCnV1G26nCe3gWkTDri9Gn9PbFkkMOcwqKhUo2bSe57M4Vsr7c++K0ZER7c2HjVfTYTCu4Db+j0jjRCX0fcbrgK5HykLTH+mh6Em8IaHqCdrbjrYNFyPkgPjqGsjlCJW+g+XJTjFNaW+49tJ6wiMjhNGzojJPIiuoZKITQXrxZl6/fDAyr/hjaYAkk63E55EIM3cjT3TCE8N9ksnOhUYD28qIbkNTX9K6Ky8OdftE4Mi8jQDgHt7NsPqpMSz/wAP+ylCNjUveUAAAAASUVORK5CYII=",vLine:h.palette.warning[600],border:h.palette.warning[200],font:h.palette.warning[700],bg:h.palette.warning[25]},success:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANiSURBVHgBzZg9aFNRFMf/976kKP16wSaQQUhcK7QuCl1MwcFRUTcHFRzEoS2Ia9O1S1NXQVtwEZTi5pa4CkI6dG7AodAPEpIUhbx3r+e85pU0pkney8vHb0nyPvL+73/uPffcI+CTo1oxJWVoTgukhNbzGsKkw2b9dAkCBfosaFvtAioXDUdy8IHwcnFRF02F0JJWWG4Q0xX0AgV6WM6QtbWIiBS6va8rgWfCjFWtxDICQWx1K7SjwBNdYcfS8OhYJxxHJdIzYmK73XWivbjyRnCuXSJAisw1MbFy6flWBzmktg7t0GumMAgE8oawFinkpeZTstX1lg5nByaO0Zh3DGnBfwI5rJw2MGjIkBNd3Wg+fCHEh1b5mRTiI4aIglqJGdMZ9/e5QBp3CUuFswI6geFSMqSVdMfjeYhrtpEeAXEM5dzwqvvDcZDds1VoHyMEuRhhFx0H2T2MGJYlnfzrOHhkV/dHJLyNlGaMyYjkqqTf4sp/T+ED86hWSVGIZQp95HfxEPfevcH3vZ/witZqntKenEOfYHGP3q9iIXkT92dvwyu0TpODAgn0gUZxmSev4QdJ5vEsTiBgXHHTV8d9i2M0tMkCA63zGsV9fbmGHjElAqRZ3NSVcfQKCyx5venzryzurL9yBLlwKnnxad1JrB+evg1EHGuTlAM9C1y4MUvjA3hMbrFIFsfOlf+c4gs5dz0SQyDQzlAcW5Ud+vIAHnHDyY7NxhPYOygEKw6cB/U3qZT6AR+wEB5n7GQ/xDlonRe8nNDuKgufsJM8KQIacxeg3eSiUywc25UiAk43vUI5sBA1ppJOmtFKbWLEEJC5s0/Ut5kqVMQIUaOyP06dB8dBrlwp3iPkotiK19sijZsms172D3Us8tizpL3oCjxf6thFZaueF89eEVKm4w1NpQtrcWxsOjPMUPOzm5tJLXszx6oy2NYHQY3QfFRO3mo+3rKaoUbOQ27oYFBo5KrUPGp1qm37jVaZDK0yS+gjHNZoePLSFl/bepBvVFo/55mFwNE0KcVKO3FMx4I1Fpra4mlPQrcREOxaRdrJ2NhEptO1nproB9QiMbiHI3BXQCTgCU2LgdishqxMskWjEkEIbISrIGqWpZxtq7Mz5M2/MF0x9MclrUWeXianFHYplDn44B+38nKPa3CIJgAAAABJRU5ErkJggg==",vLine:h.palette.success[600],border:h.palette.success[200],font:h.palette.success[700],bg:h.palette.success[25]},info:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARRSURBVHgBzVk/bBNXGP+9S0niVLFiGbWVkq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mvFRpqLX7j+n/Yrmu7ksQlNgGloqxb4W1SKpb1EIuRwnxtT5wIN1uWYmUEdPYAkuAVyl3lSC4KH2x4j3tbnOuBL2S+dh4MzSW3XX5PCYRHvAkLtBZchQi2ycO13i8MWLoMj6tscbHVyAGDCXsWQMcJ+TVtTqWMvlqhZk35eBcNDJdvVTIrvzbT8wbY+AiZV8bu57tvx1UwTZ+Wv8RbYB2yyeRQ3EUuQ/ijmnhuQuSuyVmxni0itB/MTakkiiuHuov8goWUhl9p/NGsBS+eBrRHbw30KKtI5KCdprR12TfQ3RL+GfR+nIdaoYFw6qgbEeiLYDlZBPFM7Sh9bC+F48zNEMKr8CULaGHd6/RniNTDfu03o+dx1AAAAAElFTkSuQmCC",vLine:h.palette.info[600],border:h.palette.neutral[200],font:h.palette.info[700],bg:h.palette.info[25]}})[i];var h;const A="color"===d,f=!n&&!a;return t(Do,Object.assign({$theme:p,$colors:g,$isColored:A},c,{className:m("dgaui dgaui_inlineAlert "+(u.isMobile?" mobile ":"")+(f?" minimal ":""),c.className),children:[e("div",{className:"icon"}),t("div",{className:"content",children:[e("div",{className:"leadText",children:o}),n&&e("div",{className:"helpText",children:n}),a&&e("div",{className:"actions",children:a})]}),l&&e("div",{className:"close",onClick:()=>null==s?void 0:s()})]}))},Do=sr.div`
|
|
1548
1548
|
direction: ${e=>e.$theme.direction};
|
|
1549
1549
|
width: 100%;
|
|
1550
1550
|
display: flex;
|
|
@@ -1696,7 +1696,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1696
1696
|
&:hover {
|
|
1697
1697
|
color: ${e=>e.$disabled?e.$style.disabled:e.$style.hovered};
|
|
1698
1698
|
}
|
|
1699
|
-
`,Ho=t=>{var{children:r,style:o="primary",type:n="ordered-list",level:i=1,iconUrl:a=""}=t,l=v(t,["children","style","type","level","iconUrl"]);const s=b(),d=(c=s,{neutral:{text:c.textColor},primary:{text:c.palette.primary[600]},"on-color":{text:"#FFF"}})[o];var c;return e("ordered-list"===n?Lo:Mo,Object.assign({$theme:s,$colors:d,$listStyleType:jo(n,i)},l,{className:m("dgaui dgaui_list",l.className),type:"ordered-list"===n&&1==+i?"1":"a",$iconUrl:a,$level:+i,children:r}))},Mo=sr.ul`
|
|
1699
|
+
`,Ho=t=>{var{children:r,style:o="primary",type:n="ordered-list",level:i=1,iconUrl:a=""}=t,l=v(t,["children","style","type","level","iconUrl"]);const s=b(),d=(c=s,{neutral:{text:c.textColor},primary:{text:c.palette.primary[600]},"on-color":{text:"#FFF"}})[o];var c;return e("ordered-list"===n?Lo:Mo,Object.assign({$theme:s,$colors:d,$listStyleType:jo(n,i)},l,{className:m("dgaui dgaui_list",l.className),type:"ordered-list"===n&&1==+i?"1":"a",$iconUrl:a,$level:+i,$ol:"ordered-list"===n,children:r}))},Mo=sr.ul`
|
|
1700
1700
|
${e=>Qo(e)};
|
|
1701
1701
|
`,Lo=sr.ol`
|
|
1702
1702
|
${e=>Qo(e)};
|
|
@@ -1707,6 +1707,32 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1707
1707
|
padding-inline-start: ${1===e.$level?0:""};
|
|
1708
1708
|
|
|
1709
1709
|
${e.$listStyleType?"list-style-type: "+e.$listStyleType:""};
|
|
1710
|
+
|
|
1711
|
+
${"decimal"===e.$listStyleType&&1===e.$level&&e.$ol?ir`
|
|
1712
|
+
list-style-type: none; /* Remove default numbering */
|
|
1713
|
+
counter-reset: item; /* Initialize the counter */
|
|
1714
|
+
|
|
1715
|
+
li {
|
|
1716
|
+
display: flex;
|
|
1717
|
+
align-items: center;
|
|
1718
|
+
position: relative;
|
|
1719
|
+
|
|
1720
|
+
&::before {
|
|
1721
|
+
content: counter(item) "- ";
|
|
1722
|
+
counter-increment: item;
|
|
1723
|
+
|
|
1724
|
+
height: 16px;
|
|
1725
|
+
width: 16px;
|
|
1726
|
+
position: absolute;
|
|
1727
|
+
top: 0;
|
|
1728
|
+
inset-inline-start: -24px;
|
|
1729
|
+
}
|
|
1730
|
+
&::marker {
|
|
1731
|
+
content: "";
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
`:""};
|
|
1735
|
+
|
|
1710
1736
|
${"with-icon"===e.$listStyleType&&e.$iconUrl?ir`
|
|
1711
1737
|
li {
|
|
1712
1738
|
display: flex;
|
|
@@ -1724,11 +1750,9 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1724
1750
|
&::marker {
|
|
1725
1751
|
content: "";
|
|
1726
1752
|
}
|
|
1727
|
-
img {
|
|
1728
|
-
}
|
|
1729
1753
|
}
|
|
1730
1754
|
`:""};
|
|
1731
|
-
`,jo=(e,t)=>{const r=+t;switch(e){case"ordered-list":return 1===r?"
|
|
1755
|
+
`,jo=(e,t)=>{const r=+t;switch(e){case"ordered-list":return 1===r?"decimal":"";case"unordered-list":return 1===r?'"- "':2===r?"disc":"";default:return"with-icon"}},Vo={xxSmall:{wh:20,b:2},xSmall:{wh:24,b:2},small:{wh:28,b:2},medium:{wh:32,b:3},large:{wh:36,b:3},xLarge:{wh:40,b:3},xxLarge:{wh:44,b:4}},Po=t=>{var{style:r="primary",size:o="medium",className:n,loadingStyle:i}=t,a=v(t,["style","size","className","loadingStyle"]);const l=b(),s={primary:(d=l).palette.primary.main,neutral:d.textColor,"on-color":d.textOnColor||Yr};var d;return e(Ko,Object.assign({},a,{$theme:l,$customStyle:{color:s[r],size:Vo[o]},$style:r,className:m("dgaui dgaui_loading",n)}))},Ko=sr.div`
|
|
1732
1756
|
width: ${e=>e.$customStyle.size.wh}px;
|
|
1733
1757
|
height: ${e=>e.$customStyle.size.wh}px;
|
|
1734
1758
|
border: ${e=>e.$customStyle.size.b}px solid
|
|
@@ -1934,6 +1958,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1934
1958
|
flex-direction: column;
|
|
1935
1959
|
.dgaui_modalHeaderFooterStart,
|
|
1936
1960
|
.dgaui_modalHeaderFooterEnd {
|
|
1961
|
+
display: inline-flex;
|
|
1937
1962
|
width: 100%;
|
|
1938
1963
|
}
|
|
1939
1964
|
button {
|