@jitera/jitera-web-ui-library 1.0.3 → 1.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.d.ts CHANGED
@@ -1,20 +1,24 @@
1
1
  /// <reference types="react" />
2
2
  import React, { ForwardRefExoticComponent, RefAttributes, ReactElement } from 'react'
3
3
  import {
4
+ CardProps,
4
5
  ButtonProps as ButtonProps$1,
5
- CardProps as CardProps$1,
6
+ ColProps as ColProps$1,
6
7
  FormProps as FormProps$1,
7
8
  FormInstance,
8
9
  Form as Form$1,
9
10
  InputProps as InputProps$1,
10
11
  FormItemProps,
11
- InputRef
12
+ InputRef,
13
+ RowProps as RowProps$1
12
14
  } from 'antd'
13
15
  export { FormItemProps } from 'antd'
14
16
  import { CardInterface } from 'antd/lib/card'
15
17
  import { BasicProps } from 'antd/lib/layout/layout'
18
+ import * as react_icons_lib from 'react-icons/lib'
19
+ import { IconBaseProps } from 'react-icons/lib'
16
20
  import { SiderProps as SiderProps$1 } from 'antd/lib/layout/Sider'
17
- import { TextProps } from 'antd/lib/typography/Text'
21
+ import { TextProps as TextProps$1 } from 'antd/lib/typography/Text'
18
22
  import { LinkProps } from 'antd/lib/typography/Link'
19
23
  import { TitleProps } from 'antd/lib/typography/Title'
20
24
  import { ParagraphProps } from 'antd/lib/typography/Paragraph'
