hisd3-ui-kit 5.0.0 → 5.2.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/README.md +94 -9
- package/dist/index.cjs.js +157 -141
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +163 -12
- package/dist/index.js +165 -149
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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);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},m={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?{...m,...i,token:{...m.token,...i.token},components:{...m.components,...i.components}}:m},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("")},m=g(),b={primary:s.red,primaryLight:x(s.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},f=r.createContext(!1),y=()=>r.useContext(f),{Header:v,Content:w}=t.Layout,S=a.siderWidth,D=a.siderCollapsedWidth,A=a.topBarHeight,k=o(t.Layout)`
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("antd"),t=require("react"),o=require("styled-components"),i=require("@ant-design/icons");function n(e,r){void 0===r&&(r={});var t=r.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&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-input-bg:#faf9f7;--hisd3-input-bg-hover:#fff;--hisd3-input-border-hover:#b9b4ac;--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}.hisd3-wrap-popup.ant-select-dropdown .ant-select-item,.hisd3-wrap-select.ant-select-dropdown .ant-select-item{height:auto;min-height:32px;padding-block:6px}.hisd3-wrap-popup.ant-select-dropdown .ant-select-item-option-content,.hisd3-wrap-select.ant-select .ant-select-selection-item,.hisd3-wrap-select.ant-select-dropdown .ant-select-item-option-content,.hisd3-wrap-select.ant-select-single .ant-select-content{line-height:1.35;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.hisd3-select-label{line-height:1.35;min-width:0;overflow-wrap:anywhere;padding-block:2px;white-space:normal}.hisd3-select-label-description{color:var(--ant-color-text-secondary,rgba(0,0,0,.55));font-size:12px;font-weight:400}');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",bgField:"#FAF9F7",bgRowHover:"#EBEAE8",hover:"rgba(0,0,0,0.04)",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",controlBorder:"#8C8A85",controlBorderHover:"#5F5D59",mask:"rgba(23,23,23,0.45)",white:"#FFFFFF"},d={bgLayout:"#1A1917",bgContainer:"#1A1917",bgElevated:"#262522",bgFilled:"#2E2D2A",bgFilledHover:"#393734",bgField:"#201F1D",bgRowHover:"#22211F",hover:"rgba(255,255,255,0.05)",text:"#EEEDEA",textSecondary:"#C2C0BB",textTertiary:"#9C9A94",border:"#3A3936",borderSecondary:"#2C2B29",borderStrong:"#EEEDEA",controlBorder:"#77746E",controlBorderHover:"#A8A59F",mask:"rgba(0,0,0,0.6)",white:"#FFFFFF"},p={light:{success:"#2E7D32",successBg:"#EAF3EA",error:"#B42318",errorBg:"#FBEAE7",warning:"#B54708",warningBg:"#FBEFE3"},dark:{success:"#6FBF73",successBg:"#283426",error:"#FF8A7A",errorBg:"#3F2B27",warning:"#F0A35E",warningBg:"#3C2F22"}},c={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},h={hairline:{width:1,border:"#3A3936",borderSecondary:"#2C2B29"},bold:{width:2,border:"#C2C0BB",borderSecondary:"#3A3936"}},g="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",x=(e="red")=>s[e]??e,m=e=>{const r=e.replace("#",""),t=3===r.length?r.split("").map((e=>e+e)).join(""):r,o=parseInt(t,16);return[o>>16&255,o>>8&255,255&o]},u=e=>`#${e.map((e=>Math.round(e).toString(16).padStart(2,"0"))).join("")}`,b=(e,r)=>u(m(e).map((e=>e*(1-r)))),f=(e,r)=>u(m(e).map((e=>e+(255-e)*r))),v=(e,r,t)=>{const o=m(e),i=m(r);return u(o.map(((e,r)=>e+(i[r]-e)*t)))},y=e=>{const[r,t,o]=m(e).map((e=>{const r=e/255;return r<=.03928?r/12.92:((r+.055)/1.055)**2.4}));return.2126*r+.7152*t+.0722*o},w=(e,r)=>{const[t,o]=[y(e),y(r)].sort(((e,r)=>r-e));return(t+.05)/(o+.05)},S=(e="red",r="light")=>{const t=x(e);if("dark"===r){const e=d.bgLayout;let r=t;for(let o=0;o<=1&&(r=v(t,"#FFFFFF",o),!(w(r,e)>=4.5&&w(r,v(e,r,.14))>=4.5));o+=.01);return{source:t,primary:r,onPrimary:e,primaryBg:v(e,r,.14),primaryBgHover:v(e,r,.22),primaryBorder:v(e,r,.45)}}const o=l.bgLayout;let i=t;for(let e=0;e<=1&&(i=b(t,e),!(w(i,o)>=4.5&&w(i,"#FFFFFF")>=4.5&&w(i,f(i,.92))>=4.5));e+=.01);return{source:t,primary:i,onPrimary:"#FFFFFF",primaryBg:f(i,.92),primaryBgHover:f(i,.86),primaryBorder:f(i,.6)}},A=(e,r)=>{const t="dark"===e,o=t?h:c,i=o[r]??o.hairline;return{n:{...t?d:l,border:i.border,borderSecondary:i.borderSecondary},b:i}},D=({primary:e,mode:t="light",radius:o=0,borders:i="hairline",lineWidth:n,overrides:s}={})=>{const l=S(e,t),d=l.primary,{n:c,b:h}=A(t,i),x=p[t],m=n??h.width,u={colorBorder:c.controlBorder,hoverBorderColor:c.controlBorderHover,activeBorderColor:d,activeShadow:`0 0 0 1px ${d}`,colorBgContainer:c.bgField,hoverBg:c.bgElevated,activeBg:c.bgElevated},b={algorithm:["dark"===t?r.theme.darkAlgorithm:r.theme.defaultAlgorithm,(e,r)=>({...r,colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryText:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:x.success,colorSuccessText:x.success,colorSuccessBg:x.successBg,colorError:x.error,colorErrorText:x.error,colorErrorBg:x.errorBg,colorWarning:x.warning,colorWarningText:x.warning,colorWarningBg:x.warningBg})],cssVar:{key:"hisd3"},token:{colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:x.success,colorSuccessBg:x.successBg,colorSuccessBorder:x.success,colorError:x.error,colorErrorBg:x.errorBg,colorErrorBorder:x.error,colorWarning:x.warning,colorWarningBg:x.warningBg,colorWarningBorder:x.warning,fontFamily:g,fontSize:14,fontWeightStrong:700,borderRadius:o,borderRadiusLG:o,borderRadiusSM:o,borderRadiusXS:o,lineWidth:m,colorBgLayout:c.bgLayout,colorBgContainer:c.bgContainer,colorBgElevated:c.bgElevated,colorBgMask:c.mask,colorBgContainerDisabled:c.bgFilled,colorText:c.text,colorTextSecondary:c.textSecondary,colorTextTertiary:c.textTertiary,colorTextPlaceholder:c.textTertiary,colorTextDisabled:c.textTertiary,colorTextHeading:c.text,colorBorder:c.border,colorBorderSecondary:c.borderSecondary,colorSplit:c.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"dark"===t?"0 2px 6px rgba(0,0,0,0.3), 0 12px 32px rgba(0,0,0,0.5)":"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:c.bgLayout,headerBg:c.bgLayout,bodyBg:c.bgLayout,headerPadding:`0 ${a.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",popupBg:c.bgElevated,itemColor:c.text,itemHoverColor:c.text,itemHoverBg:c.hover,itemSelectedBg:l.primaryBg,itemSelectedColor:d,itemActiveBg:l.primaryBgHover,subMenuItemSelectedColor:d,horizontalItemSelectedColor:d,horizontalItemHoverColor:d,groupTitleColor:c.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",primaryColor:l.onPrimary,dangerColor:l.onPrimary,defaultBorderColor:c.border,defaultColor:c.text,defaultBg:c.bgLayout,defaultHoverBg:c.bgElevated,defaultHoverBorderColor:c.borderStrong,defaultHoverColor:c.text,defaultActiveBorderColor:c.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{...u,paddingInline:16},InputNumber:u,Select:{...u,optionSelectedBg:l.primaryBg,selectorBg:c.bgField},DatePicker:u,Cascader:u,TreeSelect:u,Mentions:u,Checkbox:{colorBorder:c.controlBorder,colorBgContainer:c.bgField,colorWhite:l.onPrimary},Radio:{colorBorder:c.controlBorder,colorBgContainer:c.bgField,dotColorDisabled:c.textTertiary},Segmented:{trackBg:c.bgFilled,itemColor:c.textSecondary,itemHoverColor:c.text,itemHoverBg:c.hover,itemSelectedBg:d,itemSelectedColor:l.onPrimary},Table:{headerBg:c.bgContainer,headerColor:c.textSecondary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:c.borderSecondary,rowHoverBg:c.bgRowHover,rowSelectedBg:l.primaryBg,rowSelectedHoverBg:l.primaryBgHover,cellPaddingBlock:10,cellPaddingInline:12,cellFontSize:14,cellPaddingBlockMD:8,cellPaddingInlineMD:10,cellPaddingBlockSM:6,cellPaddingInlineSM:8,cellFontSizeMD:14,cellFontSizeSM:13,footerBg:c.bgContainer},Tabs:{inkBarColor:d,itemColor:c.text,itemSelectedColor:d,itemHoverColor:d,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:c.bgLayout,itemActiveBg:d,itemActiveColor:l.onPrimary,itemActiveColorHover:l.onPrimary,itemSize:32,itemSizeSM:26,itemInputBg:c.bgField},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:c.textTertiary,lastItemColor:c.text,linkColor:c.textTertiary,linkHoverColor:d,separatorColor:c.textTertiary},Card:{headerFontSize:18,headerFontSizeSM:16,colorBgContainer:c.bgContainer},Drawer:{colorBgElevated:c.bgElevated},Alert:{withDescriptionPadding:"14px 16px"}}};return s?{...b,...s,token:{...b.token,...s.token},components:{...b.components,...s.components}}:b},k=({primary:e,mode:r="light",borders:t="hairline",lineWidth:o,radius:i=0,selector:n=":root"}={})=>{const a=S(e,r),{n:s,b:l}=A(r,t),d=p[r],c=":root"===n;return[`${n}{`,`color-scheme:${r};`,`--hisd3-mode:${r};`,`--hisd3-rule-width:${o??l.width}px;`,`--hisd3-control-bg:${s.bgFilled};`,`--hisd3-control-bg-hover:${s.bgFilledHover};`,`--hisd3-input-bg:${s.bgField};`,`--hisd3-input-bg-hover:${s.bgElevated};`,`--hisd3-input-border:${s.controlBorder};`,`--hisd3-input-border-hover:${s.controlBorderHover};`,`--hisd3-hover:${s.hover};`,`--hisd3-on-primary:${a.onPrimary};`,`--hisd3-focus-ring:${a.primary};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${i}px;`,`--ant-color-primary:${a.primary};`,`--ant-color-primary-bg:${a.primaryBg};`,`--ant-color-primary-bg-hover:${a.primaryBgHover};`,`--ant-color-primary-border:${a.primaryBorder};`,`--ant-color-success:${d.success};`,`--ant-color-success-bg:${d.successBg};`,`--ant-color-error:${d.error};`,`--ant-color-error-bg:${d.errorBg};`,`--ant-color-warning:${d.warning};`,`--ant-color-warning-bg:${d.warningBg};`,`--ant-color-text:${s.text};`,`--ant-color-text-secondary:${s.textSecondary};`,`--ant-color-text-tertiary:${s.textTertiary};`,`--hisd3-table-bg:${s.bgContainer};`,`--hisd3-table-hover-bg:${s.bgRowHover};`,`--hisd3-border:${l.border};`,`--hisd3-border-secondary:${l.borderSecondary};`,`--ant-color-border:${l.border};`,`--ant-color-border-secondary:${l.borderSecondary};`,`--ant-color-bg-layout:${s.bgLayout};`,`--ant-color-bg-elevated:${s.bgElevated};`,"}",c?`body{background:${s.bgLayout};color:${s.text};}`:"",c?`.ant-drawer-content,.ant-modal-content{--hisd3-table-bg:${s.bgElevated};--hisd3-table-hover-bg:${"dark"===r?v(s.bgElevated,"#FFFFFF",.04):b(s.bgElevated,.03)};}`:""].join("")},F=D(),j={primary:s.red,primaryLight:f(s.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},E=t.createContext(!1),I=()=>t.useContext(E),B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4MJWAAAgnklEQVR42u1db2xb13U/9z7ZTmyKT6TFTFY7xImBQt2AuEDTQZBhuar2x0kwI1YsOShqkZJabBmg0KmXJd8ofikSpF7N6EP2YbJFOwNsyZGzALHc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DhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",{Header:C,Content:z}=r.Layout,T=a.siderWidth,R=a.siderCollapsedWidth,H=a.topBarHeight,N=o(r.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
|
-
`,
|
|
33
|
+
`,P=o(r.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
|
-
`,
|
|
38
|
+
`,L=o.div`
|
|
39
39
|
flex: 1 1 auto;
|
|
40
40
|
overflow-y: auto;
|
|
41
41
|
overflow-x: hidden;
|
|
@@ -51,9 +51,11 @@
|
|
|
51
51
|
/* Section titles: "RECEIVABLES AND COLLECTIONS" */
|
|
52
52
|
.ant-menu-item-group-title {
|
|
53
53
|
padding: 16px ${a.pageGutter}px 4px;
|
|
54
|
-
|
|
54
|
+
/* overline: 12px; wide tracking at 11px broke the words apart. */
|
|
55
|
+
font-size: 12px;
|
|
56
|
+
line-height: 16px;
|
|
55
57
|
font-weight: 600;
|
|
56
|
-
letter-spacing: 0.
|
|
58
|
+
letter-spacing: 0.08em;
|
|
57
59
|
text-transform: uppercase;
|
|
58
60
|
color: var(--ant-color-text-tertiary);
|
|
59
61
|
}
|
|
@@ -111,11 +113,11 @@
|
|
|
111
113
|
&.hisd3-collapsed .ant-menu-item-group-title {
|
|
112
114
|
display: none;
|
|
113
115
|
}
|
|
114
|
-
`,
|
|
116
|
+
`,M=o.a`
|
|
115
117
|
display: flex;
|
|
116
118
|
align-items: center;
|
|
117
119
|
gap: 10px;
|
|
118
|
-
height: ${
|
|
120
|
+
height: ${H}px;
|
|
119
121
|
padding: 0 ${({$collapsed:e})=>e?12:a.pageGutter}px;
|
|
120
122
|
justify-content: ${({$collapsed:e})=>e?"center":"flex-start"};
|
|
121
123
|
color: inherit;
|
|
@@ -153,13 +155,13 @@
|
|
|
153
155
|
overflow: hidden;
|
|
154
156
|
text-overflow: ellipsis;
|
|
155
157
|
}
|
|
156
|
-
`,
|
|
158
|
+
`,U=o(C)`
|
|
157
159
|
display: flex;
|
|
158
160
|
align-items: center;
|
|
159
161
|
gap: 24px;
|
|
160
|
-
flex: 0 0 ${
|
|
161
|
-
height: ${
|
|
162
|
-
line-height: ${
|
|
162
|
+
flex: 0 0 ${H}px;
|
|
163
|
+
height: ${H}px;
|
|
164
|
+
line-height: ${H}px;
|
|
163
165
|
padding: 0 ${a.pageGutter}px;
|
|
164
166
|
position: sticky;
|
|
165
167
|
top: 0;
|
|
@@ -172,24 +174,24 @@
|
|
|
172
174
|
min-width: 0;
|
|
173
175
|
border-bottom: none;
|
|
174
176
|
background: transparent;
|
|
175
|
-
line-height: ${
|
|
177
|
+
line-height: ${H-2}px;
|
|
176
178
|
font-size: 14px;
|
|
177
179
|
font-weight: 500;
|
|
178
180
|
}
|
|
179
|
-
`,
|
|
181
|
+
`,O=o(C)`
|
|
180
182
|
display: flex;
|
|
181
183
|
align-items: center;
|
|
182
184
|
gap: 12px;
|
|
183
|
-
flex: 0 0 ${
|
|
184
|
-
height: ${
|
|
185
|
-
line-height: ${
|
|
185
|
+
flex: 0 0 ${H}px;
|
|
186
|
+
height: ${H}px;
|
|
187
|
+
line-height: ${H}px;
|
|
186
188
|
padding: 0 ${a.pageGutter}px;
|
|
187
189
|
position: sticky;
|
|
188
190
|
top: 0;
|
|
189
191
|
z-index: 99;
|
|
190
192
|
background: var(--ant-color-bg-layout);
|
|
191
193
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
192
|
-
|
|
194
|
+
`,$=o.button`
|
|
193
195
|
border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
194
196
|
background: transparent;
|
|
195
197
|
cursor: pointer;
|
|
@@ -203,9 +205,9 @@
|
|
|
203
205
|
flex: 0 0 auto;
|
|
204
206
|
|
|
205
207
|
&:hover {
|
|
206
|
-
background: rgba(0, 0, 0, 0.05);
|
|
208
|
+
background: var(--hisd3-hover, rgba(0, 0, 0, 0.05));
|
|
207
209
|
}
|
|
208
|
-
`,
|
|
210
|
+
`,G=o.button`
|
|
209
211
|
user-select: none;
|
|
210
212
|
-webkit-user-select: none;
|
|
211
213
|
position: absolute;
|
|
@@ -220,7 +222,7 @@
|
|
|
220
222
|
align-items: center;
|
|
221
223
|
justify-content: center;
|
|
222
224
|
font-size: 12px;
|
|
223
|
-
color: var(--hisd3-edge-trigger-color, #fff);
|
|
225
|
+
color: var(--hisd3-edge-trigger-color, var(--hisd3-on-primary, #fff));
|
|
224
226
|
background: var(--hisd3-edge-trigger-bg, var(--ant-color-primary));
|
|
225
227
|
border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
|
|
226
228
|
border-radius: 50%;
|
|
@@ -245,31 +247,31 @@
|
|
|
245
247
|
& svg {
|
|
246
248
|
display: block;
|
|
247
249
|
}
|
|
248
|
-
`,
|
|
250
|
+
`,q=o(z)`
|
|
249
251
|
flex: 1 0 auto;
|
|
250
252
|
padding: 24px ${a.pageGutter}px 40px;
|
|
251
|
-
`,
|
|
253
|
+
`,W=o.div`
|
|
252
254
|
flex: 0 0 auto;
|
|
253
255
|
display: flex;
|
|
254
256
|
flex-direction: column;
|
|
255
257
|
justify-content: center;
|
|
256
258
|
line-height: 1.25;
|
|
257
259
|
transition: all 0.2s ease;
|
|
258
|
-
padding: ${({$inHeader:e,$collapsed:
|
|
260
|
+
padding: ${({$inHeader:e,$collapsed:r})=>e?"0 4px":r?"12px 0":`12px ${a.pageGutter}px`};
|
|
259
261
|
min-width: ${({$inHeader:e})=>e?"220px":"0"};
|
|
260
262
|
border-top: ${({$inHeader:e})=>e?"none":"var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE))"};
|
|
261
263
|
|
|
262
264
|
& .ant-dropdown-link {
|
|
263
265
|
color: inherit;
|
|
264
266
|
}
|
|
265
|
-
`,
|
|
267
|
+
`,K=o.a`
|
|
266
268
|
display: flex;
|
|
267
269
|
align-items: center;
|
|
268
270
|
justify-content: center;
|
|
269
271
|
cursor: pointer;
|
|
270
272
|
color: inherit;
|
|
271
273
|
gap: 10px;
|
|
272
|
-
`,
|
|
274
|
+
`,Q=o.span`
|
|
273
275
|
width: 34px;
|
|
274
276
|
height: 34px;
|
|
275
277
|
flex: 0 0 auto;
|
|
@@ -279,16 +281,16 @@
|
|
|
279
281
|
font-size: 13px;
|
|
280
282
|
font-weight: 700;
|
|
281
283
|
color: var(--ant-color-text);
|
|
282
|
-
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"#
|
|
283
|
-
`,
|
|
284
|
+
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
|
|
285
|
+
`,V=o.span`
|
|
284
286
|
flex: 1 1 auto;
|
|
285
287
|
min-width: 0;
|
|
286
|
-
`,
|
|
288
|
+
`,Y=o.span`
|
|
287
289
|
display: flex;
|
|
288
290
|
align-items: flex-start;
|
|
289
291
|
justify-content: space-between;
|
|
290
292
|
gap: 8px;
|
|
291
|
-
`,
|
|
293
|
+
`,Z=o.h3`
|
|
292
294
|
margin: 0;
|
|
293
295
|
font-family: var(--font-body);
|
|
294
296
|
font-size: 14px;
|
|
@@ -300,7 +302,7 @@
|
|
|
300
302
|
display: -webkit-box;
|
|
301
303
|
-webkit-line-clamp: 2;
|
|
302
304
|
-webkit-box-orient: vertical;
|
|
303
|
-
`,
|
|
305
|
+
`,J=o.span`
|
|
304
306
|
width: 20px;
|
|
305
307
|
height: 22px;
|
|
306
308
|
display: flex;
|
|
@@ -312,20 +314,20 @@
|
|
|
312
314
|
& svg {
|
|
313
315
|
display: block;
|
|
314
316
|
}
|
|
315
|
-
`,
|
|
317
|
+
`,X=o.span`
|
|
316
318
|
display: block;
|
|
317
319
|
margin-top: 3px;
|
|
318
|
-
font-size:
|
|
319
|
-
font-weight:
|
|
320
|
-
letter-spacing: 0.
|
|
320
|
+
font-size: 12px;
|
|
321
|
+
font-weight: 600;
|
|
322
|
+
letter-spacing: 0.08em;
|
|
321
323
|
text-transform: uppercase;
|
|
322
324
|
color: var(--ant-color-text-tertiary);
|
|
323
325
|
overflow: hidden;
|
|
324
326
|
text-overflow: ellipsis;
|
|
325
327
|
white-space: nowrap;
|
|
326
|
-
`,
|
|
328
|
+
`,_=(e,r)=>e.key??e.path??`menu-${r}`,ee=(e,r)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,t)=>{const o=_(e,t);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:ee(e.children,r)}:{key:o,icon:e.icon,disabled:e.disabled,label:r(e,e.name)}})),re=(e,r)=>t.createElement("a",{href:e.path||"/"},r),te=({account:t,avatarSrc:o,settingsUrl:n,onLogout:a,collapsed:s=!1,placement:l="topRight",extraItems:d=[]})=>{const{modal:p}=r.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=(t.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(W,{className:"cr-user-info-light",$collapsed:s,$inHeader:"bottomRight"===l,children:e.jsx(r.Dropdown,{trigger:["click"],placement:l,menu:{items:c},children:e.jsxs(K,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[e.jsx(Q,{$src:o,"aria-hidden":!0,children:!o&&h}),!s&&e.jsxs(V,{children:[e.jsxs(Y,{children:[e.jsx(Z,{title:t.fullName,children:t.fullName}),e.jsx(J,{children:e.jsx(i.DownOutlined,{})})]}),t.positionType&&e.jsx(X,{title:t.positionType,children:t.positionType})]})]})})})},{Sider:oe}=r.Layout,ie=a.pageGutter,ne=o.header`
|
|
327
329
|
display: contents;
|
|
328
|
-
`,
|
|
330
|
+
`,ae=o.div`
|
|
329
331
|
user-select: none;
|
|
330
332
|
-webkit-user-select: none;
|
|
331
333
|
display: flex;
|
|
@@ -334,7 +336,7 @@
|
|
|
334
336
|
height: ${a.topBarHeight}px; /* same as the sidebar brand block */
|
|
335
337
|
/* never shrink: these are flex items of the scrolling column */
|
|
336
338
|
flex: 0 0 ${a.topBarHeight}px;
|
|
337
|
-
padding: 0 ${
|
|
339
|
+
padding: 0 ${ie}px;
|
|
338
340
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
339
341
|
background: var(--ant-color-bg-layout);
|
|
340
342
|
position: sticky;
|
|
@@ -350,18 +352,18 @@
|
|
|
350
352
|
.ant-breadcrumb ol {
|
|
351
353
|
flex-wrap: nowrap;
|
|
352
354
|
}
|
|
353
|
-
`,
|
|
355
|
+
`,se=o.div`
|
|
354
356
|
display: flex;
|
|
355
357
|
align-items: center;
|
|
356
358
|
gap: 10px;
|
|
357
359
|
flex: 0 0 auto;
|
|
358
|
-
`,
|
|
360
|
+
`,le=o.div`
|
|
359
361
|
display: flex;
|
|
360
362
|
align-items: baseline;
|
|
361
363
|
gap: 16px;
|
|
362
364
|
flex-wrap: wrap;
|
|
363
365
|
flex: 0 0 auto;
|
|
364
|
-
padding: 20px ${
|
|
366
|
+
padding: 20px ${ie}px 18px;
|
|
365
367
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
|
|
366
368
|
|
|
367
369
|
h1 {
|
|
@@ -379,10 +381,10 @@
|
|
|
379
381
|
font-size: 15px;
|
|
380
382
|
color: var(--ant-color-text-secondary);
|
|
381
383
|
}
|
|
382
|
-
`,
|
|
384
|
+
`,de=o.div`
|
|
383
385
|
flex: 1 0 auto;
|
|
384
|
-
padding: 24px ${
|
|
385
|
-
`,_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4MJWAAAgnklEQVR42u1db2xb13U/9z7ZTmyKT6TFTFY7xImBQt2AuEDTQZBhuar2x0kwI1YsOShqkZJabBmg0KmXJd8ofikSpF7N6EP2YbJFOwNsyZGzALHcDYJreRGELdvqAluEYkmVdpU1Uyb5KMZ1bPPefXjvUo80KfHddx/fI/UOYMR2rMfH987vnN859/xB4Aq/RCIYpdvRDtLuzY76UsX/2zOc8gEAeLFyCAAOsL9HgPqNfAwFelb77bUMkT8AACj3eV/g+Uy5+3HlYUHuIzAolCKYBOy5ni5QsmJlN6rkXLeiAqM0KDRw0lMHCSBE3RfnAsDcgwpPS8WW1TOc8lVT4Y0AQn+fpe7dFRcAlagU8gynm7KjTWkA1Yo6TemNggEmqAR9QNj3cQHgSknFhwnA0IdyRdb+pJOVfiMwLJ16/GyeDrlAcAFQSjzDKR+zmMzaI0BjdQNtoEMFXmGTA8EFgI4n09hBAoAoCk9Lu+Dr36snxd8ICHrguwDYVGyHIs/L6Sb28lvDi8F6VvxSQLgJn7xLY8/kUHhaok3zF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hFWFJoItgVcEFigOAjOtb43F0oE2wJmmmPslrrd6MKUPxBfSGxtTLa4Kite+clASKr10fV1vdJIPxnCBYEY2qNXfpi6REQPw3IpkBV0aCAk4TPjOTN0CCE4x4ZsGe0tdorVNnv/9ab8mwYAAACMDvGAoDjVR2QZLXf/YX8tAAEhOLfFk3xVz9MTwbbA/az/LUorHxVTj8q/qQDA4wn0yhMBwBFZplf37pW6Z2cf5BXJ4Bh2uxSfDISkq59+hrpu3Mgx5a10Uka9Kv+mA4AREOitPssolboO+/NST0cQEHQZsarVUPxEsC0wc+eppD5NSWQZMSBv5A3qWfk3JQCK6dD9rP8t/WmxXoGILKPbz+9qLpfmY+cNesVgXqGaYGD8fktj8rLe4k9k78B6+Xk9iEt5g3pX/k0LAD0IIgD4L3o68orKrP5MZ2cDozqVyPnePqnPsx30XsFqisQ2s+gBOtPZ2fDUE7d8lebmGYiZV7y/6n9W/yzqWfk3NQDKURs9OHivycaFr2ddzQqbzhYBwJ2dnTi/jYVTUYspndnn4AKghkDAaAyzhKKuPdPZ2dC150lqRUnGwkrDNrNKX+pZXN27V+q6cSMn+lm4ANjEHkZ0OQbj5rVcg+MUwe4jsPDhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",ee=o(t.Button)`
|
|
386
|
+
padding: 24px ${ie}px 40px;
|
|
387
|
+
`,pe=o(r.Button)`
|
|
386
388
|
&.ant-btn {
|
|
387
389
|
display: inline-flex;
|
|
388
390
|
align-items: center;
|
|
@@ -414,7 +416,7 @@
|
|
|
414
416
|
.anticon {
|
|
415
417
|
font-size: 1.05em;
|
|
416
418
|
}
|
|
417
|
-
`,
|
|
419
|
+
`,ce={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},he=({variant:r="secondary",...t})=>e.jsx(pe,{...ce[r],...t}),ge=e=>"soft"===e,xe=1024,me=560,ue=o.div`
|
|
418
420
|
position: relative;
|
|
419
421
|
min-height: 100vh;
|
|
420
422
|
min-height: 100dvh; /* keeps mobile browser chrome from clipping the card */
|
|
@@ -425,7 +427,7 @@
|
|
|
425
427
|
overflow-x: hidden;
|
|
426
428
|
background: #fff;
|
|
427
429
|
|
|
428
|
-
@media (max-width: ${
|
|
430
|
+
@media (max-width: ${xe}px) {
|
|
429
431
|
justify-content: center;
|
|
430
432
|
padding: 32px 24px;
|
|
431
433
|
background: linear-gradient(
|
|
@@ -439,7 +441,7 @@
|
|
|
439
441
|
* Phone: a branded hero at the top with a white sheet rising over it,
|
|
440
442
|
* rather than a floating card. Set as a block so the two simply stack.
|
|
441
443
|
*/
|
|
442
|
-
@media (max-width: ${
|
|
444
|
+
@media (max-width: ${me}px) {
|
|
443
445
|
display: flex;
|
|
444
446
|
flex-direction: column;
|
|
445
447
|
align-items: stretch;
|
|
@@ -447,11 +449,11 @@
|
|
|
447
449
|
padding: 0;
|
|
448
450
|
background: var(--ant-color-primary, #E5533B);
|
|
449
451
|
}
|
|
450
|
-
`,
|
|
452
|
+
`,be=o.aside`
|
|
451
453
|
position: absolute;
|
|
452
454
|
/* the panel takes the side the card does not */
|
|
453
|
-
inset: ${({$variant:e,$side:
|
|
454
|
-
border-radius: ${({$variant:e})=>
|
|
455
|
+
inset: ${({$variant:e,$side:r})=>{const t=ge(e)?"28px":"0";return"right"===r?`${t} 40% ${t} ${t}`:`${t} ${t} ${t} 40%`}};
|
|
456
|
+
border-radius: ${({$variant:e})=>ge(e)?"28px":"0"};
|
|
455
457
|
background: var(--ant-color-primary, #E5533B);
|
|
456
458
|
overflow: hidden;
|
|
457
459
|
display: flex;
|
|
@@ -467,7 +469,7 @@
|
|
|
467
469
|
font-family: var(--font-heading);
|
|
468
470
|
font-size: clamp(26px, 3.1vw, 44px);
|
|
469
471
|
line-height: 1.15;
|
|
470
|
-
font-weight: ${({$variant:e})=>
|
|
472
|
+
font-weight: ${({$variant:e})=>ge(e)?700:"var(--font-weight-heading, 800)"};
|
|
471
473
|
letter-spacing: -0.01em;
|
|
472
474
|
max-width: 12em;
|
|
473
475
|
color: #fff;
|
|
@@ -480,12 +482,12 @@
|
|
|
480
482
|
opacity: 0.82;
|
|
481
483
|
}
|
|
482
484
|
|
|
483
|
-
@media (max-width: ${
|
|
485
|
+
@media (max-width: ${xe}px) {
|
|
484
486
|
display: none;
|
|
485
487
|
}
|
|
486
488
|
|
|
487
489
|
/* phone: full-width hero above the sheet */
|
|
488
|
-
@media (max-width: ${
|
|
490
|
+
@media (max-width: ${me}px) {
|
|
489
491
|
display: flex;
|
|
490
492
|
/* relative, not static: keeps the pattern layer inside the hero */
|
|
491
493
|
position: relative;
|
|
@@ -506,10 +508,10 @@
|
|
|
506
508
|
font-size: 14px;
|
|
507
509
|
}
|
|
508
510
|
}
|
|
509
|
-
`,
|
|
511
|
+
`,fe=o.div`
|
|
510
512
|
display: none;
|
|
511
513
|
|
|
512
|
-
@media (max-width: ${
|
|
514
|
+
@media (max-width: ${me}px) {
|
|
513
515
|
position: relative;
|
|
514
516
|
display: flex;
|
|
515
517
|
align-items: center;
|
|
@@ -544,13 +546,13 @@
|
|
|
544
546
|
opacity: 0.75;
|
|
545
547
|
}
|
|
546
548
|
}
|
|
547
|
-
`,
|
|
549
|
+
`,ve=o.div`
|
|
548
550
|
position: absolute;
|
|
549
551
|
inset: 0;
|
|
550
552
|
background: center / cover no-repeat url("${({$src:e})=>e}");
|
|
551
553
|
mix-blend-mode: multiply;
|
|
552
554
|
opacity: 0.35;
|
|
553
|
-
`,
|
|
555
|
+
`,ye=o.div`
|
|
554
556
|
position: absolute;
|
|
555
557
|
left: 0;
|
|
556
558
|
right: 0;
|
|
@@ -580,7 +582,7 @@
|
|
|
580
582
|
60% 44%, 68% 44%, 68% 30%, 77% 30%, 77% 52%, 86% 52%, 86% 26%, 94% 26%,
|
|
581
583
|
94% 47%, 100% 47%, 100% 100%, 0 100%
|
|
582
584
|
);
|
|
583
|
-
`,
|
|
585
|
+
`,we=o.div`
|
|
584
586
|
position: absolute;
|
|
585
587
|
top: 30px;
|
|
586
588
|
${({$side:e})=>"right"===e?"left: 40px;":"right: 40px;"}
|
|
@@ -601,10 +603,10 @@
|
|
|
601
603
|
filter: brightness(0) invert(1);
|
|
602
604
|
}
|
|
603
605
|
|
|
604
|
-
@media (max-width: ${
|
|
606
|
+
@media (max-width: ${me}px) {
|
|
605
607
|
display: none;
|
|
606
608
|
}
|
|
607
|
-
`,
|
|
609
|
+
`,Se=o.div`
|
|
608
610
|
position: absolute;
|
|
609
611
|
${({$side:e})=>"right"===e?"right: -70px;":"left: -70px;"}
|
|
610
612
|
bottom: 40px;
|
|
@@ -612,13 +614,13 @@
|
|
|
612
614
|
height: 190px;
|
|
613
615
|
opacity: 0.5;
|
|
614
616
|
pointer-events: none;
|
|
615
|
-
border-radius: ${({$variant:e})=>
|
|
617
|
+
border-radius: ${({$variant:e})=>ge(e)?"20px":"0"};
|
|
616
618
|
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
619
|
|
|
618
|
-
@media (max-width: ${
|
|
620
|
+
@media (max-width: ${xe}px) {
|
|
619
621
|
display: none;
|
|
620
622
|
}
|
|
621
|
-
`,
|
|
623
|
+
`,Ae=o.form`
|
|
622
624
|
position: relative;
|
|
623
625
|
z-index: 2;
|
|
624
626
|
margin: 40px ${({$side:e})=>"right"===e?"7% 40px 0":"0 40px 7%"};
|
|
@@ -626,7 +628,7 @@
|
|
|
626
628
|
padding: 40px 44px 34px;
|
|
627
629
|
background: #fff;
|
|
628
630
|
|
|
629
|
-
${({$variant:e})=>
|
|
631
|
+
${({$variant:e})=>ge(e)?o.css`
|
|
630
632
|
border-radius: 18px;
|
|
631
633
|
box-shadow: 0 4px 10px rgba(16, 15, 14, 0.05),
|
|
632
634
|
0 24px 60px rgba(16, 15, 14, 0.14);
|
|
@@ -638,13 +640,13 @@
|
|
|
638
640
|
`}
|
|
639
641
|
|
|
640
642
|
/* tablet and below: no panel, so centre the card */
|
|
641
|
-
@media (max-width: ${
|
|
643
|
+
@media (max-width: ${xe}px) {
|
|
642
644
|
margin: 0;
|
|
643
645
|
width: min(440px, 100%);
|
|
644
646
|
}
|
|
645
647
|
|
|
646
648
|
/* phone: a sheet that rises over the hero and runs to the bottom */
|
|
647
|
-
@media (max-width: ${
|
|
649
|
+
@media (max-width: ${me}px) {
|
|
648
650
|
width: 100%;
|
|
649
651
|
/* grow to fill whatever the hero leaves, so white runs to the bottom */
|
|
650
652
|
flex: 1 0 auto;
|
|
@@ -652,9 +654,9 @@
|
|
|
652
654
|
padding: 30px 22px 34px;
|
|
653
655
|
box-shadow: none;
|
|
654
656
|
border: 0;
|
|
655
|
-
border-radius: ${({$variant:e})=>
|
|
657
|
+
border-radius: ${({$variant:e})=>ge(e)?"28px 28px 0 0":"20px 20px 0 0"};
|
|
656
658
|
}
|
|
657
|
-
`,
|
|
659
|
+
`,De=o.div`
|
|
658
660
|
display: flex;
|
|
659
661
|
align-items: center;
|
|
660
662
|
gap: 12px;
|
|
@@ -673,9 +675,9 @@
|
|
|
673
675
|
font-family: var(--font-heading);
|
|
674
676
|
font-size: 25px;
|
|
675
677
|
line-height: 1.05;
|
|
676
|
-
font-weight: ${({$variant:e})=>
|
|
677
|
-
letter-spacing: ${({$variant:e})=>
|
|
678
|
-
text-transform: ${({$variant:e})=>
|
|
678
|
+
font-weight: ${({$variant:e})=>ge(e)?700:"var(--font-weight-heading, 800)"};
|
|
679
|
+
letter-spacing: ${({$variant:e})=>ge(e)?"-0.01em":"0.03em"};
|
|
680
|
+
text-transform: ${({$variant:e})=>ge(e)?"none":"uppercase"};
|
|
679
681
|
color: var(--ant-color-text, #171717);
|
|
680
682
|
}
|
|
681
683
|
|
|
@@ -688,24 +690,24 @@
|
|
|
688
690
|
color: var(--ant-color-text-tertiary, #6E6E6E);
|
|
689
691
|
}
|
|
690
692
|
|
|
691
|
-
@media (max-width: ${
|
|
693
|
+
@media (max-width: ${me}px) {
|
|
692
694
|
display: none;
|
|
693
695
|
}
|
|
694
|
-
`,
|
|
696
|
+
`,ke=o.h1`
|
|
695
697
|
margin: 0 0 6px;
|
|
696
698
|
font-family: var(--font-heading);
|
|
697
699
|
font-size: 26px;
|
|
698
|
-
font-weight: ${({$variant:e})=>
|
|
700
|
+
font-weight: ${({$variant:e})=>ge(e)?700:"var(--font-weight-heading, 800)"};
|
|
699
701
|
color: var(--ant-color-text, #171717);
|
|
700
702
|
|
|
701
|
-
@media (max-width: ${
|
|
703
|
+
@media (max-width: ${me}px) {
|
|
702
704
|
font-size: 22px;
|
|
703
705
|
}
|
|
704
|
-
`,
|
|
706
|
+
`,Fe=o.p`
|
|
705
707
|
margin: 0 0 22px;
|
|
706
708
|
font-size: 14px;
|
|
707
709
|
color: var(--ant-color-text-secondary, #4A4A4A);
|
|
708
|
-
`,
|
|
710
|
+
`,je=o.label`
|
|
709
711
|
display: block;
|
|
710
712
|
margin-bottom: 16px;
|
|
711
713
|
|
|
@@ -730,10 +732,10 @@
|
|
|
730
732
|
font: inherit;
|
|
731
733
|
font-size: 15px;
|
|
732
734
|
color: var(--ant-color-text, #171717);
|
|
733
|
-
background: ${({$variant:e})=>
|
|
734
|
-
border: ${({$variant:e})=>
|
|
735
|
+
background: ${({$variant:e})=>ge(e)?"#F2F3F5":"var(--hisd3-control-bg, #e6e4e1)"};
|
|
736
|
+
border: ${({$variant:e})=>ge(e)?"1px":"var(--hisd3-rule-width, 1px)"}
|
|
735
737
|
solid transparent;
|
|
736
|
-
border-radius: ${({$variant:e})=>
|
|
738
|
+
border-radius: ${({$variant:e})=>ge(e)?"10px":"0"};
|
|
737
739
|
outline: none;
|
|
738
740
|
transition: border-color 0.15s ease, background 0.15s ease;
|
|
739
741
|
|
|
@@ -752,7 +754,7 @@
|
|
|
752
754
|
}
|
|
753
755
|
}
|
|
754
756
|
|
|
755
|
-
@media (max-width: ${
|
|
757
|
+
@media (max-width: ${me}px) {
|
|
756
758
|
margin-bottom: 14px;
|
|
757
759
|
|
|
758
760
|
input {
|
|
@@ -776,7 +778,7 @@
|
|
|
776
778
|
color: var(--ant-color-text, #171717);
|
|
777
779
|
}
|
|
778
780
|
}
|
|
779
|
-
`,
|
|
781
|
+
`,Ee=o.div`
|
|
780
782
|
display: flex;
|
|
781
783
|
align-items: center;
|
|
782
784
|
justify-content: space-between;
|
|
@@ -806,19 +808,19 @@
|
|
|
806
808
|
text-decoration: underline;
|
|
807
809
|
}
|
|
808
810
|
}
|
|
809
|
-
`,
|
|
811
|
+
`,Ie=o.div`
|
|
810
812
|
margin-bottom: 16px;
|
|
811
813
|
padding: 10px 14px;
|
|
812
814
|
font-size: 13px;
|
|
813
815
|
color: var(--ant-color-error, #e5401c);
|
|
814
816
|
background: rgba(229, 64, 28, 0.08);
|
|
815
817
|
border-left: 3px solid var(--ant-color-error, #e5401c);
|
|
816
|
-
`,
|
|
818
|
+
`,Be=o.p`
|
|
817
819
|
margin: 20px 0 0;
|
|
818
820
|
text-align: center;
|
|
819
821
|
font-size: 14px;
|
|
820
822
|
color: var(--ant-color-text-secondary, #4A4A4A);
|
|
821
|
-
`,
|
|
823
|
+
`,Ce=o.button`
|
|
822
824
|
user-select: none;
|
|
823
825
|
-webkit-user-select: none;
|
|
824
826
|
position: relative;
|
|
@@ -855,7 +857,7 @@
|
|
|
855
857
|
/* the stock bell is narrow; widen it a touch for a fuller silhouette */
|
|
856
858
|
transform: scaleX(var(--hisd3-bell-stretch, 1.12));
|
|
857
859
|
}
|
|
858
|
-
`,
|
|
860
|
+
`,ze=o.span`
|
|
859
861
|
position: absolute;
|
|
860
862
|
top: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
861
863
|
right: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
@@ -868,12 +870,12 @@
|
|
|
868
870
|
font-size: 11px;
|
|
869
871
|
font-weight: 700;
|
|
870
872
|
line-height: 1;
|
|
871
|
-
color: #fff;
|
|
872
|
-
background: var(--ant-color-error, #
|
|
873
|
+
color: var(--hisd3-on-primary, #fff);
|
|
874
|
+
background: var(--ant-color-error, #b42318);
|
|
873
875
|
border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
|
|
874
876
|
border-radius: 999px;
|
|
875
877
|
pointer-events: none;
|
|
876
|
-
`,
|
|
878
|
+
`,Te=o.div`
|
|
877
879
|
width: 360px;
|
|
878
880
|
max-width: calc(100vw - 32px);
|
|
879
881
|
overflow: hidden;
|
|
@@ -882,7 +884,7 @@
|
|
|
882
884
|
border-radius: var(--hisd3-popup-radius, 10px);
|
|
883
885
|
box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
|
|
884
886
|
0 12px 32px rgba(16, 15, 14, 0.14);
|
|
885
|
-
`,
|
|
887
|
+
`,Re=o.div`
|
|
886
888
|
display: flex;
|
|
887
889
|
align-items: center;
|
|
888
890
|
justify-content: space-between;
|
|
@@ -910,10 +912,10 @@
|
|
|
910
912
|
text-decoration: underline;
|
|
911
913
|
}
|
|
912
914
|
}
|
|
913
|
-
`,
|
|
915
|
+
`,He=o.div`
|
|
914
916
|
max-height: 380px;
|
|
915
917
|
overflow-y: auto;
|
|
916
|
-
`,
|
|
918
|
+
`,Ne=o.button`
|
|
917
919
|
display: flex;
|
|
918
920
|
align-items: flex-start;
|
|
919
921
|
gap: 12px;
|
|
@@ -926,9 +928,9 @@
|
|
|
926
928
|
background: ${({$unread:e})=>e?"var(--ant-color-primary-bg)":"transparent"};
|
|
927
929
|
|
|
928
930
|
&:hover {
|
|
929
|
-
background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"rgba(0,0,0,0.04)"};
|
|
931
|
+
background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"var(--hisd3-hover, rgba(0,0,0,0.04))"};
|
|
930
932
|
}
|
|
931
|
-
`,
|
|
933
|
+
`,Pe=o.span`
|
|
932
934
|
width: 36px;
|
|
933
935
|
height: 36px;
|
|
934
936
|
flex: 0 0 auto;
|
|
@@ -938,8 +940,8 @@
|
|
|
938
940
|
font-size: 16px;
|
|
939
941
|
color: var(--ant-color-text);
|
|
940
942
|
border-radius: 50%;
|
|
941
|
-
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"
|
|
942
|
-
`,
|
|
943
|
+
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
|
|
944
|
+
`,Le=o.span`
|
|
943
945
|
flex: 1 1 auto;
|
|
944
946
|
min-width: 0;
|
|
945
947
|
|
|
@@ -964,14 +966,14 @@
|
|
|
964
966
|
font-size: 12px;
|
|
965
967
|
color: var(--ant-color-text-tertiary);
|
|
966
968
|
}
|
|
967
|
-
`,
|
|
969
|
+
`,Me=o.span`
|
|
968
970
|
width: 8px;
|
|
969
971
|
height: 8px;
|
|
970
972
|
margin-top: 6px;
|
|
971
973
|
flex: 0 0 auto;
|
|
972
974
|
border-radius: 50%;
|
|
973
975
|
background: var(--ant-color-primary);
|
|
974
|
-
`,
|
|
976
|
+
`,Ue=o.button`
|
|
975
977
|
display: block;
|
|
976
978
|
width: 100%;
|
|
977
979
|
padding: 12px 16px;
|
|
@@ -986,11 +988,11 @@
|
|
|
986
988
|
cursor: pointer;
|
|
987
989
|
|
|
988
990
|
&:hover {
|
|
989
|
-
background: rgba(0, 0, 0, 0.04);
|
|
991
|
+
background: var(--hisd3-hover, rgba(0, 0, 0, 0.04));
|
|
990
992
|
}
|
|
991
|
-
`,
|
|
993
|
+
`,Oe=o.div`
|
|
992
994
|
padding: 28px 16px;
|
|
993
|
-
|
|
995
|
+
`,$e=o.button`
|
|
994
996
|
user-select: none;
|
|
995
997
|
-webkit-user-select: none;
|
|
996
998
|
position: relative;
|
|
@@ -1026,7 +1028,7 @@
|
|
|
1026
1028
|
display: block;
|
|
1027
1029
|
border-radius: inherit;
|
|
1028
1030
|
}
|
|
1029
|
-
`,
|
|
1031
|
+
`,Ge=o.span`
|
|
1030
1032
|
position: absolute;
|
|
1031
1033
|
right: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
1032
1034
|
bottom: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
@@ -1042,12 +1044,12 @@
|
|
|
1042
1044
|
border-radius: 50%;
|
|
1043
1045
|
pointer-events: none;
|
|
1044
1046
|
|
|
1045
|
-
${({$open:e})=>e?"\n background: var(--ant-color-primary);\n color: #fff;\n ":""}
|
|
1047
|
+
${({$open:e})=>e?"\n background: var(--ant-color-primary);\n color: var(--hisd3-on-primary, #fff);\n ":""}
|
|
1046
1048
|
|
|
1047
1049
|
& svg {
|
|
1048
1050
|
display: block;
|
|
1049
1051
|
}
|
|
1050
|
-
`,
|
|
1052
|
+
`,qe=o.div`
|
|
1051
1053
|
display: flex;
|
|
1052
1054
|
align-items: center;
|
|
1053
1055
|
gap: 12px;
|
|
@@ -1073,16 +1075,16 @@
|
|
|
1073
1075
|
.hisd3-identity-role {
|
|
1074
1076
|
display: block;
|
|
1075
1077
|
margin-top: 2px;
|
|
1076
|
-
font-size:
|
|
1077
|
-
font-weight:
|
|
1078
|
-
letter-spacing: 0.
|
|
1078
|
+
font-size: 12px;
|
|
1079
|
+
font-weight: 600;
|
|
1080
|
+
letter-spacing: 0.08em;
|
|
1079
1081
|
text-transform: uppercase;
|
|
1080
1082
|
color: var(--ant-color-text-tertiary);
|
|
1081
1083
|
white-space: nowrap;
|
|
1082
1084
|
overflow: hidden;
|
|
1083
1085
|
text-overflow: ellipsis;
|
|
1084
1086
|
}
|
|
1085
|
-
`,
|
|
1087
|
+
`,We=o.span`
|
|
1086
1088
|
width: 40px;
|
|
1087
1089
|
height: 40px;
|
|
1088
1090
|
flex: 0 0 auto;
|
|
@@ -1092,8 +1094,8 @@
|
|
|
1092
1094
|
font-size: 14px;
|
|
1093
1095
|
font-weight: 700;
|
|
1094
1096
|
border-radius: 50%;
|
|
1095
|
-
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"
|
|
1096
|
-
`,
|
|
1097
|
+
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
|
|
1098
|
+
`,Ke=o.div`
|
|
1097
1099
|
overflow: hidden;
|
|
1098
1100
|
background: var(--ant-color-bg-elevated);
|
|
1099
1101
|
border: 1px solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
|
|
@@ -1116,17 +1118,17 @@
|
|
|
1116
1118
|
border-radius: 8px;
|
|
1117
1119
|
font-size: 14px;
|
|
1118
1120
|
}
|
|
1119
|
-
`,
|
|
1121
|
+
`,Qe=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("")||"?",Ve=o.div`
|
|
1120
1122
|
display: flex;
|
|
1121
1123
|
align-items: center;
|
|
1122
1124
|
gap: 8px;
|
|
1123
1125
|
flex: 0 0 auto;
|
|
1124
|
-
`,
|
|
1126
|
+
`,Ye=o.span`
|
|
1125
1127
|
width: 2px;
|
|
1126
1128
|
height: 24px;
|
|
1127
1129
|
background: var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
|
|
1128
1130
|
flex: 0 0 auto;
|
|
1129
|
-
`,
|
|
1131
|
+
`,Ze=o.div`
|
|
1130
1132
|
/*
|
|
1131
1133
|
* Opaque backgrounds throughout. A fixed column is \`position: sticky\`, so the
|
|
1132
1134
|
* columns that scroll underneath it show through anything translucent.
|
|
@@ -1138,12 +1140,14 @@
|
|
|
1138
1140
|
}
|
|
1139
1141
|
|
|
1140
1142
|
.ant-table-wrapper .ant-table-thead > tr > th {
|
|
1141
|
-
|
|
1142
|
-
font-
|
|
1143
|
-
|
|
1143
|
+
/* column-heading: the most-read label on a screen, so never below 12px. */
|
|
1144
|
+
font-size: 12px;
|
|
1145
|
+
font-weight: 600;
|
|
1146
|
+
line-height: 16px;
|
|
1147
|
+
letter-spacing: 0.06em;
|
|
1144
1148
|
text-transform: uppercase;
|
|
1145
|
-
color: var(--ant-color-text-
|
|
1146
|
-
padding-block:
|
|
1149
|
+
color: var(--ant-color-text-secondary);
|
|
1150
|
+
padding-block: 12px;
|
|
1147
1151
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
1148
1152
|
background: var(--hisd3-table-bg, #f3f2f0);
|
|
1149
1153
|
}
|
|
@@ -1182,14 +1186,14 @@
|
|
|
1182
1186
|
.hisd3-cell-muted {
|
|
1183
1187
|
color: var(--ant-color-text-tertiary);
|
|
1184
1188
|
}
|
|
1185
|
-
`,
|
|
1189
|
+
`,Je=o.div`
|
|
1186
1190
|
padding: 14px 0 8px;
|
|
1187
|
-
font-size:
|
|
1191
|
+
font-size: 12px;
|
|
1188
1192
|
font-weight: 600;
|
|
1189
|
-
letter-spacing: 0.
|
|
1193
|
+
letter-spacing: 0.08em;
|
|
1190
1194
|
text-transform: uppercase;
|
|
1191
1195
|
color: var(--ant-color-text-tertiary);
|
|
1192
|
-
`,
|
|
1196
|
+
`,Xe=o.div`
|
|
1193
1197
|
user-select: none;
|
|
1194
1198
|
-webkit-user-select: none;
|
|
1195
1199
|
display: flex;
|
|
@@ -1235,7 +1239,7 @@
|
|
|
1235
1239
|
.ant-pagination-item-active {
|
|
1236
1240
|
background: var(--ant-color-primary);
|
|
1237
1241
|
a {
|
|
1238
|
-
color: #fff;
|
|
1242
|
+
color: var(--hisd3-on-primary, #fff);
|
|
1239
1243
|
}
|
|
1240
1244
|
}
|
|
1241
1245
|
|
|
@@ -1251,7 +1255,7 @@
|
|
|
1251
1255
|
font-weight: 700;
|
|
1252
1256
|
}
|
|
1253
1257
|
}
|
|
1254
|
-
|
|
1258
|
+
`,_e=o.div`
|
|
1255
1259
|
display: inline-flex;
|
|
1256
1260
|
border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
1257
1261
|
|
|
@@ -1272,10 +1276,10 @@
|
|
|
1272
1276
|
|
|
1273
1277
|
&[aria-pressed="true"] {
|
|
1274
1278
|
background: var(--ant-color-primary);
|
|
1275
|
-
color: #fff;
|
|
1279
|
+
color: var(--hisd3-on-primary, #fff);
|
|
1276
1280
|
}
|
|
1277
1281
|
}
|
|
1278
|
-
`,
|
|
1282
|
+
`,er=e=>`Total ${e.toLocaleString()} items`;const rr=o(r.Tabs)`
|
|
1279
1283
|
&.ant-tabs .ant-tabs-nav {
|
|
1280
1284
|
user-select: none;
|
|
1281
1285
|
-webkit-user-select: none;
|
|
@@ -1310,23 +1314,24 @@
|
|
|
1310
1314
|
.ant-tabs-tab-active .hisd3-tab-count {
|
|
1311
1315
|
color: var(--ant-color-primary);
|
|
1312
1316
|
}
|
|
1313
|
-
`,
|
|
1317
|
+
`,tr={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)"},or={default:"var(--hisd3-control-bg, #e6e4e1)",primary:"var(--ant-color-primary-bg)",success:"var(--ant-color-success-bg)",warning:"var(--ant-color-warning-bg)",danger:"var(--ant-color-error-bg)"},ir=o.span`
|
|
1314
1318
|
display: inline-flex;
|
|
1315
1319
|
align-items: center;
|
|
1316
1320
|
gap: 5px;
|
|
1317
|
-
height:
|
|
1321
|
+
height: 24px;
|
|
1318
1322
|
padding: 0 9px;
|
|
1319
|
-
|
|
1320
|
-
font-
|
|
1321
|
-
|
|
1323
|
+
/* tag: 12px, 600 — the status on a row is read as often as the row. */
|
|
1324
|
+
font-size: 12px;
|
|
1325
|
+
font-weight: 600;
|
|
1326
|
+
letter-spacing: 0.04em;
|
|
1322
1327
|
text-transform: uppercase;
|
|
1323
1328
|
white-space: nowrap;
|
|
1324
1329
|
line-height: 1;
|
|
1325
1330
|
border: var(--hisd3-rule-width, 1px) solid transparent;
|
|
1326
1331
|
border-radius: 0;
|
|
1327
1332
|
|
|
1328
|
-
${({$variant:e,$tone:
|
|
1329
|
-
`,
|
|
1333
|
+
${({$variant:e,$tone:r})=>{const t=tr[r],o=or[r];switch(e){case"soft":return`color: ${t}; background: ${o};`;case"outline":return`color: ${t}; border-color: ${t}; background: transparent;`;case"solid":return`color: var(--hisd3-on-primary, #fff); background: ${"default"===r?"var(--ant-color-text)":t};`;default:return"color: var(--ant-color-text); background: var(--hisd3-control-bg, #e6e4e1);"}}}
|
|
1334
|
+
`,nr=o(r.Input)`
|
|
1330
1335
|
&.ant-input,
|
|
1331
1336
|
&.ant-input-affix-wrapper {
|
|
1332
1337
|
border-width: var(--hisd3-rule-width, 1px);
|
|
@@ -1338,18 +1343,28 @@
|
|
|
1338
1343
|
color: var(--ant-color-text-tertiary);
|
|
1339
1344
|
font-size: 15px;
|
|
1340
1345
|
}
|
|
1341
|
-
`,
|
|
1342
|
-
/*
|
|
1346
|
+
`,ar=t.forwardRef(((r,t)=>e.jsx(nr,{...r,ref:t})));ar.displayName="HISD3Input";const sr=o(nr)`
|
|
1347
|
+
/*
|
|
1348
|
+
* default: the same 40px control height as buttons and selects.
|
|
1349
|
+
* Lighter than the page with the same 3:1 edge as every other field, so it
|
|
1350
|
+
* reads as a field to type in; a fill darker than the page reads as disabled.
|
|
1351
|
+
*/
|
|
1343
1352
|
&.ant-input-affix-wrapper {
|
|
1344
|
-
background: var(--hisd3-bg
|
|
1345
|
-
border-color: var(--hisd3-
|
|
1353
|
+
background: var(--hisd3-input-bg, #FAF9F7);
|
|
1354
|
+
border-color: var(--hisd3-input-border, #8C8A85);
|
|
1346
1355
|
height: 40px;
|
|
1347
1356
|
padding-inline: 14px;
|
|
1348
1357
|
|
|
1349
|
-
&:hover
|
|
1358
|
+
&:hover {
|
|
1359
|
+
border-color: var(--hisd3-input-border-hover, #5F5D59);
|
|
1360
|
+
background: var(--hisd3-input-bg-hover, #FFFFFF);
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1350
1363
|
&:focus-within {
|
|
1351
|
-
border-color: var(--
|
|
1352
|
-
background: var(--hisd3-bg-
|
|
1364
|
+
border-color: var(--ant-color-primary);
|
|
1365
|
+
background: var(--hisd3-input-bg-hover, #FFFFFF);
|
|
1366
|
+
/* A 2px primary edge: the border plus a 1px ring, as on every field. */
|
|
1367
|
+
box-shadow: 0 0 0 1px var(--ant-color-primary);
|
|
1353
1368
|
}
|
|
1354
1369
|
|
|
1355
1370
|
.ant-input {
|
|
@@ -1360,6 +1375,7 @@
|
|
|
1360
1375
|
.ant-input-prefix {
|
|
1361
1376
|
margin-inline-end: 10px;
|
|
1362
1377
|
font-size: 15px;
|
|
1378
|
+
color: var(--ant-color-text-secondary);
|
|
1363
1379
|
}
|
|
1364
1380
|
}
|
|
1365
1381
|
|
|
@@ -1390,7 +1406,7 @@
|
|
|
1390
1406
|
font-size: 19px;
|
|
1391
1407
|
}
|
|
1392
1408
|
}
|
|
1393
|
-
`,
|
|
1409
|
+
`,lr={small:"hisd3-search-sm",middle:"",large:"hisd3-search-lg"},dr=t.forwardRef((({size:r,compact:t,className:o,...n},a)=>e.jsx(sr,{ref:a,allowClear:!0,prefix:e.jsx(i.SearchOutlined,{}),className:[lr[r??(t?"small":"middle")],o??""].join(" ").trim(),...n})));dr.displayName="HISD3SearchInput";const pr=({label:r,description:t,mono:o})=>e.jsxs("div",{className:"hisd3-select-label",children:[e.jsx("div",{className:"hisd3-select-label-primary",style:o?{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"}:void 0,children:r}),null!=t&&""!==t?e.jsx("div",{className:"hisd3-select-label-description",children:t}):null]}),cr=e=>"string"==typeof e||"number"==typeof e?String(e):"",hr=e=>(e??[]).flatMap((e=>Array.isArray(e.options)?hr(e.options):[e])),gr=(e,r)=>{if(!r)return!1;return`${cr(r.label??r.value)} ${cr(r.description)}`.toUpperCase().includes(e.toUpperCase())},xr=(...e)=>e.filter(Boolean).join(" "),mr=t.forwardRef((({wrap:o=!0,monoLabel:i,options:n,mode:a,showSearch:s,filterOption:l,optionFilterProp:d,optionRender:p,labelRender:c,virtual:h,rootClassName:g,...x},m)=>{const u=t.useMemo((()=>new Map(hr(n).map((e=>[e.value,e])))),[n]),b=t.useMemo((()=>[...u.values()].some((e=>null!=e.description))),[u]),f=(r,t)=>null!=r?.description||i?e.jsx(pr,{label:r?.label??t,description:r?.description,mono:i}):t,v="object"==typeof s?s:void 0,y=void 0!==l||void 0!==d||void 0!==v?.filterOption||void 0!==v?.optionFilterProp;return e.jsx(r.Select,{...x,ref:m,mode:a,options:n,showSearch:s,optionFilterProp:d,filterOption:l??(!y&&b?gr:void 0),optionRender:p??(e=>f(e.data,e.label??e.value)),labelRender:c??(a?void 0:({label:e,value:r})=>f(u.get(r),e??r)),virtual:h??(!o&&void 0),rootClassName:xr(o&&"hisd3-wrap-select",g)})}));mr.displayName="HISD3Select";const ur=o(r.Form.Item)`
|
|
1394
1410
|
&.ant-form-item {
|
|
1395
1411
|
margin-bottom: 6px;
|
|
1396
1412
|
}
|
|
@@ -1410,5 +1426,5 @@
|
|
|
1410
1426
|
.ant-input-number-group-wrapper {
|
|
1411
1427
|
width: 100%;
|
|
1412
1428
|
}
|
|
1413
|
-
`,tt=({node:t})=>e.jsx(e.Fragment,{children:t}),rt=({loading:r,loadingProps:o,vertical:i,bolderLabel:n,controlSize:a,skeleton:s,layout:l,className:d,children:p,...c})=>e.jsx(et,{...c,layout:i?"vertical":l,className:["hisd3-form-field",n?"hisd3-form-field-bold":"",d??""].join(" ").trim(),children:r?e.jsx(tt,{node:s??e.jsx(t.Skeleton.Input,{active:!0,block:!0,size:a,...o})}):p}),ot=r=>e.jsx(t.Skeleton.Button,{active:!0,size:"small",style:{width:r,minWidth:r}}),it=r.forwardRef((({fieldProps:t,propsinput:r,...o},i)=>{const n={...r,...t};return e.jsx(rt,{...o,controlSize:n.size,children:e.jsx(Ze,{...n,ref:i})})}));it.displayName="HISD3FormInput";const nt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.Input.Password,{...r,ref:i})})));nt.displayName="HISD3FormPassword";const at=r.forwardRef((({fieldProps:r,loadingProps:o,...i},n)=>e.jsx(rt,{...i,controlSize:r?.size,loadingProps:{...o,style:{height:22*(r?.rows??3)+10,...o?.style}},children:e.jsx(t.Input.TextArea,{...r,ref:n})})));at.displayName="HISD3FormTextArea";const st=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.InputNumber,{...r,ref:i})})));st.displayName="HISD3FormInputNumber";const lt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.Select,{...r,ref:i})})));lt.displayName="HISD3FormSelect";const dt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.Radio.Group,{...r,ref:i})})));dt.displayName="HISD3FormRadioGroup";const pt=r.forwardRef((({fieldProps:r,text:o,...i},n)=>e.jsx(rt,{valuePropName:"checked",skeleton:ot(120),...i,children:e.jsx(t.Checkbox,{...r,ref:n,children:o??r?.children})})));pt.displayName="HISD3FormCheckbox";const ct=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,children:e.jsx(t.Checkbox.Group,{...r,ref:i})})));ct.displayName="HISD3FormCheckboxGroup";const ht=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{valuePropName:"checked",skeleton:ot("small"===r?.size?28:44),...o,children:e.jsx(t.Switch,{...r,ref:i})})));ht.displayName="HISD3FormSwitch";const xt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.DatePicker,{...r,ref:i})})));xt.displayName="HISD3FormDatePicker";const gt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.DatePicker.RangePicker,{...r,ref:i})})));gt.displayName="HISD3FormRangePicker";const ut=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.TimePicker,{...r,ref:i})})));ut.displayName="HISD3FormTimePicker";const mt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.TimePicker.RangePicker,{...r,ref:i})})));mt.displayName="HISD3FormTimeRangePicker";const bt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.Input.Search,{...r,ref:i})})));bt.displayName="HISD3FormSearch";const ft=r.forwardRef((({fieldProps:r,loadingProps:o,...i},n)=>e.jsx(rt,{...i,controlSize:r?.size,loadingProps:{block:!1,...o,style:{width:48*(r?.length??6),...o?.style}},children:e.jsx(t.Input.OTP,{...r,ref:n})})));ft.displayName="HISD3FormOTP";const yt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.AutoComplete,{...r,ref:i})})));yt.displayName="HISD3FormAutoComplete";const vt=r.forwardRef((({fieldProps:r,loadingProps:o,...i},n)=>e.jsx(rt,{...i,controlSize:r?.size,loadingProps:{...o,style:{height:22*(r?.rows??1)+18,...o?.style}},children:e.jsx(t.Mentions,{...r,ref:n})})));vt.displayName="HISD3FormMentions";const wt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.Cascader,{...r,ref:i})})));wt.displayName="HISD3FormCascader";const St=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:r?.size,children:e.jsx(t.TreeSelect,{...r,ref:i})})));St.displayName="HISD3FormTreeSelect";const Dt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,skeleton:ot(200),children:e.jsx(t.Segmented,{...r,options:r?.options??[],ref:i})})));Dt.displayName="HISD3FormSegmented";const At=r.forwardRef((({fieldProps:r,loadingProps:o,...i},n)=>e.jsx(rt,{valuePropName:"targetKeys",loadingProps:{...o,style:{height:200,...o?.style}},...i,children:e.jsx(t.Transfer,{...r,ref:n})})));At.displayName="HISD3FormTransfer";const kt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,controlSize:"small",children:e.jsx(t.Slider,{...r,ref:i})})));kt.displayName="HISD3FormSlider";const jt=r.forwardRef((({fieldProps:r,...o},i)=>e.jsx(rt,{...o,skeleton:ot(28*(r?.count??5)),children:e.jsx(t.Rate,{...r,ref:i})})));jt.displayName="HISD3FormRate";const It=({fieldProps:r,...o})=>e.jsx(rt,{getValueFromEvent:(e,t)=>t,skeleton:e.jsx(t.Skeleton.Button,{active:!0,shape:"square"}),...o,children:e.jsx(t.ColorPicker,{...r})});It.displayName="HISD3FormColorPicker";const Et=e=>Array.isArray(e)?e:e?.fileList??[],Ct=({fieldProps:r,children:o,...i})=>e.jsx(rt,{valuePropName:"fileList",getValueFromEvent:Et,skeleton:e.jsx(t.Skeleton.Button,{active:!0}),...i,children:e.jsx(t.Upload,{...r,children:o??r?.children})});Ct.displayName="HISD3FormUpload";const zt=({fieldProps:r,children:o,loadingProps:i,...n})=>e.jsx(rt,{valuePropName:"fileList",getValueFromEvent:Et,loadingProps:{...i,style:{height:150,...i?.style}},...n,children:e.jsx(t.Upload.Dragger,{...r,children:o??r?.children})});zt.displayName="HISD3FormUploadDragger";const Ft=r.createContext(null);let Tt=0;function Bt({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 Rt,Nt,Ht,Lt,Pt,Mt,Ut,Ot,Gt,$t,qt,Qt,Kt;exports.ThemeStyle=void 0,(Rt=exports.ThemeStyle||(exports.ThemeStyle={})).MODERN="modern",Rt.STANDARD="standard",exports.ThemeStyleRadius=void 0,(Nt=exports.ThemeStyleRadius||(exports.ThemeStyleRadius={})).MODERN="30px",Nt.STANDARD="16px",exports.ThemeMode=void 0,(Ht=exports.ThemeMode||(exports.ThemeMode={})).LIGHT="light",Ht.SEMI_DARK="semi-dark",Ht.DARK="dark",exports.LayoutType=void 0,(Lt=exports.LayoutType||(exports.LayoutType={})).FULL_WIDTH="full-width",Lt.BOXED="boxed",Lt.FRAMED="framed",exports.MenuStyle=void 0,(Pt=exports.MenuStyle||(exports.MenuStyle={})).DEFAULT="default",Pt.STANDARD="standard",Pt.ROUNDED="rounded",Pt.ROUNDED_REVERSE="rounded-reverse",Pt.CURVED_MENU="curved-menu",exports.NavStyle=void 0,(Mt=exports.NavStyle||(exports.NavStyle={})).DEFAULT="default",Mt.MINI="mini",Mt.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",Mt.STANDARD="standard",Mt.HEADER_USER="user-header",Mt.HEADER_USER_MINI="user-mini-header",Mt.DRAWER="drawer",Mt.BIT_BUCKET="bit-bucket",Mt.H_DEFAULT="h-default",Mt.HOR_HEADER_FIXED="hor-header-fixed",Mt.HOR_DARK_LAYOUT="hor-dark-layout",exports.FooterType=void 0,(Ut=exports.FooterType||(exports.FooterType={})).FIXED="fixed",Ut.FLUID="fluid",exports.LayoutDirection=void 0,(Ot=exports.LayoutDirection||(exports.LayoutDirection={})).RTL="rtl",Ot.LTR="ltr",exports.HeaderType=void 0,(Gt=exports.HeaderType||(exports.HeaderType={})).DARK="dark",Gt.LIGHT="light",exports.RouteTransition=void 0,($t=exports.RouteTransition||(exports.RouteTransition={})).NONE="none",$t.FADE="fade",$t.SLIDE_LEFT="slideLeft",$t.SLIDE_RIGHT="slideRight",$t.SLIDE_UP="slideUp",$t.SLIDE_DOWN="slideDown",exports.Fonts=void 0,(qt=exports.Fonts||(exports.Fonts={})).LIGHT="300",qt.REGULAR="400",qt.MEDIUM="500",qt.BOLD="600",exports.AuthType=void 0,(Qt=exports.AuthType||(exports.AuthType={})).FIREBASE="firebase",Qt.AWS_COGNITO="aws_cognito",Qt.AUTH0="auth0",Qt.JWT_AUTH="jwt_auth",exports.AppAnimates=void 0,(Kt=exports.AppAnimates||(exports.AppAnimates={})).SLIDEUPIN="transition.slideUpIn",Kt.SLIDEUPOUT="transition.slideUpOut",Kt.SLIDEDOWNIN="transition.slideDownIn",Kt.SLIDEDOWNOUT="transition.slideDownOut",Kt.SLIDELEFTIN="transition.slideLeftIn",Kt.SLIDELEFTOUT="transition.slideLeftOut",Kt.SLIDERIGHTIN="transition.slideRightIn",Kt.SLIDERIGHTOUT="transition.slideRightOut",Kt.FADEIN="transition.fadeIn",Kt.FADEOUT="transition.fadeOut";var Wt,Vt;exports.MessageType=void 0,(Wt=exports.MessageType||(exports.MessageType={}))[Wt.MEDIA=1]="MEDIA",Wt[Wt.TEXT=2]="TEXT",exports.RoutePermittedRole=void 0,(Vt=exports.RoutePermittedRole||(exports.RoutePermittedRole={})).Admin="admin",Vt.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(Ft.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(),[m,b]=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:m,onOpenChange:b,trigger:["click"],placement:"bottomRight",menu:{items:f,onClick:()=>b(!1)},popupRender:t=>e.jsxs(He,{children:[e.jsxs(Re,{children:[e.jsx(Ne,{$src:n,children:!n&&Le(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:m,"aria-label":`Account menu for ${o.fullName}`,children:[n?e.jsx("img",{src:n,alt:""}):Le(o.fullName),!x&&e.jsx(Be,{$size:h,$open:m,"aria-hidden":!0,children:e.jsx(i.DownOutlined,{})})]})})},exports.HISD3Button=re,exports.HISD3FormAutoComplete=yt,exports.HISD3FormCascader=wt,exports.HISD3FormCheckbox=pt,exports.HISD3FormCheckboxGroup=ct,exports.HISD3FormColorPicker=It,exports.HISD3FormDatePicker=xt,exports.HISD3FormField=rt,exports.HISD3FormInput=it,exports.HISD3FormInputNumber=st,exports.HISD3FormMentions=vt,exports.HISD3FormOTP=ft,exports.HISD3FormPassword=nt,exports.HISD3FormRadioGroup=dt,exports.HISD3FormRangePicker=gt,exports.HISD3FormRate=jt,exports.HISD3FormSearch=bt,exports.HISD3FormSegmented=Dt,exports.HISD3FormSelect=lt,exports.HISD3FormSlider=kt,exports.HISD3FormSwitch=ht,exports.HISD3FormTextArea=at,exports.HISD3FormTimePicker=ut,exports.HISD3FormTimeRangePicker=mt,exports.HISD3FormTransfer=At,exports.HISD3FormTreeSelect=St,exports.HISD3FormUpload=Ct,exports.HISD3FormUploadDragger=zt,exports.HISD3HeaderActions=({children:t,divided:o=!1,className:i})=>{const n=r.Children.toArray(t).filter(Boolean);return e.jsx(Pe,{className:i,children:n.map(((t,i)=>e.jsxs(r.Fragment,{children:[o&&i===n.length-1&&i>0&&e.jsx(Me,{}),t]},i)))})},exports.HISD3Input=Ze,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:m="Email or user ID",passwordLabel:b="Password",passwordPlaceholder:f="Enter password",submitLabel:y="Sign in",hideRemember:v=!1,rememberLabel:w="Remember me",onForgotPassword:S,forgotLabel:D="Forgot password?",error:A,loading:k=!1,onSubmit:j,footer:I,className:E})=>{const[C,z]=r.useState(""),[F,T]=r.useState(""),[B,R]=r.useState(!1),[N,H]=r.useState(!1);return e.jsxs(ae,{className:E,$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(),k||j({identifier:C,password:F,remember:B})},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(me,{children:l}),A&&e.jsx(ye,{role:"alert",children:A}),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:C,onChange:e=>z(e.target.value),placeholder:m,autoComplete:"username",disabled:k,autoFocus:!0})})]}),e.jsxs(be,{$variant:x,children:[e.jsx("span",{className:"hisd3-field-label",children:b}),e.jsxs("span",{className:"hisd3-field-control",children:[e.jsx("input",{type:N?"text":"password",value:F,onChange:e=>T(e.target.value),placeholder:f,autoComplete:"current-password",disabled:k}),e.jsx("button",{type:"button",className:"hisd3-field-reveal","aria-label":N?"Hide password":"Show password",onClick:()=>H((e=>!e)),tabIndex:-1,children:N?e.jsx(i.EyeInvisibleOutlined,{}):e.jsx(i.EyeOutlined,{})})]})]}),(!v||S)&&e.jsxs(fe,{children:[v?e.jsx("span",{}):e.jsxs("label",{className:"hisd3-remember",children:[e.jsx(t.Switch,{size:"small",checked:B,onChange:R,disabled:k}),w]}),S&&e.jsx("button",{type:"button",className:"hisd3-forgot",onClick:S,children:D})]}),e.jsx(re,{variant:"primary",htmlType:"submit",size:"large",loading:k,block:!0,style:{borderRadius:"soft"===x?10:0,height:50},children:y}),I&&e.jsx(ve,{children:I})]})]})},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[m,b]=r.useState(!1),f=n??o.filter((e=>e.unread)).length,y=e.jsxs(De,{children:[e.jsxs(Ae,{children:[e.jsx("h4",{children:s}),l&&f>0&&e.jsx("button",{type:"button",onClick:l,children:"Mark all as read"})]}),a?e.jsx(Fe,{style:{textAlign:"center"},children:e.jsx(t.Spin,{})}):0===o.length?e.jsx(Fe,{children:e.jsx(t.Empty,{image:t.Empty.PRESENTED_IMAGE_SIMPLE,description:c})}):e.jsx(ke,{children:o.map((t=>e.jsxs(je,{type:"button",$unread:t.unread,onClick:()=>{t.onClick?.(t),b(!1),h?.(!1)},children:[e.jsx(Ie,{$src:t.avatarSrc,children:!t.avatarSrc&&(t.icon??e.jsx(i.BellFilled,{}))}),e.jsxs(Ee,{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(ze,{type:"button",onClick:()=>{d(),b(!1),h?.(!1)},children:p})]});return e.jsx(t.Dropdown,{open:m,onOpenChange:e=>{b(e),h?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>y,children:e.jsxs(we,{type:"button",$size:x,$open:m,className:u,"aria-label":`${s}${f?` (${f} unread)`:""}`,children:[g??e.jsx(i.BellFilled,{}),f>0&&e.jsx(Se,{$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(V,{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(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=_e,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:b=q,headerExtra:f,userMenuItems:v,onCollapse:w,collapsed:R=!1,loading:N=!1,hideSidebar:H=!1,layoutTop:L=!1,hideCollapseTrigger:P=!1,collapseTrigger:M="edge",collapseTriggerOffset:U=Math.round(A/2),siderWidth:O=S,bareContent:W=!1,hideHeaderBar:V=!1,brandHref:Y="/",hideAccountCard:Z=!1,scrollContent:J=!0})=>{const X=y(),_=void 0===u?X?null:m:u,[ee,te]=r.useState(R);r.useEffect((()=>{te(R)}),[R]);const re=r.useMemo((()=>$(d,b)),[d,b]),oe=r.useMemo((()=>((e,t)=>{let r;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=G(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=P?"none":M,de=ee?"Expand menu":"Collapse menu",pe=e.jsxs(E,{href:Y,$collapsed:!L&&ee,children:[s?e.jsx("img",{src:s,alt:l}):e.jsx("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(L||!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:N,size:"large",children:H?e.jsx(e.Fragment,{children:n}):L?e.jsxs(k,{$appShell:J,children:[e.jsxs(C,{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:v})]}),e.jsx(j,{$scroll:J,children:ce})]}):e.jsxs(k,{hasSider:!0,$appShell:J,children:[e.jsxs(K,{className:"hisd3-sider",width:O,collapsedWidth:D,collapsible:!0,collapsed:ee,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&ae(!0)},children:[pe,e.jsx(I,{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:v})]}),e.jsxs(j,{$scroll:J,children:[!V&&e.jsxs(z,{children:["header"===le&&e.jsx(F,{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(T,{type:"button","aria-label":de,title:de,$left:ee?D:O,$top:U,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(Ue,{children:[e.jsx(t.Table,{...n,pagination:!1}),o&&e.jsx(Oe,{children:o}),a&&e.jsxs(Ge,{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($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(Ve,{$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=_,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=Le,exports.hisd3AntdTheme=m,exports.hisd3VarsCss=u,exports.normalizeUploadFileList=Et,exports.resolvePrimary=c,exports.shade=h,exports.tint=x,exports.useDialog=function(t){const o=r.useContext(Ft);if(!o)throw new Error("useDialog needs DialogProvider above it.");return r.useCallback(((r,i)=>{const n=Tt+=1;o.mount(n,e.jsx(Bt,{Component:t,props:r,onClose:i,unmount:()=>o.unmount(n)},n))}),[t,o])},exports.useInsideHISD3Provider=y;
|
|
1429
|
+
`,br=({node:r})=>e.jsx(e.Fragment,{children:r}),fr=({loading:t,loadingProps:o,vertical:i,bolderLabel:n,controlSize:a,skeleton:s,layout:l,className:d,children:p,...c})=>e.jsx(ur,{...c,layout:i?"vertical":l,className:["hisd3-form-field",n?"hisd3-form-field-bold":"",d??""].join(" ").trim(),children:t?e.jsx(br,{node:s??e.jsx(r.Skeleton.Input,{active:!0,block:!0,size:a,...o})}):p}),vr=t=>e.jsx(r.Skeleton.Button,{active:!0,size:"small",style:{width:t,minWidth:t}}),yr=t.forwardRef((({fieldProps:r,propsinput:t,...o},i)=>{const n={...t,...r};return e.jsx(fr,{...o,controlSize:n.size,children:e.jsx(ar,{...n,ref:i})})}));yr.displayName="HISD3FormInput";const wr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.Input.Password,{...t,ref:i})})));wr.displayName="HISD3FormPassword";const Sr=t.forwardRef((({fieldProps:t,loadingProps:o,...i},n)=>e.jsx(fr,{...i,controlSize:t?.size,loadingProps:{...o,style:{height:22*(t?.rows??3)+10,...o?.style}},children:e.jsx(r.Input.TextArea,{...t,ref:n})})));Sr.displayName="HISD3FormTextArea";const Ar=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.InputNumber,{...t,ref:i})})));Ar.displayName="HISD3FormInputNumber";const Dr=t.forwardRef((({fieldProps:r,...t},o)=>e.jsx(fr,{...t,controlSize:r?.size,children:e.jsx(mr,{...r,ref:o})})));Dr.displayName="HISD3FormSelect";const kr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.Radio.Group,{...t,ref:i})})));kr.displayName="HISD3FormRadioGroup";const Fr=t.forwardRef((({fieldProps:t,text:o,...i},n)=>e.jsx(fr,{valuePropName:"checked",skeleton:vr(120),...i,children:e.jsx(r.Checkbox,{...t,ref:n,children:o??t?.children})})));Fr.displayName="HISD3FormCheckbox";const jr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,children:e.jsx(r.Checkbox.Group,{...t,ref:i})})));jr.displayName="HISD3FormCheckboxGroup";const Er=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{valuePropName:"checked",skeleton:vr("small"===t?.size?28:44),...o,children:e.jsx(r.Switch,{...t,ref:i})})));Er.displayName="HISD3FormSwitch";const Ir=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.DatePicker,{...t,ref:i})})));Ir.displayName="HISD3FormDatePicker";const Br=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.DatePicker.RangePicker,{...t,ref:i})})));Br.displayName="HISD3FormRangePicker";const Cr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.TimePicker,{...t,ref:i})})));Cr.displayName="HISD3FormTimePicker";const zr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.TimePicker.RangePicker,{...t,ref:i})})));zr.displayName="HISD3FormTimeRangePicker";const Tr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.Input.Search,{...t,ref:i})})));Tr.displayName="HISD3FormSearch";const Rr=t.forwardRef((({fieldProps:t,loadingProps:o,...i},n)=>e.jsx(fr,{...i,controlSize:t?.size,loadingProps:{block:!1,...o,style:{width:48*(t?.length??6),...o?.style}},children:e.jsx(r.Input.OTP,{...t,ref:n})})));Rr.displayName="HISD3FormOTP";const Hr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.AutoComplete,{...t,ref:i})})));Hr.displayName="HISD3FormAutoComplete";const Nr=t.forwardRef((({fieldProps:t,loadingProps:o,...i},n)=>e.jsx(fr,{...i,controlSize:t?.size,loadingProps:{...o,style:{height:22*(t?.rows??1)+18,...o?.style}},children:e.jsx(r.Mentions,{...t,ref:n})})));Nr.displayName="HISD3FormMentions";const Pr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.Cascader,{...t,ref:i})})));Pr.displayName="HISD3FormCascader";const Lr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:t?.size,children:e.jsx(r.TreeSelect,{...t,ref:i})})));Lr.displayName="HISD3FormTreeSelect";const Mr=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,skeleton:vr(200),children:e.jsx(r.Segmented,{...t,options:t?.options??[],ref:i})})));Mr.displayName="HISD3FormSegmented";const Ur=t.forwardRef((({fieldProps:t,loadingProps:o,...i},n)=>e.jsx(fr,{valuePropName:"targetKeys",loadingProps:{...o,style:{height:200,...o?.style}},...i,children:e.jsx(r.Transfer,{...t,ref:n})})));Ur.displayName="HISD3FormTransfer";const Or=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,controlSize:"small",children:e.jsx(r.Slider,{...t,ref:i})})));Or.displayName="HISD3FormSlider";const $r=t.forwardRef((({fieldProps:t,...o},i)=>e.jsx(fr,{...o,skeleton:vr(28*(t?.count??5)),children:e.jsx(r.Rate,{...t,ref:i})})));$r.displayName="HISD3FormRate";const Gr=({fieldProps:t,...o})=>e.jsx(fr,{getValueFromEvent:(e,r)=>r,skeleton:e.jsx(r.Skeleton.Button,{active:!0,shape:"square"}),...o,children:e.jsx(r.ColorPicker,{...t})});Gr.displayName="HISD3FormColorPicker";const qr=e=>Array.isArray(e)?e:e?.fileList??[],Wr=({fieldProps:t,children:o,...i})=>e.jsx(fr,{valuePropName:"fileList",getValueFromEvent:qr,skeleton:e.jsx(r.Skeleton.Button,{active:!0}),...i,children:e.jsx(r.Upload,{...t,children:o??t?.children})});Wr.displayName="HISD3FormUpload";const Kr=({fieldProps:t,children:o,loadingProps:i,...n})=>e.jsx(fr,{valuePropName:"fileList",getValueFromEvent:qr,loadingProps:{...i,style:{height:150,...i?.style}},...n,children:e.jsx(r.Upload.Dragger,{...t,children:o??t?.children})});Kr.displayName="HISD3FormUploadDragger";const Qr=t.createContext(null);let Vr=0;function Yr({Component:r,props:o,onClose:i,unmount:n}){const[a,s]=t.useState(!0),l=t.useRef(!1),d={...o,open:a,hide:t.useCallback((e=>{l.current||(l.current=!0,s(!1),i?.(e),window.setTimeout(n,320))}),[i,n])};return e.jsx(r,{...d})}var Zr,Jr,Xr,_r,et,rt,tt,ot,it,nt,at,st,lt;exports.ThemeStyle=void 0,(Zr=exports.ThemeStyle||(exports.ThemeStyle={})).MODERN="modern",Zr.STANDARD="standard",exports.ThemeStyleRadius=void 0,(Jr=exports.ThemeStyleRadius||(exports.ThemeStyleRadius={})).MODERN="30px",Jr.STANDARD="16px",exports.ThemeMode=void 0,(Xr=exports.ThemeMode||(exports.ThemeMode={})).LIGHT="light",Xr.SEMI_DARK="semi-dark",Xr.DARK="dark",exports.LayoutType=void 0,(_r=exports.LayoutType||(exports.LayoutType={})).FULL_WIDTH="full-width",_r.BOXED="boxed",_r.FRAMED="framed",exports.MenuStyle=void 0,(et=exports.MenuStyle||(exports.MenuStyle={})).DEFAULT="default",et.STANDARD="standard",et.ROUNDED="rounded",et.ROUNDED_REVERSE="rounded-reverse",et.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,(tt=exports.FooterType||(exports.FooterType={})).FIXED="fixed",tt.FLUID="fluid",exports.LayoutDirection=void 0,(ot=exports.LayoutDirection||(exports.LayoutDirection={})).RTL="rtl",ot.LTR="ltr",exports.HeaderType=void 0,(it=exports.HeaderType||(exports.HeaderType={})).DARK="dark",it.LIGHT="light",exports.RouteTransition=void 0,(nt=exports.RouteTransition||(exports.RouteTransition={})).NONE="none",nt.FADE="fade",nt.SLIDE_LEFT="slideLeft",nt.SLIDE_RIGHT="slideRight",nt.SLIDE_UP="slideUp",nt.SLIDE_DOWN="slideDown",exports.Fonts=void 0,(at=exports.Fonts||(exports.Fonts={})).LIGHT="300",at.REGULAR="400",at.MEDIUM="500",at.BOLD="600",exports.AuthType=void 0,(st=exports.AuthType||(exports.AuthType={})).FIREBASE="firebase",st.AWS_COGNITO="aws_cognito",st.AUTH0="auth0",st.JWT_AUTH="jwt_auth",exports.AppAnimates=void 0,(lt=exports.AppAnimates||(exports.AppAnimates={})).SLIDEUPIN="transition.slideUpIn",lt.SLIDEUPOUT="transition.slideUpOut",lt.SLIDEDOWNIN="transition.slideDownIn",lt.SLIDEDOWNOUT="transition.slideDownOut",lt.SLIDELEFTIN="transition.slideLeftIn",lt.SLIDELEFTOUT="transition.slideLeftOut",lt.SLIDERIGHTIN="transition.slideRightIn",lt.SLIDERIGHTOUT="transition.slideRightOut",lt.FADEIN="transition.fadeIn",lt.FADEOUT="transition.fadeOut";var dt,pt;exports.MessageType=void 0,(dt=exports.MessageType||(exports.MessageType={}))[dt.MEDIA=1]="MEDIA",dt[dt.TEXT=2]="TEXT",exports.RoutePermittedRole=void 0,(pt=exports.RoutePermittedRole||(exports.RoutePermittedRole={})).Admin="admin",pt.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:r}){const[o,i]=t.useState([]),n=t.useMemo((()=>({mount:(e,r)=>i((t=>[...t.filter((r=>r.id!==e)),{id:e,node:r}])),unmount:e=>i((r=>r.filter((r=>r.id!==e))))})),[]);return e.jsxs(Qr.Provider,{value:n,children:[r,o.map((r=>e.jsx(t.Fragment,{children:r.node},r.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:g=!1,className:x})=>{const{modal:m}=r.App.useApp(),[u,b]=t.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?m.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(r.Dropdown,{open:u,onOpenChange:b,trigger:["click"],placement:"bottomRight",menu:{items:f,onClick:()=>b(!1)},popupRender:r=>e.jsxs(Ke,{children:[e.jsxs(qe,{children:[e.jsx(We,{$src:n,children:!n&&Qe(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})]})]}),r]}),children:e.jsxs($e,{type:"button",className:x,$shape:c,$size:h,$open:u,"aria-label":`Account menu for ${o.fullName}`,children:[n?e.jsx("img",{src:n,alt:""}):Qe(o.fullName),!g&&e.jsx(Ge,{$size:h,$open:u,"aria-hidden":!0,children:e.jsx(i.DownOutlined,{})})]})})},exports.HISD3Button=he,exports.HISD3FormAutoComplete=Hr,exports.HISD3FormCascader=Pr,exports.HISD3FormCheckbox=Fr,exports.HISD3FormCheckboxGroup=jr,exports.HISD3FormColorPicker=Gr,exports.HISD3FormDatePicker=Ir,exports.HISD3FormField=fr,exports.HISD3FormInput=yr,exports.HISD3FormInputNumber=Ar,exports.HISD3FormMentions=Nr,exports.HISD3FormOTP=Rr,exports.HISD3FormPassword=wr,exports.HISD3FormRadioGroup=kr,exports.HISD3FormRangePicker=Br,exports.HISD3FormRate=$r,exports.HISD3FormSearch=Tr,exports.HISD3FormSegmented=Mr,exports.HISD3FormSelect=Dr,exports.HISD3FormSlider=Or,exports.HISD3FormSwitch=Er,exports.HISD3FormTextArea=Sr,exports.HISD3FormTimePicker=Cr,exports.HISD3FormTimeRangePicker=zr,exports.HISD3FormTransfer=Ur,exports.HISD3FormTreeSelect=Lr,exports.HISD3FormUpload=Wr,exports.HISD3FormUploadDragger=Kr,exports.HISD3HeaderActions=({children:r,divided:o=!1,className:i})=>{const n=t.Children.toArray(r).filter(Boolean);return e.jsx(Ve,{className:i,children:n.map(((r,i)=>e.jsxs(t.Fragment,{children:[o&&i===n.length-1&&i>0&&e.jsx(Ye,{}),r]},i)))})},exports.HISD3Input=ar,exports.HISD3LoginPage=({appName:o,tagline:n,logoSrc:a=B,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:g="soft",side:x="right",identifierLabel:m="User ID or email",identifierPlaceholder:u="Email or user ID",passwordLabel:b="Password",passwordPlaceholder:f="Enter password",submitLabel:v="Sign in",hideRemember:y=!1,rememberLabel:w="Remember me",onForgotPassword:S,forgotLabel:A="Forgot password?",error:D,loading:k=!1,onSubmit:F,footer:j,className:E})=>{const[I,C]=t.useState(""),[z,T]=t.useState(""),[R,H]=t.useState(!1),[N,P]=t.useState(!1);return e.jsxs(ue,{className:E,$side:x,children:[e.jsx(Se,{$variant:g,$side:x,"aria-hidden":!0}),e.jsxs(be,{$variant:g,$side:x,children:[c?e.jsx(ve,{$src:c,"aria-hidden":!0}):e.jsx(ye,{"aria-hidden":!0}),e.jsxs(we,{$side:x,"aria-hidden":!0,children:[e.jsx("img",{src:B,alt:""}),h]}),e.jsxs(fe,{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(Ae,{$variant:g,$side:x,onSubmit:e=>{e.preventDefault(),k||F({identifier:I,password:z,remember:R})},noValidate:!0,children:[e.jsxs(De,{$variant:g,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(ke,{$variant:g,children:s}),l&&e.jsx(Fe,{children:l}),D&&e.jsx(Ie,{role:"alert",children:D}),e.jsxs(je,{$variant:g,children:[e.jsx("span",{className:"hisd3-field-label",children:m}),e.jsx("span",{className:"hisd3-field-control",children:e.jsx("input",{value:I,onChange:e=>C(e.target.value),placeholder:u,autoComplete:"username",disabled:k,autoFocus:!0})})]}),e.jsxs(je,{$variant:g,children:[e.jsx("span",{className:"hisd3-field-label",children:b}),e.jsxs("span",{className:"hisd3-field-control",children:[e.jsx("input",{type:N?"text":"password",value:z,onChange:e=>T(e.target.value),placeholder:f,autoComplete:"current-password",disabled:k}),e.jsx("button",{type:"button",className:"hisd3-field-reveal","aria-label":N?"Hide password":"Show password",onClick:()=>P((e=>!e)),tabIndex:-1,children:N?e.jsx(i.EyeInvisibleOutlined,{}):e.jsx(i.EyeOutlined,{})})]})]}),(!y||S)&&e.jsxs(Ee,{children:[y?e.jsx("span",{}):e.jsxs("label",{className:"hisd3-remember",children:[e.jsx(r.Switch,{size:"small",checked:R,onChange:H,disabled:k}),w]}),S&&e.jsx("button",{type:"button",className:"hisd3-forgot",onClick:S,children:A})]}),e.jsx(he,{variant:"primary",htmlType:"submit",size:"large",loading:k,block:!0,style:{borderRadius:"soft"===g?10:0,height:50},children:v}),j&&e.jsx(Be,{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:g=40,icon:x,className:m})=>{const[u,b]=t.useState(!1),f=n??o.filter((e=>e.unread)).length,v=e.jsxs(Te,{children:[e.jsxs(Re,{children:[e.jsx("h4",{children:s}),l&&f>0&&e.jsx("button",{type:"button",onClick:l,children:"Mark all as read"})]}),a?e.jsx(Oe,{style:{textAlign:"center"},children:e.jsx(r.Spin,{})}):0===o.length?e.jsx(Oe,{children:e.jsx(r.Empty,{image:r.Empty.PRESENTED_IMAGE_SIMPLE,description:c})}):e.jsx(He,{children:o.map((r=>e.jsxs(Ne,{type:"button",$unread:r.unread,onClick:()=>{r.onClick?.(r),b(!1),h?.(!1)},children:[e.jsx(Pe,{$src:r.avatarSrc,children:!r.avatarSrc&&(r.icon??e.jsx(i.BellFilled,{}))}),e.jsxs(Le,{children:[e.jsx("strong",{children:r.title}),r.description&&e.jsx("span",{children:r.description}),r.time&&e.jsx("time",{children:r.time})]}),r.unread&&e.jsx(Me,{})]},r.id)))}),d&&e.jsx(Ue,{type:"button",onClick:()=>{d(),b(!1),h?.(!1)},children:p})]});return e.jsx(r.Dropdown,{open:u,onOpenChange:e=>{b(e),h?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>v,children:e.jsxs(Ce,{type:"button",$size:g,$open:u,className:m,"aria-label":`${s}${f?` (${f} unread)`:""}`,children:[x??e.jsx(i.BellFilled,{}),f>0&&e.jsx(ze,{$size:g,children:f>99?"99+":f})]})})},exports.HISD3PageBody=de,exports.HISD3PageHeader=({title:t,subtitle:o,breadcrumb:i,extra:n,leading:a,hideTopBar:s=!1,className:l})=>e.jsxs(ne,{className:l,children:[!s&&e.jsxs(ae,{children:[a,i&&i.length>0&&e.jsx(r.Breadcrumb,{items:i.map((r=>({title:r.href?e.jsx("a",{href:r.href,children:r.title}):r.title,onClick:r.onClick})))}),!i?.length&&e.jsx("span",{style:{flex:1}}),n&&e.jsx(se,{children:n})]}),e.jsxs(le,{children:[e.jsx("h1",{children:t}),o&&e.jsx("p",{children:o})]})]}),exports.HISD3Provider=({primary:i,mode:n="light",radius:a,borders:s="hairline",lineWidth:l,overrides:d,theme:p,styledTheme:c={},children:h})=>{const g=t.useMemo((()=>p??D({primary:i,mode:n,radius:a,borders:s,lineWidth:l,overrides:d})),[p,i,n,a,s,l,d]),x=t.useMemo((()=>k({primary:i,mode:n,borders:s,lineWidth:l,radius:a})),[i,n,s,l,a]);return e.jsxs(E.Provider,{value:!0,children:[e.jsx("style",{dangerouslySetInnerHTML:{__html:x}}),e.jsx(r.ConfigProvider,{theme:g,children:e.jsx(o.ThemeProvider,{theme:c,children:e.jsx(r.App,{component:!1,children:h})})})]})},exports.HISD3SearchInput=dr,exports.HISD3Select=mr,exports.HISD3SelectLabel=pr,exports.HISD3Sidebar=({children:n,account:a,logoUrl:s,appName:l,menuItems:d,onLogout:p,pathname:c,avatarSrc:h,styledTheme:g,settingsUrl:x,antdTheme:m,renderMenuLink:u=re,headerExtra:b,userMenuItems:f,onCollapse:v,collapsed:y=!1,loading:w=!1,hideSidebar:S=!1,layoutTop:A=!1,hideCollapseTrigger:D=!1,collapseTrigger:k="edge",collapseTriggerOffset:j=Math.round(H/2),siderWidth:E=T,bareContent:C=!1,hideHeaderBar:z=!1,brandHref:W="/",hideAccountCard:K=!1,scrollContent:Q=!0})=>{const V=I(),Y=void 0===m?V?null:F:m,[Z,J]=t.useState(y);t.useEffect((()=>{J(y)}),[y]);const X=t.useMemo((()=>ee(d,u)),[d,u]),ie=t.useMemo((()=>((e,r)=>{let t;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=_(e,n);if(e.path&&r.startsWith(e.path)){const o=r===e.path,n=e.path.length+(o?1:0);(!t||n>t.length)&&(t={key:a,parents:i,length:n})}e.children?.length&&o(e.children,[...i,a])}))};return o(e,[]),{selectedKey:t?.key,openKeys:t?.parents??[]}})(d,c)),[d,c]),[ne,ae]=t.useState((()=>ie.openKeys));t.useEffect((()=>{ae((e=>Array.from(new Set([...e,...ie.openKeys]))))}),[ie.openKeys.join("|")]);const se=e=>{J(e),v?.(e)},[le,de]=t.useState(!1);t.useEffect((()=>de(!1)),[s]);const pe=ie.selectedKey?[ie.selectedKey]:[],ce=D?"none":k,he=Z?"Expand menu":"Collapse menu",ge=e.jsxs(M,{href:W,$collapsed:!A&&Z,children:[s?e.jsx("img",{src:le?B:s,alt:"",onError:()=>de(!0)}):e.jsx("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(A||!Z)&&e.jsx("h1",{children:l})]}),xe=C?n:e.jsx(q,{children:n});if("undefined"==typeof document)return null;const me=e.jsx(r.App,{component:!1,children:e.jsx(r.Spin,{spinning:w,size:"large",children:S?e.jsx(e.Fragment,{children:n}):A?e.jsxs(N,{$appShell:Q,children:[e.jsxs(U,{children:[ge,e.jsx(r.Menu,{mode:"horizontal",items:X,selectedKeys:pe}),b,!K&&e.jsx(te,{account:a,avatarSrc:h,settingsUrl:x,onLogout:p,placement:"bottomRight",extraItems:f})]}),e.jsx(P,{$scroll:Q,children:xe})]}):e.jsxs(N,{hasSider:!0,$appShell:Q,children:[e.jsxs(oe,{className:"hisd3-sider",width:E,collapsedWidth:R,collapsible:!0,collapsed:Z,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&se(!0)},children:[ge,e.jsx(L,{className:Z?"hisd3-collapsed":void 0,children:e.jsx(r.Menu,{mode:"inline",theme:"light",inlineCollapsed:Z,items:X,selectedKeys:pe,openKeys:Z?void 0:ne,onOpenChange:e=>ae(e)})}),!K&&e.jsx(te,{account:a,avatarSrc:h,settingsUrl:x,onLogout:p,collapsed:Z,placement:"topRight",extraItems:f})]}),e.jsxs(P,{$scroll:Q,children:[!z&&e.jsxs(O,{children:["header"===ce&&e.jsx($,{type:"button","aria-label":he,onClick:()=>se(!Z),children:Z?e.jsx(i.MenuUnfoldOutlined,{}):e.jsx(i.MenuFoldOutlined,{})}),e.jsx("span",{style:{flex:1}}),b]}),xe]}),"edge"===ce&&e.jsx(G,{type:"button","aria-label":he,title:he,$left:Z?R:E,$top:j,onClick:()=>se(!Z),children:Z?e.jsx(i.RightOutlined,{}):e.jsx(i.LeftOutlined,{})})]})})});return V&&!g?Y?e.jsx(r.ConfigProvider,{theme:Y,children:me}):me:e.jsx(o.ThemeProvider,{theme:g??{},children:Y?e.jsx(r.ConfigProvider,{theme:Y,children:me}):me})},exports.HISD3Table=function({pagination:t,footer:o,...n}){const a=t||void 0,s=a?.pageSizeOptions??[10,20,50];return e.jsxs(Ze,{children:[e.jsx(r.Table,{...n,pagination:!1}),o&&e.jsx(Je,{children:o}),a&&e.jsxs(Xe,{children:[e.jsx("span",{className:"hisd3-total",children:(a.renderTotal??er)(a.total,[(a.current-1)*a.pageSize+1,Math.min(a.current*a.pageSize,a.total)])}),e.jsx(r.Pagination,{current:a.current,pageSize:a.pageSize,total:a.total,showSizeChanger:!1,onChange:(e,r)=>a.onChange(e,r),itemRender:(r,t,o)=>"prev"===t?e.jsx("span",{className:"ant-pagination-item-link",children:e.jsx(i.LeftOutlined,{})}):"next"===t?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((r=>e.jsxs("button",{type:"button","aria-pressed":r===a.pageSize,onClick:()=>a.onChange(1,r),children:[r," / page"]},r)))})]})]})},exports.HISD3Tabs=({items:r,...t})=>e.jsx(rr,{...t,items:r.map((({count:r,label:t,...o})=>({...o,label:e.jsxs(e.Fragment,{children:[t,void 0!==r&&e.jsx("span",{className:"hisd3-tab-count",children:r})]})})))}),exports.HISD3Tag=({variant:r="neutral",tone:t=("neutral"===r?"default":"primary"),children:o,...i})=>e.jsx(ir,{$variant:r,$tone:t,...i,children:o}),exports.HISD3_BORDER_PRESETS=c,exports.HISD3_BORDER_PRESETS_DARK=h,exports.HISD3_COLORS=j,exports.HISD3_FONT_FAMILY=g,exports.HISD3_FONT_WEIGHT_BODY=400,exports.HISD3_FONT_WEIGHT_HEADING=800,exports.HISD3_LAYOUT=a,exports.HISD3_LOGO_SRC=B,exports.HISD3_NEUTRALS=l,exports.HISD3_NEUTRALS_DARK=d,exports.HISD3_PRESETS=s,exports.HISD3_STATUS=p,exports.HeaderIconButton=Ce,exports.UserMenu=te,exports.borderVarsCss=(e="hairline",r)=>k({borders:e,lineWidth:r}),exports.contrastRatio=w,exports.createHisd3Theme=D,exports.getInitials=Qe,exports.hisd3AntdTheme=F,exports.hisd3VarsCss=k,exports.mix=v,exports.normalizeUploadFileList=qr,exports.resolvePrimary=x,exports.resolvePrimaryPalette=S,exports.shade=b,exports.tint=f,exports.useDialog=function(r){const o=t.useContext(Qr);if(!o)throw new Error("useDialog needs DialogProvider above it.");return t.useCallback(((t,i)=>{const n=Vr+=1;o.mount(n,e.jsx(Yr,{Component:r,props:t,onClose:i,unmount:()=>o.unmount(n)},n))}),[r,o])},exports.useInsideHISD3Provider=I;
|
|
1414
1430
|
//# sourceMappingURL=index.cjs.js.map
|