hisd3-ui-kit 5.4.0 → 5.5.1
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 +19 -1
- package/dist/index.cjs.js +306 -73
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -4
- package/dist/index.js +297 -64
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as o,ConfigProvider as i,App as a,Layout as n,Dropdown as l,Spin as d,Menu as s,Breadcrumb as p,Result as c,Button as h,Switch as g,Empty as b,Table as m,Pagination as u,Tabs as f,Input as x,Select as v,Form as y,InputNumber as w,Radio as k,Checkbox as A,DatePicker as E,TimePicker as F,AutoComplete as B,Mentions as D,Cascader as S,TreeSelect as C,Segmented as z,Transfer as I,Slider as N,Rate as T,Skeleton as L,ColorPicker as P,Upload as R}from"antd";import H,{createContext as U,useContext as $,useMemo as M,createElement as O,useState as G,useEffect as j,forwardRef as W,useCallback as q,Fragment as Q,useRef as K}from"react";import V,{ThemeProvider as Z,css as Y}from"styled-components";import{SettingOutlined as J,LogoutOutlined as X,DownOutlined as _,ExclamationCircleOutlined as ee,MenuUnfoldOutlined as te,MenuFoldOutlined as re,RightOutlined as oe,LeftOutlined as ie,CloseCircleOutlined as ae,LockOutlined as ne,FileSearchOutlined as le,EyeInvisibleOutlined as de,EyeOutlined as se,BellFilled as pe,SearchOutlined as ce}from"@ant-design/icons";function he(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))}}he('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}');he('@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:#fff;--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 ge={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28,panelInset:24},be={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},me={bgLayout:"#F6F5F2",bgContainer:"#F6F5F2",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",bgField:"#FFFFFF",bgRowHover:"#EBEAE8",bgPanelRowHover:"#F6F5F3",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"},ue={bgLayout:"#1A1917",bgContainer:"#1A1917",bgElevated:"#262522",bgFilled:"#2E2D2A",bgFilledHover:"#393734",bgField:"#201F1D",bgRowHover:"#22211F",bgPanelRowHover:"#2E2D2A",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"},fe={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"}},xe={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},ve={hairline:{width:1,border:"#3A3936",borderSecondary:"#2C2B29"},bold:{width:2,border:"#C2C0BB",borderSecondary:"#3A3936"}},ye="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",we=800,ke=400,Ae=(e="red")=>be[e]??e,Ee=e=>{const t=e.replace("#",""),r=3===t.length?t.split("").map((e=>e+e)).join(""):t,o=parseInt(r,16);return[o>>16&255,o>>8&255,255&o]},Fe=e=>`#${e.map((e=>Math.round(e).toString(16).padStart(2,"0"))).join("")}`,Be=(e,t)=>Fe(Ee(e).map((e=>e*(1-t)))),De=(e,t)=>Fe(Ee(e).map((e=>e+(255-e)*t))),Se=(e,t,r)=>{const o=Ee(e),i=Ee(t);return Fe(o.map(((e,t)=>e+(i[t]-e)*r)))},Ce=e=>{const[t,r,o]=Ee(e).map((e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4}));return.2126*t+.7152*r+.0722*o},ze=(e,t)=>{const[r,o]=[Ce(e),Ce(t)].sort(((e,t)=>t-e));return(r+.05)/(o+.05)},Ie=(e="red",t="light")=>{const r=Ae(e);if("dark"===t){const e=ue.bgLayout;let t=r;for(let o=0;o<=1&&(t=Se(r,"#FFFFFF",o),!(ze(t,e)>=4.5&&ze(t,Se(e,t,.14))>=4.5));o+=.01);return{source:r,primary:t,onPrimary:e,primaryBg:Se(e,t,.14),primaryBgHover:Se(e,t,.22),primaryBorder:Se(e,t,.45)}}const o=me.bgLayout;let i=r;for(let e=0;e<=1&&(i=Be(r,e),!(ze(i,o)>=4.5&&ze(i,"#FFFFFF")>=4.5&&ze(i,De(i,.92))>=4.5));e+=.01);return{source:r,primary:i,onPrimary:"#FFFFFF",primaryBg:De(i,.92),primaryBgHover:De(i,.86),primaryBorder:De(i,.6)}},Ne=(e,t)=>{const r="dark"===e,o=r?ve:xe,i=o[t]??o.hairline;return{n:{...r?ue:me,border:i.border,borderSecondary:i.borderSecondary},b:i}},Te=({primary:e,mode:t="light",radius:r=0,borders:i="hairline",lineWidth:a,overrides:n}={})=>{const l=Ie(e,t),d=l.primary,{n:s,b:p}=Ne(t,i),c=fe[t],h=a??p.width,g={colorBorder:s.controlBorder,hoverBorderColor:s.controlBorderHover,activeBorderColor:d,activeShadow:`0 0 0 1px ${d}`,colorBgContainer:s.bgField,hoverBg:s.bgElevated,activeBg:s.bgElevated},b={algorithm:["dark"===t?o.darkAlgorithm:o.defaultAlgorithm,(e,t)=>({...t,colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryText:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:c.success,colorSuccessText:c.success,colorSuccessBg:c.successBg,colorError:c.error,colorErrorText:c.error,colorErrorBg:c.errorBg,colorWarning:c.warning,colorWarningText:c.warning,colorWarningBg:c.warningBg})],cssVar:{key:"hisd3"},token:{colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:c.success,colorSuccessBg:c.successBg,colorSuccessBorder:c.success,colorError:c.error,colorErrorBg:c.errorBg,colorErrorBorder:c.error,colorWarning:c.warning,colorWarningBg:c.warningBg,colorWarningBorder:c.warning,fontFamily:ye,fontSize:14,fontWeightStrong:700,borderRadius:r,borderRadiusLG:r,borderRadiusSM:r,borderRadiusXS:r,lineWidth:h,colorBgLayout:s.bgLayout,colorBgContainer:s.bgContainer,colorBgElevated:s.bgElevated,colorBgMask:s.mask,colorBgContainerDisabled:s.bgFilled,colorText:s.text,colorTextSecondary:s.textSecondary,colorTextTertiary:s.textTertiary,colorTextPlaceholder:s.textTertiary,colorTextDisabled:s.textTertiary,colorTextHeading:s.text,colorBorder:s.border,colorBorderSecondary:s.borderSecondary,colorSplit:s.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:s.bgLayout,headerBg:s.bgLayout,bodyBg:s.bgLayout,headerPadding:`0 ${ge.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",popupBg:s.bgElevated,itemColor:s.text,itemHoverColor:s.text,itemHoverBg:s.hover,itemSelectedBg:l.primaryBg,itemSelectedColor:d,itemActiveBg:l.primaryBgHover,subMenuItemSelectedColor:d,horizontalItemSelectedColor:d,horizontalItemHoverColor:d,groupTitleColor:s.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:ge.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:s.border,defaultColor:s.text,defaultBg:s.bgLayout,defaultHoverBg:s.bgElevated,defaultHoverBorderColor:s.borderStrong,defaultHoverColor:s.text,defaultActiveBorderColor:s.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{...g,paddingInline:16},InputNumber:g,Select:{...g,optionSelectedBg:l.primaryBg,selectorBg:s.bgField},DatePicker:g,Cascader:g,TreeSelect:g,Mentions:g,Checkbox:{colorBorder:s.controlBorder,colorBgContainer:s.bgField,colorWhite:l.onPrimary},Radio:{colorBorder:s.controlBorder,colorBgContainer:s.bgField,dotColorDisabled:s.textTertiary},Segmented:{trackBg:s.bgFilledHover,itemColor:s.textSecondary,itemHoverColor:s.text,itemHoverBg:s.hover,itemSelectedBg:d,itemSelectedColor:l.onPrimary},Table:{headerBg:s.bgContainer,headerColor:s.textSecondary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:s.borderSecondary,rowHoverBg:s.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:s.bgContainer},Tabs:{inkBarColor:d,itemColor:s.text,itemSelectedColor:d,itemHoverColor:d,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:s.bgLayout,itemActiveBg:d,itemActiveColor:l.onPrimary,itemActiveColorHover:l.onPrimary,itemSize:32,itemSizeSM:26,itemInputBg:s.bgField},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:s.textTertiary,lastItemColor:s.text,linkColor:s.textTertiary,linkHoverColor:d,separatorColor:s.textTertiary},Card:{headerFontSize:18,headerFontSizeSM:16,colorBgContainer:s.bgElevated},Drawer:{colorBgElevated:s.bgElevated},Alert:{withDescriptionPadding:"14px 16px"}}};return n?{...b,...n,token:{...b.token,...n.token},components:{...b.components,...n.components}}:b},Le=({primary:e,mode:t="light",borders:r="hairline",lineWidth:o,radius:i=0,selector:a=":root"}={})=>{const n=Ie(e,t),{n:l,b:d}=Ne(t,r),s=fe[t],p=":root"===a;return[`${a}{`,`color-scheme:${t};`,`--hisd3-mode:${t};`,`--hisd3-rule-width:${o??d.width}px;`,`--hisd3-control-bg:${l.bgFilled};`,`--hisd3-control-bg-hover:${l.bgFilledHover};`,`--hisd3-input-bg:${l.bgField};`,`--hisd3-input-bg-hover:${l.bgElevated};`,`--hisd3-input-border:${l.controlBorder};`,`--hisd3-input-border-hover:${l.controlBorderHover};`,`--hisd3-hover:${l.hover};`,`--hisd3-on-primary:${n.onPrimary};`,`--hisd3-focus-ring:${n.primary};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${i}px;`,`--ant-color-primary:${n.primary};`,`--ant-color-primary-bg:${n.primaryBg};`,`--ant-color-primary-bg-hover:${n.primaryBgHover};`,`--ant-color-primary-border:${n.primaryBorder};`,`--ant-color-success:${s.success};`,`--ant-color-success-bg:${s.successBg};`,`--ant-color-error:${s.error};`,`--ant-color-error-bg:${s.errorBg};`,`--ant-color-warning:${s.warning};`,`--ant-color-warning-bg:${s.warningBg};`,`--ant-color-text:${l.text};`,`--ant-color-text-secondary:${l.textSecondary};`,`--ant-color-text-tertiary:${l.textTertiary};`,`--hisd3-table-bg:${l.bgContainer};`,`--hisd3-table-hover-bg:${l.bgRowHover};`,`--hisd3-panel-bg:${l.bgElevated};`,`--hisd3-panel-hover-bg:${l.bgPanelRowHover};`,`--hisd3-border:${d.border};`,`--hisd3-border-secondary:${d.borderSecondary};`,`--ant-color-border:${d.border};`,`--ant-color-border-secondary:${d.borderSecondary};`,`--ant-color-bg-layout:${l.bgLayout};`,`--ant-color-bg-elevated:${l.bgElevated};`,"}",p?`body{background:${l.bgLayout};color:${l.text};}`:"",p?`.ant-card,.ant-drawer-content,.ant-modal-content{--hisd3-table-bg:${l.bgElevated};--hisd3-table-hover-bg:${l.bgPanelRowHover};}`:""].join("")},Pe=(e="hairline",t)=>Le({borders:e,lineWidth:t}),Re=Te(),He={primary:be.red,primaryLight:De(be.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},Ue=U(!1),$e=()=>$(Ue),Me=({primary:r,mode:o="light",radius:n,borders:l="hairline",lineWidth:d,overrides:s,theme:p,styledTheme:c={},children:h})=>{const g=M((()=>p??Te({primary:r,mode:o,radius:n,borders:l,lineWidth:d,overrides:s})),[p,r,o,n,l,d,s]),b=M((()=>Le({primary:r,mode:o,borders:l,lineWidth:d,radius:n})),[r,o,l,d,n]);return e(Ue.Provider,{value:!0,children:[t("style",{dangerouslySetInnerHTML:{__html:b}}),t(i,{theme:g,children:t(Z,{theme:c,children:t(a,{component:!1,children:h})})})]})},Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4MJWAAAgnklEQVR42u1db2xb13U/9z7ZTmyKT6TFTFY7xImBQt2AuEDTQZBhuar2x0kwI1YsOShqkZJabBmg0KmXJd8of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jEHkZ0OQbj5rVcg+MUwe4jsPDhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",{Header:Ge,Content:je}=n,We=ge.siderWidth,qe=ge.siderCollapsedWidth,Qe=ge.topBarHeight,Ke=V(n)`
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as o,ConfigProvider as i,App as a,Layout as n,Dropdown as l,Spin as d,Menu as s,Breadcrumb as p,Result as c,Button as h,Switch as g,Empty as b,Table as m,Pagination as u,Tabs as f,Input as x,Select as v,Form as y,InputNumber as w,Radio as k,Checkbox as A,DatePicker as E,TimePicker as B,AutoComplete as D,Mentions as F,Cascader as S,TreeSelect as z,Segmented as C,Transfer as I,Slider as N,Rate as T,Skeleton as L,ColorPicker as P,Upload as $}from"antd";import R,{createContext as H,useContext as U,useMemo as M,createElement as O,useState as G,useEffect as j,forwardRef as W,useCallback as q,Fragment as Q,useRef as K}from"react";import V,{ThemeProvider as Z,css as Y}from"styled-components";import{SettingOutlined as J,LogoutOutlined as X,DownOutlined as _,ExclamationCircleOutlined as ee,MenuUnfoldOutlined as te,MenuFoldOutlined as re,RightOutlined as oe,LeftOutlined as ie,CloseCircleOutlined as ae,LockOutlined as ne,FileSearchOutlined as le,EyeInvisibleOutlined as de,EyeOutlined as se,BellFilled as pe,SearchOutlined as ce}from"@ant-design/icons";function he(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))}}he('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}');he('@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:#fff;--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 ge={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28,panelInset:24},be={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},me={bgLayout:"#F6F5F2",bgContainer:"#F6F5F2",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",bgField:"#FFFFFF",bgRowHover:"#EBEAE8",bgPanelRowHover:"#F6F5F3",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"},ue={bgLayout:"#1A1917",bgContainer:"#1A1917",bgElevated:"#262522",bgFilled:"#2E2D2A",bgFilledHover:"#393734",bgField:"#201F1D",bgRowHover:"#22211F",bgPanelRowHover:"#2E2D2A",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"},fe={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"}},xe={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},ve={hairline:{width:1,border:"#3A3936",borderSecondary:"#2C2B29"},bold:{width:2,border:"#C2C0BB",borderSecondary:"#3A3936"}},ye="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",we=800,ke=400,Ae=(e="red")=>be[e]??e,Ee=e=>{const t=e.replace("#",""),r=3===t.length?t.split("").map((e=>e+e)).join(""):t,o=parseInt(r,16);return[o>>16&255,o>>8&255,255&o]},Be=e=>`#${e.map((e=>Math.round(e).toString(16).padStart(2,"0"))).join("")}`,De=(e,t)=>Be(Ee(e).map((e=>e*(1-t)))),Fe=(e,t)=>Be(Ee(e).map((e=>e+(255-e)*t))),Se=(e,t,r)=>{const o=Ee(e),i=Ee(t);return Be(o.map(((e,t)=>e+(i[t]-e)*r)))},ze=e=>{const[t,r,o]=Ee(e).map((e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4}));return.2126*t+.7152*r+.0722*o},Ce=(e,t)=>{const[r,o]=[ze(e),ze(t)].sort(((e,t)=>t-e));return(r+.05)/(o+.05)},Ie=(e="red",t="light")=>{const r=Ae(e);if("dark"===t){const e=ue.bgLayout;let t=r;for(let o=0;o<=1&&(t=Se(r,"#FFFFFF",o),!(Ce(t,e)>=4.5&&Ce(t,Se(e,t,.14))>=4.5));o+=.01);return{source:r,primary:t,onPrimary:e,primaryBg:Se(e,t,.14),primaryBgHover:Se(e,t,.22),primaryBorder:Se(e,t,.45)}}const o=me.bgLayout;let i=r;for(let e=0;e<=1&&(i=De(r,e),!(Ce(i,o)>=4.5&&Ce(i,"#FFFFFF")>=4.5&&Ce(i,Fe(i,.92))>=4.5));e+=.01);return{source:r,primary:i,onPrimary:"#FFFFFF",primaryBg:Fe(i,.92),primaryBgHover:Fe(i,.86),primaryBorder:Fe(i,.6)}},Ne=(e,t)=>{const r="dark"===e,o=r?ve:xe,i=o[t]??o.hairline;return{n:{...r?ue:me,border:i.border,borderSecondary:i.borderSecondary},b:i}},Te=({primary:e,mode:t="light",radius:r=0,borders:i="hairline",lineWidth:a,overrides:n}={})=>{const l=Ie(e,t),d=l.primary,{n:s,b:p}=Ne(t,i),c=fe[t],h=a??p.width,g={colorBorder:s.controlBorder,hoverBorderColor:s.controlBorderHover,activeBorderColor:d,activeShadow:`0 0 0 1px ${d}`,colorBgContainer:s.bgField,hoverBg:s.bgElevated,activeBg:s.bgElevated},b={algorithm:["dark"===t?o.darkAlgorithm:o.defaultAlgorithm,(e,t)=>({...t,colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryText:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:c.success,colorSuccessText:c.success,colorSuccessBg:c.successBg,colorError:c.error,colorErrorText:c.error,colorErrorBg:c.errorBg,colorWarning:c.warning,colorWarningText:c.warning,colorWarningBg:c.warningBg})],cssVar:{key:"hisd3"},token:{colorPrimary:d,colorInfo:d,colorLink:d,colorPrimaryBg:l.primaryBg,colorPrimaryBgHover:l.primaryBgHover,colorPrimaryBorder:l.primaryBorder,colorSuccess:c.success,colorSuccessBg:c.successBg,colorSuccessBorder:c.success,colorError:c.error,colorErrorBg:c.errorBg,colorErrorBorder:c.error,colorWarning:c.warning,colorWarningBg:c.warningBg,colorWarningBorder:c.warning,fontFamily:ye,fontSize:14,fontWeightStrong:700,borderRadius:r,borderRadiusLG:r,borderRadiusSM:r,borderRadiusXS:r,lineWidth:h,colorBgLayout:s.bgLayout,colorBgContainer:s.bgContainer,colorBgElevated:s.bgElevated,colorBgMask:s.mask,colorBgContainerDisabled:s.bgFilled,colorText:s.text,colorTextSecondary:s.textSecondary,colorTextTertiary:s.textTertiary,colorTextPlaceholder:s.textTertiary,colorTextDisabled:s.textTertiary,colorTextHeading:s.text,colorBorder:s.border,colorBorderSecondary:s.borderSecondary,colorSplit:s.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:s.bgLayout,headerBg:s.bgLayout,bodyBg:s.bgLayout,headerPadding:`0 ${ge.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",popupBg:s.bgElevated,itemColor:s.text,itemHoverColor:s.text,itemHoverBg:s.hover,itemSelectedBg:l.primaryBg,itemSelectedColor:d,itemActiveBg:l.primaryBgHover,subMenuItemSelectedColor:d,horizontalItemSelectedColor:d,horizontalItemHoverColor:d,groupTitleColor:s.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:ge.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:s.border,defaultColor:s.text,defaultBg:s.bgLayout,defaultHoverBg:s.bgElevated,defaultHoverBorderColor:s.borderStrong,defaultHoverColor:s.text,defaultActiveBorderColor:s.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{...g,paddingInline:16},InputNumber:g,Select:{...g,optionSelectedBg:l.primaryBg,selectorBg:s.bgField},DatePicker:g,Cascader:g,TreeSelect:g,Mentions:g,Checkbox:{colorBorder:s.controlBorder,colorBgContainer:s.bgField,colorWhite:l.onPrimary},Radio:{colorBorder:s.controlBorder,colorBgContainer:s.bgField,dotColorDisabled:s.textTertiary},Segmented:{trackBg:s.bgFilledHover,itemColor:s.textSecondary,itemHoverColor:s.text,itemHoverBg:s.hover,itemSelectedBg:d,itemSelectedColor:l.onPrimary},Table:{headerBg:s.bgContainer,headerColor:s.textSecondary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:s.borderSecondary,rowHoverBg:s.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:s.bgContainer},Tabs:{inkBarColor:d,itemColor:s.text,itemSelectedColor:d,itemHoverColor:d,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:s.bgLayout,itemActiveBg:d,itemActiveColor:l.onPrimary,itemActiveColorHover:l.onPrimary,itemSize:32,itemSizeSM:26,itemInputBg:s.bgField},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:s.textTertiary,lastItemColor:s.text,linkColor:s.textTertiary,linkHoverColor:d,separatorColor:s.textTertiary},Card:{headerFontSize:18,headerFontSizeSM:16,colorBgContainer:s.bgElevated},Drawer:{colorBgElevated:s.bgElevated},Alert:{withDescriptionPadding:"14px 16px"}}};return n?{...b,...n,token:{...b.token,...n.token},components:{...b.components,...n.components}}:b},Le=({primary:e,mode:t="light",borders:r="hairline",lineWidth:o,radius:i=0,selector:a=":root"}={})=>{const n=Ie(e,t),{n:l,b:d}=Ne(t,r),s=fe[t],p=":root"===a;return[`${a}{`,`color-scheme:${t};`,`--hisd3-mode:${t};`,`--hisd3-rule-width:${o??d.width}px;`,`--hisd3-control-bg:${l.bgFilled};`,`--hisd3-control-bg-hover:${l.bgFilledHover};`,`--hisd3-input-bg:${l.bgField};`,`--hisd3-input-bg-hover:${l.bgElevated};`,`--hisd3-input-border:${l.controlBorder};`,`--hisd3-input-border-hover:${l.controlBorderHover};`,`--hisd3-hover:${l.hover};`,`--hisd3-on-primary:${n.onPrimary};`,`--hisd3-focus-ring:${n.primary};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${i}px;`,`--ant-color-primary:${n.primary};`,`--ant-color-primary-bg:${n.primaryBg};`,`--ant-color-primary-bg-hover:${n.primaryBgHover};`,`--ant-color-primary-border:${n.primaryBorder};`,`--ant-color-success:${s.success};`,`--ant-color-success-bg:${s.successBg};`,`--ant-color-error:${s.error};`,`--ant-color-error-bg:${s.errorBg};`,`--ant-color-warning:${s.warning};`,`--ant-color-warning-bg:${s.warningBg};`,`--ant-color-text:${l.text};`,`--ant-color-text-secondary:${l.textSecondary};`,`--ant-color-text-tertiary:${l.textTertiary};`,`--hisd3-table-bg:${l.bgContainer};`,`--hisd3-table-hover-bg:${l.bgRowHover};`,`--hisd3-panel-bg:${l.bgElevated};`,`--hisd3-panel-hover-bg:${l.bgPanelRowHover};`,`--hisd3-border:${d.border};`,`--hisd3-border-secondary:${d.borderSecondary};`,`--ant-color-border:${d.border};`,`--ant-color-border-secondary:${d.borderSecondary};`,`--ant-color-bg-layout:${l.bgLayout};`,`--ant-color-bg-elevated:${l.bgElevated};`,"}",p?`body{background:${l.bgLayout};color:${l.text};}`:"",p?`.ant-card,.ant-drawer-content,.ant-modal-content{--hisd3-table-bg:${l.bgElevated};--hisd3-table-hover-bg:${l.bgPanelRowHover};}`:""].join("")},Pe=(e="hairline",t)=>Le({borders:e,lineWidth:t}),$e=Te(),Re={primary:be.red,primaryLight:Fe(be.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},He=H(!1),Ue=()=>U(He),Me=({primary:r,mode:o="light",radius:n,borders:l="hairline",lineWidth:d,overrides:s,theme:p,styledTheme:c={},children:h})=>{const g=M((()=>p??Te({primary:r,mode:o,radius:n,borders:l,lineWidth:d,overrides:s})),[p,r,o,n,l,d,s]),b=M((()=>Le({primary:r,mode:o,borders:l,lineWidth:d,radius:n})),[r,o,l,d,n]);return e(He.Provider,{value:!0,children:[t("style",{dangerouslySetInnerHTML:{__html:b}}),t(i,{theme:g,children:t(Z,{theme:c,children:t(a,{component:!1,children:h})})})]})},Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4M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qbzhYBwJ2dnTi/jYVTUYspndnn4AKghkDAaAyzhKKuPdPZ2dC150lqRUnGwkrDNrNKX+pZXN27V+q6cSMn+lm4ANjEHkZ0OQbj5rVcg+MUwe4jsPDhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",{Header:Ge,Content:je}=n,We=ge.siderWidth,qe=ge.siderCollapsedWidth,Qe=ge.topBarHeight,Ke=V(n)`
|
|
2
2
|
position: relative; /* anchor for the edge collapse trigger */
|
|
3
3
|
background: var(--ant-color-bg-layout);
|
|
4
4
|
|
|
@@ -330,7 +330,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
330
330
|
overflow: hidden;
|
|
331
331
|
text-overflow: ellipsis;
|
|
332
332
|
white-space: nowrap;
|
|
333
|
-
`,pt=(e,t)=>e.key??e.path??`menu-${t}`,ct=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const o=pt(e,r);return Array.isArray(e.children)&&e.children.length>0?{key:o,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:ct(e.children,t)}:{key:o,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),ht=(e,t)=>O("a",{href:e.path||"/"},t),gt=({account:r,avatarSrc:o,settingsUrl:i,onLogout:n,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=a.useApp(),h=[...p??[],{key:"settings",icon:t(J,{}),label:"Settings",onClick:()=>{window.location.href=i??"/settings"}},{key:"logout",icon:t(X,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(ee,{}),onOk:n})}}],g=(r.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return t(rt,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:t(l,{trigger:["click"],placement:s,menu:{items:h},children:e(ot,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[t(it,{$src:o,"aria-hidden":!0,children:!o&&g}),!d&&e(at,{children:[e(nt,{children:[t(lt,{title:r.fullName,children:r.fullName}),t(dt,{children:t(_,{})})]}),r.positionType&&t(st,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:bt}=n,mt=({children:o,account:n,logoUrl:l,appName:p,menuItems:c,onLogout:h,pathname:g,avatarSrc:b,styledTheme:m,settingsUrl:u,antdTheme:f,renderMenuLink:x=ht,headerExtra:v,userMenuItems:y,onCollapse:w,collapsed:k=!1,loading:A=!1,hideSidebar:E=!1,layoutTop:
|
|
333
|
+
`,pt=(e,t)=>e.key??e.path??`menu-${t}`,ct=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const o=pt(e,r);return Array.isArray(e.children)&&e.children.length>0?{key:o,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:ct(e.children,t)}:{key:o,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),ht=(e,t)=>O("a",{href:e.path||"/"},t),gt=({account:r,avatarSrc:o,settingsUrl:i,onLogout:n,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=a.useApp(),h=[...p??[],{key:"settings",icon:t(J,{}),label:"Settings",onClick:()=>{window.location.href=i??"/settings"}},{key:"logout",icon:t(X,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(ee,{}),onOk:n})}}],g=(r.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return t(rt,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:t(l,{trigger:["click"],placement:s,menu:{items:h},children:e(ot,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[t(it,{$src:o,"aria-hidden":!0,children:!o&&g}),!d&&e(at,{children:[e(nt,{children:[t(lt,{title:r.fullName,children:r.fullName}),t(dt,{children:t(_,{})})]}),r.positionType&&t(st,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:bt}=n,mt=({children:o,account:n,logoUrl:l,appName:p,menuItems:c,onLogout:h,pathname:g,avatarSrc:b,styledTheme:m,settingsUrl:u,antdTheme:f,renderMenuLink:x=ht,headerExtra:v,userMenuItems:y,onCollapse:w,collapsed:k=!1,loading:A=!1,hideSidebar:E=!1,layoutTop:B=!1,hideCollapseTrigger:D=!1,collapseTrigger:F="edge",collapseTriggerOffset:S=Math.round(Qe/2),siderWidth:z=We,bareContent:C=!1,hideHeaderBar:I=!1,brandHref:N="/",hideAccountCard:T=!1,scrollContent:L=!0})=>{const P=Ue(),$=void 0===f?P?null:$e:f,[R,H]=G(k);j((()=>{H(k)}),[k]);const U=M((()=>ct(c,x)),[c,x]),O=M((()=>((e,t)=>{let r;const o=(e,i)=>{(e??[]).forEach(((e,a)=>{const n=pt(e,a);if(e.path&&t.startsWith(e.path)){const o=t===e.path,a=e.path.length+(o?1:0);(!r||a>r.length)&&(r={key:n,parents:i,length:a})}e.children?.length&&o(e.children,[...i,n])}))};return o(e,[]),{selectedKey:r?.key,openKeys:r?.parents??[]}})(c,g)),[c,g]),[W,q]=G((()=>O.openKeys));j((()=>{q((e=>Array.from(new Set([...e,...O.openKeys]))))}),[O.openKeys.join("|")]);const Q=e=>{H(e),w?.(e)},[K,V]=G(!1);j((()=>V(!1)),[l]);const Y=O.selectedKey?[O.selectedKey]:[],J=D?"none":F,X=R?"Expand menu":"Collapse menu",_=e(Ye,{href:N,$collapsed:!B&&R,children:[l?t("img",{src:K?Oe:l,alt:"",onError:()=>V(!0)}):t("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(B||!R)&&t("h1",{children:p})]}),ee=C?o:t(tt,{children:o});if("undefined"==typeof document)return null;const ae=t(a,{component:!1,children:t(d,{spinning:A,size:"large",children:E?t(r,{children:o}):e(Ke,B?{$appShell:L,children:[e(Je,{children:[_,t(s,{mode:"horizontal",items:U,selectedKeys:Y}),v,!T&&t(gt,{account:n,avatarSrc:b,settingsUrl:u,onLogout:h,placement:"bottomRight",extraItems:y})]}),t(Ve,{$scroll:L,children:ee})]}:{hasSider:!0,$appShell:L,children:[e(bt,{className:"hisd3-sider",width:z,collapsedWidth:qe,collapsible:!0,collapsed:R,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&Q(!0)},children:[_,t(Ze,{className:R?"hisd3-collapsed":void 0,children:t(s,{mode:"inline",theme:"light",inlineCollapsed:R,items:U,selectedKeys:Y,openKeys:R?void 0:W,onOpenChange:e=>q(e)})}),!T&&t(gt,{account:n,avatarSrc:b,settingsUrl:u,onLogout:h,collapsed:R,placement:"topRight",extraItems:y})]}),e(Ve,{$scroll:L,children:[!I&&e(Xe,{children:["header"===J&&t(_e,{type:"button","aria-label":X,onClick:()=>Q(!R),children:t(R?te:re,{})}),t("span",{style:{flex:1}}),v]}),ee]}),"edge"===J&&t(et,{type:"button","aria-label":X,title:X,$left:R?qe:z,$top:S,onClick:()=>Q(!R),children:t(R?oe:ie,{})})]})})});return P&&!m?$?t(i,{theme:$,children:ae}):ae:t(Z,{theme:m??{},children:$?t(i,{theme:$,children:ae}):ae})},ut=ge.pageGutter,ft=V.header`
|
|
334
334
|
display: contents;
|
|
335
335
|
`,xt=V.div`
|
|
336
336
|
user-select: none;
|
|
@@ -389,7 +389,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
389
389
|
`,wt=V.div`
|
|
390
390
|
flex: 1 0 auto;
|
|
391
391
|
padding: 24px ${ut}px 40px;
|
|
392
|
-
`,kt=({title:r,subtitle:o,breadcrumb:i,extra:a,leading:n,hideTopBar:l=!1,className:d})=>e(ft,{className:d,children:[!l&&e(xt,{children:[n,i&&i.length>0&&t(p,{items:i.map((e=>({title:e.href?t("a",{href:e.href,children:e.title}):e.title,onClick:e.onClick})))}),!i?.length&&t("span",{style:{flex:1}}),a&&t(vt,{children:a})]}),e(yt,{children:[t("h1",{children:r}),o&&t("p",{children:o})]})]}),At={404:{Icon:le,color:"var(--ant-color-text-tertiary)"},403:{Icon:ne,color:"var(--ant-color-text-tertiary)"},error:{Icon:ae,color:"var(--ant-color-error)"}};function Et({status:e,...r}){const{Icon:o,color:i}=At[e];return t(c,{...r,status:"error"===e?"error":void 0,icon:t(o,{"aria-hidden":!0,style:{fontSize:48,color:i}})})}const
|
|
392
|
+
`,kt=({title:r,subtitle:o,breadcrumb:i,extra:a,leading:n,hideTopBar:l=!1,className:d})=>e(ft,{className:d,children:[!l&&e(xt,{children:[n,i&&i.length>0&&t(p,{items:i.map((e=>({title:e.href?t("a",{href:e.href,children:e.title}):e.title,onClick:e.onClick})))}),!i?.length&&t("span",{style:{flex:1}}),a&&t(vt,{children:a})]}),e(yt,{children:[t("h1",{children:r}),o&&t("p",{children:o})]})]}),At={404:{Icon:le,color:"var(--ant-color-text-tertiary)"},403:{Icon:ne,color:"var(--ant-color-text-tertiary)"},error:{Icon:ae,color:"var(--ant-color-error)"}};function Et({status:e,...r}){const{Icon:o,color:i}=At[e];return t(c,{...r,status:"error"===e?"error":void 0,icon:t(o,{"aria-hidden":!0,style:{fontSize:48,color:i}})})}const Bt=V(h)`
|
|
393
393
|
&.ant-btn {
|
|
394
394
|
display: inline-flex;
|
|
395
395
|
align-items: center;
|
|
@@ -421,14 +421,15 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
421
421
|
.anticon {
|
|
422
422
|
font-size: 1.05em;
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,Dt={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},Ft=({variant:e="secondary",...r})=>t(Bt,{...Dt[e],...r}),St=e=>"soft"===e,zt=e=>"sheet"===e,Ct=1024,It=560,Nt=V.div`
|
|
425
425
|
position: relative;
|
|
426
426
|
min-height: 100vh;
|
|
427
427
|
min-height: 100dvh; /* keeps mobile browser chrome from clipping the card */
|
|
428
428
|
width: 100%;
|
|
429
429
|
display: flex;
|
|
430
430
|
align-items: center;
|
|
431
|
-
justify-content: ${({$side:e})=>"right"===e?"flex-end":"flex-start"};
|
|
431
|
+
justify-content: ${({$side:e,$variant:t})=>zt(t)?"center":"right"===e?"flex-end":"flex-start"};
|
|
432
|
+
${({$variant:e})=>zt(e)?"padding: 24px;":""}
|
|
432
433
|
overflow-x: hidden;
|
|
433
434
|
/* The page and the card follow the theme, so dark mode is dark here too. */
|
|
434
435
|
background: var(--ant-color-bg-layout, #F3F2F0);
|
|
@@ -447,7 +448,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
447
448
|
* Phone: a branded hero at the top with a white sheet rising over it,
|
|
448
449
|
* rather than a floating card. Set as a block so the two simply stack.
|
|
449
450
|
*/
|
|
450
|
-
@media (max-width: ${
|
|
451
|
+
@media (max-width: ${It}px) {
|
|
451
452
|
display: flex;
|
|
452
453
|
flex-direction: column;
|
|
453
454
|
align-items: stretch;
|
|
@@ -455,7 +456,29 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
455
456
|
padding: 0;
|
|
456
457
|
background: var(--ant-color-primary, #E5533B);
|
|
457
458
|
}
|
|
458
|
-
`,
|
|
459
|
+
`,Tt=V.div`
|
|
460
|
+
position: relative;
|
|
461
|
+
z-index: 1;
|
|
462
|
+
display: flex;
|
|
463
|
+
flex-direction: ${({$side:e})=>"right"===e?"row":"row-reverse"};
|
|
464
|
+
align-items: stretch;
|
|
465
|
+
width: 100%;
|
|
466
|
+
height: calc(100dvh - 48px);
|
|
467
|
+
min-height: 560px;
|
|
468
|
+
background: var(--ant-color-bg-elevated, #fff);
|
|
469
|
+
border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
470
|
+
overflow: hidden;
|
|
471
|
+
|
|
472
|
+
@media (max-width: ${Ct}px) {
|
|
473
|
+
width: min(440px, 100%);
|
|
474
|
+
height: auto;
|
|
475
|
+
min-height: 0;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@media (max-width: ${It}px) {
|
|
479
|
+
display: contents;
|
|
480
|
+
}
|
|
481
|
+
`,Lt=V.aside`
|
|
459
482
|
position: absolute;
|
|
460
483
|
/* the panel takes the side the card does not */
|
|
461
484
|
inset: ${({$variant:e,$side:t})=>{const r=St(e)?"28px":"0";return"right"===t?`${r} 40% ${r} ${r}`:`${r} ${r} ${r} 40%`}};
|
|
@@ -469,6 +492,43 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
469
492
|
color: #fff;
|
|
470
493
|
user-select: none;
|
|
471
494
|
|
|
495
|
+
${({$variant:e})=>zt(e)?Y`
|
|
496
|
+
/* In the sheet: a column of the sheet, the headline in its upper third, the illustration below. */
|
|
497
|
+
position: relative;
|
|
498
|
+
inset: auto;
|
|
499
|
+
flex: 0 0 50%;
|
|
500
|
+
justify-content: flex-start;
|
|
501
|
+
padding: 15% 9% 0;
|
|
502
|
+
/* A deep-to-primary gradient; a browser without color-mix keeps the flat primary. */
|
|
503
|
+
background: linear-gradient(
|
|
504
|
+
165deg,
|
|
505
|
+
color-mix(in srgb, var(--ant-color-primary, #E5533B) 72%, #000) 0%,
|
|
506
|
+
var(--ant-color-primary, #E5533B) 70%
|
|
507
|
+
);
|
|
508
|
+
|
|
509
|
+
h2 {
|
|
510
|
+
z-index: 2;
|
|
511
|
+
font-size: clamp(28px, 2.9vw, 42px);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/* A short rule above the headline. */
|
|
515
|
+
h2::before {
|
|
516
|
+
content: "";
|
|
517
|
+
display: block;
|
|
518
|
+
width: 56px;
|
|
519
|
+
height: 4px;
|
|
520
|
+
margin-bottom: 26px;
|
|
521
|
+
background: #fff;
|
|
522
|
+
opacity: 0.9;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
p {
|
|
526
|
+
z-index: 2;
|
|
527
|
+
font-size: 16px;
|
|
528
|
+
opacity: 0.8;
|
|
529
|
+
}
|
|
530
|
+
`:""}
|
|
531
|
+
|
|
472
532
|
h2 {
|
|
473
533
|
position: relative;
|
|
474
534
|
margin: 0;
|
|
@@ -493,7 +553,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
493
553
|
}
|
|
494
554
|
|
|
495
555
|
/* phone: full-width hero above the sheet */
|
|
496
|
-
@media (max-width: ${
|
|
556
|
+
@media (max-width: ${It}px) {
|
|
497
557
|
display: flex;
|
|
498
558
|
/* relative, not static: keeps the pattern layer inside the hero */
|
|
499
559
|
position: relative;
|
|
@@ -504,6 +564,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
504
564
|
padding: 30px 22px 46px;
|
|
505
565
|
justify-content: flex-end;
|
|
506
566
|
|
|
567
|
+
h2::before {
|
|
568
|
+
display: none;
|
|
569
|
+
}
|
|
570
|
+
|
|
507
571
|
h2 {
|
|
508
572
|
font-size: 27px;
|
|
509
573
|
max-width: none;
|
|
@@ -514,10 +578,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
514
578
|
font-size: 14px;
|
|
515
579
|
}
|
|
516
580
|
}
|
|
517
|
-
`,
|
|
581
|
+
`,Pt=V.div`
|
|
518
582
|
display: none;
|
|
519
583
|
|
|
520
|
-
@media (max-width: ${
|
|
584
|
+
@media (max-width: ${It}px) {
|
|
521
585
|
position: relative;
|
|
522
586
|
display: flex;
|
|
523
587
|
align-items: center;
|
|
@@ -552,13 +616,13 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
552
616
|
opacity: 0.75;
|
|
553
617
|
}
|
|
554
618
|
}
|
|
555
|
-
|
|
619
|
+
`,$t=V.div`
|
|
556
620
|
position: absolute;
|
|
557
621
|
inset: 0;
|
|
558
622
|
background: center / cover no-repeat url("${({$src:e})=>e}");
|
|
559
623
|
mix-blend-mode: multiply;
|
|
560
624
|
opacity: 0.35;
|
|
561
|
-
`,
|
|
625
|
+
`,Rt=V.div`
|
|
562
626
|
position: absolute;
|
|
563
627
|
left: 0;
|
|
564
628
|
right: 0;
|
|
@@ -588,7 +652,109 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
588
652
|
60% 44%, 68% 44%, 68% 30%, 77% 30%, 77% 52%, 86% 52%, 86% 26%, 94% 26%,
|
|
589
653
|
94% 47%, 100% 47%, 100% 100%, 0 100%
|
|
590
654
|
);
|
|
591
|
-
`,
|
|
655
|
+
`,Ht=V.div`
|
|
656
|
+
position: absolute;
|
|
657
|
+
inset: 0;
|
|
658
|
+
z-index: 1;
|
|
659
|
+
pointer-events: none;
|
|
660
|
+
|
|
661
|
+
.hisd3-cloud,
|
|
662
|
+
.hisd3-mark,
|
|
663
|
+
.hisd3-tile {
|
|
664
|
+
position: absolute;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.hisd3-cloud {
|
|
668
|
+
background: #fff;
|
|
669
|
+
border-radius: 999px;
|
|
670
|
+
opacity: 0.85;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.hisd3-cloud::before,
|
|
674
|
+
.hisd3-cloud::after {
|
|
675
|
+
content: "";
|
|
676
|
+
position: absolute;
|
|
677
|
+
bottom: 40%;
|
|
678
|
+
background: #fff;
|
|
679
|
+
border-radius: 50%;
|
|
680
|
+
aspect-ratio: 1;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.hisd3-cloud::before {
|
|
684
|
+
left: 18%;
|
|
685
|
+
width: 46%;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.hisd3-cloud::after {
|
|
689
|
+
left: 46%;
|
|
690
|
+
width: 34%;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.hisd3-cloud:nth-of-type(1) { left: -8%; bottom: 36%; width: 28%; height: 7%; opacity: 0.42; }
|
|
694
|
+
.hisd3-cloud:nth-of-type(2) { right: -10%; bottom: 44%; width: 26%; height: 7%; opacity: 0.32; }
|
|
695
|
+
.hisd3-cloud:nth-of-type(3) { left: 10%; bottom: 4%; width: 32%; height: 8%; }
|
|
696
|
+
.hisd3-cloud:nth-of-type(4) { right: -6%; bottom: 2%; width: 36%; height: 9%; opacity: 0.7; }
|
|
697
|
+
|
|
698
|
+
.hisd3-mark {
|
|
699
|
+
right: 9%;
|
|
700
|
+
bottom: 9%;
|
|
701
|
+
width: 31%;
|
|
702
|
+
aspect-ratio: 1;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.hisd3-mark img {
|
|
706
|
+
width: 100%;
|
|
707
|
+
height: 100%;
|
|
708
|
+
object-fit: contain;
|
|
709
|
+
opacity: 0.96;
|
|
710
|
+
filter: brightness(0) invert(1) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.hisd3-tile {
|
|
714
|
+
display: grid;
|
|
715
|
+
gap: 7px;
|
|
716
|
+
padding: 12px 14px;
|
|
717
|
+
background: #fff;
|
|
718
|
+
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.hisd3-tile-a { left: 10%; bottom: 21%; width: 30%; }
|
|
722
|
+
.hisd3-tile-b { right: 4%; bottom: 40%; width: 22%; }
|
|
723
|
+
|
|
724
|
+
/* The tile is white in both modes, so its lines are a light tint of the primary, never the theme's. */
|
|
725
|
+
.hisd3-tile i {
|
|
726
|
+
display: block;
|
|
727
|
+
height: 7px;
|
|
728
|
+
background: #e8e6e1;
|
|
729
|
+
background: color-mix(in srgb, var(--ant-color-primary, #E5533B) 18%, #fff);
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.hisd3-tile i:first-child {
|
|
733
|
+
width: 46%;
|
|
734
|
+
height: 9px;
|
|
735
|
+
background: var(--ant-color-primary, #E5533B);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.hisd3-tile b {
|
|
739
|
+
position: absolute;
|
|
740
|
+
top: 10px;
|
|
741
|
+
right: 12px;
|
|
742
|
+
display: flex;
|
|
743
|
+
align-items: center;
|
|
744
|
+
justify-content: center;
|
|
745
|
+
width: 20px;
|
|
746
|
+
height: 20px;
|
|
747
|
+
border-radius: 50%;
|
|
748
|
+
font-size: 12px;
|
|
749
|
+
color: #fff;
|
|
750
|
+
background: var(--ant-color-success, #2E7D32);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/* the phone hero is too short for it */
|
|
754
|
+
@media (max-width: ${It}px) {
|
|
755
|
+
display: none;
|
|
756
|
+
}
|
|
757
|
+
`,Ut=V.div`
|
|
592
758
|
position: absolute;
|
|
593
759
|
top: 30px;
|
|
594
760
|
${({$side:e})=>"right"===e?"left: 40px;":"right: 40px;"}
|
|
@@ -609,10 +775,11 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
609
775
|
filter: brightness(0) invert(1);
|
|
610
776
|
}
|
|
611
777
|
|
|
612
|
-
@media (max-width: ${
|
|
778
|
+
@media (max-width: ${It}px) {
|
|
613
779
|
display: none;
|
|
614
780
|
}
|
|
615
|
-
`,
|
|
781
|
+
`,Mt=V.div`
|
|
782
|
+
${({$variant:e})=>zt(e)?"display: none;":""}
|
|
616
783
|
position: absolute;
|
|
617
784
|
${({$side:e})=>"right"===e?"right: -70px;":"left: -70px;"}
|
|
618
785
|
bottom: 40px;
|
|
@@ -626,7 +793,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
626
793
|
@media (max-width: ${Ct}px) {
|
|
627
794
|
display: none;
|
|
628
795
|
}
|
|
629
|
-
`,
|
|
796
|
+
`,Ot=V.form`
|
|
630
797
|
position: relative;
|
|
631
798
|
z-index: 2;
|
|
632
799
|
margin: 40px ${({$side:e})=>"right"===e?"7% 40px 0":"0 40px 7%"};
|
|
@@ -638,12 +805,34 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
638
805
|
border-radius: 18px;
|
|
639
806
|
box-shadow: 0 4px 10px rgba(16, 15, 14, 0.05),
|
|
640
807
|
0 24px 60px rgba(16, 15, 14, 0.14);
|
|
641
|
-
`:Y`
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
808
|
+
`:zt(e)?Y`
|
|
809
|
+
/* The sheet is the frame: the form stands on its surface. */
|
|
810
|
+
flex: 1 1 auto;
|
|
811
|
+
display: flex;
|
|
812
|
+
flex-direction: column;
|
|
813
|
+
justify-content: center;
|
|
814
|
+
width: auto;
|
|
815
|
+
margin: 0;
|
|
816
|
+
padding: 56px 8% 48px;
|
|
817
|
+
border: 0;
|
|
818
|
+
border-radius: 0;
|
|
819
|
+
box-shadow: none;
|
|
820
|
+
background: transparent;
|
|
821
|
+
|
|
822
|
+
@media (max-width: ${Ct}px) {
|
|
823
|
+
padding: 40px 44px 34px;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/* phone: the sheet has dissolved, so the form is its own white sheet again */
|
|
827
|
+
@media (max-width: ${It}px) {
|
|
828
|
+
background: var(--ant-color-bg-elevated, #fff);
|
|
829
|
+
}
|
|
830
|
+
`:Y`
|
|
831
|
+
/* Flat, like the shell: a hairline edge and nothing floating. */
|
|
832
|
+
border-radius: 0;
|
|
833
|
+
border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
834
|
+
box-shadow: none;
|
|
835
|
+
`}
|
|
647
836
|
|
|
648
837
|
/* tablet and below: no panel, so centre the card */
|
|
649
838
|
@media (max-width: ${Ct}px) {
|
|
@@ -652,7 +841,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
652
841
|
}
|
|
653
842
|
|
|
654
843
|
/* phone: a sheet that rises over the hero and runs to the bottom */
|
|
655
|
-
@media (max-width: ${
|
|
844
|
+
@media (max-width: ${It}px) {
|
|
656
845
|
width: 100%;
|
|
657
846
|
/* grow to fill whatever the hero leaves, so white runs to the bottom */
|
|
658
847
|
flex: 1 0 auto;
|
|
@@ -662,7 +851,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
662
851
|
border: 0;
|
|
663
852
|
border-radius: ${({$variant:e})=>St(e)?"28px 28px 0 0":"20px 20px 0 0"};
|
|
664
853
|
}
|
|
665
|
-
|
|
854
|
+
`,Gt=V.div`
|
|
666
855
|
display: flex;
|
|
667
856
|
align-items: center;
|
|
668
857
|
gap: 12px;
|
|
@@ -696,26 +885,60 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
696
885
|
color: var(--ant-color-text-tertiary, #6E6E6E);
|
|
697
886
|
}
|
|
698
887
|
|
|
699
|
-
|
|
888
|
+
/* In the sheet the brand sits just above the title, a size down from the card's. */
|
|
889
|
+
${({$variant:e})=>zt(e)?Y`
|
|
890
|
+
@media (min-width: ${1025}px) {
|
|
891
|
+
margin-bottom: 22px;
|
|
892
|
+
gap: 10px;
|
|
893
|
+
|
|
894
|
+
.hisd3-login-logo {
|
|
895
|
+
width: 40px;
|
|
896
|
+
height: 40px;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.hisd3-login-name {
|
|
900
|
+
font-size: 18px;
|
|
901
|
+
letter-spacing: 0.04em;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
`:""}
|
|
905
|
+
|
|
906
|
+
@media (max-width: ${It}px) {
|
|
700
907
|
display: none;
|
|
701
908
|
}
|
|
702
|
-
`,
|
|
909
|
+
`,jt=V.h1`
|
|
703
910
|
margin: 0 0 6px;
|
|
704
911
|
font-family: var(--font-heading);
|
|
705
912
|
font-size: 26px;
|
|
913
|
+
${({$variant:e})=>zt(e)?Y`
|
|
914
|
+
@media (min-width: ${1025}px) {
|
|
915
|
+
margin-bottom: 12px;
|
|
916
|
+
font-size: 38px;
|
|
917
|
+
line-height: 1.1;
|
|
918
|
+
letter-spacing: -0.015em;
|
|
919
|
+
}
|
|
920
|
+
`:""}
|
|
706
921
|
font-weight: ${({$variant:e})=>St(e)?700:"var(--font-weight-heading, 800)"};
|
|
707
922
|
color: var(--ant-color-text, #171717);
|
|
708
923
|
|
|
709
|
-
@media (max-width: ${
|
|
924
|
+
@media (max-width: ${It}px) {
|
|
710
925
|
font-size: 22px;
|
|
711
926
|
}
|
|
712
|
-
`,
|
|
927
|
+
`,Wt=V.p`
|
|
713
928
|
margin: 0 0 22px;
|
|
714
929
|
font-size: 14px;
|
|
715
930
|
color: var(--ant-color-text-secondary, #4A4A4A);
|
|
716
|
-
|
|
931
|
+
${({$variant:e})=>zt(e)?Y`
|
|
932
|
+
@media (min-width: ${1025}px) {
|
|
933
|
+
max-width: 440px;
|
|
934
|
+
margin-bottom: 32px;
|
|
935
|
+
font-size: 15px;
|
|
936
|
+
}
|
|
937
|
+
`:""}
|
|
938
|
+
`,qt=V.label`
|
|
717
939
|
display: block;
|
|
718
940
|
margin-bottom: 16px;
|
|
941
|
+
${({$variant:e})=>zt(e)?"max-width: 420px;":""}
|
|
719
942
|
|
|
720
943
|
.hisd3-field-label {
|
|
721
944
|
display: block;
|
|
@@ -738,9 +961,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
738
961
|
font: inherit;
|
|
739
962
|
font-size: 15px;
|
|
740
963
|
color: var(--ant-color-text, #171717);
|
|
741
|
-
background: ${({$variant:e})=>St(e)?"var(--hisd3-input-bg, #F2F3F5)":"var(--hisd3-control-bg, #e6e4e1)"};
|
|
964
|
+
background: ${({$variant:e})=>St(e)?"var(--hisd3-input-bg, #F2F3F5)":zt(e)?"var(--hisd3-input-bg, #fff)":"var(--hisd3-control-bg, #e6e4e1)"};
|
|
742
965
|
border: ${({$variant:e})=>St(e)?"1px":"var(--hisd3-rule-width, 1px)"}
|
|
743
|
-
solid transparent;
|
|
966
|
+
solid ${({$variant:e})=>zt(e)?"var(--hisd3-input-border, #8C8A85)":"transparent"};
|
|
744
967
|
border-radius: ${({$variant:e})=>St(e)?"10px":"0"};
|
|
745
968
|
outline: none;
|
|
746
969
|
transition: border-color 0.15s ease, background 0.15s ease;
|
|
@@ -752,6 +975,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
752
975
|
&:focus {
|
|
753
976
|
background: var(--hisd3-input-bg-hover, #fff);
|
|
754
977
|
border-color: var(--ant-color-primary, #E5533B);
|
|
978
|
+
${({$variant:e})=>zt(e)?"box-shadow: 0 0 0 1px var(--ant-color-primary, #E5533B);":""}
|
|
755
979
|
}
|
|
756
980
|
|
|
757
981
|
&:disabled {
|
|
@@ -760,7 +984,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
760
984
|
}
|
|
761
985
|
}
|
|
762
986
|
|
|
763
|
-
@media (max-width: ${
|
|
987
|
+
@media (max-width: ${It}px) {
|
|
764
988
|
margin-bottom: 14px;
|
|
765
989
|
|
|
766
990
|
input {
|
|
@@ -784,13 +1008,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
784
1008
|
color: var(--ant-color-text, #171717);
|
|
785
1009
|
}
|
|
786
1010
|
}
|
|
787
|
-
`,
|
|
1011
|
+
`,Qt=V.div`
|
|
788
1012
|
display: flex;
|
|
789
1013
|
align-items: center;
|
|
790
1014
|
justify-content: space-between;
|
|
791
1015
|
gap: 12px;
|
|
792
1016
|
margin: 18px 0 24px;
|
|
793
1017
|
font-size: 14px;
|
|
1018
|
+
${({$variant:e})=>zt(e)?"max-width: 420px;":""}
|
|
794
1019
|
|
|
795
1020
|
.hisd3-remember {
|
|
796
1021
|
display: flex;
|
|
@@ -814,19 +1039,27 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
814
1039
|
text-decoration: underline;
|
|
815
1040
|
}
|
|
816
1041
|
}
|
|
817
|
-
`,
|
|
1042
|
+
`,Kt=V.div`
|
|
818
1043
|
margin-bottom: 16px;
|
|
819
1044
|
padding: 10px 14px;
|
|
820
1045
|
font-size: 13px;
|
|
821
1046
|
color: var(--ant-color-error, #e5401c);
|
|
822
1047
|
background: var(--ant-color-error-bg, rgba(229, 64, 28, 0.08));
|
|
823
1048
|
border-left: 3px solid var(--ant-color-error, #e5401c);
|
|
824
|
-
`,
|
|
1049
|
+
`,Vt=V.p`
|
|
825
1050
|
margin: 20px 0 0;
|
|
826
1051
|
text-align: center;
|
|
827
1052
|
font-size: 14px;
|
|
828
1053
|
color: var(--ant-color-text-secondary, #4A4A4A);
|
|
829
|
-
|
|
1054
|
+
${({$variant:e})=>zt(e)?Y`
|
|
1055
|
+
@media (min-width: ${1025}px) {
|
|
1056
|
+
margin-top: 48px;
|
|
1057
|
+
text-align: left;
|
|
1058
|
+
font-size: 13px;
|
|
1059
|
+
color: var(--ant-color-text-tertiary, #6E6E6E);
|
|
1060
|
+
}
|
|
1061
|
+
`:""}
|
|
1062
|
+
`,Zt=({appName:o,tagline:i,logoSrc:a=Oe,title:n="Nice to see you again",subtitle:l,panelTitle:d="One system for every part of your hospital.",panelSubtitle:s="Patient care, billing and operations — connected.",panelImage:p,organisationName:c="HISD3",variant:h="soft",side:b="right",identifierLabel:m="User ID or email",identifierPlaceholder:u="Email or user ID",passwordLabel:f="Password",passwordPlaceholder:x="Enter password",submitLabel:v="Sign in",hideRemember:y=!1,rememberLabel:w="Remember me",onForgotPassword:k,forgotLabel:A="Forgot password?",error:E,loading:B=!1,onSubmit:D,footer:F,className:S})=>{const[z,C]=G(""),[I,N]=G(""),[T,L]=G(!1),[P,$]=G(!1),[R,H]=G(!1),U=R?Oe:a,M="sheet"===h,O=e(r,{children:[e(Lt,{$variant:h,$side:b,children:[p?t($t,{$src:p,"aria-hidden":!0}):M?e(Ht,{"aria-hidden":!0,children:[t("span",{className:"hisd3-cloud"}),t("span",{className:"hisd3-cloud"}),t("span",{className:"hisd3-cloud"}),t("span",{className:"hisd3-cloud"}),t("span",{className:"hisd3-mark",children:t("img",{src:Oe,alt:""})}),e("span",{className:"hisd3-tile hisd3-tile-a",children:[t("i",{}),t("i",{style:{width:"85%"}}),t("i",{style:{width:"60%"}}),t("b",{children:"✓"})]}),e("span",{className:"hisd3-tile hisd3-tile-b",children:[t("i",{style:{width:"60%"}}),t("i",{}),t("i",{style:{width:"70%"}})]})]}):t(Rt,{"aria-hidden":!0}),e(Ut,{$side:b,"aria-hidden":!0,children:[t("img",{src:Oe,alt:""}),c]}),e(Pt,{children:[U&&t("img",{src:U,alt:"",onError:()=>H(!0)}),e("span",{children:[t("span",{className:"hisd3-hero-name",children:o}),i&&t("span",{className:"hisd3-hero-tagline",children:i})]})]}),t("h2",{children:d}),s&&t("p",{children:s})]}),e(Ot,{$variant:h,$side:b,onSubmit:e=>{e.preventDefault(),B||D({identifier:z,password:I,remember:T})},noValidate:!0,children:[e(Gt,{$variant:h,children:[U&&t("img",{className:"hisd3-login-logo",src:U,alt:"",onError:()=>H(!0)}),e("span",{children:[t("span",{className:"hisd3-login-name",children:o}),i&&t("span",{className:"hisd3-login-tagline",children:i})]})]}),t(jt,{$variant:h,children:n}),l&&t(Wt,{$variant:h,children:l}),E&&t(Kt,{role:"alert",children:E}),e(qt,{$variant:h,children:[t("span",{className:"hisd3-field-label",children:m}),t("span",{className:"hisd3-field-control",children:t("input",{value:z,onChange:e=>C(e.target.value),placeholder:u,autoComplete:"username",disabled:B,autoFocus:!0})})]}),e(qt,{$variant:h,children:[t("span",{className:"hisd3-field-label",children:f}),e("span",{className:"hisd3-field-control",children:[t("input",{type:P?"text":"password",value:I,onChange:e=>N(e.target.value),placeholder:x,autoComplete:"current-password",disabled:B}),t("button",{type:"button",className:"hisd3-field-reveal","aria-label":P?"Hide password":"Show password",onClick:()=>$((e=>!e)),tabIndex:-1,children:t(P?de:se,{})})]})]}),(!y||k)&&e(Qt,{$variant:h,children:[y?t("span",{}):e("label",{className:"hisd3-remember",children:[t(g,{size:"small",checked:T,onChange:L,disabled:B}),w]}),k&&t("button",{type:"button",className:"hisd3-forgot",onClick:k,children:A})]}),t(Ft,{variant:"primary",htmlType:"submit",size:"large",loading:B,block:!M,style:M?{borderRadius:0,height:50,minWidth:180,paddingInline:36,alignSelf:"flex-start"}:{borderRadius:"soft"===h?10:0,height:50},children:v}),F&&t(Vt,{$variant:h,children:F})]})]});return e(Nt,{className:S,$side:b,$variant:h,children:[t(Mt,{$variant:h,$side:b,"aria-hidden":!0}),M?t(Tt,{$side:b,children:O}):O]})},Yt=V.button`
|
|
830
1063
|
user-select: none;
|
|
831
1064
|
-webkit-user-select: none;
|
|
832
1065
|
position: relative;
|
|
@@ -863,7 +1096,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
863
1096
|
/* the stock bell is narrow; widen it a touch for a fuller silhouette */
|
|
864
1097
|
transform: scaleX(var(--hisd3-bell-stretch, 1.12));
|
|
865
1098
|
}
|
|
866
|
-
`,
|
|
1099
|
+
`,Jt=V.span`
|
|
867
1100
|
position: absolute;
|
|
868
1101
|
top: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
869
1102
|
right: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
@@ -881,7 +1114,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
881
1114
|
border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
|
|
882
1115
|
border-radius: 999px;
|
|
883
1116
|
pointer-events: none;
|
|
884
|
-
`,
|
|
1117
|
+
`,Xt=V.div`
|
|
885
1118
|
width: 360px;
|
|
886
1119
|
max-width: calc(100vw - 32px);
|
|
887
1120
|
overflow: hidden;
|
|
@@ -890,7 +1123,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
890
1123
|
border-radius: var(--hisd3-popup-radius, 10px);
|
|
891
1124
|
box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
|
|
892
1125
|
0 12px 32px rgba(16, 15, 14, 0.14);
|
|
893
|
-
`,
|
|
1126
|
+
`,_t=V.div`
|
|
894
1127
|
display: flex;
|
|
895
1128
|
align-items: center;
|
|
896
1129
|
justify-content: space-between;
|
|
@@ -918,10 +1151,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
918
1151
|
text-decoration: underline;
|
|
919
1152
|
}
|
|
920
1153
|
}
|
|
921
|
-
`,
|
|
1154
|
+
`,er=V.div`
|
|
922
1155
|
max-height: 380px;
|
|
923
1156
|
overflow-y: auto;
|
|
924
|
-
`,
|
|
1157
|
+
`,tr=V.button`
|
|
925
1158
|
display: flex;
|
|
926
1159
|
align-items: flex-start;
|
|
927
1160
|
gap: 12px;
|
|
@@ -936,7 +1169,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
936
1169
|
&:hover {
|
|
937
1170
|
background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"var(--hisd3-hover, rgba(0,0,0,0.04))"};
|
|
938
1171
|
}
|
|
939
|
-
`,
|
|
1172
|
+
`,rr=V.span`
|
|
940
1173
|
width: 36px;
|
|
941
1174
|
height: 36px;
|
|
942
1175
|
flex: 0 0 auto;
|
|
@@ -947,7 +1180,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
947
1180
|
color: var(--ant-color-text);
|
|
948
1181
|
border-radius: 50%;
|
|
949
1182
|
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
|
|
950
|
-
`,
|
|
1183
|
+
`,or=V.span`
|
|
951
1184
|
flex: 1 1 auto;
|
|
952
1185
|
min-width: 0;
|
|
953
1186
|
|
|
@@ -972,14 +1205,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
972
1205
|
font-size: 12px;
|
|
973
1206
|
color: var(--ant-color-text-tertiary);
|
|
974
1207
|
}
|
|
975
|
-
`,
|
|
1208
|
+
`,ir=V.span`
|
|
976
1209
|
width: 8px;
|
|
977
1210
|
height: 8px;
|
|
978
1211
|
margin-top: 6px;
|
|
979
1212
|
flex: 0 0 auto;
|
|
980
1213
|
border-radius: 50%;
|
|
981
1214
|
background: var(--ant-color-primary);
|
|
982
|
-
`,
|
|
1215
|
+
`,ar=V.button`
|
|
983
1216
|
display: block;
|
|
984
1217
|
width: 100%;
|
|
985
1218
|
padding: 12px 16px;
|
|
@@ -996,9 +1229,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
996
1229
|
&:hover {
|
|
997
1230
|
background: var(--hisd3-hover, rgba(0, 0, 0, 0.04));
|
|
998
1231
|
}
|
|
999
|
-
`,
|
|
1232
|
+
`,nr=V.div`
|
|
1000
1233
|
padding: 28px 16px;
|
|
1001
|
-
`,
|
|
1234
|
+
`,lr=({items:r=[],count:o,loading:i=!1,title:a="Notifications",onMarkAllRead:n,onSeeAll:s,seeAllLabel:p="See all notifications",emptyText:c="You're all caught up",onOpenChange:h,size:g=40,icon:m,className:u})=>{const[f,x]=G(!1),v=o??r.filter((e=>e.unread)).length,y=e(Xt,{children:[e(_t,{children:[t("h4",{children:a}),n&&v>0&&t("button",{type:"button",onClick:n,children:"Mark all as read"})]}),i?t(nr,{style:{textAlign:"center"},children:t(d,{})}):0===r.length?t(nr,{children:t(b,{image:b.PRESENTED_IMAGE_SIMPLE,description:c})}):t(er,{children:r.map((r=>e(tr,{type:"button",$unread:r.unread,onClick:()=>{r.onClick?.(r),x(!1),h?.(!1)},children:[t(rr,{$src:r.avatarSrc,children:!r.avatarSrc&&(r.icon??t(pe,{}))}),e(or,{children:[t("strong",{children:r.title}),r.description&&t("span",{children:r.description}),r.time&&t("time",{children:r.time})]}),r.unread&&t(ir,{})]},r.id)))}),s&&t(ar,{type:"button",onClick:()=>{s(),x(!1),h?.(!1)},children:p})]});return t(l,{open:f,onOpenChange:e=>{x(e),h?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>y,children:e(Yt,{type:"button",$size:g,$open:f,className:u,"aria-label":`${a}${v?` (${v} unread)`:""}`,children:[m??t(pe,{}),v>0&&t(Jt,{$size:g,children:v>99?"99+":v})]})})},dr=V.button`
|
|
1002
1235
|
user-select: none;
|
|
1003
1236
|
-webkit-user-select: none;
|
|
1004
1237
|
position: relative;
|
|
@@ -1034,7 +1267,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1034
1267
|
display: block;
|
|
1035
1268
|
border-radius: inherit;
|
|
1036
1269
|
}
|
|
1037
|
-
`,
|
|
1270
|
+
`,sr=V.span`
|
|
1038
1271
|
position: absolute;
|
|
1039
1272
|
right: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
1040
1273
|
bottom: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
@@ -1055,7 +1288,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1055
1288
|
& svg {
|
|
1056
1289
|
display: block;
|
|
1057
1290
|
}
|
|
1058
|
-
`,
|
|
1291
|
+
`,pr=V.div`
|
|
1059
1292
|
display: flex;
|
|
1060
1293
|
align-items: center;
|
|
1061
1294
|
gap: 12px;
|
|
@@ -1090,7 +1323,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1090
1323
|
overflow: hidden;
|
|
1091
1324
|
text-overflow: ellipsis;
|
|
1092
1325
|
}
|
|
1093
|
-
`,
|
|
1326
|
+
`,cr=V.span`
|
|
1094
1327
|
width: 40px;
|
|
1095
1328
|
height: 40px;
|
|
1096
1329
|
flex: 0 0 auto;
|
|
@@ -1101,7 +1334,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1101
1334
|
font-weight: 700;
|
|
1102
1335
|
border-radius: 50%;
|
|
1103
1336
|
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"var(--hisd3-control-bg, #e6e4e1)"};
|
|
1104
|
-
`,
|
|
1337
|
+
`,hr=V.div`
|
|
1105
1338
|
overflow: hidden;
|
|
1106
1339
|
background: var(--ant-color-bg-elevated);
|
|
1107
1340
|
border: 1px solid var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
|
|
@@ -1124,17 +1357,17 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1124
1357
|
border-radius: 8px;
|
|
1125
1358
|
font-size: 14px;
|
|
1126
1359
|
}
|
|
1127
|
-
`,
|
|
1360
|
+
`,gr=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("")||"?",br=({account:r,avatarSrc:o,settingsUrl:i="/settings",onSettings:n,onLogout:d,confirmLogout:s=!0,extraItems:p,shape:c="circle",size:h=40,hideChevron:g=!1,className:b})=>{const{modal:m}=a.useApp(),[u,f]=G(!1),x=[...p??[],...null!==i||n?[{key:"settings",icon:t(J,{}),label:"Settings",onClick:()=>{n?n():i&&(window.location.href=i)}}]:[],{key:"logout",icon:t(X,{}),label:"Logout",onClick:()=>{s?m.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(ee,{}),okText:"Logout",onOk:d}):d()}}];return t(l,{open:u,onOpenChange:f,trigger:["click"],placement:"bottomRight",menu:{items:x,onClick:()=>f(!1)},popupRender:i=>e(hr,{children:[e(pr,{children:[t(cr,{$src:o,children:!o&&gr(r.fullName)}),e("span",{className:"hisd3-identity-text",children:[t("span",{className:"hisd3-identity-name",children:r.fullName}),r.positionType&&t("span",{className:"hisd3-identity-role",children:r.positionType})]})]}),i]}),children:e(dr,{type:"button",className:b,$shape:c,$size:h,$open:u,"aria-label":`Account menu for ${r.fullName}`,children:[o?t("img",{src:o,alt:""}):gr(r.fullName),!g&&t(sr,{$size:h,$open:u,"aria-hidden":!0,children:t(_,{})})]})})},mr=V.div`
|
|
1128
1361
|
display: flex;
|
|
1129
1362
|
align-items: center;
|
|
1130
1363
|
gap: 8px;
|
|
1131
1364
|
flex: 0 0 auto;
|
|
1132
|
-
`,
|
|
1365
|
+
`,ur=V.span`
|
|
1133
1366
|
width: 2px;
|
|
1134
1367
|
height: 24px;
|
|
1135
1368
|
background: var(--hisd3-border-secondary, var(--ant-color-border-secondary, #E7E4DE));
|
|
1136
1369
|
flex: 0 0 auto;
|
|
1137
|
-
`,
|
|
1370
|
+
`,fr=({children:r,divided:o=!1,className:i})=>{const a=R.Children.toArray(r).filter(Boolean);return t(mr,{className:i,children:a.map(((r,i)=>e(R.Fragment,{children:[o&&i===a.length-1&&i>0&&t(ur,{}),r]},i)))})},xr=V.div`
|
|
1138
1371
|
/*
|
|
1139
1372
|
* Opaque backgrounds throughout. A fixed column is \`position: sticky\`, so the
|
|
1140
1373
|
* columns that scroll underneath it show through anything translucent.
|
|
@@ -1265,14 +1498,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1265
1498
|
.hisd3-cell-muted {
|
|
1266
1499
|
color: var(--ant-color-text-tertiary);
|
|
1267
1500
|
}
|
|
1268
|
-
`,
|
|
1501
|
+
`,vr=V.div`
|
|
1269
1502
|
padding: 14px 0 8px;
|
|
1270
1503
|
font-size: 12px;
|
|
1271
1504
|
font-weight: 600;
|
|
1272
1505
|
letter-spacing: 0.08em;
|
|
1273
1506
|
text-transform: uppercase;
|
|
1274
1507
|
color: var(--ant-color-text-tertiary);
|
|
1275
|
-
`,
|
|
1508
|
+
`,yr=V.div`
|
|
1276
1509
|
user-select: none;
|
|
1277
1510
|
-webkit-user-select: none;
|
|
1278
1511
|
display: flex;
|
|
@@ -1334,7 +1567,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1334
1567
|
font-weight: 700;
|
|
1335
1568
|
}
|
|
1336
1569
|
}
|
|
1337
|
-
`,
|
|
1570
|
+
`,wr=V.div`
|
|
1338
1571
|
display: inline-flex;
|
|
1339
1572
|
border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
|
|
1340
1573
|
|
|
@@ -1358,7 +1591,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1358
1591
|
color: var(--hisd3-on-primary, #fff);
|
|
1359
1592
|
}
|
|
1360
1593
|
}
|
|
1361
|
-
`,
|
|
1594
|
+
`,kr=e=>`Total ${e.toLocaleString()} items`;function Ar({pagination:r,footer:o,...i}){const a=r||void 0,n=a?.pageSizeOptions??[10,20,50];return e(xr,{children:[t(m,{...i,pagination:!1}),o&&t(vr,{children:o}),a&&e(yr,{children:[t("span",{className:"hisd3-total",children:(a.renderTotal??kr)(a.total,[(a.current-1)*a.pageSize+1,Math.min(a.current*a.pageSize,a.total)])}),t(u,{current:a.current,pageSize:a.pageSize,total:a.total,showSizeChanger:!1,onChange:(e,t)=>a.onChange(e,t),itemRender:(e,r,o)=>"prev"===r?t("span",{className:"ant-pagination-item-link",children:t(ie,{})}):"next"===r?t("span",{className:"ant-pagination-item-link",children:t(oe,{})}):o}),!a.hidePageSize&&t(wr,{role:"group","aria-label":"Rows per page",children:n.map((t=>e("button",{type:"button","aria-pressed":t===a.pageSize,onClick:()=>a.onChange(1,t),children:[t," / page"]},t)))})]})]})}const Er=V(f)`
|
|
1362
1595
|
&.ant-tabs .ant-tabs-nav {
|
|
1363
1596
|
user-select: none;
|
|
1364
1597
|
-webkit-user-select: none;
|
|
@@ -1393,7 +1626,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1393
1626
|
.ant-tabs-tab-active .hisd3-tab-count {
|
|
1394
1627
|
color: var(--ant-color-primary);
|
|
1395
1628
|
}
|
|
1396
|
-
`,
|
|
1629
|
+
`,Br=({items:o,...i})=>t(Er,{...i,items:o.map((({count:o,label:i,...a})=>({...a,label:e(r,{children:[i,void 0!==o&&t("span",{className:"hisd3-tab-count",children:o})]})})))}),Dr={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)"},Fr={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)"},Sr=V.span`
|
|
1397
1630
|
display: inline-flex;
|
|
1398
1631
|
align-items: center;
|
|
1399
1632
|
gap: 5px;
|
|
@@ -1409,8 +1642,8 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1409
1642
|
border: var(--hisd3-rule-width, 1px) solid transparent;
|
|
1410
1643
|
border-radius: 0;
|
|
1411
1644
|
|
|
1412
|
-
${({$variant:e,$tone:t})=>{const r=
|
|
1413
|
-
`,
|
|
1645
|
+
${({$variant:e,$tone:t})=>{const r=Dr[t],o=Fr[t];switch(e){case"soft":return`color: ${r}; background: ${o};`;case"outline":return`color: ${r}; border-color: ${r}; background: transparent;`;case"solid":return`color: var(--hisd3-on-primary, #fff); background: ${"default"===t?"var(--ant-color-text)":r};`;default:return"color: var(--ant-color-text); background: var(--hisd3-control-bg, #e6e4e1);"}}}
|
|
1646
|
+
`,zr=({variant:e="neutral",tone:r=("neutral"===e?"default":"primary"),children:o,...i})=>t(Sr,{$variant:e,$tone:r,...i,children:o}),Cr=V(x)`
|
|
1414
1647
|
&.ant-input,
|
|
1415
1648
|
&.ant-input-affix-wrapper {
|
|
1416
1649
|
border-width: var(--hisd3-rule-width, 1px);
|
|
@@ -1422,7 +1655,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1422
1655
|
color: var(--ant-color-text-tertiary);
|
|
1423
1656
|
font-size: 15px;
|
|
1424
1657
|
}
|
|
1425
|
-
`,
|
|
1658
|
+
`,Ir=W(((e,r)=>t(Cr,{...e,ref:r})));Ir.displayName="HISD3Input";const Nr=V(Cr)`
|
|
1426
1659
|
/*
|
|
1427
1660
|
* default: the same 40px control height as buttons and selects.
|
|
1428
1661
|
* Lighter than the page with the same 3:1 edge as every other field, so it
|
|
@@ -1485,7 +1718,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1485
1718
|
font-size: 19px;
|
|
1486
1719
|
}
|
|
1487
1720
|
}
|
|
1488
|
-
`,
|
|
1721
|
+
`,Tr={small:"hisd3-search-sm",middle:"",large:"hisd3-search-lg"},Lr=W((({size:e,compact:r,className:o,...i},a)=>t(Nr,{ref:a,allowClear:!0,prefix:t(ce,{}),className:[Tr[e??(r?"small":"middle")],o??""].join(" ").trim(),...i})));Lr.displayName="HISD3SearchInput";const Pr=({label:r,description:o,mono:i})=>e("div",{className:"hisd3-select-label",children:[t("div",{className:"hisd3-select-label-primary",style:i?{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"}:void 0,children:r}),null!=o&&""!==o?t("div",{className:"hisd3-select-label-description",children:o}):null]}),$r=e=>"string"==typeof e||"number"==typeof e?String(e):"",Rr=e=>(e??[]).flatMap((e=>Array.isArray(e.options)?Rr(e.options):[e])),Hr=(e,t)=>{if(!t)return!1;return`${$r(t.label??t.value)} ${$r(t.description)}`.toUpperCase().includes(e.toUpperCase())},Ur=(...e)=>e.filter(Boolean).join(" "),Mr=W((({wrap:e=!0,monoLabel:r,options:o,mode:i,showSearch:a,filterOption:n,optionFilterProp:l,optionRender:d,labelRender:s,virtual:p,rootClassName:c,...h},g)=>{const b=M((()=>new Map(Rr(o).map((e=>[e.value,e])))),[o]),m=M((()=>[...b.values()].some((e=>null!=e.description))),[b]),u=(e,o)=>null!=e?.description||r?t(Pr,{label:e?.label??o,description:e?.description,mono:r}):o,f="object"==typeof a?a:void 0;return t(v,{...h,ref:g,mode:i,options:o,showSearch:a,optionFilterProp:l,filterOption:n??(!(void 0!==n||void 0!==l||void 0!==f?.filterOption||void 0!==f?.optionFilterProp)&&m?Hr:void 0),optionRender:d??(e=>u(e.data,e.label??e.value)),labelRender:s??(i?void 0:({label:e,value:t})=>u(b.get(t),e??t)),virtual:p??(!e&&void 0),rootClassName:Ur(e&&"hisd3-wrap-select",c)})}));Mr.displayName="HISD3Select";const Or=V(y.Item)`
|
|
1489
1722
|
&.ant-form-item {
|
|
1490
1723
|
margin-bottom: 6px;
|
|
1491
1724
|
}
|
|
@@ -1505,5 +1738,5 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{theme as
|
|
|
1505
1738
|
.ant-input-number-group-wrapper {
|
|
1506
1739
|
width: 100%;
|
|
1507
1740
|
}
|
|
1508
|
-
`,$r=({node:e})=>t(r,{children:e}),Mr=({loading:e,loadingProps:r,vertical:o,bolderLabel:i,controlSize:a,skeleton:n,layout:l,className:d,children:s,...p})=>t(Ur,{...p,layout:o?"vertical":l,className:["hisd3-form-field",i?"hisd3-form-field-bold":"",d??""].join(" ").trim(),children:e?t($r,{node:n??t(L.Input,{active:!0,block:!0,size:a,...r})}):s}),Or=e=>t(L.Button,{active:!0,size:"small",style:{width:e,minWidth:e}}),Gr=W((({fieldProps:e,propsinput:r,...o},i)=>{const a={...r,...e};return t(Mr,{...o,controlSize:a.size,children:t(Sr,{...a,ref:i})})}));Gr.displayName="HISD3FormInput";const jr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(x.Password,{...e,ref:o})})));jr.displayName="HISD3FormPassword";const Wr=W((({fieldProps:e,loadingProps:r,...o},i)=>t(Mr,{...o,controlSize:e?.size,loadingProps:{...r,style:{height:22*(e?.rows??3)+10,...r?.style}},children:t(x.TextArea,{...e,ref:i})})));Wr.displayName="HISD3FormTextArea";const qr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(w,{...e,ref:o})})));qr.displayName="HISD3FormInputNumber";const Qr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(Hr,{...e,ref:o})})));Qr.displayName="HISD3FormSelect";const Kr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(k.Group,{...e,ref:o})})));Kr.displayName="HISD3FormRadioGroup";const Vr=W((({fieldProps:e,text:r,...o},i)=>t(Mr,{valuePropName:"checked",skeleton:Or(120),...o,children:t(A,{...e,ref:i,children:r??e?.children})})));Vr.displayName="HISD3FormCheckbox";const Zr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,children:t(A.Group,{...e,ref:o})})));Zr.displayName="HISD3FormCheckboxGroup";const Yr=W((({fieldProps:e,...r},o)=>t(Mr,{valuePropName:"checked",skeleton:Or("small"===e?.size?28:44),...r,children:t(g,{...e,ref:o})})));Yr.displayName="HISD3FormSwitch";const Jr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(E,{...e,ref:o})})));Jr.displayName="HISD3FormDatePicker";const Xr=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(E.RangePicker,{...e,ref:o})})));Xr.displayName="HISD3FormRangePicker";const _r=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(F,{...e,ref:o})})));_r.displayName="HISD3FormTimePicker";const eo=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(F.RangePicker,{...e,ref:o})})));eo.displayName="HISD3FormTimeRangePicker";const to=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(x.Search,{...e,ref:o})})));to.displayName="HISD3FormSearch";const ro=W((({fieldProps:e,loadingProps:r,...o},i)=>t(Mr,{...o,controlSize:e?.size,loadingProps:{block:!1,...r,style:{width:48*(e?.length??6),...r?.style}},children:t(x.OTP,{...e,ref:i})})));ro.displayName="HISD3FormOTP";const oo=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(B,{...e,ref:o})})));oo.displayName="HISD3FormAutoComplete";const io=W((({fieldProps:e,loadingProps:r,...o},i)=>t(Mr,{...o,controlSize:e?.size,loadingProps:{...r,style:{height:22*(e?.rows??1)+18,...r?.style}},children:t(D,{...e,ref:i})})));io.displayName="HISD3FormMentions";const ao=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(S,{...e,ref:o})})));ao.displayName="HISD3FormCascader";const no=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:e?.size,children:t(C,{...e,ref:o})})));no.displayName="HISD3FormTreeSelect";const lo=W((({fieldProps:e,...r},o)=>t(Mr,{...r,skeleton:Or(200),children:t(z,{...e,options:e?.options??[],ref:o})})));lo.displayName="HISD3FormSegmented";const so=W((({fieldProps:e,loadingProps:r,...o},i)=>t(Mr,{valuePropName:"targetKeys",loadingProps:{...r,style:{height:200,...r?.style}},...o,children:t(I,{...e,ref:i})})));so.displayName="HISD3FormTransfer";const po=W((({fieldProps:e,...r},o)=>t(Mr,{...r,controlSize:"small",children:t(N,{...e,ref:o})})));po.displayName="HISD3FormSlider";const co=W((({fieldProps:e,...r},o)=>t(Mr,{...r,skeleton:Or(28*(e?.count??5)),children:t(T,{...e,ref:o})})));co.displayName="HISD3FormRate";const ho=({fieldProps:e,...r})=>t(Mr,{getValueFromEvent:(e,t)=>t,skeleton:t(L.Button,{active:!0,shape:"square"}),...r,children:t(P,{...e})});ho.displayName="HISD3FormColorPicker";const go=e=>Array.isArray(e)?e:e?.fileList??[],bo=({fieldProps:e,children:r,...o})=>t(Mr,{valuePropName:"fileList",getValueFromEvent:go,skeleton:t(L.Button,{active:!0}),...o,children:t(R,{...e,children:r??e?.children})});bo.displayName="HISD3FormUpload";const mo=({fieldProps:e,children:r,loadingProps:o,...i})=>t(Mr,{valuePropName:"fileList",getValueFromEvent:go,loadingProps:{...o,style:{height:150,...o?.style}},...i,children:t(R.Dragger,{...e,children:r??e?.children})});mo.displayName="HISD3FormUploadDragger";const uo=U(null);let fo=0;function xo({children:r}){const[o,i]=G([]),a=M((()=>({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(uo.Provider,{value:a,children:[r,o.map((e=>t(Q,{children:e.node},e.id)))]})}function vo({Component:e,props:r,onClose:o,unmount:i}){const[a,n]=G(!0),l=K(!1),d={...r,open:a,hide:q((e=>{l.current||(l.current=!0,n(!1),o?.(e),window.setTimeout(i,320))}),[o,i])};return t(e,{...d})}function yo(e){const r=$(uo);if(!r)throw new Error("useDialog needs DialogProvider above it.");return q(((o,i)=>{const a=fo+=1;r.mount(a,t(vo,{Component:e,props:o,onClose:i,unmount:()=>r.unmount(a)},a))}),[e,r])}var wo,ko,Ao,Eo,Fo,Bo,Do,So,Co,zo,Io,No,To;!function(e){e.MODERN="modern",e.STANDARD="standard"}(wo||(wo={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(ko||(ko={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(Ao||(Ao={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(Eo||(Eo={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(Fo||(Fo={})),function(e){e.DEFAULT="default",e.MINI="mini",e.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",e.STANDARD="standard",e.HEADER_USER="user-header",e.HEADER_USER_MINI="user-mini-header",e.DRAWER="drawer",e.BIT_BUCKET="bit-bucket",e.H_DEFAULT="h-default",e.HOR_HEADER_FIXED="hor-header-fixed",e.HOR_DARK_LAYOUT="hor-dark-layout"}(Bo||(Bo={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(Do||(Do={})),function(e){e.RTL="rtl",e.LTR="ltr"}(So||(So={})),function(e){e.DARK="dark",e.LIGHT="light"}(Co||(Co={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(zo||(zo={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(Io||(Io={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(No||(No={})),function(e){e.SLIDEUPIN="transition.slideUpIn",e.SLIDEUPOUT="transition.slideUpOut",e.SLIDEDOWNIN="transition.slideDownIn",e.SLIDEDOWNOUT="transition.slideDownOut",e.SLIDELEFTIN="transition.slideLeftIn",e.SLIDELEFTOUT="transition.slideLeftOut",e.SLIDERIGHTIN="transition.slideRightIn",e.SLIDERIGHTOUT="transition.slideRightOut",e.FADEIN="transition.fadeIn",e.FADEOUT="transition.fadeOut"}(To||(To={}));const Lo={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}}},Po={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"}}};var Ro,Ho;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(Ro||(Ro={})),function(e){e.Admin="admin",e.User="user"}(Ho||(Ho={}));export{Lo as AppAnimateGroups,To as AppAnimates,Po as AppMotionAnimate,No as AuthType,xo as DialogProvider,Io as Fonts,Do as FooterType,cr as HISD3AvatarMenu,Dt as HISD3Button,oo as HISD3FormAutoComplete,ao as HISD3FormCascader,Vr as HISD3FormCheckbox,Zr as HISD3FormCheckboxGroup,ho as HISD3FormColorPicker,Jr as HISD3FormDatePicker,Mr as HISD3FormField,Gr as HISD3FormInput,qr as HISD3FormInputNumber,io as HISD3FormMentions,ro as HISD3FormOTP,jr as HISD3FormPassword,Kr as HISD3FormRadioGroup,Xr as HISD3FormRangePicker,co as HISD3FormRate,to as HISD3FormSearch,lo as HISD3FormSegmented,Qr as HISD3FormSelect,po as HISD3FormSlider,Yr as HISD3FormSwitch,Wr as HISD3FormTextArea,_r as HISD3FormTimePicker,eo as HISD3FormTimeRangePicker,so as HISD3FormTransfer,no as HISD3FormTreeSelect,bo as HISD3FormUpload,mo as HISD3FormUploadDragger,br as HISD3HeaderActions,Sr as HISD3Input,Qt as HISD3LoginPage,ir as HISD3NotificationButton,wt as HISD3PageBody,kt as HISD3PageHeader,Et as HISD3PageStatus,Me as HISD3Provider,Ir as HISD3SearchInput,Hr as HISD3Select,Nr as HISD3SelectLabel,mt as HISD3Sidebar,yr as HISD3Table,kr as HISD3Tabs,Br as HISD3Tag,xe as HISD3_BORDER_PRESETS,ve as HISD3_BORDER_PRESETS_DARK,He as HISD3_COLORS,ye as HISD3_FONT_FAMILY,ke as HISD3_FONT_WEIGHT_BODY,we as HISD3_FONT_WEIGHT_HEADING,ge as HISD3_LAYOUT,Oe as HISD3_LOGO_SRC,me as HISD3_NEUTRALS,ue as HISD3_NEUTRALS_DARK,be as HISD3_PRESETS,fe as HISD3_STATUS,Kt as HeaderIconButton,Co as HeaderType,So as LayoutDirection,Eo as LayoutType,Fo as MenuStyle,Ro as MessageType,Bo as NavStyle,Ho as RoutePermittedRole,zo as RouteTransition,Ao as ThemeMode,wo as ThemeStyle,ko as ThemeStyleRadius,gt as UserMenu,Pe as borderVarsCss,ze as contrastRatio,Te as createHisd3Theme,pr as getInitials,Re as hisd3AntdTheme,Le as hisd3VarsCss,Se as mix,go as normalizeUploadFileList,Ae as resolvePrimary,Ie as resolvePrimaryPalette,Be as shade,De as tint,yo as useDialog,$e as useInsideHISD3Provider};
|
|
1741
|
+
`,Gr=({node:e})=>t(r,{children:e}),jr=({loading:e,loadingProps:r,vertical:o,bolderLabel:i,controlSize:a,skeleton:n,layout:l,className:d,children:s,...p})=>t(Or,{...p,layout:o?"vertical":l,className:["hisd3-form-field",i?"hisd3-form-field-bold":"",d??""].join(" ").trim(),children:e?t(Gr,{node:n??t(L.Input,{active:!0,block:!0,size:a,...r})}):s}),Wr=e=>t(L.Button,{active:!0,size:"small",style:{width:e,minWidth:e}}),qr=W((({fieldProps:e,propsinput:r,...o},i)=>{const a={...r,...e};return t(jr,{...o,controlSize:a.size,children:t(Ir,{...a,ref:i})})}));qr.displayName="HISD3FormInput";const Qr=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(x.Password,{...e,ref:o})})));Qr.displayName="HISD3FormPassword";const Kr=W((({fieldProps:e,loadingProps:r,...o},i)=>t(jr,{...o,controlSize:e?.size,loadingProps:{...r,style:{height:22*(e?.rows??3)+10,...r?.style}},children:t(x.TextArea,{...e,ref:i})})));Kr.displayName="HISD3FormTextArea";const Vr=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(w,{...e,ref:o})})));Vr.displayName="HISD3FormInputNumber";const Zr=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(Mr,{...e,ref:o})})));Zr.displayName="HISD3FormSelect";const Yr=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(k.Group,{...e,ref:o})})));Yr.displayName="HISD3FormRadioGroup";const Jr=W((({fieldProps:e,text:r,...o},i)=>t(jr,{valuePropName:"checked",skeleton:Wr(120),...o,children:t(A,{...e,ref:i,children:r??e?.children})})));Jr.displayName="HISD3FormCheckbox";const Xr=W((({fieldProps:e,...r},o)=>t(jr,{...r,children:t(A.Group,{...e,ref:o})})));Xr.displayName="HISD3FormCheckboxGroup";const _r=W((({fieldProps:e,...r},o)=>t(jr,{valuePropName:"checked",skeleton:Wr("small"===e?.size?28:44),...r,children:t(g,{...e,ref:o})})));_r.displayName="HISD3FormSwitch";const eo=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(E,{...e,ref:o})})));eo.displayName="HISD3FormDatePicker";const to=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(E.RangePicker,{...e,ref:o})})));to.displayName="HISD3FormRangePicker";const ro=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(B,{...e,ref:o})})));ro.displayName="HISD3FormTimePicker";const oo=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(B.RangePicker,{...e,ref:o})})));oo.displayName="HISD3FormTimeRangePicker";const io=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(x.Search,{...e,ref:o})})));io.displayName="HISD3FormSearch";const ao=W((({fieldProps:e,loadingProps:r,...o},i)=>t(jr,{...o,controlSize:e?.size,loadingProps:{block:!1,...r,style:{width:48*(e?.length??6),...r?.style}},children:t(x.OTP,{...e,ref:i})})));ao.displayName="HISD3FormOTP";const no=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(D,{...e,ref:o})})));no.displayName="HISD3FormAutoComplete";const lo=W((({fieldProps:e,loadingProps:r,...o},i)=>t(jr,{...o,controlSize:e?.size,loadingProps:{...r,style:{height:22*(e?.rows??1)+18,...r?.style}},children:t(F,{...e,ref:i})})));lo.displayName="HISD3FormMentions";const so=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(S,{...e,ref:o})})));so.displayName="HISD3FormCascader";const po=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:e?.size,children:t(z,{...e,ref:o})})));po.displayName="HISD3FormTreeSelect";const co=W((({fieldProps:e,...r},o)=>t(jr,{...r,skeleton:Wr(200),children:t(C,{...e,options:e?.options??[],ref:o})})));co.displayName="HISD3FormSegmented";const ho=W((({fieldProps:e,loadingProps:r,...o},i)=>t(jr,{valuePropName:"targetKeys",loadingProps:{...r,style:{height:200,...r?.style}},...o,children:t(I,{...e,ref:i})})));ho.displayName="HISD3FormTransfer";const go=W((({fieldProps:e,...r},o)=>t(jr,{...r,controlSize:"small",children:t(N,{...e,ref:o})})));go.displayName="HISD3FormSlider";const bo=W((({fieldProps:e,...r},o)=>t(jr,{...r,skeleton:Wr(28*(e?.count??5)),children:t(T,{...e,ref:o})})));bo.displayName="HISD3FormRate";const mo=({fieldProps:e,...r})=>t(jr,{getValueFromEvent:(e,t)=>t,skeleton:t(L.Button,{active:!0,shape:"square"}),...r,children:t(P,{...e})});mo.displayName="HISD3FormColorPicker";const uo=e=>Array.isArray(e)?e:e?.fileList??[],fo=({fieldProps:e,children:r,...o})=>t(jr,{valuePropName:"fileList",getValueFromEvent:uo,skeleton:t(L.Button,{active:!0}),...o,children:t($,{...e,children:r??e?.children})});fo.displayName="HISD3FormUpload";const xo=({fieldProps:e,children:r,loadingProps:o,...i})=>t(jr,{valuePropName:"fileList",getValueFromEvent:uo,loadingProps:{...o,style:{height:150,...o?.style}},...i,children:t($.Dragger,{...e,children:r??e?.children})});xo.displayName="HISD3FormUploadDragger";const vo=H(null);let yo=0;function wo({children:r}){const[o,i]=G([]),a=M((()=>({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(vo.Provider,{value:a,children:[r,o.map((e=>t(Q,{children:e.node},e.id)))]})}function ko({Component:e,props:r,onClose:o,unmount:i}){const[a,n]=G(!0),l=K(!1),d={...r,open:a,hide:q((e=>{l.current||(l.current=!0,n(!1),o?.(e),window.setTimeout(i,320))}),[o,i])};return t(e,{...d})}function Ao(e){const r=U(vo);if(!r)throw new Error("useDialog needs DialogProvider above it.");return q(((o,i)=>{const a=yo+=1;r.mount(a,t(ko,{Component:e,props:o,onClose:i,unmount:()=>r.unmount(a)},a))}),[e,r])}var Eo,Bo,Do,Fo,So,zo,Co,Io,No,To,Lo,Po,$o;!function(e){e.MODERN="modern",e.STANDARD="standard"}(Eo||(Eo={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(Bo||(Bo={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(Do||(Do={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(Fo||(Fo={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(So||(So={})),function(e){e.DEFAULT="default",e.MINI="mini",e.MINI_SIDEBAR_TOGGLE="mini-sidebar-toggle",e.STANDARD="standard",e.HEADER_USER="user-header",e.HEADER_USER_MINI="user-mini-header",e.DRAWER="drawer",e.BIT_BUCKET="bit-bucket",e.H_DEFAULT="h-default",e.HOR_HEADER_FIXED="hor-header-fixed",e.HOR_DARK_LAYOUT="hor-dark-layout"}(zo||(zo={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(Co||(Co={})),function(e){e.RTL="rtl",e.LTR="ltr"}(Io||(Io={})),function(e){e.DARK="dark",e.LIGHT="light"}(No||(No={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(To||(To={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(Lo||(Lo={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(Po||(Po={})),function(e){e.SLIDEUPIN="transition.slideUpIn",e.SLIDEUPOUT="transition.slideUpOut",e.SLIDEDOWNIN="transition.slideDownIn",e.SLIDEDOWNOUT="transition.slideDownOut",e.SLIDELEFTIN="transition.slideLeftIn",e.SLIDELEFTOUT="transition.slideLeftOut",e.SLIDERIGHTIN="transition.slideRightIn",e.SLIDERIGHTOUT="transition.slideRightOut",e.FADEIN="transition.fadeIn",e.FADEOUT="transition.fadeOut"}($o||($o={}));const Ro={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}}},Ho={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"}}};var Uo,Mo;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(Uo||(Uo={})),function(e){e.Admin="admin",e.User="user"}(Mo||(Mo={}));export{Ro as AppAnimateGroups,$o as AppAnimates,Ho as AppMotionAnimate,Po as AuthType,wo as DialogProvider,Lo as Fonts,Co as FooterType,br as HISD3AvatarMenu,Ft as HISD3Button,no as HISD3FormAutoComplete,so as HISD3FormCascader,Jr as HISD3FormCheckbox,Xr as HISD3FormCheckboxGroup,mo as HISD3FormColorPicker,eo as HISD3FormDatePicker,jr as HISD3FormField,qr as HISD3FormInput,Vr as HISD3FormInputNumber,lo as HISD3FormMentions,ao as HISD3FormOTP,Qr as HISD3FormPassword,Yr as HISD3FormRadioGroup,to as HISD3FormRangePicker,bo as HISD3FormRate,io as HISD3FormSearch,co as HISD3FormSegmented,Zr as HISD3FormSelect,go as HISD3FormSlider,_r as HISD3FormSwitch,Kr as HISD3FormTextArea,ro as HISD3FormTimePicker,oo as HISD3FormTimeRangePicker,ho as HISD3FormTransfer,po as HISD3FormTreeSelect,fo as HISD3FormUpload,xo as HISD3FormUploadDragger,fr as HISD3HeaderActions,Ir as HISD3Input,Zt as HISD3LoginPage,lr as HISD3NotificationButton,wt as HISD3PageBody,kt as HISD3PageHeader,Et as HISD3PageStatus,Me as HISD3Provider,Lr as HISD3SearchInput,Mr as HISD3Select,Pr as HISD3SelectLabel,mt as HISD3Sidebar,Ar as HISD3Table,Br as HISD3Tabs,zr as HISD3Tag,xe as HISD3_BORDER_PRESETS,ve as HISD3_BORDER_PRESETS_DARK,Re as HISD3_COLORS,ye as HISD3_FONT_FAMILY,ke as HISD3_FONT_WEIGHT_BODY,we as HISD3_FONT_WEIGHT_HEADING,ge as HISD3_LAYOUT,Oe as HISD3_LOGO_SRC,me as HISD3_NEUTRALS,ue as HISD3_NEUTRALS_DARK,be as HISD3_PRESETS,fe as HISD3_STATUS,Yt as HeaderIconButton,No as HeaderType,Io as LayoutDirection,Fo as LayoutType,So as MenuStyle,Uo as MessageType,zo as NavStyle,Mo as RoutePermittedRole,To as RouteTransition,Do as ThemeMode,Eo as ThemeStyle,Bo as ThemeStyleRadius,gt as UserMenu,Pe as borderVarsCss,Ce as contrastRatio,Te as createHisd3Theme,gr as getInitials,$e as hisd3AntdTheme,Le as hisd3VarsCss,Se as mix,uo as normalizeUploadFileList,Ae as resolvePrimary,Ie as resolvePrimaryPalette,De as shade,Fe as tint,Ao as useDialog,Ue as useInsideHISD3Provider};
|
|
1509
1742
|
//# sourceMappingURL=index.js.map
|