hisd3-ui-kit 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigProvider as i,App as r,Layout as a,Dropdown as o,Spin as l,Menu as d,Breadcrumb as s,Table as p,Pagination as c,Tabs as h,Button as g,Input as u}from"antd";import{createContext as m,useContext as b,useMemo as f,createElement as x,useState as y,useEffect as v}from"react";import w,{ThemeProvider as S}from"styled-components";import{SettingOutlined as I,LogoutOutlined as k,DownOutlined as E,ExclamationCircleOutlined as C,MenuUnfoldOutlined as D,MenuFoldOutlined as T,LeftOutlined as L,RightOutlined as z,SearchOutlined as B}from"@ant-design/icons";function N(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}N('body,html{height:100%;width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}');N('@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");:root{--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)}.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 F={red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},A={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#1F1F1F",borderSecondary:"#CFCDC9",white:"#FFFFFF"},O="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",R=800,U=400,H=(e="red")=>F[e]??e,$=(e,t)=>{const n=e.replace("#",""),i=3===n.length?n.split("").map((e=>e+e)).join(""):n,r=parseInt(i,16),a=r>>8&255,o=255&r,l=e=>Math.round(e+(255-e)*t);return`#${[l(r>>16&255),l(a),l(o)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},M=({primary:e,radius:t=0,lineWidth:n=2,overrides:i}={})=>{const r=H(e),a=A,o={cssVar:{key:"hisd3"},token:{colorPrimary:r,colorInfo:r,colorLink:r,colorPrimaryBg:$(r,.92),colorPrimaryBgHover:$(r,.86),colorPrimaryBorder:$(r,.6),fontFamily:O,fontSize:14,fontWeightStrong:700,borderRadius:t,borderRadiusLG:t,borderRadiusSM:t,borderRadiusXS:t,lineWidth:n,colorBgLayout:a.bgLayout,colorBgContainer:a.bgContainer,colorBgElevated:a.bgElevated,colorText:a.text,colorTextSecondary:a.textSecondary,colorTextTertiary:a.textTertiary,colorTextHeading:a.text,colorBorder:a.border,colorBorderSecondary:a.borderSecondary,colorSplit:a.borderSecondary,controlHeight:40,controlHeightLG:52,controlHeightSM:32,boxShadow:"none",boxShadowSecondary:"0 8px 24px rgba(0,0,0,0.12)"},components:{Layout:{siderBg:a.bgLayout,headerBg:a.bgLayout,bodyBg:a.bgLayout,headerPadding:"0 48px"},Menu:{itemBg:"transparent",subMenuItemBg:"transparent",itemColor:a.text,itemHoverColor:a.text,itemHoverBg:"rgba(0,0,0,0.04)",itemSelectedBg:$(r,.9),itemSelectedColor:r,itemActiveBg:$(r,.86),subMenuItemSelectedColor:r,groupTitleColor:a.textTertiary,groupTitleFontSize:12,itemBorderRadius:0,itemMarginInline:0,itemMarginBlock:0,itemHeight:40,itemPaddingInline:24,iconSize:16,collapsedIconSize:18,activeBarBorderWidth:0,activeBarWidth:0},Button:{fontWeight:600,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",defaultBorderColor:a.border,defaultColor:a.text,defaultBg:a.bgLayout,defaultHoverBg:a.white,defaultHoverBorderColor:a.border,defaultHoverColor:a.text,defaultActiveBorderColor:a.border,paddingInline:16,contentFontSize:14,contentFontSizeLG:16,contentFontSizeSM:13},Input:{activeShadow:"none",colorBorder:a.borderSecondary,hoverBorderColor:a.border,activeBorderColor:a.border,paddingInline:16},Select:{optionSelectedBg:$(r,.9),colorBorder:a.borderSecondary},Table:{headerBg:"transparent",headerColor:a.textTertiary,headerSplitColor:"transparent",headerBorderRadius:0,borderColor:a.borderSecondary,rowHoverBg:"rgba(0,0,0,0.03)",cellPaddingBlock:20,cellPaddingInline:16,cellFontSize:16,footerBg:"transparent"},Tabs:{inkBarColor:r,itemColor:a.text,itemSelectedColor:r,itemHoverColor:r,titleFontSize:18,horizontalItemGutter:48,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:a.bgLayout,itemActiveBg:r,itemSize:48,itemInputBg:a.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:a.textTertiary,lastItemColor:a.text,linkColor:a.textTertiary,linkHoverColor:r,separatorColor:a.textTertiary},Card:{headerFontSize:20}}};return i?{...o,...i,token:{...o.token,...i.token},components:{...o.components,...i.components}}:o},W=M(),G={primary:F.red,primaryLight:$(F.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},_=m(!1),j=()=>b(_),P=({primary:t,radius:n,lineWidth:a,overrides:o,theme:l,styledTheme:d={},children:s})=>{const p=f((()=>l??M({primary:t,radius:n,lineWidth:a,overrides:o})),[l,t,n,a,o]);return e(_.Provider,{value:!0,children:e(i,{theme:p,children:e(S,{theme:d,children:e(r,{component:!1,children:s})})})})},K={siderWidth:280,siderCollapsedWidth:72,topBarHeight:88,pageGutter:40},{Header:X,Content:V}=a,q=K.siderWidth,J=K.siderCollapsedWidth,Y=K.topBarHeight,Q=w(a)`
1
+ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{ConfigProvider as n,App as i,Layout as o,Dropdown as a,Spin as l,Menu as d,Breadcrumb as s,Empty as p,Badge as c,Table as h,Pagination as g,Tabs as u,Button as b,Input as m}from"antd";import x,{createContext as f,useContext as y,useMemo as v,createElement as w,useState as k,useEffect as S}from"react";import I,{ThemeProvider as E}from"styled-components";import{SettingOutlined as C,LogoutOutlined as z,DownOutlined as D,ExclamationCircleOutlined as $,MenuUnfoldOutlined as T,MenuFoldOutlined as L,BellOutlined as N,LeftOutlined as B,RightOutlined as A,SearchOutlined as F}from"@ant-design/icons";function R(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}R('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}');R('@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)}.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},U={red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},H={bgLayout:"#F3F2F0",bgContainer:"#F3F2F0",bgElevated:"#FFFFFF",bgFilled:"#E6E4E1",bgFilledHover:"#DBD8D4",text:"#171717",textSecondary:"#4A4A4A",textTertiary:"#6E6E6E",border:"#D9D5CE",borderSecondary:"#E7E4DE",borderStrong:"#1F1F1F",white:"#FFFFFF"},M={hairline:{width:1,border:"#D9D5CE",borderSecondary:"#E7E4DE"},bold:{width:2,border:"#1F1F1F",borderSecondary:"#CFCDC9"}},j="'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",G=800,W=400,_=(e="red")=>U[e]??e,P=(e,t)=>{const r=e.replace("#",""),n=3===r.length?r.split("").map((e=>e+e)).join(""):r,i=parseInt(n,16),o=i>>8&255,a=255&i,l=e=>Math.round(e+(255-e)*t);return`#${[l(i>>16&255),l(o),l(a)].map((e=>e.toString(16).padStart(2,"0"))).join("")}`},K=({primary:e,radius:t=0,borders:r="hairline",lineWidth:n,overrides:i}={})=>{const o=_(e),a=M[r]??M.hairline,l=n??a.width,d={...H,border:a.border,borderSecondary:a.borderSecondary},s={cssVar:{key:"hisd3"},token:{colorPrimary:o,colorInfo:o,colorLink:o,colorPrimaryBg:P(o,.92),colorPrimaryBgHover:P(o,.86),colorPrimaryBorder:P(o,.6),fontFamily:j,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:P(o,.9),itemSelectedColor:o,itemActiveBg:P(o,.86),subMenuItemSelectedColor:o,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:P(o,.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:o,itemColor:d.text,itemSelectedColor:o,itemHoverColor:o,titleFontSize:18,horizontalItemGutter:48,horizontalMargin:"0",lineWidthBold:4},Tag:{borderRadiusSM:0,defaultBg:"transparent"},Pagination:{itemBg:d.bgLayout,itemActiveBg:o,itemSize:48,itemInputBg:d.bgLayout},Dropdown:{paddingBlock:10},Breadcrumb:{itemColor:d.textTertiary,lastItemColor:d.text,linkColor:d.textTertiary,linkHoverColor:o,separatorColor:d.textTertiary},Card:{headerFontSize:20}}};return i?{...s,...i,token:{...s.token,...i.token},components:{...s.components,...i.components}}:s},X=(e="hairline",t)=>`:root{--hisd3-rule-width:${t??(M[e]??M.hairline).width}px;--hisd3-control-bg:${H.bgFilled};--hisd3-control-bg-hover:${H.bgFilledHover};}`,V=K(),Y={primary:U.red,primaryLight:P(U.red,.9),headerSelectedBg:"rgba(0,0,0,0.04)"},q=f(!1),J=()=>y(q),Q=({primary:r,radius:o,borders:a="hairline",lineWidth:l,overrides:d,theme:s,styledTheme:p={},children:c})=>{const h=v((()=>s??K({primary:r,radius:o,borders:a,lineWidth:l,overrides:d})),[s,r,o,a,l,d]),g=v((()=>X(a,l)),[a,l]);return e(q.Provider,{value:!0,children:[t("style",{dangerouslySetInnerHTML:{__html:g}}),t(n,{theme:h,children:t(E,{theme:p,children:t(i,{component:!1,children:c})})})]})},{Header:Z,Content:ee}=o,te=O.siderWidth,re=O.siderCollapsedWidth,ne=O.topBarHeight,ie=I(o)`
2
2
  min-height: 100vh;
3
3
  background: var(--ant-color-bg-layout);
4
4
 
@@ -12,7 +12,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
12
12
  height: 100vh;
13
13
  overflow: hidden;
14
14
  background: var(--ant-color-bg-layout);
15
- border-right: 2px solid var(--ant-color-border);
15
+ border-right: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
16
16
 
17
17
  .ant-layout-sider-children {
18
18
  display: flex;
@@ -20,11 +20,11 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
20
20
  height: 100%;
21
21
  }
22
22
  }
23
- `,Z=w.div`
23
+ `,oe=I.div`
24
24
  flex: 1 1 auto;
25
25
  overflow-y: auto;
26
26
  overflow-x: hidden;
27
- padding-top: 8px;
27
+ padding-top: 4px;
28
28
 
29
29
  .ant-menu-inline,
30
30
  .ant-menu-vertical {
@@ -34,7 +34,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
34
34
 
35
35
  /* Section titles: "RECEIVABLES AND COLLECTIONS" */
36
36
  .ant-menu-item-group-title {
37
- padding: 18px 24px 6px;
37
+ padding: 16px ${O.pageGutter}px 4px;
38
38
  font-size: 11px;
39
39
  font-weight: 600;
40
40
  letter-spacing: 0.14em;
@@ -44,7 +44,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
44
44
 
45
45
  .ant-menu-item-group + .ant-menu-item-group > .ant-menu-item-group-title,
46
46
  .ant-menu-item-group + .ant-menu-item-group::before {
47
- border-top: 2px solid var(--ant-color-border-secondary);
47
+ border-top: var(--hisd3-rule-width, 1px) solid var(--ant-color-border-secondary);
48
48
  margin-top: 10px;
49
49
  padding-top: 20px;
50
50
  }
@@ -95,23 +95,23 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
95
95
  &.hisd3-collapsed .ant-menu-item-group-title {
96
96
  display: none;
97
97
  }
98
- `,ee=w.a`
98
+ `,ae=I.a`
99
99
  display: flex;
100
100
  align-items: center;
101
- gap: 12px;
102
- height: ${Y}px;
103
- padding: 0 ${({$collapsed:e})=>e?14:24}px;
101
+ gap: 10px;
102
+ height: ${ne}px;
103
+ padding: 0 ${({$collapsed:e})=>e?12:O.pageGutter}px;
104
104
  justify-content: ${({$collapsed:e})=>e?"center":"flex-start"};
105
105
  color: inherit;
106
106
  text-decoration: none;
107
107
  overflow: hidden;
108
108
  white-space: nowrap;
109
109
  flex: 0 0 auto;
110
- border-bottom: 2px solid var(--ant-color-border);
110
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
111
111
 
112
112
  .hisd3-brand-mark {
113
- width: 36px;
114
- height: 36px;
113
+ width: 28px;
114
+ height: 28px;
115
115
  flex: 0 0 auto;
116
116
  background: var(--ant-color-primary);
117
117
  display: flex;
@@ -120,8 +120,8 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
120
120
  }
121
121
 
122
122
  img {
123
- height: 36px;
124
- width: 36px;
123
+ height: 28px;
124
+ width: 28px;
125
125
  object-fit: contain;
126
126
  flex: 0 0 auto;
127
127
  }
@@ -129,7 +129,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
129
129
  h1 {
130
130
  margin: 0;
131
131
  font-family: var(--font-heading);
132
- font-size: 18px;
132
+ font-size: 16px;
133
133
  font-weight: var(--font-weight-heading, 800);
134
134
  letter-spacing: 0.04em;
135
135
  text-transform: uppercase;
@@ -137,47 +137,47 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
137
137
  overflow: hidden;
138
138
  text-overflow: ellipsis;
139
139
  }
140
- `,te=w(X)`
140
+ `,le=I(Z)`
141
141
  display: flex;
142
142
  align-items: center;
143
143
  gap: 24px;
144
- height: ${Y}px;
145
- line-height: ${Y}px;
146
- padding: 0 ${K.pageGutter}px;
144
+ height: ${ne}px;
145
+ line-height: ${ne}px;
146
+ padding: 0 ${O.pageGutter}px;
147
147
  position: sticky;
148
148
  top: 0;
149
149
  z-index: 100;
150
150
  background: var(--ant-color-bg-layout);
151
- border-bottom: 2px solid var(--ant-color-border);
151
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
152
152
 
153
153
  .ant-menu-horizontal {
154
154
  flex: 1 1 auto;
155
155
  min-width: 0;
156
156
  border-bottom: none;
157
157
  background: transparent;
158
- line-height: ${Y-2}px;
158
+ line-height: ${ne-2}px;
159
159
  font-size: 14px;
160
160
  font-weight: 500;
161
161
  }
162
- `,ne=w(X)`
162
+ `,de=I(Z)`
163
163
  display: flex;
164
164
  align-items: center;
165
- gap: 16px;
166
- height: ${Y}px;
167
- line-height: ${Y}px;
168
- padding: 0 ${K.pageGutter}px;
165
+ gap: 12px;
166
+ height: ${ne}px;
167
+ line-height: ${ne}px;
168
+ padding: 0 ${O.pageGutter}px;
169
169
  position: sticky;
170
170
  top: 0;
171
171
  z-index: 99;
172
172
  background: var(--ant-color-bg-layout);
173
- border-bottom: 2px solid var(--ant-color-border);
174
- `,ie=w.button`
175
- border: 2px solid var(--ant-color-border);
173
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
174
+ `,se=I.button`
175
+ border: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
176
176
  background: transparent;
177
177
  cursor: pointer;
178
- font-size: 16px;
179
- width: 40px;
180
- height: 40px;
178
+ font-size: 14px;
179
+ width: 32px;
180
+ height: 32px;
181
181
  color: inherit;
182
182
  display: inline-flex;
183
183
  align-items: center;
@@ -187,50 +187,50 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
187
187
  &:hover {
188
188
  background: rgba(0, 0, 0, 0.05);
189
189
  }
190
- `,re=w(V)`
191
- padding: 32px ${K.pageGutter}px 48px;
192
- min-height: calc(100vh - ${Y}px);
193
- `,ae=w.div`
190
+ `,pe=I(ee)`
191
+ padding: 24px ${O.pageGutter}px 40px;
192
+ min-height: calc(100vh - ${ne}px);
193
+ `,ce=I.div`
194
194
  flex: 0 0 auto;
195
195
  display: flex;
196
196
  flex-direction: column;
197
197
  justify-content: center;
198
198
  line-height: 1.25;
199
199
  transition: all 0.2s ease;
200
- padding: ${({$inHeader:e,$collapsed:t})=>e?"0 4px":t?"14px 0":"16px 24px"};
200
+ padding: ${({$inHeader:e,$collapsed:t})=>e?"0 4px":t?"12px 0":`12px ${O.pageGutter}px`};
201
201
  min-width: ${({$inHeader:e})=>e?"220px":"0"};
202
- border-top: ${({$inHeader:e})=>e?"none":"2px solid var(--ant-color-border)"};
202
+ border-top: ${({$inHeader:e})=>e?"none":"var(--hisd3-rule-width, 1px) solid var(--ant-color-border)"};
203
203
 
204
204
  & .ant-dropdown-link {
205
205
  color: inherit;
206
206
  }
207
- `,oe=w.a`
207
+ `,he=I.a`
208
208
  display: flex;
209
209
  align-items: center;
210
210
  justify-content: center;
211
211
  cursor: pointer;
212
212
  color: inherit;
213
- gap: 12px;
214
- `,le=w.span`
215
- width: 40px;
216
- height: 40px;
213
+ gap: 10px;
214
+ `,ge=I.span`
215
+ width: 34px;
216
+ height: 34px;
217
217
  flex: 0 0 auto;
218
218
  display: flex;
219
219
  align-items: center;
220
220
  justify-content: center;
221
- font-size: 14px;
221
+ font-size: 13px;
222
222
  font-weight: 700;
223
223
  color: var(--ant-color-text);
224
224
  background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"#D9D6D2"};
225
- `,de=w.span`
225
+ `,ue=I.span`
226
226
  flex: 1 1 auto;
227
227
  min-width: 0;
228
- `,se=w.span`
228
+ `,be=I.span`
229
229
  display: flex;
230
230
  align-items: flex-start;
231
231
  justify-content: space-between;
232
232
  gap: 8px;
233
- `,pe=w.h3`
233
+ `,me=I.h3`
234
234
  margin: 0;
235
235
  font-family: var(--font-body);
236
236
  font-size: 14px;
@@ -242,7 +242,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
242
242
  display: -webkit-box;
243
243
  -webkit-line-clamp: 2;
244
244
  -webkit-box-orient: vertical;
245
- `,ce=w.span`
245
+ `,xe=I.span`
246
246
  width: 20px;
247
247
  height: 22px;
248
248
  display: flex;
@@ -254,7 +254,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
254
254
  & svg {
255
255
  display: block;
256
256
  }
257
- `,he=w.span`
257
+ `,fe=I.span`
258
258
  display: block;
259
259
  margin-top: 3px;
260
260
  font-size: 11px;
@@ -265,13 +265,13 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
265
265
  overflow: hidden;
266
266
  text-overflow: ellipsis;
267
267
  white-space: nowrap;
268
- `,ge=(e,t)=>e.key??e.path??`menu-${t}`,ue=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,n)=>{const i=ge(e,n);return Array.isArray(e.children)&&e.children.length>0?{key:i,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:ue(e.children,t)}:{key:i,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),me=(e,t)=>x("a",{href:e.path||"/"},t),be=({account:n,avatarSrc:i,settingsUrl:a,onLogout:l,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=r.useApp(),h=[...p??[],{key:"settings",icon:e(I,{}),label:"Settings",onClick:()=>{window.location.href=a??"/settings"}},{key:"logout",icon:e(k,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:e(C,{}),onOk:l})}}],g=(n.fullName||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?";return e(ae,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:e(o,{trigger:["click"],placement:s,menu:{items:h},children:t(oe,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[e(le,{$src:i,"aria-hidden":!0,children:!i&&g}),!d&&t(de,{children:[t(se,{children:[e(pe,{title:n.fullName,children:n.fullName}),e(ce,{children:e(E,{})})]}),n.positionType&&e(he,{title:n.positionType,children:n.positionType})]})]})})})},{Sider:fe}=a,xe=({children:o,account:s,logoUrl:p,appName:c,menuItems:h,onLogout:g,pathname:u,avatarSrc:m,styledTheme:b,settingsUrl:x,antdTheme:w,renderMenuLink:I=me,headerExtra:k,userMenuItems:E,onCollapse:C,collapsed:L=!1,loading:z=!1,hideSidebar:B=!1,layoutTop:N=!1,hideCollapseTrigger:F=!1,siderWidth:A=q,bareContent:O=!1,hideHeaderBar:R=!1,brandHref:U="/"})=>{const H=j(),$=void 0===w?H?null:W:w,[M,G]=y(L);v((()=>{G(L)}),[L]);const _=f((()=>ue(h,I)),[h,I]),P=f((()=>((e,t)=>{let n;const i=(e,r)=>{(e??[]).forEach(((e,a)=>{const o=ge(e,a);if(e.path&&t.startsWith(e.path)){const i=t===e.path,a=e.path.length+(i?1:0);(!n||a>n.length)&&(n={key:o,parents:r,length:a})}e.children?.length&&i(e.children,[...r,o])}))};return i(e,[]),{selectedKey:n?.key,openKeys:n?.parents??[]}})(h,u)),[h,u]),[K,X]=y((()=>P.openKeys));v((()=>{X((e=>Array.from(new Set([...e,...P.openKeys]))))}),[P.openKeys.join("|")]);const V=e=>{G(e),C?.(e)},Y=P.selectedKey?[P.selectedKey]:[],ae=t(ee,{href:U,$collapsed:!N&&M,children:[p?e("img",{src:p,alt:c}):e("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(N||!M)&&e("h1",{children:c})]}),oe=O?o:e(re,{children:o});if("undefined"==typeof document)return null;const le=e(r,{component:!1,children:e(l,{spinning:z,size:"large",children:B?e(n,{children:o}):t(Q,N?{children:[t(te,{children:[ae,e(d,{mode:"horizontal",items:_,selectedKeys:Y}),k,e(be,{account:s,avatarSrc:m,settingsUrl:x,onLogout:g,placement:"bottomRight",extraItems:E})]}),oe]}:{hasSider:!0,children:[t(fe,{className:"hisd3-sider",width:A,collapsedWidth:J,collapsible:!0,collapsed:M,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&V(!0)},children:[ae,e(Z,{className:M?"hisd3-collapsed":void 0,children:e(d,{mode:"inline",theme:"light",inlineCollapsed:M,items:_,selectedKeys:Y,openKeys:M?void 0:K,onOpenChange:e=>X(e)})}),e(be,{account:s,avatarSrc:m,settingsUrl:x,onLogout:g,collapsed:M,placement:"topRight",extraItems:E})]}),t(a,{style:{background:"transparent"},children:[!R&&t(ne,{children:[!F&&e(ie,{type:"button","aria-label":M?"Expand menu":"Collapse menu",onClick:()=>V(!M),children:e(M?D:T,{})}),e("span",{style:{flex:1}}),k]}),oe]})]})})});return H&&!b?$?e(i,{theme:$,children:le}):le:e(S,{theme:b??{},children:$?e(i,{theme:$,children:le}):le})},ye=K.pageGutter,ve=w.div`
268
+ `,ye=(e,t)=>e.key??e.path??`menu-${t}`,ve=(e,t)=>(e??[]).filter((e=>e&&!e.hideInMenu)).map(((e,r)=>{const n=ye(e,r);return Array.isArray(e.children)&&e.children.length>0?{key:n,icon:e.icon,label:e.name,disabled:e.disabled,type:e.group?"group":void 0,children:ve(e.children,t)}:{key:n,icon:e.icon,disabled:e.disabled,label:t(e,e.name)}})),we=(e,t)=>w("a",{href:e.path||"/"},t),ke=({account:r,avatarSrc:n,settingsUrl:o,onLogout:l,collapsed:d=!1,placement:s="topRight",extraItems:p=[]})=>{const{modal:c}=i.useApp(),h=[...p??[],{key:"settings",icon:t(C,{}),label:"Settings",onClick:()=>{window.location.href=o??"/settings"}},{key:"logout",icon:t(z,{}),label:"Logout",onClick:()=>{c.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t($,{}),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(ce,{className:"cr-user-info-light",$collapsed:d,$inHeader:"bottomRight"===s,children:t(a,{trigger:["click"],placement:s,menu:{items:h},children:e(he,{className:"ant-dropdown-link",onClick:e=>e.preventDefault(),children:[t(ge,{$src:n,"aria-hidden":!0,children:!n&&g}),!d&&e(ue,{children:[e(be,{children:[t(me,{title:r.fullName,children:r.fullName}),t(xe,{children:t(D,{})})]}),r.positionType&&t(fe,{title:r.positionType,children:r.positionType})]})]})})})},{Sider:Se}=o,Ie=({children:a,account:s,logoUrl:p,appName:c,menuItems:h,onLogout:g,pathname:u,avatarSrc:b,styledTheme:m,settingsUrl:x,antdTheme:f,renderMenuLink:y=we,headerExtra:w,userMenuItems:I,onCollapse:C,collapsed:z=!1,loading:D=!1,hideSidebar:$=!1,layoutTop:N=!1,hideCollapseTrigger:B=!1,siderWidth:A=te,bareContent:F=!1,hideHeaderBar:R=!1,brandHref:O="/",hideAccountCard:U=!1})=>{const H=J(),M=void 0===f?H?null:V:f,[j,G]=k(z);S((()=>{G(z)}),[z]);const W=v((()=>ve(h,y)),[h,y]),_=v((()=>((e,t)=>{let r;const n=(e,i)=>{(e??[]).forEach(((e,o)=>{const a=ye(e,o);if(e.path&&t.startsWith(e.path)){const n=t===e.path,o=e.path.length+(n?1:0);(!r||o>r.length)&&(r={key:a,parents:i,length:o})}e.children?.length&&n(e.children,[...i,a])}))};return n(e,[]),{selectedKey:r?.key,openKeys:r?.parents??[]}})(h,u)),[h,u]),[P,K]=k((()=>_.openKeys));S((()=>{K((e=>Array.from(new Set([...e,..._.openKeys]))))}),[_.openKeys.join("|")]);const X=e=>{G(e),C?.(e)},Y=_.selectedKey?[_.selectedKey]:[],q=e(ae,{href:O,$collapsed:!N&&j,children:[p?t("img",{src:p,alt:c}):t("span",{className:"hisd3-brand-mark","aria-hidden":!0}),(N||!j)&&t("h1",{children:c})]}),Q=F?a:t(pe,{children:a});if("undefined"==typeof document)return null;const Z=t(i,{component:!1,children:t(l,{spinning:D,size:"large",children:$?t(r,{children:a}):e(ie,N?{children:[e(le,{children:[q,t(d,{mode:"horizontal",items:W,selectedKeys:Y}),w,!U&&t(ke,{account:s,avatarSrc:b,settingsUrl:x,onLogout:g,placement:"bottomRight",extraItems:I})]}),Q]}:{hasSider:!0,children:[e(Se,{className:"hisd3-sider",width:A,collapsedWidth:re,collapsible:!0,collapsed:j,trigger:null,theme:"light",breakpoint:"lg",onBreakpoint:e=>{e&&X(!0)},children:[q,t(oe,{className:j?"hisd3-collapsed":void 0,children:t(d,{mode:"inline",theme:"light",inlineCollapsed:j,items:W,selectedKeys:Y,openKeys:j?void 0:P,onOpenChange:e=>K(e)})}),!U&&t(ke,{account:s,avatarSrc:b,settingsUrl:x,onLogout:g,collapsed:j,placement:"topRight",extraItems:I})]}),e(o,{style:{background:"transparent"},children:[!R&&e(de,{children:[!B&&t(se,{type:"button","aria-label":j?"Expand menu":"Collapse menu",onClick:()=>X(!j),children:t(j?T:L,{})}),t("span",{style:{flex:1}}),w]}),Q]})]})})});return H&&!m?M?t(n,{theme:M,children:Z}):Z:t(E,{theme:m??{},children:M?t(n,{theme:M,children:Z}):Z})},Ee=O.pageGutter,Ce=I.div`
269
269
  display: flex;
270
270
  align-items: center;
271
- gap: 24px;
272
- height: ${K.topBarHeight}px; /* same as the sidebar brand block */
273
- padding: 0 ${ye}px;
274
- border-bottom: 2px solid var(--ant-color-border);
271
+ gap: 16px;
272
+ height: ${O.topBarHeight}px; /* same as the sidebar brand block */
273
+ padding: 0 ${Ee}px;
274
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
275
275
  background: var(--ant-color-bg-layout);
276
276
  position: sticky;
277
277
  top: 0;
@@ -286,24 +286,24 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
286
286
  .ant-breadcrumb ol {
287
287
  flex-wrap: nowrap;
288
288
  }
289
- `,we=w.div`
289
+ `,ze=I.div`
290
290
  display: flex;
291
291
  align-items: center;
292
- gap: 16px;
292
+ gap: 10px;
293
293
  flex: 0 0 auto;
294
- `,Se=w.div`
294
+ `,De=I.div`
295
295
  display: flex;
296
296
  align-items: baseline;
297
- gap: 24px;
297
+ gap: 16px;
298
298
  flex-wrap: wrap;
299
- padding: 28px ${ye}px 24px;
300
- border-bottom: 2px solid var(--ant-color-border-secondary);
299
+ padding: 20px ${Ee}px 18px;
300
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border-secondary);
301
301
 
302
302
  h1 {
303
303
  margin: 0;
304
304
  font-family: var(--font-heading);
305
- font-size: 44px;
306
- line-height: 1.05;
305
+ font-size: 32px;
306
+ line-height: 1.1;
307
307
  font-weight: var(--font-weight-heading, 800);
308
308
  letter-spacing: -0.02em;
309
309
  color: var(--ant-color-text);
@@ -311,12 +311,303 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
311
311
 
312
312
  p {
313
313
  margin: 0;
314
- font-size: 17px;
314
+ font-size: 15px;
315
+ color: var(--ant-color-text-secondary);
316
+ }
317
+ `,$e=I.div`
318
+ padding: 24px ${Ee}px 40px;
319
+ `,Te=({title:r,subtitle:n,breadcrumb:i,extra:o,leading:a,hideTopBar:l=!1,className:d})=>e("header",{className:d,children:[!l&&e(Ce,{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}}),o&&t(ze,{children:o})]}),e(De,{children:[t("h1",{children:r}),n&&t("p",{children:n})]})]}),Le=I.button`
320
+ position: relative;
321
+ width: ${({$size:e=40})=>e}px;
322
+ height: ${({$size:e=40})=>e}px;
323
+ flex: 0 0 auto;
324
+ display: inline-flex;
325
+ align-items: center;
326
+ justify-content: center;
327
+ padding: 0;
328
+ font-size: ${({$size:e=40})=>Math.round(.45*e)}px;
329
+ line-height: 1;
330
+ color: var(--ant-color-text);
331
+ background: var(--hisd3-control-bg, #e6e4e1);
332
+ border: 0;
333
+ border-radius: 50%;
334
+ cursor: pointer;
335
+ transition: background 0.15s ease, color 0.15s ease;
336
+
337
+ &:hover {
338
+ background: var(--hisd3-control-bg-hover, #dbd8d4);
339
+ }
340
+
341
+ /* open state: tinted with the app's primary, like Facebook's blue */
342
+ &[aria-expanded="true"] {
343
+ background: var(--ant-color-primary-bg);
344
+ color: var(--ant-color-primary);
345
+ }
346
+
347
+ &:focus-visible {
348
+ outline: 2px solid var(--ant-color-primary);
349
+ outline-offset: 2px;
350
+ }
351
+
352
+ .ant-badge {
353
+ color: inherit;
354
+ line-height: 0;
355
+ }
356
+ `,Ne=I.div`
357
+ width: 360px;
358
+ max-width: calc(100vw - 32px);
359
+ overflow: hidden;
360
+ background: var(--ant-color-bg-elevated);
361
+ border: 1px solid var(--ant-color-border-secondary);
362
+ border-radius: var(--hisd3-popup-radius, 10px);
363
+ box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
364
+ 0 12px 32px rgba(16, 15, 14, 0.14);
365
+ `,Be=I.div`
366
+ display: flex;
367
+ align-items: center;
368
+ justify-content: space-between;
369
+ gap: 12px;
370
+ padding: 12px 16px;
371
+ border-bottom: 1px solid var(--ant-color-border-secondary);
372
+
373
+ h4 {
374
+ margin: 0;
375
+ font-size: 15px;
376
+ font-weight: 700;
377
+ letter-spacing: 0;
378
+ }
379
+
380
+ button {
381
+ border: 0;
382
+ background: none;
383
+ padding: 0;
384
+ font: inherit;
385
+ font-size: 13px;
386
+ color: var(--ant-color-primary);
387
+ cursor: pointer;
388
+
389
+ &:hover {
390
+ text-decoration: underline;
391
+ }
392
+ }
393
+ `,Ae=I.div`
394
+ max-height: 380px;
395
+ overflow-y: auto;
396
+ `,Fe=I.button`
397
+ display: flex;
398
+ align-items: flex-start;
399
+ gap: 12px;
400
+ width: 100%;
401
+ padding: 12px 16px;
402
+ text-align: left;
403
+ font: inherit;
404
+ border: 0;
405
+ cursor: pointer;
406
+ background: ${({$unread:e})=>e?"var(--ant-color-primary-bg)":"transparent"};
407
+
408
+ &:hover {
409
+ background: ${({$unread:e})=>e?"var(--ant-color-primary-bg-hover)":"rgba(0,0,0,0.04)"};
410
+ }
411
+ `,Re=I.span`
412
+ width: 36px;
413
+ height: 36px;
414
+ flex: 0 0 auto;
415
+ display: flex;
416
+ align-items: center;
417
+ justify-content: center;
418
+ font-size: 16px;
419
+ color: var(--ant-color-text);
420
+ border-radius: 50%;
421
+ background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.06)"};
422
+ `,Oe=I.span`
423
+ flex: 1 1 auto;
424
+ min-width: 0;
425
+
426
+ strong {
427
+ display: block;
428
+ font-size: 14px;
429
+ font-weight: 600;
430
+ color: var(--ant-color-text);
431
+ }
432
+
433
+ span {
434
+ display: block;
435
+ font-size: 13px;
315
436
  color: var(--ant-color-text-secondary);
437
+ overflow: hidden;
438
+ text-overflow: ellipsis;
316
439
  }
317
- `,Ie=w.div`
318
- padding: 32px ${ye}px 48px;
319
- `,ke=({title:n,subtitle:i,breadcrumb:r,extra:a,leading:o,hideTopBar:l=!1,className:d})=>t("header",{className:d,children:[!l&&t(ve,{children:[o,r&&r.length>0&&e(s,{items:r.map((t=>({title:t.href?e("a",{href:t.href,children:t.title}):t.title,onClick:t.onClick})))}),!r?.length&&e("span",{style:{flex:1}}),a&&e(we,{children:a})]}),t(Se,{children:[e("h1",{children:n}),i&&e("p",{children:i})]})]}),Ee=w.div`
440
+
441
+ time {
442
+ display: block;
443
+ margin-top: 2px;
444
+ font-size: 12px;
445
+ color: var(--ant-color-text-tertiary);
446
+ }
447
+ `,Ue=I.span`
448
+ width: 8px;
449
+ height: 8px;
450
+ margin-top: 6px;
451
+ flex: 0 0 auto;
452
+ border-radius: 50%;
453
+ background: var(--ant-color-primary);
454
+ `,He=I.button`
455
+ display: block;
456
+ width: 100%;
457
+ padding: 12px 16px;
458
+ font: inherit;
459
+ font-size: 13px;
460
+ font-weight: 600;
461
+ color: var(--ant-color-primary);
462
+ text-align: center;
463
+ background: transparent;
464
+ border: 0;
465
+ border-top: 1px solid var(--ant-color-border-secondary);
466
+ cursor: pointer;
467
+
468
+ &:hover {
469
+ background: rgba(0, 0, 0, 0.04);
470
+ }
471
+ `,Me=I.div`
472
+ padding: 28px 16px;
473
+ `,je=({items:r=[],count:n,loading:i=!1,title:o="Notifications",onMarkAllRead:d,onSeeAll:s,seeAllLabel:h="See all notifications",emptyText:g="You're all caught up",onOpenChange:u,size:b=40,className:m})=>{const[x,f]=k(!1),y=n??r.filter((e=>e.unread)).length,v=e(Ne,{children:[e(Be,{children:[t("h4",{children:o}),d&&y>0&&t("button",{type:"button",onClick:d,children:"Mark all as read"})]}),i?t(Me,{style:{textAlign:"center"},children:t(l,{})}):0===r.length?t(Me,{children:t(p,{image:p.PRESENTED_IMAGE_SIMPLE,description:g})}):t(Ae,{children:r.map((r=>e(Fe,{type:"button",$unread:r.unread,onClick:()=>{r.onClick?.(r),f(!1),u?.(!1)},children:[t(Re,{$src:r.avatarSrc,children:!r.avatarSrc&&(r.icon??t(N,{}))}),e(Oe,{children:[t("strong",{children:r.title}),r.description&&t("span",{children:r.description}),r.time&&t("time",{children:r.time})]}),r.unread&&t(Ue,{})]},r.id)))}),s&&t(He,{type:"button",onClick:()=>{s(),f(!1),u?.(!1)},children:h})]});return t(a,{open:x,onOpenChange:e=>{f(e),u?.(e)},trigger:["click"],placement:"bottomRight",popupRender:()=>v,children:t(Le,{type:"button",$size:b,className:m,"aria-label":`${o}${y?` (${y} unread)`:""}`,children:t(c,{count:y,size:"small",offset:[2,-2],children:t(N,{})})})})},Ge=I.button`
474
+ position: relative;
475
+ width: ${({$size:e})=>e}px;
476
+ height: ${({$size:e})=>e}px;
477
+ flex: 0 0 auto;
478
+ padding: 0;
479
+ display: inline-flex;
480
+ align-items: center;
481
+ justify-content: center;
482
+ font-size: ${({$size:e})=>Math.round(.36*e)}px;
483
+ font-weight: 700;
484
+ color: var(--ant-color-text);
485
+ background: var(--hisd3-control-bg, #e6e4e1);
486
+ border: 0;
487
+ border-radius: ${({$shape:e})=>"circle"===e?"50%":"0"};
488
+ cursor: pointer;
489
+ transition: filter 0.15s ease;
490
+
491
+ &:hover {
492
+ filter: brightness(0.94);
493
+ }
494
+
495
+ &:focus-visible {
496
+ outline: 2px solid var(--ant-color-primary);
497
+ outline-offset: 2px;
498
+ }
499
+
500
+ img {
501
+ width: 100%;
502
+ height: 100%;
503
+ object-fit: cover;
504
+ display: block;
505
+ border-radius: inherit;
506
+ }
507
+ `,We=I.span`
508
+ position: absolute;
509
+ right: ${({$size:e})=>-Math.round(.05*e)}px;
510
+ bottom: ${({$size:e})=>-Math.round(.05*e)}px;
511
+ width: ${({$size:e})=>Math.round(.45*e)}px;
512
+ height: ${({$size:e})=>Math.round(.45*e)}px;
513
+ display: flex;
514
+ align-items: center;
515
+ justify-content: center;
516
+ font-size: ${({$size:e})=>Math.round(.2*e)}px;
517
+ color: var(--ant-color-text);
518
+ background: var(--hisd3-control-bg, #e6e4e1);
519
+ border: 2px solid var(--ant-color-bg-layout, #f3f2f0);
520
+ border-radius: 50%;
521
+ pointer-events: none;
522
+
523
+ ${Ge}[aria-expanded="true"] & {
524
+ background: var(--ant-color-primary);
525
+ color: #fff;
526
+ }
527
+
528
+ & svg {
529
+ display: block;
530
+ }
531
+ `,_e=I.div`
532
+ display: flex;
533
+ align-items: center;
534
+ gap: 12px;
535
+ padding: 12px 16px;
536
+ min-width: 230px;
537
+ border-bottom: 1px solid var(--ant-color-border-secondary);
538
+
539
+ .hisd3-identity-text {
540
+ flex: 1 1 auto;
541
+ min-width: 0;
542
+ }
543
+
544
+ .hisd3-identity-name {
545
+ display: block;
546
+ font-size: 14px;
547
+ font-weight: 700;
548
+ color: var(--ant-color-text);
549
+ white-space: nowrap;
550
+ overflow: hidden;
551
+ text-overflow: ellipsis;
552
+ }
553
+
554
+ .hisd3-identity-role {
555
+ display: block;
556
+ margin-top: 2px;
557
+ font-size: 11px;
558
+ font-weight: 500;
559
+ letter-spacing: 0.1em;
560
+ text-transform: uppercase;
561
+ color: var(--ant-color-text-tertiary);
562
+ white-space: nowrap;
563
+ overflow: hidden;
564
+ text-overflow: ellipsis;
565
+ }
566
+ `,Pe=I.span`
567
+ width: 40px;
568
+ height: 40px;
569
+ flex: 0 0 auto;
570
+ display: flex;
571
+ align-items: center;
572
+ justify-content: center;
573
+ font-size: 14px;
574
+ font-weight: 700;
575
+ border-radius: 50%;
576
+ background: ${({$src:e})=>e?`center / cover no-repeat url("${e}")`:"rgba(0,0,0,0.08)"};
577
+ `,Ke=I.div`
578
+ overflow: hidden;
579
+ background: var(--ant-color-bg-elevated);
580
+ border: 1px solid var(--ant-color-border-secondary);
581
+ border-radius: var(--hisd3-popup-radius, 10px);
582
+ box-shadow: 0 2px 6px rgba(16, 15, 14, 0.06),
583
+ 0 12px 32px rgba(16, 15, 14, 0.14);
584
+
585
+ .ant-menu {
586
+ border-inline-end: none !important;
587
+ background: transparent;
588
+ }
589
+
590
+ .ant-menu {
591
+ padding: 6px;
592
+ }
593
+
594
+ .ant-menu-item {
595
+ margin: 0;
596
+ width: 100%;
597
+ border-radius: 8px;
598
+ font-size: 14px;
599
+ }
600
+ `,Xe=e=>(e||"").replace(/\(.*?\)/g," ").split(/[\s,]+/).map((e=>e.replace(/[^\p{L}\p{N}]/gu,""))).filter(Boolean).slice(0,2).map((e=>e[0].toUpperCase())).join("")||"?",Ve=({account:r,avatarSrc:n,settingsUrl:o="/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(),[m,x]=k(!1),f=[...p??[],...null!==o||l?[{key:"settings",icon:t(C,{}),label:"Settings",onClick:()=>{l?l():o&&(window.location.href=o)}}]:[],{key:"logout",icon:t(z,{}),label:"Logout",onClick:()=>{s?b.confirm({title:"Are you sure you want to logout?",content:"Please click OK to continue",icon:t($,{}),okText:"Logout",onOk:d}):d()}}];return t(a,{open:m,onOpenChange:x,trigger:["click"],placement:"bottomRight",menu:{items:f,onClick:()=>x(!1)},popupRender:i=>e(Ke,{children:[e(_e,{children:[t(Pe,{$src:n,children:!n&&Xe(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(Ge,{type:"button",className:u,$shape:c,$size:h,"aria-label":`Account menu for ${r.fullName}`,children:[n?t("img",{src:n,alt:""}):Xe(r.fullName),!g&&t(We,{$size:h,"aria-hidden":!0,children:t(D,{})})]})})},Ye=I.div`
601
+ display: flex;
602
+ align-items: center;
603
+ gap: 8px;
604
+ flex: 0 0 auto;
605
+ `,qe=I.span`
606
+ width: 2px;
607
+ height: 24px;
608
+ background: var(--ant-color-border-secondary);
609
+ flex: 0 0 auto;
610
+ `,Je=({children:r,divided:n=!1,className:i})=>{const o=x.Children.toArray(r).filter(Boolean);return t(Ye,{className:i,children:o.map(((r,i)=>e(x.Fragment,{children:[n&&i===o.length-1&&i>0&&t(qe,{}),r]},i)))})},Qe=I.div`
320
611
  .ant-table-wrapper .ant-table {
321
612
  background: transparent;
322
613
  }
@@ -328,17 +619,17 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
328
619
  text-transform: uppercase;
329
620
  color: var(--ant-color-text-tertiary);
330
621
  padding-block: 14px;
331
- border-bottom: 2px solid var(--ant-color-border);
622
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
332
623
  background: transparent;
333
624
  }
334
625
 
335
626
  .ant-table-wrapper .ant-table-tbody > tr > td {
336
- border-bottom: 2px solid var(--ant-color-border-secondary);
627
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border-secondary);
337
628
  font-size: 16px;
338
629
  }
339
630
 
340
631
  .ant-table-wrapper .ant-table-tbody > tr:last-child > td {
341
- border-bottom: 2px solid var(--ant-color-border);
632
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
342
633
  }
343
634
 
344
635
  .ant-table-wrapper .ant-table-thead > tr > th:first-child,
@@ -366,14 +657,14 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
366
657
  .hisd3-cell-muted {
367
658
  color: var(--ant-color-text-tertiary);
368
659
  }
369
- `,Ce=w.div`
660
+ `,Ze=I.div`
370
661
  padding: 22px 0 14px;
371
662
  font-size: 13px;
372
663
  font-weight: 600;
373
664
  letter-spacing: 0.1em;
374
665
  text-transform: uppercase;
375
666
  color: var(--ant-color-text-tertiary);
376
- `,De=w.div`
667
+ `,et=I.div`
377
668
  display: flex;
378
669
  align-items: center;
379
670
  gap: 24px;
@@ -387,7 +678,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
387
678
 
388
679
  .ant-pagination {
389
680
  display: inline-flex;
390
- border: 2px solid var(--ant-color-border);
681
+ border: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
391
682
 
392
683
  .ant-pagination-item,
393
684
  .ant-pagination-prev,
@@ -399,7 +690,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
399
690
  height: 56px;
400
691
  line-height: 56px;
401
692
  border: 0;
402
- border-right: 2px solid var(--ant-color-border);
693
+ border-right: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
403
694
  border-radius: 0;
404
695
  font-weight: 700;
405
696
  font-size: 16px;
@@ -433,15 +724,15 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
433
724
  font-weight: 700;
434
725
  }
435
726
  }
436
- `,Te=w.div`
727
+ `,tt=I.div`
437
728
  display: inline-flex;
438
- border: 2px solid var(--ant-color-border);
729
+ border: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
439
730
 
440
731
  button {
441
732
  height: 56px;
442
733
  padding: 0 22px;
443
734
  border: 0;
444
- border-right: 2px solid var(--ant-color-border);
735
+ border-right: var(--hisd3-rule-width, 1px) solid var(--ant-color-border);
445
736
  background: transparent;
446
737
  font: inherit;
447
738
  font-size: 16px;
@@ -457,12 +748,12 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
457
748
  color: #fff;
458
749
  }
459
750
  }
460
- `,Le=e=>`Total ${e.toLocaleString()} items`;function ze({pagination:n,footer:i,...r}){const a=n||void 0,o=a?.pageSizeOptions??[10,20,50];return t(Ee,{children:[e(p,{...r,pagination:!1}),i&&e(Ce,{children:i}),a&&t(De,{children:[e("span",{className:"hisd3-total",children:(a.renderTotal??Le)(a.total,[(a.current-1)*a.pageSize+1,Math.min(a.current*a.pageSize,a.total)])}),e(c,{current:a.current,pageSize:a.pageSize,total:a.total,showSizeChanger:!1,onChange:(e,t)=>a.onChange(e,t),itemRender:(t,n,i)=>"prev"===n?e("span",{className:"ant-pagination-item-link",children:e(L,{})}):"next"===n?e("span",{className:"ant-pagination-item-link",children:e(z,{})}):i}),!a.hidePageSize&&e(Te,{role:"group","aria-label":"Rows per page",children:o.map((e=>t("button",{type:"button","aria-pressed":e===a.pageSize,onClick:()=>a.onChange(1,e),children:[e," / page"]},e)))})]})]})}const Be=w(h)`
751
+ `,rt=e=>`Total ${e.toLocaleString()} items`;function nt({pagination:r,footer:n,...i}){const o=r||void 0,a=o?.pageSizeOptions??[10,20,50];return e(Qe,{children:[t(h,{...i,pagination:!1}),n&&t(Ze,{children:n}),o&&e(et,{children:[t("span",{className:"hisd3-total",children:(o.renderTotal??rt)(o.total,[(o.current-1)*o.pageSize+1,Math.min(o.current*o.pageSize,o.total)])}),t(g,{current:o.current,pageSize:o.pageSize,total:o.total,showSizeChanger:!1,onChange:(e,t)=>o.onChange(e,t),itemRender:(e,r,n)=>"prev"===r?t("span",{className:"ant-pagination-item-link",children:t(B,{})}):"next"===r?t("span",{className:"ant-pagination-item-link",children:t(A,{})}):n}),!o.hidePageSize&&t(tt,{role:"group","aria-label":"Rows per page",children:a.map((t=>e("button",{type:"button","aria-pressed":t===o.pageSize,onClick:()=>o.onChange(1,t),children:[t," / page"]},t)))})]})]})}const it=I(u)`
461
752
  &.ant-tabs .ant-tabs-nav {
462
753
  margin: 0;
463
754
 
464
755
  &::before {
465
- border-bottom: 2px solid var(--ant-color-border-secondary);
756
+ border-bottom: var(--hisd3-rule-width, 1px) solid var(--ant-color-border-secondary);
466
757
  }
467
758
  }
468
759
 
@@ -490,7 +781,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
490
781
  .ant-tabs-tab-active .hisd3-tab-count {
491
782
  color: var(--ant-color-primary);
492
783
  }
493
- `,Ne=({items:i,...r})=>e(Be,{...r,items:i.map((({count:i,label:r,...a})=>({...a,label:t(n,{children:[r,void 0!==i&&e("span",{className:"hisd3-tab-count",children:i})]})})))}),Fe={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)"},Ae={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)"},Oe=w.span`
784
+ `,ot=({items:n,...i})=>t(it,{...i,items:n.map((({count:n,label:i,...o})=>({...o,label:e(r,{children:[i,void 0!==n&&t("span",{className:"hisd3-tab-count",children:n})]})})))}),at={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)"},lt={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)"},dt=I.span`
494
785
  display: inline-flex;
495
786
  align-items: center;
496
787
  gap: 6px;
@@ -502,11 +793,11 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
502
793
  text-transform: uppercase;
503
794
  white-space: nowrap;
504
795
  line-height: 1;
505
- border: 2px solid transparent;
796
+ border: var(--hisd3-rule-width, 1px) solid transparent;
506
797
  border-radius: 0;
507
798
 
508
- ${({$variant:e,$tone:t})=>{const n=Fe[t],i=Ae[t];switch(e){case"soft":return`color: ${n}; background: ${i};`;case"outline":return`color: ${n}; border-color: ${n}; background: transparent;`;case"solid":return`color: #fff; background: ${"default"===t?"var(--ant-color-text)":n};`;default:return"color: var(--ant-color-text); background: rgba(0,0,0,0.05);"}}}
509
- `,Re=({variant:t="neutral",tone:n=("neutral"===t?"default":"primary"),children:i,...r})=>e(Oe,{$variant:t,$tone:n,...r,children:i}),Ue=w(g)`
799
+ ${({$variant:e,$tone:t})=>{const r=at[t],n=lt[t];switch(e){case"soft":return`color: ${r}; background: ${n};`;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);"}}}
800
+ `,st=({variant:e="neutral",tone:r=("neutral"===e?"default":"primary"),children:n,...i})=>t(dt,{$variant:e,$tone:r,...i,children:n}),pt=I(b)`
510
801
  &.ant-btn {
511
802
  display: inline-flex;
512
803
  align-items: center;
@@ -532,16 +823,16 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
532
823
  }
533
824
 
534
825
  &.ant-btn-default {
535
- border-width: 2px;
826
+ border-width: var(--hisd3-rule-width, 1px);
536
827
  }
537
828
 
538
829
  .anticon {
539
830
  font-size: 1.05em;
540
831
  }
541
- `,He={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},$e=({variant:t="secondary",...n})=>e(Ue,{...He[t],...n}),Me=w(u)`
832
+ `,ct={primary:{type:"primary"},secondary:{type:"default"},ghost:{type:"text"},danger:{type:"primary",danger:!0}},ht=({variant:e="secondary",...r})=>t(pt,{...ct[e],...r}),gt=I(m)`
542
833
  &.ant-input,
543
834
  &.ant-input-affix-wrapper {
544
- border-width: 2px;
835
+ border-width: var(--hisd3-rule-width, 1px);
545
836
  font-size: 16px;
546
837
  }
547
838
 
@@ -550,7 +841,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
550
841
  color: var(--ant-color-text-tertiary);
551
842
  font-size: 18px;
552
843
  }
553
- `,We=t=>e(Me,{...t}),Ge=w(Me)`
844
+ `,ut=e=>t(gt,{...e}),bt=I(gt)`
554
845
  &.ant-input-affix-wrapper {
555
846
  background: var(--hisd3-bg-filled, #e6e4e1);
556
847
  border-color: var(--ant-color-border-secondary);
@@ -584,5 +875,5 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
584
875
  font-size: 18px;
585
876
  }
586
877
  }
587
- `,_e=({compact:t=!1,className:n,...i})=>e(Ge,{allowClear:!0,prefix:e(B,{}),className:[t?"hisd3-search-compact":"",n??""].join(" ").trim(),...i});var je,Pe,Ke,Xe,Ve,qe,Je,Ye,Qe,Ze,et,tt,nt;!function(e){e.MODERN="modern",e.STANDARD="standard"}(je||(je={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(Pe||(Pe={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(Ke||(Ke={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(Xe||(Xe={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(Ve||(Ve={})),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"}(qe||(qe={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(Je||(Je={})),function(e){e.RTL="rtl",e.LTR="ltr"}(Ye||(Ye={})),function(e){e.DARK="dark",e.LIGHT="light"}(Qe||(Qe={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(Ze||(Ze={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(et||(et={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(tt||(tt={})),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"}(nt||(nt={}));const it={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}}},rt={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 at,ot;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(at||(at={})),function(e){e.Admin="admin",e.User="user"}(ot||(ot={}));export{it as AppAnimateGroups,nt as AppAnimates,rt as AppMotionAnimate,tt as AuthType,et as Fonts,Je as FooterType,$e as HISD3Button,We as HISD3Input,Ie as HISD3PageBody,ke as HISD3PageHeader,P as HISD3Provider,_e as HISD3SearchInput,xe as HISD3Sidebar,ze as HISD3Table,Ne as HISD3Tabs,Re as HISD3Tag,G as HISD3_COLORS,O as HISD3_FONT_FAMILY,U as HISD3_FONT_WEIGHT_BODY,R as HISD3_FONT_WEIGHT_HEADING,K as HISD3_LAYOUT,A as HISD3_NEUTRALS,F as HISD3_PRESETS,Qe as HeaderType,Ye as LayoutDirection,Xe as LayoutType,Ve as MenuStyle,at as MessageType,qe as NavStyle,ot as RoutePermittedRole,Ze as RouteTransition,Ke as ThemeMode,je as ThemeStyle,Pe as ThemeStyleRadius,be as UserMenu,M as createHisd3Theme,W as hisd3AntdTheme,H as resolvePrimary,$ as tint,j as useInsideHISD3Provider};
878
+ `,mt=({compact:e=!1,className:r,...n})=>t(bt,{allowClear:!0,prefix:t(F,{}),className:[e?"hisd3-search-compact":"",r??""].join(" ").trim(),...n});var xt,ft,yt,vt,wt,kt,St,It,Et,Ct,zt,Dt,$t;!function(e){e.MODERN="modern",e.STANDARD="standard"}(xt||(xt={})),function(e){e.MODERN="30px",e.STANDARD="16px"}(ft||(ft={})),function(e){e.LIGHT="light",e.SEMI_DARK="semi-dark",e.DARK="dark"}(yt||(yt={})),function(e){e.FULL_WIDTH="full-width",e.BOXED="boxed",e.FRAMED="framed"}(vt||(vt={})),function(e){e.DEFAULT="default",e.STANDARD="standard",e.ROUNDED="rounded",e.ROUNDED_REVERSE="rounded-reverse",e.CURVED_MENU="curved-menu"}(wt||(wt={})),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"}(kt||(kt={})),function(e){e.FIXED="fixed",e.FLUID="fluid"}(St||(St={})),function(e){e.RTL="rtl",e.LTR="ltr"}(It||(It={})),function(e){e.DARK="dark",e.LIGHT="light"}(Et||(Et={})),function(e){e.NONE="none",e.FADE="fade",e.SLIDE_LEFT="slideLeft",e.SLIDE_RIGHT="slideRight",e.SLIDE_UP="slideUp",e.SLIDE_DOWN="slideDown"}(Ct||(Ct={})),function(e){e.LIGHT="300",e.REGULAR="400",e.MEDIUM="500",e.BOLD="600"}(zt||(zt={})),function(e){e.FIREBASE="firebase",e.AWS_COGNITO="aws_cognito",e.AUTH0="auth0",e.JWT_AUTH="jwt_auth"}(Dt||(Dt={})),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"}($t||($t={}));const Tt={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}}},Lt={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 Nt,Bt;!function(e){e[e.MEDIA=1]="MEDIA",e[e.TEXT=2]="TEXT"}(Nt||(Nt={})),function(e){e.Admin="admin",e.User="user"}(Bt||(Bt={}));export{Tt as AppAnimateGroups,$t as AppAnimates,Lt as AppMotionAnimate,Dt as AuthType,zt as Fonts,St as FooterType,Ve as HISD3AvatarMenu,ht as HISD3Button,Je as HISD3HeaderActions,ut as HISD3Input,je as HISD3NotificationButton,$e as HISD3PageBody,Te as HISD3PageHeader,Q as HISD3Provider,mt as HISD3SearchInput,Ie as HISD3Sidebar,nt as HISD3Table,ot as HISD3Tabs,st as HISD3Tag,M as HISD3_BORDER_PRESETS,Y as HISD3_COLORS,j as HISD3_FONT_FAMILY,W as HISD3_FONT_WEIGHT_BODY,G as HISD3_FONT_WEIGHT_HEADING,O as HISD3_LAYOUT,H as HISD3_NEUTRALS,U as HISD3_PRESETS,Le as HeaderIconButton,Et as HeaderType,It as LayoutDirection,vt as LayoutType,wt as MenuStyle,Nt as MessageType,kt as NavStyle,Bt as RoutePermittedRole,Ct as RouteTransition,yt as ThemeMode,xt as ThemeStyle,ft as ThemeStyleRadius,ke as UserMenu,X as borderVarsCss,K as createHisd3Theme,Xe as getInitials,V as hisd3AntdTheme,_ as resolvePrimary,P as tint,J as useInsideHISD3Provider};
588
879
  //# sourceMappingURL=index.js.map