hisd3-ui-kit 4.2.2 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -1
- package/dist/index.cjs.js +511 -107
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +99 -3
- package/dist/index.js +532 -128
- 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{ConfigProvider as n,App as o,Layout as i,Dropdown as a,Spin as l,Menu as d,Breadcrumb as s,Empty as p,Table as c,Pagination as h,Tabs as g,Button as u,Input as b}from"antd";import m,{createContext as x,useContext as f,useMemo as y,createElement as v,useState as w,useEffect as k}from"react";import S,{ThemeProvider as $}from"styled-components";import{SettingOutlined as I,LogoutOutlined as C,DownOutlined as E,ExclamationCircleOutlined as z,MenuUnfoldOutlined as D,MenuFoldOutlined as T,RightOutlined as L,LeftOutlined as N,BellFilled as B,SearchOutlined as A}from"@ant-design/icons";function F(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}F('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}');F('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--hisd3-rule-width:1px;--hisd3-control-bg:#e6e4e1;--hisd3-control-bg-hover:#dbd8d4;--hisd3-popup-radius:10px;--font-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-heading:var(--font-body);--font-weight-heading:800}body{-webkit-font-smoothing:antialiased;font-family:var(--font-body)}body,html{overscroll-behavior:none}.ant-typography h1,.ant-typography h2,.ant-typography h3,.ant-typography h4,.ant-typography h5,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--font-weight-heading);letter-spacing:-.01em}');const O={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28},R={red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},U={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",white:"#FFFFFF"},H={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},M="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",j=800,G=400,W=(e="red")=>R[e]??e,_=(e,t)=>{const r=e.replace("#",""),n=3===r.length?r.split("").map((e=>e+e)).join(""):r,o=parseInt(n,16),i=o>>8&255,a=255&o,l=e=>Math.round(e+(255-e)*t);return`#${[l(o>>16&255),l(i),l(a)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},P=({primary:e,radius:t=0,borders:r="hairline",lineWidth:n,overrides:o}={})=>{const i=W(e),a=H[r]??H.hairline,l=n??a.width,d={...U,border:a.border,borderSecondary:a.borderSecondary},s={cssVar:{key:"hisd3"},token:{colorPrimary:i,colorInfo:i,colorLink:i,colorPrimaryBg:_(i,.92),colorPrimaryBgHover:_(i,.86),colorPrimaryBorder:_(i,.6),fontFamily:M,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:l,colorBgLayout:d.bgLayout,colorBgContainer:d.bgContainer,colorBgElevated:d.bgElevated,colorText:d.text,colorTextSecondary:d.textSecondary,colorTextTertiary:d.textTertiary,colorTextHeading:d.text,colorBorder:d.border,colorBorderSecondary:d.borderSecondary,colorSplit:d.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:d.bgLayout,headerBg:d.bgLayout,bodyBg:d.bgLayout,headerPadding:`0 ${O.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",itemColor:d.text,itemHoverColor:d.text,itemHoverBg:"rgba(0,0,0,0.04)",itemSelectedBg:_(i,.9),itemSelectedColor:i,itemActiveBg:_(i,.86),subMenuItemSelectedColor:i,groupTitleColor:d.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:O.pageGutter,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",defaultBorderColor:d.border,defaultColor:d.text,defaultBg:d.bgLayout,defaultHoverBg:d.white,defaultHoverBorderColor:d.borderStrong,defaultHoverColor:d.text,defaultActiveBorderColor:d.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{activeShadow:"none",colorBorder:d.border,hoverBorderColor:d.borderStrong,activeBorderColor:d.borderStrong,paddingInline:16},Select:{optionSelectedBg:_(i,.9),colorBorder:d.border},Table:{headerBg:"transparent",headerColor:d.textTertiary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:d.borderSecondary,rowHoverBg:"rgba(0,0,0,0.03)",cellPaddingBlock:20,cellPaddingInline:16,cellFontSize:16,footerBg:"transparent"},Tabs:{inkBarColor:i,itemColor:d.text,itemSelectedColor:i,itemHoverColor:i,titleFontSize:18,horizontalItemGutter:48,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:d.bgLayout,itemActiveBg:i,itemSize:48,itemInputBg:d.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:d.textTertiary,lastItemColor:d.text,linkColor:d.textTertiary,linkHoverColor:i,separatorColor:d.textTertiary},Card:{headerFontSize:20}}};return o?{...s,...o,token:{...s.token,...o.token},components:{...s.components,...o.components}}:s},K=(e="hairline",t)=>`:root{--hisd3-rule-width:${t??(H[e]??H.hairline).width}px;--hisd3-control-bg:${U.bgFilled};--hisd3-control-bg-hover:${U.bgFilledHover};}`,X=P(),V={primary:R.red,primaryLight:_(R.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},Y=x(!1),q=()=>f(Y),J=({primary:r,radius:i,borders:a="hairline",lineWidth:l,overrides:d,theme:s,styledTheme:p={},children:c})=>{const h=y((()=>s??P({primary:r,radius:i,borders:a,lineWidth:l,overrides:d})),[s,r,i,a,l,d]),g=y((()=>K(a,l)),[a,l]);return e(Y.Provider,{value:!0,children:[t("style",{dangerouslySetInnerHTML:{__html:g}}),t(n,{theme:h,children:t($,{theme:p,children:t(o,{component:!1,children:c})})})]})},{Header:Q,Content:Z}=i,ee=O.siderWidth,te=O.siderCollapsedWidth,re=O.topBarHeight,ne=S(i)`
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigProvider as o,App as i,Layout as n,Dropdown as a,Spin as l,Menu as d,Breadcrumb as s,Button as p,Switch as c,Empty as h,Table as g,Pagination as u,Tabs as b,Input as x}from"antd";import m,{createContext as f,useContext as v,useMemo as y,createElement as w,useState as A,useEffect as k}from"react";import z,{ThemeProvider as C,css as S}from"styled-components";import{SettingOutlined as D,LogoutOutlined as B,DownOutlined as I,ExclamationCircleOutlined as E,MenuUnfoldOutlined as L,MenuFoldOutlined as F,RightOutlined as T,LeftOutlined as N,EyeInvisibleOutlined as R,EyeOutlined as U,BellFilled as M,SearchOutlined as O}from"@ant-design/icons";function H(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))}}H('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}');H('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--hisd3-rule-width:1px;--hisd3-control-bg:#e6e4e1;--hisd3-control-bg-hover:#dbd8d4;--hisd3-popup-radius:10px;--font-body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-heading:var(--font-body);--font-weight-heading:800}body{-webkit-font-smoothing:antialiased;font-family:var(--font-body)}body,html{overscroll-behavior:none}.ant-typography h1,.ant-typography h2,.ant-typography h3,.ant-typography h4,.ant-typography h5,h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:var(--font-weight-heading);letter-spacing:-.01em}');const $={siderWidth:260,siderCollapsedWidth:64,topBarHeight:60,pageGutter:28},G={brand:"#E5533B",brandBlue:"#1B6FE0",red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},P={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",white:"#FFFFFF"},j={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},q="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",Q=800,K=400,W=(e="red")=>G[e]??e,Z=(e,t)=>{const r=e.replace("#",""),o=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(o,16),n=i>>8&255,a=255&i,l=e=>Math.round(e+(255-e)*t);return`#${[l(i>>16&255),l(n),l(a)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},V=({primary:e,radius:t=0,borders:r="hairline",lineWidth:o,overrides:i}={})=>{const n=W(e),a=j[r]??j.hairline,l=o??a.width,d={...P,border:a.border,borderSecondary:a.borderSecondary},s={cssVar:{key:"hisd3"},token:{colorPrimary:n,colorInfo:n,colorLink:n,colorPrimaryBg:Z(n,.92),colorPrimaryBgHover:Z(n,.86),colorPrimaryBorder:Z(n,.6),fontFamily:q,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:l,colorBgLayout:d.bgLayout,colorBgContainer:d.bgContainer,colorBgElevated:d.bgElevated,colorText:d.text,colorTextSecondary:d.textSecondary,colorTextTertiary:d.textTertiary,colorTextHeading:d.text,colorBorder:d.border,colorBorderSecondary:d.borderSecondary,colorSplit:d.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"0 2px 6px rgba(16,15,14,0.06), 0 12px 32px rgba(16,15,14,0.14)"},components:{Layout:{siderBg:d.bgLayout,headerBg:d.bgLayout,bodyBg:d.bgLayout,headerPadding:`0 ${$.pageGutter}px`},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",itemColor:d.text,itemHoverColor:d.text,itemHoverBg:"rgba(0,0,0,0.04)",itemSelectedBg:Z(n,.9),itemSelectedColor:n,itemActiveBg:Z(n,.86),subMenuItemSelectedColor:n,groupTitleColor:d.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:$.pageGutter,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",defaultBorderColor:d.border,defaultColor:d.text,defaultBg:d.bgLayout,defaultHoverBg:d.white,defaultHoverBorderColor:d.borderStrong,defaultHoverColor:d.text,defaultActiveBorderColor:d.borderStrong,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{activeShadow:"none",colorBorder:d.border,hoverBorderColor:d.borderStrong,activeBorderColor:d.borderStrong,paddingInline:16},Select:{optionSelectedBg:Z(n,.9),colorBorder:d.border},Table:{headerBg:"transparent",headerColor:d.textTertiary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:d.borderSecondary,rowHoverBg:"rgba(0,0,0,0.03)",cellPaddingBlock:10,cellPaddingInline:12,cellFontSize:14,cellPaddingBlockMD:8,cellPaddingInlineMD:10,cellPaddingBlockSM:6,cellPaddingInlineSM:8,cellFontSizeMD:14,cellFontSizeSM:13,footerBg:"transparent"},Tabs:{inkBarColor:n,itemColor:d.text,itemSelectedColor:n,itemHoverColor:n,titleFontSize:15,horizontalItemGutter:32,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:d.bgLayout,itemActiveBg:n,itemSize:32,itemSizeSM:26,itemInputBg:d.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:d.textTertiary,lastItemColor:d.text,linkColor:d.textTertiary,linkHoverColor:n,separatorColor:d.textTertiary},Card:{headerFontSize:20}}};return i?{...s,...i,token:{...s.token,...i.token},components:{...s.components,...i.components}}:s},Y=({primary:e,borders:t="hairline",lineWidth:r,radius:o=0}={})=>{const i=W(e),n=j[t]??j.hairline,a=P;return[":root{",`--hisd3-rule-width:${r??n.width}px;`,`--hisd3-control-bg:${a.bgFilled};`,`--hisd3-control-bg-hover:${a.bgFilledHover};`,"--hisd3-popup-radius:10px;",`--hisd3-radius:${o}px;`,`--ant-color-primary:${i};`,`--ant-color-primary-bg:${Z(i,.92)};`,`--ant-color-primary-bg-hover:${Z(i,.86)};`,`--ant-color-primary-border:${Z(i,.6)};`,`--ant-color-error:${i===G.red?i:"#E5401C"};`,`--ant-color-text:${a.text};`,`--ant-color-text-secondary:${a.textSecondary};`,`--ant-color-text-tertiary:${a.textTertiary};`,`--ant-color-border:${n.border};`,`--ant-color-border-secondary:${n.borderSecondary};`,`--ant-color-bg-layout:${a.bgLayout};`,`--ant-color-bg-elevated:${a.bgElevated};`,"}"].join("")},J=(e="hairline",t)=>Y({borders:e,lineWidth:t}),X=V(),_={primary:G.red,primaryLight:Z(G.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},ee=f(!1),te=()=>v(ee),re=({primary:r,radius:n,borders:a="hairline",lineWidth:l,overrides:d,theme:s,styledTheme:p={},children:c})=>{const h=y((()=>s??V({primary:r,radius:n,borders:a,lineWidth:l,overrides:d})),[s,r,n,a,l,d]),g=y((()=>Y({primary:r,borders:a,lineWidth:l,radius:n})),[r,a,l,n]);return e(ee.Provider,{value:!0,children:[t("style",{dangerouslySetInnerHTML:{__html:g}}),t(o,{theme:h,children:t(C,{theme:p,children:t(i,{component:!1,children:c})})})]})},{Header:oe,Content:ie}=n,ne=$.siderWidth,ae=$.siderCollapsedWidth,le=$.topBarHeight,de=z(n)`
|
|
2
2
|
position: relative; /* anchor for the edge collapse trigger */
|
|
3
3
|
background: var(--ant-color-bg-layout);
|
|
4
4
|
|
|
@@ -30,12 +30,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
30
30
|
height: 100%;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
`,
|
|
33
|
+
`,se=z(n)`
|
|
34
34
|
background: transparent;
|
|
35
35
|
min-width: 0;
|
|
36
36
|
|
|
37
37
|
${({$scroll:e})=>e?"\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n /* keep scroll chaining (and its bounce) out of the document */\n overscroll-behavior: contain;\n ":""}
|
|
38
|
-
`,
|
|
38
|
+
`,pe=z.div`
|
|
39
39
|
flex: 1 1 auto;
|
|
40
40
|
overflow-y: auto;
|
|
41
41
|
overflow-x: hidden;
|
|
@@ -50,7 +50,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
50
50
|
|
|
51
51
|
/* Section titles: "RECEIVABLES AND COLLECTIONS" */
|
|
52
52
|
.ant-menu-item-group-title {
|
|
53
|
-
padding: 16px ${
|
|
53
|
+
padding: 16px ${$.pageGutter}px 4px;
|
|
54
54
|
font-size: 11px;
|
|
55
55
|
font-weight: 600;
|
|
56
56
|
letter-spacing: 0.14em;
|
|
@@ -111,12 +111,12 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
111
111
|
&.hisd3-collapsed .ant-menu-item-group-title {
|
|
112
112
|
display: none;
|
|
113
113
|
}
|
|
114
|
-
`,
|
|
114
|
+
`,ce=z.a`
|
|
115
115
|
display: flex;
|
|
116
116
|
align-items: center;
|
|
117
117
|
gap: 10px;
|
|
118
|
-
height: ${
|
|
119
|
-
padding: 0 ${({$collapsed:e})=>e?12
|
|
118
|
+
height: ${le}px;
|
|
119
|
+
padding: 0 ${({$collapsed:e})=>e?12:$.pageGutter}px;
|
|
120
120
|
justify-content: ${({$collapsed:e})=>e?"center":"flex-start"};
|
|
121
121
|
color: inherit;
|
|
122
122
|
text-decoration: none;
|
|
@@ -153,14 +153,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
153
153
|
overflow: hidden;
|
|
154
154
|
text-overflow: ellipsis;
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
156
|
+
`,he=z(oe)`
|
|
157
157
|
display: flex;
|
|
158
158
|
align-items: center;
|
|
159
159
|
gap: 24px;
|
|
160
|
-
flex: 0 0 ${
|
|
161
|
-
height: ${
|
|
162
|
-
line-height: ${
|
|
163
|
-
padding: 0 ${
|
|
160
|
+
flex: 0 0 ${le}px;
|
|
161
|
+
height: ${le}px;
|
|
162
|
+
line-height: ${le}px;
|
|
163
|
+
padding: 0 ${$.pageGutter}px;
|
|
164
164
|
position: sticky;
|
|
165
165
|
top: 0;
|
|
166
166
|
z-index: 100;
|
|
@@ -172,24 +172,24 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
172
172
|
min-width: 0;
|
|
173
173
|
border-bottom: none;
|
|
174
174
|
background: transparent;
|
|
175
|
-
line-height: ${
|
|
175
|
+
line-height: ${le-2}px;
|
|
176
176
|
font-size: 14px;
|
|
177
177
|
font-weight: 500;
|
|
178
178
|
}
|
|
179
|
-
`,
|
|
179
|
+
`,ge=z(oe)`
|
|
180
180
|
display: flex;
|
|
181
181
|
align-items: center;
|
|
182
182
|
gap: 12px;
|
|
183
|
-
flex: 0 0 ${
|
|
184
|
-
height: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
padding: 0 ${
|
|
183
|
+
flex: 0 0 ${le}px;
|
|
184
|
+
height: ${le}px;
|
|
185
|
+
line-height: ${le}px;
|
|
186
|
+
padding: 0 ${$.pageGutter}px;
|
|
187
187
|
position: sticky;
|
|
188
188
|
top: 0;
|
|
189
189
|
z-index: 99;
|
|
190
190
|
background: var(--ant-color-bg-layout);
|
|
191
191
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
192
|
-
`,
|
|
192
|
+
`,ue=z.button`
|
|
193
193
|
border: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
194
194
|
background: transparent;
|
|
195
195
|
cursor: pointer;
|
|
@@ -205,7 +205,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
205
205
|
&:hover {
|
|
206
206
|
background: rgba(0, 0, 0, 0.05);
|
|
207
207
|
}
|
|
208
|
-
`,
|
|
208
|
+
`,be=z.button`
|
|
209
209
|
user-select: none;
|
|
210
210
|
-webkit-user-select: none;
|
|
211
211
|
position: absolute;
|
|
@@ -245,31 +245,31 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
245
245
|
& svg {
|
|
246
246
|
display: block;
|
|
247
247
|
}
|
|
248
|
-
`,
|
|
248
|
+
`,xe=z(ie)`
|
|
249
249
|
flex: 1 0 auto;
|
|
250
|
-
padding: 24px ${
|
|
251
|
-
`,
|
|
250
|
+
padding: 24px ${$.pageGutter}px 40px;
|
|
251
|
+
`,me=z.div`
|
|
252
252
|
flex: 0 0 auto;
|
|
253
253
|
display: flex;
|
|
254
254
|
flex-direction: column;
|
|
255
255
|
justify-content: center;
|
|
256
256
|
line-height: 1.25;
|
|
257
257
|
transition: all 0.2s ease;
|
|
258
|
-
padding: ${({$inHeader:e,$collapsed:t})=>e?"0 4px":t?"12px 0":`12px ${
|
|
258
|
+
padding: ${({$inHeader:e,$collapsed:t})=>e?"0 4px":t?"12px 0":`12px ${$.pageGutter}px`};
|
|
259
259
|
min-width: ${({$inHeader:e})=>e?"220px":"0"};
|
|
260
260
|
border-top: ${({$inHeader:e})=>e?"none":"var(--hisd3-rule-width, 1px) solid var(--ant-color-border)"};
|
|
261
261
|
|
|
262
262
|
& .ant-dropdown-link {
|
|
263
263
|
color: inherit;
|
|
264
264
|
}
|
|
265
|
-
`,
|
|
265
|
+
`,fe=z.a`
|
|
266
266
|
display: flex;
|
|
267
267
|
align-items: center;
|
|
268
268
|
justify-content: center;
|
|
269
269
|
cursor: pointer;
|
|
270
270
|
color: inherit;
|
|
271
271
|
gap: 10px;
|
|
272
|
-
`,
|
|
272
|
+
`,ve=z.span`
|
|
273
273
|
width: 34px;
|
|
274
274
|
height: 34px;
|
|
275
275
|
flex: 0 0 auto;
|
|
@@ -280,15 +280,15 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
280
280
|
font-weight: 700;
|
|
281
281
|
color: var(--ant-color-text);
|
|
282
282
|
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"#D9D6D2"};
|
|
283
|
-
`,
|
|
283
|
+
`,ye=z.span`
|
|
284
284
|
flex: 1 1 auto;
|
|
285
285
|
min-width: 0;
|
|
286
|
-
`,
|
|
286
|
+
`,we=z.span`
|
|
287
287
|
display: flex;
|
|
288
288
|
align-items: flex-start;
|
|
289
289
|
justify-content: space-between;
|
|
290
290
|
gap: 8px;
|
|
291
|
-
`,
|
|
291
|
+
`,Ae=z.h3`
|
|
292
292
|
margin: 0;
|
|
293
293
|
font-family: var(--font-body);
|
|
294
294
|
font-size: 14px;
|
|
@@ -300,7 +300,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
300
300
|
display: -webkit-box;
|
|
301
301
|
-webkit-line-clamp: 2;
|
|
302
302
|
-webkit-box-orient: vertical;
|
|
303
|
-
`,
|
|
303
|
+
`,ke=z.span`
|
|
304
304
|
width: 20px;
|
|
305
305
|
height: 22px;
|
|
306
306
|
display: flex;
|
|
@@ -312,7 +312,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
312
312
|
& svg {
|
|
313
313
|
display: block;
|
|
314
314
|
}
|
|
315
|
-
`,
|
|
315
|
+
`,ze=z.span`
|
|
316
316
|
display: block;
|
|
317
317
|
margin-top: 3px;
|
|
318
318
|
font-size: 11px;
|
|
@@ -323,18 +323,18 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
323
323
|
overflow: hidden;
|
|
324
324
|
text-overflow: ellipsis;
|
|
325
325
|
white-space: nowrap;
|
|
326
|
-
`,
|
|
326
|
+
`,Ce=(e,t)=>e.key??e.path??`menu-${t}`,Se=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const o=Ce(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:Se(e.children,t)}:{key:o,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),De=(e,t)=>w("a",{href:e.path||"/"},t),Be=({account:r,avatarSrc:o,settingsUrl:n,onLogout:l,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=i.useApp(),h=[...p??[],{key:"settings",icon:t(D,{}),label:"Settings",onClick:()=>{window.location.href=n??"/settings"}},{key:"logout",icon:t(B,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(E,{}),onOk:l})}}],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(me,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:t(a,{trigger:["click"],placement:s,menu:{items:h},children:e(fe,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[t(ve,{$src:o,"aria-hidden":!0,children:!o&&g}),!d&&e(ye,{children:[e(we,{children:[t(Ae,{title:r.fullName,children:r.fullName}),t(ke,{children:t(I,{})})]}),r.positionType&&t(ze,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:Ie}=n,Ee=({children:n,account:a,logoUrl:s,appName:p,menuItems:c,onLogout:h,pathname:g,avatarSrc:u,styledTheme:b,settingsUrl:x,antdTheme:m,renderMenuLink:f=De,headerExtra:v,userMenuItems:w,onCollapse:z,collapsed:S=!1,loading:D=!1,hideSidebar:B=!1,layoutTop:I=!1,hideCollapseTrigger:E=!1,collapseTrigger:R="edge",collapseTriggerOffset:U=Math.round(le/2),siderWidth:M=ne,bareContent:O=!1,hideHeaderBar:H=!1,brandHref:$="/",hideAccountCard:G=!1,scrollContent:P=!0})=>{const j=te(),q=void 0===m?j?null:X:m,[Q,K]=A(S);k((()=>{K(S)}),[S]);const W=y((()=>Se(c,f)),[c,f]),Z=y((()=>((e,t)=>{let r;const o=(e,i)=>{(e??[]).forEach(((e,n)=>{const a=Ce(e,n);if(e.path&&t.startsWith(e.path)){const o=t===e.path,n=e.path.length+(o?1:0);(!r||n>r.length)&&(r={key:a,parents:i,length:n})}e.children?.length&&o(e.children,[...i,a])}))};return o(e,[]),{selectedKey:r?.key,openKeys:r?.parents??[]}})(c,g)),[c,g]),[V,Y]=A((()=>Z.openKeys));k((()=>{Y((e=>Array.from(new Set([...e,...Z.openKeys]))))}),[Z.openKeys.join("|")]);const J=e=>{K(e),z?.(e)},_=Z.selectedKey?[Z.selectedKey]:[],ee=E?"none":R,re=Q?"Expand menu":"Collapse menu",oe=e(ce,{href:$,$collapsed:!I&&Q,children:[s?t("img",{src:s,alt:p}):t("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(I||!Q)&&t("h1",{children:p})]}),ie=O?n:t(xe,{children:n});if("undefined"==typeof document)return null;const me=t(i,{component:!1,children:t(l,{spinning:D,size:"large",children:B?t(r,{children:n}):e(de,I?{$appShell:P,children:[e(he,{children:[oe,t(d,{mode:"horizontal",items:W,selectedKeys:_}),v,!G&&t(Be,{account:a,avatarSrc:u,settingsUrl:x,onLogout:h,placement:"bottomRight",extraItems:w})]}),t(se,{$scroll:P,children:ie})]}:{hasSider:!0,$appShell:P,children:[e(Ie,{className:"hisd3-sider",width:M,collapsedWidth:ae,collapsible:!0,collapsed:Q,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&J(!0)},children:[oe,t(pe,{className:Q?"hisd3-collapsed":void 0,children:t(d,{mode:"inline",theme:"light",inlineCollapsed:Q,items:W,selectedKeys:_,openKeys:Q?void 0:V,onOpenChange:e=>Y(e)})}),!G&&t(Be,{account:a,avatarSrc:u,settingsUrl:x,onLogout:h,collapsed:Q,placement:"topRight",extraItems:w})]}),e(se,{$scroll:P,children:[!H&&e(ge,{children:["header"===ee&&t(ue,{type:"button","aria-label":re,onClick:()=>J(!Q),children:t(Q?L:F,{})}),t("span",{style:{flex:1}}),v]}),ie]}),"edge"===ee&&t(be,{type:"button","aria-label":re,title:re,$left:Q?ae:M,$top:U,onClick:()=>J(!Q),children:t(Q?T:N,{})})]})})});return j&&!b?q?t(o,{theme:q,children:me}):me:t(C,{theme:b??{},children:q?t(o,{theme:q,children:me}):me})},Le=$.pageGutter,Fe=z.header`
|
|
327
327
|
display: contents;
|
|
328
|
-
`,
|
|
328
|
+
`,Te=z.div`
|
|
329
329
|
user-select: none;
|
|
330
330
|
-webkit-user-select: none;
|
|
331
331
|
display: flex;
|
|
332
332
|
align-items: center;
|
|
333
333
|
gap: 16px;
|
|
334
|
-
height: ${
|
|
334
|
+
height: ${$.topBarHeight}px; /* same as the sidebar brand block */
|
|
335
335
|
/* never shrink: these are flex items of the scrolling column */
|
|
336
|
-
flex: 0 0 ${
|
|
337
|
-
padding: 0 ${
|
|
336
|
+
flex: 0 0 ${$.topBarHeight}px;
|
|
337
|
+
padding: 0 ${Le}px;
|
|
338
338
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
339
339
|
background: var(--ant-color-bg-layout);
|
|
340
340
|
position: sticky;
|
|
@@ -350,18 +350,18 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
350
350
|
.ant-breadcrumb ol {
|
|
351
351
|
flex-wrap: nowrap;
|
|
352
352
|
}
|
|
353
|
-
`,
|
|
353
|
+
`,Ne=z.div`
|
|
354
354
|
display: flex;
|
|
355
355
|
align-items: center;
|
|
356
356
|
gap: 10px;
|
|
357
357
|
flex: 0 0 auto;
|
|
358
|
-
`,
|
|
358
|
+
`,Re=z.div`
|
|
359
359
|
display: flex;
|
|
360
360
|
align-items: baseline;
|
|
361
361
|
gap: 16px;
|
|
362
362
|
flex-wrap: wrap;
|
|
363
363
|
flex: 0 0 auto;
|
|
364
|
-
padding: 20px ${
|
|
364
|
+
padding: 20px ${Le}px 18px;
|
|
365
365
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border-secondary);
|
|
366
366
|
|
|
367
367
|
h1 {
|
|
@@ -379,10 +379,446 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
379
379
|
font-size: 15px;
|
|
380
380
|
color: var(--ant-color-text-secondary);
|
|
381
381
|
}
|
|
382
|
-
`,
|
|
382
|
+
`,Ue=z.div`
|
|
383
383
|
flex: 1 0 auto;
|
|
384
|
-
padding: 24px ${
|
|
385
|
-
`,Ne=({title:r,subtitle:n,breadcrumb:o,extra:i,leading:a,hideTopBar:l=!1,className:d})=>e(Ee,{className:d,children:[!l&&e(ze,{children:[a,o&&o.length>0&&t(s,{items:o.map((e=>({title:e.href?t("a",{href:e.href,children:e.title}):e.title,onClick:e.onClick})))}),!o?.length&&t("span",{style:{flex:1}}),i&&t(De,{children:i})]}),e(Te,{children:[t("h1",{children:r}),n&&t("p",{children:n})]})]}),Be=S.button`
|
|
384
|
+
padding: 24px ${Le}px 40px;
|
|
385
|
+
`,Me=({title:r,subtitle:o,breadcrumb:i,extra:n,leading:a,hideTopBar:l=!1,className:d})=>e(Fe,{className:d,children:[!l&&e(Te,{children:[a,i&&i.length>0&&t(s,{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}}),n&&t(Ne,{children:n})]}),e(Re,{children:[t("h1",{children:r}),o&&t("p",{children:o})]})]}),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAACiCAYAAAAX4MJWAAAgnklEQVR42u1db2xb13U/9z7ZTmyKT6TFTFY7xImBQt2AuEDTQZBhuar2x0kwI1YsOShqkZJabBmg0KmXJd8ofikSpF7N6EP2YbJFOwNsyZGzALHcDYJreRGELdvqAluEYkmVdpU1Uyb5KMZ1bPPefXjvUo80KfHddx/fI/UOYMR2rMfH987vnN859/xB4Aq/RCIYpdvRDtLuzY76UsX/2zOc8gEAeLFyCAAOsL9HgPqNfAwFelb77bUMkT8AACj3eV/g+Uy5+3HlYUHuIzAolCKYBOy5ni5QsmJlN6rkXLeiAqM0KDRw0lMHCSBE3RfnAsDcgwpPS8WW1TOc8lVT4Y0AQn+fpe7dFRcAlagU8gynm7KjTWkA1Yo6TemNggEmqAR9QNj3cQHgSknFhwnA0IdyRdb+pJOVfiMwLJ16/GyeDrlAcAFQSjzDKR+zmMzaI0BjdQNtoEMFXmGTA8EFgI4n09hBAoAoCk9Lu+Dr36snxd8ICHrguwDYVGyHIs/L6Sb28lvDi8F6VvxSQLgJn7xLY8/kUHhaok3zFKJR4gJgk9Gdzab4pYCwFNsdX/OGz+RcANRxkKtmd3ypWg5urQiWM0Q+wZ5L1n9KqXdvsOkAoLdum93qV+IN6j02QJtR+V2rb8wb1DMl2iQAKKQ8Ms4k7FAo7bfXAABY+cJ6oh24AWh1RHYAlnkDz3DKl327KV1vZRX1D4BIBMPICAWEaLUoDzt4YooukkLYVHNUt5SorgGQf1mRCG5ND/y9lcpStvS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Z2cf5BXJ4Bh2uxSfDISkq59+hrpu3Mgx5a10Uka9Kv+mA4AREOitPssolboO+/NST0cQEHQZsarVUPxEsC0wc+eppD5NSWQZMSBv5A3qWfk3JQCK6dD9rP8t/WmxXoGILKPbz+9qLpfmY+cNesVgXqGaYGD8fktj8rLe4k9k78B6+Xk9iEt5g3pX/k0LAD0IIgD4L3o68orKrP5MZ2cDozqVyPnePqnPsx30XsFqisQ2s+gBOtPZ2fDUE7d8lebmGYiZV7y/6n9W/yzqWfk3NQDKURs9OHivycaFr2ddzQqbzhYBwJ2dnTi/jYVTUYspndnn4AKghkDAaAyzhKKuPdPZ2dC150lqRUnGwkrDNrNKX+pZXN27V+q6cSMn+lm4ANjEHkZ0OQbj5rVcg+MUwe4jsPDhKgqlFJBVNCK/BccVFwBOFdokr2VqhF1UPdG9unev5D5hFwA1ggRju8rWE7ac4qknbvncB+sCwNmiZYSM7ipbT3bi9iSAupbUfcAuAJwtU5eE8nSE4Bw+M54739sn1Wtu3gVAnQXCRJaFBML6wbluAOwCoGaEBatmNyvmVpbpFk/yVfeJugCoKemenX0QAcCtU3NxMyBAAIOshsmlP2Lk/wGgJmAjjF1q8QAAAABJRU5ErkJggg==",He=z(p)`
|
|
386
|
+
&.ant-btn {
|
|
387
|
+
display: inline-flex;
|
|
388
|
+
align-items: center;
|
|
389
|
+
gap: 8px;
|
|
390
|
+
height: 40px;
|
|
391
|
+
padding-inline: 16px;
|
|
392
|
+
font-size: 14px;
|
|
393
|
+
font-weight: 600;
|
|
394
|
+
box-shadow: none;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
&.ant-btn-sm {
|
|
398
|
+
height: 32px;
|
|
399
|
+
padding-inline: 12px;
|
|
400
|
+
font-size: 13px;
|
|
401
|
+
gap: 6px;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&.ant-btn-lg {
|
|
405
|
+
height: 52px;
|
|
406
|
+
padding-inline: 20px;
|
|
407
|
+
font-size: 16px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&.ant-btn-default {
|
|
411
|
+
border-width: var(--hisd3-rule-width, 1px);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.anticon {
|
|
415
|
+
font-size: 1.05em;
|
|
416
|
+
}
|
|
417
|
+
`,$e={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},Ge=({variant:e="secondary",...r})=>t(He,{...$e[e],...r}),Pe=e=>"soft"===e,je=1024,qe=560,Qe=z.div`
|
|
418
|
+
position: relative;
|
|
419
|
+
min-height: 100vh;
|
|
420
|
+
min-height: 100dvh; /* keeps mobile browser chrome from clipping the card */
|
|
421
|
+
width: 100%;
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
justify-content: ${({$side:e})=>"right"===e?"flex-end":"flex-start"};
|
|
425
|
+
overflow-x: hidden;
|
|
426
|
+
background: #fff;
|
|
427
|
+
|
|
428
|
+
@media (max-width: ${je}px) {
|
|
429
|
+
justify-content: center;
|
|
430
|
+
padding: 32px 24px;
|
|
431
|
+
background: linear-gradient(
|
|
432
|
+
180deg,
|
|
433
|
+
var(--ant-color-primary-bg) 0%,
|
|
434
|
+
#fff 46%
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/*
|
|
439
|
+
* Phone: a branded hero at the top with a white sheet rising over it,
|
|
440
|
+
* rather than a floating card. Set as a block so the two simply stack.
|
|
441
|
+
*/
|
|
442
|
+
@media (max-width: ${qe}px) {
|
|
443
|
+
display: flex;
|
|
444
|
+
flex-direction: column;
|
|
445
|
+
align-items: stretch;
|
|
446
|
+
justify-content: flex-start;
|
|
447
|
+
padding: 0;
|
|
448
|
+
background: var(--ant-color-primary);
|
|
449
|
+
}
|
|
450
|
+
`,Ke=z.aside`
|
|
451
|
+
position: absolute;
|
|
452
|
+
/* the panel takes the side the card does not */
|
|
453
|
+
inset: ${({$variant:e,$side:t})=>{const r=Pe(e)?"28px":"0";return"right"===t?`${r} 40% ${r} ${r}`:`${r} ${r} ${r} 40%`}};
|
|
454
|
+
border-radius: ${({$variant:e})=>Pe(e)?"28px":"0"};
|
|
455
|
+
background: var(--ant-color-primary);
|
|
456
|
+
overflow: hidden;
|
|
457
|
+
display: flex;
|
|
458
|
+
flex-direction: column;
|
|
459
|
+
justify-content: center;
|
|
460
|
+
padding: ${({$side:e})=>"right"===e?"0 12% 0 8%":"0 6% 0 12%"};
|
|
461
|
+
color: #fff;
|
|
462
|
+
user-select: none;
|
|
463
|
+
|
|
464
|
+
h2 {
|
|
465
|
+
position: relative;
|
|
466
|
+
margin: 0;
|
|
467
|
+
font-family: var(--font-heading);
|
|
468
|
+
font-size: clamp(26px, 3.1vw, 44px);
|
|
469
|
+
line-height: 1.15;
|
|
470
|
+
font-weight: ${({$variant:e})=>Pe(e)?700:"var(--font-weight-heading, 800)"};
|
|
471
|
+
letter-spacing: -0.01em;
|
|
472
|
+
max-width: 12em;
|
|
473
|
+
color: #fff;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
p {
|
|
477
|
+
position: relative;
|
|
478
|
+
margin: 16px 0 0;
|
|
479
|
+
font-size: 15px;
|
|
480
|
+
opacity: 0.82;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
@media (max-width: ${je}px) {
|
|
484
|
+
display: none;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* phone: full-width hero above the sheet */
|
|
488
|
+
@media (max-width: ${qe}px) {
|
|
489
|
+
display: flex;
|
|
490
|
+
/* relative, not static: keeps the pattern layer inside the hero */
|
|
491
|
+
position: relative;
|
|
492
|
+
inset: auto;
|
|
493
|
+
flex: 0 0 auto;
|
|
494
|
+
border-radius: 0;
|
|
495
|
+
min-height: 32vh;
|
|
496
|
+
padding: 30px 22px 46px;
|
|
497
|
+
justify-content: flex-end;
|
|
498
|
+
|
|
499
|
+
h2 {
|
|
500
|
+
font-size: 27px;
|
|
501
|
+
max-width: none;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
p {
|
|
505
|
+
margin-top: 10px;
|
|
506
|
+
font-size: 14px;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
`,We=z.div`
|
|
510
|
+
display: none;
|
|
511
|
+
|
|
512
|
+
@media (max-width: ${qe}px) {
|
|
513
|
+
position: relative;
|
|
514
|
+
display: flex;
|
|
515
|
+
align-items: center;
|
|
516
|
+
gap: 10px;
|
|
517
|
+
margin-bottom: 26px;
|
|
518
|
+
|
|
519
|
+
img {
|
|
520
|
+
width: 38px;
|
|
521
|
+
height: 38px;
|
|
522
|
+
object-fit: contain;
|
|
523
|
+
flex: 0 0 auto;
|
|
524
|
+
background: #fff;
|
|
525
|
+
border-radius: 10px;
|
|
526
|
+
padding: 4px;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.hisd3-hero-name {
|
|
530
|
+
display: block;
|
|
531
|
+
font-family: var(--font-heading);
|
|
532
|
+
font-size: 17px;
|
|
533
|
+
font-weight: 700;
|
|
534
|
+
line-height: 1.1;
|
|
535
|
+
color: #fff;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.hisd3-hero-tagline {
|
|
539
|
+
display: block;
|
|
540
|
+
margin-top: 2px;
|
|
541
|
+
font-size: 9px;
|
|
542
|
+
letter-spacing: 0.14em;
|
|
543
|
+
text-transform: uppercase;
|
|
544
|
+
opacity: 0.75;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
`,Ze=z.div`
|
|
548
|
+
position: absolute;
|
|
549
|
+
inset: 0;
|
|
550
|
+
background: center / cover no-repeat url("${({$src:e})=>e}");
|
|
551
|
+
mix-blend-mode: multiply;
|
|
552
|
+
opacity: 0.35;
|
|
553
|
+
`,Ve=z.div`
|
|
554
|
+
position: absolute;
|
|
555
|
+
left: 0;
|
|
556
|
+
right: 0;
|
|
557
|
+
bottom: 0;
|
|
558
|
+
height: 52%;
|
|
559
|
+
opacity: 0.16;
|
|
560
|
+
background: repeating-linear-gradient(
|
|
561
|
+
90deg,
|
|
562
|
+
#fff 0 26px,
|
|
563
|
+
transparent 26px 34px,
|
|
564
|
+
#fff 34px 44px,
|
|
565
|
+
transparent 44px 58px,
|
|
566
|
+
#fff 58px 96px,
|
|
567
|
+
transparent 96px 108px,
|
|
568
|
+
#fff 108px 130px,
|
|
569
|
+
transparent 130px 150px
|
|
570
|
+
);
|
|
571
|
+
mask-image: linear-gradient(
|
|
572
|
+
to top,
|
|
573
|
+
#000 0 30%,
|
|
574
|
+
rgba(0, 0, 0, 0.7) 55%,
|
|
575
|
+
transparent 100%
|
|
576
|
+
);
|
|
577
|
+
clip-path: polygon(
|
|
578
|
+
0 62%, 6% 62%, 6% 40%, 13% 40%, 13% 55%, 21% 55%, 21% 22%, 28% 22%,
|
|
579
|
+
28% 48%, 36% 48%, 36% 33%, 44% 33%, 44% 58%, 52% 58%, 52% 14%, 60% 14%,
|
|
580
|
+
60% 44%, 68% 44%, 68% 30%, 77% 30%, 77% 52%, 86% 52%, 86% 26%, 94% 26%,
|
|
581
|
+
94% 47%, 100% 47%, 100% 100%, 0 100%
|
|
582
|
+
);
|
|
583
|
+
`,Ye=z.div`
|
|
584
|
+
position: absolute;
|
|
585
|
+
top: 30px;
|
|
586
|
+
${({$side:e})=>"right"===e?"left: 40px;":"right: 40px;"}
|
|
587
|
+
display: flex;
|
|
588
|
+
align-items: center;
|
|
589
|
+
gap: 10px;
|
|
590
|
+
opacity: 0.28;
|
|
591
|
+
font-family: var(--font-heading);
|
|
592
|
+
font-size: 24px;
|
|
593
|
+
font-weight: var(--font-weight-heading, 800);
|
|
594
|
+
letter-spacing: 0.02em;
|
|
595
|
+
color: #fff;
|
|
596
|
+
|
|
597
|
+
img {
|
|
598
|
+
width: 38px;
|
|
599
|
+
height: 38px;
|
|
600
|
+
object-fit: contain;
|
|
601
|
+
filter: brightness(0) invert(1);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
@media (max-width: ${qe}px) {
|
|
605
|
+
display: none;
|
|
606
|
+
}
|
|
607
|
+
`,Je=z.div`
|
|
608
|
+
position: absolute;
|
|
609
|
+
${({$side:e})=>"right"===e?"right: -70px;":"left: -70px;"}
|
|
610
|
+
bottom: 40px;
|
|
611
|
+
width: 190px;
|
|
612
|
+
height: 190px;
|
|
613
|
+
opacity: 0.5;
|
|
614
|
+
pointer-events: none;
|
|
615
|
+
border-radius: ${({$variant:e})=>Pe(e)?"20px":"0"};
|
|
616
|
+
background: ${["0 0","100% 0","0 100%","100% 100%"].map((e=>`linear-gradient(var(--ant-color-primary-bg), var(--ant-color-primary-bg)) ${e} / 46% 46% no-repeat`)).join(", ")};
|
|
617
|
+
|
|
618
|
+
@media (max-width: ${je}px) {
|
|
619
|
+
display: none;
|
|
620
|
+
}
|
|
621
|
+
`,Xe=z.form`
|
|
622
|
+
position: relative;
|
|
623
|
+
z-index: 2;
|
|
624
|
+
margin: 40px ${({$side:e})=>"right"===e?"7% 40px 0":"0 40px 7%"};
|
|
625
|
+
width: min(430px, calc(100% - 48px));
|
|
626
|
+
padding: 40px 44px 34px;
|
|
627
|
+
background: #fff;
|
|
628
|
+
|
|
629
|
+
${({$variant:e})=>Pe(e)?S`
|
|
630
|
+
border-radius: 18px;
|
|
631
|
+
box-shadow: 0 4px 10px rgba(16, 15, 14, 0.05),
|
|
632
|
+
0 24px 60px rgba(16, 15, 14, 0.14);
|
|
633
|
+
`:S`
|
|
634
|
+
border-radius: 0;
|
|
635
|
+
border: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
636
|
+
box-shadow: 0 2px 4px rgba(16, 15, 14, 0.04),
|
|
637
|
+
0 18px 44px rgba(16, 15, 14, 0.1);
|
|
638
|
+
`}
|
|
639
|
+
|
|
640
|
+
/* tablet and below: no panel, so centre the card */
|
|
641
|
+
@media (max-width: ${je}px) {
|
|
642
|
+
margin: 0;
|
|
643
|
+
width: min(440px, 100%);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/* phone: a sheet that rises over the hero and runs to the bottom */
|
|
647
|
+
@media (max-width: ${qe}px) {
|
|
648
|
+
width: 100%;
|
|
649
|
+
/* grow to fill whatever the hero leaves, so white runs to the bottom */
|
|
650
|
+
flex: 1 0 auto;
|
|
651
|
+
margin: -28px 0 0;
|
|
652
|
+
padding: 30px 22px 34px;
|
|
653
|
+
box-shadow: none;
|
|
654
|
+
border: 0;
|
|
655
|
+
border-radius: ${({$variant:e})=>Pe(e)?"28px 28px 0 0":"20px 20px 0 0"};
|
|
656
|
+
}
|
|
657
|
+
`,_e=z.div`
|
|
658
|
+
display: flex;
|
|
659
|
+
align-items: center;
|
|
660
|
+
gap: 12px;
|
|
661
|
+
margin-bottom: 28px;
|
|
662
|
+
|
|
663
|
+
.hisd3-login-logo {
|
|
664
|
+
width: 54px;
|
|
665
|
+
height: 54px;
|
|
666
|
+
flex: 0 0 auto;
|
|
667
|
+
object-fit: contain;
|
|
668
|
+
display: block;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.hisd3-login-name {
|
|
672
|
+
display: block;
|
|
673
|
+
font-family: var(--font-heading);
|
|
674
|
+
font-size: 25px;
|
|
675
|
+
line-height: 1.05;
|
|
676
|
+
font-weight: ${({$variant:e})=>Pe(e)?700:"var(--font-weight-heading, 800)"};
|
|
677
|
+
letter-spacing: ${({$variant:e})=>Pe(e)?"-0.01em":"0.03em"};
|
|
678
|
+
text-transform: ${({$variant:e})=>Pe(e)?"none":"uppercase"};
|
|
679
|
+
color: var(--ant-color-text);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.hisd3-login-tagline {
|
|
683
|
+
display: block;
|
|
684
|
+
margin-top: 4px;
|
|
685
|
+
font-size: 9px;
|
|
686
|
+
letter-spacing: 0.14em;
|
|
687
|
+
text-transform: uppercase;
|
|
688
|
+
color: var(--ant-color-text-tertiary);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
@media (max-width: ${qe}px) {
|
|
692
|
+
display: none;
|
|
693
|
+
}
|
|
694
|
+
`,et=z.h1`
|
|
695
|
+
margin: 0 0 6px;
|
|
696
|
+
font-family: var(--font-heading);
|
|
697
|
+
font-size: 26px;
|
|
698
|
+
font-weight: ${({$variant:e})=>Pe(e)?700:"var(--font-weight-heading, 800)"};
|
|
699
|
+
color: var(--ant-color-text);
|
|
700
|
+
|
|
701
|
+
@media (max-width: ${qe}px) {
|
|
702
|
+
font-size: 22px;
|
|
703
|
+
}
|
|
704
|
+
`,tt=z.p`
|
|
705
|
+
margin: 0 0 22px;
|
|
706
|
+
font-size: 14px;
|
|
707
|
+
color: var(--ant-color-text-secondary);
|
|
708
|
+
`,rt=z.label`
|
|
709
|
+
display: block;
|
|
710
|
+
margin-bottom: 16px;
|
|
711
|
+
|
|
712
|
+
.hisd3-field-label {
|
|
713
|
+
display: block;
|
|
714
|
+
margin-bottom: 7px;
|
|
715
|
+
font-size: 13px;
|
|
716
|
+
font-weight: 600;
|
|
717
|
+
color: var(--ant-color-text-secondary);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.hisd3-field-control {
|
|
721
|
+
position: relative;
|
|
722
|
+
display: flex;
|
|
723
|
+
align-items: center;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
input {
|
|
727
|
+
width: 100%;
|
|
728
|
+
height: 48px;
|
|
729
|
+
padding: 0 44px 0 16px;
|
|
730
|
+
font: inherit;
|
|
731
|
+
font-size: 15px;
|
|
732
|
+
color: var(--ant-color-text);
|
|
733
|
+
background: ${({$variant:e})=>Pe(e)?"#F2F3F5":"var(--hisd3-control-bg, #e6e4e1)"};
|
|
734
|
+
border: ${({$variant:e})=>Pe(e)?"1px":"var(--hisd3-rule-width, 1px)"}
|
|
735
|
+
solid transparent;
|
|
736
|
+
border-radius: ${({$variant:e})=>Pe(e)?"10px":"0"};
|
|
737
|
+
outline: none;
|
|
738
|
+
transition: border-color 0.15s ease, background 0.15s ease;
|
|
739
|
+
|
|
740
|
+
&::placeholder {
|
|
741
|
+
color: var(--ant-color-text-tertiary);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
&:focus {
|
|
745
|
+
background: #fff;
|
|
746
|
+
border-color: var(--ant-color-primary);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
&:disabled {
|
|
750
|
+
opacity: 0.6;
|
|
751
|
+
cursor: not-allowed;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
@media (max-width: ${qe}px) {
|
|
756
|
+
margin-bottom: 14px;
|
|
757
|
+
|
|
758
|
+
input {
|
|
759
|
+
height: 46px;
|
|
760
|
+
/* 16px keeps iOS Safari from zooming in on focus */
|
|
761
|
+
font-size: 16px;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
button.hisd3-field-reveal {
|
|
766
|
+
position: absolute;
|
|
767
|
+
right: 12px;
|
|
768
|
+
display: flex;
|
|
769
|
+
padding: 6px;
|
|
770
|
+
border: 0;
|
|
771
|
+
background: none;
|
|
772
|
+
color: var(--ant-color-text-tertiary);
|
|
773
|
+
cursor: pointer;
|
|
774
|
+
|
|
775
|
+
&:hover {
|
|
776
|
+
color: var(--ant-color-text);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
`,ot=z.div`
|
|
780
|
+
display: flex;
|
|
781
|
+
align-items: center;
|
|
782
|
+
justify-content: space-between;
|
|
783
|
+
gap: 12px;
|
|
784
|
+
margin: 18px 0 24px;
|
|
785
|
+
font-size: 14px;
|
|
786
|
+
|
|
787
|
+
.hisd3-remember {
|
|
788
|
+
display: flex;
|
|
789
|
+
align-items: center;
|
|
790
|
+
gap: 10px;
|
|
791
|
+
color: var(--ant-color-text);
|
|
792
|
+
cursor: pointer;
|
|
793
|
+
user-select: none;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
button.hisd3-forgot {
|
|
797
|
+
padding: 0;
|
|
798
|
+
border: 0;
|
|
799
|
+
background: none;
|
|
800
|
+
font: inherit;
|
|
801
|
+
font-weight: 500;
|
|
802
|
+
color: var(--ant-color-primary);
|
|
803
|
+
cursor: pointer;
|
|
804
|
+
|
|
805
|
+
&:hover {
|
|
806
|
+
text-decoration: underline;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
`,it=z.div`
|
|
810
|
+
margin-bottom: 16px;
|
|
811
|
+
padding: 10px 14px;
|
|
812
|
+
font-size: 13px;
|
|
813
|
+
color: var(--ant-color-error, #e5401c);
|
|
814
|
+
background: rgba(229, 64, 28, 0.08);
|
|
815
|
+
border-left: 3px solid var(--ant-color-error, #e5401c);
|
|
816
|
+
`,nt=z.p`
|
|
817
|
+
margin: 20px 0 0;
|
|
818
|
+
text-align: center;
|
|
819
|
+
font-size: 14px;
|
|
820
|
+
color: var(--ant-color-text-secondary);
|
|
821
|
+
`,at=({appName:r,tagline:o,logoSrc:i=Oe,title:n="Nice to see you again",subtitle:a,panelTitle:l="One system for every part of your hospital.",panelSubtitle:d="Patient care, billing and operations — connected.",panelImage:s,organisationName:p="HISD3",variant:h="soft",side:g="right",identifierLabel:u="User ID or email",identifierPlaceholder:b="Email or user ID",passwordLabel:x="Password",passwordPlaceholder:m="Enter password",submitLabel:f="Sign in",hideRemember:v=!1,rememberLabel:y="Remember me",onForgotPassword:w,forgotLabel:k="Forgot password?",error:z,loading:C=!1,onSubmit:S,footer:D,className:B})=>{const[I,E]=A(""),[L,F]=A(""),[T,N]=A(!1),[M,O]=A(!1);return e(Qe,{className:B,$side:g,children:[t(Je,{$variant:h,$side:g,"aria-hidden":!0}),e(Ke,{$variant:h,$side:g,children:[s?t(Ze,{$src:s,"aria-hidden":!0}):t(Ve,{"aria-hidden":!0}),e(Ye,{$side:g,"aria-hidden":!0,children:[t("img",{src:Oe,alt:""}),p]}),e(We,{children:[i&&t("img",{src:i,alt:""}),e("span",{children:[t("span",{className:"hisd3-hero-name",children:r}),o&&t("span",{className:"hisd3-hero-tagline",children:o})]})]}),t("h2",{children:l}),d&&t("p",{children:d})]}),e(Xe,{$variant:h,$side:g,onSubmit:e=>{e.preventDefault(),C||S({identifier:I,password:L,remember:T})},noValidate:!0,children:[e(_e,{$variant:h,children:[i&&t("img",{className:"hisd3-login-logo",src:i,alt:""}),e("span",{children:[t("span",{className:"hisd3-login-name",children:r}),o&&t("span",{className:"hisd3-login-tagline",children:o})]})]}),t(et,{$variant:h,children:n}),a&&t(tt,{children:a}),z&&t(it,{role:"alert",children:z}),e(rt,{$variant:h,children:[t("span",{className:"hisd3-field-label",children:u}),t("span",{className:"hisd3-field-control",children:t("input",{value:I,onChange:e=>E(e.target.value),placeholder:b,autoComplete:"username",disabled:C,autoFocus:!0})})]}),e(rt,{$variant:h,children:[t("span",{className:"hisd3-field-label",children:x}),e("span",{className:"hisd3-field-control",children:[t("input",{type:M?"text":"password",value:L,onChange:e=>F(e.target.value),placeholder:m,autoComplete:"current-password",disabled:C}),t("button",{type:"button",className:"hisd3-field-reveal","aria-label":M?"Hide password":"Show password",onClick:()=>O((e=>!e)),tabIndex:-1,children:t(M?R:U,{})})]})]}),(!v||w)&&e(ot,{children:[v?t("span",{}):e("label",{className:"hisd3-remember",children:[t(c,{size:"small",checked:T,onChange:N,disabled:C}),y]}),w&&t("button",{type:"button",className:"hisd3-forgot",onClick:w,children:k})]}),t(Ge,{variant:"primary",htmlType:"submit",size:"large",loading:C,block:!0,style:{borderRadius:"soft"===h?10:0,height:50},children:f}),D&&t(nt,{children:D})]})]})},lt=z.button`
|
|
386
822
|
user-select: none;
|
|
387
823
|
-webkit-user-select: none;
|
|
388
824
|
position: relative;
|
|
@@ -419,7 +855,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
419
855
|
/* the stock bell is narrow; widen it a touch for a fuller silhouette */
|
|
420
856
|
transform: scaleX(var(--hisd3-bell-stretch, 1.12));
|
|
421
857
|
}
|
|
422
|
-
`,
|
|
858
|
+
`,dt=z.span`
|
|
423
859
|
position: absolute;
|
|
424
860
|
top: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
425
861
|
right: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
@@ -437,7 +873,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
437
873
|
border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
|
|
438
874
|
border-radius: 999px;
|
|
439
875
|
pointer-events: none;
|
|
440
|
-
`,
|
|
876
|
+
`,st=z.div`
|
|
441
877
|
width: 360px;
|
|
442
878
|
max-width: calc(100vw - 32px);
|
|
443
879
|
overflow: hidden;
|
|
@@ -446,7 +882,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
446
882
|
border-radius: var(--hisd3-popup-radius, 10px);
|
|
447
883
|
box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
|
|
448
884
|
0 12px 32px rgba(16, 15, 14, 0.14);
|
|
449
|
-
`,
|
|
885
|
+
`,pt=z.div`
|
|
450
886
|
display: flex;
|
|
451
887
|
align-items: center;
|
|
452
888
|
justify-content: space-between;
|
|
@@ -474,10 +910,10 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
474
910
|
text-decoration: underline;
|
|
475
911
|
}
|
|
476
912
|
}
|
|
477
|
-
`,
|
|
913
|
+
`,ct=z.div`
|
|
478
914
|
max-height: 380px;
|
|
479
915
|
overflow-y: auto;
|
|
480
|
-
`,
|
|
916
|
+
`,ht=z.button`
|
|
481
917
|
display: flex;
|
|
482
918
|
align-items: flex-start;
|
|
483
919
|
gap: 12px;
|
|
@@ -492,7 +928,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
492
928
|
&:hover {
|
|
493
929
|
background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"rgba(0,0,0,0.04)"};
|
|
494
930
|
}
|
|
495
|
-
`,
|
|
931
|
+
`,gt=z.span`
|
|
496
932
|
width: 36px;
|
|
497
933
|
height: 36px;
|
|
498
934
|
flex: 0 0 auto;
|
|
@@ -503,7 +939,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
503
939
|
color: var(--ant-color-text);
|
|
504
940
|
border-radius: 50%;
|
|
505
941
|
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.06)"};
|
|
506
|
-
`,
|
|
942
|
+
`,ut=z.span`
|
|
507
943
|
flex: 1 1 auto;
|
|
508
944
|
min-width: 0;
|
|
509
945
|
|
|
@@ -528,14 +964,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
528
964
|
font-size: 12px;
|
|
529
965
|
color: var(--ant-color-text-tertiary);
|
|
530
966
|
}
|
|
531
|
-
`,
|
|
967
|
+
`,bt=z.span`
|
|
532
968
|
width: 8px;
|
|
533
969
|
height: 8px;
|
|
534
970
|
margin-top: 6px;
|
|
535
971
|
flex: 0 0 auto;
|
|
536
972
|
border-radius: 50%;
|
|
537
973
|
background: var(--ant-color-primary);
|
|
538
|
-
`,
|
|
974
|
+
`,xt=z.button`
|
|
539
975
|
display: block;
|
|
540
976
|
width: 100%;
|
|
541
977
|
padding: 12px 16px;
|
|
@@ -552,9 +988,9 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
552
988
|
&:hover {
|
|
553
989
|
background: rgba(0, 0, 0, 0.04);
|
|
554
990
|
}
|
|
555
|
-
`,
|
|
991
|
+
`,mt=z.div`
|
|
556
992
|
padding: 28px 16px;
|
|
557
|
-
`,
|
|
993
|
+
`,ft=({items:r=[],count:o,loading:i=!1,title:n="Notifications",onMarkAllRead:d,onSeeAll:s,seeAllLabel:p="See all notifications",emptyText:c="You're all caught up",onOpenChange:g,size:u=40,icon:b,className:x})=>{const[m,f]=A(!1),v=o??r.filter((e=>e.unread)).length,y=e(st,{children:[e(pt,{children:[t("h4",{children:n}),d&&v>0&&t("button",{type:"button",onClick:d,children:"Mark all as read"})]}),i?t(mt,{style:{textAlign:"center"},children:t(l,{})}):0===r.length?t(mt,{children:t(h,{image:h.PRESENTED_IMAGE_SIMPLE,description:c})}):t(ct,{children:r.map((r=>e(ht,{type:"button",$unread:r.unread,onClick:()=>{r.onClick?.(r),f(!1),g?.(!1)},children:[t(gt,{$src:r.avatarSrc,children:!r.avatarSrc&&(r.icon??t(M,{}))}),e(ut,{children:[t("strong",{children:r.title}),r.description&&t("span",{children:r.description}),r.time&&t("time",{children:r.time})]}),r.unread&&t(bt,{})]},r.id)))}),s&&t(xt,{type:"button",onClick:()=>{s(),f(!1),g?.(!1)},children:p})]});return t(a,{open:m,onOpenChange:e=>{f(e),g?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>y,children:e(lt,{type:"button",$size:u,$open:m,className:x,"aria-label":`${n}${v?` (${v} unread)`:""}`,children:[b??t(M,{}),v>0&&t(dt,{$size:u,children:v>99?"99+":v})]})})},vt=z.button`
|
|
558
994
|
user-select: none;
|
|
559
995
|
-webkit-user-select: none;
|
|
560
996
|
position: relative;
|
|
@@ -590,7 +1026,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
590
1026
|
display: block;
|
|
591
1027
|
border-radius: inherit;
|
|
592
1028
|
}
|
|
593
|
-
`,
|
|
1029
|
+
`,yt=z.span`
|
|
594
1030
|
position: absolute;
|
|
595
1031
|
right: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
596
1032
|
bottom: ${({$size:e})=>-Math.round(.05*e)}px;
|
|
@@ -611,7 +1047,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
611
1047
|
& svg {
|
|
612
1048
|
display: block;
|
|
613
1049
|
}
|
|
614
|
-
`,
|
|
1050
|
+
`,wt=z.div`
|
|
615
1051
|
display: flex;
|
|
616
1052
|
align-items: center;
|
|
617
1053
|
gap: 12px;
|
|
@@ -646,7 +1082,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
646
1082
|
overflow: hidden;
|
|
647
1083
|
text-overflow: ellipsis;
|
|
648
1084
|
}
|
|
649
|
-
`,
|
|
1085
|
+
`,At=z.span`
|
|
650
1086
|
width: 40px;
|
|
651
1087
|
height: 40px;
|
|
652
1088
|
flex: 0 0 auto;
|
|
@@ -657,7 +1093,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
657
1093
|
font-weight: 700;
|
|
658
1094
|
border-radius: 50%;
|
|
659
1095
|
background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.08)"};
|
|
660
|
-
`,
|
|
1096
|
+
`,kt=z.div`
|
|
661
1097
|
overflow: hidden;
|
|
662
1098
|
background: var(--ant-color-bg-elevated);
|
|
663
1099
|
border: 1px solid var(--ant-color-border-secondary);
|
|
@@ -680,35 +1116,35 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
680
1116
|
border-radius: 8px;
|
|
681
1117
|
font-size: 14px;
|
|
682
1118
|
}
|
|
683
|
-
`,
|
|
1119
|
+
`,zt=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("")||"?",Ct=({account:r,avatarSrc:o,settingsUrl:n="/settings",onSettings:l,onLogout:d,confirmLogout:s=!0,extraItems:p,shape:c="circle",size:h=40,hideChevron:g=!1,className:u})=>{const{modal:b}=i.useApp(),[x,m]=A(!1),f=[...p??[],...null!==n||l?[{key:"settings",icon:t(D,{}),label:"Settings",onClick:()=>{l?l():n&&(window.location.href=n)}}]:[],{key:"logout",icon:t(B,{}),label:"Logout",onClick:()=>{s?b.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t(E,{}),okText:"Logout",onOk:d}):d()}}];return t(a,{open:x,onOpenChange:m,trigger:["click"],placement:"bottomRight",menu:{items:f,onClick:()=>m(!1)},popupRender:i=>e(kt,{children:[e(wt,{children:[t(At,{$src:o,children:!o&&zt(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(vt,{type:"button",className:u,$shape:c,$size:h,$open:x,"aria-label":`Account menu for ${r.fullName}`,children:[o?t("img",{src:o,alt:""}):zt(r.fullName),!g&&t(yt,{$size:h,$open:x,"aria-hidden":!0,children:t(I,{})})]})})},St=z.div`
|
|
684
1120
|
display: flex;
|
|
685
1121
|
align-items: center;
|
|
686
1122
|
gap: 8px;
|
|
687
1123
|
flex: 0 0 auto;
|
|
688
|
-
`,
|
|
1124
|
+
`,Dt=z.span`
|
|
689
1125
|
width: 2px;
|
|
690
1126
|
height: 24px;
|
|
691
1127
|
background: var(--ant-color-border-secondary);
|
|
692
1128
|
flex: 0 0 auto;
|
|
693
|
-
`,
|
|
1129
|
+
`,Bt=({children:r,divided:o=!1,className:i})=>{const n=m.Children.toArray(r).filter(Boolean);return t(St,{className:i,children:n.map(((r,i)=>e(m.Fragment,{children:[o&&i===n.length-1&&i>0&&t(Dt,{}),r]},i)))})},It=z.div`
|
|
694
1130
|
.ant-table-wrapper .ant-table {
|
|
695
1131
|
background: transparent;
|
|
696
1132
|
}
|
|
697
1133
|
|
|
698
1134
|
.ant-table-wrapper .ant-table-thead > tr > th {
|
|
699
|
-
font-size:
|
|
1135
|
+
font-size: 11px;
|
|
700
1136
|
font-weight: 700;
|
|
701
|
-
letter-spacing: 0.
|
|
1137
|
+
letter-spacing: 0.08em;
|
|
702
1138
|
text-transform: uppercase;
|
|
703
1139
|
color: var(--ant-color-text-tertiary);
|
|
704
|
-
padding-block:
|
|
1140
|
+
padding-block: 9px;
|
|
705
1141
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
706
1142
|
background: transparent;
|
|
707
1143
|
}
|
|
708
1144
|
|
|
709
1145
|
.ant-table-wrapper .ant-table-tbody > tr > td {
|
|
710
1146
|
border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border-secondary);
|
|
711
|
-
font-size:
|
|
1147
|
+
font-size: 14px;
|
|
712
1148
|
}
|
|
713
1149
|
|
|
714
1150
|
.ant-table-wrapper .ant-table-tbody > tr:last-child > td {
|
|
@@ -740,24 +1176,24 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
740
1176
|
.hisd3-cell-muted {
|
|
741
1177
|
color: var(--ant-color-text-tertiary);
|
|
742
1178
|
}
|
|
743
|
-
`,
|
|
744
|
-
padding:
|
|
745
|
-
font-size:
|
|
1179
|
+
`,Et=z.div`
|
|
1180
|
+
padding: 14px 0 8px;
|
|
1181
|
+
font-size: 11px;
|
|
746
1182
|
font-weight: 600;
|
|
747
1183
|
letter-spacing: 0.1em;
|
|
748
1184
|
text-transform: uppercase;
|
|
749
1185
|
color: var(--ant-color-text-tertiary);
|
|
750
|
-
`,
|
|
1186
|
+
`,Lt=z.div`
|
|
751
1187
|
user-select: none;
|
|
752
1188
|
-webkit-user-select: none;
|
|
753
1189
|
display: flex;
|
|
754
1190
|
align-items: center;
|
|
755
|
-
gap:
|
|
756
|
-
padding:
|
|
1191
|
+
gap: 16px;
|
|
1192
|
+
padding: 14px 0 4px;
|
|
757
1193
|
|
|
758
1194
|
.hisd3-total {
|
|
759
1195
|
flex: 1 1 auto;
|
|
760
|
-
font-size:
|
|
1196
|
+
font-size: 13px;
|
|
761
1197
|
color: var(--ant-color-text-secondary);
|
|
762
1198
|
}
|
|
763
1199
|
|
|
@@ -771,14 +1207,14 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
771
1207
|
.ant-pagination-jump-prev,
|
|
772
1208
|
.ant-pagination-jump-next {
|
|
773
1209
|
margin: 0;
|
|
774
|
-
min-width:
|
|
775
|
-
height:
|
|
776
|
-
line-height:
|
|
1210
|
+
min-width: 34px;
|
|
1211
|
+
height: 34px;
|
|
1212
|
+
line-height: 34px;
|
|
777
1213
|
border: 0;
|
|
778
1214
|
border-right: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
779
1215
|
border-radius: 0;
|
|
780
1216
|
font-weight: 700;
|
|
781
|
-
font-size:
|
|
1217
|
+
font-size: 13px;
|
|
782
1218
|
background: transparent;
|
|
783
1219
|
|
|
784
1220
|
&:last-child {
|
|
@@ -800,7 +1236,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
800
1236
|
.ant-pagination-prev .ant-pagination-item-link,
|
|
801
1237
|
.ant-pagination-next .ant-pagination-item-link {
|
|
802
1238
|
color: var(--ant-color-text);
|
|
803
|
-
font-size:
|
|
1239
|
+
font-size: 11px;
|
|
804
1240
|
}
|
|
805
1241
|
|
|
806
1242
|
.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
|
|
@@ -809,18 +1245,18 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
809
1245
|
font-weight: 700;
|
|
810
1246
|
}
|
|
811
1247
|
}
|
|
812
|
-
`,
|
|
1248
|
+
`,Ft=z.div`
|
|
813
1249
|
display: inline-flex;
|
|
814
1250
|
border: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
815
1251
|
|
|
816
1252
|
button {
|
|
817
|
-
height:
|
|
818
|
-
padding: 0
|
|
1253
|
+
height: 34px;
|
|
1254
|
+
padding: 0 14px;
|
|
819
1255
|
border: 0;
|
|
820
1256
|
border-right: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
|
|
821
1257
|
background: transparent;
|
|
822
1258
|
font: inherit;
|
|
823
|
-
font-size:
|
|
1259
|
+
font-size: 13px;
|
|
824
1260
|
color: var(--ant-color-text);
|
|
825
1261
|
cursor: pointer;
|
|
826
1262
|
|
|
@@ -833,7 +1269,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
833
1269
|
color: #fff;
|
|
834
1270
|
}
|
|
835
1271
|
}
|
|
836
|
-
`,
|
|
1272
|
+
`,Tt=e=>`Total ${e.toLocaleString()} items`;function Nt({pagination:r,footer:o,...i}){const n=r||void 0,a=n?.pageSizeOptions??[10,20,50];return e(It,{children:[t(g,{...i,pagination:!1}),o&&t(Et,{children:o}),n&&e(Lt,{children:[t("span",{className:"hisd3-total",children:(n.renderTotal??Tt)(n.total,[(n.current-1)*n.pageSize+1,Math.min(n.current*n.pageSize,n.total)])}),t(u,{current:n.current,pageSize:n.pageSize,total:n.total,showSizeChanger:!1,onChange:(e,t)=>n.onChange(e,t),itemRender:(e,r,o)=>"prev"===r?t("span",{className:"ant-pagination-item-link",children:t(N,{})}):"next"===r?t("span",{className:"ant-pagination-item-link",children:t(T,{})}):o}),!n.hidePageSize&&t(Ft,{role:"group","aria-label":"Rows per page",children:a.map((t=>e("button",{type:"button","aria-pressed":t===n.pageSize,onClick:()=>n.onChange(1,t),children:[t," / page"]},t)))})]})]})}const Rt=z(b)`
|
|
837
1273
|
&.ant-tabs .ant-tabs-nav {
|
|
838
1274
|
user-select: none;
|
|
839
1275
|
-webkit-user-select: none;
|
|
@@ -845,22 +1281,22 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
845
1281
|
}
|
|
846
1282
|
|
|
847
1283
|
&.ant-tabs .ant-tabs-tab {
|
|
848
|
-
padding:
|
|
1284
|
+
padding: 10px 0 12px;
|
|
849
1285
|
font-weight: 600;
|
|
850
|
-
font-size:
|
|
1286
|
+
font-size: 15px;
|
|
851
1287
|
|
|
852
1288
|
+ .ant-tabs-tab {
|
|
853
|
-
margin-left:
|
|
1289
|
+
margin-left: 32px;
|
|
854
1290
|
}
|
|
855
1291
|
}
|
|
856
1292
|
|
|
857
1293
|
&.ant-tabs .ant-tabs-ink-bar {
|
|
858
|
-
height:
|
|
1294
|
+
height: 3px;
|
|
859
1295
|
}
|
|
860
1296
|
|
|
861
1297
|
.hisd3-tab-count {
|
|
862
|
-
margin-left:
|
|
863
|
-
font-size:
|
|
1298
|
+
margin-left: 8px;
|
|
1299
|
+
font-size: 13px;
|
|
864
1300
|
font-weight: 500;
|
|
865
1301
|
color: var(--ant-color-text-tertiary);
|
|
866
1302
|
}
|
|
@@ -868,13 +1304,13 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
868
1304
|
.ant-tabs-tab-active .hisd3-tab-count {
|
|
869
1305
|
color: var(--ant-color-primary);
|
|
870
1306
|
}
|
|
871
|
-
`,
|
|
1307
|
+
`,Ut=({items:o,...i})=>t(Rt,{...i,items:o.map((({count:o,label:i,...n})=>({...n,label:e(r,{children:[i,void 0!==o&&t("span",{className:"hisd3-tab-count",children:o})]})})))}),Mt={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)"},Ot={default:"rgba(0,0,0,0.05)",primary:"var(--ant-color-primary-bg)",success:"var(--ant-color-success-bg)",warning:"var(--ant-color-warning-bg)",danger:"var(--ant-color-error-bg)"},Ht=z.span`
|
|
872
1308
|
display: inline-flex;
|
|
873
1309
|
align-items: center;
|
|
874
|
-
gap:
|
|
875
|
-
height:
|
|
876
|
-
padding: 0
|
|
877
|
-
font-size:
|
|
1310
|
+
gap: 5px;
|
|
1311
|
+
height: 22px;
|
|
1312
|
+
padding: 0 9px;
|
|
1313
|
+
font-size: 11px;
|
|
878
1314
|
font-weight: 500;
|
|
879
1315
|
letter-spacing: 0.06em;
|
|
880
1316
|
text-transform: uppercase;
|
|
@@ -883,40 +1319,8 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
883
1319
|
border: var(--hisd3-rule-width, 1px) solid transparent;
|
|
884
1320
|
border-radius: 0;
|
|
885
1321
|
|
|
886
|
-
${({$variant:e,$tone:t})=>{const r=
|
|
887
|
-
|
|
888
|
-
&.ant-btn {
|
|
889
|
-
display: inline-flex;
|
|
890
|
-
align-items: center;
|
|
891
|
-
gap: 8px;
|
|
892
|
-
height: 40px;
|
|
893
|
-
padding-inline: 16px;
|
|
894
|
-
font-size: 14px;
|
|
895
|
-
font-weight: 600;
|
|
896
|
-
box-shadow: none;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
&.ant-btn-sm {
|
|
900
|
-
height: 32px;
|
|
901
|
-
padding-inline: 12px;
|
|
902
|
-
font-size: 13px;
|
|
903
|
-
gap: 6px;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
&.ant-btn-lg {
|
|
907
|
-
height: 52px;
|
|
908
|
-
padding-inline: 20px;
|
|
909
|
-
font-size: 16px;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
&.ant-btn-default {
|
|
913
|
-
border-width: var(--hisd3-rule-width, 1px);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
.anticon {
|
|
917
|
-
font-size: 1.05em;
|
|
918
|
-
}
|
|
919
|
-
`,ut={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},bt=({variant:e="secondary",...r})=>t(gt,{...ut[e],...r}),mt=S(b)`
|
|
1322
|
+
${({$variant:e,$tone:t})=>{const r=Mt[t],o=Ot[t];switch(e){case"soft":return`color: ${r}; background: ${o};`;case"outline":return`color: ${r}; border-color: ${r}; background: transparent;`;case"solid":return`color: #fff; background: ${"default"===t?"var(--ant-color-text)":r};`;default:return"color: var(--ant-color-text); background: rgba(0,0,0,0.05);"}}}
|
|
1323
|
+
`,$t=({variant:e="neutral",tone:r=("neutral"===e?"default":"primary"),children:o,...i})=>t(Ht,{$variant:e,$tone:r,...i,children:o}),Gt=z(x)`
|
|
920
1324
|
&.ant-input,
|
|
921
1325
|
&.ant-input-affix-wrapper {
|
|
922
1326
|
border-width: var(--hisd3-rule-width, 1px);
|
|
@@ -928,7 +1332,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
928
1332
|
color: var(--ant-color-text-tertiary);
|
|
929
1333
|
font-size: 18px;
|
|
930
1334
|
}
|
|
931
|
-
`,
|
|
1335
|
+
`,Pt=e=>t(Gt,{...e}),jt=z(Gt)`
|
|
932
1336
|
&.ant-input-affix-wrapper {
|
|
933
1337
|
background: var(--hisd3-bg-filled, #e6e4e1);
|
|
934
1338
|
border-color: var(--ant-color-border-secondary);
|
|
@@ -962,5 +1366,5 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigPro
|
|
|
962
1366
|
font-size: 18px;
|
|
963
1367
|
}
|
|
964
1368
|
}
|
|
965
|
-
`,
|
|
1369
|
+
`,qt=({compact:e=!1,className:r,...o})=>t(jt,{allowClear:!0,prefix:t(O,{}),className:[e?"hisd3-search-compact":"",r??""].join(" ").trim(),...o});var Qt,Kt,Wt,Zt,Vt,Yt,Jt,Xt,_t,er,tr,rr,or;!function(e){e.MODERN="modern",e.STANDARD="standard"}(Qt||(Qt={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(Kt||(Kt={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(Wt||(Wt={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(Zt||(Zt={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(Vt||(Vt={})),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"}(Yt||(Yt={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(Jt||(Jt={})),function(e){e.RTL="rtl",e.LTR="ltr"}(Xt||(Xt={})),function(e){e.DARK="dark",e.LIGHT="light"}(_t||(_t={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(er||(er={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(tr||(tr={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(rr||(rr={})),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"}(or||(or={}));const ir={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}}},nr={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 ar,lr;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(ar||(ar={})),function(e){e.Admin="admin",e.User="user"}(lr||(lr={}));export{ir as AppAnimateGroups,or as AppAnimates,nr as AppMotionAnimate,rr as AuthType,tr as Fonts,Jt as FooterType,Ct as HISD3AvatarMenu,Ge as HISD3Button,Bt as HISD3HeaderActions,Pt as HISD3Input,at as HISD3LoginPage,ft as HISD3NotificationButton,Ue as HISD3PageBody,Me as HISD3PageHeader,re as HISD3Provider,qt as HISD3SearchInput,Ee as HISD3Sidebar,Nt as HISD3Table,Ut as HISD3Tabs,$t as HISD3Tag,j as HISD3_BORDER_PRESETS,_ as HISD3_COLORS,q as HISD3_FONT_FAMILY,K as HISD3_FONT_WEIGHT_BODY,Q as HISD3_FONT_WEIGHT_HEADING,$ as HISD3_LAYOUT,Oe as HISD3_LOGO_SRC,P as HISD3_NEUTRALS,G as HISD3_PRESETS,lt as HeaderIconButton,_t as HeaderType,Xt as LayoutDirection,Zt as LayoutType,Vt as MenuStyle,ar as MessageType,Yt as NavStyle,lr as RoutePermittedRole,er as RouteTransition,Wt as ThemeMode,Qt as ThemeStyle,Kt as ThemeStyleRadius,Be as UserMenu,J as borderVarsCss,V as createHisd3Theme,zt as getInitials,X as hisd3AntdTheme,Y as hisd3VarsCss,W as resolvePrimary,Z as tint,te as useInsideHISD3Provider};
|
|
966
1370
|
//# sourceMappingURL=index.js.map
|