hisd3-ui-kit 4.5.0 → 4.7.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/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("antd"),r=require("react"),o=require("styled-components"),i=require("@ant-design/icons");function n(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}n('body,html{height:100%;width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}');n('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--hisd3-rule-width:1px;--hisd3-control-bg:#e6e4e1;--hisd3-control-bg-hover:#dbd8d4;--hisd3-popup-radius:10px;--font-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-heading:var(--font-body);--font-weight-heading:800}body{-webkit-font-smoothing:antialiased;font-family:var(--font-body)}body,html{overscroll-behavior:none}.ant-typography h1,.ant-typography h2,.ant-typography h3,.ant-typography h4,.ant-typography h5,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--font-weight-heading);letter-spacing:-.01em}');const a={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28},s={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},l={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",white:"#FFFFFF"},d={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},p="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",c=(e="red")=>s[e]??e,h=(e,t)=>{const r=e.replace("#",""),o=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(o,16),n=i>>8&255,a=255&i,s=e=>Math.round(e+(255-e)*t);return`#${[s(i>>16&255),s(n),s(a)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},x=({primary:e,radius:t=0,borders:r="hairline",lineWidth:o,overrides:i}={})=>{const n=c(e),s=d[r]??d.hairline,x=o??s.width,g={...l,border:s.border,borderSecondary:s.borderSecondary},u={cssVar:{key:"hisd3"},token:{colorPrimary:n,colorInfo:n,colorLink:n,colorPrimaryBg:h(n,.92),colorPrimaryBgHover:h(n,.86),colorPrimaryBorder:h(n,.6),fontFamily:p,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:x,colorBgLayout:g.bgLayout,colorBgContainer:g.bgContainer,colorBgElevated:g.bgElevated,colorText:g.text,colorTextSecondary:g.textSecondary,colorTextTertiary:g.textTertiary,colorTextHeading:g.text,colorBorder:g.border,colorBorderSecondary:g.borderSecondary,colorSplit:g.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:g.bgLayout,headerBg:g.bgLayout,bodyBg:g.bgLayout,headerPadding:`0 ${a.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",itemColor:g.text,itemHoverColor:g.text,itemHoverBg:"rgba(0,0,0,0.04)",itemSelectedBg:h(n,.9),itemSelectedColor:n,itemActiveBg:h(n,.86),subMenuItemSelectedColor:n,groupTitleColor:g.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:a.pageGutter,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",defaultBorderColor:g.border,defaultColor:g.text,defaultBg:g.bgLayout,defaultHoverBg:g.white,defaultHoverBorderColor:g.borderStrong,defaultHoverColor:g.text,defaultActiveBorderColor:g.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{activeShadow:"none",colorBorder:g.border,hoverBorderColor:g.borderStrong,activeBorderColor:g.borderStrong,paddingInline:16},Select:{optionSelectedBg:h(n,.9),colorBorder:g.border},Table:{headerBg:"transparent",headerColor:g.textTertiary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:g.borderSecondary,rowHoverBg:"rgba(0,0,0,0.03)",cellPaddingBlock:10,cellPaddingInline:12,cellFontSize:14,cellPaddingBlockMD:8,cellPaddingInlineMD:10,cellPaddingBlockSM:6,cellPaddingInlineSM:8,cellFontSizeMD:14,cellFontSizeSM:13,footerBg:"transparent"},Tabs:{inkBarColor:n,itemColor:g.text,itemSelectedColor:n,itemHoverColor:n,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:g.bgLayout,itemActiveBg:n,itemSize:32,itemSizeSM:26,itemInputBg:g.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:g.textTertiary,lastItemColor:g.text,linkColor:g.textTertiary,linkHoverColor:n,separatorColor:g.textTertiary},Card:{headerFontSize:20}}};return i?{...u,...i,token:{...u.token,...i.token},components:{...u.components,...i.components}}:u},g=({primary:e,borders:t="hairline",lineWidth:r,radius:o=0}={})=>{const i=c(e),n=d[t]??d.hairline,a=l;return[":root{",`--hisd3-rule-width:${r??n.width}px;`,`--hisd3-control-bg:${a.bgFilled};`,`--hisd3-control-bg-hover:${a.bgFilledHover};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${o}px;`,`--ant-color-primary:${i};`,`--ant-color-primary-bg:${h(i,.92)};`,`--ant-color-primary-bg-hover:${h(i,.86)};`,`--ant-color-primary-border:${h(i,.6)};`,`--ant-color-error:${i===s.red?i:"#E5401C"};`,`--ant-color-text:${a.text};`,`--ant-color-text-secondary:${a.textSecondary};`,`--ant-color-text-tertiary:${a.textTertiary};`,`--hisd3-border:${n.border};`,`--hisd3-border-secondary:${n.borderSecondary};`,`--ant-color-border:${n.border};`,`--ant-color-border-secondary:${n.borderSecondary};`,`--ant-color-bg-layout:${a.bgLayout};`,`--ant-color-bg-elevated:${a.bgElevated};`,"}"].join("")},u=x(),b={primary:s.red,primaryLight:h(s.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},m=r.createContext(!1),f=()=>r.useContext(m),{Header:v,Content:y}=t.Layout,w=a.siderWidth,A=a.siderCollapsedWidth,k=a.topBarHeight,D=o(t.Layout)`
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("antd"),r=require("react"),o=require("styled-components"),i=require("@ant-design/icons");function n(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}n('body,html{height:100%;width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}');n('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--hisd3-rule-width:1px;--hisd3-control-bg:#e6e4e1;--hisd3-control-bg-hover:#dbd8d4;--hisd3-popup-radius:10px;--font-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-heading:var(--font-body);--font-weight-heading:800}body{-webkit-font-smoothing:antialiased;font-family:var(--font-body)}body,html{overscroll-behavior:none}.ant-typography h1,.ant-typography h2,.ant-typography h3,.ant-typography h4,.ant-typography h5,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--font-weight-heading);letter-spacing:-.01em}');const a={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28},s={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},l={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",white:"#FFFFFF"},d={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},p="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",c=(e="red")=>s[e]??e,h=(e,t)=>{const r=e.replace("#",""),o=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(o,16);return`#${[i>>16&255,i>>8&255,255&i].map((e=>(e=>Math.round(e*(1-t)))(e).toString(16).padStart(2,"0"))).join("")}`},x=(e,t)=>{const r=e.replace("#",""),o=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(o,16),n=i>>8&255,a=255&i,s=e=>Math.round(e+(255-e)*t);return`#${[s(i>>16&255),s(n),s(a)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},g=({primary:e,radius:t=0,borders:r="hairline",lineWidth:o,overrides:i}={})=>{const n=c(e),s=d[r]??d.hairline,g=o??s.width,u={...l,border:s.border,borderSecondary:s.borderSecondary},b={cssVar:{key:"hisd3"},token:{colorPrimary:n,colorInfo:n,colorLink:n,colorPrimaryBg:x(n,.92),colorPrimaryBgHover:x(n,.86),colorPrimaryBorder:x(n,.6),fontFamily:p,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:g,colorBgLayout:u.bgLayout,colorBgContainer:u.bgContainer,colorBgElevated:u.bgElevated,colorText:u.text,colorTextSecondary:u.textSecondary,colorTextTertiary:u.textTertiary,colorTextHeading:u.text,colorBorder:u.border,colorBorderSecondary:u.borderSecondary,colorSplit:u.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:u.bgLayout,headerBg:u.bgLayout,bodyBg:u.bgLayout,headerPadding:`0 ${a.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",itemColor:u.text,itemHoverColor:u.text,itemHoverBg:"rgba(0,0,0,0.04)",itemSelectedBg:x(n,.9),itemSelectedColor:n,itemActiveBg:x(n,.86),subMenuItemSelectedColor:n,groupTitleColor:u.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:a.pageGutter,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",defaultBorderColor:u.border,defaultColor:u.text,defaultBg:u.bgLayout,defaultHoverBg:u.white,defaultHoverBorderColor:u.borderStrong,defaultHoverColor:u.text,defaultActiveBorderColor:u.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{activeShadow:"none",colorBorder:u.border,hoverBorderColor:u.borderStrong,activeBorderColor:u.borderStrong,paddingInline:16},Select:{optionSelectedBg:x(n,.9),colorBorder:u.border},Table:{headerBg:u.bgContainer,headerColor:u.textTertiary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:u.borderSecondary,rowHoverBg:h(u.bgContainer,.03),cellPaddingBlock:10,cellPaddingInline:12,cellFontSize:14,cellPaddingBlockMD:8,cellPaddingInlineMD:10,cellPaddingBlockSM:6,cellPaddingInlineSM:8,cellFontSizeMD:14,cellFontSizeSM:13,footerBg:u.bgContainer},Tabs:{inkBarColor:n,itemColor:u.text,itemSelectedColor:n,itemHoverColor:n,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:u.bgLayout,itemActiveBg:n,itemSize:32,itemSizeSM:26,itemInputBg:u.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:u.textTertiary,lastItemColor:u.text,linkColor:u.textTertiary,linkHoverColor:n,separatorColor:u.textTertiary},Card:{headerFontSize:20}}};return i?{...b,...i,token:{...b.token,...i.token},components:{...b.components,...i.components}}:b},u=({primary:e,borders:t="hairline",lineWidth:r,radius:o=0}={})=>{const i=c(e),n=d[t]??d.hairline,a=l;return[":root{",`--hisd3-rule-width:${r??n.width}px;`,`--hisd3-control-bg:${a.bgFilled};`,`--hisd3-control-bg-hover:${a.bgFilledHover};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${o}px;`,`--ant-color-primary:${i};`,`--ant-color-primary-bg:${x(i,.92)};`,`--ant-color-primary-bg-hover:${x(i,.86)};`,`--ant-color-primary-border:${x(i,.6)};`,`--ant-color-error:${i===s.red?i:"#E5401C"};`,`--ant-color-text:${a.text};`,`--ant-color-text-secondary:${a.textSecondary};`,`--ant-color-text-tertiary:${a.textTertiary};`,`--hisd3-table-bg:${a.bgContainer};`,`--hisd3-table-hover-bg:${h(a.bgContainer,.03)};`,`--hisd3-border:${n.border};`,`--hisd3-border-secondary:${n.borderSecondary};`,`--ant-color-border:${n.border};`,`--ant-color-border-secondary:${n.borderSecondary};`,`--ant-color-bg-layout:${a.bgLayout};`,`--ant-color-bg-elevated:${a.bgElevated};`,"}"].join("")},b=g(),m={primary:s.red,primaryLight:x(s.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},f=r.createContext(!1),v=()=>r.useContext(f),{Header:y,Content:w}=t.Layout,A=a.siderWidth,k=a.siderCollapsedWidth,D=a.topBarHeight,E=o(t.Layout)`
2
2
  position: relative; /* anchor for the edge collapse trigger */
3
3
  background: var(--ant-color-bg-layout);
4
4
 
@@ -30,12 +30,12 @@
30
30
  height: 100%;
31
31
  }
32
32
  }
33
- `,E=o(t.Layout)`
33
+ `,S=o(t.Layout)`
34
34
  background: transparent;
35
35
  min-width: 0;
36
36
 
37
37
  ${({$scroll:e})=>e?"\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n /* keep scroll chaining (and its bounce) out of the document */\n overscroll-behavior: contain;\n ":""}
38
- `,S=o.div`
38
+ `,j=o.div`
39
39
  flex: 1 1 auto;
40
40
  overflow-y: auto;
41
41
  overflow-x: hidden;
@@ -111,11 +111,11 @@
111
111
  &.hisd3-collapsed .ant-menu-item-group-title {
112
112
  display: none;
113
113
  }