@@ -26,13 +30,16 @@ interface PreviewProps {
26
30
 
27
31
  declare type ComponentProps<T> = Omit<T, 'prefixCls' | 'iconPrefixCls'>
28
32
 
33
+ interface BoxProps extends PreviewProps, ComponentProps<CardProps> {}
34
+ declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<CardInterface>>
35
+
29
36
  interface ButtonProps extends PreviewProps, ComponentProps<ButtonProps$1> {}
30
37
  declare const Button: React.ForwardRefExoticComponent<
31
38
  ButtonProps & React.RefAttributes<HTMLButtonElement>
32
39
  >
33
40
 
34
- interface CardProps extends PreviewProps, ComponentProps<CardProps$1> {}
35
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<CardInterface>>
41
+ interface ColProps extends PreviewProps, ComponentProps<ColProps$1> {}
42
+ declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>
36
43
 
37
44
  interface ContentProps extends PreviewProps, ComponentProps<BasicProps> {}
38
45
  declare const Content: React.ForwardRefExoticComponent<
@@ -59,6 +66,32 @@ declare const Header: React.ForwardRefExoticComponent<
59
66
  HeaderProps & React.RefAttributes<HTMLDivElement>
60
67
  >
61
68
 
69
+ declare enum IconSet {
70
+ All = 'all',
71
+ Antd = 'antd',
72
+ Bootstrap = 'bootstrap',
73
+ Feather = 'feather',
74
+ FontAwesome = 'font-awesome',
75
+ Material = 'material'
76
+ }
77
+ declare function getIconComponent(
78
+ iconName: string,
79
+ props?: IconBaseProps
80
+ ): React.ReactElement<IconBaseProps, string | React.JSXElementConstructor<any>>
81
+ declare function assertUnreachable(value: never): never
82
+ declare function searchIcons(
83
+ iconSet: IconSet,
84
+ searchValue?: string | undefined
85
+ ): [string, react_icons_lib.IconType][]
86
+ declare const DEFAULT_ICON_SIZE = 14
87
+ declare const DEFAULT_ICON_COLOR = '#000'
88
+ interface IconProps extends ComponentProps<IconBaseProps> {
89
+ iconName: string
90
+ }
91
+ declare const Icon: React.ForwardRefExoticComponent<
92
+ IconProps & React.RefAttributes<HTMLSpanElement>
93
+ >
94
+
62
95
  interface InputProps extends PreviewProps, ComponentProps<InputProps$1> {
63
96
  formItem?: boolean
64
97
  formItemProps?: Omit<FormItemProps, 'children'>
@@ -73,31 +106,29 @@ declare const Layout: React.ForwardRefExoticComponent<
73
106
  interface PageProps extends PreviewProps, React.HTMLAttributes<HTMLDivElement> {}
74
107
  declare const Page: React.ForwardRefExoticComponent<PageProps & React.RefAttributes<HTMLDivElement>>
75
108
 
109
+ interface RowProps extends PreviewProps, ComponentProps<RowProps$1> {}
110
+ declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>
111
+
76
112
  interface SiderProps extends PreviewProps, ComponentProps<SiderProps$1> {}
77
113
  declare const Sider: React.ForwardRefExoticComponent<
78
114
  SiderProps & React.RefAttributes<HTMLDivElement>
79
115
  >
80
116
 
81
- declare enum TypographyVariantType {
117
+ declare enum TextVariantType {
82
118
  Title = 'Title',
83
119
  Link = 'Link',
84
120
  Text = 'Text',
85
121
  Paragraph = 'Paragraph'
86
122
  }
87
- declare type TypographyElement = HTMLHeadingElement &
88
- HTMLSpanElement &
89
- HTMLParagraphElement &
90
- HTMLElement
91
- declare type CombinedTypographyProps = ComponentProps<TextProps> &
123
+ declare type TextElement = HTMLHeadingElement & HTMLSpanElement & HTMLParagraphElement & HTMLElement
124
+ declare type CombinedTextProps = ComponentProps<TextProps$1> &
92
125
  ComponentProps<LinkProps> &
93
126
  ComponentProps<TitleProps> &
94
127
  ComponentProps<ParagraphProps>
95
- interface TypographyProps extends PreviewProps, CombinedTypographyProps {
96
- variant?: TypographyVariantType
128
+ interface TextProps extends PreviewProps, CombinedTextProps {
129
+ variant?: TextVariantType
97
130
  }
98
- declare const Typography: React.ForwardRefExoticComponent<
99
- TypographyProps & React.RefAttributes<TypographyElement>
100
- >
131
+ declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<TextElement>>
101
132
 
102
133
  interface OTPInputProps extends OtpInputProps {
103
134
  errorMessage?: string
@@ -1937,13 +1968,17 @@ declare const useTheme: () => {
1937
1968
  }
1938
1969
 
1939
1970
  export {
1971
+ Box,
1972
+ BoxProps,
1940
1973
  Button,
1941
1974
  ButtonProps,
1942
- Card,
1943
- CardProps,
1944
- CombinedTypographyProps,
1975
+ Col,
1976
+ ColProps,
1977
+ CombinedTextProps,
1945
1978
  Content,
1946
1979
  ContentProps,
1980
+ DEFAULT_ICON_COLOR,
1981
+ DEFAULT_ICON_SIZE,
1947
1982
  Footer,
1948
1983
  FooterProps,
1949
1984
  Form,
@@ -1951,6 +1986,9 @@ export {
1951
1986
  FormProps,
1952
1987
  Header,
1953
1988
  HeaderProps,
1989
+ Icon,
1990
+ IconProps,
1991
+ IconSet,
1954
1992
  Input,
1955
1993
  InputProps,
1956
1994
  Layout,
@@ -1959,13 +1997,18 @@ export {
1959
1997
  OTPInputProps,
1960
1998
  Page,
1961
1999
  PageProps,
2000
+ Row,
2001
+ RowProps,
1962
2002
  Sider,
1963
2003
  SiderProps,
2004
+ Text,
2005
+ TextElement,
2006
+ TextProps,
2007
+ TextVariantType,
1964
2008
  ThemeProvider,
1965
- Typography,
1966
- TypographyElement,
1967
- TypographyProps,
1968
- TypographyVariantType,
2009
+ assertUnreachable,
1969
2010
  defaultTheme,
2011
+ getIconComponent,
2012
+ searchIcons,
1970
2013
  useTheme
1971
2014
  }
package/dist/index.esm.js CHANGED
@@ -1 +1 @@
1
- import{jsx as d,jsxs as e,Fragment as f}from"react/jsx-runtime";import a,{useContext as g,createContext as c,useState as h,useMemo as i}from"react";import{Button as j,Card as k,Form as b,Input as l,Typography as m,ConfigProvider as n}from"antd";import o,{Content as p,Footer as q,Header as r}from"antd/lib/layout/layout";import s from"antd/lib/layout/Sider";import t from"react-otp-input";const Button=a.forwardRef((a,b)=>{const{type:c="primary",...e}=a;return d(j,{type:c,...e,ref:b})});const Card=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(k,{...e,ref:b,children:c})});const Content=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(p,{...e,prefixCls:"jitera-layout-content",ref:b,children:c})});const Footer=a.forwardRef((a,b)=>{const{children:c,style:e,...f}=a;return d(q,{...f,prefixCls:"jitera-layout-footer",style:{width:"100%",...e},ref:b,children:c})});const FormComponent=a.forwardRef((a,c)=>{const{children:e,formRef:f,style:g,formStyle:h,...i}=a;return d("div",{ref:c,style:{...g,height:"100%"},children:d(b,{...i,style:h,ref:f,children:e})})});const Form=FormComponent;Form.ErrorList=b.ErrorList;Form.useForm=b.useForm;Form.Item=b.Item;Form.List=b.List;Form.Provider=b.Provider;Form.create=b.create;const Header=a.forwardRef((a,b)=>{const{children:c,style:e,...f}=a;return d(r,{...f,prefixCls:"jitera-layout-header",style:{width:"100%",...e},ref:b,children:c})});const Input=a.forwardRef((c,a)=>{const{formItem:e,formItemProps:f={},...b}=c;return e?d(Form.Item,{...f,children:d(l,{...b,ref:a})}):d(l,{...b,ref:a})});const Layout=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(o,{...e,prefixCls:"jitera-layout",ref:b,children:c})});const Page=a.forwardRef(({isPreview:a,...b},c)=>{const{children:e,style:f,...g}=b;const h=a?"100%":"100vh";return d("div",{...g,style:{width:"100%",minHeight:h,backgroundColor:"#fff",...f},ref:c,children:e})});const Sider=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(s,{...e,prefixCls:"jitera-layout-sider",ref:b,children:c})});var TypographyVariantType;(function(a){a["Title"]="Title";a["Link"]="Link";a["Text"]="Text";a["Paragraph"]="Paragraph"})(TypographyVariantType||(TypographyVariantType={}));const Typography=a.forwardRef((a,b)=>{const{variant:c=TypographyVariantType.Text,...e}=a;const f=m[c];return d(f,{...e,ref:b})});const PREFIX_COMPONENT_CLASSNAME="jitera";const PREFIX_ICON_CLASSNAME="jiteraicon";const defaultTheme={blueBase:"#1890ff",blue1:"#e6f7ff",blue2:"#bae7ff",blue3:"#91d5ff",blue4:"#69c0ff",blue5:"#40a9ff",blue6:"#1890ff",blue7:"#096dd9",blue8:"#0050b3",blue9:"#003a8c",blue10:"#002766",purpleBase:"#722ed1",purple1:"#f9f0ff",purple2:"#efdbff",purple3:"#d3adf7",purple4:"#b37feb",purple5:"#9254de",purple6:"#722ed1",purple7:"#531dab",purple8:"#391085",purple9:"#22075e",purple10:"#120338",cyanBase:"#13c2c2",cyan1:"#e6fffb",cyan2:"#b5f5ec",cyan3:"#87e8de",cyan4:"#5cdbd3",cyan5:"#36cfc9",cyan6:"#13c2c2",cyan7:"#08979c",cyan8:"#006d75",cyan9:"#00474f",cyan10:"#002329",greenBase:"#52c41a",green1:"#f6ffed",green2:"#d9f7be",green3:"#b7eb8f",green4:"#95de64",green5:"#73d13d",green6:"#52c41a",green7:"#389e0d",green8:"#237804",green9:"#135200",green10:"#092b00",magentaBase:"#eb2f96",magenta1:"#fff0f6",magenta2:"#ffd6e7",magenta3:"#ffadd2",magenta4:"#ff85c0",magenta5:"#f759ab",magenta6:"#eb2f96",magenta7:"#c41d7f",magenta8:"#9e1068",magenta9:"#780650",magenta10:"#520339",pinkBase:"#eb2f96",pink1:"#fff0f6",pink2:"#ffd6e7",pink3:"#ffadd2",pink4:"#ff85c0",pink5:"#f759ab",pink6:"#eb2f96",pink7:"#c41d7f",pink8:"#9e1068",pink9:"#780650",pink10:"#520339",redBase:"#f5222d",red1:"#fff1f0",red2:"#ffccc7",red3:"#ffa39e",red4:"#ff7875",red5:"#ff4d4f",red6:"#f5222d",red7:"#cf1322",red8:"#a8071a",red9:"#820014",red10:"#5c0011",orangeBase:"#fa8c16",orange1:"#fff7e6",orange2:"#ffe7ba",orange3:"#ffd591",orange4:"#ffc069",orange5:"#ffa940",orange6:"#fa8c16",orange7:"#d46b08",orange8:"#ad4e00",orange9:"#873800",orange10:"#612500",yellowBase:"#fadb14",yellow1:"#feffe6",yellow2:"#ffffb8",yellow3:"#fffb8f",yellow4:"#fff566",yellow5:"#ffec3d",yellow6:"#fadb14",yellow7:"#d4b106",yellow8:"#ad8b00",yellow9:"#876800",yellow10:"#614700",volcanoBase:"#fa541c",volcano1:"#fff2e8",volcano2:"#ffd8bf",volcano3:"#ffbb96",volcano4:"#ff9c6e",volcano5:"#ff7a45",volcano6:"#fa541c",volcano7:"#d4380d",volcano8:"#ad2102",volcano9:"#871400",volcano10:"#610b00",geekblueBase:"#2f54eb",geekblue1:"#f0f5ff",geekblue2:"#d6e4ff",geekblue3:"#adc6ff",geekblue4:"#85a5ff",geekblue5:"#597ef7",geekblue6:"#2f54eb",geekblue7:"#1d39c4",geekblue8:"#10239e",geekblue9:"#061178",geekblue10:"#030852",limeBase:"#a0d911",lime1:"#fcffe6",lime2:"#f4ffb8",lime3:"#eaff8f",lime4:"#d3f261",lime5:"#bae637",lime6:"#a0d911",lime7:"#7cb305",lime8:"#5b8c00",lime9:"#3f6600",lime10:"#254000",goldBase:"#faad14",gold1:"#fffbe6",gold2:"#fff1b8",gold3:"#ffe58f",gold4:"#ffd666",gold5:"#ffc53d",gold6:"#faad14",gold7:"#d48806",gold8:"#ad6800",gold9:"#874d00",gold10:"#613400",presetColors:"pink, magenta, red, volcano, orange, yellow, gold, cyan, lime, green, blue, geekblue, purple",theme:"default",antPrefix:"ant",htmlSelector:"html",primaryColor:"#1890ff",primaryColorHover:"#40a9ff",primaryColorActive:"#096dd9",primaryColorOutline:"rgba(24, 144, 255, 0.2)",processingColor:"#1890ff",infoColor:"#1890ff",infoColorDeprecatedBg:"#e6f7ff",infoColorDeprecatedBorder:"#91d5ff",successColor:"#52c41a",successColorHover:"#73d13d",successColorActive:"#389e0d",successColorOutline:"rgba(82, 196, 26, 0.2)",successColorDeprecatedBg:"#f6ffed",successColorDeprecatedBorder:"#b7eb8f",warningColor:"#faad14",warningColorHover:"#ffc53d",warningColorActive:"#d48806",warningColorOutline:"rgba(250, 173, 20, 0.2)",warningColorDeprecatedBg:"#fffbe6",warningColorDeprecatedBorder:"#ffe58f",errorColor:"#ff4d4f",errorColorHover:"#ff7875",errorColorActive:"#d9363e",errorColorOutline:"rgba(255, 77, 79, 0.2)",errorColorDeprecatedBg:"#fff2f0",errorColorDeprecatedBorder:"#ffccc7",highlightColor:"#ff4d4f",normalColor:"#d9d9d9",white:"#fff",black:"#000",primary1:"#e6f7ff",primary2:"#bae7ff",primary3:"#91d5ff",primary4:"#69c0ff",primary5:"#40a9ff",primary6:"#1890ff",primary7:"#096dd9",primary8:"#0050b3",primary9:"#003a8c",primary10:"#002766",bodyBackground:"#fff",componentBackground:"#fff",popoverBackground:"#fff",popoverCustomizeBorderColor:"#f0f0f0",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",codeFamily:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",textColor:"rgba(0, 0, 0, 0.85)",textColorSecondary:"rgba(0, 0, 0, 0.45)",textColorInverse:"#fff",iconColor:"inherit",iconColorHover:"rgba(0, 0, 0, 0.75)",headingColor:"rgba(0, 0, 0, 0.85)",textColorDark:"rgba(255, 255, 255, 0.85)",textColorSecondaryDark:"rgba(255, 255, 255, 0.65)",textSelectionBg:"#1890ff",fontVariantBase:"tabular-nums",fontFeatureSettingsBase:"'tnum'",fontSizeBase:"14px",fontSizeLg:"16px",fontSizeSm:"12px",heading1Size:"38px",heading2Size:"30px",heading3Size:"24px",heading4Size:"20px",heading5Size:"16px",lineHeightBase:"1.5715",borderRadiusBase:"2px",borderRadiusSm:"2px",paddingLg:"24px",paddingMd:"16px",paddingSm:"12px",paddingXs:"8px",paddingXss:"4px",controlPaddingHorizontal:"12px",controlPaddingHorizontalSm:"8px",marginLg:"24px",marginMd:"16px",marginSm:"12px",marginXs:"8px",marginXss:"4px",heightBase:"32px",heightLg:"40px",heightSm:"24px",itemActiveBg:"#e6f7ff",itemHoverBg:"#f5f5f5",iconfontCssPrefix:"anticon",linkColor:"#1890ff",linkHoverColor:"#40a9ff",linkActiveColor:"#096dd9",linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",linkFocusOutline:"0",easeBaseOut:"cubic-bezier(0.7, 0.3, 0.1, 1)",easeBaseIn:"cubic-bezier(0.9, 0, 0.3, 0.7)",easeOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",easeIn:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",easeInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",easeOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",easeInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",easeInOutBack:"cubic-bezier(0.71, -0.46, 0.29, 1.46)",easeOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",easeInCirc:"cubic-bezier(0.6, 0.04, 0.98, 0.34)",easeInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",easeOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",easeInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeInOutQuint:"cubic-bezier(0.86, 0, 0.07, 1)",borderColorBase:"#d9d9d9",borderColorSplit:"#f0f0f0",borderColorInverse:"#fff",borderWidthBase:"1px",borderStyleBase:"solid",outlineBlurSize:"0",outlineWidth:"2px",outlineColor:"#1890ff",outlineFade:"20%",backgroundColorLight:"#fafafa",backgroundColorBase:"#f5f5f5",disabledColor:"rgba(0, 0, 0, 0.25)",disabledBg:"#f5f5f5",disabledActiveBg:"#e6e6e6",disabledColorDark:"rgba(255, 255, 255, 0.35)",shadowColor:"rgba(0, 0, 0, 0.15)",shadowColorInverse:"#fff",boxShadowBase:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",shadow1Up:"0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Down:"0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Left:"-6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow1Right:"6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow2:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",btnFontWeight:"400",btnBorderRadiusBase:"2px",btnBorderRadiusSm:"2px",btnBorderWidth:"1px",btnBorderStyle:"solid",btnShadow:"0 2px 0 rgba(0, 0, 0, 0.015)",btnPrimaryShadow:"0 2px 0 rgba(0, 0, 0, 0.045)",btnTextShadow:"0 -1px 0 rgba(0, 0, 0, 0.12)",btnPrimaryColor:"#fff",btnPrimaryBg:"#1890ff",btnDefaultColor:"rgba(0, 0, 0, 0.85)",btnDefaultBg:"#fff",btnDefaultBorder:"#d9d9d9",btnDangerColor:"#fff",btnDangerBg:"#ff4d4f",btnDangerBorder:"#ff4d4f",btnDisableColor:"rgba(0, 0, 0, 0.25)",btnDisableBg:"#f5f5f5",btnDisableBorder:"#d9d9d9",btnDefaultGhostColor:"#fff",btnDefaultGhostBg:"transparent",btnDefaultGhostBorder:"#fff",btnFontSizeLg:"16px",btnFontSizeSm:"14px",btnPaddingHorizontalBase:"15px",btnPaddingHorizontalLg:"15px",btnPaddingHorizontalSm:"7px",btnHeightBase:"32px",btnHeightLg:"40px",btnHeightSm:"24px",btnLineHeight:"1.5715",btnCircleSize:"32px",btnCircleSizeLg:"40px",btnCircleSizeSm:"24px",btnSquareSize:"32px",btnSquareSizeLg:"40px",btnSquareSizeSm:"24px",btnSquareOnlyIconSize:"16px",btnSquareOnlyIconSizeSm:"14px",btnSquareOnlyIconSizeLg:"18px",btnGroupBorder:"#40a9ff",btnLinkHoverBg:"transparent",btnTextHoverBg:"rgba(0, 0, 0, 0.018)",checkboxSize:"16px",checkboxColor:"#1890ff",checkboxCheckColor:"#fff",checkboxCheckBg:"#fff",checkboxBorderWidth:"1px",checkboxBorderRadius:"2px",checkboxGroupItemMarginRight:"8px",descriptionsBg:"#fafafa",descriptionsTitleMarginBottom:"20px",descriptionsDefaultPadding:"16px 24px",descriptionsMiddlePadding:"12px 24px",descriptionsSmallPadding:"8px 16px",descriptionsItemPaddingBottom:"16px",descriptionsItemTrailingColon:"true",descriptionsItemLabelColonMarginRight:"8px",descriptionsItemLabelColonMarginLeft:"2px",descriptionsExtraColor:"rgba(0, 0, 0, 0.85)",dividerTextPadding:"1em",dividerOrientationMargin:"5%",dividerColor:"rgba(0, 0, 0, 0.06)",dividerVerticalGutter:"8px",dropdownSelectedColor:"#1890ff",dropdownMenuSubmenuDisabledBg:"#fff",dropdownSelectedBg:"#e6f7ff",emptyFontSize:"14px",radioSize:"16px",radioTop:"0.2em",radioBorderWidth:"1px",radioDotSize:"8px",radioDotColor:"#1890ff",radioDotDisabledColor:"rgba(0, 0, 0, 0.2)",radioSolidCheckedColor:"#fff",radioButtonBg:"#fff",radioButtonCheckedBg:"#fff",radioButtonColor:"rgba(0, 0, 0, 0.85)",radioButtonHoverColor:"#40a9ff",radioButtonActiveColor:"#096dd9",radioButtonPaddingHorizontal:"15px",radioDisabledButtonCheckedBg:"#e6e6e6",radioDisabledButtonCheckedColor:"rgba(0, 0, 0, 0.25)",radioWrapperMarginRight:"8px",screenXs:"480px",screenXsMin:"480px",screenSm:"576px",screenSmMin:"576px",screenMd:"768px",screenMdMin:"768px",screenLg:"992px",screenLgMin:"992px",screenXl:"1200px",screenXlMin:"1200px",screenXxl:"1600px",screenXxlMin:"1600px",screenXsMax:"575px",screenSmMax:"767px",screenMdMax:"991px",screenLgMax:"1199px",screenXlMax:"1599px",gridColumns:"24",layoutBodyBackground:"#f0f2f5",layoutHeaderBackground:"#001529",layoutHeaderHeight:"64px",layoutHeaderPadding:"0 50px",layoutHeaderColor:"rgba(0, 0, 0, 0.85)",layoutFooterPadding:"24px 50px",layoutFooterBackground:"#f0f2f5",layoutSiderBackground:"#001529",layoutTriggerHeight:"48px",layoutTriggerBackground:"#002140",layoutTriggerColor:"#fff",layoutZeroTriggerWidth:"36px",layoutZeroTriggerHeight:"42px",layoutSiderBackgroundLight:"#fff",layoutTriggerBackgroundLight:"#fff",layoutTriggerColorLight:"rgba(0, 0, 0, 0.85)",zindexBadge:"auto",zindexTableFixed:"2",zindexAffix:"10",zindexBackTop:"10",zindexPickerPanel:"10",zindexPopupClose:"10",zindexModal:"1000",zindexModalMask:"1000",zindexMessage:"1010",zindexNotification:"1010",zindexPopover:"1030",zindexDropdown:"1050",zindexPicker:"1050",zindexPopoconfirm:"1060",zindexTooltip:"1070",zindexImage:"1080",animationDurationSlow:"0.3s",animationDurationBase:"0.2s",animationDurationFast:"0.1s",collapsePanelBorderRadius:"2px",dropdownMenuBg:"#fff",dropdownVerticalPadding:"5px",dropdownEdgeChildVerticalPadding:"4px",dropdownFontSize:"14px",dropdownLineHeight:"22px",labelRequiredColor:"#ff4d4f",labelColor:"rgba(0, 0, 0, 0.85)",formWarningInputBg:"#fff",formItemMarginBottom:"24px",formItemTrailingColon:"true",formVerticalLabelPadding:"0 0 8px",formVerticalLabelMargin:"0",formItemLabelFontSize:"14px",formItemLabelHeight:"32px",formItemLabelColonMarginRight:"8px",formItemLabelColonMarginLeft:"2px",formErrorInputBg:"#fff",inputHeightBase:"32px",inputHeightLg:"40px",inputHeightSm:"24px",inputPaddingHorizontal:"11px",inputPaddingHorizontalBase:"11px",inputPaddingHorizontalSm:"7px",inputPaddingHorizontalLg:"11px",inputPaddingVerticalBase:"4px",inputPaddingVerticalSm:"0px",inputPaddingVerticalLg:"6.5px",inputPlaceholderColor:"#bfbfbf",inputColor:"rgba(0, 0, 0, 0.85)",inputIconColor:"rgba(0, 0, 0, 0.85)",inputBorderColor:"#d9d9d9",inputBg:"#fff",inputNumberHoverBorderColor:"#40a9ff",inputNumberHandlerActiveBg:"#f4f4f4",inputNumberHandlerHoverBg:"#40a9ff",inputNumberHandlerBg:"#fff",inputNumberHandlerBorderColor:"#d9d9d9",inputAddonBg:"#fafafa",inputHoverBorderColor:"#40a9ff",inputDisabledBg:"#f5f5f5",inputOutlineOffset:"0 0",inputIconHoverColor:"rgba(0, 0, 0, 0.85)",inputDisabledColor:"rgba(0, 0, 0, 0.25)",mentionsDropdownBg:"#fff",mentionsDropdownMenuItemHoverBg:"#fff",selectBorderColor:"#d9d9d9",selectItemSelectedColor:"rgba(0, 0, 0, 0.85)",selectItemSelectedFontWeight:"600",selectDropdownBg:"#fff",selectItemSelectedBg:"#e6f7ff",selectItemActiveBg:"#f5f5f5",selectDropdownVerticalPadding:"5px",selectDropdownFontSize:"14px",selectDropdownLineHeight:"22px",selectDropdownHeight:"32px",selectBackground:"#fff",selectClearBackground:"#fff",selectSelectionItemBg:"#f5f5f5",selectSelectionItemBorderColor:"#f0f0f0",selectSingleItemHeightLg:"40px",selectMultipleItemHeight:"24px",selectMultipleItemHeightLg:"32px",selectMultipleItemSpacingHalf:"2px",selectMultipleDisabledBackground:"#f5f5f5",selectMultipleItemDisabledColor:"#bfbfbf",selectMultipleItemDisabledBorderColor:"#d9d9d9",cascaderBg:"#fff",cascaderItemSelectedBg:"#e6f7ff",cascaderMenuBg:"#fff",cascaderMenuBorderColorSplit:"#f0f0f0",cascaderDropdownVerticalPadding:"5px",cascaderDropdownEdgeChildVerticalPadding:"4px",cascaderDropdownFontSize:"14px",cascaderDropdownLineHeight:"22px",anchorBg:"transparent",anchorBorderColor:"#f0f0f0",anchorLinkTop:"7px",anchorLinkLeft:"16px",anchorLinkPadding:"7px 0 7px 16px",tooltipMaxWidth:"250px",tooltipColor:"#fff",tooltipBg:"rgba(0, 0, 0, 0.75)",tooltipArrowWidth:"11.3137085px",tooltipDistance:"14.3137085px",tooltipArrowColor:"rgba(0, 0, 0, 0.75)",popoverBg:"#fff",popoverColor:"rgba(0, 0, 0, 0.85)",popoverMinWidth:"177px",popoverMinHeight:"32px",popoverArrowWidth:"11.3137085px",popoverArrowColor:"#fff",popoverArrowOuterColor:"#fff",popoverDistance:"15.3137085px",popoverPaddingHorizontal:"16px",modalHeaderPaddingVertical:"16px",modalHeaderPaddingHorizontal:"24px",modalBodyPadding:"24px",modalHeaderBg:"#fff",modalHeaderPadding:"16px 24px",modalHeaderBorderWidth:"1px",modalHeaderBorderStyle:"solid",modalHeaderTitleLineHeight:"22px",modalHeaderTitleFontSize:"16px",modalHeaderBorderColorSplit:"#f0f0f0",modalHeaderCloseSize:"56px",modalContentBg:"#fff",modalHeadingColor:"rgba(0, 0, 0, 0.85)",modalCloseColor:"rgba(0, 0, 0, 0.45)",modalFooterBg:"transparent",modalFooterBorderColorSplit:"#f0f0f0",modalFooterBorderStyle:"solid",modalFooterPaddingVertical:"10px",modalFooterPaddingHorizontal:"16px",modalFooterBorderWidth:"1px",modalMaskBg:"rgba(0, 0, 0, 0.45)",modalConfirmBodyPadding:"32px 32px 24px",modalConfirmTitleFontSize:"16px",progressDefaultColor:"#1890ff",progressRemainingColor:"#f5f5f5",progressInfoTextColor:"rgba(0, 0, 0, 0.85)",progressRadius:"100px",progressStepsItemBg:"#f3f3f3",progressTextFontSize:"1em",progressTextColor:"rgba(0, 0, 0, 0.85)",progressCircleTextFontSize:"1em",menuInlineToplevelItemHeight:"40px",menuItemHeight:"40px",menuItemGroupHeight:"1.5715",menuCollapsedWidth:"80px",menuBg:"#fff",menuPopupBg:"#fff",menuItemColor:"rgba(0, 0, 0, 0.85)",menuInlineSubmenuBg:"#fafafa",menuHighlightColor:"#1890ff",menuHighlightDangerColor:"#ff4d4f",menuItemActiveBg:"#e6f7ff",menuItemActiveDangerBg:"#fff1f0",menuItemActiveBorderWidth:"3px",menuItemGroupTitleColor:"rgba(0, 0, 0, 0.45)",menuItemVerticalMargin:"4px",menuItemFontSize:"14px",menuItemBoundaryMargin:"8px",menuItemPaddingHorizontal:"20px",menuItemPadding:"0 20px",menuHorizontalLineHeight:"46px",menuIconMarginRight:"10px",menuIconSize:"14px",menuIconSizeLg:"16px",menuItemGroupTitleFontSize:"14px",menuDarkColor:"rgba(255, 255, 255, 0.65)",menuDarkDangerColor:"#ff4d4f",menuDarkBg:"#001529",menuDarkArrowColor:"#fff",menuDarkInlineSubmenuBg:"#000c17",menuDarkHighlightColor:"#fff",menuDarkItemActiveBg:"#1890ff",menuDarkItemActiveDangerBg:"#ff4d4f",menuDarkSelectedItemIconColor:"#fff",menuDarkSelectedItemTextColor:"#fff",menuDarkItemHoverBg:"transparent",spinDotSizeSm:"14px",spinDotSize:"20px",spinDotSizeLg:"32px",tableBg:"#fff",tableHeaderBg:"#fafafa",tableHeaderColor:"rgba(0, 0, 0, 0.85)",tableHeaderSortBg:"#f5f5f5",tableBodySortBg:"#fafafa",tableRowHoverBg:"#fafafa",tableSelectedRowColor:"inherit",tableSelectedRowBg:"#e6f7ff",tableBodySelectedSortBg:"#e6f7ff",tableSelectedRowHoverBg:"#dcf4ff",tableExpandedRowBg:"#fbfbfb",tablePaddingVertical:"16px",tablePaddingHorizontal:"16px",tablePaddingVerticalMd:"12px",tablePaddingHorizontalMd:"8px",tablePaddingVerticalSm:"8px",tablePaddingHorizontalSm:"8px",tableBorderColor:"#f0f0f0",tableBorderRadiusBase:"2px",tableFooterBg:"#fafafa",tableFooterColor:"rgba(0, 0, 0, 0.85)",tableHeaderBgSm:"#fafafa",tableFontSize:"14px",tableFontSizeMd:"14px",tableFontSizeSm:"14px",tableHeaderCellSplitColor:"rgba(0, 0, 0, 0.06)",tableHeaderSortActiveBg:"rgba(0, 0, 0, 0.04)",tableFixedHeaderSortActiveBg:"#f5f5f5",tableHeaderFilterActiveBg:"rgba(0, 0, 0, 0.04)",tableFilterBtnsBg:"inherit",tableFilterDropdownBg:"#fff",tableExpandIconBg:"#fff",tableSelectionColumnWidth:"32px",tableStickyScrollBarBg:"rgba(0, 0, 0, 0.35)",tableStickyScrollBarRadius:"4px",tagDefaultBg:"#fafafa",tagDefaultColor:"rgba(0, 0, 0, 0.85)",tagFontSize:"12px",tagLineHeight:"20px",pickerBg:"#fff",pickerBasicCellHoverColor:"#f5f5f5",pickerBasicCellActiveWithRangeColor:"#e6f7ff",pickerBasicCellHoverWithRangeColor:"#cbe6ff",pickerBasicCellDisabledBg:"rgba(0, 0, 0, 0.04)",pickerBorderColor:"#f0f0f0",pickerDateHoverRangeBorderColor:"#7ec1ff",pickerDateHoverRangeColor:"#cbe6ff",pickerTimePanelColumnWidth:"56px",pickerTimePanelColumnHeight:"224px",pickerTimePanelCellHeight:"28px",pickerPanelCellHeight:"24px",pickerPanelCellWidth:"36px",pickerTextHeight:"40px",pickerPanelWithoutTimeCellHeight:"66px",calendarBg:"#fff",calendarInputBg:"#fff",calendarBorderColor:"#fff",calendarItemActiveBg:"#e6f7ff",calendarColumnActiveBg:"rgba(230, 247, 255, 0.2)",calendarFullBg:"#fff",calendarFullPanelBg:"#fff",carouselDotWidth:"16px",carouselDotHeight:"3px",carouselDotActiveWidth:"24px",badgeHeight:"20px",badgeHeightSm:"14px",badgeDotSize:"6px",badgeFontSize:"12px",badgeFontSizeSm:"12px",badgeFontWeight:"normal",badgeStatusSize:"6px",badgeTextColor:"#fff",badgeColor:"#ff4d4f",rateStarColor:"#fadb14",rateStarBg:"#f0f0f0",rateStarSize:"20px",rateStarHoverScale:"scale(1.1)",cardHeadColor:"rgba(0, 0, 0, 0.85)",cardHeadBackground:"transparent",cardHeadFontSize:"16px",cardHeadFontSizeSm:"14px",cardHeadPadding:"16px",cardHeadPaddingSm:"8px",cardHeadHeight:"48px",cardHeadHeightSm:"36px",cardInnerHeadPadding:"12px",cardPaddingBase:"24px",cardPaddingBaseSm:"12px",cardActionsBackground:"#fff",cardActionsLiMargin:"12px 0",cardSkeletonBg:"#cfd8dc",cardBackground:"#fff",cardShadow:"0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09)",cardRadius:"2px",cardHeadTabsMarginBottom:"-17px",cardHeadExtraColor:"rgba(0, 0, 0, 0.85)",commentBg:"inherit",commentPaddingBase:"16px 0",commentNestIndent:"44px",commentFontSizeBase:"14px",commentFontSizeSm:"12px",commentAuthorNameColor:"rgba(0, 0, 0, 0.45)",commentAuthorTimeColor:"#ccc",commentActionColor:"rgba(0, 0, 0, 0.45)",commentActionHoverColor:"#595959",commentActionsMarginBottom:"inherit",commentActionsMarginTop:"12px",commentContentDetailPMarginBottom:"inherit",tabsCardHeadBackground:"#fafafa",tabsCardHeight:"40px",tabsCardActiveColor:"#1890ff",tabsCardHorizontalPadding:"8px 16px",tabsCardHorizontalPaddingSm:"6px 16px",tabsCardHorizontalPaddingLg:"7px 16px 6px",tabsTitleFontSize:"14px",tabsTitleFontSizeLg:"16px",tabsTitleFontSizeSm:"14px",tabsInkBarColor:"#1890ff",tabsBarMargin:"0 0 16px 0",tabsHorizontalGutter:"32px",tabsHorizontalMargin:"0 0 0 32px",tabsHorizontalMarginRtl:"0 0 0 32px",tabsHorizontalPadding:"12px 0",tabsHorizontalPaddingLg:"16px 0",tabsHorizontalPaddingSm:"8px 0",tabsVerticalPadding:"8px 24px",tabsVerticalMargin:"16px 0 0 0",tabsScrollingSize:"32px",tabsHighlightColor:"#1890ff",tabsHoverColor:"#40a9ff",tabsActiveColor:"#096dd9",tabsCardGutter:"2px",tabsCardTabActiveBorderTop:"2px solid transparent",backTopColor:"#fff",backTopBg:"rgba(0, 0, 0, 0.45)",backTopHoverBg:"rgba(0, 0, 0, 0.85)",avatarSizeBase:"32px",avatarSizeLg:"40px",avatarSizeSm:"24px",avatarFontSizeBase:"18px",avatarFontSizeLg:"24px",avatarFontSizeSm:"14px",avatarBg:"#ccc",avatarColor:"#fff",avatarBorderRadius:"2px",avatarGroupOverlapping:"-8px",avatarGroupSpace:"3px",avatarGroupBorderColor:"#fff",switchHeight:"22px",switchSmHeight:"16px",switchMinWidth:"44px",switchSmMinWidth:"28px",switchDisabledOpacity:"0.4",switchColor:"#1890ff",switchBg:"#fff",switchShadowColor:"rgba(0, 35, 11, 0.2)",switchPadding:"2px",switchInnerMarginMin:"7px",switchInnerMarginMax:"25px",switchSmInnerMarginMin:"5px",switchSmInnerMarginMax:"18px",paginationItemBg:"#fff",paginationItemSize:"32px",paginationItemSizeSm:"24px",paginationFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",paginationFontWeightActive:"500",paginationItemBgActive:"#fff",paginationItemLinkBg:"#fff",paginationItemDisabledColorActive:"rgba(0, 0, 0, 0.25)",paginationItemDisabledBgActive:"#e6e6e6",paginationItemInputBg:"#fff",paginationMiniOptionsSizeChangerTop:"0px",pageHeaderPadding:"24px",pageHeaderPaddingVertical:"16px",pageHeaderPaddingBreadcrumb:"12px",pageHeaderContentPaddingVertical:"12px",pageHeaderBackColor:"#000",pageHeaderGhostBg:"inherit",pageHeaderHeadingTitle:"20px",pageHeaderHeadingSubTitle:"14px",pageHeaderTabsTabFontSize:"16px",breadcrumbBaseColor:"rgba(0, 0, 0, 0.45)",breadcrumbLastItemColor:"rgba(0, 0, 0, 0.85)",breadcrumbFontSize:"14px",breadcrumbIconFontSize:"14px",breadcrumbLinkColor:"rgba(0, 0, 0, 0.45)",breadcrumbLinkColorHover:"#40a9ff",breadcrumbSeparatorColor:"rgba(0, 0, 0, 0.45)",breadcrumbSeparatorMargin:"0 8px",sliderMargin:"10px 6px 10px",sliderRailBackgroundColor:"#f5f5f5",sliderRailBackgroundColorHover:"#e1e1e1",sliderTrackBackgroundColor:"#91d5ff",sliderTrackBackgroundColorHover:"#69c0ff",sliderHandleBorderWidth:"2px",sliderHandleBackgroundColor:"#fff",sliderHandleColor:"#91d5ff",sliderHandleColorHover:"#69c0ff",sliderHandleColorFocus:"#46a6ff",sliderHandleColorFocusShadow:"rgba(24, 144, 255, 0.12)",sliderHandleColorTooltipOpen:"#1890ff",sliderHandleSize:"14px",sliderHandleMarginTop:"-5px",sliderHandleShadow:"0",sliderDotBorderColor:"#f0f0f0",sliderDotBorderColorActive:"#8cc8ff",sliderDisabledColor:"rgba(0, 0, 0, 0.25)",sliderDisabledBackgroundColor:"#fff",treeBg:"#fff",treeTitleHeight:"24px",treeChildPadding:"18px",treeDirectorySelectedColor:"#fff",treeDirectorySelectedBg:"#1890ff",treeNodeHoverBg:"#f5f5f5",treeNodeSelectedBg:"#bae7ff",collapseHeaderPadding:"12px 16px",collapseHeaderPaddingExtra:"40px",collapseHeaderBg:"#fafafa",collapseContentPadding:"16px",collapseContentBg:"#fff",collapseHeaderArrowLeft:"16px",skeletonColor:"rgba(190, 190, 190, 0.2)",skeletonToColor:"rgba(129, 129, 129, 0.24)",skeletonParagraphMarginTop:"28px",skeletonParagraphLiMarginTop:"16px",skeletonParagraphLiHeight:"16px",skeletonTitleHeight:"16px",skeletonTitleParagraphMarginTop:"24px",transferHeaderHeight:"40px",transferItemHeight:"32px",transferDisabledBg:"#f5f5f5",transferListHeight:"200px",transferItemHoverBg:"#f5f5f5",transferItemSelectedHoverBg:"#dcf4ff",transferItemPaddingVertical:"6px",transferListSearchIconTop:"12px",messageNoticeContentPadding:"10px 16px",messageNoticeContentBg:"#fff",waveAnimationWidth:"6px",alertSuccessBorderColor:"#b7eb8f",alertSuccessBgColor:"#f6ffed",alertSuccessIconColor:"#52c41a",alertInfoBorderColor:"#91d5ff",alertInfoBgColor:"#e6f7ff",alertInfoIconColor:"#1890ff",alertWarningBorderColor:"#ffe58f",alertWarningBgColor:"#fffbe6",alertWarningIconColor:"#faad14",alertErrorBorderColor:"#ffccc7",alertErrorBgColor:"#fff2f0",alertErrorIconColor:"#ff4d4f",alertMessageColor:"rgba(0, 0, 0, 0.85)",alertTextColor:"rgba(0, 0, 0, 0.85)",alertCloseColor:"rgba(0, 0, 0, 0.45)",alertCloseHoverColor:"rgba(0, 0, 0, 0.75)",alertNoIconPaddingVertical:"8px",alertWithDescriptionNoIconPaddingVertical:"15px",alertWithDescriptionPaddingVertical:"15px",alertWithDescriptionPadding:"15px 15px 15px 24px",alertIconTop:"12.0005px",alertWithDescriptionIconSize:"24px",listHeaderBackground:"transparent",listFooterBackground:"transparent",listEmptyTextPadding:"16px",listItemPadding:"12px 0",listItemPaddingSm:"8px 16px",listItemPaddingLg:"16px 24px",listItemMetaMarginBottom:"16px",listItemMetaAvatarMarginRight:"16px",listItemMetaTitleMarginBottom:"12px",listCustomizeCardBg:"#fff",listItemMetaDescriptionFontSize:"14px",statisticTitleFontSize:"14px",statisticContentFontSize:"24px",statisticUnitFontSize:"24px",statisticFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",drawerHeaderPadding:"16px 24px",drawerBodyPadding:"24px",drawerBg:"#fff",drawerFooterPaddingVertical:"10px",drawerFooterPaddingHorizontal:"16px",drawerHeaderCloseSize:"56px",drawerTitleFontSize:"16px",drawerTitleLineHeight:"22px",timelineWidth:"2px",timelineColor:"#f0f0f0",timelineDotBorderWidth:"2px",timelineDotColor:"#1890ff",timelineDotBg:"#fff",timelineItemPaddingBottom:"20px",typographyTitleFontWeight:"600",typographyTitleMarginTop:"1.2em",typographyTitleMarginBottom:"0.5em",uploadActionsColor:"rgba(0, 0, 0, 0.45)",processTailColor:"#f0f0f0",stepsNavArrowColor:"rgba(0, 0, 0, 0.25)",stepsBackground:"#fff",stepsIconSize:"32px",stepsIconCustomSize:"32px",stepsIconCustomTop:"0px",stepsIconCustomFontSize:"24px",stepsIconTop:"-0.5px",stepsIconFontSize:"16px",stepsIconMargin:"0 8px 0 0",stepsTitleLineHeight:"32px",stepsSmallIconSize:"24px",stepsSmallIconMargin:"0 8px 0 0",stepsDotSize:"8px",stepsDotTop:"2px",stepsCurrentDotSize:"10px",stepsDescriptionMaxWidth:"140px",stepsNavContentMaxWidth:"auto",stepsVerticalIconWidth:"16px",stepsVerticalTailWidth:"16px",stepsVerticalTailWidthSm:"12px",notificationBg:"#fff",notificationPaddingVertical:"16px",notificationPaddingHorizontal:"24px",resultTitleFontSize:"24px",resultSubtitleFontSize:"14px",resultIconFontSize:"72px",resultExtraMargin:"24px 0 0 0",imageSizeBase:"48px",imageFontSizeBase:"24px",imageBg:"#f5f5f5",imageColor:"#fff",imageMaskFontSize:"16px",imagePreviewOperationSize:"18px",imagePreviewOperationColor:"rgba(255, 255, 255, 0.85)",imagePreviewOperationDisabledColor:"rgba(255, 255, 255, 0.25)"};const ThemeContext=c({theme:defaultTheme,toggleTheme:a=>{}});const useTheme=()=>{return g(ThemeContext)};const ThemeProvider=({children:a})=>{const[b,e]=h(defaultTheme);const f=b=>{const a={...defaultTheme,...b};n.config({theme:a});e(a)};const c=i(()=>{return{theme:b,toggleTheme:f}},[b]);return d(n,{prefixCls:PREFIX_COMPONENT_CLASSNAME,iconPrefixCls:PREFIX_ICON_CLASSNAME,children:d(ThemeContext.Provider,{value:c,children:a})})};const OTPInput=a.forwardRef((c,g)=>{const{numInputs:h=4,value:i,onChange:j,errorMessage:a,...k}=c;const{theme:b}=useTheme();return e(f,{children:[d("div",{}),d(t,{ref:g,...k,numInputs:h,value:i,onChange:j,inputStyle:{width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${b.borderWidthBase} solid ${b.borderColorBase}`}}),!!a&&d(Typography,{type:"danger",children:a})]})});export{Button,Card,Content,Footer,Form,Header,Input,Layout,OTPInput,Page,Sider,ThemeProvider,Typography,TypographyVariantType,defaultTheme,useTheme}
1
+ import{jsx as d,jsxs as e,Fragment as f}from"react/jsx-runtime";import a,{useContext as g,createContext as c,useState as h,useMemo as i}from"react";import{Card as j,Button as k,Col as l,Form as b,Input as m,Row as n,Typography as o,ConfigProvider as p}from"antd";import q,{Content as r,Footer as s,Header as t}from"antd/lib/layout/layout";import*as u from"react-icons/ai";import*as v from"react-icons/bs";import*as w from"react-icons/fa";import*as x from"react-icons/fi";import*as y from"react-icons/md";import z from"antd/lib/layout/Sider";import A from"react-otp-input";const Box=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(j,{...e,ref:b,children:c})});const Button=a.forwardRef((a,b)=>{const{type:c="primary",...e}=a;return d(k,{type:c,...e,ref:b})});const Col=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(l,{...e,ref:b,children:c})});const Content=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(r,{...e,prefixCls:"jitera-layout-content",ref:b,children:c})});const Footer=a.forwardRef((a,b)=>{const{children:c,style:e,...f}=a;return d(s,{...f,prefixCls:"jitera-layout-footer",style:{width:"100%",...e},ref:b,children:c})});const FormComponent=a.forwardRef((a,c)=>{const{children:e,formRef:f,style:g,formStyle:h,...i}=a;return d("div",{ref:c,style:{...g,height:"100%"},children:d(b,{...i,style:h,ref:f,children:e})})});const Form=FormComponent;Form.ErrorList=b.ErrorList;Form.useForm=b.useForm;Form.Item=b.Item;Form.List=b.List;Form.Provider=b.Provider;Form.create=b.create;const Header=a.forwardRef((a,b)=>{const{children:c,style:e,...f}=a;return d(t,{...f,prefixCls:"jitera-layout-header",style:{width:"100%",...e},ref:b,children:c})});var IconSet;(function(a){a["All"]="all";a["Antd"]="antd";a["Bootstrap"]="bootstrap";a["Feather"]="feather";a["FontAwesome"]="font-awesome";a["Material"]="material"})(IconSet||(IconSet={}));function getIconComponent(b,c={}){return a.createElement(b in u?u[b]:b in v?v[b]:b in x?x[b]:b in w?w[b]:b in y?y[b]:"",c)}function assertUnreachable(a){throw new Error(`Should not reach with ${a}`)}function searchIcons(a,b){if(b){return[...Object.entries(u),...Object.entries(v),...Object.entries(x),...Object.entries(w),...Object.entries(y)].filter(a=>a[0].toLowerCase().includes(b.toLowerCase()))}switch(a){case IconSet.Antd:return Object.entries(u);case IconSet.Bootstrap:return Object.entries(v);case IconSet.Feather:return Object.entries(x);case IconSet.FontAwesome:return Object.entries(w);case IconSet.Material:return Object.entries(y);case IconSet.All:return[...Object.entries(u),...Object.entries(v),...Object.entries(x),...Object.entries(w),...Object.entries(y)];default:return assertUnreachable(a)}}const DEFAULT_ICON_SIZE=14;const DEFAULT_ICON_COLOR="#000";const Icon=a.forwardRef((a,e)=>{var b,c;return d("span",{ref:e,style:{display:"inline-block",...a.style},children:getIconComponent(a.iconName,{color:(b=a.color)!==null&&b!==void 0?b:DEFAULT_ICON_COLOR,size:(c=a.size)!==null&&c!==void 0?c:DEFAULT_ICON_SIZE})})});const Input=a.forwardRef((c,a)=>{const{formItem:e,formItemProps:f={},...b}=c;return e?d(Form.Item,{...f,children:d(m,{...b,ref:a})}):d(m,{...b,ref:a})});const Layout=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(q,{...e,prefixCls:"jitera-layout",ref:b,children:c})});const Page=a.forwardRef(({isPreview:a,...b},c)=>{const{children:e,style:f,...g}=b;const h=a?"100%":"100vh";return d("div",{...g,style:{width:"100%",minHeight:h,backgroundColor:"#fff",...f},ref:c,children:e})});const Row=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(n,{...e,ref:b,children:c})});const Sider=a.forwardRef((a,b)=>{const{children:c,...e}=a;return d(z,{...e,prefixCls:"jitera-layout-sider",ref:b,children:c})});var TextVariantType;(function(a){a["Title"]="Title";a["Link"]="Link";a["Text"]="Text";a["Paragraph"]="Paragraph"})(TextVariantType||(TextVariantType={}));const Text=a.forwardRef((a,b)=>{const{variant:c=TextVariantType.Text,...e}=a;const f=o[c];return d(f,{...e,ref:b})});const PREFIX_COMPONENT_CLASSNAME="jitera";const PREFIX_ICON_CLASSNAME="jiteraicon";const defaultTheme={blueBase:"#1890ff",blue1:"#e6f7ff",blue2:"#bae7ff",blue3:"#91d5ff",blue4:"#69c0ff",blue5:"#40a9ff",blue6:"#1890ff",blue7:"#096dd9",blue8:"#0050b3",blue9:"#003a8c",blue10:"#002766",purpleBase:"#722ed1",purple1:"#f9f0ff",purple2:"#efdbff",purple3:"#d3adf7",purple4:"#b37feb",purple5:"#9254de",purple6:"#722ed1",purple7:"#531dab",purple8:"#391085",purple9:"#22075e",purple10:"#120338",cyanBase:"#13c2c2",cyan1:"#e6fffb",cyan2:"#b5f5ec",cyan3:"#87e8de",cyan4:"#5cdbd3",cyan5:"#36cfc9",cyan6:"#13c2c2",cyan7:"#08979c",cyan8:"#006d75",cyan9:"#00474f",cyan10:"#002329",greenBase:"#52c41a",green1:"#f6ffed",green2:"#d9f7be",green3:"#b7eb8f",green4:"#95de64",green5:"#73d13d",green6:"#52c41a",green7:"#389e0d",green8:"#237804",green9:"#135200",green10:"#092b00",magentaBase:"#eb2f96",magenta1:"#fff0f6",magenta2:"#ffd6e7",magenta3:"#ffadd2",magenta4:"#ff85c0",magenta5:"#f759ab",magenta6:"#eb2f96",magenta7:"#c41d7f",magenta8:"#9e1068",magenta9:"#780650",magenta10:"#520339",pinkBase:"#eb2f96",pink1:"#fff0f6",pink2:"#ffd6e7",pink3:"#ffadd2",pink4:"#ff85c0",pink5:"#f759ab",pink6:"#eb2f96",pink7:"#c41d7f",pink8:"#9e1068",pink9:"#780650",pink10:"#520339",redBase:"#f5222d",red1:"#fff1f0",red2:"#ffccc7",red3:"#ffa39e",red4:"#ff7875",red5:"#ff4d4f",red6:"#f5222d",red7:"#cf1322",red8:"#a8071a",red9:"#820014",red10:"#5c0011",orangeBase:"#fa8c16",orange1:"#fff7e6",orange2:"#ffe7ba",orange3:"#ffd591",orange4:"#ffc069",orange5:"#ffa940",orange6:"#fa8c16",orange7:"#d46b08",orange8:"#ad4e00",orange9:"#873800",orange10:"#612500",yellowBase:"#fadb14",yellow1:"#feffe6",yellow2:"#ffffb8",yellow3:"#fffb8f",yellow4:"#fff566",yellow5:"#ffec3d",yellow6:"#fadb14",yellow7:"#d4b106",yellow8:"#ad8b00",yellow9:"#876800",yellow10:"#614700",volcanoBase:"#fa541c",volcano1:"#fff2e8",volcano2:"#ffd8bf",volcano3:"#ffbb96",volcano4:"#ff9c6e",volcano5:"#ff7a45",volcano6:"#fa541c",volcano7:"#d4380d",volcano8:"#ad2102",volcano9:"#871400",volcano10:"#610b00",geekblueBase:"#2f54eb",geekblue1:"#f0f5ff",geekblue2:"#d6e4ff",geekblue3:"#adc6ff",geekblue4:"#85a5ff",geekblue5:"#597ef7",geekblue6:"#2f54eb",geekblue7:"#1d39c4",geekblue8:"#10239e",geekblue9:"#061178",geekblue10:"#030852",limeBase:"#a0d911",lime1:"#fcffe6",lime2:"#f4ffb8",lime3:"#eaff8f",lime4:"#d3f261",lime5:"#bae637",lime6:"#a0d911",lime7:"#7cb305",lime8:"#5b8c00",lime9:"#3f6600",lime10:"#254000",goldBase:"#faad14",gold1:"#fffbe6",gold2:"#fff1b8",gold3:"#ffe58f",gold4:"#ffd666",gold5:"#ffc53d",gold6:"#faad14",gold7:"#d48806",gold8:"#ad6800",gold9:"#874d00",gold10:"#613400",presetColors:"pink, magenta, red, volcano, orange, yellow, gold, cyan, lime, green, blue, geekblue, purple",theme:"default",antPrefix:"ant",htmlSelector:"html",primaryColor:"#1890ff",primaryColorHover:"#40a9ff",primaryColorActive:"#096dd9",primaryColorOutline:"rgba(24, 144, 255, 0.2)",processingColor:"#1890ff",infoColor:"#1890ff",infoColorDeprecatedBg:"#e6f7ff",infoColorDeprecatedBorder:"#91d5ff",successColor:"#52c41a",successColorHover:"#73d13d",successColorActive:"#389e0d",successColorOutline:"rgba(82, 196, 26, 0.2)",successColorDeprecatedBg:"#f6ffed",successColorDeprecatedBorder:"#b7eb8f",warningColor:"#faad14",warningColorHover:"#ffc53d",warningColorActive:"#d48806",warningColorOutline:"rgba(250, 173, 20, 0.2)",warningColorDeprecatedBg:"#fffbe6",warningColorDeprecatedBorder:"#ffe58f",errorColor:"#ff4d4f",errorColorHover:"#ff7875",errorColorActive:"#d9363e",errorColorOutline:"rgba(255, 77, 79, 0.2)",errorColorDeprecatedBg:"#fff2f0",errorColorDeprecatedBorder:"#ffccc7",highlightColor:"#ff4d4f",normalColor:"#d9d9d9",white:"#fff",black:"#000",primary1:"#e6f7ff",primary2:"#bae7ff",primary3:"#91d5ff",primary4:"#69c0ff",primary5:"#40a9ff",primary6:"#1890ff",primary7:"#096dd9",primary8:"#0050b3",primary9:"#003a8c",primary10:"#002766",bodyBackground:"#fff",componentBackground:"#fff",popoverBackground:"#fff",popoverCustomizeBorderColor:"#f0f0f0",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",codeFamily:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",textColor:"rgba(0, 0, 0, 0.85)",textColorSecondary:"rgba(0, 0, 0, 0.45)",textColorInverse:"#fff",iconColor:"inherit",iconColorHover:"rgba(0, 0, 0, 0.75)",headingColor:"rgba(0, 0, 0, 0.85)",textColorDark:"rgba(255, 255, 255, 0.85)",textColorSecondaryDark:"rgba(255, 255, 255, 0.65)",textSelectionBg:"#1890ff",fontVariantBase:"tabular-nums",fontFeatureSettingsBase:"'tnum'",fontSizeBase:"14px",fontSizeLg:"16px",fontSizeSm:"12px",heading1Size:"38px",heading2Size:"30px",heading3Size:"24px",heading4Size:"20px",heading5Size:"16px",lineHeightBase:"1.5715",borderRadiusBase:"2px",borderRadiusSm:"2px",paddingLg:"24px",paddingMd:"16px",paddingSm:"12px",paddingXs:"8px",paddingXss:"4px",controlPaddingHorizontal:"12px",controlPaddingHorizontalSm:"8px",marginLg:"24px",marginMd:"16px",marginSm:"12px",marginXs:"8px",marginXss:"4px",heightBase:"32px",heightLg:"40px",heightSm:"24px",itemActiveBg:"#e6f7ff",itemHoverBg:"#f5f5f5",iconfontCssPrefix:"anticon",linkColor:"#1890ff",linkHoverColor:"#40a9ff",linkActiveColor:"#096dd9",linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",linkFocusOutline:"0",easeBaseOut:"cubic-bezier(0.7, 0.3, 0.1, 1)",easeBaseIn:"cubic-bezier(0.9, 0, 0.3, 0.7)",easeOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",easeIn:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",easeInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",easeOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",easeInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",easeInOutBack:"cubic-bezier(0.71, -0.46, 0.29, 1.46)",easeOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",easeInCirc:"cubic-bezier(0.6, 0.04, 0.98, 0.34)",easeInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",easeOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",easeInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeInOutQuint:"cubic-bezier(0.86, 0, 0.07, 1)",borderColorBase:"#d9d9d9",borderColorSplit:"#f0f0f0",borderColorInverse:"#fff",borderWidthBase:"1px",borderStyleBase:"solid",outlineBlurSize:"0",outlineWidth:"2px",outlineColor:"#1890ff",outlineFade:"20%",backgroundColorLight:"#fafafa",backgroundColorBase:"#f5f5f5",disabledColor:"rgba(0, 0, 0, 0.25)",disabledBg:"#f5f5f5",disabledActiveBg:"#e6e6e6",disabledColorDark:"rgba(255, 255, 255, 0.35)",shadowColor:"rgba(0, 0, 0, 0.15)",shadowColorInverse:"#fff",boxShadowBase:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",shadow1Up:"0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Down:"0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Left:"-6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow1Right:"6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow2:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",btnFontWeight:"400",btnBorderRadiusBase:"2px",btnBorderRadiusSm:"2px",btnBorderWidth:"1px",btnBorderStyle:"solid",btnShadow:"0 2px 0 rgba(0, 0, 0, 0.015)",btnPrimaryShadow:"0 2px 0 rgba(0, 0, 0, 0.045)",btnTextShadow:"0 -1px 0 rgba(0, 0, 0, 0.12)",btnPrimaryColor:"#fff",btnPrimaryBg:"#1890ff",btnDefaultColor:"rgba(0, 0, 0, 0.85)",btnDefaultBg:"#fff",btnDefaultBorder:"#d9d9d9",btnDangerColor:"#fff",btnDangerBg:"#ff4d4f",btnDangerBorder:"#ff4d4f",btnDisableColor:"rgba(0, 0, 0, 0.25)",btnDisableBg:"#f5f5f5",btnDisableBorder:"#d9d9d9",btnDefaultGhostColor:"#fff",btnDefaultGhostBg:"transparent",btnDefaultGhostBorder:"#fff",btnFontSizeLg:"16px",btnFontSizeSm:"14px",btnPaddingHorizontalBase:"15px",btnPaddingHorizontalLg:"15px",btnPaddingHorizontalSm:"7px",btnHeightBase:"32px",btnHeightLg:"40px",btnHeightSm:"24px",btnLineHeight:"1.5715",btnCircleSize:"32px",btnCircleSizeLg:"40px",btnCircleSizeSm:"24px",btnSquareSize:"32px",btnSquareSizeLg:"40px",btnSquareSizeSm:"24px",btnSquareOnlyIconSize:"16px",btnSquareOnlyIconSizeSm:"14px",btnSquareOnlyIconSizeLg:"18px",btnGroupBorder:"#40a9ff",btnLinkHoverBg:"transparent",btnTextHoverBg:"rgba(0, 0, 0, 0.018)",checkboxSize:"16px",checkboxColor:"#1890ff",checkboxCheckColor:"#fff",checkboxCheckBg:"#fff",checkboxBorderWidth:"1px",checkboxBorderRadius:"2px",checkboxGroupItemMarginRight:"8px",descriptionsBg:"#fafafa",descriptionsTitleMarginBottom:"20px",descriptionsDefaultPadding:"16px 24px",descriptionsMiddlePadding:"12px 24px",descriptionsSmallPadding:"8px 16px",descriptionsItemPaddingBottom:"16px",descriptionsItemTrailingColon:"true",descriptionsItemLabelColonMarginRight:"8px",descriptionsItemLabelColonMarginLeft:"2px",descriptionsExtraColor:"rgba(0, 0, 0, 0.85)",dividerTextPadding:"1em",dividerOrientationMargin:"5%",dividerColor:"rgba(0, 0, 0, 0.06)",dividerVerticalGutter:"8px",dropdownSelectedColor:"#1890ff",dropdownMenuSubmenuDisabledBg:"#fff",dropdownSelectedBg:"#e6f7ff",emptyFontSize:"14px",radioSize:"16px",radioTop:"0.2em",radioBorderWidth:"1px",radioDotSize:"8px",radioDotColor:"#1890ff",radioDotDisabledColor:"rgba(0, 0, 0, 0.2)",radioSolidCheckedColor:"#fff",radioButtonBg:"#fff",radioButtonCheckedBg:"#fff",radioButtonColor:"rgba(0, 0, 0, 0.85)",radioButtonHoverColor:"#40a9ff",radioButtonActiveColor:"#096dd9",radioButtonPaddingHorizontal:"15px",radioDisabledButtonCheckedBg:"#e6e6e6",radioDisabledButtonCheckedColor:"rgba(0, 0, 0, 0.25)",radioWrapperMarginRight:"8px",screenXs:"480px",screenXsMin:"480px",screenSm:"576px",screenSmMin:"576px",screenMd:"768px",screenMdMin:"768px",screenLg:"992px",screenLgMin:"992px",screenXl:"1200px",screenXlMin:"1200px",screenXxl:"1600px",screenXxlMin:"1600px",screenXsMax:"575px",screenSmMax:"767px",screenMdMax:"991px",screenLgMax:"1199px",screenXlMax:"1599px",gridColumns:"24",layoutBodyBackground:"#f0f2f5",layoutHeaderBackground:"#001529",layoutHeaderHeight:"64px",layoutHeaderPadding:"0 50px",layoutHeaderColor:"rgba(0, 0, 0, 0.85)",layoutFooterPadding:"24px 50px",layoutFooterBackground:"#f0f2f5",layoutSiderBackground:"#001529",layoutTriggerHeight:"48px",layoutTriggerBackground:"#002140",layoutTriggerColor:"#fff",layoutZeroTriggerWidth:"36px",layoutZeroTriggerHeight:"42px",layoutSiderBackgroundLight:"#fff",layoutTriggerBackgroundLight:"#fff",layoutTriggerColorLight:"rgba(0, 0, 0, 0.85)",zindexBadge:"auto",zindexTableFixed:"2",zindexAffix:"10",zindexBackTop:"10",zindexPickerPanel:"10",zindexPopupClose:"10",zindexModal:"1000",zindexModalMask:"1000",zindexMessage:"1010",zindexNotification:"1010",zindexPopover:"1030",zindexDropdown:"1050",zindexPicker:"1050",zindexPopoconfirm:"1060",zindexTooltip:"1070",zindexImage:"1080",animationDurationSlow:"0.3s",animationDurationBase:"0.2s",animationDurationFast:"0.1s",collapsePanelBorderRadius:"2px",dropdownMenuBg:"#fff",dropdownVerticalPadding:"5px",dropdownEdgeChildVerticalPadding:"4px",dropdownFontSize:"14px",dropdownLineHeight:"22px",labelRequiredColor:"#ff4d4f",labelColor:"rgba(0, 0, 0, 0.85)",formWarningInputBg:"#fff",formItemMarginBottom:"24px",formItemTrailingColon:"true",formVerticalLabelPadding:"0 0 8px",formVerticalLabelMargin:"0",formItemLabelFontSize:"14px",formItemLabelHeight:"32px",formItemLabelColonMarginRight:"8px",formItemLabelColonMarginLeft:"2px",formErrorInputBg:"#fff",inputHeightBase:"32px",inputHeightLg:"40px",inputHeightSm:"24px",inputPaddingHorizontal:"11px",inputPaddingHorizontalBase:"11px",inputPaddingHorizontalSm:"7px",inputPaddingHorizontalLg:"11px",inputPaddingVerticalBase:"4px",inputPaddingVerticalSm:"0px",inputPaddingVerticalLg:"6.5px",inputPlaceholderColor:"#bfbfbf",inputColor:"rgba(0, 0, 0, 0.85)",inputIconColor:"rgba(0, 0, 0, 0.85)",inputBorderColor:"#d9d9d9",inputBg:"#fff",inputNumberHoverBorderColor:"#40a9ff",inputNumberHandlerActiveBg:"#f4f4f4",inputNumberHandlerHoverBg:"#40a9ff",inputNumberHandlerBg:"#fff",inputNumberHandlerBorderColor:"#d9d9d9",inputAddonBg:"#fafafa",inputHoverBorderColor:"#40a9ff",inputDisabledBg:"#f5f5f5",inputOutlineOffset:"0 0",inputIconHoverColor:"rgba(0, 0, 0, 0.85)",inputDisabledColor:"rgba(0, 0, 0, 0.25)",mentionsDropdownBg:"#fff",mentionsDropdownMenuItemHoverBg:"#fff",selectBorderColor:"#d9d9d9",selectItemSelectedColor:"rgba(0, 0, 0, 0.85)",selectItemSelectedFontWeight:"600",selectDropdownBg:"#fff",selectItemSelectedBg:"#e6f7ff",selectItemActiveBg:"#f5f5f5",selectDropdownVerticalPadding:"5px",selectDropdownFontSize:"14px",selectDropdownLineHeight:"22px",selectDropdownHeight:"32px",selectBackground:"#fff",selectClearBackground:"#fff",selectSelectionItemBg:"#f5f5f5",selectSelectionItemBorderColor:"#f0f0f0",selectSingleItemHeightLg:"40px",selectMultipleItemHeight:"24px",selectMultipleItemHeightLg:"32px",selectMultipleItemSpacingHalf:"2px",selectMultipleDisabledBackground:"#f5f5f5",selectMultipleItemDisabledColor:"#bfbfbf",selectMultipleItemDisabledBorderColor:"#d9d9d9",cascaderBg:"#fff",cascaderItemSelectedBg:"#e6f7ff",cascaderMenuBg:"#fff",cascaderMenuBorderColorSplit:"#f0f0f0",cascaderDropdownVerticalPadding:"5px",cascaderDropdownEdgeChildVerticalPadding:"4px",cascaderDropdownFontSize:"14px",cascaderDropdownLineHeight:"22px",anchorBg:"transparent",anchorBorderColor:"#f0f0f0",anchorLinkTop:"7px",anchorLinkLeft:"16px",anchorLinkPadding:"7px 0 7px 16px",tooltipMaxWidth:"250px",tooltipColor:"#fff",tooltipBg:"rgba(0, 0, 0, 0.75)",tooltipArrowWidth:"11.3137085px",tooltipDistance:"14.3137085px",tooltipArrowColor:"rgba(0, 0, 0, 0.75)",popoverBg:"#fff",popoverColor:"rgba(0, 0, 0, 0.85)",popoverMinWidth:"177px",popoverMinHeight:"32px",popoverArrowWidth:"11.3137085px",popoverArrowColor:"#fff",popoverArrowOuterColor:"#fff",popoverDistance:"15.3137085px",popoverPaddingHorizontal:"16px",modalHeaderPaddingVertical:"16px",modalHeaderPaddingHorizontal:"24px",modalBodyPadding:"24px",modalHeaderBg:"#fff",modalHeaderPadding:"16px 24px",modalHeaderBorderWidth:"1px",modalHeaderBorderStyle:"solid",modalHeaderTitleLineHeight:"22px",modalHeaderTitleFontSize:"16px",modalHeaderBorderColorSplit:"#f0f0f0",modalHeaderCloseSize:"56px",modalContentBg:"#fff",modalHeadingColor:"rgba(0, 0, 0, 0.85)",modalCloseColor:"rgba(0, 0, 0, 0.45)",modalFooterBg:"transparent",modalFooterBorderColorSplit:"#f0f0f0",modalFooterBorderStyle:"solid",modalFooterPaddingVertical:"10px",modalFooterPaddingHorizontal:"16px",modalFooterBorderWidth:"1px",modalMaskBg:"rgba(0, 0, 0, 0.45)",modalConfirmBodyPadding:"32px 32px 24px",modalConfirmTitleFontSize:"16px",progressDefaultColor:"#1890ff",progressRemainingColor:"#f5f5f5",progressInfoTextColor:"rgba(0, 0, 0, 0.85)",progressRadius:"100px",progressStepsItemBg:"#f3f3f3",progressTextFontSize:"1em",progressTextColor:"rgba(0, 0, 0, 0.85)",progressCircleTextFontSize:"1em",menuInlineToplevelItemHeight:"40px",menuItemHeight:"40px",menuItemGroupHeight:"1.5715",menuCollapsedWidth:"80px",menuBg:"#fff",menuPopupBg:"#fff",menuItemColor:"rgba(0, 0, 0, 0.85)",menuInlineSubmenuBg:"#fafafa",menuHighlightColor:"#1890ff",menuHighlightDangerColor:"#ff4d4f",menuItemActiveBg:"#e6f7ff",menuItemActiveDangerBg:"#fff1f0",menuItemActiveBorderWidth:"3px",menuItemGroupTitleColor:"rgba(0, 0, 0, 0.45)",menuItemVerticalMargin:"4px",menuItemFontSize:"14px",menuItemBoundaryMargin:"8px",menuItemPaddingHorizontal:"20px",menuItemPadding:"0 20px",menuHorizontalLineHeight:"46px",menuIconMarginRight:"10px",menuIconSize:"14px",menuIconSizeLg:"16px",menuItemGroupTitleFontSize:"14px",menuDarkColor:"rgba(255, 255, 255, 0.65)",menuDarkDangerColor:"#ff4d4f",menuDarkBg:"#001529",menuDarkArrowColor:"#fff",menuDarkInlineSubmenuBg:"#000c17",menuDarkHighlightColor:"#fff",menuDarkItemActiveBg:"#1890ff",menuDarkItemActiveDangerBg:"#ff4d4f",menuDarkSelectedItemIconColor:"#fff",menuDarkSelectedItemTextColor:"#fff",menuDarkItemHoverBg:"transparent",spinDotSizeSm:"14px",spinDotSize:"20px",spinDotSizeLg:"32px",tableBg:"#fff",tableHeaderBg:"#fafafa",tableHeaderColor:"rgba(0, 0, 0, 0.85)",tableHeaderSortBg:"#f5f5f5",tableBodySortBg:"#fafafa",tableRowHoverBg:"#fafafa",tableSelectedRowColor:"inherit",tableSelectedRowBg:"#e6f7ff",tableBodySelectedSortBg:"#e6f7ff",tableSelectedRowHoverBg:"#dcf4ff",tableExpandedRowBg:"#fbfbfb",tablePaddingVertical:"16px",tablePaddingHorizontal:"16px",tablePaddingVerticalMd:"12px",tablePaddingHorizontalMd:"8px",tablePaddingVerticalSm:"8px",tablePaddingHorizontalSm:"8px",tableBorderColor:"#f0f0f0",tableBorderRadiusBase:"2px",tableFooterBg:"#fafafa",tableFooterColor:"rgba(0, 0, 0, 0.85)",tableHeaderBgSm:"#fafafa",tableFontSize:"14px",tableFontSizeMd:"14px",tableFontSizeSm:"14px",tableHeaderCellSplitColor:"rgba(0, 0, 0, 0.06)",tableHeaderSortActiveBg:"rgba(0, 0, 0, 0.04)",tableFixedHeaderSortActiveBg:"#f5f5f5",tableHeaderFilterActiveBg:"rgba(0, 0, 0, 0.04)",tableFilterBtnsBg:"inherit",tableFilterDropdownBg:"#fff",tableExpandIconBg:"#fff",tableSelectionColumnWidth:"32px",tableStickyScrollBarBg:"rgba(0, 0, 0, 0.35)",tableStickyScrollBarRadius:"4px",tagDefaultBg:"#fafafa",tagDefaultColor:"rgba(0, 0, 0, 0.85)",tagFontSize:"12px",tagLineHeight:"20px",pickerBg:"#fff",pickerBasicCellHoverColor:"#f5f5f5",pickerBasicCellActiveWithRangeColor:"#e6f7ff",pickerBasicCellHoverWithRangeColor:"#cbe6ff",pickerBasicCellDisabledBg:"rgba(0, 0, 0, 0.04)",pickerBorderColor:"#f0f0f0",pickerDateHoverRangeBorderColor:"#7ec1ff",pickerDateHoverRangeColor:"#cbe6ff",pickerTimePanelColumnWidth:"56px",pickerTimePanelColumnHeight:"224px",pickerTimePanelCellHeight:"28px",pickerPanelCellHeight:"24px",pickerPanelCellWidth:"36px",pickerTextHeight:"40px",pickerPanelWithoutTimeCellHeight:"66px",calendarBg:"#fff",calendarInputBg:"#fff",calendarBorderColor:"#fff",calendarItemActiveBg:"#e6f7ff",calendarColumnActiveBg:"rgba(230, 247, 255, 0.2)",calendarFullBg:"#fff",calendarFullPanelBg:"#fff",carouselDotWidth:"16px",carouselDotHeight:"3px",carouselDotActiveWidth:"24px",badgeHeight:"20px",badgeHeightSm:"14px",badgeDotSize:"6px",badgeFontSize:"12px",badgeFontSizeSm:"12px",badgeFontWeight:"normal",badgeStatusSize:"6px",badgeTextColor:"#fff",badgeColor:"#ff4d4f",rateStarColor:"#fadb14",rateStarBg:"#f0f0f0",rateStarSize:"20px",rateStarHoverScale:"scale(1.1)",cardHeadColor:"rgba(0, 0, 0, 0.85)",cardHeadBackground:"transparent",cardHeadFontSize:"16px",cardHeadFontSizeSm:"14px",cardHeadPadding:"16px",cardHeadPaddingSm:"8px",cardHeadHeight:"48px",cardHeadHeightSm:"36px",cardInnerHeadPadding:"12px",cardPaddingBase:"24px",cardPaddingBaseSm:"12px",cardActionsBackground:"#fff",cardActionsLiMargin:"12px 0",cardSkeletonBg:"#cfd8dc",cardBackground:"#fff",cardShadow:"0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09)",cardRadius:"2px",cardHeadTabsMarginBottom:"-17px",cardHeadExtraColor:"rgba(0, 0, 0, 0.85)",commentBg:"inherit",commentPaddingBase:"16px 0",commentNestIndent:"44px",commentFontSizeBase:"14px",commentFontSizeSm:"12px",commentAuthorNameColor:"rgba(0, 0, 0, 0.45)",commentAuthorTimeColor:"#ccc",commentActionColor:"rgba(0, 0, 0, 0.45)",commentActionHoverColor:"#595959",commentActionsMarginBottom:"inherit",commentActionsMarginTop:"12px",commentContentDetailPMarginBottom:"inherit",tabsCardHeadBackground:"#fafafa",tabsCardHeight:"40px",tabsCardActiveColor:"#1890ff",tabsCardHorizontalPadding:"8px 16px",tabsCardHorizontalPaddingSm:"6px 16px",tabsCardHorizontalPaddingLg:"7px 16px 6px",tabsTitleFontSize:"14px",tabsTitleFontSizeLg:"16px",tabsTitleFontSizeSm:"14px",tabsInkBarColor:"#1890ff",tabsBarMargin:"0 0 16px 0",tabsHorizontalGutter:"32px",tabsHorizontalMargin:"0 0 0 32px",tabsHorizontalMarginRtl:"0 0 0 32px",tabsHorizontalPadding:"12px 0",tabsHorizontalPaddingLg:"16px 0",tabsHorizontalPaddingSm:"8px 0",tabsVerticalPadding:"8px 24px",tabsVerticalMargin:"16px 0 0 0",tabsScrollingSize:"32px",tabsHighlightColor:"#1890ff",tabsHoverColor:"#40a9ff",tabsActiveColor:"#096dd9",tabsCardGutter:"2px",tabsCardTabActiveBorderTop:"2px solid transparent",backTopColor:"#fff",backTopBg:"rgba(0, 0, 0, 0.45)",backTopHoverBg:"rgba(0, 0, 0, 0.85)",avatarSizeBase:"32px",avatarSizeLg:"40px",avatarSizeSm:"24px",avatarFontSizeBase:"18px",avatarFontSizeLg:"24px",avatarFontSizeSm:"14px",avatarBg:"#ccc",avatarColor:"#fff",avatarBorderRadius:"2px",avatarGroupOverlapping:"-8px",avatarGroupSpace:"3px",avatarGroupBorderColor:"#fff",switchHeight:"22px",switchSmHeight:"16px",switchMinWidth:"44px",switchSmMinWidth:"28px",switchDisabledOpacity:"0.4",switchColor:"#1890ff",switchBg:"#fff",switchShadowColor:"rgba(0, 35, 11, 0.2)",switchPadding:"2px",switchInnerMarginMin:"7px",switchInnerMarginMax:"25px",switchSmInnerMarginMin:"5px",switchSmInnerMarginMax:"18px",paginationItemBg:"#fff",paginationItemSize:"32px",paginationItemSizeSm:"24px",paginationFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",paginationFontWeightActive:"500",paginationItemBgActive:"#fff",paginationItemLinkBg:"#fff",paginationItemDisabledColorActive:"rgba(0, 0, 0, 0.25)",paginationItemDisabledBgActive:"#e6e6e6",paginationItemInputBg:"#fff",paginationMiniOptionsSizeChangerTop:"0px",pageHeaderPadding:"24px",pageHeaderPaddingVertical:"16px",pageHeaderPaddingBreadcrumb:"12px",pageHeaderContentPaddingVertical:"12px",pageHeaderBackColor:"#000",pageHeaderGhostBg:"inherit",pageHeaderHeadingTitle:"20px",pageHeaderHeadingSubTitle:"14px",pageHeaderTabsTabFontSize:"16px",breadcrumbBaseColor:"rgba(0, 0, 0, 0.45)",breadcrumbLastItemColor:"rgba(0, 0, 0, 0.85)",breadcrumbFontSize:"14px",breadcrumbIconFontSize:"14px",breadcrumbLinkColor:"rgba(0, 0, 0, 0.45)",breadcrumbLinkColorHover:"#40a9ff",breadcrumbSeparatorColor:"rgba(0, 0, 0, 0.45)",breadcrumbSeparatorMargin:"0 8px",sliderMargin:"10px 6px 10px",sliderRailBackgroundColor:"#f5f5f5",sliderRailBackgroundColorHover:"#e1e1e1",sliderTrackBackgroundColor:"#91d5ff",sliderTrackBackgroundColorHover:"#69c0ff",sliderHandleBorderWidth:"2px",sliderHandleBackgroundColor:"#fff",sliderHandleColor:"#91d5ff",sliderHandleColorHover:"#69c0ff",sliderHandleColorFocus:"#46a6ff",sliderHandleColorFocusShadow:"rgba(24, 144, 255, 0.12)",sliderHandleColorTooltipOpen:"#1890ff",sliderHandleSize:"14px",sliderHandleMarginTop:"-5px",sliderHandleShadow:"0",sliderDotBorderColor:"#f0f0f0",sliderDotBorderColorActive:"#8cc8ff",sliderDisabledColor:"rgba(0, 0, 0, 0.25)",sliderDisabledBackgroundColor:"#fff",treeBg:"#fff",treeTitleHeight:"24px",treeChildPadding:"18px",treeDirectorySelectedColor:"#fff",treeDirectorySelectedBg:"#1890ff",treeNodeHoverBg:"#f5f5f5",treeNodeSelectedBg:"#bae7ff",collapseHeaderPadding:"12px 16px",collapseHeaderPaddingExtra:"40px",collapseHeaderBg:"#fafafa",collapseContentPadding:"16px",collapseContentBg:"#fff",collapseHeaderArrowLeft:"16px",skeletonColor:"rgba(190, 190, 190, 0.2)",skeletonToColor:"rgba(129, 129, 129, 0.24)",skeletonParagraphMarginTop:"28px",skeletonParagraphLiMarginTop:"16px",skeletonParagraphLiHeight:"16px",skeletonTitleHeight:"16px",skeletonTitleParagraphMarginTop:"24px",transferHeaderHeight:"40px",transferItemHeight:"32px",transferDisabledBg:"#f5f5f5",transferListHeight:"200px",transferItemHoverBg:"#f5f5f5",transferItemSelectedHoverBg:"#dcf4ff",transferItemPaddingVertical:"6px",transferListSearchIconTop:"12px",messageNoticeContentPadding:"10px 16px",messageNoticeContentBg:"#fff",waveAnimationWidth:"6px",alertSuccessBorderColor:"#b7eb8f",alertSuccessBgColor:"#f6ffed",alertSuccessIconColor:"#52c41a",alertInfoBorderColor:"#91d5ff",alertInfoBgColor:"#e6f7ff",alertInfoIconColor:"#1890ff",alertWarningBorderColor:"#ffe58f",alertWarningBgColor:"#fffbe6",alertWarningIconColor:"#faad14",alertErrorBorderColor:"#ffccc7",alertErrorBgColor:"#fff2f0",alertErrorIconColor:"#ff4d4f",alertMessageColor:"rgba(0, 0, 0, 0.85)",alertTextColor:"rgba(0, 0, 0, 0.85)",alertCloseColor:"rgba(0, 0, 0, 0.45)",alertCloseHoverColor:"rgba(0, 0, 0, 0.75)",alertNoIconPaddingVertical:"8px",alertWithDescriptionNoIconPaddingVertical:"15px",alertWithDescriptionPaddingVertical:"15px",alertWithDescriptionPadding:"15px 15px 15px 24px",alertIconTop:"12.0005px",alertWithDescriptionIconSize:"24px",listHeaderBackground:"transparent",listFooterBackground:"transparent",listEmptyTextPadding:"16px",listItemPadding:"12px 0",listItemPaddingSm:"8px 16px",listItemPaddingLg:"16px 24px",listItemMetaMarginBottom:"16px",listItemMetaAvatarMarginRight:"16px",listItemMetaTitleMarginBottom:"12px",listCustomizeCardBg:"#fff",listItemMetaDescriptionFontSize:"14px",statisticTitleFontSize:"14px",statisticContentFontSize:"24px",statisticUnitFontSize:"24px",statisticFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",drawerHeaderPadding:"16px 24px",drawerBodyPadding:"24px",drawerBg:"#fff",drawerFooterPaddingVertical:"10px",drawerFooterPaddingHorizontal:"16px",drawerHeaderCloseSize:"56px",drawerTitleFontSize:"16px",drawerTitleLineHeight:"22px",timelineWidth:"2px",timelineColor:"#f0f0f0",timelineDotBorderWidth:"2px",timelineDotColor:"#1890ff",timelineDotBg:"#fff",timelineItemPaddingBottom:"20px",typographyTitleFontWeight:"600",typographyTitleMarginTop:"1.2em",typographyTitleMarginBottom:"0.5em",uploadActionsColor:"rgba(0, 0, 0, 0.45)",processTailColor:"#f0f0f0",stepsNavArrowColor:"rgba(0, 0, 0, 0.25)",stepsBackground:"#fff",stepsIconSize:"32px",stepsIconCustomSize:"32px",stepsIconCustomTop:"0px",stepsIconCustomFontSize:"24px",stepsIconTop:"-0.5px",stepsIconFontSize:"16px",stepsIconMargin:"0 8px 0 0",stepsTitleLineHeight:"32px",stepsSmallIconSize:"24px",stepsSmallIconMargin:"0 8px 0 0",stepsDotSize:"8px",stepsDotTop:"2px",stepsCurrentDotSize:"10px",stepsDescriptionMaxWidth:"140px",stepsNavContentMaxWidth:"auto",stepsVerticalIconWidth:"16px",stepsVerticalTailWidth:"16px",stepsVerticalTailWidthSm:"12px",notificationBg:"#fff",notificationPaddingVertical:"16px",notificationPaddingHorizontal:"24px",resultTitleFontSize:"24px",resultSubtitleFontSize:"14px",resultIconFontSize:"72px",resultExtraMargin:"24px 0 0 0",imageSizeBase:"48px",imageFontSizeBase:"24px",imageBg:"#f5f5f5",imageColor:"#fff",imageMaskFontSize:"16px",imagePreviewOperationSize:"18px",imagePreviewOperationColor:"rgba(255, 255, 255, 0.85)",imagePreviewOperationDisabledColor:"rgba(255, 255, 255, 0.25)"};const ThemeContext=c({theme:defaultTheme,toggleTheme:a=>{}});const useTheme=()=>{return g(ThemeContext)};const ThemeProvider=({children:a})=>{const[b,e]=h(defaultTheme);const f=b=>{const a={...defaultTheme,...b};p.config({theme:a});e(a)};const c=i(()=>{return{theme:b,toggleTheme:f}},[b]);return d(p,{prefixCls:PREFIX_COMPONENT_CLASSNAME,iconPrefixCls:PREFIX_ICON_CLASSNAME,children:d(ThemeContext.Provider,{value:c,children:a})})};const OTPInput=a.forwardRef((c,g)=>{const{numInputs:h=4,value:i,onChange:j,errorMessage:a,...k}=c;const{theme:b}=useTheme();return e(f,{children:[d("div",{}),d(A,{ref:g,...k,numInputs:h,value:i,onChange:j,inputStyle:{width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${b.borderWidthBase} solid ${b.borderColorBase}`}}),!!a&&d(Text,{type:"danger",children:a})]})});export{Box,Button,Col,Content,DEFAULT_ICON_COLOR,DEFAULT_ICON_SIZE,Footer,Form,Header,Icon,IconSet,Input,Layout,OTPInput,Page,Row,Sider,Text,TextVariantType,ThemeProvider,assertUnreachable,defaultTheme,getIconComponent,searchIcons,useTheme}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});var jsxRuntime=require("react/jsx-runtime");var React=require("react");var antd=require("antd");var AntLayout=require("antd/lib/layout/layout");var AntSider=require("antd/lib/layout/Sider");var OtpInput=require("react-otp-input");function _interopDefaultLegacy(a){return a&& typeof a==="object"&&"default"in a?a:{"default":a}}var React__default=_interopDefaultLegacy(React);var AntLayout__default=_interopDefaultLegacy(AntLayout);var AntSider__default=_interopDefaultLegacy(AntSider);var OtpInput__default=_interopDefaultLegacy(OtpInput);const Button=React__default["default"].forwardRef((a,b)=>{const{type:c="primary",...d}=a;return jsxRuntime.jsx(antd.Button,{type:c,...d,ref:b})});const Card=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(antd.Card,{...d,ref:b,children:c})});const Content=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(AntLayout.Content,{...d,prefixCls:"jitera-layout-content",ref:b,children:c})});const Footer=React__default["default"].forwardRef((a,b)=>{const{children:c,style:d,...e}=a;return jsxRuntime.jsx(AntLayout.Footer,{...e,prefixCls:"jitera-layout-footer",style:{width:"100%",...d},ref:b,children:c})});const FormComponent=React__default["default"].forwardRef((a,b)=>{const{children:c,formRef:d,style:e,formStyle:f,...g}=a;return jsxRuntime.jsx("div",{ref:b,style:{...e,height:"100%"},children:jsxRuntime.jsx(antd.Form,{...g,style:f,ref:d,children:c})})});const Form=FormComponent;Form.ErrorList=antd.Form.ErrorList;Form.useForm=antd.Form.useForm;Form.Item=antd.Form.Item;Form.List=antd.Form.List;Form.Provider=antd.Form.Provider;Form.create=antd.Form.create;const Header=React__default["default"].forwardRef((a,b)=>{const{children:c,style:d,...e}=a;return jsxRuntime.jsx(AntLayout.Header,{...e,prefixCls:"jitera-layout-header",style:{width:"100%",...d},ref:b,children:c})});const Input=React__default["default"].forwardRef((c,a)=>{const{formItem:d,formItemProps:e={},...b}=c;return d?jsxRuntime.jsx(Form.Item,{...e,children:jsxRuntime.jsx(antd.Input,{...b,ref:a})}):jsxRuntime.jsx(antd.Input,{...b,ref:a})});const Layout=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(AntLayout__default["default"],{...d,prefixCls:"jitera-layout",ref:b,children:c})});const Page=React__default["default"].forwardRef(({isPreview:a,...b},c)=>{const{children:d,style:e,...f}=b;const g=a?"100%":"100vh";return jsxRuntime.jsx("div",{...f,style:{width:"100%",minHeight:g,backgroundColor:"#fff",...e},ref:c,children:d})});const Sider=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(AntSider__default["default"],{...d,prefixCls:"jitera-layout-sider",ref:b,children:c})});exports.TypographyVariantType=void 0;(function(a){a["Title"]="Title";a["Link"]="Link";a["Text"]="Text";a["Paragraph"]="Paragraph"})(exports.TypographyVariantType||(exports.TypographyVariantType={}));const Typography=React__default["default"].forwardRef((a,b)=>{const{variant:c=exports.TypographyVariantType.Text,...d}=a;const e=antd.Typography[c];return jsxRuntime.jsx(e,{...d,ref:b})});const PREFIX_COMPONENT_CLASSNAME="jitera";const PREFIX_ICON_CLASSNAME="jiteraicon";const defaultTheme={blueBase:"#1890ff",blue1:"#e6f7ff",blue2:"#bae7ff",blue3:"#91d5ff",blue4:"#69c0ff",blue5:"#40a9ff",blue6:"#1890ff",blue7:"#096dd9",blue8:"#0050b3",blue9:"#003a8c",blue10:"#002766",purpleBase:"#722ed1",purple1:"#f9f0ff",purple2:"#efdbff",purple3:"#d3adf7",purple4:"#b37feb",purple5:"#9254de",purple6:"#722ed1",purple7:"#531dab",purple8:"#391085",purple9:"#22075e",purple10:"#120338",cyanBase:"#13c2c2",cyan1:"#e6fffb",cyan2:"#b5f5ec",cyan3:"#87e8de",cyan4:"#5cdbd3",cyan5:"#36cfc9",cyan6:"#13c2c2",cyan7:"#08979c",cyan8:"#006d75",cyan9:"#00474f",cyan10:"#002329",greenBase:"#52c41a",green1:"#f6ffed",green2:"#d9f7be",green3:"#b7eb8f",green4:"#95de64",green5:"#73d13d",green6:"#52c41a",green7:"#389e0d",green8:"#237804",green9:"#135200",green10:"#092b00",magentaBase:"#eb2f96",magenta1:"#fff0f6",magenta2:"#ffd6e7",magenta3:"#ffadd2",magenta4:"#ff85c0",magenta5:"#f759ab",magenta6:"#eb2f96",magenta7:"#c41d7f",magenta8:"#9e1068",magenta9:"#780650",magenta10:"#520339",pinkBase:"#eb2f96",pink1:"#fff0f6",pink2:"#ffd6e7",pink3:"#ffadd2",pink4:"#ff85c0",pink5:"#f759ab",pink6:"#eb2f96",pink7:"#c41d7f",pink8:"#9e1068",pink9:"#780650",pink10:"#520339",redBase:"#f5222d",red1:"#fff1f0",red2:"#ffccc7",red3:"#ffa39e",red4:"#ff7875",red5:"#ff4d4f",red6:"#f5222d",red7:"#cf1322",red8:"#a8071a",red9:"#820014",red10:"#5c0011",orangeBase:"#fa8c16",orange1:"#fff7e6",orange2:"#ffe7ba",orange3:"#ffd591",orange4:"#ffc069",orange5:"#ffa940",orange6:"#fa8c16",orange7:"#d46b08",orange8:"#ad4e00",orange9:"#873800",orange10:"#612500",yellowBase:"#fadb14",yellow1:"#feffe6",yellow2:"#ffffb8",yellow3:"#fffb8f",yellow4:"#fff566",yellow5:"#ffec3d",yellow6:"#fadb14",yellow7:"#d4b106",yellow8:"#ad8b00",yellow9:"#876800",yellow10:"#614700",volcanoBase:"#fa541c",volcano1:"#fff2e8",volcano2:"#ffd8bf",volcano3:"#ffbb96",volcano4:"#ff9c6e",volcano5:"#ff7a45",volcano6:"#fa541c",volcano7:"#d4380d",volcano8:"#ad2102",volcano9:"#871400",volcano10:"#610b00",geekblueBase:"#2f54eb",geekblue1:"#f0f5ff",geekblue2:"#d6e4ff",geekblue3:"#adc6ff",geekblue4:"#85a5ff",geekblue5:"#597ef7",geekblue6:"#2f54eb",geekblue7:"#1d39c4",geekblue8:"#10239e",geekblue9:"#061178",geekblue10:"#030852",limeBase:"#a0d911",lime1:"#fcffe6",lime2:"#f4ffb8",lime3:"#eaff8f",lime4:"#d3f261",lime5:"#bae637",lime6:"#a0d911",lime7:"#7cb305",lime8:"#5b8c00",lime9:"#3f6600",lime10:"#254000",goldBase:"#faad14",gold1:"#fffbe6",gold2:"#fff1b8",gold3:"#ffe58f",gold4:"#ffd666",gold5:"#ffc53d",gold6:"#faad14",gold7:"#d48806",gold8:"#ad6800",gold9:"#874d00",gold10:"#613400",presetColors:"pink, magenta, red, volcano, orange, yellow, gold, cyan, lime, green, blue, geekblue, purple",theme:"default",antPrefix:"ant",htmlSelector:"html",primaryColor:"#1890ff",primaryColorHover:"#40a9ff",primaryColorActive:"#096dd9",primaryColorOutline:"rgba(24, 144, 255, 0.2)",processingColor:"#1890ff",infoColor:"#1890ff",infoColorDeprecatedBg:"#e6f7ff",infoColorDeprecatedBorder:"#91d5ff",successColor:"#52c41a",successColorHover:"#73d13d",successColorActive:"#389e0d",successColorOutline:"rgba(82, 196, 26, 0.2)",successColorDeprecatedBg:"#f6ffed",successColorDeprecatedBorder:"#b7eb8f",warningColor:"#faad14",warningColorHover:"#ffc53d",warningColorActive:"#d48806",warningColorOutline:"rgba(250, 173, 20, 0.2)",warningColorDeprecatedBg:"#fffbe6",warningColorDeprecatedBorder:"#ffe58f",errorColor:"#ff4d4f",errorColorHover:"#ff7875",errorColorActive:"#d9363e",errorColorOutline:"rgba(255, 77, 79, 0.2)",errorColorDeprecatedBg:"#fff2f0",errorColorDeprecatedBorder:"#ffccc7",highlightColor:"#ff4d4f",normalColor:"#d9d9d9",white:"#fff",black:"#000",primary1:"#e6f7ff",primary2:"#bae7ff",primary3:"#91d5ff",primary4:"#69c0ff",primary5:"#40a9ff",primary6:"#1890ff",primary7:"#096dd9",primary8:"#0050b3",primary9:"#003a8c",primary10:"#002766",bodyBackground:"#fff",componentBackground:"#fff",popoverBackground:"#fff",popoverCustomizeBorderColor:"#f0f0f0",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",codeFamily:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",textColor:"rgba(0, 0, 0, 0.85)",textColorSecondary:"rgba(0, 0, 0, 0.45)",textColorInverse:"#fff",iconColor:"inherit",iconColorHover:"rgba(0, 0, 0, 0.75)",headingColor:"rgba(0, 0, 0, 0.85)",textColorDark:"rgba(255, 255, 255, 0.85)",textColorSecondaryDark:"rgba(255, 255, 255, 0.65)",textSelectionBg:"#1890ff",fontVariantBase:"tabular-nums",fontFeatureSettingsBase:"'tnum'",fontSizeBase:"14px",fontSizeLg:"16px",fontSizeSm:"12px",heading1Size:"38px",heading2Size:"30px",heading3Size:"24px",heading4Size:"20px",heading5Size:"16px",lineHeightBase:"1.5715",borderRadiusBase:"2px",borderRadiusSm:"2px",paddingLg:"24px",paddingMd:"16px",paddingSm:"12px",paddingXs:"8px",paddingXss:"4px",controlPaddingHorizontal:"12px",controlPaddingHorizontalSm:"8px",marginLg:"24px",marginMd:"16px",marginSm:"12px",marginXs:"8px",marginXss:"4px",heightBase:"32px",heightLg:"40px",heightSm:"24px",itemActiveBg:"#e6f7ff",itemHoverBg:"#f5f5f5",iconfontCssPrefix:"anticon",linkColor:"#1890ff",linkHoverColor:"#40a9ff",linkActiveColor:"#096dd9",linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",linkFocusOutline:"0",easeBaseOut:"cubic-bezier(0.7, 0.3, 0.1, 1)",easeBaseIn:"cubic-bezier(0.9, 0, 0.3, 0.7)",easeOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",easeIn:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",easeInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",easeOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",easeInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",easeInOutBack:"cubic-bezier(0.71, -0.46, 0.29, 1.46)",easeOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",easeInCirc:"cubic-bezier(0.6, 0.04, 0.98, 0.34)",easeInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",easeOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",easeInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeInOutQuint:"cubic-bezier(0.86, 0, 0.07, 1)",borderColorBase:"#d9d9d9",borderColorSplit:"#f0f0f0",borderColorInverse:"#fff",borderWidthBase:"1px",borderStyleBase:"solid",outlineBlurSize:"0",outlineWidth:"2px",outlineColor:"#1890ff",outlineFade:"20%",backgroundColorLight:"#fafafa",backgroundColorBase:"#f5f5f5",disabledColor:"rgba(0, 0, 0, 0.25)",disabledBg:"#f5f5f5",disabledActiveBg:"#e6e6e6",disabledColorDark:"rgba(255, 255, 255, 0.35)",shadowColor:"rgba(0, 0, 0, 0.15)",shadowColorInverse:"#fff",boxShadowBase:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",shadow1Up:"0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Down:"0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Left:"-6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow1Right:"6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow2:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",btnFontWeight:"400",btnBorderRadiusBase:"2px",btnBorderRadiusSm:"2px",btnBorderWidth:"1px",btnBorderStyle:"solid",btnShadow:"0 2px 0 rgba(0, 0, 0, 0.015)",btnPrimaryShadow:"0 2px 0 rgba(0, 0, 0, 0.045)",btnTextShadow:"0 -1px 0 rgba(0, 0, 0, 0.12)",btnPrimaryColor:"#fff",btnPrimaryBg:"#1890ff",btnDefaultColor:"rgba(0, 0, 0, 0.85)",btnDefaultBg:"#fff",btnDefaultBorder:"#d9d9d9",btnDangerColor:"#fff",btnDangerBg:"#ff4d4f",btnDangerBorder:"#ff4d4f",btnDisableColor:"rgba(0, 0, 0, 0.25)",btnDisableBg:"#f5f5f5",btnDisableBorder:"#d9d9d9",btnDefaultGhostColor:"#fff",btnDefaultGhostBg:"transparent",btnDefaultGhostBorder:"#fff",btnFontSizeLg:"16px",btnFontSizeSm:"14px",btnPaddingHorizontalBase:"15px",btnPaddingHorizontalLg:"15px",btnPaddingHorizontalSm:"7px",btnHeightBase:"32px",btnHeightLg:"40px",btnHeightSm:"24px",btnLineHeight:"1.5715",btnCircleSize:"32px",btnCircleSizeLg:"40px",btnCircleSizeSm:"24px",btnSquareSize:"32px",btnSquareSizeLg:"40px",btnSquareSizeSm:"24px",btnSquareOnlyIconSize:"16px",btnSquareOnlyIconSizeSm:"14px",btnSquareOnlyIconSizeLg:"18px",btnGroupBorder:"#40a9ff",btnLinkHoverBg:"transparent",btnTextHoverBg:"rgba(0, 0, 0, 0.018)",checkboxSize:"16px",checkboxColor:"#1890ff",checkboxCheckColor:"#fff",checkboxCheckBg:"#fff",checkboxBorderWidth:"1px",checkboxBorderRadius:"2px",checkboxGroupItemMarginRight:"8px",descriptionsBg:"#fafafa",descriptionsTitleMarginBottom:"20px",descriptionsDefaultPadding:"16px 24px",descriptionsMiddlePadding:"12px 24px",descriptionsSmallPadding:"8px 16px",descriptionsItemPaddingBottom:"16px",descriptionsItemTrailingColon:"true",descriptionsItemLabelColonMarginRight:"8px",descriptionsItemLabelColonMarginLeft:"2px",descriptionsExtraColor:"rgba(0, 0, 0, 0.85)",dividerTextPadding:"1em",dividerOrientationMargin:"5%",dividerColor:"rgba(0, 0, 0, 0.06)",dividerVerticalGutter:"8px",dropdownSelectedColor:"#1890ff",dropdownMenuSubmenuDisabledBg:"#fff",dropdownSelectedBg:"#e6f7ff",emptyFontSize:"14px",radioSize:"16px",radioTop:"0.2em",radioBorderWidth:"1px",radioDotSize:"8px",radioDotColor:"#1890ff",radioDotDisabledColor:"rgba(0, 0, 0, 0.2)",radioSolidCheckedColor:"#fff",radioButtonBg:"#fff",radioButtonCheckedBg:"#fff",radioButtonColor:"rgba(0, 0, 0, 0.85)",radioButtonHoverColor:"#40a9ff",radioButtonActiveColor:"#096dd9",radioButtonPaddingHorizontal:"15px",radioDisabledButtonCheckedBg:"#e6e6e6",radioDisabledButtonCheckedColor:"rgba(0, 0, 0, 0.25)",radioWrapperMarginRight:"8px",screenXs:"480px",screenXsMin:"480px",screenSm:"576px",screenSmMin:"576px",screenMd:"768px",screenMdMin:"768px",screenLg:"992px",screenLgMin:"992px",screenXl:"1200px",screenXlMin:"1200px",screenXxl:"1600px",screenXxlMin:"1600px",screenXsMax:"575px",screenSmMax:"767px",screenMdMax:"991px",screenLgMax:"1199px",screenXlMax:"1599px",gridColumns:"24",layoutBodyBackground:"#f0f2f5",layoutHeaderBackground:"#001529",layoutHeaderHeight:"64px",layoutHeaderPadding:"0 50px",layoutHeaderColor:"rgba(0, 0, 0, 0.85)",layoutFooterPadding:"24px 50px",layoutFooterBackground:"#f0f2f5",layoutSiderBackground:"#001529",layoutTriggerHeight:"48px",layoutTriggerBackground:"#002140",layoutTriggerColor:"#fff",layoutZeroTriggerWidth:"36px",layoutZeroTriggerHeight:"42px",layoutSiderBackgroundLight:"#fff",layoutTriggerBackgroundLight:"#fff",layoutTriggerColorLight:"rgba(0, 0, 0, 0.85)",zindexBadge:"auto",zindexTableFixed:"2",zindexAffix:"10",zindexBackTop:"10",zindexPickerPanel:"10",zindexPopupClose:"10",zindexModal:"1000",zindexModalMask:"1000",zindexMessage:"1010",zindexNotification:"1010",zindexPopover:"1030",zindexDropdown:"1050",zindexPicker:"1050",zindexPopoconfirm:"1060",zindexTooltip:"1070",zindexImage:"1080",animationDurationSlow:"0.3s",animationDurationBase:"0.2s",animationDurationFast:"0.1s",collapsePanelBorderRadius:"2px",dropdownMenuBg:"#fff",dropdownVerticalPadding:"5px",dropdownEdgeChildVerticalPadding:"4px",dropdownFontSize:"14px",dropdownLineHeight:"22px",labelRequiredColor:"#ff4d4f",labelColor:"rgba(0, 0, 0, 0.85)",formWarningInputBg:"#fff",formItemMarginBottom:"24px",formItemTrailingColon:"true",formVerticalLabelPadding:"0 0 8px",formVerticalLabelMargin:"0",formItemLabelFontSize:"14px",formItemLabelHeight:"32px",formItemLabelColonMarginRight:"8px",formItemLabelColonMarginLeft:"2px",formErrorInputBg:"#fff",inputHeightBase:"32px",inputHeightLg:"40px",inputHeightSm:"24px",inputPaddingHorizontal:"11px",inputPaddingHorizontalBase:"11px",inputPaddingHorizontalSm:"7px",inputPaddingHorizontalLg:"11px",inputPaddingVerticalBase:"4px",inputPaddingVerticalSm:"0px",inputPaddingVerticalLg:"6.5px",inputPlaceholderColor:"#bfbfbf",inputColor:"rgba(0, 0, 0, 0.85)",inputIconColor:"rgba(0, 0, 0, 0.85)",inputBorderColor:"#d9d9d9",inputBg:"#fff",inputNumberHoverBorderColor:"#40a9ff",inputNumberHandlerActiveBg:"#f4f4f4",inputNumberHandlerHoverBg:"#40a9ff",inputNumberHandlerBg:"#fff",inputNumberHandlerBorderColor:"#d9d9d9",inputAddonBg:"#fafafa",inputHoverBorderColor:"#40a9ff",inputDisabledBg:"#f5f5f5",inputOutlineOffset:"0 0",inputIconHoverColor:"rgba(0, 0, 0, 0.85)",inputDisabledColor:"rgba(0, 0, 0, 0.25)",mentionsDropdownBg:"#fff",mentionsDropdownMenuItemHoverBg:"#fff",selectBorderColor:"#d9d9d9",selectItemSelectedColor:"rgba(0, 0, 0, 0.85)",selectItemSelectedFontWeight:"600",selectDropdownBg:"#fff",selectItemSelectedBg:"#e6f7ff",selectItemActiveBg:"#f5f5f5",selectDropdownVerticalPadding:"5px",selectDropdownFontSize:"14px",selectDropdownLineHeight:"22px",selectDropdownHeight:"32px",selectBackground:"#fff",selectClearBackground:"#fff",selectSelectionItemBg:"#f5f5f5",selectSelectionItemBorderColor:"#f0f0f0",selectSingleItemHeightLg:"40px",selectMultipleItemHeight:"24px",selectMultipleItemHeightLg:"32px",selectMultipleItemSpacingHalf:"2px",selectMultipleDisabledBackground:"#f5f5f5",selectMultipleItemDisabledColor:"#bfbfbf",selectMultipleItemDisabledBorderColor:"#d9d9d9",cascaderBg:"#fff",cascaderItemSelectedBg:"#e6f7ff",cascaderMenuBg:"#fff",cascaderMenuBorderColorSplit:"#f0f0f0",cascaderDropdownVerticalPadding:"5px",cascaderDropdownEdgeChildVerticalPadding:"4px",cascaderDropdownFontSize:"14px",cascaderDropdownLineHeight:"22px",anchorBg:"transparent",anchorBorderColor:"#f0f0f0",anchorLinkTop:"7px",anchorLinkLeft:"16px",anchorLinkPadding:"7px 0 7px 16px",tooltipMaxWidth:"250px",tooltipColor:"#fff",tooltipBg:"rgba(0, 0, 0, 0.75)",tooltipArrowWidth:"11.3137085px",tooltipDistance:"14.3137085px",tooltipArrowColor:"rgba(0, 0, 0, 0.75)",popoverBg:"#fff",popoverColor:"rgba(0, 0, 0, 0.85)",popoverMinWidth:"177px",popoverMinHeight:"32px",popoverArrowWidth:"11.3137085px",popoverArrowColor:"#fff",popoverArrowOuterColor:"#fff",popoverDistance:"15.3137085px",popoverPaddingHorizontal:"16px",modalHeaderPaddingVertical:"16px",modalHeaderPaddingHorizontal:"24px",modalBodyPadding:"24px",modalHeaderBg:"#fff",modalHeaderPadding:"16px 24px",modalHeaderBorderWidth:"1px",modalHeaderBorderStyle:"solid",modalHeaderTitleLineHeight:"22px",modalHeaderTitleFontSize:"16px",modalHeaderBorderColorSplit:"#f0f0f0",modalHeaderCloseSize:"56px",modalContentBg:"#fff",modalHeadingColor:"rgba(0, 0, 0, 0.85)",modalCloseColor:"rgba(0, 0, 0, 0.45)",modalFooterBg:"transparent",modalFooterBorderColorSplit:"#f0f0f0",modalFooterBorderStyle:"solid",modalFooterPaddingVertical:"10px",modalFooterPaddingHorizontal:"16px",modalFooterBorderWidth:"1px",modalMaskBg:"rgba(0, 0, 0, 0.45)",modalConfirmBodyPadding:"32px 32px 24px",modalConfirmTitleFontSize:"16px",progressDefaultColor:"#1890ff",progressRemainingColor:"#f5f5f5",progressInfoTextColor:"rgba(0, 0, 0, 0.85)",progressRadius:"100px",progressStepsItemBg:"#f3f3f3",progressTextFontSize:"1em",progressTextColor:"rgba(0, 0, 0, 0.85)",progressCircleTextFontSize:"1em",menuInlineToplevelItemHeight:"40px",menuItemHeight:"40px",menuItemGroupHeight:"1.5715",menuCollapsedWidth:"80px",menuBg:"#fff",menuPopupBg:"#fff",menuItemColor:"rgba(0, 0, 0, 0.85)",menuInlineSubmenuBg:"#fafafa",menuHighlightColor:"#1890ff",menuHighlightDangerColor:"#ff4d4f",menuItemActiveBg:"#e6f7ff",menuItemActiveDangerBg:"#fff1f0",menuItemActiveBorderWidth:"3px",menuItemGroupTitleColor:"rgba(0, 0, 0, 0.45)",menuItemVerticalMargin:"4px",menuItemFontSize:"14px",menuItemBoundaryMargin:"8px",menuItemPaddingHorizontal:"20px",menuItemPadding:"0 20px",menuHorizontalLineHeight:"46px",menuIconMarginRight:"10px",menuIconSize:"14px",menuIconSizeLg:"16px",menuItemGroupTitleFontSize:"14px",menuDarkColor:"rgba(255, 255, 255, 0.65)",menuDarkDangerColor:"#ff4d4f",menuDarkBg:"#001529",menuDarkArrowColor:"#fff",menuDarkInlineSubmenuBg:"#000c17",menuDarkHighlightColor:"#fff",menuDarkItemActiveBg:"#1890ff",menuDarkItemActiveDangerBg:"#ff4d4f",menuDarkSelectedItemIconColor:"#fff",menuDarkSelectedItemTextColor:"#fff",menuDarkItemHoverBg:"transparent",spinDotSizeSm:"14px",spinDotSize:"20px",spinDotSizeLg:"32px",tableBg:"#fff",tableHeaderBg:"#fafafa",tableHeaderColor:"rgba(0, 0, 0, 0.85)",tableHeaderSortBg:"#f5f5f5",tableBodySortBg:"#fafafa",tableRowHoverBg:"#fafafa",tableSelectedRowColor:"inherit",tableSelectedRowBg:"#e6f7ff",tableBodySelectedSortBg:"#e6f7ff",tableSelectedRowHoverBg:"#dcf4ff",tableExpandedRowBg:"#fbfbfb",tablePaddingVertical:"16px",tablePaddingHorizontal:"16px",tablePaddingVerticalMd:"12px",tablePaddingHorizontalMd:"8px",tablePaddingVerticalSm:"8px",tablePaddingHorizontalSm:"8px",tableBorderColor:"#f0f0f0",tableBorderRadiusBase:"2px",tableFooterBg:"#fafafa",tableFooterColor:"rgba(0, 0, 0, 0.85)",tableHeaderBgSm:"#fafafa",tableFontSize:"14px",tableFontSizeMd:"14px",tableFontSizeSm:"14px",tableHeaderCellSplitColor:"rgba(0, 0, 0, 0.06)",tableHeaderSortActiveBg:"rgba(0, 0, 0, 0.04)",tableFixedHeaderSortActiveBg:"#f5f5f5",tableHeaderFilterActiveBg:"rgba(0, 0, 0, 0.04)",tableFilterBtnsBg:"inherit",tableFilterDropdownBg:"#fff",tableExpandIconBg:"#fff",tableSelectionColumnWidth:"32px",tableStickyScrollBarBg:"rgba(0, 0, 0, 0.35)",tableStickyScrollBarRadius:"4px",tagDefaultBg:"#fafafa",tagDefaultColor:"rgba(0, 0, 0, 0.85)",tagFontSize:"12px",tagLineHeight:"20px",pickerBg:"#fff",pickerBasicCellHoverColor:"#f5f5f5",pickerBasicCellActiveWithRangeColor:"#e6f7ff",pickerBasicCellHoverWithRangeColor:"#cbe6ff",pickerBasicCellDisabledBg:"rgba(0, 0, 0, 0.04)",pickerBorderColor:"#f0f0f0",pickerDateHoverRangeBorderColor:"#7ec1ff",pickerDateHoverRangeColor:"#cbe6ff",pickerTimePanelColumnWidth:"56px",pickerTimePanelColumnHeight:"224px",pickerTimePanelCellHeight:"28px",pickerPanelCellHeight:"24px",pickerPanelCellWidth:"36px",pickerTextHeight:"40px",pickerPanelWithoutTimeCellHeight:"66px",calendarBg:"#fff",calendarInputBg:"#fff",calendarBorderColor:"#fff",calendarItemActiveBg:"#e6f7ff",calendarColumnActiveBg:"rgba(230, 247, 255, 0.2)",calendarFullBg:"#fff",calendarFullPanelBg:"#fff",carouselDotWidth:"16px",carouselDotHeight:"3px",carouselDotActiveWidth:"24px",badgeHeight:"20px",badgeHeightSm:"14px",badgeDotSize:"6px",badgeFontSize:"12px",badgeFontSizeSm:"12px",badgeFontWeight:"normal",badgeStatusSize:"6px",badgeTextColor:"#fff",badgeColor:"#ff4d4f",rateStarColor:"#fadb14",rateStarBg:"#f0f0f0",rateStarSize:"20px",rateStarHoverScale:"scale(1.1)",cardHeadColor:"rgba(0, 0, 0, 0.85)",cardHeadBackground:"transparent",cardHeadFontSize:"16px",cardHeadFontSizeSm:"14px",cardHeadPadding:"16px",cardHeadPaddingSm:"8px",cardHeadHeight:"48px",cardHeadHeightSm:"36px",cardInnerHeadPadding:"12px",cardPaddingBase:"24px",cardPaddingBaseSm:"12px",cardActionsBackground:"#fff",cardActionsLiMargin:"12px 0",cardSkeletonBg:"#cfd8dc",cardBackground:"#fff",cardShadow:"0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09)",cardRadius:"2px",cardHeadTabsMarginBottom:"-17px",cardHeadExtraColor:"rgba(0, 0, 0, 0.85)",commentBg:"inherit",commentPaddingBase:"16px 0",commentNestIndent:"44px",commentFontSizeBase:"14px",commentFontSizeSm:"12px",commentAuthorNameColor:"rgba(0, 0, 0, 0.45)",commentAuthorTimeColor:"#ccc",commentActionColor:"rgba(0, 0, 0, 0.45)",commentActionHoverColor:"#595959",commentActionsMarginBottom:"inherit",commentActionsMarginTop:"12px",commentContentDetailPMarginBottom:"inherit",tabsCardHeadBackground:"#fafafa",tabsCardHeight:"40px",tabsCardActiveColor:"#1890ff",tabsCardHorizontalPadding:"8px 16px",tabsCardHorizontalPaddingSm:"6px 16px",tabsCardHorizontalPaddingLg:"7px 16px 6px",tabsTitleFontSize:"14px",tabsTitleFontSizeLg:"16px",tabsTitleFontSizeSm:"14px",tabsInkBarColor:"#1890ff",tabsBarMargin:"0 0 16px 0",tabsHorizontalGutter:"32px",tabsHorizontalMargin:"0 0 0 32px",tabsHorizontalMarginRtl:"0 0 0 32px",tabsHorizontalPadding:"12px 0",tabsHorizontalPaddingLg:"16px 0",tabsHorizontalPaddingSm:"8px 0",tabsVerticalPadding:"8px 24px",tabsVerticalMargin:"16px 0 0 0",tabsScrollingSize:"32px",tabsHighlightColor:"#1890ff",tabsHoverColor:"#40a9ff",tabsActiveColor:"#096dd9",tabsCardGutter:"2px",tabsCardTabActiveBorderTop:"2px solid transparent",backTopColor:"#fff",backTopBg:"rgba(0, 0, 0, 0.45)",backTopHoverBg:"rgba(0, 0, 0, 0.85)",avatarSizeBase:"32px",avatarSizeLg:"40px",avatarSizeSm:"24px",avatarFontSizeBase:"18px",avatarFontSizeLg:"24px",avatarFontSizeSm:"14px",avatarBg:"#ccc",avatarColor:"#fff",avatarBorderRadius:"2px",avatarGroupOverlapping:"-8px",avatarGroupSpace:"3px",avatarGroupBorderColor:"#fff",switchHeight:"22px",switchSmHeight:"16px",switchMinWidth:"44px",switchSmMinWidth:"28px",switchDisabledOpacity:"0.4",switchColor:"#1890ff",switchBg:"#fff",switchShadowColor:"rgba(0, 35, 11, 0.2)",switchPadding:"2px",switchInnerMarginMin:"7px",switchInnerMarginMax:"25px",switchSmInnerMarginMin:"5px",switchSmInnerMarginMax:"18px",paginationItemBg:"#fff",paginationItemSize:"32px",paginationItemSizeSm:"24px",paginationFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",paginationFontWeightActive:"500",paginationItemBgActive:"#fff",paginationItemLinkBg:"#fff",paginationItemDisabledColorActive:"rgba(0, 0, 0, 0.25)",paginationItemDisabledBgActive:"#e6e6e6",paginationItemInputBg:"#fff",paginationMiniOptionsSizeChangerTop:"0px",pageHeaderPadding:"24px",pageHeaderPaddingVertical:"16px",pageHeaderPaddingBreadcrumb:"12px",pageHeaderContentPaddingVertical:"12px",pageHeaderBackColor:"#000",pageHeaderGhostBg:"inherit",pageHeaderHeadingTitle:"20px",pageHeaderHeadingSubTitle:"14px",pageHeaderTabsTabFontSize:"16px",breadcrumbBaseColor:"rgba(0, 0, 0, 0.45)",breadcrumbLastItemColor:"rgba(0, 0, 0, 0.85)",breadcrumbFontSize:"14px",breadcrumbIconFontSize:"14px",breadcrumbLinkColor:"rgba(0, 0, 0, 0.45)",breadcrumbLinkColorHover:"#40a9ff",breadcrumbSeparatorColor:"rgba(0, 0, 0, 0.45)",breadcrumbSeparatorMargin:"0 8px",sliderMargin:"10px 6px 10px",sliderRailBackgroundColor:"#f5f5f5",sliderRailBackgroundColorHover:"#e1e1e1",sliderTrackBackgroundColor:"#91d5ff",sliderTrackBackgroundColorHover:"#69c0ff",sliderHandleBorderWidth:"2px",sliderHandleBackgroundColor:"#fff",sliderHandleColor:"#91d5ff",sliderHandleColorHover:"#69c0ff",sliderHandleColorFocus:"#46a6ff",sliderHandleColorFocusShadow:"rgba(24, 144, 255, 0.12)",sliderHandleColorTooltipOpen:"#1890ff",sliderHandleSize:"14px",sliderHandleMarginTop:"-5px",sliderHandleShadow:"0",sliderDotBorderColor:"#f0f0f0",sliderDotBorderColorActive:"#8cc8ff",sliderDisabledColor:"rgba(0, 0, 0, 0.25)",sliderDisabledBackgroundColor:"#fff",treeBg:"#fff",treeTitleHeight:"24px",treeChildPadding:"18px",treeDirectorySelectedColor:"#fff",treeDirectorySelectedBg:"#1890ff",treeNodeHoverBg:"#f5f5f5",treeNodeSelectedBg:"#bae7ff",collapseHeaderPadding:"12px 16px",collapseHeaderPaddingExtra:"40px",collapseHeaderBg:"#fafafa",collapseContentPadding:"16px",collapseContentBg:"#fff",collapseHeaderArrowLeft:"16px",skeletonColor:"rgba(190, 190, 190, 0.2)",skeletonToColor:"rgba(129, 129, 129, 0.24)",skeletonParagraphMarginTop:"28px",skeletonParagraphLiMarginTop:"16px",skeletonParagraphLiHeight:"16px",skeletonTitleHeight:"16px",skeletonTitleParagraphMarginTop:"24px",transferHeaderHeight:"40px",transferItemHeight:"32px",transferDisabledBg:"#f5f5f5",transferListHeight:"200px",transferItemHoverBg:"#f5f5f5",transferItemSelectedHoverBg:"#dcf4ff",transferItemPaddingVertical:"6px",transferListSearchIconTop:"12px",messageNoticeContentPadding:"10px 16px",messageNoticeContentBg:"#fff",waveAnimationWidth:"6px",alertSuccessBorderColor:"#b7eb8f",alertSuccessBgColor:"#f6ffed",alertSuccessIconColor:"#52c41a",alertInfoBorderColor:"#91d5ff",alertInfoBgColor:"#e6f7ff",alertInfoIconColor:"#1890ff",alertWarningBorderColor:"#ffe58f",alertWarningBgColor:"#fffbe6",alertWarningIconColor:"#faad14",alertErrorBorderColor:"#ffccc7",alertErrorBgColor:"#fff2f0",alertErrorIconColor:"#ff4d4f",alertMessageColor:"rgba(0, 0, 0, 0.85)",alertTextColor:"rgba(0, 0, 0, 0.85)",alertCloseColor:"rgba(0, 0, 0, 0.45)",alertCloseHoverColor:"rgba(0, 0, 0, 0.75)",alertNoIconPaddingVertical:"8px",alertWithDescriptionNoIconPaddingVertical:"15px",alertWithDescriptionPaddingVertical:"15px",alertWithDescriptionPadding:"15px 15px 15px 24px",alertIconTop:"12.0005px",alertWithDescriptionIconSize:"24px",listHeaderBackground:"transparent",listFooterBackground:"transparent",listEmptyTextPadding:"16px",listItemPadding:"12px 0",listItemPaddingSm:"8px 16px",listItemPaddingLg:"16px 24px",listItemMetaMarginBottom:"16px",listItemMetaAvatarMarginRight:"16px",listItemMetaTitleMarginBottom:"12px",listCustomizeCardBg:"#fff",listItemMetaDescriptionFontSize:"14px",statisticTitleFontSize:"14px",statisticContentFontSize:"24px",statisticUnitFontSize:"24px",statisticFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",drawerHeaderPadding:"16px 24px",drawerBodyPadding:"24px",drawerBg:"#fff",drawerFooterPaddingVertical:"10px",drawerFooterPaddingHorizontal:"16px",drawerHeaderCloseSize:"56px",drawerTitleFontSize:"16px",drawerTitleLineHeight:"22px",timelineWidth:"2px",timelineColor:"#f0f0f0",timelineDotBorderWidth:"2px",timelineDotColor:"#1890ff",timelineDotBg:"#fff",timelineItemPaddingBottom:"20px",typographyTitleFontWeight:"600",typographyTitleMarginTop:"1.2em",typographyTitleMarginBottom:"0.5em",uploadActionsColor:"rgba(0, 0, 0, 0.45)",processTailColor:"#f0f0f0",stepsNavArrowColor:"rgba(0, 0, 0, 0.25)",stepsBackground:"#fff",stepsIconSize:"32px",stepsIconCustomSize:"32px",stepsIconCustomTop:"0px",stepsIconCustomFontSize:"24px",stepsIconTop:"-0.5px",stepsIconFontSize:"16px",stepsIconMargin:"0 8px 0 0",stepsTitleLineHeight:"32px",stepsSmallIconSize:"24px",stepsSmallIconMargin:"0 8px 0 0",stepsDotSize:"8px",stepsDotTop:"2px",stepsCurrentDotSize:"10px",stepsDescriptionMaxWidth:"140px",stepsNavContentMaxWidth:"auto",stepsVerticalIconWidth:"16px",stepsVerticalTailWidth:"16px",stepsVerticalTailWidthSm:"12px",notificationBg:"#fff",notificationPaddingVertical:"16px",notificationPaddingHorizontal:"24px",resultTitleFontSize:"24px",resultSubtitleFontSize:"14px",resultIconFontSize:"72px",resultExtraMargin:"24px 0 0 0",imageSizeBase:"48px",imageFontSizeBase:"24px",imageBg:"#f5f5f5",imageColor:"#fff",imageMaskFontSize:"16px",imagePreviewOperationSize:"18px",imagePreviewOperationColor:"rgba(255, 255, 255, 0.85)",imagePreviewOperationDisabledColor:"rgba(255, 255, 255, 0.25)"};const ThemeContext=React.createContext({theme:defaultTheme,toggleTheme:a=>{}});const useTheme=()=>{return React.useContext(ThemeContext)};const ThemeProvider=({children:a})=>{const[b,d]=React.useState(defaultTheme);const e=b=>{const a={...defaultTheme,...b};antd.ConfigProvider.config({theme:a});d(a)};const c=React.useMemo(()=>{return{theme:b,toggleTheme:e}},[b]);return jsxRuntime.jsx(antd.ConfigProvider,{prefixCls:PREFIX_COMPONENT_CLASSNAME,iconPrefixCls:PREFIX_ICON_CLASSNAME,children:jsxRuntime.jsx(ThemeContext.Provider,{value:c,children:a})})};const OTPInput=React__default["default"].forwardRef((c,d)=>{const{numInputs:e=4,value:f,onChange:g,errorMessage:a,...h}=c;const{theme:b}=useTheme();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{}),jsxRuntime.jsx(OtpInput__default["default"],{ref:d,...h,numInputs:e,value:f,onChange:g,inputStyle:{width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${b.borderWidthBase} solid ${b.borderColorBase}`}}),!!a&&jsxRuntime.jsx(Typography,{type:"danger",children:a})]})});exports.Button=Button;exports.Card=Card;exports.Content=Content;exports.Footer=Footer;exports.Form=Form;exports.Header=Header;exports.Input=Input;exports.Layout=Layout;exports.OTPInput=OTPInput;exports.Page=Page;exports.Sider=Sider;exports.ThemeProvider=ThemeProvider;exports.Typography=Typography;exports.defaultTheme=defaultTheme;exports.useTheme=useTheme
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});var jsxRuntime=require("react/jsx-runtime");var React=require("react");var antd=require("antd");var AntLayout=require("antd/lib/layout/layout");var antdIcons=require("react-icons/ai");var bootstrapIcons=require("react-icons/bs");var fontAwesomeIcons=require("react-icons/fa");var featureIcons=require("react-icons/fi");var materialIcons=require("react-icons/md");var AntSider=require("antd/lib/layout/Sider");var OtpInput=require("react-otp-input");function _interopDefaultLegacy(a){return a&& typeof a==="object"&&"default"in a?a:{"default":a}}function _interopNamespace(a){if(a&&a.__esModule)return a;var b=Object.create(null);if(a){Object.keys(a).forEach(function(c){if(c!=="default"){var d=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(b,c,d.get?d:{enumerable:true,get:function(){return a[c]}})}})}b["default"]=a;return Object.freeze(b)}var React__default=_interopDefaultLegacy(React);var AntLayout__default=_interopDefaultLegacy(AntLayout);var antdIcons__namespace=_interopNamespace(antdIcons);var bootstrapIcons__namespace=_interopNamespace(bootstrapIcons);var fontAwesomeIcons__namespace=_interopNamespace(fontAwesomeIcons);var featureIcons__namespace=_interopNamespace(featureIcons);var materialIcons__namespace=_interopNamespace(materialIcons);var AntSider__default=_interopDefaultLegacy(AntSider);var OtpInput__default=_interopDefaultLegacy(OtpInput);const Box=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(antd.Card,{...d,ref:b,children:c})});const Button=React__default["default"].forwardRef((a,b)=>{const{type:c="primary",...d}=a;return jsxRuntime.jsx(antd.Button,{type:c,...d,ref:b})});const Col=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(antd.Col,{...d,ref:b,children:c})});const Content=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(AntLayout.Content,{...d,prefixCls:"jitera-layout-content",ref:b,children:c})});const Footer=React__default["default"].forwardRef((a,b)=>{const{children:c,style:d,...e}=a;return jsxRuntime.jsx(AntLayout.Footer,{...e,prefixCls:"jitera-layout-footer",style:{width:"100%",...d},ref:b,children:c})});const FormComponent=React__default["default"].forwardRef((a,b)=>{const{children:c,formRef:d,style:e,formStyle:f,...g}=a;return jsxRuntime.jsx("div",{ref:b,style:{...e,height:"100%"},children:jsxRuntime.jsx(antd.Form,{...g,style:f,ref:d,children:c})})});const Form=FormComponent;Form.ErrorList=antd.Form.ErrorList;Form.useForm=antd.Form.useForm;Form.Item=antd.Form.Item;Form.List=antd.Form.List;Form.Provider=antd.Form.Provider;Form.create=antd.Form.create;const Header=React__default["default"].forwardRef((a,b)=>{const{children:c,style:d,...e}=a;return jsxRuntime.jsx(AntLayout.Header,{...e,prefixCls:"jitera-layout-header",style:{width:"100%",...d},ref:b,children:c})});exports.IconSet=void 0;(function(a){a["All"]="all";a["Antd"]="antd";a["Bootstrap"]="bootstrap";a["Feather"]="feather";a["FontAwesome"]="font-awesome";a["Material"]="material"})(exports.IconSet||(exports.IconSet={}));function getIconComponent(a,b={}){return React__default["default"].createElement(a in antdIcons__namespace?antdIcons__namespace[a]:a in bootstrapIcons__namespace?bootstrapIcons__namespace[a]:a in featureIcons__namespace?featureIcons__namespace[a]:a in fontAwesomeIcons__namespace?fontAwesomeIcons__namespace[a]:a in materialIcons__namespace?materialIcons__namespace[a]:"",b)}function assertUnreachable(a){throw new Error(`Should not reach with ${a}`)}function searchIcons(a,b){if(b){return[...Object.entries(antdIcons__namespace),...Object.entries(bootstrapIcons__namespace),...Object.entries(featureIcons__namespace),...Object.entries(fontAwesomeIcons__namespace),...Object.entries(materialIcons__namespace)].filter(a=>a[0].toLowerCase().includes(b.toLowerCase()))}switch(a){case exports.IconSet.Antd:return Object.entries(antdIcons__namespace);case exports.IconSet.Bootstrap:return Object.entries(bootstrapIcons__namespace);case exports.IconSet.Feather:return Object.entries(featureIcons__namespace);case exports.IconSet.FontAwesome:return Object.entries(fontAwesomeIcons__namespace);case exports.IconSet.Material:return Object.entries(materialIcons__namespace);case exports.IconSet.All:return[...Object.entries(antdIcons__namespace),...Object.entries(bootstrapIcons__namespace),...Object.entries(featureIcons__namespace),...Object.entries(fontAwesomeIcons__namespace),...Object.entries(materialIcons__namespace)];default:return assertUnreachable(a)}}const DEFAULT_ICON_SIZE=14;const DEFAULT_ICON_COLOR="#000";const Icon=React__default["default"].forwardRef((a,d)=>{var b,c;return jsxRuntime.jsx("span",{ref:d,style:{display:"inline-block",...a.style},children:getIconComponent(a.iconName,{color:(b=a.color)!==null&&b!==void 0?b:DEFAULT_ICON_COLOR,size:(c=a.size)!==null&&c!==void 0?c:DEFAULT_ICON_SIZE})})});const Input=React__default["default"].forwardRef((c,a)=>{const{formItem:d,formItemProps:e={},...b}=c;return d?jsxRuntime.jsx(Form.Item,{...e,children:jsxRuntime.jsx(antd.Input,{...b,ref:a})}):jsxRuntime.jsx(antd.Input,{...b,ref:a})});const Layout=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(AntLayout__default["default"],{...d,prefixCls:"jitera-layout",ref:b,children:c})});const Page=React__default["default"].forwardRef(({isPreview:a,...b},c)=>{const{children:d,style:e,...f}=b;const g=a?"100%":"100vh";return jsxRuntime.jsx("div",{...f,style:{width:"100%",minHeight:g,backgroundColor:"#fff",...e},ref:c,children:d})});const Row=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(antd.Row,{...d,ref:b,children:c})});const Sider=React__default["default"].forwardRef((a,b)=>{const{children:c,...d}=a;return jsxRuntime.jsx(AntSider__default["default"],{...d,prefixCls:"jitera-layout-sider",ref:b,children:c})});exports.TextVariantType=void 0;(function(a){a["Title"]="Title";a["Link"]="Link";a["Text"]="Text";a["Paragraph"]="Paragraph"})(exports.TextVariantType||(exports.TextVariantType={}));const Text=React__default["default"].forwardRef((a,b)=>{const{variant:c=exports.TextVariantType.Text,...d}=a;const e=antd.Typography[c];return jsxRuntime.jsx(e,{...d,ref:b})});const PREFIX_COMPONENT_CLASSNAME="jitera";const PREFIX_ICON_CLASSNAME="jiteraicon";const defaultTheme={blueBase:"#1890ff",blue1:"#e6f7ff",blue2:"#bae7ff",blue3:"#91d5ff",blue4:"#69c0ff",blue5:"#40a9ff",blue6:"#1890ff",blue7:"#096dd9",blue8:"#0050b3",blue9:"#003a8c",blue10:"#002766",purpleBase:"#722ed1",purple1:"#f9f0ff",purple2:"#efdbff",purple3:"#d3adf7",purple4:"#b37feb",purple5:"#9254de",purple6:"#722ed1",purple7:"#531dab",purple8:"#391085",purple9:"#22075e",purple10:"#120338",cyanBase:"#13c2c2",cyan1:"#e6fffb",cyan2:"#b5f5ec",cyan3:"#87e8de",cyan4:"#5cdbd3",cyan5:"#36cfc9",cyan6:"#13c2c2",cyan7:"#08979c",cyan8:"#006d75",cyan9:"#00474f",cyan10:"#002329",greenBase:"#52c41a",green1:"#f6ffed",green2:"#d9f7be",green3:"#b7eb8f",green4:"#95de64",green5:"#73d13d",green6:"#52c41a",green7:"#389e0d",green8:"#237804",green9:"#135200",green10:"#092b00",magentaBase:"#eb2f96",magenta1:"#fff0f6",magenta2:"#ffd6e7",magenta3:"#ffadd2",magenta4:"#ff85c0",magenta5:"#f759ab",magenta6:"#eb2f96",magenta7:"#c41d7f",magenta8:"#9e1068",magenta9:"#780650",magenta10:"#520339",pinkBase:"#eb2f96",pink1:"#fff0f6",pink2:"#ffd6e7",pink3:"#ffadd2",pink4:"#ff85c0",pink5:"#f759ab",pink6:"#eb2f96",pink7:"#c41d7f",pink8:"#9e1068",pink9:"#780650",pink10:"#520339",redBase:"#f5222d",red1:"#fff1f0",red2:"#ffccc7",red3:"#ffa39e",red4:"#ff7875",red5:"#ff4d4f",red6:"#f5222d",red7:"#cf1322",red8:"#a8071a",red9:"#820014",red10:"#5c0011",orangeBase:"#fa8c16",orange1:"#fff7e6",orange2:"#ffe7ba",orange3:"#ffd591",orange4:"#ffc069",orange5:"#ffa940",orange6:"#fa8c16",orange7:"#d46b08",orange8:"#ad4e00",orange9:"#873800",orange10:"#612500",yellowBase:"#fadb14",yellow1:"#feffe6",yellow2:"#ffffb8",yellow3:"#fffb8f",yellow4:"#fff566",yellow5:"#ffec3d",yellow6:"#fadb14",yellow7:"#d4b106",yellow8:"#ad8b00",yellow9:"#876800",yellow10:"#614700",volcanoBase:"#fa541c",volcano1:"#fff2e8",volcano2:"#ffd8bf",volcano3:"#ffbb96",volcano4:"#ff9c6e",volcano5:"#ff7a45",volcano6:"#fa541c",volcano7:"#d4380d",volcano8:"#ad2102",volcano9:"#871400",volcano10:"#610b00",geekblueBase:"#2f54eb",geekblue1:"#f0f5ff",geekblue2:"#d6e4ff",geekblue3:"#adc6ff",geekblue4:"#85a5ff",geekblue5:"#597ef7",geekblue6:"#2f54eb",geekblue7:"#1d39c4",geekblue8:"#10239e",geekblue9:"#061178",geekblue10:"#030852",limeBase:"#a0d911",lime1:"#fcffe6",lime2:"#f4ffb8",lime3:"#eaff8f",lime4:"#d3f261",lime5:"#bae637",lime6:"#a0d911",lime7:"#7cb305",lime8:"#5b8c00",lime9:"#3f6600",lime10:"#254000",goldBase:"#faad14",gold1:"#fffbe6",gold2:"#fff1b8",gold3:"#ffe58f",gold4:"#ffd666",gold5:"#ffc53d",gold6:"#faad14",gold7:"#d48806",gold8:"#ad6800",gold9:"#874d00",gold10:"#613400",presetColors:"pink, magenta, red, volcano, orange, yellow, gold, cyan, lime, green, blue, geekblue, purple",theme:"default",antPrefix:"ant",htmlSelector:"html",primaryColor:"#1890ff",primaryColorHover:"#40a9ff",primaryColorActive:"#096dd9",primaryColorOutline:"rgba(24, 144, 255, 0.2)",processingColor:"#1890ff",infoColor:"#1890ff",infoColorDeprecatedBg:"#e6f7ff",infoColorDeprecatedBorder:"#91d5ff",successColor:"#52c41a",successColorHover:"#73d13d",successColorActive:"#389e0d",successColorOutline:"rgba(82, 196, 26, 0.2)",successColorDeprecatedBg:"#f6ffed",successColorDeprecatedBorder:"#b7eb8f",warningColor:"#faad14",warningColorHover:"#ffc53d",warningColorActive:"#d48806",warningColorOutline:"rgba(250, 173, 20, 0.2)",warningColorDeprecatedBg:"#fffbe6",warningColorDeprecatedBorder:"#ffe58f",errorColor:"#ff4d4f",errorColorHover:"#ff7875",errorColorActive:"#d9363e",errorColorOutline:"rgba(255, 77, 79, 0.2)",errorColorDeprecatedBg:"#fff2f0",errorColorDeprecatedBorder:"#ffccc7",highlightColor:"#ff4d4f",normalColor:"#d9d9d9",white:"#fff",black:"#000",primary1:"#e6f7ff",primary2:"#bae7ff",primary3:"#91d5ff",primary4:"#69c0ff",primary5:"#40a9ff",primary6:"#1890ff",primary7:"#096dd9",primary8:"#0050b3",primary9:"#003a8c",primary10:"#002766",bodyBackground:"#fff",componentBackground:"#fff",popoverBackground:"#fff",popoverCustomizeBorderColor:"#f0f0f0",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",codeFamily:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",textColor:"rgba(0, 0, 0, 0.85)",textColorSecondary:"rgba(0, 0, 0, 0.45)",textColorInverse:"#fff",iconColor:"inherit",iconColorHover:"rgba(0, 0, 0, 0.75)",headingColor:"rgba(0, 0, 0, 0.85)",textColorDark:"rgba(255, 255, 255, 0.85)",textColorSecondaryDark:"rgba(255, 255, 255, 0.65)",textSelectionBg:"#1890ff",fontVariantBase:"tabular-nums",fontFeatureSettingsBase:"'tnum'",fontSizeBase:"14px",fontSizeLg:"16px",fontSizeSm:"12px",heading1Size:"38px",heading2Size:"30px",heading3Size:"24px",heading4Size:"20px",heading5Size:"16px",lineHeightBase:"1.5715",borderRadiusBase:"2px",borderRadiusSm:"2px",paddingLg:"24px",paddingMd:"16px",paddingSm:"12px",paddingXs:"8px",paddingXss:"4px",controlPaddingHorizontal:"12px",controlPaddingHorizontalSm:"8px",marginLg:"24px",marginMd:"16px",marginSm:"12px",marginXs:"8px",marginXss:"4px",heightBase:"32px",heightLg:"40px",heightSm:"24px",itemActiveBg:"#e6f7ff",itemHoverBg:"#f5f5f5",iconfontCssPrefix:"anticon",linkColor:"#1890ff",linkHoverColor:"#40a9ff",linkActiveColor:"#096dd9",linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",linkFocusOutline:"0",easeBaseOut:"cubic-bezier(0.7, 0.3, 0.1, 1)",easeBaseIn:"cubic-bezier(0.9, 0, 0.3, 0.7)",easeOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",easeIn:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",easeInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",easeOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",easeInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",easeInOutBack:"cubic-bezier(0.71, -0.46, 0.29, 1.46)",easeOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",easeInCirc:"cubic-bezier(0.6, 0.04, 0.98, 0.34)",easeInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",easeOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",easeInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeInOutQuint:"cubic-bezier(0.86, 0, 0.07, 1)",borderColorBase:"#d9d9d9",borderColorSplit:"#f0f0f0",borderColorInverse:"#fff",borderWidthBase:"1px",borderStyleBase:"solid",outlineBlurSize:"0",outlineWidth:"2px",outlineColor:"#1890ff",outlineFade:"20%",backgroundColorLight:"#fafafa",backgroundColorBase:"#f5f5f5",disabledColor:"rgba(0, 0, 0, 0.25)",disabledBg:"#f5f5f5",disabledActiveBg:"#e6e6e6",disabledColorDark:"rgba(255, 255, 255, 0.35)",shadowColor:"rgba(0, 0, 0, 0.15)",shadowColorInverse:"#fff",boxShadowBase:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",shadow1Up:"0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Down:"0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03)",shadow1Left:"-6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow1Right:"6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03)",shadow2:"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)",btnFontWeight:"400",btnBorderRadiusBase:"2px",btnBorderRadiusSm:"2px",btnBorderWidth:"1px",btnBorderStyle:"solid",btnShadow:"0 2px 0 rgba(0, 0, 0, 0.015)",btnPrimaryShadow:"0 2px 0 rgba(0, 0, 0, 0.045)",btnTextShadow:"0 -1px 0 rgba(0, 0, 0, 0.12)",btnPrimaryColor:"#fff",btnPrimaryBg:"#1890ff",btnDefaultColor:"rgba(0, 0, 0, 0.85)",btnDefaultBg:"#fff",btnDefaultBorder:"#d9d9d9",btnDangerColor:"#fff",btnDangerBg:"#ff4d4f",btnDangerBorder:"#ff4d4f",btnDisableColor:"rgba(0, 0, 0, 0.25)",btnDisableBg:"#f5f5f5",btnDisableBorder:"#d9d9d9",btnDefaultGhostColor:"#fff",btnDefaultGhostBg:"transparent",btnDefaultGhostBorder:"#fff",btnFontSizeLg:"16px",btnFontSizeSm:"14px",btnPaddingHorizontalBase:"15px",btnPaddingHorizontalLg:"15px",btnPaddingHorizontalSm:"7px",btnHeightBase:"32px",btnHeightLg:"40px",btnHeightSm:"24px",btnLineHeight:"1.5715",btnCircleSize:"32px",btnCircleSizeLg:"40px",btnCircleSizeSm:"24px",btnSquareSize:"32px",btnSquareSizeLg:"40px",btnSquareSizeSm:"24px",btnSquareOnlyIconSize:"16px",btnSquareOnlyIconSizeSm:"14px",btnSquareOnlyIconSizeLg:"18px",btnGroupBorder:"#40a9ff",btnLinkHoverBg:"transparent",btnTextHoverBg:"rgba(0, 0, 0, 0.018)",checkboxSize:"16px",checkboxColor:"#1890ff",checkboxCheckColor:"#fff",checkboxCheckBg:"#fff",checkboxBorderWidth:"1px",checkboxBorderRadius:"2px",checkboxGroupItemMarginRight:"8px",descriptionsBg:"#fafafa",descriptionsTitleMarginBottom:"20px",descriptionsDefaultPadding:"16px 24px",descriptionsMiddlePadding:"12px 24px",descriptionsSmallPadding:"8px 16px",descriptionsItemPaddingBottom:"16px",descriptionsItemTrailingColon:"true",descriptionsItemLabelColonMarginRight:"8px",descriptionsItemLabelColonMarginLeft:"2px",descriptionsExtraColor:"rgba(0, 0, 0, 0.85)",dividerTextPadding:"1em",dividerOrientationMargin:"5%",dividerColor:"rgba(0, 0, 0, 0.06)",dividerVerticalGutter:"8px",dropdownSelectedColor:"#1890ff",dropdownMenuSubmenuDisabledBg:"#fff",dropdownSelectedBg:"#e6f7ff",emptyFontSize:"14px",radioSize:"16px",radioTop:"0.2em",radioBorderWidth:"1px",radioDotSize:"8px",radioDotColor:"#1890ff",radioDotDisabledColor:"rgba(0, 0, 0, 0.2)",radioSolidCheckedColor:"#fff",radioButtonBg:"#fff",radioButtonCheckedBg:"#fff",radioButtonColor:"rgba(0, 0, 0, 0.85)",radioButtonHoverColor:"#40a9ff",radioButtonActiveColor:"#096dd9",radioButtonPaddingHorizontal:"15px",radioDisabledButtonCheckedBg:"#e6e6e6",radioDisabledButtonCheckedColor:"rgba(0, 0, 0, 0.25)",radioWrapperMarginRight:"8px",screenXs:"480px",screenXsMin:"480px",screenSm:"576px",screenSmMin:"576px",screenMd:"768px",screenMdMin:"768px",screenLg:"992px",screenLgMin:"992px",screenXl:"1200px",screenXlMin:"1200px",screenXxl:"1600px",screenXxlMin:"1600px",screenXsMax:"575px",screenSmMax:"767px",screenMdMax:"991px",screenLgMax:"1199px",screenXlMax:"1599px",gridColumns:"24",layoutBodyBackground:"#f0f2f5",layoutHeaderBackground:"#001529",layoutHeaderHeight:"64px",layoutHeaderPadding:"0 50px",layoutHeaderColor:"rgba(0, 0, 0, 0.85)",layoutFooterPadding:"24px 50px",layoutFooterBackground:"#f0f2f5",layoutSiderBackground:"#001529",layoutTriggerHeight:"48px",layoutTriggerBackground:"#002140",layoutTriggerColor:"#fff",layoutZeroTriggerWidth:"36px",layoutZeroTriggerHeight:"42px",layoutSiderBackgroundLight:"#fff",layoutTriggerBackgroundLight:"#fff",layoutTriggerColorLight:"rgba(0, 0, 0, 0.85)",zindexBadge:"auto",zindexTableFixed:"2",zindexAffix:"10",zindexBackTop:"10",zindexPickerPanel:"10",zindexPopupClose:"10",zindexModal:"1000",zindexModalMask:"1000",zindexMessage:"1010",zindexNotification:"1010",zindexPopover:"1030",zindexDropdown:"1050",zindexPicker:"1050",zindexPopoconfirm:"1060",zindexTooltip:"1070",zindexImage:"1080",animationDurationSlow:"0.3s",animationDurationBase:"0.2s",animationDurationFast:"0.1s",collapsePanelBorderRadius:"2px",dropdownMenuBg:"#fff",dropdownVerticalPadding:"5px",dropdownEdgeChildVerticalPadding:"4px",dropdownFontSize:"14px",dropdownLineHeight:"22px",labelRequiredColor:"#ff4d4f",labelColor:"rgba(0, 0, 0, 0.85)",formWarningInputBg:"#fff",formItemMarginBottom:"24px",formItemTrailingColon:"true",formVerticalLabelPadding:"0 0 8px",formVerticalLabelMargin:"0",formItemLabelFontSize:"14px",formItemLabelHeight:"32px",formItemLabelColonMarginRight:"8px",formItemLabelColonMarginLeft:"2px",formErrorInputBg:"#fff",inputHeightBase:"32px",inputHeightLg:"40px",inputHeightSm:"24px",inputPaddingHorizontal:"11px",inputPaddingHorizontalBase:"11px",inputPaddingHorizontalSm:"7px",inputPaddingHorizontalLg:"11px",inputPaddingVerticalBase:"4px",inputPaddingVerticalSm:"0px",inputPaddingVerticalLg:"6.5px",inputPlaceholderColor:"#bfbfbf",inputColor:"rgba(0, 0, 0, 0.85)",inputIconColor:"rgba(0, 0, 0, 0.85)",inputBorderColor:"#d9d9d9",inputBg:"#fff",inputNumberHoverBorderColor:"#40a9ff",inputNumberHandlerActiveBg:"#f4f4f4",inputNumberHandlerHoverBg:"#40a9ff",inputNumberHandlerBg:"#fff",inputNumberHandlerBorderColor:"#d9d9d9",inputAddonBg:"#fafafa",inputHoverBorderColor:"#40a9ff",inputDisabledBg:"#f5f5f5",inputOutlineOffset:"0 0",inputIconHoverColor:"rgba(0, 0, 0, 0.85)",inputDisabledColor:"rgba(0, 0, 0, 0.25)",mentionsDropdownBg:"#fff",mentionsDropdownMenuItemHoverBg:"#fff",selectBorderColor:"#d9d9d9",selectItemSelectedColor:"rgba(0, 0, 0, 0.85)",selectItemSelectedFontWeight:"600",selectDropdownBg:"#fff",selectItemSelectedBg:"#e6f7ff",selectItemActiveBg:"#f5f5f5",selectDropdownVerticalPadding:"5px",selectDropdownFontSize:"14px",selectDropdownLineHeight:"22px",selectDropdownHeight:"32px",selectBackground:"#fff",selectClearBackground:"#fff",selectSelectionItemBg:"#f5f5f5",selectSelectionItemBorderColor:"#f0f0f0",selectSingleItemHeightLg:"40px",selectMultipleItemHeight:"24px",selectMultipleItemHeightLg:"32px",selectMultipleItemSpacingHalf:"2px",selectMultipleDisabledBackground:"#f5f5f5",selectMultipleItemDisabledColor:"#bfbfbf",selectMultipleItemDisabledBorderColor:"#d9d9d9",cascaderBg:"#fff",cascaderItemSelectedBg:"#e6f7ff",cascaderMenuBg:"#fff",cascaderMenuBorderColorSplit:"#f0f0f0",cascaderDropdownVerticalPadding:"5px",cascaderDropdownEdgeChildVerticalPadding:"4px",cascaderDropdownFontSize:"14px",cascaderDropdownLineHeight:"22px",anchorBg:"transparent",anchorBorderColor:"#f0f0f0",anchorLinkTop:"7px",anchorLinkLeft:"16px",anchorLinkPadding:"7px 0 7px 16px",tooltipMaxWidth:"250px",tooltipColor:"#fff",tooltipBg:"rgba(0, 0, 0, 0.75)",tooltipArrowWidth:"11.3137085px",tooltipDistance:"14.3137085px",tooltipArrowColor:"rgba(0, 0, 0, 0.75)",popoverBg:"#fff",popoverColor:"rgba(0, 0, 0, 0.85)",popoverMinWidth:"177px",popoverMinHeight:"32px",popoverArrowWidth:"11.3137085px",popoverArrowColor:"#fff",popoverArrowOuterColor:"#fff",popoverDistance:"15.3137085px",popoverPaddingHorizontal:"16px",modalHeaderPaddingVertical:"16px",modalHeaderPaddingHorizontal:"24px",modalBodyPadding:"24px",modalHeaderBg:"#fff",modalHeaderPadding:"16px 24px",modalHeaderBorderWidth:"1px",modalHeaderBorderStyle:"solid",modalHeaderTitleLineHeight:"22px",modalHeaderTitleFontSize:"16px",modalHeaderBorderColorSplit:"#f0f0f0",modalHeaderCloseSize:"56px",modalContentBg:"#fff",modalHeadingColor:"rgba(0, 0, 0, 0.85)",modalCloseColor:"rgba(0, 0, 0, 0.45)",modalFooterBg:"transparent",modalFooterBorderColorSplit:"#f0f0f0",modalFooterBorderStyle:"solid",modalFooterPaddingVertical:"10px",modalFooterPaddingHorizontal:"16px",modalFooterBorderWidth:"1px",modalMaskBg:"rgba(0, 0, 0, 0.45)",modalConfirmBodyPadding:"32px 32px 24px",modalConfirmTitleFontSize:"16px",progressDefaultColor:"#1890ff",progressRemainingColor:"#f5f5f5",progressInfoTextColor:"rgba(0, 0, 0, 0.85)",progressRadius:"100px",progressStepsItemBg:"#f3f3f3",progressTextFontSize:"1em",progressTextColor:"rgba(0, 0, 0, 0.85)",progressCircleTextFontSize:"1em",menuInlineToplevelItemHeight:"40px",menuItemHeight:"40px",menuItemGroupHeight:"1.5715",menuCollapsedWidth:"80px",menuBg:"#fff",menuPopupBg:"#fff",menuItemColor:"rgba(0, 0, 0, 0.85)",menuInlineSubmenuBg:"#fafafa",menuHighlightColor:"#1890ff",menuHighlightDangerColor:"#ff4d4f",menuItemActiveBg:"#e6f7ff",menuItemActiveDangerBg:"#fff1f0",menuItemActiveBorderWidth:"3px",menuItemGroupTitleColor:"rgba(0, 0, 0, 0.45)",menuItemVerticalMargin:"4px",menuItemFontSize:"14px",menuItemBoundaryMargin:"8px",menuItemPaddingHorizontal:"20px",menuItemPadding:"0 20px",menuHorizontalLineHeight:"46px",menuIconMarginRight:"10px",menuIconSize:"14px",menuIconSizeLg:"16px",menuItemGroupTitleFontSize:"14px",menuDarkColor:"rgba(255, 255, 255, 0.65)",menuDarkDangerColor:"#ff4d4f",menuDarkBg:"#001529",menuDarkArrowColor:"#fff",menuDarkInlineSubmenuBg:"#000c17",menuDarkHighlightColor:"#fff",menuDarkItemActiveBg:"#1890ff",menuDarkItemActiveDangerBg:"#ff4d4f",menuDarkSelectedItemIconColor:"#fff",menuDarkSelectedItemTextColor:"#fff",menuDarkItemHoverBg:"transparent",spinDotSizeSm:"14px",spinDotSize:"20px",spinDotSizeLg:"32px",tableBg:"#fff",tableHeaderBg:"#fafafa",tableHeaderColor:"rgba(0, 0, 0, 0.85)",tableHeaderSortBg:"#f5f5f5",tableBodySortBg:"#fafafa",tableRowHoverBg:"#fafafa",tableSelectedRowColor:"inherit",tableSelectedRowBg:"#e6f7ff",tableBodySelectedSortBg:"#e6f7ff",tableSelectedRowHoverBg:"#dcf4ff",tableExpandedRowBg:"#fbfbfb",tablePaddingVertical:"16px",tablePaddingHorizontal:"16px",tablePaddingVerticalMd:"12px",tablePaddingHorizontalMd:"8px",tablePaddingVerticalSm:"8px",tablePaddingHorizontalSm:"8px",tableBorderColor:"#f0f0f0",tableBorderRadiusBase:"2px",tableFooterBg:"#fafafa",tableFooterColor:"rgba(0, 0, 0, 0.85)",tableHeaderBgSm:"#fafafa",tableFontSize:"14px",tableFontSizeMd:"14px",tableFontSizeSm:"14px",tableHeaderCellSplitColor:"rgba(0, 0, 0, 0.06)",tableHeaderSortActiveBg:"rgba(0, 0, 0, 0.04)",tableFixedHeaderSortActiveBg:"#f5f5f5",tableHeaderFilterActiveBg:"rgba(0, 0, 0, 0.04)",tableFilterBtnsBg:"inherit",tableFilterDropdownBg:"#fff",tableExpandIconBg:"#fff",tableSelectionColumnWidth:"32px",tableStickyScrollBarBg:"rgba(0, 0, 0, 0.35)",tableStickyScrollBarRadius:"4px",tagDefaultBg:"#fafafa",tagDefaultColor:"rgba(0, 0, 0, 0.85)",tagFontSize:"12px",tagLineHeight:"20px",pickerBg:"#fff",pickerBasicCellHoverColor:"#f5f5f5",pickerBasicCellActiveWithRangeColor:"#e6f7ff",pickerBasicCellHoverWithRangeColor:"#cbe6ff",pickerBasicCellDisabledBg:"rgba(0, 0, 0, 0.04)",pickerBorderColor:"#f0f0f0",pickerDateHoverRangeBorderColor:"#7ec1ff",pickerDateHoverRangeColor:"#cbe6ff",pickerTimePanelColumnWidth:"56px",pickerTimePanelColumnHeight:"224px",pickerTimePanelCellHeight:"28px",pickerPanelCellHeight:"24px",pickerPanelCellWidth:"36px",pickerTextHeight:"40px",pickerPanelWithoutTimeCellHeight:"66px",calendarBg:"#fff",calendarInputBg:"#fff",calendarBorderColor:"#fff",calendarItemActiveBg:"#e6f7ff",calendarColumnActiveBg:"rgba(230, 247, 255, 0.2)",calendarFullBg:"#fff",calendarFullPanelBg:"#fff",carouselDotWidth:"16px",carouselDotHeight:"3px",carouselDotActiveWidth:"24px",badgeHeight:"20px",badgeHeightSm:"14px",badgeDotSize:"6px",badgeFontSize:"12px",badgeFontSizeSm:"12px",badgeFontWeight:"normal",badgeStatusSize:"6px",badgeTextColor:"#fff",badgeColor:"#ff4d4f",rateStarColor:"#fadb14",rateStarBg:"#f0f0f0",rateStarSize:"20px",rateStarHoverScale:"scale(1.1)",cardHeadColor:"rgba(0, 0, 0, 0.85)",cardHeadBackground:"transparent",cardHeadFontSize:"16px",cardHeadFontSizeSm:"14px",cardHeadPadding:"16px",cardHeadPaddingSm:"8px",cardHeadHeight:"48px",cardHeadHeightSm:"36px",cardInnerHeadPadding:"12px",cardPaddingBase:"24px",cardPaddingBaseSm:"12px",cardActionsBackground:"#fff",cardActionsLiMargin:"12px 0",cardSkeletonBg:"#cfd8dc",cardBackground:"#fff",cardShadow:"0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09)",cardRadius:"2px",cardHeadTabsMarginBottom:"-17px",cardHeadExtraColor:"rgba(0, 0, 0, 0.85)",commentBg:"inherit",commentPaddingBase:"16px 0",commentNestIndent:"44px",commentFontSizeBase:"14px",commentFontSizeSm:"12px",commentAuthorNameColor:"rgba(0, 0, 0, 0.45)",commentAuthorTimeColor:"#ccc",commentActionColor:"rgba(0, 0, 0, 0.45)",commentActionHoverColor:"#595959",commentActionsMarginBottom:"inherit",commentActionsMarginTop:"12px",commentContentDetailPMarginBottom:"inherit",tabsCardHeadBackground:"#fafafa",tabsCardHeight:"40px",tabsCardActiveColor:"#1890ff",tabsCardHorizontalPadding:"8px 16px",tabsCardHorizontalPaddingSm:"6px 16px",tabsCardHorizontalPaddingLg:"7px 16px 6px",tabsTitleFontSize:"14px",tabsTitleFontSizeLg:"16px",tabsTitleFontSizeSm:"14px",tabsInkBarColor:"#1890ff",tabsBarMargin:"0 0 16px 0",tabsHorizontalGutter:"32px",tabsHorizontalMargin:"0 0 0 32px",tabsHorizontalMarginRtl:"0 0 0 32px",tabsHorizontalPadding:"12px 0",tabsHorizontalPaddingLg:"16px 0",tabsHorizontalPaddingSm:"8px 0",tabsVerticalPadding:"8px 24px",tabsVerticalMargin:"16px 0 0 0",tabsScrollingSize:"32px",tabsHighlightColor:"#1890ff",tabsHoverColor:"#40a9ff",tabsActiveColor:"#096dd9",tabsCardGutter:"2px",tabsCardTabActiveBorderTop:"2px solid transparent",backTopColor:"#fff",backTopBg:"rgba(0, 0, 0, 0.45)",backTopHoverBg:"rgba(0, 0, 0, 0.85)",avatarSizeBase:"32px",avatarSizeLg:"40px",avatarSizeSm:"24px",avatarFontSizeBase:"18px",avatarFontSizeLg:"24px",avatarFontSizeSm:"14px",avatarBg:"#ccc",avatarColor:"#fff",avatarBorderRadius:"2px",avatarGroupOverlapping:"-8px",avatarGroupSpace:"3px",avatarGroupBorderColor:"#fff",switchHeight:"22px",switchSmHeight:"16px",switchMinWidth:"44px",switchSmMinWidth:"28px",switchDisabledOpacity:"0.4",switchColor:"#1890ff",switchBg:"#fff",switchShadowColor:"rgba(0, 35, 11, 0.2)",switchPadding:"2px",switchInnerMarginMin:"7px",switchInnerMarginMax:"25px",switchSmInnerMarginMin:"5px",switchSmInnerMarginMax:"18px",paginationItemBg:"#fff",paginationItemSize:"32px",paginationItemSizeSm:"24px",paginationFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",paginationFontWeightActive:"500",paginationItemBgActive:"#fff",paginationItemLinkBg:"#fff",paginationItemDisabledColorActive:"rgba(0, 0, 0, 0.25)",paginationItemDisabledBgActive:"#e6e6e6",paginationItemInputBg:"#fff",paginationMiniOptionsSizeChangerTop:"0px",pageHeaderPadding:"24px",pageHeaderPaddingVertical:"16px",pageHeaderPaddingBreadcrumb:"12px",pageHeaderContentPaddingVertical:"12px",pageHeaderBackColor:"#000",pageHeaderGhostBg:"inherit",pageHeaderHeadingTitle:"20px",pageHeaderHeadingSubTitle:"14px",pageHeaderTabsTabFontSize:"16px",breadcrumbBaseColor:"rgba(0, 0, 0, 0.45)",breadcrumbLastItemColor:"rgba(0, 0, 0, 0.85)",breadcrumbFontSize:"14px",breadcrumbIconFontSize:"14px",breadcrumbLinkColor:"rgba(0, 0, 0, 0.45)",breadcrumbLinkColorHover:"#40a9ff",breadcrumbSeparatorColor:"rgba(0, 0, 0, 0.45)",breadcrumbSeparatorMargin:"0 8px",sliderMargin:"10px 6px 10px",sliderRailBackgroundColor:"#f5f5f5",sliderRailBackgroundColorHover:"#e1e1e1",sliderTrackBackgroundColor:"#91d5ff",sliderTrackBackgroundColorHover:"#69c0ff",sliderHandleBorderWidth:"2px",sliderHandleBackgroundColor:"#fff",sliderHandleColor:"#91d5ff",sliderHandleColorHover:"#69c0ff",sliderHandleColorFocus:"#46a6ff",sliderHandleColorFocusShadow:"rgba(24, 144, 255, 0.12)",sliderHandleColorTooltipOpen:"#1890ff",sliderHandleSize:"14px",sliderHandleMarginTop:"-5px",sliderHandleShadow:"0",sliderDotBorderColor:"#f0f0f0",sliderDotBorderColorActive:"#8cc8ff",sliderDisabledColor:"rgba(0, 0, 0, 0.25)",sliderDisabledBackgroundColor:"#fff",treeBg:"#fff",treeTitleHeight:"24px",treeChildPadding:"18px",treeDirectorySelectedColor:"#fff",treeDirectorySelectedBg:"#1890ff",treeNodeHoverBg:"#f5f5f5",treeNodeSelectedBg:"#bae7ff",collapseHeaderPadding:"12px 16px",collapseHeaderPaddingExtra:"40px",collapseHeaderBg:"#fafafa",collapseContentPadding:"16px",collapseContentBg:"#fff",collapseHeaderArrowLeft:"16px",skeletonColor:"rgba(190, 190, 190, 0.2)",skeletonToColor:"rgba(129, 129, 129, 0.24)",skeletonParagraphMarginTop:"28px",skeletonParagraphLiMarginTop:"16px",skeletonParagraphLiHeight:"16px",skeletonTitleHeight:"16px",skeletonTitleParagraphMarginTop:"24px",transferHeaderHeight:"40px",transferItemHeight:"32px",transferDisabledBg:"#f5f5f5",transferListHeight:"200px",transferItemHoverBg:"#f5f5f5",transferItemSelectedHoverBg:"#dcf4ff",transferItemPaddingVertical:"6px",transferListSearchIconTop:"12px",messageNoticeContentPadding:"10px 16px",messageNoticeContentBg:"#fff",waveAnimationWidth:"6px",alertSuccessBorderColor:"#b7eb8f",alertSuccessBgColor:"#f6ffed",alertSuccessIconColor:"#52c41a",alertInfoBorderColor:"#91d5ff",alertInfoBgColor:"#e6f7ff",alertInfoIconColor:"#1890ff",alertWarningBorderColor:"#ffe58f",alertWarningBgColor:"#fffbe6",alertWarningIconColor:"#faad14",alertErrorBorderColor:"#ffccc7",alertErrorBgColor:"#fff2f0",alertErrorIconColor:"#ff4d4f",alertMessageColor:"rgba(0, 0, 0, 0.85)",alertTextColor:"rgba(0, 0, 0, 0.85)",alertCloseColor:"rgba(0, 0, 0, 0.45)",alertCloseHoverColor:"rgba(0, 0, 0, 0.75)",alertNoIconPaddingVertical:"8px",alertWithDescriptionNoIconPaddingVertical:"15px",alertWithDescriptionPaddingVertical:"15px",alertWithDescriptionPadding:"15px 15px 15px 24px",alertIconTop:"12.0005px",alertWithDescriptionIconSize:"24px",listHeaderBackground:"transparent",listFooterBackground:"transparent",listEmptyTextPadding:"16px",listItemPadding:"12px 0",listItemPaddingSm:"8px 16px",listItemPaddingLg:"16px 24px",listItemMetaMarginBottom:"16px",listItemMetaAvatarMarginRight:"16px",listItemMetaTitleMarginBottom:"12px",listCustomizeCardBg:"#fff",listItemMetaDescriptionFontSize:"14px",statisticTitleFontSize:"14px",statisticContentFontSize:"24px",statisticUnitFontSize:"24px",statisticFontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",drawerHeaderPadding:"16px 24px",drawerBodyPadding:"24px",drawerBg:"#fff",drawerFooterPaddingVertical:"10px",drawerFooterPaddingHorizontal:"16px",drawerHeaderCloseSize:"56px",drawerTitleFontSize:"16px",drawerTitleLineHeight:"22px",timelineWidth:"2px",timelineColor:"#f0f0f0",timelineDotBorderWidth:"2px",timelineDotColor:"#1890ff",timelineDotBg:"#fff",timelineItemPaddingBottom:"20px",typographyTitleFontWeight:"600",typographyTitleMarginTop:"1.2em",typographyTitleMarginBottom:"0.5em",uploadActionsColor:"rgba(0, 0, 0, 0.45)",processTailColor:"#f0f0f0",stepsNavArrowColor:"rgba(0, 0, 0, 0.25)",stepsBackground:"#fff",stepsIconSize:"32px",stepsIconCustomSize:"32px",stepsIconCustomTop:"0px",stepsIconCustomFontSize:"24px",stepsIconTop:"-0.5px",stepsIconFontSize:"16px",stepsIconMargin:"0 8px 0 0",stepsTitleLineHeight:"32px",stepsSmallIconSize:"24px",stepsSmallIconMargin:"0 8px 0 0",stepsDotSize:"8px",stepsDotTop:"2px",stepsCurrentDotSize:"10px",stepsDescriptionMaxWidth:"140px",stepsNavContentMaxWidth:"auto",stepsVerticalIconWidth:"16px",stepsVerticalTailWidth:"16px",stepsVerticalTailWidthSm:"12px",notificationBg:"#fff",notificationPaddingVertical:"16px",notificationPaddingHorizontal:"24px",resultTitleFontSize:"24px",resultSubtitleFontSize:"14px",resultIconFontSize:"72px",resultExtraMargin:"24px 0 0 0",imageSizeBase:"48px",imageFontSizeBase:"24px",imageBg:"#f5f5f5",imageColor:"#fff",imageMaskFontSize:"16px",imagePreviewOperationSize:"18px",imagePreviewOperationColor:"rgba(255, 255, 255, 0.85)",imagePreviewOperationDisabledColor:"rgba(255, 255, 255, 0.25)"};const ThemeContext=React.createContext({theme:defaultTheme,toggleTheme:a=>{}});const useTheme=()=>{return React.useContext(ThemeContext)};const ThemeProvider=({children:a})=>{const[b,d]=React.useState(defaultTheme);const e=b=>{const a={...defaultTheme,...b};antd.ConfigProvider.config({theme:a});d(a)};const c=React.useMemo(()=>{return{theme:b,toggleTheme:e}},[b]);return jsxRuntime.jsx(antd.ConfigProvider,{prefixCls:PREFIX_COMPONENT_CLASSNAME,iconPrefixCls:PREFIX_ICON_CLASSNAME,children:jsxRuntime.jsx(ThemeContext.Provider,{value:c,children:a})})};const OTPInput=React__default["default"].forwardRef((c,d)=>{const{numInputs:e=4,value:f,onChange:g,errorMessage:a,...h}=c;const{theme:b}=useTheme();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{}),jsxRuntime.jsx(OtpInput__default["default"],{ref:d,...h,numInputs:e,value:f,onChange:g,inputStyle:{width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${b.borderWidthBase} solid ${b.borderColorBase}`}}),!!a&&jsxRuntime.jsx(Text,{type:"danger",children:a})]})});exports.Box=Box;exports.Button=Button;exports.Col=Col;exports.Content=Content;exports.DEFAULT_ICON_COLOR=DEFAULT_ICON_COLOR;exports.DEFAULT_ICON_SIZE=DEFAULT_ICON_SIZE;exports.Footer=Footer;exports.Form=Form;exports.Header=Header;exports.Icon=Icon;exports.Input=Input;exports.Layout=Layout;exports.OTPInput=OTPInput;exports.Page=Page;exports.Row=Row;exports.Sider=Sider;exports.Text=Text;exports.ThemeProvider=ThemeProvider;exports.assertUnreachable=assertUnreachable;exports.defaultTheme=defaultTheme;exports.getIconComponent=getIconComponent;exports.searchIcons=searchIcons;exports.useTheme=useTheme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jitera/jitera-web-ui-library",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "atoms and component for web project",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -12,14 +12,15 @@
12
12
  "dist"
13
13
  ],
