@jitera/jitera-web-ui-library 1.16.0 → 1.19.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 +29 -23
- package/dist/index.esm.js +5 -5
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -17,9 +17,9 @@ import {
|
|
17
17
|
UploadProps
|
18
18
|
} from 'antd'
|
19
19
|
export { CheckboxOptionType as RadioCheckboxOptionType } from 'antd'
|
20
|
-
import { BasicProps } from 'antd/lib/layout/layout'
|
21
20
|
import * as react_icons_lib from 'react-icons/lib'
|
22
21
|
import { IconBaseProps } from 'react-icons/lib'
|
22
|
+
import { BasicProps } from 'antd/lib/layout/layout'
|
23
23
|
import { SiderProps as SiderProps$1 } from 'antd/lib/layout/Sider'
|
24
24
|
import { TextProps as TextProps$1 } from 'antd/lib/typography/Text'
|
25
25
|
import { LinkProps } from 'antd/lib/typography/Link'
|
@@ -54,7 +54,30 @@ interface PreviewProps {
|
|
54
54
|
interface BoxProps extends PreviewProps, ComponentProps<React.HTMLAttributes<HTMLDivElement>> {}
|
55
55
|
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>
|
56
56
|
|
57
|
-
|
57
|
+
declare enum IconSet {
|
58
|
+
All = 'all',
|
59
|
+
Antd = 'antd',
|
60
|
+
Bootstrap = 'bootstrap',
|
61
|
+
Feather = 'feather',
|
62
|
+
FontAwesome = 'font-awesome',
|
63
|
+
Material = 'material'
|
64
|
+
}
|
65
|
+
declare function getIconComponent(
|
66
|
+
iconName: string,
|
67
|
+
props?: IconBaseProps
|
68
|
+
): React.ReactElement<IconBaseProps, string | React.JSXElementConstructor<any>>
|
69
|
+
declare function assertUnreachable(value: never): never
|
70
|
+
declare function getIconSet(iconSet: IconSet): [string, react_icons_lib.IconType][]
|
71
|
+
interface IconProps extends ComponentProps<IconBaseProps> {
|
72
|
+
iconName: string
|
73
|
+
}
|
74
|
+
declare const Icon: React.ForwardRefExoticComponent<
|
75
|
+
IconProps & React.RefAttributes<HTMLSpanElement>
|
76
|
+
>
|
77
|
+
|
78
|
+
interface ButtonProps extends PreviewProps, ComponentProps<ButtonProps$1> {
|
79
|
+
iconProps?: IconProps
|
80
|
+
}
|
58
81
|
declare const Button: React.ForwardRefExoticComponent<
|
59
82
|
ButtonProps & React.RefAttributes<HTMLButtonElement>
|
60
83
|
>
|
@@ -80,27 +103,6 @@ declare const Header: React.ForwardRefExoticComponent<
|
|
80
103
|
HeaderProps & React.RefAttributes<HTMLDivElement>
|
81
104
|
>
|
82
105
|
|
83
|
-
declare enum IconSet {
|
84
|
-
All = 'all',
|
85
|
-
Antd = 'antd',
|
86
|
-
Bootstrap = 'bootstrap',
|
87
|
-
Feather = 'feather',
|
88
|
-
FontAwesome = 'font-awesome',
|
89
|
-
Material = 'material'
|
90
|
-
}
|
91
|
-
declare function getIconComponent(
|
92
|
-
iconName: string,
|
93
|
-
props?: IconBaseProps
|
94
|
-
): React.ReactElement<IconBaseProps, string | React.JSXElementConstructor<any>>
|
95
|
-
declare function assertUnreachable(value: never): never
|
96
|
-
declare function getIconSet(iconSet: IconSet): [string, react_icons_lib.IconType][]
|
97
|
-
interface IconProps extends ComponentProps<IconBaseProps> {
|
98
|
-
iconName: string
|
99
|
-
}
|
100
|
-
declare const Icon: React.ForwardRefExoticComponent<
|
101
|
-
IconProps & React.RefAttributes<HTMLSpanElement>
|
102
|
-
>
|
103
|
-
|
104
106
|
interface ImageProps extends PreviewProps, Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'src'> {
|
105
107
|
source?: string
|
106
108
|
alt?: string
|
@@ -200,8 +202,10 @@ interface RadioProps
|
|
200
202
|
extends RadioStateColor,
|
201
203
|
PreviewProps,
|
202
204
|
ComponentProps<Omit<RadioGroupProps, 'options'>> {
|
205
|
+
wrap?: boolean | 'wrap-reverse' | 'wrap' | 'nowrap'
|
203
206
|
data: RadioOptions[]
|
204
207
|
spaceProps?: SpaceProps
|
208
|
+
containerStyle?: Record<string, unknown> | string
|
205
209
|
direction?: 'horizontal' | 'vertical' | undefined
|
206
210
|
}
|
207
211
|
declare const Radio: React.ForwardRefExoticComponent<
|
@@ -226,8 +230,10 @@ interface CheckboxProps
|
|
226
230
|
extends CheckboxStateColor,
|
227
231
|
PreviewProps,
|
228
232
|
ComponentProps<Omit<CheckboxGroupProps, 'options'>> {
|
233
|
+
wrap?: boolean | 'wrap-reverse' | 'wrap' | 'nowrap'
|
229
234
|
data: CheckboxOptions[]
|
230
235
|
spaceProps?: SpaceProps
|
236
|
+
containerStyle?: Record<string, unknown> | string
|
231
237
|
direction?: 'horizontal' | 'vertical' | undefined
|
232
238
|
}
|
233
239
|
declare const Checkbox: React.ForwardRefExoticComponent<
|
package/dist/index.esm.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import{jsx as f,jsxs as g}from"react/jsx-runtime";import a,{useMemo as h,createContext as c,useContext as i,useState as j}from"react";import b from"styled-components";import{Button as k,Col as l,Typography as m,Input as n,Menu as o,Row as p,List as q,Radio as r,Space as s,Checkbox as t,Upload as u,ConfigProvider as v}from"antd";import
|
1
|
+
import{jsx as f,jsxs as g}from"react/jsx-runtime";import a,{useMemo as h,createContext as c,useContext as i,useState as j}from"react";import b from"styled-components";import{Button as k,Col as l,Typography as m,Input as n,Menu as o,Row as p,List as q,Radio as r,Space as s,Checkbox as t,Upload as u,ConfigProvider as v}from"antd";import*as w from"react-icons/ai";import*as x from"react-icons/bs";import*as y from"react-icons/fa";import*as z from"react-icons/fi";import*as A from"react-icons/md";import B,{Content as C,Footer as D,Header as E}from"antd/lib/layout/layout";import F from"antd/lib/menu/MenuItem";import G from"antd/lib/menu/SubMenu";import H from"antd/lib/layout/Sider";import I,{components as J}from"react-select";import d from"rc-picker/lib/generate/dayjs";import e from"antd/es/date-picker/generatePicker";import K from"react-otp-input";const PREFIX_COMPONENT_CLASSNAME="jitera";const PREFIX_ICON_CLASSNAME="jiteraicon";const DEFAULT_RESPONSIVE_VISIBILITY=[{value:"desktop"},{value:"tablet"},{value:"mobile"}];var ResponsiveDevices;(function(a){a["MOBILE"]="mobile";a["TABLET"]="tablet";a["DESKTOP"]="desktop"})(ResponsiveDevices||(ResponsiveDevices={}));const ResponsiveSize={SMALL:314,MEDIUM:720,LARGE:1280};const PreviewResponsive=({visibility:a,children:b})=>{var d;if(!a){return b}const c=((d=document.getElementById("preview-frame"))===null||d===void 0?void 0:d.offsetWidth)||0;if(c>=ResponsiveSize.SMALL&&c<ResponsiveSize.MEDIUM){if(a===null||a===void 0?void 0:a.includes(ResponsiveDevices.MOBILE)){return b}return f("div",{})}if(c>=ResponsiveSize.MEDIUM&&c<ResponsiveSize.LARGE){if(a===null||a===void 0?void 0:a.includes(ResponsiveDevices.TABLET)){return b}return f("div",{})}if(c>=ResponsiveSize.LARGE){if(a===null||a===void 0?void 0:a.includes(ResponsiveDevices.DESKTOP)){return b}return f("div",{})}return b};var PreviewResponsive$1=PreviewResponsive;const InlineWrapper=b.span`
|
2
2
|
@media (min-width: ${ResponsiveSize.SMALL}px) and (max-width: ${ResponsiveSize.MEDIUM-1}) {
|
3
3
|
display: ${a=>{var b;return((b=a===null||a===void 0?void 0:a.values)===null||b===void 0?void 0:b.includes(ResponsiveDevices.MOBILE))?"inline":"none"}};
|
4
4
|
}
|
@@ -22,11 +22,11 @@ import{jsx as f,jsxs as g}from"react/jsx-runtime";import a,{useMemo as h,createC
|
|
22
22
|
@media (min-width: ${ResponsiveSize.LARGE}px) {
|
23
23
|
display: ${a=>{var b;return((b=a===null||a===void 0?void 0:a.values)===null||b===void 0?void 0:b.includes(ResponsiveDevices.DESKTOP))?"contents":"none"}};
|
24
24
|
}
|
25
|
-
`;const ResponsiveVisibility=({visibility:c=DEFAULT_RESPONSIVE_VISIBILITY,isPreview:d,isInline:e,children:a})=>{const b=h(()=>c===null||c===void 0?void 0:c.map(a=>a.value),[c]);if(d){return f(PreviewResponsive$1,{visibility:b,children:a})}if(e){return f(InlineWrapper,{values:b,children:a})}return f(Wrapper,{values:b,children:a})};var VisibilityComponent=ResponsiveVisibility;const Box=a.forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...g}=a;return f(VisibilityComponent,{visibility:e,isPreview:d,children:f("div",{...g,ref:b,children:c})})});const Button=a.forwardRef((a,b)=>{const{type:c="primary",isPreview:d,responsiveVisibility:e,...
|
25
|
+
`;const ResponsiveVisibility=({visibility:c=DEFAULT_RESPONSIVE_VISIBILITY,isPreview:d,isInline:e,children:a})=>{const b=h(()=>c===null||c===void 0?void 0:c.map(a=>a.value),[c]);if(d){return f(PreviewResponsive$1,{visibility:b,children:a})}if(e){return f(InlineWrapper,{values:b,children:a})}return f(Wrapper,{values:b,children:a})};var VisibilityComponent=ResponsiveVisibility;const Box=a.forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...g}=a;return f(VisibilityComponent,{visibility:e,isPreview:d,children:f("div",{...g,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 w?w[b]:b in x?x[b]:b in z?z[b]:b in y?y[b]:b in A?A[b]:"",c)}function assertUnreachable(a){throw new Error(`Should not reach with ${a}`)}function getIconSet(a){switch(a){case IconSet.Antd:return Object.entries(w);case IconSet.Bootstrap:return Object.entries(x);case IconSet.Feather:return Object.entries(z);case IconSet.FontAwesome:return Object.entries(y);case IconSet.Material:return Object.entries(A);case IconSet.All:return[...Object.entries(w),...Object.entries(x),...Object.entries(z),...Object.entries(y),...Object.entries(A)];default:return assertUnreachable(a)}}const Icon=a.forwardRef((a,b)=>{return f("span",{ref:b,style:{display:"inline-block",...a.style},children:getIconComponent(a.iconName,{color:a.color,size:a.size})})});const Button=a.forwardRef((a,b)=>{const{type:c="primary",isPreview:d,responsiveVisibility:e,iconProps:g,...i}=a;const j=h(()=>{if(!g){return}return f(Icon,{...g})},[g]);return f(VisibilityComponent,{visibility:e,isPreview:d,isInline:true,children:f(k,{type:c,icon:j,...i,ref:b})})});const Col=a.forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...g}=a;return f(VisibilityComponent,{visibility:e,isPreview:d,children:f(l,{...g,ref:b,children:c})})});const Content=a.forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...g}=a;return f(VisibilityComponent,{visibility:e,isPreview:d,children:f(C,{...g,prefixCls:"jitera-layout-content",ref:b,children:c})})});const Footer=a.forwardRef((a,b)=>{const{children:c,style:d,isPreview:e,responsiveVisibility:g,...h}=a;return f(VisibilityComponent,{visibility:g,isPreview:e,children:f(D,{...h,prefixCls:"jitera-layout-footer",style:{width:"100%",...d},ref:b,children:c})})});const FormComponent=a.forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f("div",{...g,ref:b,children:c})})});const Form=FormComponent;const Header=a.forwardRef((a,b)=>{const{children:c,style:d,responsiveVisibility:e,isPreview:g,...h}=a;return f(VisibilityComponent,{visibility:e,isPreview:g,children:f(E,{...h,prefixCls:"jitera-layout-header",style:{width:"100%",...d},ref:b,children:c})})});const Image=a.forwardRef((a,b)=>{const{source:c,alt:d="",responsiveVisibility:e,isPreview:g,...h}=a;return f(VisibilityComponent,{visibility:e,isPreview:g,children:f("img",{ref:b,src:c,...h,alt:d})})});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,responsiveVisibility:d,isPreview:e,...g}=a;const h=m[c];return f(VisibilityComponent,{visibility:d,isPreview:e,isInline:true,children:f(h,{...g,ref:b})})});const isStyleObject=a=>typeof a==="object";const getClasses=(...a)=>a.filter(a=>!isStyleObject(a)).join(" ");const input="mccb30e4f2_input";var styles$3={input};const Input=a.forwardRef((c,d)=>{const{style:e={},inputStyle:i={},errorMessage:a,isPasswordField:j,responsiveVisibility:k,isPreview:b,className:l,prefixIconProps:m,suffixIconProps:o,...p}=c;const q=h(()=>j?n.Password:n,[j]);const r=h(()=>{return isStyleObject(i)?{style:i,className:styles$3.input}:{className:getClasses(styles$3.input,i)}},[i]);const s=h(()=>{if(!m){return}return f(Icon,{...m})},[m]);const t=h(()=>{if(!o){return}return f(Icon,{...o})},[o]);return f(VisibilityComponent,{visibility:k,isPreview:b,children:g("div",{style:e,className:getClasses(styles$3.container,l||""),ref:d,children:[f(q,{...r,disabled:b,prefix:s,suffix:t,...p}),!!a&&f(Text,{type:"danger",children:a})]})})});const Layout=a.forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f(B,{...g,prefixCls:"jitera-layout",ref:b,children:c})})});const Menu=a.forwardRef((a,c)=>{const{isPreview:b,...d}=a;return f(VisibilityComponent,{visibility:a.responsiveVisibility,isPreview:b,children:f("div",{ref:c,children:f(o,{disabled:b,...d,prefixCls:"jitera-menu"})})})});const horizontal="mcf0135950_horizontal";const vertical="mcf0135950_vertical";var styles$2={horizontal,vertical};var MenuIconPosition;(function(a){a["Left"]="left";a["Right"]="right";a["Top"]="top";a["Bottom"]="bottom"})(MenuIconPosition||(MenuIconPosition={}));const MenuItem=a.forwardRef(({label:a,iconName:b,iconPosition:c,spaceBetween:d,responsiveVisibility:e,isPreview:g,...h},i)=>{return f(VisibilityComponent,{visibility:e,isPreview:g,children:f("li",{ref:i,children:f("ul",{children:f(F,{...h,children:b&&c&&d?renderTextWithIcon(b,c,d,a):a})})})})});function renderTextWithIcon(a,d,b,c){switch(d){case MenuIconPosition.Left:return g("div",{className:styles$2.horizontal,style:{gap:b},children:[f(Icon,{iconName:a}),c]});case MenuIconPosition.Right:return g("div",{className:styles$2.horizontal,style:{gap:b},children:[c,f(Icon,{iconName:a})]});case MenuIconPosition.Top:return g("div",{className:styles$2.vertical,style:{gap:b},children:[f(Icon,{iconName:a}),c]});case MenuIconPosition.Bottom:return g("div",{className:styles$2.vertical,style:{gap:b},children:[c,f(Icon,{iconName:a})]});default:return assertUnreachable(d)}}const SubMenu=a.forwardRef((a,b)=>{return f("ul",{ref:b,children:f(G,{...a})})});const PageWrapper=b.div`
|
26
26
|
width: 100%;
|
27
27
|
${a=>`min-height: ${a.minHeight};`},
|
28
28
|
background-color: #fff;
|
29
|
-
`;const Page=a.forwardRef(({...b},c)=>{const{children:d,isPreview:a,responsiveVisibility:e,...g}=b;const h=a?"100%":"100vh";return f(VisibilityComponent,{visibility:e,isPreview:a,children:f(PageWrapper,{minHeight:h,...g,ref:c,children:d})})});const Row=a.forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f(p,{...g,ref:b,children:c})})});const Sider=a.forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f(H,{...g,prefixCls:"jitera-layout-sider",ref:b,children:c})})});const Select=a.forwardRef((b,c)=>{const{isPreview:a,responsiveVisibility:d,styles:e,data:g,placeholderStyle:i,containerStyle:j,dropdownStyle:k,optionStyle:l,iconProps:m,...n}=b;const o=h(()=>{const a=e||{};if(i){a.placeholder=a=>({...a,...i})}if(j){a.control=a=>({...a,...j})}if(k){a.menu=a=>({...a,...k})}if(l){a.option=a=>({...a,...l})}return a},[e,i,j,k,l]);const p=h(()=>{if(!m){return}return{DropdownIndicator:a=>{return f(J.DropdownIndicator,{...a,children:f(Icon,{...m})})}}},[m]);return f(VisibilityComponent,{visibility:d,isPreview:a,children:f(I,{components:p,isDisabled:a,styles:o,options:g,...n,ref:c})})});const inner="mc6f30f899_inner";var styles$1={inner};const List=a.forwardRef((a,b)=>{const{style:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f("div",{style:c,ref:b,children:f(q,{className:styles$1.inner,...g})})})});const RadioWrapper=b.div`
|
29
|
+
`;const Page=a.forwardRef(({...b},c)=>{const{children:d,isPreview:a,responsiveVisibility:e,...g}=b;const h=a?"100%":"100vh";return f(VisibilityComponent,{visibility:e,isPreview:a,children:f(PageWrapper,{minHeight:h,...g,ref:c,children:d})})});const Row=a.forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f(p,{...g,ref:b,children:c})})});const Sider=a.forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f(H,{...g,prefixCls:"jitera-layout-sider",ref:b,children:c})})});const Select=a.forwardRef((b,c)=>{const{isPreview:a,responsiveVisibility:d,styles:e,data:g,placeholderStyle:i,containerStyle:j,dropdownStyle:k,optionStyle:l,iconProps:m,...n}=b;const o=h(()=>{const a=e||{};if(i){a.placeholder=a=>({...a,...i})}if(j){a.control=a=>({...a,...j})}if(k){a.menu=a=>({...a,...k})}if(l){a.option=a=>({...a,...l})}return a},[e,i,j,k,l]);const p=h(()=>{if(!m){return}return{DropdownIndicator:a=>{return f(J.DropdownIndicator,{...a,children:f(Icon,{...m})})}}},[m]);return f(VisibilityComponent,{visibility:d,isPreview:a,children:f(I,{components:p,isDisabled:a,styles:o,options:g,...n,ref:c})})});const inner="mc6f30f899_inner";var styles$1={inner};const List=a.forwardRef((a,b)=>{const{style:c,responsiveVisibility:d,isPreview:e,...g}=a;return f(VisibilityComponent,{visibility:d,isPreview:e,children:f("div",{style:c,ref:b,children:f(q,{className:styles$1.inner,...g})})})});function isWrap(a){return typeof a==="string"&&["wrap","wrap-reverse"].includes(a)||a===true}const RadioWrapper=b.div`
|
30
30
|
.jitera-radio-inner {
|
31
31
|
border-color: ${a=>a.inactiveColor||a.theme.primaryColor};
|
32
32
|
}
|
@@ -47,7 +47,7 @@ import{jsx as f,jsxs as g}from"react/jsx-runtime";import a,{useMemo as h,createC
|
|
47
47
|
.jitera-radio-wrapper span:last-child {
|
48
48
|
${a=>a.labelStyle}
|
49
49
|
}
|
50
|
-
`;const Radio=a.forwardRef((c,d)=>{const{data:a,spaceProps:e,isPreview:b,responsiveVisibility:g,activeColor:
|
50
|
+
`;const Radio=a.forwardRef((c,d)=>{const{data:a,spaceProps:e,isPreview:b,responsiveVisibility:g,activeColor:i,inactiveColor:j,labelStyle:k,direction:l,containerStyle:m={},wrap:n="wrap",...o}=c;const p=h(()=>{return{...e,wrap:isWrap(n)}},[n,e]);const q=h(()=>{return isStyleObject(m)?{style:m}:{className:getClasses(m)}},[m]);return f(VisibilityComponent,{visibility:g,isPreview:b,children:f(RadioWrapper,{activeColor:i,inactiveColor:j,labelStyle:k,...q,children:f(r.Group,{disabled:b,...o,ref:d,children:f(s,{direction:l,...p,children:a===null||a===void 0?void 0:a.map(a=>f(r,{value:a.value,...a,children:a.label},a.value))})})})})});const textarea="mc68e5c85d_textarea";var styles={textarea};const TextArea=a.forwardRef((c,d)=>{const{style:e={},inputStyle:i={},errorMessage:a,responsiveVisibility:j,isPreview:b,className:k,...l}=c;const m=h(()=>{return isStyleObject(i)?{style:i,className:styles.textarea}:{className:getClasses(styles.textarea,i)}},[i]);return f(VisibilityComponent,{visibility:j,isPreview:b,children:g("div",{style:e,className:getClasses(styles.container,k||""),ref:d,children:[f(n.TextArea,{...m,disabled:b,...l}),!!a&&f(Text,{type:"danger",children:a})]})})});const CheckboxWrapper=b.div`
|
51
51
|
&& {
|
52
52
|
.jitera-checkbox-inner {
|
53
53
|
border-color: ${a=>a.inactiveColor||a.theme.primaryColor};
|
@@ -72,4 +72,4 @@ import{jsx as f,jsxs as g}from"react/jsx-runtime";import a,{useMemo as h,createC
|
|
72
72
|
${a=>a.labelStyle}
|
73
73
|
}
|
74
74
|
}
|
75
|
-
`;const Checkbox=a.forwardRef((c,d)=>{const{data:a,spaceProps:e,isPreview:b,responsiveVisibility:g,activeColor:h,inactiveColor:i,checkColor:j,labelStyle:k,direction:l,...m}=c;return f(VisibilityComponent,{visibility:g,isPreview:b,children:f(CheckboxWrapper,{activeColor:h,inactiveColor:i,labelStyle:k,checkColor:j,children:f(t.Group,{disabled:b,...m,ref:d,children:f(s,{direction:l,...e,children:a===null||a===void 0?void 0:a.map(a=>f(t,{...a,children:a.label}))})})})})});const ImagePicker=a.forwardRef((c,d)=>{const{children:e,isPreview:a,responsiveVisibility:h,errorMessage:b,...i}=c;return f(VisibilityComponent,{visibility:h,isPreview:a,children:g("div",{ref:d,children:[f(u,{disabled:a,listType:"picture",...i,children:e}),!!b&&f(Text,{type:"danger",children:b})]})})});var PickerEnum;(function(a){a["TIME"]="time";a["DATE"]="date";a["WEEK"]="week";a["MONTH"]="month"})(PickerEnum||(PickerEnum={}));const AntDatePicker=e(d);const DateTimePicker=a.forwardRef((c,d)=>{const{isPreview:a,responsiveVisibility:e,picker:h="date",errorMessage:b,...i}=c;return f(VisibilityComponent,{visibility:e,isPreview:a,children:g("div",{ref:d,children:[f(AntDatePicker,{disabled:a,picker:h,...i}),!!b&&f(Text,{type:"danger",style:{display:"block"},children:b})]})})});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 i(ThemeContext)};const ThemeProvider=({children:a})=>{const[b,d]=j(defaultTheme);const e=b=>{const a={...defaultTheme,...b};v.config({theme:a});d(a)};const c=h(()=>{return{theme:b,toggleTheme:e}},[b]);return f(v,{prefixCls:PREFIX_COMPONENT_CLASSNAME,iconPrefixCls:PREFIX_ICON_CLASSNAME,children:f(ThemeContext.Provider,{value:c,children:a})})};var OTPInputType;(function(a){a["Box"]="box";a["Underline"]="underline"})(OTPInputType||(OTPInputType={}));const OTPInput=a.forwardRef((i,j)=>{const{isPreview:k,pinCount:l=4,autoFocus:m,errorMessage:c,style:n={},cellTextStyle:a={},cellStyle:b={},otpInputType:o="box",...p}=i;const{theme:d}=useTheme();let e={};if(o===OTPInputType.Underline){e={borderLeft:"unset",borderRight:"unset",borderTop:"unset"}}let h="";if(isStyleObject(b)&&isStyleObject(a)){h={width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${d.borderWidthBase} solid ${d.borderColorBase}`,...b,...a,...e}}return g("div",{ref:j,children:[f(K,{isDisabled:k,...p,numInputs:l,shouldAutoFocus:m,containerStyle:n,inputStyle:h,className:getClasses(b,a)}),!!c&&f(Text,{type:"danger",children:c})]})});export{Box,Button,Checkbox,Col,Content,DateTimePicker,Footer,Form,Header,Icon,IconSet,Image,ImagePicker,Input,Layout,List,Menu,MenuIconPosition,MenuItem,OTPInput,OTPInputType,Page,PickerEnum,Radio,Row,Select,Sider,SubMenu,Text,TextArea,TextVariantType,ThemeProvider,assertUnreachable,defaultTheme,getIconComponent,getIconSet,useTheme}
|
75
|
+
`;const Checkbox=a.forwardRef((c,d)=>{const{data:a,wrap:e="wrap",spaceProps:g,isPreview:b,responsiveVisibility:i,containerStyle:j={},activeColor:k,inactiveColor:l,checkColor:m,labelStyle:n,direction:o,...p}=c;const q=h(()=>{return{...g,wrap:isWrap(e)}},[e,g]);const r=h(()=>{return isStyleObject(j)?{style:j}:{className:getClasses(j)}},[j]);return f(VisibilityComponent,{visibility:i,isPreview:b,children:f(CheckboxWrapper,{activeColor:k,inactiveColor:l,checkColor:m,labelStyle:n,...r,children:f(t.Group,{disabled:b,...p,ref:d,children:f(s,{direction:o,...q,children:a===null||a===void 0?void 0:a.map(a=>f(t,{...a,children:a.label}))})})})})});const ImagePicker=a.forwardRef((c,d)=>{const{children:e,isPreview:a,responsiveVisibility:h,errorMessage:b,...i}=c;return f(VisibilityComponent,{visibility:h,isPreview:a,children:g("div",{ref:d,children:[f(u,{disabled:a,listType:"picture",...i,children:e}),!!b&&f(Text,{type:"danger",children:b})]})})});var PickerEnum;(function(a){a["TIME"]="time";a["DATE"]="date";a["WEEK"]="week";a["MONTH"]="month"})(PickerEnum||(PickerEnum={}));const AntDatePicker=e(d);const DateTimePicker=a.forwardRef((c,d)=>{const{isPreview:a,responsiveVisibility:e,picker:h="date",errorMessage:b,...i}=c;return f(VisibilityComponent,{visibility:e,isPreview:a,children:g("div",{ref:d,children:[f(AntDatePicker,{disabled:a,picker:h,...i}),!!b&&f(Text,{type:"danger",style:{display:"block"},children:b})]})})});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 i(ThemeContext)};const ThemeProvider=({children:a})=>{const[b,d]=j(defaultTheme);const e=b=>{const a={...defaultTheme,...b};v.config({theme:a});d(a)};const c=h(()=>{return{theme:b,toggleTheme:e}},[b]);return f(v,{prefixCls:PREFIX_COMPONENT_CLASSNAME,iconPrefixCls:PREFIX_ICON_CLASSNAME,children:f(ThemeContext.Provider,{value:c,children:a})})};var OTPInputType;(function(a){a["Box"]="box";a["Underline"]="underline"})(OTPInputType||(OTPInputType={}));const OTPInput=a.forwardRef((i,j)=>{const{isPreview:k,pinCount:l=4,autoFocus:m,errorMessage:c,style:n={},cellTextStyle:a={},cellStyle:b={},otpInputType:o="box",...p}=i;const{theme:d}=useTheme();let e={};if(o===OTPInputType.Underline){e={borderLeft:"unset",borderRight:"unset",borderTop:"unset"}}let h="";if(isStyleObject(b)&&isStyleObject(a)){h={width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${d.borderWidthBase} solid ${d.borderColorBase}`,...b,...a,...e}}return g("div",{ref:j,children:[f(K,{isDisabled:k,...p,numInputs:l,shouldAutoFocus:m,containerStyle:n,inputStyle:h,className:getClasses(b,a)}),!!c&&f(Text,{type:"danger",children:c})]})});export{Box,Button,Checkbox,Col,Content,DateTimePicker,Footer,Form,Header,Icon,IconSet,Image,ImagePicker,Input,Layout,List,Menu,MenuIconPosition,MenuItem,OTPInput,OTPInputType,Page,PickerEnum,Radio,Row,Select,Sider,SubMenu,Text,TextArea,TextVariantType,ThemeProvider,assertUnreachable,defaultTheme,getIconComponent,getIconSet,useTheme}
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var jsxRuntime=require("react/jsx-runtime");var React=require("react");var styled=require("styled-components");var antd=require("antd");var
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var jsxRuntime=require("react/jsx-runtime");var React=require("react");var styled=require("styled-components");var antd=require("antd");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 AntLayout=require("antd/lib/layout/layout");var AntMenuItem=require("antd/lib/menu/MenuItem");var AntSubMenu=require("antd/lib/menu/SubMenu");var AntSider=require("antd/lib/layout/Sider");var ReactSelect=require("react-select");var dayjsGenerateConfig=require("rc-picker/lib/generate/dayjs");var generatePicker=require("antd/es/date-picker/generatePicker");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 styled__default=_interopDefaultLegacy(styled);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 AntLayout__default=_interopDefaultLegacy(AntLayout);var AntMenuItem__default=_interopDefaultLegacy(AntMenuItem);var AntSubMenu__default=_interopDefaultLegacy(AntSubMenu);var AntSider__default=_interopDefaultLegacy(AntSider);var ReactSelect__default=_interopDefaultLegacy(ReactSelect);var dayjsGenerateConfig__default=_interopDefaultLegacy(dayjsGenerateConfig);var generatePicker__default=_interopDefaultLegacy(generatePicker);var OtpInput__default=_interopDefaultLegacy(OtpInput);const PREFIX_COMPONENT_CLASSNAME="jitera";const PREFIX_ICON_CLASSNAME="jiteraicon";const DEFAULT_RESPONSIVE_VISIBILITY=[{value:"desktop"},{value:"tablet"},{value:"mobile"}];var ResponsiveDevices;(function(a){a["MOBILE"]="mobile";a["TABLET"]="tablet";a["DESKTOP"]="desktop"})(ResponsiveDevices||(ResponsiveDevices={}));const ResponsiveSize={SMALL:314,MEDIUM:720,LARGE:1280};const PreviewResponsive=({visibility:a,children:b})=>{var d;if(!a){return b}const c=((d=document.getElementById("preview-frame"))===null||d===void 0?void 0:d.offsetWidth)||0;if(c>=ResponsiveSize.SMALL&&c<ResponsiveSize.MEDIUM){if(a===null||a===void 0?void 0:a.includes(ResponsiveDevices.MOBILE)){return b}return jsxRuntime.jsx("div",{})}if(c>=ResponsiveSize.MEDIUM&&c<ResponsiveSize.LARGE){if(a===null||a===void 0?void 0:a.includes(ResponsiveDevices.TABLET)){return b}return jsxRuntime.jsx("div",{})}if(c>=ResponsiveSize.LARGE){if(a===null||a===void 0?void 0:a.includes(ResponsiveDevices.DESKTOP)){return b}return jsxRuntime.jsx("div",{})}return b};var PreviewResponsive$1=PreviewResponsive;const InlineWrapper=styled__default["default"].span`
|
2
2
|
@media (min-width: ${ResponsiveSize.SMALL}px) and (max-width: ${ResponsiveSize.MEDIUM-1}) {
|
3
3
|
display: ${a=>{var b;return((b=a===null||a===void 0?void 0:a.values)===null||b===void 0?void 0:b.includes(ResponsiveDevices.MOBILE))?"inline":"none"}};
|
4
4
|
}
|
@@ -22,11 +22,11 @@
|
|
22
22
|
@media (min-width: ${ResponsiveSize.LARGE}px) {
|
23
23
|
display: ${a=>{var b;return((b=a===null||a===void 0?void 0:a.values)===null||b===void 0?void 0:b.includes(ResponsiveDevices.DESKTOP))?"contents":"none"}};
|
24
24
|
}
|
25
|
-
`;const ResponsiveVisibility=({visibility:c=DEFAULT_RESPONSIVE_VISIBILITY,isPreview:d,isInline:e,children:a})=>{const b=React.useMemo(()=>c===null||c===void 0?void 0:c.map(a=>a.value),[c]);if(d){return jsxRuntime.jsx(PreviewResponsive$1,{visibility:b,children:a})}if(e){return jsxRuntime.jsx(InlineWrapper,{values:b,children:a})}return jsxRuntime.jsx(Wrapper,{values:b,children:a})};var VisibilityComponent=ResponsiveVisibility;const Box=React__default["default"].forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:d,children:jsxRuntime.jsx("div",{...f,ref:b,children:c})})});const Button=React__default["default"].forwardRef((a,b)=>{const{type:c="primary",isPreview:d,responsiveVisibility:e,...
|
25
|
+
`;const ResponsiveVisibility=({visibility:c=DEFAULT_RESPONSIVE_VISIBILITY,isPreview:d,isInline:e,children:a})=>{const b=React.useMemo(()=>c===null||c===void 0?void 0:c.map(a=>a.value),[c]);if(d){return jsxRuntime.jsx(PreviewResponsive$1,{visibility:b,children:a})}if(e){return jsxRuntime.jsx(InlineWrapper,{values:b,children:a})}return jsxRuntime.jsx(Wrapper,{values:b,children:a})};var VisibilityComponent=ResponsiveVisibility;const Box=React__default["default"].forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:d,children:jsxRuntime.jsx("div",{...f,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 getIconSet(a){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 Icon=React__default["default"].forwardRef((a,b)=>{return jsxRuntime.jsx("span",{ref:b,style:{display:"inline-block",...a.style},children:getIconComponent(a.iconName,{color:a.color,size:a.size})})});const Button=React__default["default"].forwardRef((a,b)=>{const{type:c="primary",isPreview:d,responsiveVisibility:e,iconProps:f,...g}=a;const h=React.useMemo(()=>{if(!f){return}return jsxRuntime.jsx(Icon,{...f})},[f]);return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:d,isInline:true,children:jsxRuntime.jsx(antd.Button,{type:c,icon:h,...g,ref:b})})});const Col=React__default["default"].forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:d,children:jsxRuntime.jsx(antd.Col,{...f,ref:b,children:c})})});const Content=React__default["default"].forwardRef((a,b)=>{const{children:c,isPreview:d,responsiveVisibility:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:d,children:jsxRuntime.jsx(AntLayout.Content,{...f,prefixCls:"jitera-layout-content",ref:b,children:c})})});const Footer=React__default["default"].forwardRef((a,b)=>{const{children:c,style:d,isPreview:e,responsiveVisibility:f,...g}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:f,isPreview:e,children:jsxRuntime.jsx(AntLayout.Footer,{...g,prefixCls:"jitera-layout-footer",style:{width:"100%",...d},ref:b,children:c})})});const FormComponent=React__default["default"].forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx("div",{...f,ref:b,children:c})})});const Form=FormComponent;const Header=React__default["default"].forwardRef((a,b)=>{const{children:c,style:d,responsiveVisibility:e,isPreview:f,...g}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:f,children:jsxRuntime.jsx(AntLayout.Header,{...g,prefixCls:"jitera-layout-header",style:{width:"100%",...d},ref:b,children:c})})});const Image=React__default["default"].forwardRef((a,b)=>{const{source:c,alt:d="",responsiveVisibility:e,isPreview:f,...g}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:f,children:jsxRuntime.jsx("img",{ref:b,src:c,...g,alt:d})})});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,responsiveVisibility:d,isPreview:e,...f}=a;const g=antd.Typography[c];return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,isInline:true,children:jsxRuntime.jsx(g,{...f,ref:b})})});const isStyleObject=a=>typeof a==="object";const getClasses=(...a)=>a.filter(a=>!isStyleObject(a)).join(" ");const input="mccb30e4f2_input";var styles$3={input};const Input=React__default["default"].forwardRef((c,d)=>{const{style:e={},inputStyle:f={},errorMessage:a,isPasswordField:g,responsiveVisibility:h,isPreview:b,className:i,prefixIconProps:j,suffixIconProps:k,...l}=c;const m=React.useMemo(()=>g?antd.Input.Password:antd.Input,[g]);const n=React.useMemo(()=>{return isStyleObject(f)?{style:f,className:styles$3.input}:{className:getClasses(styles$3.input,f)}},[f]);const o=React.useMemo(()=>{if(!j){return}return jsxRuntime.jsx(Icon,{...j})},[j]);const p=React.useMemo(()=>{if(!k){return}return jsxRuntime.jsx(Icon,{...k})},[k]);return jsxRuntime.jsx(VisibilityComponent,{visibility:h,isPreview:b,children:jsxRuntime.jsxs("div",{style:e,className:getClasses(styles$3.container,i||""),ref:d,children:[jsxRuntime.jsx(m,{...n,disabled:b,prefix:o,suffix:p,...l}),!!a&&jsxRuntime.jsx(Text,{type:"danger",children:a})]})})});const Layout=React__default["default"].forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx(AntLayout__default["default"],{...f,prefixCls:"jitera-layout",ref:b,children:c})})});const Menu=React__default["default"].forwardRef((a,c)=>{const{isPreview:b,...d}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:a.responsiveVisibility,isPreview:b,children:jsxRuntime.jsx("div",{ref:c,children:jsxRuntime.jsx(antd.Menu,{disabled:b,...d,prefixCls:"jitera-menu"})})})});const horizontal="mcf0135950_horizontal";const vertical="mcf0135950_vertical";var styles$2={horizontal,vertical};exports.MenuIconPosition=void 0;(function(a){a["Left"]="left";a["Right"]="right";a["Top"]="top";a["Bottom"]="bottom"})(exports.MenuIconPosition||(exports.MenuIconPosition={}));const MenuItem=React__default["default"].forwardRef(({label:a,iconName:b,iconPosition:c,spaceBetween:d,responsiveVisibility:e,isPreview:f,...g},h)=>{return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:f,children:jsxRuntime.jsx("li",{ref:h,children:jsxRuntime.jsx("ul",{children:jsxRuntime.jsx(AntMenuItem__default["default"],{...g,children:b&&c&&d?renderTextWithIcon(b,c,d,a):a})})})})});function renderTextWithIcon(a,d,b,c){switch(d){case exports.MenuIconPosition.Left:return jsxRuntime.jsxs("div",{className:styles$2.horizontal,style:{gap:b},children:[jsxRuntime.jsx(Icon,{iconName:a}),c]});case exports.MenuIconPosition.Right:return jsxRuntime.jsxs("div",{className:styles$2.horizontal,style:{gap:b},children:[c,jsxRuntime.jsx(Icon,{iconName:a})]});case exports.MenuIconPosition.Top:return jsxRuntime.jsxs("div",{className:styles$2.vertical,style:{gap:b},children:[jsxRuntime.jsx(Icon,{iconName:a}),c]});case exports.MenuIconPosition.Bottom:return jsxRuntime.jsxs("div",{className:styles$2.vertical,style:{gap:b},children:[c,jsxRuntime.jsx(Icon,{iconName:a})]});default:return assertUnreachable(d)}}const SubMenu=React__default["default"].forwardRef((a,b)=>{return jsxRuntime.jsx("ul",{ref:b,children:jsxRuntime.jsx(AntSubMenu__default["default"],{...a})})});const PageWrapper=styled__default["default"].div`
|
26
26
|
width: 100%;
|
27
27
|
${a=>`min-height: ${a.minHeight};`},
|
28
28
|
background-color: #fff;
|
29
|
-
`;const Page=React__default["default"].forwardRef(({...b},c)=>{const{children:d,isPreview:a,responsiveVisibility:e,...f}=b;const g=a?"100%":"100vh";return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:a,children:jsxRuntime.jsx(PageWrapper,{minHeight:g,...f,ref:c,children:d})})});const Row=React__default["default"].forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx(antd.Row,{...f,ref:b,children:c})})});const Sider=React__default["default"].forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx(AntSider__default["default"],{...f,prefixCls:"jitera-layout-sider",ref:b,children:c})})});const Select=React__default["default"].forwardRef((b,c)=>{const{isPreview:a,responsiveVisibility:d,styles:e,data:f,placeholderStyle:g,containerStyle:h,dropdownStyle:i,optionStyle:j,iconProps:k,...l}=b;const m=React.useMemo(()=>{const a=e||{};if(g){a.placeholder=a=>({...a,...g})}if(h){a.control=a=>({...a,...h})}if(i){a.menu=a=>({...a,...i})}if(j){a.option=a=>({...a,...j})}return a},[e,g,h,i,j]);const n=React.useMemo(()=>{if(!k){return}return{DropdownIndicator:a=>{return jsxRuntime.jsx(ReactSelect.components.DropdownIndicator,{...a,children:jsxRuntime.jsx(Icon,{...k})})}}},[k]);return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:a,children:jsxRuntime.jsx(ReactSelect__default["default"],{components:n,isDisabled:a,styles:m,options:f,...l,ref:c})})});const inner="mc6f30f899_inner";var styles$1={inner};const List=React__default["default"].forwardRef((a,b)=>{const{style:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx("div",{style:c,ref:b,children:jsxRuntime.jsx(antd.List,{className:styles$1.inner,...f})})})});const RadioWrapper=styled__default["default"].div`
|
29
|
+
`;const Page=React__default["default"].forwardRef(({...b},c)=>{const{children:d,isPreview:a,responsiveVisibility:e,...f}=b;const g=a?"100%":"100vh";return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:a,children:jsxRuntime.jsx(PageWrapper,{minHeight:g,...f,ref:c,children:d})})});const Row=React__default["default"].forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx(antd.Row,{...f,ref:b,children:c})})});const Sider=React__default["default"].forwardRef((a,b)=>{const{children:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx(AntSider__default["default"],{...f,prefixCls:"jitera-layout-sider",ref:b,children:c})})});const Select=React__default["default"].forwardRef((b,c)=>{const{isPreview:a,responsiveVisibility:d,styles:e,data:f,placeholderStyle:g,containerStyle:h,dropdownStyle:i,optionStyle:j,iconProps:k,...l}=b;const m=React.useMemo(()=>{const a=e||{};if(g){a.placeholder=a=>({...a,...g})}if(h){a.control=a=>({...a,...h})}if(i){a.menu=a=>({...a,...i})}if(j){a.option=a=>({...a,...j})}return a},[e,g,h,i,j]);const n=React.useMemo(()=>{if(!k){return}return{DropdownIndicator:a=>{return jsxRuntime.jsx(ReactSelect.components.DropdownIndicator,{...a,children:jsxRuntime.jsx(Icon,{...k})})}}},[k]);return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:a,children:jsxRuntime.jsx(ReactSelect__default["default"],{components:n,isDisabled:a,styles:m,options:f,...l,ref:c})})});const inner="mc6f30f899_inner";var styles$1={inner};const List=React__default["default"].forwardRef((a,b)=>{const{style:c,responsiveVisibility:d,isPreview:e,...f}=a;return jsxRuntime.jsx(VisibilityComponent,{visibility:d,isPreview:e,children:jsxRuntime.jsx("div",{style:c,ref:b,children:jsxRuntime.jsx(antd.List,{className:styles$1.inner,...f})})})});function isWrap(a){return typeof a==="string"&&["wrap","wrap-reverse"].includes(a)||a===true}const RadioWrapper=styled__default["default"].div`
|
30
30
|
.jitera-radio-inner {
|
31
31
|
border-color: ${a=>a.inactiveColor||a.theme.primaryColor};
|
32
32
|
}
|
@@ -47,7 +47,7 @@
|
|
47
47
|
.jitera-radio-wrapper span:last-child {
|
48
48
|
${a=>a.labelStyle}
|
49
49
|
}
|
50
|
-
`;const Radio=React__default["default"].forwardRef((c,d)=>{const{data:a,spaceProps:e,isPreview:b,responsiveVisibility:f,activeColor:g,inactiveColor:h,labelStyle:i,direction:j
|
50
|
+
`;const Radio=React__default["default"].forwardRef((c,d)=>{const{data:a,spaceProps:e,isPreview:b,responsiveVisibility:f,activeColor:g,inactiveColor:h,labelStyle:i,direction:j,containerStyle:k={},wrap:l="wrap",...m}=c;const n=React.useMemo(()=>{return{...e,wrap:isWrap(l)}},[l,e]);const o=React.useMemo(()=>{return isStyleObject(k)?{style:k}:{className:getClasses(k)}},[k]);return jsxRuntime.jsx(VisibilityComponent,{visibility:f,isPreview:b,children:jsxRuntime.jsx(RadioWrapper,{activeColor:g,inactiveColor:h,labelStyle:i,...o,children:jsxRuntime.jsx(antd.Radio.Group,{disabled:b,...m,ref:d,children:jsxRuntime.jsx(antd.Space,{direction:j,...n,children:a===null||a===void 0?void 0:a.map(a=>jsxRuntime.jsx(antd.Radio,{value:a.value,...a,children:a.label},a.value))})})})})});const textarea="mc68e5c85d_textarea";var styles={textarea};const TextArea=React__default["default"].forwardRef((c,d)=>{const{style:e={},inputStyle:f={},errorMessage:a,responsiveVisibility:g,isPreview:b,className:h,...i}=c;const j=React.useMemo(()=>{return isStyleObject(f)?{style:f,className:styles.textarea}:{className:getClasses(styles.textarea,f)}},[f]);return jsxRuntime.jsx(VisibilityComponent,{visibility:g,isPreview:b,children:jsxRuntime.jsxs("div",{style:e,className:getClasses(styles.container,h||""),ref:d,children:[jsxRuntime.jsx(antd.Input.TextArea,{...j,disabled:b,...i}),!!a&&jsxRuntime.jsx(Text,{type:"danger",children:a})]})})});const CheckboxWrapper=styled__default["default"].div`
|
51
51
|
&& {
|
52
52
|
.jitera-checkbox-inner {
|
53
53
|
border-color: ${a=>a.inactiveColor||a.theme.primaryColor};
|
@@ -72,4 +72,4 @@
|
|
72
72
|
${a=>a.labelStyle}
|
73
73
|
}
|
74
74
|
}
|
75
|
-
`;const Checkbox=React__default["default"].forwardRef((c,d)=>{const{data:a,spaceProps:e,isPreview:b,responsiveVisibility:f,activeColor:g,inactiveColor:h,checkColor:i,labelStyle:j,direction:k,...l}=c;return jsxRuntime.jsx(VisibilityComponent,{visibility:f,isPreview:b,children:jsxRuntime.jsx(CheckboxWrapper,{activeColor:g,inactiveColor:h,labelStyle:j,checkColor:i,children:jsxRuntime.jsx(antd.Checkbox.Group,{disabled:b,...l,ref:d,children:jsxRuntime.jsx(antd.Space,{direction:k,...e,children:a===null||a===void 0?void 0:a.map(a=>jsxRuntime.jsx(antd.Checkbox,{...a,children:a.label}))})})})})});const ImagePicker=React__default["default"].forwardRef((c,d)=>{const{children:e,isPreview:a,responsiveVisibility:f,errorMessage:b,...g}=c;return jsxRuntime.jsx(VisibilityComponent,{visibility:f,isPreview:a,children:jsxRuntime.jsxs("div",{ref:d,children:[jsxRuntime.jsx(antd.Upload,{disabled:a,listType:"picture",...g,children:e}),!!b&&jsxRuntime.jsx(Text,{type:"danger",children:b})]})})});exports.PickerEnum=void 0;(function(a){a["TIME"]="time";a["DATE"]="date";a["WEEK"]="week";a["MONTH"]="month"})(exports.PickerEnum||(exports.PickerEnum={}));const AntDatePicker=generatePicker__default["default"](dayjsGenerateConfig__default["default"]);const DateTimePicker=React__default["default"].forwardRef((c,d)=>{const{isPreview:a,responsiveVisibility:e,picker:f="date",errorMessage:b,...g}=c;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:a,children:jsxRuntime.jsxs("div",{ref:d,children:[jsxRuntime.jsx(AntDatePicker,{disabled:a,picker:f,...g}),!!b&&jsxRuntime.jsx(Text,{type:"danger",style:{display:"block"},children:b})]})})});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})})};exports.OTPInputType=void 0;(function(a){a["Box"]="box";a["Underline"]="underline"})(exports.OTPInputType||(exports.OTPInputType={}));const OTPInput=React__default["default"].forwardRef((g,h)=>{const{isPreview:i,pinCount:j=4,autoFocus:k,errorMessage:c,style:l={},cellTextStyle:a={},cellStyle:b={},otpInputType:m="box",...n}=g;const{theme:d}=useTheme();let e={};if(m===exports.OTPInputType.Underline){e={borderLeft:"unset",borderRight:"unset",borderTop:"unset"}}let f="";if(isStyleObject(b)&&isStyleObject(a)){f={width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${d.borderWidthBase} solid ${d.borderColorBase}`,...b,...a,...e}}return jsxRuntime.jsxs("div",{ref:h,children:[jsxRuntime.jsx(OtpInput__default["default"],{isDisabled:i,...n,numInputs:j,shouldAutoFocus:k,containerStyle:l,inputStyle:f,className:getClasses(b,a)}),!!c&&jsxRuntime.jsx(Text,{type:"danger",children:c})]})});exports.Box=Box;exports.Button=Button;exports.Checkbox=Checkbox;exports.Col=Col;exports.Content=Content;exports.DateTimePicker=DateTimePicker;exports.Footer=Footer;exports.Form=Form;exports.Header=Header;exports.Icon=Icon;exports.Image=Image;exports.ImagePicker=ImagePicker;exports.Input=Input;exports.Layout=Layout;exports.List=List;exports.Menu=Menu;exports.MenuItem=MenuItem;exports.OTPInput=OTPInput;exports.Page=Page;exports.Radio=Radio;exports.Row=Row;exports.Select=Select;exports.Sider=Sider;exports.SubMenu=SubMenu;exports.Text=Text;exports.TextArea=TextArea;exports.ThemeProvider=ThemeProvider;exports.assertUnreachable=assertUnreachable;exports.defaultTheme=defaultTheme;exports.getIconComponent=getIconComponent;exports.getIconSet=getIconSet;exports.useTheme=useTheme
|
75
|
+
`;const Checkbox=React__default["default"].forwardRef((c,d)=>{const{data:a,wrap:e="wrap",spaceProps:f,isPreview:b,responsiveVisibility:g,containerStyle:h={},activeColor:i,inactiveColor:j,checkColor:k,labelStyle:l,direction:m,...n}=c;const o=React.useMemo(()=>{return{...f,wrap:isWrap(e)}},[e,f]);const p=React.useMemo(()=>{return isStyleObject(h)?{style:h}:{className:getClasses(h)}},[h]);return jsxRuntime.jsx(VisibilityComponent,{visibility:g,isPreview:b,children:jsxRuntime.jsx(CheckboxWrapper,{activeColor:i,inactiveColor:j,checkColor:k,labelStyle:l,...p,children:jsxRuntime.jsx(antd.Checkbox.Group,{disabled:b,...n,ref:d,children:jsxRuntime.jsx(antd.Space,{direction:m,...o,children:a===null||a===void 0?void 0:a.map(a=>jsxRuntime.jsx(antd.Checkbox,{...a,children:a.label}))})})})})});const ImagePicker=React__default["default"].forwardRef((c,d)=>{const{children:e,isPreview:a,responsiveVisibility:f,errorMessage:b,...g}=c;return jsxRuntime.jsx(VisibilityComponent,{visibility:f,isPreview:a,children:jsxRuntime.jsxs("div",{ref:d,children:[jsxRuntime.jsx(antd.Upload,{disabled:a,listType:"picture",...g,children:e}),!!b&&jsxRuntime.jsx(Text,{type:"danger",children:b})]})})});exports.PickerEnum=void 0;(function(a){a["TIME"]="time";a["DATE"]="date";a["WEEK"]="week";a["MONTH"]="month"})(exports.PickerEnum||(exports.PickerEnum={}));const AntDatePicker=generatePicker__default["default"](dayjsGenerateConfig__default["default"]);const DateTimePicker=React__default["default"].forwardRef((c,d)=>{const{isPreview:a,responsiveVisibility:e,picker:f="date",errorMessage:b,...g}=c;return jsxRuntime.jsx(VisibilityComponent,{visibility:e,isPreview:a,children:jsxRuntime.jsxs("div",{ref:d,children:[jsxRuntime.jsx(AntDatePicker,{disabled:a,picker:f,...g}),!!b&&jsxRuntime.jsx(Text,{type:"danger",style:{display:"block"},children:b})]})})});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})})};exports.OTPInputType=void 0;(function(a){a["Box"]="box";a["Underline"]="underline"})(exports.OTPInputType||(exports.OTPInputType={}));const OTPInput=React__default["default"].forwardRef((g,h)=>{const{isPreview:i,pinCount:j=4,autoFocus:k,errorMessage:c,style:l={},cellTextStyle:a={},cellStyle:b={},otpInputType:m="box",...n}=g;const{theme:d}=useTheme();let e={};if(m===exports.OTPInputType.Underline){e={borderLeft:"unset",borderRight:"unset",borderTop:"unset"}}let f="";if(isStyleObject(b)&&isStyleObject(a)){f={width:"3rem",height:"3rem",marginRight:"1rem",fontSize:"1.5rem",borderRadius:4,border:`${d.borderWidthBase} solid ${d.borderColorBase}`,...b,...a,...e}}return jsxRuntime.jsxs("div",{ref:h,children:[jsxRuntime.jsx(OtpInput__default["default"],{isDisabled:i,...n,numInputs:j,shouldAutoFocus:k,containerStyle:l,inputStyle:f,className:getClasses(b,a)}),!!c&&jsxRuntime.jsx(Text,{type:"danger",children:c})]})});exports.Box=Box;exports.Button=Button;exports.Checkbox=Checkbox;exports.Col=Col;exports.Content=Content;exports.DateTimePicker=DateTimePicker;exports.Footer=Footer;exports.Form=Form;exports.Header=Header;exports.Icon=Icon;exports.Image=Image;exports.ImagePicker=ImagePicker;exports.Input=Input;exports.Layout=Layout;exports.List=List;exports.Menu=Menu;exports.MenuItem=MenuItem;exports.OTPInput=OTPInput;exports.Page=Page;exports.Radio=Radio;exports.Row=Row;exports.Select=Select;exports.Sider=Sider;exports.SubMenu=SubMenu;exports.Text=Text;exports.TextArea=TextArea;exports.ThemeProvider=ThemeProvider;exports.assertUnreachable=assertUnreachable;exports.defaultTheme=defaultTheme;exports.getIconComponent=getIconComponent;exports.getIconSet=getIconSet;exports.useTheme=useTheme
|