114
- `,j=o.a`
114
+ `,C=o.a`
115
115
  display: flex;
116
116
  align-items: center;
117
117
  gap: 10px;
118
- height: ${k}px;
118
+ height: ${D}px;
119
119
  padding: 0 ${({$collapsed:e})=>e?12:a.pageGutter}px;
120
120
  justify-content: ${({$collapsed:e})=>e?"center":"flex-start"};
121
121
  color: inherit;
@@ -153,13 +153,13 @@
153
153
  overflow: hidden;
154
154
  text-overflow: ellipsis;
155
155
  }
156
- `,C=o(v)`
156
+ `,I=o(y)`
157
157
  display: flex;
158
158
  align-items: center;
159
159
  gap: 24px;
160
- flex: 0 0 ${k}px;
161
- height: ${k}px;
162
- line-height: ${k}px;
160
+ flex: 0 0 ${D}px;
161
+ height: ${D}px;
162
+ line-height: ${D}px;
163
163
  padding: 0 ${a.pageGutter}px;
164
164
  position: sticky;
165
165
  top: 0;
@@ -172,24 +172,24 @@
172
172
  min-width: 0;
173
173
  border-bottom: none;
174
174
  background: transparent;
175
- line-height: ${k-2}px;
175
+ line-height: ${D-2}px;
176
176
  font-size: 14px;
177
177
  font-weight: 500;
178
178
  }
179
- `,I=o(v)`
179
+ `,z=o(y)`
180
180
  display: flex;
181
181
  align-items: center;
182
182
  gap: 12px;
183
- flex: 0 0 ${k}px;
184
- height: ${k}px;
185
- line-height: ${k}px;
183
+ flex: 0 0 ${D}px;
184
+ height: ${D}px;
185
+ line-height: ${D}px;
186
186
  padding: 0 ${a.pageGutter}px;
187
187
  position: sticky;
188
188
  top: 0;
189
189
  z-index: 99;
190
190
  background: var(--ant-color-bg-layout);
191
191
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
192
- `,z=o.button`
192
+ `,T=o.button`
193
193
  border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
194
194
  background: transparent;
195
195
  cursor: pointer;
@@ -205,7 +205,7 @@
205
205
  &:hover {
206
206
  background: rgba(0, 0, 0, 0.05);
207
207
  }
208
- `,T=o.button`
208
+ `,B=o.button`
209
209
  user-select: none;
210
210
  -webkit-user-select: none;
211
211
  position: absolute;
@@ -245,10 +245,10 @@
245
245
  & svg {
246
246
  display: block;
247
247
  }
248
- `,B=o(y)`
248
+ `,L=o(w)`
249
249
  flex: 1 0 auto;
250
250
  padding: 24px ${a.pageGutter}px 40px;
251
- `,L=o.div`
251
+ `,F=o.div`
252
252
  flex: 0 0 auto;
253
253
  display: flex;
254
254
  flex-direction: column;
@@ -262,14 +262,14 @@
262
262
  & .ant-dropdown-link {
263
263
  color: inherit;
264
264
  }
265
- `,F=o.a`
265
+ `,R=o.a`
266
266
  display: flex;
267
267
  align-items: center;
268
268
  justify-content: center;
269
269
  cursor: pointer;
270
270
  color: inherit;
271
271
  gap: 10px;
272
- `,R=o.span`
272
+ `,N=o.span`
273
273
  width: 34px;
274
274
  height: 34px;
275
275
  flex: 0 0 auto;
@@ -280,15 +280,15 @@
280
280
  font-weight: 700;
281
281
  color: var(--ant-color-text);
282
282
  background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"#D9D6D2"};
283
- `,N=o.span`
283
+ `,M=o.span`
284
284
  flex: 1 1 auto;
285
285
  min-width: 0;
286
- `,M=o.span`
286
+ `,U=o.span`
287
287
  display: flex;
288
288
  align-items: flex-start;
289
289
  justify-content: space-between;
290
290
  gap: 8px;
291
- `,U=o.h3`
291
+ `,H=o.h3`
292
292
  margin: 0;
293
293
  font-family: var(--font-body);
294
294
  font-size: 14px;
@@ -300,7 +300,7 @@
300
300
  display: -webkit-box;
301
301
  -webkit-line-clamp: 2;
302
302
  -webkit-box-orient: vertical;
303
- `,H=o.span`
303
+ `,O=o.span`
304
304
  width: 20px;
305
305
  height: 22px;
306
306
  display: flex;
@@ -312,7 +312,7 @@
312
312
  & svg {
313
313
  display: block;
314
314
  }
315
- `,O=o.span`
315
+ `,P=o.span`
316
316
  display: block;
317
317
  margin-top: 3px;
318
318
  font-size: 11px;
@@ -323,9 +323,9 @@
323
323
  overflow: hidden;
324
324
  text-overflow: ellipsis;
325
325
  white-space: nowrap;
326
- `,P=(e,t)=>e.key??e.path??`menu-${t}`,$=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const o=P(e,r);return Array.isArray(e.children)&&e.children.length>0?{key:o,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:$(e.children,t)}:{key:o,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),G=(e,t)=>r.createElement("a",{href:e.path||"/"},t),q=({account:r,avatarSrc:o,settingsUrl:n,onLogout:a,collapsed:s=!1,placement:l="topRight",extraItems:d=[]})=>{const{modal:p}=t.App.useApp(),c=[...d??[],{key:"settings",icon:e.jsx(i.SettingOutlined,{}),label:"Settings",onClick:()=>{window.location.href=n??"/settings"}},{key:"logout",icon:e.jsx(i.LogoutOutlined,{}),label:"Logout",onClick:()=>{p.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:e.jsx(i.ExclamationCircleOutlined,{}),onOk:a})}}],h=(r.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return e.jsx(L,{className:"cr-user-info-light",$collapsed:s,$inHeader:"bottomRight"===l,children:e.jsx(t.Dropdown,{trigger:["click"],placement:l,menu:{items:c},children:e.jsxs(F,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[e.jsx(R,{$src:o,"aria-hidden":!0,children:!o&&h}),!s&&e.jsxs(N,{children:[e.jsxs(M,{children:[e.jsx(U,{title:r.fullName,children:r.fullName}),e.jsx(H,{children:e.jsx(i.DownOutlined,{})})]}),r.positionType&&e.jsx(O,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:Q}=t.Layout,K=a.pageGutter,W=o.header`
326
+ `,$=(e,t)=>e.key??e.path??`menu-${t}`,G=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const o=$(e,r);return Array.isArray(e.children)&&e.children.length>0?{key:o,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:G(e.children,t)}:{key:o,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),q=(e,t)=>r.createElement("a",{href:e.path||"/"},t),Q=({account:r,avatarSrc:o,settingsUrl:n,onLogout:a,collapsed:s=!1,placement:l="topRight",extraItems:d=[]})=>{const{modal:p}=t.App.useApp(),c=[...d??[],{key:"settings",icon:e.jsx(i.SettingOutlined,{}),label:"Settings",onClick:()=>{window.location.href=n??"/settings"}},{key:"logout",icon:e.jsx(i.LogoutOutlined,{}),label:"Logout",onClick:()=>{p.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:e.jsx(i.ExclamationCircleOutlined,{}),onOk:a})}}],h=(r.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return e.jsx(F,{className:"cr-user-info-light",$collapsed:s,$inHeader:"bottomRight"===l,children:e.jsx(t.Dropdown,{trigger:["click"],placement:l,menu:{items:c},children:e.jsxs(R,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[e.jsx(N,{$src:o,"aria-hidden":!0,children:!o&&h}),!s&&e.jsxs(M,{children:[e.jsxs(U,{children:[e.jsx(H,{title:r.fullName,children:r.fullName}),e.jsx(O,{children:e.jsx(i.DownOutlined,{})})]}),r.positionType&&e.jsx(P,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:K}=t.Layout,W=a.pageGutter,Y=o.header`
327
327
  display: contents;
328
- `,Y=o.div`
328
+ `,V=o.div`
329
329
  user-select: none;
330
330
  -webkit-user-select: none;
331
331
  display: flex;
@@ -334,7 +334,7 @@
334
334
  height: ${a.topBarHeight}px; /* same as the sidebar brand block */
335
335
  /* never shrink: these are flex items of the scrolling column */
336
336
  flex: 0 0 ${a.topBarHeight}px;
337
- padding: 0 ${K}px;
337
+ padding: 0 ${W}px;
338
338
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
339
339
  background: var(--ant-color-bg-layout);
340
340
  position: sticky;
@@ -350,18 +350,18 @@
350
350
  .ant-breadcrumb ol {
351
351
  flex-wrap: nowrap;
352
352
  }
353
- `,V=o.div`
353
+ `,Z=o.div`
354
354
  display: flex;
355
355
  align-items: center;
356
356
  gap: 10px;
357
357
  flex: 0 0 auto;
358
- `,Z=o.div`
358
+ `,J=o.div`
359
359
  display: flex;
360
360
  align-items: baseline;
361
361
  gap: 16px;
362
362
  flex-wrap: wrap;
363
363
  flex: 0 0 auto;
364
- padding: 20px ${K}px 18px;
364
+ padding: 20px ${W}px 18px;
365
365
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
366
366
 
367
367
  h1 {
@@ -379,10 +379,10 @@
379
379
  font-size: 15px;
380
380
  color: var(--ant-color-text-secondary);
381
381
  }
382
- `,J=o.div`
382
+ `,X=o.div`
383
383
  flex: 1 0 auto;