14
14
  "dependencies": {
15
- "antd": "4.19.5",
15
+ "antd": "MQuy/ant-design.git",
16
16
  "rc-util": "~5.19.3",
17
+ "react-icons": "~4.3.1",
17
18
  "react-otp-input": "~2.4.0",
18
19
  "styled-components": "~5.3.5"
19
20
  },
20
21
  "devDependencies": {
21
- "@commitlint/cli": "^16.2.3",
22
- "@commitlint/config-conventional": "^16.2.1",
22
+ "@commitlint/cli": "~16.2.3",
23
+ "@commitlint/config-conventional": "~16.2.1",
23
24
  "@storybook/addon-essentials": "~6.4.19",
24
25
  "@storybook/addon-interactions": "~6.4.19",
25
26
  "@storybook/addon-links": "~6.4.19",
@@ -34,10 +35,10 @@
34
35
  "@testing-library/react": "~12.0.0",
35
36
  "@testing-library/user-event": "~13.2.1",
36
37
  "@types/jest": "~27.0.1",
37
- "@types/node": "^17.0.23",
38
+ "@types/node": "~17.0.23",
38
39
  "@types/react": "~17.0.20",
39
40
  "@types/react-dom": "~17.0.9",
40
- "@types/styled-components": "^5.1.24",
41
+ "@types/styled-components": "~5.1.24",
41
42
  "@typescript-eslint/eslint-plugin": "~5.14.0",
42
43
  "@typescript-eslint/parser": "~5.14.0",
43
44
  "babel-plugin-styled-components": "~2.0.6",
@@ -56,9 +57,9 @@
56
57
  "eslint-plugin-storybook": "~0.5.7",
57
58
  "eslint-plugin-unicorn": "~42.0.0",
58
59
  "gulp": "~4.0.2",
59
- "gulp-clean-css": "^4.3.0",
60
+ "gulp-clean-css": "~4.3.0",
60
61
  "gulp-less": "~5.0.0",
61
- "husky": "^7.0.4",
62
+ "husky": "~7.0.4",
62
63
  "less": "~4.1.2",
63
64
  "less-plugin-npm-import": "~2.1.0",
64
65
  "lint-staged": "~12.3.7",
@@ -66,17 +67,17 @@
66
67
  "react": "~17.0.2",
67
68
  "react-dom": "~17.0.2",
68
69
  "react-scripts": "~5.0.0",
69
- "rimraf": "^3.0.2",
70
+ "rimraf": "~3.0.2",
70
71
  "rollup": "~2.70.1",
71
72
  "rollup-plugin-dts": "~4.2.0",
72
73
  "rollup-plugin-prettier": "~2.2.2",
73
74
  "rollup-plugin-swc3": "~0.2.0",
74
- "semantic-release": "^19.0.2",
75
+ "semantic-release": "~19.0.2",
75
76
  "tsc-alias": "~1.6.5",
76
77
  "tsc-files": "~1.1.3",
77
78
  "typescript": "~4.6.3",
78
79
  "webpack": "~5.70.0",
79
- "yalc": "^1.0.0-pre.53"
80
+ "yalc": "~1.0.0-pre.53"
80
81
  },
81
82
  "peerDependencies": {
82
83
  "react": "~17.0.2",
@@ -89,8 +90,8 @@
89
90
  }
90
91
  },
91
92
  "scripts": {
92
- "storybook": "start-storybook -p 6006 -s public",
93
- "build-storybook": "build-storybook -s public",
93
+ "storybook": "start-storybook -p 6006",
94
+ "build-storybook": "build-storybook",
94
95
  "format": "prettier . --write",
95
96
  "check-types": "tsc --noemit",
96
97
  "lint": "eslint \"src/**/*.@(js|jsx|ts|tsx)\" --fix",