hisd3-ui-kit 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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 I}from"styled-components";import{SettingOutlined as S,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 A={red:"#E5401C",orange:"#F26B1D",teal:"#00796B",blue:"#1D5FD1",green:"#2E7D32",purple:"#6A3FD6"},F={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")=>A[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=F,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:46,itemPaddingInline:24,iconSize:18,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:20,contentFontSizeLG:16},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:A.red,primaryLight:$(A.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(I,{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{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)`
2
2
  min-height: 100vh;
3
3
  background: var(--ant-color-bg-layout);
4
4
 
@@ -34,8 +34,8 @@ 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: 22px 24px 8px;
38
- font-size: 12px;
37
+ padding: 18px 24px 6px;
38
+ font-size: 11px;
39
39
  font-weight: 600;
40
40
  letter-spacing: 0.14em;
41
41
  text-transform: uppercase;
@@ -45,8 +45,8 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
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
47
  border-top: 2px solid var(--ant-color-border-secondary);
48
- margin-top: 12px;
49
- padding-top: 26px;
48
+ margin-top: 10px;
49
+ padding-top: 20px;
50
50
  }
51
51
  .ant-menu-item-group + .ant-menu-item-group::before {
52
52
  content: none;
@@ -54,7 +54,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
54
54
 
55
55
  .ant-menu-item,
56
56
  .ant-menu-submenu-title {
57
- font-size: 17px;
57
+ font-size: 14px;
58
58
  font-weight: 500;
59
59
  position: relative;
60
60
  width: 100%;
@@ -62,7 +62,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
62
62
 
63
63
  .ant-menu-item .ant-menu-item-icon,
64
64
  .ant-menu-submenu-title .ant-menu-item-icon {
65
- font-size: 18px;
65
+ font-size: 16px;
66
66
  }
67
67
 
68
68
  /* open parent ("Billing") in primary */
@@ -74,7 +74,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
74
74
 
75
75
  /* child items are indented by antd; keep them slightly smaller */
76
76
  .ant-menu-sub.ant-menu-inline > .ant-menu-item {
77
- font-size: 16px;
77
+ font-size: 13.5px;
78
78
  }
79
79
 
80
80
  /* active item: tint + 4px accent bar */
@@ -87,7 +87,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
87
87
  left: 0;
88
88
  top: 0;
89
89
  bottom: 0;
90
- width: 5px;
90
+ width: 4px;
91
91
  background: var(--ant-color-primary);
92
92
  }
93
93
  }
@@ -98,7 +98,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
98
98
  `,ee=w.a`
99
99
  display: flex;
100
100
  align-items: center;
101
- gap: 16px;
101
+ gap: 12px;
102
102
  height: ${Y}px;
103
103
  padding: 0 ${({$collapsed:e})=>e?14:24}px;
104
104
  justify-content: ${({$collapsed:e})=>e?"center":"flex-start"};
@@ -110,8 +110,8 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
110
110
  border-bottom: 2px solid var(--ant-color-border);
111
111
 
112
112
  .hisd3-brand-mark {
113
- width: 40px;
114
- height: 40px;
113
+ width: 36px;
114
+ height: 36px;
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: 40px;
124
- width: 40px;
123
+ height: 36px;
124
+ width: 36px;
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: 22px;
132
+ font-size: 18px;
133
133
  font-weight: var(--font-weight-heading, 800);
134
134
  letter-spacing: 0.04em;
135
135
  text-transform: uppercase;
@@ -156,7 +156,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
156
156
  border-bottom: none;
157
157
  background: transparent;
158
158
  line-height: ${Y-2}px;
159
- font-size: 16px;
159
+ font-size: 14px;
160
160
  font-weight: 500;
161
161
  }
162
162
  `,ne=w(X)`
@@ -197,7 +197,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
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?"16px 0":"20px 24px"};
200
+ padding: ${({$inHeader:e,$collapsed:t})=>e?"0 4px":t?"14px 0":"16px 24px"};
201
201
  min-width: ${({$inHeader:e})=>e?"220px":"0"};
202
202
  border-top: ${({$inHeader:e})=>e?"none":"2px solid var(--ant-color-border)"};
203
203
 
@@ -210,15 +210,15 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
210
210
  justify-content: center;
211
211
  cursor: pointer;
212
212
  color: inherit;
213
- gap: 16px;
213
+ gap: 12px;
214
214
  `,le=w.span`
215
- width: 48px;
216
- height: 48px;
215
+ width: 40px;
216
+ height: 40px;
217
217
  flex: 0 0 auto;
218
218
  display: flex;
219
219
  align-items: center;
220
220
  justify-content: center;