384
- padding: 24px ${K}px 40px;
385
- `,X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4MJWAAAgnklEQVR42u1db2xb13U/9z7ZTmyKT6TFTFY7xImBQt2AuEDTQZBhuar2x0kwI1YsOShqkZJabBmg0KmXJd8ofikSpF7N6EP2YbJFOwNsyZGzALHcDYJreRGELdvqAluEYkmVdpU1Uyb5KMZ1bPPefXjvUo80KfHddx/fI/UOYMR2rMfH987vnN859/xB4Aq/RCIYpdvRDtLuzY76UsX/2zOc8gEAeLFyCAAOsL9HgPqNfAwFelb77bUMk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v5A3qWfk3JQCK6dD9rP8t/WmxXoGILKPbz+9qLpfmY+cNesVgXqGaYGD8fktj8rLe4k9k78B6+Xk9iEt5g3pX/k0LAD0IIgD4L3o68orKrP5MZ2cDozqVyPnePqnPsx30XsFqisQ2s+gBOtPZ2fDUE7d8lebmGYiZV7y/6n9W/yzqWfk3NQDKURs9OHivycaFr2ddzQqbzhYBwJ2dnTi/jYVTUYspndnn4AKghkDAaAyzhKKuPdPZ2dC150lqRUnGwkrDNrNKX+pZXN27V+q6cSMn+lm4ANjEHkZ0OQbj5rVcg+MUwe4jsPDhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",ee=o(t.Button)`
386
386
  &.ant-btn {
387
387
  display: inline-flex;
388
388
  align-items: center;
@@ -414,7 +414,7 @@
414
414
  .anticon {
415
415
  font-size: 1.05em;
416
416
  }
417
- `,ee={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},te=({variant:t="secondary",...r})=>e.jsx(_,{...ee[t],...r}),re=e=>"soft"===e,oe=1024,ie=560,ne=o.div`
417
+ `,te={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},re=({variant:t="secondary",...r})=>e.jsx(ee,{...te[t],...r}),oe=e=>"soft"===e,ie=1024,ne=560,ae=o.div`
418
418
  position: relative;
419
419
  min-height: 100vh;
420
420
  min-height: 100dvh; /* keeps mobile browser chrome from clipping the card */
@@ -425,7 +425,7 @@
425
425
  overflow-x: hidden;
426
426
  background: #fff;
427
427
 
428
- @media (max-width: ${oe}px) {
428
+ @media (max-width: ${ie}px) {
429
429
  justify-content: center;
430
430
  padding: 32px 24px;
431
431
  background: linear-gradient(
@@ -439,7 +439,7 @@
439
439
  * Phone: a branded hero at the top with a white sheet rising over it,
440
440
  * rather than a floating card. Set as a block so the two simply stack.
441
441
  */
442
- @media (max-width: ${ie}px) {
442
+ @media (max-width: ${ne}px) {
443
443
  display: flex;
444
444
  flex-direction: column;
445
445
  align-items: stretch;
@@ -447,11 +447,11 @@
447
447
  padding: 0;
448
448
  background: var(--ant-color-primary, #E5533B);
449
449
  }
450
- `,ae=o.aside`
450
+ `,se=o.aside`
451
451
  position: absolute;
452
452
  /* the panel takes the side the card does not */
453
- inset: ${({$variant:e,$side:t})=>{const r=re(e)?"28px":"0";return"right"===t?`${r} 40% ${r} ${r}`:`${r} ${r} ${r} 40%`}};
454
- border-radius: ${({$variant:e})=>re(e)?"28px":"0"};
453
+ inset: ${({$variant:e,$side:t})=>{const r=oe(e)?"28px":"0";return"right"===t?`${r} 40% ${r} ${r}`:`${r} ${r} ${r} 40%`}};
454
+ border-radius: ${({$variant:e})=>oe(e)?"28px":"0"};
455
455
  background: var(--ant-color-primary, #E5533B);
456
456
  overflow: hidden;
457
457
  display: flex;
@@ -467,7 +467,7 @@
467
467
  font-family: var(--font-heading);
468
468
  font-size: clamp(26px, 3.1vw, 44px);
469
469
  line-height: 1.15;
470
- font-weight: ${({$variant:e})=>re(e)?700:"var(--font-weight-heading, 800)"};
470
+ font-weight: ${({$variant:e})=>oe(e)?700:"var(--font-weight-heading, 800)"};
471
471
  letter-spacing: -0.01em;
472
472
  max-width: 12em;
473
473
  color: #fff;
@@ -480,12 +480,12 @@
480
480
  opacity: 0.82;
481
481
  }
482
482
 
483
- @media (max-width: ${oe}px) {
483
+ @media (max-width: ${ie}px) {
484
484
  display: none;
485
485
  }
486
486
 
487
487
  /* phone: full-width hero above the sheet */
488
- @media (max-width: ${ie}px) {
488
+ @media (max-width: ${ne}px) {
489
489
  display: flex;
490
490
  /* relative, not static: keeps the pattern layer inside the hero */
491
491
  position: relative;
@@ -506,10 +506,10 @@
506
506
  font-size: 14px;
507
507
  }
508
508
  }
509
- `,se=o.div`
509
+ `,le=o.div`
510
510
  display: none;
511
511
 
512
- @media (max-width: ${ie}px) {
512
+ @media (max-width: ${ne}px) {
513
513
  position: relative;
514
514
  display: flex;
515
515
  align-items: center;
@@ -544,13 +544,13 @@
544
544
  opacity: 0.75;
545
545
  }
546
546
  }
547
- `,le=o.div`
547
+ `,de=o.div`
548
548
  position: absolute;
549
549
  inset: 0;
550
550
  background: center / cover no-repeat url("${({$src:e})=>e}");
551
551
  mix-blend-mode: multiply;
552
552
  opacity: 0.35;
553
- `,de=o.div`
553
+ `,pe=o.div`
554
554
  position: absolute;
555
555
  left: 0;
556
556
  right: 0;
@@ -580,7 +580,7 @@
580
580
  60% 44%, 68% 44%, 68% 30%, 77% 30%, 77% 52%, 86% 52%, 86% 26%, 94% 26%,
581
581
  94% 47%, 100% 47%, 100% 100%, 0 100%
582
582
  );
583
- `,pe=o.div`
583
+ `,ce=o.div`
584
584
  position: absolute;
585
585
  top: 30px;
586
586
  ${({$side:e})=>"right"===e?"left: 40px;":"right: 40px;"}
@@ -601,10 +601,10 @@
601
601
  filter: brightness(0) invert(1);
602
602
  }
603
603
 
604
- @media (max-width: ${ie}px) {
604
+ @media (max-width: ${ne}px) {
605
605
  display: none;
606
606
  }
607
- `,ce=o.div`
607
+ `,he=o.div`
608
608
  position: absolute;
609
609
  ${({$side:e})=>"right"===e?"right: -70px;":"left: -70px;"}
610
610
  bottom: 40px;
@@ -612,13 +612,13 @@
612
612
  height: 190px;
613
613
  opacity: 0.5;
614
614
  pointer-events: none;
615
- border-radius: ${({$variant:e})=>re(e)?"20px":"0"};
615
+ border-radius: ${({$variant:e})=>oe(e)?"20px":"0"};
616
616
  background: ${["0 0","100% 0","0 100%","100% 100%"].map((e=>`linear-gradient(var(--ant-color-primary-bg, #FCEEEB), var(--ant-color-primary-bg, #FCEEEB)) ${e} / 46% 46% no-repeat`)).join(", ")};
617
617
 
618
- @media (max-width: ${oe}px) {
618
+ @media (max-width: ${ie}px) {
619
619
  display: none;
620
620
  }
621
- `,he=o.form`
621
+ `,xe=o.form`
622
622
  position: relative;
623
623
  z-index: 2;
624
624
  margin: 40px ${({$side:e})=>"right"===e?"7% 40px 0":"0 40px 7%"};
@@ -626,7 +626,7 @@
626
626
  padding: 40px 44px 34px;
627
627
  background: #fff;
628
628
 
629
- ${({$variant:e})=>re(e)?o.css`
629
+ ${({$variant:e})=>oe(e)?o.css`
630
630
  border-radius: 18px;
631
631
  box-shadow: 0 4px 10px rgba(16, 15, 14, 0.05),
632
632
  0 24px 60px rgba(16, 15, 14, 0.14);
@@ -638,13 +638,13 @@
638
638
  `}
639
639
 
640
640
  /* tablet and below: no panel, so centre the card */
641
- @media (max-width: ${oe}px) {
641
+ @media (max-width: ${ie}px) {
642
642
  margin: 0;
643
643
  width: min(440px, 100%);
644
644
  }
645
645
 
646
646
  /* phone: a sheet that rises over the hero and runs to the bottom */
647
- @media (max-width: ${ie}px) {
647
+ @media (max-width: ${ne}px) {
648
648
  width: 100%;
649
649
  /* grow to fill whatever the hero leaves, so white runs to the bottom */
650
650
  flex: 1 0 auto;
@@ -652,9 +652,9 @@
652
652
  padding: 30px 22px 34px;
653
653
  box-shadow: none;
654
654
  border: 0;
655
- border-radius: ${({$variant:e})=>re(e)?"28px 28px 0 0":"20px 20px 0 0"};
655
+ border-radius: ${({$variant:e})=>oe(e)?"28px 28px 0 0":"20px 20px 0 0"};
656
656
  }
657
- `,xe=o.div`
657
+ `,ge=o.div`
658
658
  display: flex;
659
659
  align-items: center;
660
660
  gap: 12px;
@@ -673,9 +673,9 @@
673
673
  font-family: var(--font-heading);
674
674
  font-size: 25px;
675
675
  line-height: 1.05;
676
- font-weight: ${({$variant:e})=>re(e)?700:"var(--font-weight-heading, 800)"};
677
- letter-spacing: ${({$variant:e})=>re(e)?"-0.01em":"0.03em"};
678
- text-transform: ${({$variant:e})=>re(e)?"none":"uppercase"};
676
+ font-weight: ${({$variant:e})=>oe(e)?700:"var(--font-weight-heading, 800)"};
677
+ letter-spacing: ${({$variant:e})=>oe(e)?"-0.01em":"0.03em"};
678
+ text-transform: ${({$variant:e})=>oe(e)?"none":"uppercase"};
679
679
  color: var(--ant-color-text, #171717);
680
680
  }
681
681
 
@@ -688,24 +688,24 @@
688
688
  color: var(--ant-color-text-tertiary, #6E6E6E);
689
689
  }
690
690
 
691
- @media (max-width: ${ie}px) {
691
+ @media (max-width: ${ne}px) {
692
692
  display: none;
693
693
  }
694
- `,ge=o.h1`
694
+ `,ue=o.h1`
695
695
  margin: 0 0 6px;
696
696
  font-family: var(--font-heading);
697
697
  font-size: 26px;
698
- font-weight: ${({$variant:e})=>re(e)?700:"var(--font-weight-heading, 800)"};
698
+ font-weight: ${({$variant:e})=>oe(e)?700:"var(--font-weight-heading, 800)"};
699
699
  color: var(--ant-color-text, #171717);
700
700
 
701
- @media (max-width: ${ie}px) {
701
+ @media (max-width: ${ne}px) {
702
702
  font-size: 22px;
703
703
  }
704
- `,ue=o.p`
704
+ `,be=o.p`
705
705
  margin: 0 0 22px;
706
706
  font-size: 14px;
707
707
  color: var(--ant-color-text-secondary, #4A4A4A);
708
- `,be=o.label`
708
+ `,me=o.label`
709
709
  display: block;
710
710
  margin-bottom: 16px;
711
711
 
@@ -730,10 +730,10 @@
730
730
  font: inherit;
731
731
  font-size: 15px;
732
732
  color: var(--ant-color-text, #171717);
733
- background: ${({$variant:e})=>re(e)?"#F2F3F5":"var(--hisd3-control-bg, #e6e4e1)"};
734
- border: ${({$variant:e})=>re(e)?"1px":"var(--hisd3-rule-width, 1px)"}
733
+ background: ${({$variant:e})=>oe(e)?"#F2F3F5":"var(--hisd3-control-bg, #e6e4e1)"};
734
+ border: ${({$variant:e})=>oe(e)?"1px":"var(--hisd3-rule-width, 1px)"}
735
735
  solid transparent;
736
- border-radius: ${({$variant:e})=>re(e)?"10px":"0"};
736
+ border-radius: ${({$variant:e})=>oe(e)?"10px":"0"};
737
737
  outline: none;
738
738
  transition: border-color 0.15s ease, background 0.15s ease;
739
739
 
@@ -752,7 +752,7 @@
752
752
  }
753
753
  }
754
754
 
755
- @media (max-width: ${ie}px) {
755
+ @media (max-width: ${ne}px) {
756
756
  margin-bottom: 14px;
757
757
 
758
758
  input {
@@ -776,7 +776,7 @@
776
776
  color: var(--ant-color-text, #171717);
777
777
  }
778
778
  }
779
- `,me=o.div`
779
+ `,fe=o.div`
780
780
  display: flex;
781
781
  align-items: center;
782
782
  justify-content: space-between;
@@ -806,19 +806,19 @@
806
806
  text-decoration: underline;
807
807
  }
808
808
  }
809
- `,fe=o.div`
809
+ `,ve=o.div`
810
810
  margin-bottom: 16px;
811
811
  padding: 10px 14px;
812
812
  font-size: 13px;
813
813
  color: var(--ant-color-error, #e5401c);
814
814
  background: rgba(229, 64, 28, 0.08);
815
815
  border-left: 3px solid var(--ant-color-error, #e5401c);
816
- `,ve=o.p`
816
+ `,ye=o.p`
817
817
  margin: 20px 0 0;
818
818
  text-align: center;
819
819
  font-size: 14px;
820
820
  color: var(--ant-color-text-secondary, #4A4A4A);
821
- `,ye=o.button`
821
+ `,we=o.button`
822
822
  user-select: none;
823
823
  -webkit-user-select: none;
824
824
  position: relative;
@@ -855,7 +855,7 @@
855
855
  /* the stock bell is narrow; widen it a touch for a fuller silhouette */
856
856
  transform: scaleX(var(--hisd3-bell-stretch, 1.12));
857
857
  }
858
- `,we=o.span`
858
+ `,Ae=o.span`
859
859
  position: absolute;
860
860
  top: ${({$size:e})=>-Math.round(.05*e)}px;
861
861
  right: ${({$size:e})=>-Math.round(.05*e)}px;
@@ -873,7 +873,7 @@
873
873
  border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
874
874
  border-radius: 999px;
875
875
  pointer-events: none;
876
- `,Ae=o.div`
876
+ `,ke=o.div`
877
877
  width: 360px;
878
878
  max-width: calc(100vw - 32px);
879
879
  overflow: hidden;
@@ -882,7 +882,7 @@
882
882
  border-radius: var(--hisd3-popup-radius, 10px);
883
883
  box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
884
884
  0 12px 32px rgba(16, 15, 14, 0.14);
885
- `,ke=o.div`
885
+ `,De=o.div`
886
886
  display: flex;
887
887
  align-items: center;
888
888
  justify-content: space-between;
@@ -910,10 +910,10 @@
910
910
  text-decoration: underline;
911
911
  }
912
912
  }
913
- `,De=o.div`
913
+ `,Ee=o.div`
914
914
  max-height: 380px;
915
915
  overflow-y: auto;
916
- `,Ee=o.button`
916
+ `,Se=o.button`
917
917
  display: flex;
918
918
  align-items: flex-start;
919
919
  gap: 12px;
@@ -928,7 +928,7 @@
928
928
  &:hover {
929
929
  background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"rgba(0,0,0,0.04)"};
930
930
  }
931
- `,Se=o.span`
931
+ `,je=o.span`
932
932
  width: 36px;
933
933
  height: 36px;
934
934
  flex: 0 0 auto;
@@ -939,7 +939,7 @@
939
939
  color: var(--ant-color-text);
940
940
  border-radius: 50%;
941
941
  background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.06)"};
942
- `,je=o.span`
942
+ `,Ce=o.span`
943
943
  flex: 1 1 auto;
944
944
  min-width: 0;
945
945
 
@@ -964,14 +964,14 @@
964
964
  font-size: 12px;
965
965
  color: var(--ant-color-text-tertiary);
966
966
  }
967
- `,Ce=o.span`
967
+ `,Ie=o.span`
968
968
  width: 8px;
969
969
  height: 8px;
970
970
  margin-top: 6px;
971
971
  flex: 0 0 auto;
972
972
  border-radius: 50%;
973
973
  background: var(--ant-color-primary);
974
- `,Ie=o.button`
974
+ `,ze=o.button`
975
975
  display: block;
976
976
  width: 100%;
977
977
  padding: 12px 16px;
@@ -988,9 +988,9 @@
988
988
  &:hover {
989
989
  background: rgba(0, 0, 0, 0.04);
990
990
  }
991
- `,ze=o.div`
991
+ `,Te=o.div`
992
992
  padding: 28px 16px;
993
- `,Te=o.button`
993
+ `,Be=o.button`
994
994
  user-select: none;
995
995
  -webkit-user-select: none;
996
996
  position: relative;
@@ -1026,7 +1026,7 @@
1026
1026
  display: block;
1027
1027
  border-radius: inherit;
1028
1028
  }
1029
- `,Be=o.span`
1029
+ `,Le=o.span`
1030
1030
  position: absolute;
1031
1031
  right: ${({$size:e})=>-Math.round(.05*e)}px;
1032
1032
  bottom: ${({$size:e})=>-Math.round(.05*e)}px;
@@ -1047,7 +1047,7 @@
1047
1047
  & svg {
1048
1048
  display: block;
1049
1049
  }
1050
- `,Le=o.div`
1050
+ `,Fe=o.div`
1051
1051
  display: flex;
1052
1052
  align-items: center;
1053
1053
  gap: 12px;
@@ -1082,7 +1082,7 @@
1082
1082
  overflow: hidden;
1083
1083
  text-overflow: ellipsis;
1084
1084
  }
1085
- `,Fe=o.span`
1085
+ `,Re=o.span`
1086
1086
  width: 40px;
1087
1087
  height: 40px;
1088
1088
  flex: 0 0 auto;
@@ -1093,7 +1093,7 @@
1093
1093
  font-weight: 700;
1094
1094
  border-radius: 50%;
1095
1095
  background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.08)"};
1096
- `,Re=o.div`
1096
+ `,Ne=o.div`
1097
1097
  overflow: hidden;
1098
1098
  background: var(--ant-color-bg-elevated);
1099
1099
  border: 1px solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
@@ -1116,19 +1116,25 @@
1116
1116
  border-radius: 8px;
1117
1117
  font-size: 14px;
1118
1118
  }
1119
- `,Ne=e=>(e||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?",Me=o.div`
1119
+ `,Me=e=>(e||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?",Ue=o.div`
1120
1120
  display: flex;
1121
1121
  align-items: center;
1122
1122
  gap: 8px;
1123
1123
  flex: 0 0 auto;
1124
- `,Ue=o.span`
1124
+ `,He=o.span`
1125
1125
  width: 2px;
1126
1126
  height: 24px;
1127
1127
  background: var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
1128
1128
  flex: 0 0 auto;
1129
- `,He=o.div`
1129
+ `,Oe=o.div`
1130
+ /*
1131
+ * Opaque backgrounds throughout. A fixed column is \`position: sticky\`, so the
1132
+ * columns that scroll underneath it show through anything translucent.
1133
+ * Override --hisd3-table-bg / --hisd3-table-hover-bg on a surface that is not
1134
+ * the usual page grey.
1135
+ */
1130
1136
  .ant-table-wrapper .ant-table {
1131
- background: transparent;
1137
+ background: var(--hisd3-table-bg, #f3f2f0);
1132
1138
  }
1133
1139
 
1134
1140
  .ant-table-wrapper .ant-table-thead > tr > th {
@@ -1139,7 +1145,7 @@
1139
1145
  color: var(--ant-color-text-tertiary);
1140
1146
  padding-block: 9px;
1141
1147
  border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
1142
- background: transparent;
1148
+ background: var(--hisd3-table-bg, #f3f2f0);
1143
1149
  }
1144
1150
 
1145
1151
  .ant-table-wrapper .ant-table-tbody > tr > td {
@@ -1162,7 +1168,7 @@
1162
1168
  }
1163
1169
 
1164
1170
  .ant-table-wrapper .ant-table-cell-row-hover {
1165
- background: rgba(0, 0, 0, 0.025) !important;
1171
+ background: var(--hisd3-table-hover-bg, #ecebe9) !important;
1166
1172
  }
1167
1173
 
1168
1174
  /* Highlighted / linked cell text, e.g. bill numbers */
@@ -1176,14 +1182,14 @@
1176
1182
  .hisd3-cell-muted {
1177
1183
  color: var(--ant-color-text-tertiary);
1178
1184
  }
1179
- `,Oe=o.div`
1185
+ `,Pe=o.div`
1180
1186
  padding: 14px 0 8px;
1181
1187
  font-size: 11px;
1182
1188
  font-weight: 600;
1183
1189
  letter-spacing: 0.1em;
1184
1190
  text-transform: uppercase;
1185
1191
  color: var(--ant-color-text-tertiary);
1186
- `,Pe=o.div`
1192
+ `,$e=o.div`
1187
1193
  user-select: none;
1188
1194
  -webkit-user-select: none;
1189
1195
  display: flex;
@@ -1245,7 +1251,7 @@
1245
1251
  font-weight: 700;
1246
1252
  }
1247
1253
  }
1248
- `,$e=o.div`
1254
+ `,Ge=o.div`
1249
1255
  display: inline-flex;
1250
1256
  border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
1251
1257
 
@@ -1269,7 +1275,7 @@
1269
1275
  color: #fff;
1270
1276
  }
1271
1277
  }
1272
- `,Ge=e=>`Total ${e.toLocaleString()} items`;const qe=o(t.Tabs)`
1278
+ `,qe=e=>`Total ${e.toLocaleString()} items`;const Qe=o(t.Tabs)`
1273
1279
  &.ant-tabs .ant-tabs-nav {
1274
1280
  user-select: none;
1275
1281
  -webkit-user-select: none;
@@ -1304,7 +1310,7 @@
1304
1310
  .ant-tabs-tab-active .hisd3-tab-count {
1305
1311
  color: var(--ant-color-primary);
1306
1312
  }
1307
- `,Qe={default:"var(--ant-color-text)",primary:"var(--ant-color-primary)",success:"var(--ant-color-success)",warning:"var(--ant-color-warning)",danger:"var(--ant-color-error)"},Ke={default:"rgba(0,0,0,0.05)",primary:"var(--ant-color-primary-bg)",success:"var(--ant-color-success-bg)",warning:"var(--ant-color-warning-bg)",danger:"var(--ant-color-error-bg)"},We=o.span`
1313
+ `,Ke={default:"var(--ant-color-text)",primary:"var(--ant-color-primary)",success:"var(--ant-color-success)",warning:"var(--ant-color-warning)",danger:"var(--ant-color-error)"},We={default:"rgba(0,0,0,0.05)",primary:"var(--ant-color-primary-bg)",success:"var(--ant-color-success-bg)",warning:"var(--ant-color-warning-bg)",danger:"var(--ant-color-error-bg)"},Ye=o.span`
1308
1314
  display: inline-flex;
1309
1315
  align-items: center;
1310
1316
  gap: 5px;
@@ -1319,8 +1325,8 @@
1319
1325
  border: var(--hisd3-rule-width, 1px) solid transparent;
1320
1326
  border-radius: 0;
1321
1327
 
1322
- ${({$variant:e,$tone:t})=>{const r=Qe[t],o=Ke[t];switch(e){case"soft":return`color: ${r}; background: ${o};`;case"outline":return`color: ${r}; border-color: ${r}; background: transparent;`;case"solid":return`color: #fff; background: ${"default"===t?"var(--ant-color-text)":r};`;default:return"color: var(--ant-color-text); background: rgba(0,0,0,0.05);"}}}
1323
- `,Ye=o(t.Input)`
1328
+ ${({$variant:e,$tone:t})=>{const r=Ke[t],o=We[t];switch(e){case"soft":return`color: ${r}; background: ${o};`;case"outline":return`color: ${r}; border-color: ${r}; background: transparent;`;case"solid":return`color: #fff; background: ${"default"===t?"var(--ant-color-text)":r};`;default:return"color: var(--ant-color-text); background: rgba(0,0,0,0.05);"}}}
1329
+ `,Ve=o(t.Input)`
1324
1330
  &.ant-input,
1325
1331
  &.ant-input-affix-wrapper {
1326
1332
  border-width: var(--hisd3-rule-width, 1px);
@@ -1332,7 +1338,7 @@
1332
1338
  color: var(--ant-color-text-tertiary);
1333
1339
  font-size: 15px;
1334
1340
  }
1335
- `,Ve=o(Ye)`
1341
+ `,Ze=o(Ve)`
1336
1342
  /* default: the same 40px control height as buttons and selects */
1337
1343
  &.ant-input-affix-wrapper {
1338
1344
  background: var(--hisd3-bg-filled, #e6e4e1);
@@ -1384,5 +1390,5 @@
1384
1390
  font-size: 19px;
1385
1391
  }
1386
1392
  }
1387
- `,Ze={small:"hisd3-search-sm",middle:"",large:"hisd3-search-lg"};var Je,Xe,_e,et,tt,rt,ot,it,nt,at,st,lt,dt;exports.ThemeStyle=void 0,(Je=exports.ThemeStyle||(exports.ThemeStyle={})).MODERN="modern",Je.STANDARD="standard",exports.ThemeStyleRadius=void 0,(Xe=exports.ThemeStyleRadius||(exports.ThemeStyleRadius={})).MODERN="30px",Xe.STANDARD="16px",exports.ThemeMode=void 0,(_e=exports.ThemeMode||(exports.ThemeMode={})).LIGHT="light",_e.SEMI_DARK="semi-dark",_e.DARK="dark",exports.LayoutType=void 0,(et=exports.LayoutType||(exports.LayoutType={})).FULL_WIDTH="full-width",et.BOXED="boxed",et.FRAMED="framed",exports.MenuStyle=void 0,(tt=exports.MenuStyle||(exports.MenuStyle={})).DEFAULT="default",tt.STANDARD="standard",tt.ROUNDED="rounded",tt.ROUNDED_REVERSE="rounded-reverse",tt.CURVED_MENU="curved-menu",exports.NavStyle=void 0,(rt=exports.NavStyle||(exports.NavStyle={})).DEFAULT="default",rt.MINI="mini",rt.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",rt.STANDARD="standard",rt.HEADER_USER="user-header",rt.HEADER_USER_MINI="user-mini-header",rt.DRAWER="drawer",rt.BIT_BUCKET="bit-bucket",rt.H_DEFAULT="h-default",rt.HOR_HEADER_FIXED="hor-header-fixed",rt.HOR_DARK_LAYOUT="hor-dark-layout",exports.FooterType=void 0,(ot=exports.FooterType||(exports.FooterType={})).FIXED="fixed",ot.FLUID="fluid",exports.LayoutDirection=void 0,(it=exports.LayoutDirection||(exports.LayoutDirection={})).RTL="rtl",it.LTR="ltr",exports.HeaderType=void 0,(nt=exports.HeaderType||(exports.HeaderType={})).DARK="dark",nt.LIGHT="light",exports.RouteTransition=void 0,(at=exports.RouteTransition||(exports.RouteTransition={})).NONE="none",at.FADE="fade",at.SLIDE_LEFT="slideLeft",at.SLIDE_RIGHT="slideRight",at.SLIDE_UP="slideUp",at.SLIDE_DOWN="slideDown",exports.Fonts=void 0,(st=exports.Fonts||(exports.Fonts={})).LIGHT="300",st.REGULAR="400",st.MEDIUM="500",st.BOLD="600",exports.AuthType=void 0,(lt=exports.AuthType||(exports.AuthType={})).FIREBASE="firebase",lt.AWS_COGNITO="aws_cognito",lt.AUTH0="auth0",lt.JWT_AUTH="jwt_auth",exports.AppAnimates=void 0,(dt=exports.AppAnimates||(exports.AppAnimates={})).SLIDEUPIN="transition.slideUpIn",dt.SLIDEUPOUT="transition.slideUpOut",dt.SLIDEDOWNIN="transition.slideDownIn",dt.SLIDEDOWNOUT="transition.slideDownOut",dt.SLIDELEFTIN="transition.slideLeftIn",dt.SLIDELEFTOUT="transition.slideLeftOut",dt.SLIDERIGHTIN="transition.slideRightIn",dt.SLIDERIGHTOUT="transition.slideRightOut",dt.FADEIN="transition.fadeIn",dt.FADEOUT="transition.fadeOut";var pt,ct;exports.MessageType=void 0,(pt=exports.MessageType||(exports.MessageType={}))[pt.MEDIA=1]="MEDIA",pt[pt.TEXT=2]="TEXT",exports.RoutePermittedRole=void 0,(ct=exports.RoutePermittedRole||(exports.RoutePermittedRole={})).Admin="admin",ct.User="user",exports.AppAnimateGroups={SLIDEUPIN:{hidden:{y:0},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.2,staggerChildren:.05}}},SLIDEUPOUT:{hidden:{y:0},visible:{opacity:0,y:"100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNIN:{hidden:{opacity:0,y:"-100vh"},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNOUT:{hidden:{y:0},visible:{opacity:0,y:"-100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTIN:{hidden:{x:"100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTOUT:{hidden:{x:0},visible:{opacity:0,x:"100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTIN:{hidden:{x:"-100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTOUT:{hidden:{x:0},visible:{opacity:0,x:"-100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},FADEIN:{hidden:{opacity:0,scale:1},visible:{opacity:1,scale:1,transition:{ease:"easeIn",when:"beforeChildren",staggerChildren:.15}}},FADEOUT:{hidden:{opacity:1,scale:1},visible:{opacity:0,scale:1,transition:{ease:"easeOut",when:"beforeChildren",staggerChildren:.15}}},NOANIMATION:{hidden:{opacity:1},visible:{opacity:1}}},exports.AppMotionAnimate={SLIDEUPIN:{variants:{hidden:{y:100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEUPOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"-100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDEDOWNIN:{variants:{hidden:{y:-100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEDOWNOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDELEFTIN:{variants:{hidden:{x:100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDELEFTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDERIGHTIN:{variants:{hidden:{x:-100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDERIGHTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},FADEIN:{variants:{hidden:{opacity:0},visible:{opacity:1}},transition:{duration:.1,ease:"easeIn",when:"beforeChildren"}},FADEOUT:{variants:{hidden:{opacity:1},visible:{opacity:0}},transition:{duration:.1,ease:"easeOut",when:"beforeChildren"}}},exports.HISD3AvatarMenu=({account:o,avatarSrc:n,settingsUrl:a="/settings",onSettings:s,onLogout:l,confirmLogout:d=!0,extraItems:p,shape:c="circle",size:h=40,hideChevron:x=!1,className:g})=>{const{modal:u}=t.App.useApp(),[b,m]=r.useState(!1),f=[...p??[],...null!==a||s?[{key:"settings",icon:e.jsx(i.SettingOutlined,{}),label:"Settings",onClick:()=>{s?s():a&&(window.location.href=a)}}]:[],{key:"logout",icon:e.jsx(i.LogoutOutlined,{}),label:"Logout",onClick:()=>{d?u.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:e.jsx(i.ExclamationCircleOutlined,{}),okText:"Logout",onOk:l}):l()}}];return e.jsx(t.Dropdown,{open:b,onOpenChange:m,trigger:["click"],placement:"bottomRight",menu:{items:f,onClick:()=>m(!1)},popupRender:t=>e.jsxs(Re,{children:[e.jsxs(Le,{children:[e.jsx(Fe,{$src:n,children:!n&&Ne(o.fullName)}),e.jsxs("span",{className:"hisd3-identity-text",children:[e.jsx("span",{className:"hisd3-identity-name",children:o.fullName}),o.positionType&&e.jsx("span",{className:"hisd3-identity-role",children:o.positionType})]})]}),t]}),children:e.jsxs(Te,{type:"button",className:g,$shape:c,$size:h,$open:b,"aria-label":`Account menu for ${o.fullName}`,children:[n?e.jsx("img",{src:n,alt:""}):Ne(o.fullName),!x&&e.jsx(Be,{$size:h,$open:b,"aria-hidden":!0,children:e.jsx(i.DownOutlined,{})})]})})},exports.HISD3Button=te,exports.HISD3HeaderActions=({children:t,divided:o=!1,className:i})=>{const n=r.Children.toArray(t).filter(Boolean);return e.jsx(Me,{className:i,children:n.map(((t,i)=>e.jsxs(r.Fragment,{children:[o&&i===n.length-1&&i>0&&e.jsx(Ue,{}),t]},i)))})},exports.HISD3Input=t=>e.jsx(Ye,{...t}),exports.HISD3LoginPage=({appName:o,tagline:n,logoSrc:a=X,title:s="Nice to see you again",subtitle:l,panelTitle:d="One system for every part of your hospital.",panelSubtitle:p="Patient care, billing and operations — connected.",panelImage:c,organisationName:h="HISD3",variant:x="soft",side:g="right",identifierLabel:u="User ID or email",identifierPlaceholder:b="Email or user ID",passwordLabel:m="Password",passwordPlaceholder:f="Enter password",submitLabel:v="Sign in",hideRemember:y=!1,rememberLabel:w="Remember me",onForgotPassword:A,forgotLabel:k="Forgot password?",error:D,loading:E=!1,onSubmit:S,footer:j,className:C})=>{const[I,z]=r.useState(""),[T,B]=r.useState(""),[L,F]=r.useState(!1),[R,N]=r.useState(!1);return e.jsxs(ne,{className:C,$side:g,children:[e.jsx(ce,{$variant:x,$side:g,"aria-hidden":!0}),e.jsxs(ae,{$variant:x,$side:g,children:[c?e.jsx(le,{$src:c,"aria-hidden":!0}):e.jsx(de,{"aria-hidden":!0}),e.jsxs(pe,{$side:g,"aria-hidden":!0,children:[e.jsx("img",{src:X,alt:""}),h]}),e.jsxs(se,{children:[a&&e.jsx("img",{src:a,alt:""}),e.jsxs("span",{children:[e.jsx("span",{className:"hisd3-hero-name",children:o}),n&&e.jsx("span",{className:"hisd3-hero-tagline",children:n})]})]}),e.jsx("h2",{children:d}),p&&e.jsx("p",{children:p})]}),e.jsxs(he,{$variant:x,$side:g,onSubmit:e=>{e.preventDefault(),E||S({identifier:I,password:T,remember:L})},noValidate:!0,children:[e.jsxs(xe,{$variant:x,children:[a&&e.jsx("img",{className:"hisd3-login-logo",src:a,alt:""}),e.jsxs("span",{children:[e.jsx("span",{className:"hisd3-login-name",children:o}),n&&e.jsx("span",{className:"hisd3-login-tagline",children:n})]})]}),e.jsx(ge,{$variant:x,children:s}),l&&e.jsx(ue,{children:l}),D&&e.jsx(fe,{role:"alert",children:D}),e.jsxs(be,{$variant:x,children:[e.jsx("span",{className:"hisd3-field-label",children:u}),e.jsx("span",{className:"hisd3-field-control",children:e.jsx("input",{value:I,onChange:e=>z(e.target.value),placeholder:b,autoComplete:"username",disabled:E,autoFocus:!0})})]}),e.jsxs(be,{$variant:x,children:[e.jsx("span",{className:"hisd3-field-label",children:m}),e.jsxs("span",{className:"hisd3-field-control",children:[e.jsx("input",{type:R?"text":"password",value:T,onChange:e=>B(e.target.value),placeholder:f,autoComplete:"current-password",disabled:E}),e.jsx("button",{type:"button",className:"hisd3-field-reveal","aria-label":R?"Hide password":"Show password",onClick:()=>N((e=>!e)),tabIndex:-1,children:R?e.jsx(i.EyeInvisibleOutlined,{}):e.jsx(i.EyeOutlined,{})})]})]}),(!y||A)&&e.jsxs(me,{children:[y?e.jsx("span",{}):e.jsxs("label",{className:"hisd3-remember",children:[e.jsx(t.Switch,{size:"small",checked:L,onChange:F,disabled:E}),w]}),A&&e.jsx("button",{type:"button",className:"hisd3-forgot",onClick:A,children:k})]}),e.jsx(te,{variant:"primary",htmlType:"submit",size:"large",loading:E,block:!0,style:{borderRadius:"soft"===x?10:0,height:50},children:v}),j&&e.jsx(ve,{children:j})]})]})},exports.HISD3NotificationButton=({items:o=[],count:n,loading:a=!1,title:s="Notifications",onMarkAllRead:l,onSeeAll:d,seeAllLabel:p="See all notifications",emptyText:c="You're all caught up",onOpenChange:h,size:x=40,icon:g,className:u})=>{const[b,m]=r.useState(!1),f=n??o.filter((e=>e.unread)).length,v=e.jsxs(Ae,{children:[e.jsxs(ke,{children:[e.jsx("h4",{children:s}),l&&f>0&&e.jsx("button",{type:"button",onClick:l,children:"Mark all as read"})]}),a?e.jsx(ze,{style:{textAlign:"center"},children:e.jsx(t.Spin,{})}):0===o.length?e.jsx(ze,{children:e.jsx(t.Empty,{image:t.Empty.PRESENTED_IMAGE_SIMPLE,description:c})}):e.jsx(De,{children:o.map((t=>e.jsxs(Ee,{type:"button",$unread:t.unread,onClick:()=>{t.onClick?.(t),m(!1),h?.(!1)},children:[e.jsx(Se,{$src:t.avatarSrc,children:!t.avatarSrc&&(t.icon??e.jsx(i.BellFilled,{}))}),e.jsxs(je,{children:[e.jsx("strong",{children:t.title}),t.description&&e.jsx("span",{children:t.description}),t.time&&e.jsx("time",{children:t.time})]}),t.unread&&e.jsx(Ce,{})]},t.id)))}),d&&e.jsx(Ie,{type:"button",onClick:()=>{d(),m(!1),h?.(!1)},children:p})]});return e.jsx(t.Dropdown,{open:b,onOpenChange:e=>{m(e),h?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>v,children:e.jsxs(ye,{type:"button",$size:x,$open:b,className:u,"aria-label":`${s}${f?` (${f} unread)`:""}`,children:[g??e.jsx(i.BellFilled,{}),f>0&&e.jsx(we,{$size:x,children:f>99?"99+":f})]})})},exports.HISD3PageBody=J,exports.HISD3PageHeader=({title:r,subtitle:o,breadcrumb:i,extra:n,leading:a,hideTopBar:s=!1,className:l})=>e.jsxs(W,{className:l,children:[!s&&e.jsxs(Y,{children:[a,i&&i.length>0&&e.jsx(t.Breadcrumb,{items:i.map((t=>({title:t.href?e.jsx("a",{href:t.href,children:t.title}):t.title,onClick:t.onClick})))}),!i?.length&&e.jsx("span",{style:{flex:1}}),n&&e.jsx(V,{children:n})]}),e.jsxs(Z,{children:[e.jsx("h1",{children:r}),o&&e.jsx("p",{children:o})]})]}),exports.HISD3Provider=({primary:i,radius:n,borders:a="hairline",lineWidth:s,overrides:l,theme:d,styledTheme:p={},children:c})=>{const h=r.useMemo((()=>d??x({primary:i,radius:n,borders:a,lineWidth:s,overrides:l})),[d,i,n,a,s,l]),u=r.useMemo((()=>g({primary:i,borders:a,lineWidth:s,radius:n})),[i,a,s,n]);return e.jsxs(m.Provider,{value:!0,children:[e.jsx("style",{dangerouslySetInnerHTML:{__html:u}}),e.jsx(t.ConfigProvider,{theme:h,children:e.jsx(o.ThemeProvider,{theme:p,children:e.jsx(t.App,{component:!1,children:c})})})]})},exports.HISD3SearchInput=({size:t,compact:r,className:o,...n})=>e.jsx(Ve,{allowClear:!0,prefix:e.jsx(i.SearchOutlined,{}),className:[Ze[t??(r?"small":"middle")],o??""].join(" ").trim(),...n}),exports.HISD3Sidebar=({children:n,account:a,logoUrl:s,appName:l,menuItems:d,onLogout:p,pathname:c,avatarSrc:h,styledTheme:x,settingsUrl:g,antdTheme:b,renderMenuLink:m=G,headerExtra:v,userMenuItems:y,onCollapse:L,collapsed:F=!1,loading:R=!1,hideSidebar:N=!1,layoutTop:M=!1,hideCollapseTrigger:U=!1,collapseTrigger:H="edge",collapseTriggerOffset:O=Math.round(k/2),siderWidth:K=w,bareContent:W=!1,hideHeaderBar:Y=!1,brandHref:V="/",hideAccountCard:Z=!1,scrollContent:J=!0})=>{const X=f(),_=void 0===b?X?null:u:b,[ee,te]=r.useState(F);r.useEffect((()=>{te(F)}),[F]);const re=r.useMemo((()=>$(d,m)),[d,m]),oe=r.useMemo((()=>((e,t)=>{let r;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=P(e,n);if(e.path&&t.startsWith(e.path)){const o=t===e.path,n=e.path.length+(o?1:0);(!r||n>r.length)&&(r={key:a,parents:i,length:n})}e.children?.length&&o(e.children,[...i,a])}))};return o(e,[]),{selectedKey:r?.key,openKeys:r?.parents??[]}})(d,c)),[d,c]),[ie,ne]=r.useState((()=>oe.openKeys));r.useEffect((()=>{ne((e=>Array.from(new Set([...e,...oe.openKeys]))))}),[oe.openKeys.join("|")]);const ae=e=>{te(e),L?.(e)},se=oe.selectedKey?[oe.selectedKey]:[],le=U?"none":H,de=ee?"Expand menu":"Collapse menu",pe=e.jsxs(j,{href:V,$collapsed:!M&&ee,children:[s?e.jsx("img",{src:s,alt:l}):e.jsx("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(M||!ee)&&e.jsx("h1",{children:l})]}),ce=W?n:e.jsx(B,{children:n});if("undefined"==typeof document)return null;const he=e.jsx(t.App,{component:!1,children:e.jsx(t.Spin,{spinning:R,size:"large",children:N?e.jsx(e.Fragment,{children:n}):M?e.jsxs(D,{$appShell:J,children:[e.jsxs(C,{children:[pe,e.jsx(t.Menu,{mode:"horizontal",items:re,selectedKeys:se}),v,!Z&&e.jsx(q,{account:a,avatarSrc:h,settingsUrl:g,onLogout:p,placement:"bottomRight",extraItems:y})]}),e.jsx(E,{$scroll:J,children:ce})]}):e.jsxs(D,{hasSider:!0,$appShell:J,children:[e.jsxs(Q,{className:"hisd3-sider",width:K,collapsedWidth:A,collapsible:!0,collapsed:ee,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&ae(!0)},children:[pe,e.jsx(S,{className:ee?"hisd3-collapsed":void 0,children:e.jsx(t.Menu,{mode:"inline",theme:"light",inlineCollapsed:ee,items:re,selectedKeys:se,openKeys:ee?void 0:ie,onOpenChange:e=>ne(e)})}),!Z&&e.jsx(q,{account:a,avatarSrc:h,settingsUrl:g,onLogout:p,collapsed:ee,placement:"topRight",extraItems:y})]}),e.jsxs(E,{$scroll:J,children:[!Y&&e.jsxs(I,{children:["header"===le&&e.jsx(z,{type:"button","aria-label":de,onClick:()=>ae(!ee),children:ee?e.jsx(i.MenuUnfoldOutlined,{}):e.jsx(i.MenuFoldOutlined,{})}),e.jsx("span",{style:{flex:1}}),v]}),ce]}),"edge"===le&&e.jsx(T,{type:"button","aria-label":de,title:de,$left:ee?A:K,$top:O,onClick:()=>ae(!ee),children:ee?e.jsx(i.RightOutlined,{}):e.jsx(i.LeftOutlined,{})})]})})});return X&&!x?_?e.jsx(t.ConfigProvider,{theme:_,children:he}):he:e.jsx(o.ThemeProvider,{theme:x??{},children:_?e.jsx(t.ConfigProvider,{theme:_,children:he}):he})},exports.HISD3Table=function({pagination:r,footer:o,...n}){const a=r||void 0,s=a?.pageSizeOptions??[10,20,50];return e.jsxs(He,{children:[e.jsx(t.Table,{...n,pagination:!1}),o&&e.jsx(Oe,{children:o}),a&&e.jsxs(Pe,{children:[e.jsx("span",{className:"hisd3-total",children:(a.renderTotal??Ge)(a.total,[(a.current-1)*a.pageSize+1,Math.min(a.current*a.pageSize,a.total)])}),e.jsx(t.Pagination,{current:a.current,pageSize:a.pageSize,total:a.total,showSizeChanger:!1,onChange:(e,t)=>a.onChange(e,t),itemRender:(t,r,o)=>"prev"===r?e.jsx("span",{className:"ant-pagination-item-link",children:e.jsx(i.LeftOutlined,{})}):"next"===r?e.jsx("span",{className:"ant-pagination-item-link",children:e.jsx(i.RightOutlined,{})}):o}),!a.hidePageSize&&e.jsx($e,{role:"group","aria-label":"Rows per page",children:s.map((t=>e.jsxs("button",{type:"button","aria-pressed":t===a.pageSize,onClick:()=>a.onChange(1,t),children:[t," / page"]},t)))})]})]})},exports.HISD3Tabs=({items:t,...r})=>e.jsx(qe,{...r,items:t.map((({count:t,label:r,...o})=>({...o,label:e.jsxs(e.Fragment,{children:[r,void 0!==t&&e.jsx("span",{className:"hisd3-tab-count",children:t})]})})))}),exports.HISD3Tag=({variant:t="neutral",tone:r=("neutral"===t?"default":"primary"),children:o,...i})=>e.jsx(We,{$variant:t,$tone:r,...i,children:o}),exports.HISD3_BORDER_PRESETS=d,exports.HISD3_COLORS=b,exports.HISD3_FONT_FAMILY=p,exports.HISD3_FONT_WEIGHT_BODY=400,exports.HISD3_FONT_WEIGHT_HEADING=800,exports.HISD3_LAYOUT=a,exports.HISD3_LOGO_SRC=X,exports.HISD3_NEUTRALS=l,exports.HISD3_PRESETS=s,exports.HeaderIconButton=ye,exports.UserMenu=q,exports.borderVarsCss=(e="hairline",t)=>g({borders:e,lineWidth:t}),exports.createHisd3Theme=x,exports.getInitials=Ne,exports.hisd3AntdTheme=u,exports.hisd3VarsCss=g,exports.resolvePrimary=c,exports.tint=h,exports.useInsideHISD3Provider=f;
1393
+ `,Je={small:"hisd3-search-sm",middle:"",large:"hisd3-search-lg"},Xe=r.createContext(null);let _e=0;function et({Component:t,props:o,onClose:i,unmount:n}){const[a,s]=r.useState(!0),l=r.useRef(!1),d={...o,open:a,hide:r.useCallback((e=>{l.current||(l.current=!0,s(!1),i?.(e),window.setTimeout(n,320))}),[i,n])};return e.jsx(t,{...d})}var tt,rt,ot,it,nt,at,st,lt,dt,pt,ct,ht,xt;exports.ThemeStyle=void 0,(tt=exports.ThemeStyle||(exports.ThemeStyle={})).MODERN="modern",tt.STANDARD="standard",exports.ThemeStyleRadius=void 0,(rt=exports.ThemeStyleRadius||(exports.ThemeStyleRadius={})).MODERN="30px",rt.STANDARD="16px",exports.ThemeMode=void 0,(ot=exports.ThemeMode||(exports.ThemeMode={})).LIGHT="light",ot.SEMI_DARK="semi-dark",ot.DARK="dark",exports.LayoutType=void 0,(it=exports.LayoutType||(exports.LayoutType={})).FULL_WIDTH="full-width",it.BOXED="boxed",it.FRAMED="framed",exports.MenuStyle=void 0,(nt=exports.MenuStyle||(exports.MenuStyle={})).DEFAULT="default",nt.STANDARD="standard",nt.ROUNDED="rounded",nt.ROUNDED_REVERSE="rounded-reverse",nt.CURVED_MENU="curved-menu",exports.NavStyle=void 0,(at=exports.NavStyle||(exports.NavStyle={})).DEFAULT="default",at.MINI="mini",at.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",at.STANDARD="standard",at.HEADER_USER="user-header",at.HEADER_USER_MINI="user-mini-header",at.DRAWER="drawer",at.BIT_BUCKET="bit-bucket",at.H_DEFAULT="h-default",at.HOR_HEADER_FIXED="hor-header-fixed",at.HOR_DARK_LAYOUT="hor-dark-layout",exports.FooterType=void 0,(st=exports.FooterType||(exports.FooterType={})).FIXED="fixed",st.FLUID="fluid",exports.LayoutDirection=void 0,(lt=exports.LayoutDirection||(exports.LayoutDirection={})).RTL="rtl",lt.LTR="ltr",exports.HeaderType=void 0,(dt=exports.HeaderType||(exports.HeaderType={})).DARK="dark",dt.LIGHT="light",exports.RouteTransition=void 0,(pt=exports.RouteTransition||(exports.RouteTransition={})).NONE="none",pt.FADE="fade",pt.SLIDE_LEFT="slideLeft",pt.SLIDE_RIGHT="slideRight",pt.SLIDE_UP="slideUp",pt.SLIDE_DOWN="slideDown",exports.Fonts=void 0,(ct=exports.Fonts||(exports.Fonts={})).LIGHT="300",ct.REGULAR="400",ct.MEDIUM="500",ct.BOLD="600",exports.AuthType=void 0,(ht=exports.AuthType||(exports.AuthType={})).FIREBASE="firebase",ht.AWS_COGNITO="aws_cognito",ht.AUTH0="auth0",ht.JWT_AUTH="jwt_auth",exports.AppAnimates=void 0,(xt=exports.AppAnimates||(exports.AppAnimates={})).SLIDEUPIN="transition.slideUpIn",xt.SLIDEUPOUT="transition.slideUpOut",xt.SLIDEDOWNIN="transition.slideDownIn",xt.SLIDEDOWNOUT="transition.slideDownOut",xt.SLIDELEFTIN="transition.slideLeftIn",xt.SLIDELEFTOUT="transition.slideLeftOut",xt.SLIDERIGHTIN="transition.slideRightIn",xt.SLIDERIGHTOUT="transition.slideRightOut",xt.FADEIN="transition.fadeIn",xt.FADEOUT="transition.fadeOut";var gt,ut;exports.MessageType=void 0,(gt=exports.MessageType||(exports.MessageType={}))[gt.MEDIA=1]="MEDIA",gt[gt.TEXT=2]="TEXT",exports.RoutePermittedRole=void 0,(ut=exports.RoutePermittedRole||(exports.RoutePermittedRole={})).Admin="admin",ut.User="user",exports.AppAnimateGroups={SLIDEUPIN:{hidden:{y:0},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.2,staggerChildren:.05}}},SLIDEUPOUT:{hidden:{y:0},visible:{opacity:0,y:"100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNIN:{hidden:{opacity:0,y:"-100vh"},visible:{opacity:1,y:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDEDOWNOUT:{hidden:{y:0},visible:{opacity:0,y:"-100vh",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTIN:{hidden:{x:"100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDELEFTOUT:{hidden:{x:0},visible:{opacity:0,x:"100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTIN:{hidden:{x:"-100vw"},visible:{opacity:1,x:0,transition:{ease:"easeIn",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},SLIDERIGHTOUT:{hidden:{x:0},visible:{opacity:0,x:"-100vw",transition:{ease:"easeOut",delay:0,when:"beforeChildren",duration:.4,staggerChildren:.15}}},FADEIN:{hidden:{opacity:0,scale:1},visible:{opacity:1,scale:1,transition:{ease:"easeIn",when:"beforeChildren",staggerChildren:.15}}},FADEOUT:{hidden:{opacity:1,scale:1},visible:{opacity:0,scale:1,transition:{ease:"easeOut",when:"beforeChildren",staggerChildren:.15}}},NOANIMATION:{hidden:{opacity:1},visible:{opacity:1}}},exports.AppMotionAnimate={SLIDEUPIN:{variants:{hidden:{y:100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEUPOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"-100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDEDOWNIN:{variants:{hidden:{y:-100,opacity:0},visible:{opacity:1,y:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDEDOWNOUT:{variants:{hidden:{y:0,opacity:1},visible:{opacity:0,y:"100vh"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDELEFTIN:{variants:{hidden:{x:100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDELEFTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},SLIDERIGHTIN:{variants:{hidden:{x:-100,opacity:0},visible:{opacity:1,x:0}},transition:{ease:"easeIn",when:"beforeChildren"}},SLIDERIGHTOUT:{variants:{hidden:{x:0,opacity:1},visible:{opacity:0,x:"-100vw"}},transition:{ease:"easeOut",when:"beforeChildren"}},FADEIN:{variants:{hidden:{opacity:0},visible:{opacity:1}},transition:{duration:.1,ease:"easeIn",when:"beforeChildren"}},FADEOUT:{variants:{hidden:{opacity:1},visible:{opacity:0}},transition:{duration:.1,ease:"easeOut",when:"beforeChildren"}}},exports.DialogProvider=function({children:t}){const[o,i]=r.useState([]),n=r.useMemo((()=>({mount:(e,t)=>i((r=>[...r.filter((t=>t.id!==e)),{id:e,node:t}])),unmount:e=>i((t=>t.filter((t=>t.id!==e))))})),[]);return e.jsxs(Xe.Provider,{value:n,children:[t,o.map((t=>e.jsx(r.Fragment,{children:t.node},t.id)))]})},exports.HISD3AvatarMenu=({account:o,avatarSrc:n,settingsUrl:a="/settings",onSettings:s,onLogout:l,confirmLogout:d=!0,extraItems:p,shape:c="circle",size:h=40,hideChevron:x=!1,className:g})=>{const{modal:u}=t.App.useApp(),[b,m]=r.useState(!1),f=[...p??[],...null!==a||s?[{key:"settings",icon:e.jsx(i.SettingOutlined,{}),label:"Settings",onClick:()=>{s?s():a&&(window.location.href=a)}}]:[],{key:"logout",icon:e.jsx(i.LogoutOutlined,{}),label:"Logout",onClick:()=>{d?u.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:e.jsx(i.ExclamationCircleOutlined,{}),okText:"Logout",onOk:l}):l()}}];return e.jsx(t.Dropdown,{open:b,onOpenChange:m,trigger:["click"],placement:"bottomRight",menu:{items:f,onClick:()=>m(!1)},popupRender:t=>e.jsxs(Ne,{children:[e.jsxs(Fe,{children:[e.jsx(Re,{$src:n,children:!n&&Me(o.fullName)}),e.jsxs("span",{className:"hisd3-identity-text",children:[e.jsx("span",{className:"hisd3-identity-name",children:o.fullName}),o.positionType&&e.jsx("span",{className:"hisd3-identity-role",children:o.positionType})]})]}),t]}),children:e.jsxs(Be,{type:"button",className:g,$shape:c,$size:h,$open:b,"aria-label":`Account menu for ${o.fullName}`,children:[n?e.jsx("img",{src:n,alt:""}):Me(o.fullName),!x&&e.jsx(Le,{$size:h,$open:b,"aria-hidden":!0,children:e.jsx(i.DownOutlined,{})})]})})},exports.HISD3Button=re,exports.HISD3HeaderActions=({children:t,divided:o=!1,className:i})=>{const n=r.Children.toArray(t).filter(Boolean);return e.jsx(Ue,{className:i,children:n.map(((t,i)=>e.jsxs(r.Fragment,{children:[o&&i===n.length-1&&i>0&&e.jsx(He,{}),t]},i)))})},exports.HISD3Input=t=>e.jsx(Ve,{...t}),exports.HISD3LoginPage=({appName:o,tagline:n,logoSrc:a=_,title:s="Nice to see you again",subtitle:l,panelTitle:d="One system for every part of your hospital.",panelSubtitle:p="Patient care, billing and operations — connected.",panelImage:c,organisationName:h="HISD3",variant:x="soft",side:g="right",identifierLabel:u="User ID or email",identifierPlaceholder:b="Email or user ID",passwordLabel:m="Password",passwordPlaceholder:f="Enter password",submitLabel:v="Sign in",hideRemember:y=!1,rememberLabel:w="Remember me",onForgotPassword:A,forgotLabel:k="Forgot password?",error:D,loading:E=!1,onSubmit:S,footer:j,className:C})=>{const[I,z]=r.useState(""),[T,B]=r.useState(""),[L,F]=r.useState(!1),[R,N]=r.useState(!1);return e.jsxs(ae,{className:C,$side:g,children:[e.jsx(he,{$variant:x,$side:g,"aria-hidden":!0}),e.jsxs(se,{$variant:x,$side:g,children:[c?e.jsx(de,{$src:c,"aria-hidden":!0}):e.jsx(pe,{"aria-hidden":!0}),e.jsxs(ce,{$side:g,"aria-hidden":!0,children:[e.jsx("img",{src:_,alt:""}),h]}),e.jsxs(le,{children:[a&&e.jsx("img",{src:a,alt:""}),e.jsxs("span",{children:[e.jsx("span",{className:"hisd3-hero-name",children:o}),n&&e.jsx("span",{className:"hisd3-hero-tagline",children:n})]})]}),e.jsx("h2",{children:d}),p&&e.jsx("p",{children:p})]}),e.jsxs(xe,{$variant:x,$side:g,onSubmit:e=>{e.preventDefault(),E||S({identifier:I,password:T,remember:L})},noValidate:!0,children:[e.jsxs(ge,{$variant:x,children:[a&&e.jsx("img",{className:"hisd3-login-logo",src:a,alt:""}),e.jsxs("span",{children:[e.jsx("span",{className:"hisd3-login-name",children:o}),n&&e.jsx("span",{className:"hisd3-login-tagline",children:n})]})]}),e.jsx(ue,{$variant:x,children:s}),l&&e.jsx(be,{children:l}),D&&e.jsx(ve,{role:"alert",children:D}),e.jsxs(me,{$variant:x,children:[e.jsx("span",{className:"hisd3-field-label",children:u}),e.jsx("span",{className:"hisd3-field-control",children:e.jsx("input",{value:I,onChange:e=>z(e.target.value),placeholder:b,autoComplete:"username",disabled:E,autoFocus:!0})})]}),e.jsxs(me,{$variant:x,children:[e.jsx("span",{className:"hisd3-field-label",children:m}),e.jsxs("span",{className:"hisd3-field-control",children:[e.jsx("input",{type:R?"text":"password",value:T,onChange:e=>B(e.target.value),placeholder:f,autoComplete:"current-password",disabled:E}),e.jsx("button",{type:"button",className:"hisd3-field-reveal","aria-label":R?"Hide password":"Show password",onClick:()=>N((e=>!e)),tabIndex:-1,children:R?e.jsx(i.EyeInvisibleOutlined,{}):e.jsx(i.EyeOutlined,{})})]})]}),(!y||A)&&e.jsxs(fe,{children:[y?e.jsx("span",{}):e.jsxs("label",{className:"hisd3-remember",children:[e.jsx(t.Switch,{size:"small",checked:L,onChange:F,disabled:E}),w]}),A&&e.jsx("button",{type:"button",className:"hisd3-forgot",onClick:A,children:k})]}),e.jsx(re,{variant:"primary",htmlType:"submit",size:"large",loading:E,block:!0,style:{borderRadius:"soft"===x?10:0,height:50},children:v}),j&&e.jsx(ye,{children:j})]})]})},exports.HISD3NotificationButton=({items:o=[],count:n,loading:a=!1,title:s="Notifications",onMarkAllRead:l,onSeeAll:d,seeAllLabel:p="See all notifications",emptyText:c="You're all caught up",onOpenChange:h,size:x=40,icon:g,className:u})=>{const[b,m]=r.useState(!1),f=n??o.filter((e=>e.unread)).length,v=e.jsxs(ke,{children:[e.jsxs(De,{children:[e.jsx("h4",{children:s}),l&&f>0&&e.jsx("button",{type:"button",onClick:l,children:"Mark all as read"})]}),a?e.jsx(Te,{style:{textAlign:"center"},children:e.jsx(t.Spin,{})}):0===o.length?e.jsx(Te,{children:e.jsx(t.Empty,{image:t.Empty.PRESENTED_IMAGE_SIMPLE,description:c})}):e.jsx(Ee,{children:o.map((t=>e.jsxs(Se,{type:"button",$unread:t.unread,onClick:()=>{t.onClick?.(t),m(!1),h?.(!1)},children:[e.jsx(je,{$src:t.avatarSrc,children:!t.avatarSrc&&(t.icon??e.jsx(i.BellFilled,{}))}),e.jsxs(Ce,{children:[e.jsx("strong",{children:t.title}),t.description&&e.jsx("span",{children:t.description}),t.time&&e.jsx("time",{children:t.time})]}),t.unread&&e.jsx(Ie,{})]},t.id)))}),d&&e.jsx(ze,{type:"button",onClick:()=>{d(),m(!1),h?.(!1)},children:p})]});return e.jsx(t.Dropdown,{open:b,onOpenChange:e=>{m(e),h?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>v,children:e.jsxs(we,{type:"button",$size:x,$open:b,className:u,"aria-label":`${s}${f?` (${f} unread)`:""}`,children:[g??e.jsx(i.BellFilled,{}),f>0&&e.jsx(Ae,{$size:x,children:f>99?"99+":f})]})})},exports.HISD3PageBody=X,exports.HISD3PageHeader=({title:r,subtitle:o,breadcrumb:i,extra:n,leading:a,hideTopBar:s=!1,className:l})=>e.jsxs(Y,{className:l,children:[!s&&e.jsxs(V,{children:[a,i&&i.length>0&&e.jsx(t.Breadcrumb,{items:i.map((t=>({title:t.href?e.jsx("a",{href:t.href,children:t.title}):t.title,onClick:t.onClick})))}),!i?.length&&e.jsx("span",{style:{flex:1}}),n&&e.jsx(Z,{children:n})]}),e.jsxs(J,{children:[e.jsx("h1",{children:r}),o&&e.jsx("p",{children:o})]})]}),exports.HISD3Provider=({primary:i,radius:n,borders:a="hairline",lineWidth:s,overrides:l,theme:d,styledTheme:p={},children:c})=>{const h=r.useMemo((()=>d??g({primary:i,radius:n,borders:a,lineWidth:s,overrides:l})),[d,i,n,a,s,l]),x=r.useMemo((()=>u({primary:i,borders:a,lineWidth:s,radius:n})),[i,a,s,n]);return e.jsxs(f.Provider,{value:!0,children:[e.jsx("style",{dangerouslySetInnerHTML:{__html:x}}),e.jsx(t.ConfigProvider,{theme:h,children:e.jsx(o.ThemeProvider,{theme:p,children:e.jsx(t.App,{component:!1,children:c})})})]})},exports.HISD3SearchInput=({size:t,compact:r,className:o,...n})=>e.jsx(Ze,{allowClear:!0,prefix:e.jsx(i.SearchOutlined,{}),className:[Je[t??(r?"small":"middle")],o??""].join(" ").trim(),...n}),exports.HISD3Sidebar=({children:n,account:a,logoUrl:s,appName:l,menuItems:d,onLogout:p,pathname:c,avatarSrc:h,styledTheme:x,settingsUrl:g,antdTheme:u,renderMenuLink:m=q,headerExtra:f,userMenuItems:y,onCollapse:w,collapsed:F=!1,loading:R=!1,hideSidebar:N=!1,layoutTop:M=!1,hideCollapseTrigger:U=!1,collapseTrigger:H="edge",collapseTriggerOffset:O=Math.round(D/2),siderWidth:P=A,bareContent:W=!1,hideHeaderBar:Y=!1,brandHref:V="/",hideAccountCard:Z=!1,scrollContent:J=!0})=>{const X=v(),_=void 0===u?X?null:b:u,[ee,te]=r.useState(F);r.useEffect((()=>{te(F)}),[F]);const re=r.useMemo((()=>G(d,m)),[d,m]),oe=r.useMemo((()=>((e,t)=>{let r;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=$(e,n);if(e.path&&t.startsWith(e.path)){const o=t===e.path,n=e.path.length+(o?1:0);(!r||n>r.length)&&(r={key:a,parents:i,length:n})}e.children?.length&&o(e.children,[...i,a])}))};return o(e,[]),{selectedKey:r?.key,openKeys:r?.parents??[]}})(d,c)),[d,c]),[ie,ne]=r.useState((()=>oe.openKeys));r.useEffect((()=>{ne((e=>Array.from(new Set([...e,...oe.openKeys]))))}),[oe.openKeys.join("|")]);const ae=e=>{te(e),w?.(e)},se=oe.selectedKey?[oe.selectedKey]:[],le=U?"none":H,de=ee?"Expand menu":"Collapse menu",pe=e.jsxs(C,{href:V,$collapsed:!M&&ee,children:[s?e.jsx("img",{src:s,alt:l}):e.jsx("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(M||!ee)&&e.jsx("h1",{children:l})]}),ce=W?n:e.jsx(L,{children:n});if("undefined"==typeof document)return null;const he=e.jsx(t.App,{component:!1,children:e.jsx(t.Spin,{spinning:R,size:"large",children:N?e.jsx(e.Fragment,{children:n}):M?e.jsxs(E,{$appShell:J,children:[e.jsxs(I,{children:[pe,e.jsx(t.Menu,{mode:"horizontal",items:re,selectedKeys:se}),f,!Z&&e.jsx(Q,{account:a,avatarSrc:h,settingsUrl:g,onLogout:p,placement:"bottomRight",extraItems:y})]}),e.jsx(S,{$scroll:J,children:ce})]}):e.jsxs(E,{hasSider:!0,$appShell:J,children:[e.jsxs(K,{className:"hisd3-sider",width:P,collapsedWidth:k,collapsible:!0,collapsed:ee,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&ae(!0)},children:[pe,e.jsx(j,{className:ee?"hisd3-collapsed":void 0,children:e.jsx(t.Menu,{mode:"inline",theme:"light",inlineCollapsed:ee,items:re,selectedKeys:se,openKeys:ee?void 0:ie,onOpenChange:e=>ne(e)})}),!Z&&e.jsx(Q,{account:a,avatarSrc:h,settingsUrl:g,onLogout:p,collapsed:ee,placement:"topRight",extraItems:y})]}),e.jsxs(S,{$scroll:J,children:[!Y&&e.jsxs(z,{children:["header"===le&&e.jsx(T,{type:"button","aria-label":de,onClick:()=>ae(!ee),children:ee?e.jsx(i.MenuUnfoldOutlined,{}):e.jsx(i.MenuFoldOutlined,{})}),e.jsx("span",{style:{flex:1}}),f]}),ce]}),"edge"===le&&e.jsx(B,{type:"button","aria-label":de,title:de,$left:ee?k:P,$top:O,onClick:()=>ae(!ee),children:ee?e.jsx(i.RightOutlined,{}):e.jsx(i.LeftOutlined,{})})]})})});return X&&!x?_?e.jsx(t.ConfigProvider,{theme:_,children:he}):he:e.jsx(o.ThemeProvider,{theme:x??{},children:_?e.jsx(t.ConfigProvider,{theme:_,children:he}):he})},exports.HISD3Table=function({pagination:r,footer:o,...n}){const a=r||void 0,s=a?.pageSizeOptions??[10,20,50];return e.jsxs(Oe,{children:[e.jsx(t.Table,{...n,pagination:!1}),o&&e.jsx(Pe,{children:o}),a&&e.jsxs($e,{children:[e.jsx("span",{className:"hisd3-total",children:(a.renderTotal??qe)(a.total,[(a.current-1)*a.pageSize+1,Math.min(a.current*a.pageSize,a.total)])}),e.jsx(t.Pagination,{current:a.current,pageSize:a.pageSize,total:a.total,showSizeChanger:!1,onChange:(e,t)=>a.onChange(e,t),itemRender:(t,r,o)=>"prev"===r?e.jsx("span",{className:"ant-pagination-item-link",children:e.jsx(i.LeftOutlined,{})}):"next"===r?e.jsx("span",{className:"ant-pagination-item-link",children:e.jsx(i.RightOutlined,{})}):o}),!a.hidePageSize&&e.jsx(Ge,{role:"group","aria-label":"Rows per page",children:s.map((t=>e.jsxs("button",{type:"button","aria-pressed":t===a.pageSize,onClick:()=>a.onChange(1,t),children:[t," / page"]},t)))})]})]})},exports.HISD3Tabs=({items:t,...r})=>e.jsx(Qe,{...r,items:t.map((({count:t,label:r,...o})=>({...o,label:e.jsxs(e.Fragment,{children:[r,void 0!==t&&e.jsx("span",{className:"hisd3-tab-count",children:t})]})})))}),exports.HISD3Tag=({variant:t="neutral",tone:r=("neutral"===t?"default":"primary"),children:o,...i})=>e.jsx(Ye,{$variant:t,$tone:r,...i,children:o}),exports.HISD3_BORDER_PRESETS=d,exports.HISD3_COLORS=m,exports.HISD3_FONT_FAMILY=p,exports.HISD3_FONT_WEIGHT_BODY=400,exports.HISD3_FONT_WEIGHT_HEADING=800,exports.HISD3_LAYOUT=a,exports.HISD3_LOGO_SRC=_,exports.HISD3_NEUTRALS=l,exports.HISD3_PRESETS=s,exports.HeaderIconButton=we,exports.UserMenu=Q,exports.borderVarsCss=(e="hairline",t)=>u({borders:e,lineWidth:t}),exports.createHisd3Theme=g,exports.getInitials=Me,exports.hisd3AntdTheme=b,exports.hisd3VarsCss=u,exports.resolvePrimary=c,exports.shade=h,exports.tint=x,exports.useDialog=function(t){const o=r.useContext(Xe);if(!o)throw new Error("useDialog needs DialogProvider above it.");return r.useCallback(((r,i)=>{const n=_e+=1;o.mount(n,e.jsx(et,{Component:t,props:r,onClose:i,unmount:()=>o.unmount(n)},n))}),[t,o])},exports.useInsideHISD3Provider=v;
1388
1394
  //# sourceMappingURL=index.cjs.js.map