221
- font-size: 16px;
221
+ font-size: 14px;
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"};
@@ -233,7 +233,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
233
233
  `,pe=w.h3`
234
234
  margin: 0;
235
235
  font-family: var(--font-body);
236
- font-size: 17px;
236
+ font-size: 14px;
237
237
  font-weight: 700;
238
238
  letter-spacing: 0;
239
239
  color: var(--ant-color-text);
@@ -256,8 +256,8 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
256
256
  }
257
257
  `,he=w.span`
258
258
  display: block;
259
- margin-top: 4px;
260
- font-size: 12px;
259
+ margin-top: 3px;
260
+ font-size: 11px;
261
261
  font-weight: 500;
262
262
  letter-spacing: 0.12em;
263
263
  text-transform: uppercase;
@@ -265,7 +265,7 @@ 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(S,{}),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:S=me,headerExtra:k,userMenuItems:E,onCollapse:C,collapsed:L=!1,loading:z=!1,hideSidebar:B=!1,layoutTop:N=!1,hideCollapseTrigger:A=!1,siderWidth:F=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,S)),[h,S]),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:F,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:[!A&&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(I,{theme:b??{},children:$?e(i,{theme:$,children:le}):le})},ye=K.pageGutter,ve=w.div`
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`
269
269
  display: flex;
270
270
  align-items: center;
271
271
  gap: 24px;
@@ -278,7 +278,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
278
278
  z-index: 20;
279
279
 
280
280
  .ant-breadcrumb {
281
- font-size: 16px;
281
+ font-size: 14px;
282
282
  flex: 1 1 auto;
283
283
  min-width: 0;
284
284
  }
@@ -291,18 +291,18 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
291
291
  align-items: center;
292
292
  gap: 16px;
293
293
  flex: 0 0 auto;
294
- `,Ie=w.div`
294
+ `,Se=w.div`
295
295
  display: flex;
296
296
  align-items: baseline;
297
297
  gap: 24px;
298
298
  flex-wrap: wrap;
299
- padding: 36px ${ye}px 28px;
299
+ padding: 28px ${ye}px 24px;
300
300
  border-bottom: 2px 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: 56px;
305
+ font-size: 44px;
306
306
  line-height: 1.05;
307
307
  font-weight: var(--font-weight-heading, 800);
308
308
  letter-spacing: -0.02em;
@@ -311,12 +311,12 @@ 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: 20px;
314
+ font-size: 17px;
315
315
  color: var(--ant-color-text-secondary);
316
316
  }
317
- `,Se=w.div`
317
+ `,Ie=w.div`
318
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(Ie,{children:[e("h1",{children:n}),i&&e("p",{children:i})]})]}),Ee=w.div`
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`
320
320
  .ant-table-wrapper .ant-table {
321
321
  background: transparent;
322
322
  }
@@ -490,7 +490,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
490
490
  .ant-tabs-tab-active .hisd3-tab-count {
491
491
  color: var(--ant-color-primary);
492
492
  }
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})]})})))}),Ae={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)"},Fe={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`
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`
494
494
  display: inline-flex;
495
495
  align-items: center;
496
496
  gap: 6px;
@@ -505,29 +505,30 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
505
505
  border: 2px solid transparent;
506
506
  border-radius: 0;
507
507
 
508
- ${({$variant:e,$tone:t})=>{const n=Ae[t],i=Fe[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);"}}}
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
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)`
510
510
  &.ant-btn {
511
- text-transform: none;
512
- letter-spacing: 0;
513
511
  display: inline-flex;
514
512
  align-items: center;
515
513
  gap: 8px;
516
- height: var(--hisd3-btn-height, 52px);
517
- padding-inline: 20px;
518
- font-size: 16px;
514
+ height: 40px;
515
+ padding-inline: 16px;
516
+ font-size: 14px;
519
517
  font-weight: 600;
520
518
  box-shadow: none;
521
519
  }
522
520
 
523
521
  &.ant-btn-sm {
524
- --hisd3-btn-height: 36px;
525
- font-size: 14px;
526
- padding-inline: 14px;
522
+ height: 32px;
523
+ padding-inline: 12px;
524
+ font-size: 13px;
525
+ gap: 6px;
527
526
  }
528
527
 
529
528
  &.ant-btn-lg {
530
- --hisd3-btn-height: 56px;
529
+ height: 52px;
530
+ padding-inline: 20px;
531
+ font-size: 16px;
531
532
  }
532
533
 
533
534
  &.ant-btn-default {
@@ -583,5 +584,5 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{ConfigPro
583
584
  font-size: 18px;
584
585
  }
585
586
  }
586
- `,_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,Se 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,F as HISD3_NEUTRALS,A 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};
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};
587
588
  //# sourceMappingURL=index.js.map