@pnkx-lib/ui 1.9.111 → 1.9.112
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/style.css +1 -1
- package/es/chunks/{AntdIcon-BieAEmv5.js → AntdIcon-CtaI55qk.js} +30 -44
- package/es/chunks/{BreadcrumbHeading-DpM9hd8m.js → BreadcrumbHeading-Bb9JwHgb.js} +26 -44
- package/es/chunks/{Switch-Du0Cd62n.js → Switch-CigYj8FF.js} +1 -1
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +1 -1
- package/types/fields.d.ts +13 -13
- package/types/index.d.ts +48 -48
- package/types/ui.d.ts +36 -36
package/dist/style.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(.577 .245 27.325);--color-blue-500:oklch(.623 .214 259.815);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-500:oklch(.551 .027 264.364);--color-gray-700:oklch(.373 .034 259.733);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!collapse{visibility:collapse!important}.\!visible{visibility:visible!important}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-1\/19{top:5.26316%}.top-\[-40px\]{top:-40px}.right-0{right:calc(var(--spacing)*0)}.bottom-1\/100{bottom:1%}.bottom-\[-40px\]{bottom:-40px}.left-1\/2{left:50%}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-\[100\]{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.\!my-5{margin-block:calc(var(--spacing)*5)!important}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-\[15px\]{margin-top:15px}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-8{margin-right:calc(var(--spacing)*8)}.\!mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.\!ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-5{margin-left:calc(var(--spacing)*5)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-35{margin-left:calc(var(--spacing)*35)}.ml-\[3rem\]{margin-left:3rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:calc(var(--spacing)*0)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-6{min-height:calc(var(--spacing)*6)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-16{width:calc(var(--spacing)*16)}.w-17{width:calc(var(--spacing)*17)}.w-20{width:calc(var(--spacing)*20)}.w-60{width:calc(var(--spacing)*60)}.w-80{width:calc(var(--spacing)*80)}.w-\[15\%\]{width:15%}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-8{max-width:calc(var(--spacing)*8)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-screen-2xl{max-width:var(--breakpoint-2xl)}.max-w-screen-lg{max-width:var(--breakpoint-lg)}.max-w-screen-md{max-width:var(--breakpoint-md)}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-8{min-width:calc(var(--spacing)*8)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[110\%\]{--tw-translate-y:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-5{row-gap:calc(var(--spacing)*5)}.overflow-y-auto{overflow-y:auto}.\!rounded-3xl{border-radius:var(--radius-3xl)!important}.\!rounded-\[8px\]{border-radius:8px!important}.\!rounded-full{border-radius:3.40282e38px!important}.rounded-\[12px\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t-1{border-top-style:var(--tw-border-style);border-top-width:1px}.\!border-b-1{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.\!border-none{--tw-border-style:none!important;border-style:none!important}.\!border-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.\!border-\[\#FFCDC9\]{border-color:#ffcdc9!important}.\!border-\[white\]{border-color:#fff!important}.border-\[\#BDE3FF\]{border-color:#bde3ff}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.\!bg-\[\#E5F4FF\]{background-color:#e5f4ff!important}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#001523\]{background-color:#001523}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\[10px\]{padding-inline:10px}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-3\.5{padding-right:calc(var(--spacing)*3.5)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-\[15px\]{padding-bottom:15px}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!text-\[12px\]{font-size:12px!important}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.\!font-light{--tw-font-weight:var(--font-weight-light)!important;font-weight:var(--font-weight-light)!important}.\!font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#4D4D57\]{color:#4d4d57!important}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[\#DD4338\]{color:#dd4338!important}.\!text-\[\#E0E0E0\]{color:#e0e0e0!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-\[\#B2B7C2\]{color:#b2b7c2}.text-\[\#FFFFFF\]{color:#fff}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#F5F6F7\]:hover{background-color:#f5f6f7}.hover\:bg-\[\#FFFFFF\]:hover{background-color:#fff}.hover\:text-black:hover{color:var(--color-black)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:left-40{left:calc(var(--spacing)*40)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:left-48{left:calc(var(--spacing)*48)}}@media (min-width:64rem){.lg\:left-85{left:calc(var(--spacing)*85)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.scrollbar-hidden::-webkit-scrollbar{display:none}.scrollbar-hidden{-ms-overflow-style:none;scrollbar-width:none}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}.containerSearchSelect :global(.ant-select-selector){border-radius:100px;border-color:#bde3ff!important}.inputSearchKey :global(.ant-input-clear-icon){color:#e7f0ff}.customBadge{background-color:#eeeef0!important}.customBadge :global(.ant-badge-count){color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadge .ant-badge-count{color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadgeActive{background-color:#bde3ff!important}.customBadgeActive .ant-badge-count{font-weight:500;color:#0f1d40!important;box-shadow:none!important;background:0 0!important}.customContainButtonIcon .ant-btn-icon{height:18px}.ant-table-cell:before{display:none!important}.ant-table-thead .ant-table-cell{font-weight:500;background-color:#d6e6fe!important;border-start-start-radius:0!important;border-start-end-radius:0!important}.ant-table-thead th.ant-table-column-has-sorters:hover{background-color:#d6e6fe}.ant-table-row.table-row-even{background-color:#f7f7f8}.ant-table-row.table-row-odd{background-color:#fff}.ant-table-cell-row-hover{cursor:pointer;background-color:#e7f0ff!important}.ant-table-body{scrollbar-width:auto;scrollbar-color:auto}.ant-table-body::-webkit-scrollbar{width:8px}.ant-table-body::-webkit-scrollbar-track{background-color:#e1e6e6}.ant-table-body::-webkit-scrollbar-thumb{background-color:#a8caff;border-radius:6px}.ant-table-body::-webkit-scrollbar-thumb:hover{background-color:#598cf4;border-radius:6px}.ant-select-outlined.ant-select-multiple .ant-select-selection-item{gap:4px;display:flex;background-color:#bde3ff!important;padding:1px 8px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(57.7% .245 27.325);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!collapse{visibility:collapse!important}.\!visible{visibility:visible!important}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-1\/19{top:5.26316%}.top-\[-40px\]{top:-40px}.right-0{right:calc(var(--spacing)*0)}.bottom-1\/100{bottom:1%}.bottom-\[-40px\]{bottom:-40px}.left-1\/2{left:50%}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-\[100\]{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.\!my-5{margin-block:calc(var(--spacing)*5)!important}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-\[15px\]{margin-top:15px}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-8{margin-right:calc(var(--spacing)*8)}.\!mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.\!ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-5{margin-left:calc(var(--spacing)*5)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-35{margin-left:calc(var(--spacing)*35)}.ml-\[3rem\]{margin-left:3rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:calc(var(--spacing)*0)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-6{min-height:calc(var(--spacing)*6)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-16{width:calc(var(--spacing)*16)}.w-17{width:calc(var(--spacing)*17)}.w-20{width:calc(var(--spacing)*20)}.w-60{width:calc(var(--spacing)*60)}.w-80{width:calc(var(--spacing)*80)}.w-\[15\%\]{width:15%}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-8{max-width:calc(var(--spacing)*8)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-screen-2xl{max-width:var(--breakpoint-2xl)}.max-w-screen-lg{max-width:var(--breakpoint-lg)}.max-w-screen-md{max-width:var(--breakpoint-md)}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-8{min-width:calc(var(--spacing)*8)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[110\%\]{--tw-translate-y:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-5{row-gap:calc(var(--spacing)*5)}.overflow-y-auto{overflow-y:auto}.\!rounded-3xl{border-radius:var(--radius-3xl)!important}.\!rounded-\[8px\]{border-radius:8px!important}.\!rounded-full{border-radius:3.40282e38px!important}.rounded-\[12px\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t-1{border-top-style:var(--tw-border-style);border-top-width:1px}.\!border-b-1{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.\!border-none{--tw-border-style:none!important;border-style:none!important}.\!border-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.\!border-\[\#FFCDC9\]{border-color:#ffcdc9!important}.\!border-\[white\]{border-color:#fff!important}.border-\[\#BDE3FF\]{border-color:#bde3ff}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.\!bg-\[\#E5F4FF\]{background-color:#e5f4ff!important}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#001523\]{background-color:#001523}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\[10px\]{padding-inline:10px}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-3\.5{padding-right:calc(var(--spacing)*3.5)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-\[15px\]{padding-bottom:15px}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!text-\[12px\]{font-size:12px!important}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.\!font-light{--tw-font-weight:var(--font-weight-light)!important;font-weight:var(--font-weight-light)!important}.\!font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#4D4D57\]{color:#4d4d57!important}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[\#DD4338\]{color:#dd4338!important}.\!text-\[\#E0E0E0\]{color:#e0e0e0!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-\[\#B2B7C2\]{color:#b2b7c2}.text-\[\#FFFFFF\]{color:#fff}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#F5F6F7\]:hover{background-color:#f5f6f7}.hover\:bg-\[\#FFFFFF\]:hover{background-color:#fff}.hover\:text-black:hover{color:var(--color-black)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:left-40{left:calc(var(--spacing)*40)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:left-48{left:calc(var(--spacing)*48)}}@media (min-width:64rem){.lg\:left-85{left:calc(var(--spacing)*85)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.scrollbar-hidden::-webkit-scrollbar{display:none}.scrollbar-hidden{-ms-overflow-style:none;scrollbar-width:none}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}.containerSearchSelect :global(.ant-select-selector){border-radius:100px;border-color:#bde3ff!important}.inputSearchKey :global(.ant-input-clear-icon){color:#e7f0ff}.customBadge{background-color:#eeeef0!important}.customBadge :global(.ant-badge-count){color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadge .ant-badge-count{color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadgeActive{background-color:#bde3ff!important}.customBadgeActive .ant-badge-count{font-weight:500;color:#0f1d40!important;box-shadow:none!important;background:0 0!important}.customContainButtonIcon .ant-btn-icon{height:18px}.ant-table-cell:before{display:none!important}.ant-table-thead .ant-table-cell{font-weight:500;background-color:#d6e6fe!important;border-start-start-radius:0!important;border-start-end-radius:0!important}.ant-table-thead th.ant-table-column-has-sorters:hover{background-color:#d6e6fe}.ant-table-row.table-row-even{background-color:#f7f7f8}.ant-table-row.table-row-odd{background-color:#fff}.ant-table-cell-row-hover{cursor:pointer;background-color:#e7f0ff!important}.ant-table-body{scrollbar-width:auto;scrollbar-color:auto}.ant-table-body::-webkit-scrollbar{width:8px}.ant-table-body::-webkit-scrollbar-track{background-color:#e1e6e6}.ant-table-body::-webkit-scrollbar-thumb{background-color:#a8caff;border-radius:6px}.ant-table-body::-webkit-scrollbar-thumb:hover{background-color:#598cf4;border-radius:6px}.ant-select-outlined.ant-select-multiple .ant-select-selection-item{gap:4px;display:flex;background-color:#bde3ff!important;padding:1px 8px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
@@ -1572,8 +1572,6 @@ var getProxyFormState = (formState, control, localProxyFormState, isRoot = true)
|
|
1572
1572
|
return result;
|
1573
1573
|
};
|
1574
1574
|
|
1575
|
-
const useIsomorphicLayoutEffect$1 = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
1576
|
-
|
1577
1575
|
/**
|
1578
1576
|
* This custom hook allows you to subscribe to each form state, and isolate the re-render at the custom hook level. It has its scope in terms of form state subscription, so it would not affect other useFormState and useForm. Using this hook can reduce the re-render impact on large and complex form application.
|
1579
1577
|
*
|
@@ -1618,8 +1616,10 @@ function useFormState(props) {
|
|
1618
1616
|
isValid: false,
|
1619
1617
|
errors: false,
|
1620
1618
|
});
|
1621
|
-
|
1622
|
-
|
1619
|
+
const _name = React__default.useRef(name);
|
1620
|
+
_name.current = name;
|
1621
|
+
React__default.useEffect(() => control._subscribe({
|
1622
|
+
name: _name.current,
|
1623
1623
|
formState: _localProxyFormState.current,
|
1624
1624
|
exact,
|
1625
1625
|
callback: (formState) => {
|
@@ -1629,7 +1629,7 @@ function useFormState(props) {
|
|
1629
1629
|
...formState,
|
1630
1630
|
});
|
1631
1631
|
},
|
1632
|
-
}), [
|
1632
|
+
}), [control, disabled, exact]);
|
1633
1633
|
React__default.useEffect(() => {
|
1634
1634
|
_localProxyFormState.current.isValid && control._setValid(true);
|
1635
1635
|
}, [control]);
|
@@ -1669,17 +1669,19 @@ var generateWatchOutput = (names, _names, formValues, isGlobal, defaultValue) =>
|
|
1669
1669
|
function useWatch(props) {
|
1670
1670
|
const methods = useFormContext();
|
1671
1671
|
const { control = methods.control, name, defaultValue, disabled, exact, } = props || {};
|
1672
|
+
const _name = React__default.useRef(name);
|
1672
1673
|
const _defaultValue = React__default.useRef(defaultValue);
|
1673
|
-
|
1674
|
-
|
1675
|
-
name:
|
1674
|
+
_name.current = name;
|
1675
|
+
React__default.useEffect(() => control._subscribe({
|
1676
|
+
name: _name.current,
|
1676
1677
|
formState: {
|
1677
1678
|
values: true,
|
1678
1679
|
},
|
1679
1680
|
exact,
|
1680
1681
|
callback: (formState) => !disabled &&
|
1681
|
-
updateValue(generateWatchOutput(
|
1682
|
-
}), [
|
1682
|
+
updateValue(generateWatchOutput(_name.current, control._names, formState.values || control._formValues, false, _defaultValue.current)),
|
1683
|
+
}), [control, disabled, exact]);
|
1684
|
+
const [value, updateValue] = React__default.useState(control._getWatch(name, defaultValue));
|
1683
1685
|
React__default.useEffect(() => control._removeUnmounted());
|
1684
1686
|
return value;
|
1685
1687
|
}
|
@@ -2495,7 +2497,6 @@ function createFormControl(props = {}) {
|
|
2495
2497
|
let _formState = {
|
2496
2498
|
submitCount: 0,
|
2497
2499
|
isDirty: false,
|
2498
|
-
isReady: false,
|
2499
2500
|
isLoading: isFunction$1(_options.defaultValues),
|
2500
2501
|
isValidating: false,
|
2501
2502
|
isSubmitted: false,
|
@@ -2510,7 +2511,7 @@ function createFormControl(props = {}) {
|
|
2510
2511
|
};
|
2511
2512
|
const _fields = {};
|
2512
2513
|
let _defaultValues = isObject(_options.defaultValues) || isObject(_options.values)
|
2513
|
-
? cloneObject(_options.
|
2514
|
+
? cloneObject(_options.values || _options.defaultValues) || {}
|
2514
2515
|
: {};
|
2515
2516
|
let _formValues = _options.shouldUnregister
|
2516
2517
|
? {}
|
@@ -3561,7 +3562,6 @@ function useForm(props = {}) {
|
|
3561
3562
|
validatingFields: {},
|
3562
3563
|
errors: props.errors || {},
|
3563
3564
|
disabled: props.disabled || false,
|
3564
|
-
isReady: false,
|
3565
3565
|
defaultValues: isFunction$1(props.defaultValues)
|
3566
3566
|
? undefined
|
3567
3567
|
: props.defaultValues,
|
@@ -3579,37 +3579,12 @@ function useForm(props = {}) {
|
|
3579
3579
|
}
|
3580
3580
|
const control = _formControl.current.control;
|
3581
3581
|
control._options = props;
|
3582
|
-
|
3583
|
-
|
3584
|
-
|
3585
|
-
|
3586
|
-
|
3587
|
-
});
|
3588
|
-
updateFormState((data) => ({
|
3589
|
-
...data,
|
3590
|
-
isReady: true,
|
3591
|
-
}));
|
3592
|
-
control._formState.isReady = true;
|
3593
|
-
return sub;
|
3594
|
-
}, [control]);
|
3582
|
+
React__default.useLayoutEffect(() => control._subscribe({
|
3583
|
+
formState: control._proxyFormState,
|
3584
|
+
callback: () => updateFormState({ ...control._formState }),
|
3585
|
+
reRenderRoot: true,
|
3586
|
+
}), [control]);
|
3595
3587
|
React__default.useEffect(() => control._disableForm(props.disabled), [control, props.disabled]);
|
3596
|
-
React__default.useEffect(() => {
|
3597
|
-
if (props.mode) {
|
3598
|
-
control._options.mode = props.mode;
|
3599
|
-
}
|
3600
|
-
if (props.reValidateMode) {
|
3601
|
-
control._options.reValidateMode = props.reValidateMode;
|
3602
|
-
}
|
3603
|
-
if (props.errors && !isEmptyObject(props.errors)) {
|
3604
|
-
control._setErrors(props.errors);
|
3605
|
-
}
|
3606
|
-
}, [control, props.errors, props.mode, props.reValidateMode]);
|
3607
|
-
React__default.useEffect(() => {
|
3608
|
-
props.shouldUnregister &&
|
3609
|
-
control._subjects.state.next({
|
3610
|
-
values: control._getWatch(),
|
3611
|
-
});
|
3612
|
-
}, [control, props.shouldUnregister]);
|
3613
3588
|
React__default.useEffect(() => {
|
3614
3589
|
if (control._proxyFormState.isDirty) {
|
3615
3590
|
const isDirty = control._getDirty();
|
@@ -3629,7 +3604,12 @@ function useForm(props = {}) {
|
|
3629
3604
|
else {
|
3630
3605
|
control._resetDefaultValues();
|
3631
3606
|
}
|
3632
|
-
}, [
|
3607
|
+
}, [props.values, control]);
|
3608
|
+
React__default.useEffect(() => {
|
3609
|
+
if (props.errors && !isEmptyObject(props.errors)) {
|
3610
|
+
control._setErrors(props.errors);
|
3611
|
+
}
|
3612
|
+
}, [props.errors, control]);
|
3633
3613
|
React__default.useEffect(() => {
|
3634
3614
|
if (!control._state.mount) {
|
3635
3615
|
control._setValid();
|
@@ -3641,6 +3621,12 @@ function useForm(props = {}) {
|
|
3641
3621
|
}
|
3642
3622
|
control._removeUnmounted();
|
3643
3623
|
});
|
3624
|
+
React__default.useEffect(() => {
|
3625
|
+
props.shouldUnregister &&
|
3626
|
+
control._subjects.state.next({
|
3627
|
+
values: control._getWatch(),
|
3628
|
+
});
|
3629
|
+
}, [props.shouldUnregister, control]);
|
3644
3630
|
_formControl.current.formState = getProxyFormState(formState, control);
|
3645
3631
|
return _formControl.current;
|
3646
3632
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { j as jsxRuntimeExports, c as Icon, _ as _extends, e as _typeof, P as PnkxField, C as CheckboxField, t as twMerge, u as useForm, d as className, l as lodashExports, f as commonjsGlobal, h as _arrayLikeToArray, i as _unsupportedIterableToArray, w as warningOnce, k as _createClass, m as _classCallCheck, n as _defineProperty, o as _slicedToArray, p as warning$1, q as canUseDom, r as _objectSpread2, s as updateCSS, v as removeCSS, x as _arrayWithHoles, y as _nonIterableRest, z as resetWarned$1, F as FastColor, A as generate, B as presetPrimaryColors, G as presetPalettes, H as _inherits, J as _createSuper, K as _assertThisInitialized, M as _objectWithoutProperties, N as IconContext, I as Input } from './AntdIcon-
|
1
|
+
import { j as jsxRuntimeExports, c as Icon, _ as _extends, e as _typeof, P as PnkxField, C as CheckboxField, t as twMerge, u as useForm, d as className, l as lodashExports, f as commonjsGlobal, h as _arrayLikeToArray, i as _unsupportedIterableToArray, w as warningOnce, k as _createClass, m as _classCallCheck, n as _defineProperty, o as _slicedToArray, p as warning$1, q as canUseDom, r as _objectSpread2, s as updateCSS, v as removeCSS, x as _arrayWithHoles, y as _nonIterableRest, z as resetWarned$1, F as FastColor, A as generate, B as presetPrimaryColors, G as presetPalettes, H as _inherits, J as _createSuper, K as _assertThisInitialized, M as _objectWithoutProperties, N as IconContext, I as Input } from './AntdIcon-CtaI55qk.js';
|
2
2
|
import { Button as Button$1, Cascader, Modal as Modal$1, Badge as Badge$1, Breadcrumb as Breadcrumb$1, Tooltip as Tooltip$1, Divider as Divider$2, Table as Table$1, Tabs as Tabs$1, Space as Space$1, Card, Skeleton as Skeleton$1, Popover as Popover$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Flex as Flex$1, Splitter as Splitter$1, Menu as Menu$1, Pagination as Pagination$1, Steps as Steps$1, Tag as Tag$1, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, Popconfirm as Popconfirm$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1, Typography, Watermark as Watermark$1, Anchor as Anchor$1, Affix, AutoComplete as AutoComplete$1, Input as Input$1, Collapse, ColorPicker, Empty as Empty$2, Image as Image$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import React__default, { version as version$1, isValidElement, useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useMemo as useMemo$1, useCallback, useState, createContext, memo, useReducer, useContext, Component } from 'react';
|
@@ -9614,7 +9614,7 @@ function genStyleUtils(config) {
|
|
9614
9614
|
};
|
9615
9615
|
}
|
9616
9616
|
|
9617
|
-
const version = '5.
|
9617
|
+
const version = '5.24.7';
|
9618
9618
|
|
9619
9619
|
function isStableColor(color) {
|
9620
9620
|
return color >= 0 && color <= 255;
|
@@ -11480,23 +11480,6 @@ function toArray(children) {
|
|
11480
11480
|
return ret;
|
11481
11481
|
}
|
11482
11482
|
|
11483
|
-
const addMediaQueryListener = (mql, handler) => {
|
11484
|
-
// Don't delete here, please keep the code compatible
|
11485
|
-
if (typeof (mql === null || mql === void 0 ? void 0 : mql.addEventListener) !== 'undefined') {
|
11486
|
-
mql.addEventListener('change', handler);
|
11487
|
-
} else if (typeof (mql === null || mql === void 0 ? void 0 : mql.addListener) !== 'undefined') {
|
11488
|
-
mql.addListener(handler);
|
11489
|
-
}
|
11490
|
-
};
|
11491
|
-
const removeMediaQueryListener = (mql, handler) => {
|
11492
|
-
// Don't delete here, please keep the code compatible
|
11493
|
-
if (typeof (mql === null || mql === void 0 ? void 0 : mql.removeEventListener) !== 'undefined') {
|
11494
|
-
mql.removeEventListener('change', handler);
|
11495
|
-
} else if (typeof (mql === null || mql === void 0 ? void 0 : mql.removeListener) !== 'undefined') {
|
11496
|
-
mql.removeListener(handler);
|
11497
|
-
}
|
11498
|
-
};
|
11499
|
-
|
11500
11483
|
const genLayoutStyle = token => {
|
11501
11484
|
const {
|
11502
11485
|
antCls,
|
@@ -11799,17 +11782,29 @@ const Sider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11799
11782
|
};
|
11800
11783
|
useEffect(() => {
|
11801
11784
|
function responsiveHandler(mql) {
|
11802
|
-
|
11803
|
-
return (_a = responsiveHandlerRef.current) === null || _a === void 0 ? void 0 : _a.call(responsiveHandlerRef, mql);
|
11785
|
+
return responsiveHandlerRef.current(mql);
|
11804
11786
|
}
|
11805
11787
|
let mql;
|
11806
|
-
if (typeof
|
11807
|
-
|
11808
|
-
|
11809
|
-
|
11788
|
+
if (typeof window !== 'undefined') {
|
11789
|
+
const {
|
11790
|
+
matchMedia
|
11791
|
+
} = window;
|
11792
|
+
if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {
|
11793
|
+
mql = matchMedia(`screen and (max-width: ${dimensionMaxMap[breakpoint]})`);
|
11794
|
+
try {
|
11795
|
+
mql.addEventListener('change', responsiveHandler);
|
11796
|
+
} catch (_a) {
|
11797
|
+
mql.addListener(responsiveHandler);
|
11798
|
+
}
|
11799
|
+
responsiveHandler(mql);
|
11800
|
+
}
|
11810
11801
|
}
|
11811
11802
|
return () => {
|
11812
|
-
|
11803
|
+
try {
|
11804
|
+
mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);
|
11805
|
+
} catch (_a) {
|
11806
|
+
mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);
|
11807
|
+
}
|
11813
11808
|
};
|
11814
11809
|
}, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.
|
11815
11810
|
useEffect(() => {
|
@@ -12606,23 +12601,10 @@ const AnchorLink = props => {
|
|
12606
12601
|
href
|
12607
12602
|
});
|
12608
12603
|
scrollTo === null || scrollTo === void 0 ? void 0 : scrollTo(href);
|
12609
|
-
|
12610
|
-
|
12611
|
-
|
12612
|
-
}
|
12613
|
-
const isExternalLink = href.startsWith('http://') || href.startsWith('https://');
|
12614
|
-
// Support external link
|
12615
|
-
if (isExternalLink) {
|
12616
|
-
if (replace) {
|
12617
|
-
e.preventDefault();
|
12618
|
-
window.location.replace(href);
|
12619
|
-
}
|
12620
|
-
return;
|
12604
|
+
if (replace) {
|
12605
|
+
e.preventDefault();
|
12606
|
+
window.location.replace(href);
|
12621
12607
|
}
|
12622
|
-
// Handling internal anchor link
|
12623
|
-
e.preventDefault();
|
12624
|
-
const historyMethod = replace ? 'replaceState' : 'pushState';
|
12625
|
-
window.history[historyMethod](null, '', href);
|
12626
12608
|
};
|
12627
12609
|
// =================== Warning =====================
|
12628
12610
|
if (process.env.NODE_ENV !== 'production') {
|
@@ -12830,9 +12812,9 @@ const ActionRowTable = ({
|
|
12830
12812
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
12831
12813
|
Button,
|
12832
12814
|
{
|
12833
|
-
onClick:
|
12815
|
+
onClick: toggleDelete,
|
12834
12816
|
type: "text",
|
12835
|
-
className: "cursor-pointer
|
12817
|
+
className: "cursor-pointer",
|
12836
12818
|
shape: "circle",
|
12837
12819
|
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(DeleteIcon, { fill: "#DD4338" })
|
12838
12820
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as get, j as jsxRuntimeExports, L as Label, t as twMerge, E as ErrorMessage, T as Typography, c as Icon, _ as _extends, d as className } from './AntdIcon-
|
1
|
+
import { g as get, j as jsxRuntimeExports, L as Label, t as twMerge, E as ErrorMessage, T as Typography, c as Icon, _ as _extends, d as className } from './AntdIcon-CtaI55qk.js';
|
2
2
|
import { Select as Select$1, Radio, Upload, Image, Switch as Switch$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import { useState } from 'react';
|
package/es/fields/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, b as TinyMCE } from '../chunks/AntdIcon-
|
2
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-
|
1
|
+
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, b as TinyMCE } from '../chunks/AntdIcon-CtaI55qk.js';
|
2
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-CigYj8FF.js';
|
package/es/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a7 as BreadcrumbHeading, a6 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, a5 as TypeStatusTable, W as Watermark, t as typeColorMap } from './chunks/BreadcrumbHeading-
|
2
|
-
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/AntdIcon-
|
1
|
+
export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a7 as BreadcrumbHeading, a6 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, a5 as TypeStatusTable, W as Watermark, t as typeColorMap } from './chunks/BreadcrumbHeading-Bb9JwHgb.js';
|
2
|
+
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/AntdIcon-CtaI55qk.js';
|
3
3
|
import 'react-router';
|
4
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-
|
4
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-CigYj8FF.js';
|
5
5
|
export { u as useToast } from './chunks/useToast-DL7nQTK1.js';
|
6
6
|
export { u as useMessage } from './chunks/useMessage-CADDGtSx.js';
|
package/es/ui/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a7 as BreadcrumbHeading, a6 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, a5 as TypeStatusTable, W as Watermark, t as typeColorMap } from '../chunks/BreadcrumbHeading-
|
2
|
-
export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/AntdIcon-
|
1
|
+
export { Y as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, a7 as BreadcrumbHeading, a6 as BulkActions, B as Button, C as CascaderField, X as CategoryStatus, f as Col, U as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, V as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, $ as PAGE_NUMBER, a0 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a1 as SORT_BY, a2 as SORT_DESC, Z as START_PAGE, _ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a3 as TypeActionRowTable, a4 as TypeBulkActions, a5 as TypeStatusTable, W as Watermark, t as typeColorMap } from '../chunks/BreadcrumbHeading-Bb9JwHgb.js';
|
2
|
+
export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/AntdIcon-CtaI55qk.js';
|
3
3
|
import 'react-router';
|
package/package.json
CHANGED
package/types/fields.d.ts
CHANGED
@@ -6,8 +6,8 @@ import { Dayjs } from 'dayjs';
|
|
6
6
|
import { default as default_2 } from 'react';
|
7
7
|
import { IAllProps } from '@tinymce/tinymce-react';
|
8
8
|
import { InputProps as InputProps_2 } from 'antd';
|
9
|
-
import { JSX
|
10
|
-
import { JSX as
|
9
|
+
import { JSX } from 'react/jsx-runtime';
|
10
|
+
import { JSX as JSX_2 } from 'react';
|
11
11
|
import { RadioGroupProps } from 'antd';
|
12
12
|
import { RangePickerProps } from 'antd/es/date-picker';
|
13
13
|
import * as React_2 from 'react';
|
@@ -20,7 +20,7 @@ import { UploadProps } from 'antd';
|
|
20
20
|
import { UseFormSetValue } from 'react-hook-form';
|
21
21
|
import { UseFormStateReturn } from 'react-hook-form';
|
22
22
|
|
23
|
-
export declare const CheckboxField: (props: CheckboxFieldProps) =>
|
23
|
+
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX.Element;
|
24
24
|
|
25
25
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
26
26
|
field?: ControllerRenderProps<any, any>;
|
@@ -53,9 +53,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
53
53
|
size?: TSize;
|
54
54
|
}
|
55
55
|
|
56
|
-
export declare const DatePickerField: (props: DatePickerDMYProps) =>
|
56
|
+
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX.Element;
|
57
57
|
|
58
|
-
export declare const Input: (props: InputProps) =>
|
58
|
+
export declare const Input: (props: InputProps) => JSX.Element;
|
59
59
|
|
60
60
|
export declare interface InputProps extends InputProps_2 {
|
61
61
|
field?: ControllerRenderProps<any, any>;
|
@@ -73,7 +73,7 @@ export declare interface InputProps extends InputProps_2 {
|
|
73
73
|
}
|
74
74
|
|
75
75
|
export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
|
76
|
-
render():
|
76
|
+
render(): JSX.Element;
|
77
77
|
}
|
78
78
|
|
79
79
|
export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
|
@@ -91,10 +91,10 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
|
|
91
91
|
type?: TInputNumberType;
|
92
92
|
prefix?: string;
|
93
93
|
suffix?: string;
|
94
|
-
helperText?: () =>
|
94
|
+
helperText?: () => JSX_2.Element | null;
|
95
95
|
}
|
96
96
|
|
97
|
-
export declare const RadioGroup: (props: RadioProps) =>
|
97
|
+
export declare const RadioGroup: (props: RadioProps) => JSX.Element;
|
98
98
|
|
99
99
|
export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
|
100
100
|
field?: ControllerRenderProps<any, any>;
|
@@ -107,7 +107,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
|
|
107
107
|
position?: TPositionRadio;
|
108
108
|
}
|
109
109
|
|
110
|
-
export declare const RangePickerField: (props: RangePickerFieldProps) =>
|
110
|
+
export declare const RangePickerField: (props: RangePickerFieldProps) => JSX.Element;
|
111
111
|
|
112
112
|
export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
|
113
113
|
field?: ControllerRenderProps<any, any>;
|
@@ -119,7 +119,7 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
119
119
|
customStyleDatePicker?: string;
|
120
120
|
}
|
121
121
|
|
122
|
-
export declare const Select: (props: SelectFieldProps) =>
|
122
|
+
export declare const Select: (props: SelectFieldProps) => JSX.Element;
|
123
123
|
|
124
124
|
export declare interface SelectFieldProps extends SelectProps {
|
125
125
|
field?: ControllerRenderProps<any, any>;
|
@@ -132,7 +132,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
132
132
|
classNameSelect?: string;
|
133
133
|
}
|
134
134
|
|
135
|
-
export declare const Switch: (props: SwitchProps) =>
|
135
|
+
export declare const Switch: (props: SwitchProps) => JSX.Element;
|
136
136
|
|
137
137
|
export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
|
138
138
|
field?: ControllerRenderProps<any, any>;
|
@@ -156,7 +156,7 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
|
|
156
156
|
declare type TInputNumberType = "number" | "money";
|
157
157
|
|
158
158
|
export declare const TinyMCE: {
|
159
|
-
(props: TinyProps):
|
159
|
+
(props: TinyProps): JSX.Element;
|
160
160
|
displayName: string;
|
161
161
|
};
|
162
162
|
|
@@ -180,7 +180,7 @@ declare type TPositionRadio = "before" | "after";
|
|
180
180
|
|
181
181
|
declare type TSize = "small" | "medium" | "large";
|
182
182
|
|
183
|
-
export declare const UploadField: (props: UploadFieldProps) =>
|
183
|
+
export declare const UploadField: (props: UploadFieldProps) => JSX.Element;
|
184
184
|
|
185
185
|
export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
|
186
186
|
field?: ControllerRenderProps<any, any>;
|
package/types/index.d.ts
CHANGED
@@ -43,8 +43,8 @@ import { IAllProps } from '@tinymce/tinymce-react';
|
|
43
43
|
import { ImageProps } from 'antd';
|
44
44
|
import { InitialFiltersSearch } from '@pnkx-lib/core';
|
45
45
|
import { InputProps as InputProps_2 } from 'antd';
|
46
|
-
import { JSX
|
47
|
-
import { JSX as
|
46
|
+
import { JSX } from 'react/jsx-runtime';
|
47
|
+
import { JSX as JSX_2 } from 'react';
|
48
48
|
import { MenuDividerProps } from 'antd/es/menu';
|
49
49
|
import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
|
50
50
|
import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
|
@@ -93,10 +93,10 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
93
93
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
94
94
|
import { TourProps as TourProps_2 } from 'antd';
|
95
95
|
import { TreeProps as TreeProps_2 } from 'antd';
|
96
|
-
import { TypeActionRowTable as TypeActionRowTable_2 } from '
|
97
|
-
import { TypeBulkActions as TypeBulkActions_2 } from '
|
98
|
-
import { TypeStatusTable as TypeStatusTable_2 } from '
|
99
|
-
import { TypeStatusTable as TypeStatusTable_3 } from '
|
96
|
+
import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../../src/constants/table';
|
97
|
+
import { TypeBulkActions as TypeBulkActions_2 } from '../../../../../../../../../../../../src/constants';
|
98
|
+
import { TypeStatusTable as TypeStatusTable_2 } from '../../../../../../../../../../../../src/constants';
|
99
|
+
import { TypeStatusTable as TypeStatusTable_3 } from '../../../../../../../../../../../../../../src/components/ui';
|
100
100
|
import { UploadFile } from 'antd';
|
101
101
|
import { UploadProps } from 'antd';
|
102
102
|
import { UseFormReset } from 'react-hook-form';
|
@@ -105,7 +105,7 @@ import { UseFormSetValue } from 'react-hook-form';
|
|
105
105
|
import { UseFormStateReturn } from 'react-hook-form';
|
106
106
|
import { WatermarkProps } from 'antd';
|
107
107
|
|
108
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
108
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
|
109
109
|
|
110
110
|
export declare interface ActionRowTableProps {
|
111
111
|
type: TypeActionRowTable_2;
|
@@ -125,7 +125,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
125
125
|
|
126
126
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
127
127
|
|
128
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
128
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
129
129
|
|
130
130
|
export declare interface AppfixProps extends AffixProps {
|
131
131
|
children: default_2.ReactNode;
|
@@ -135,7 +135,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
135
135
|
|
136
136
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
137
137
|
|
138
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
138
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX.Element;
|
139
139
|
|
140
140
|
export declare interface BadgeProps extends BadgeProps_2 {
|
141
141
|
type?: "error" | "info" | "success" | "warning";
|
@@ -205,9 +205,9 @@ declare type BaseProps_9 = {
|
|
205
205
|
spaceClassName?: string;
|
206
206
|
};
|
207
207
|
|
208
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
208
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX.Element;
|
209
209
|
|
210
|
-
export declare const BreadcrumbHeading: (props: BreadcrumbHeadingProps) =>
|
210
|
+
export declare const BreadcrumbHeading: (props: BreadcrumbHeadingProps) => JSX.Element;
|
211
211
|
|
212
212
|
export declare interface BreadcrumbHeadingProps {
|
213
213
|
menu: Array<MenuType>;
|
@@ -223,13 +223,13 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
|
|
223
223
|
|
224
224
|
export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
|
225
225
|
|
226
|
-
export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) =>
|
226
|
+
export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX.Element;
|
227
227
|
|
228
228
|
export declare const Button: default_2.FC<ButtonProps>;
|
229
229
|
|
230
230
|
export declare type ButtonProps = ButtonProps_2;
|
231
231
|
|
232
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
232
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
|
233
233
|
|
234
234
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
235
235
|
|
@@ -242,13 +242,13 @@ declare enum CATEGORY_LIST_ENUM {
|
|
242
242
|
DELETE = 5, // đã xóa
|
243
243
|
}
|
244
244
|
|
245
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
245
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
|
246
246
|
|
247
247
|
export declare interface CategoryStatusProps {
|
248
248
|
status: number;
|
249
249
|
}
|
250
250
|
|
251
|
-
export declare const CheckboxField: (props: CheckboxFieldProps) =>
|
251
|
+
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX.Element;
|
252
252
|
|
253
253
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
254
254
|
field?: ControllerRenderProps<any, any>;
|
@@ -260,7 +260,7 @@ export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChang
|
|
260
260
|
customStyleCheckbox?: string;
|
261
261
|
}
|
262
262
|
|
263
|
-
export declare const Col: (props: ColPropsUnion) =>
|
263
|
+
export declare const Col: (props: ColPropsUnion) => JSX.Element;
|
264
264
|
|
265
265
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
266
266
|
}
|
@@ -280,7 +280,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
280
280
|
ItemGroup: typeof ItemGroup;
|
281
281
|
};
|
282
282
|
|
283
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
283
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX.Element;
|
284
284
|
|
285
285
|
export declare interface ConfirmModalProps extends ModalProps {
|
286
286
|
title: string;
|
@@ -321,9 +321,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
321
321
|
size?: TSize;
|
322
322
|
}
|
323
323
|
|
324
|
-
export declare const DatePickerField: (props: DatePickerDMYProps) =>
|
324
|
+
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX.Element;
|
325
325
|
|
326
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
326
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
|
327
327
|
|
328
328
|
declare const Divider_2: FC<MenuDividerProps>;
|
329
329
|
|
@@ -331,14 +331,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
331
331
|
children?: ReactNode | string;
|
332
332
|
}
|
333
333
|
|
334
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
334
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX.Element;
|
335
335
|
|
336
336
|
export declare interface DrawerProps extends DrawerProps_2 {
|
337
337
|
children?: ReactNode;
|
338
338
|
onSubmit?: (values: any) => void;
|
339
339
|
}
|
340
340
|
|
341
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
341
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
|
342
342
|
|
343
343
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
344
344
|
|
@@ -372,7 +372,7 @@ export declare interface ErrorBoundaryState {
|
|
372
372
|
errorInfo: ErrorInfo | null;
|
373
373
|
}
|
374
374
|
|
375
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
375
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
376
376
|
|
377
377
|
export declare interface ErrorMessageProps {
|
378
378
|
errorMessage?: string;
|
@@ -385,7 +385,7 @@ declare type ExtraProps = {
|
|
385
385
|
menuClassName?: string;
|
386
386
|
};
|
387
387
|
|
388
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
388
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX.Element;
|
389
389
|
|
390
390
|
export declare type FlexProps = FlexProps_2;
|
391
391
|
|
@@ -397,7 +397,7 @@ declare interface GroupHeadingButtonItem {
|
|
397
397
|
isStatus: TypeStatusTable_3;
|
398
398
|
}
|
399
399
|
|
400
|
-
export declare const Heading: (props: HeadingProps) =>
|
400
|
+
export declare const Heading: (props: HeadingProps) => JSX.Element;
|
401
401
|
|
402
402
|
export declare interface HeadingProps {
|
403
403
|
rightContent?: ReactNode;
|
@@ -425,7 +425,7 @@ declare interface IBulkActionsProps {
|
|
425
425
|
declare const Image_2: React.FC<ImageProps>;
|
426
426
|
export { Image_2 as Image }
|
427
427
|
|
428
|
-
export declare const Input: (props: InputProps) =>
|
428
|
+
export declare const Input: (props: InputProps) => JSX.Element;
|
429
429
|
|
430
430
|
export declare interface InputProps extends InputProps_2 {
|
431
431
|
field?: ControllerRenderProps<any, any>;
|
@@ -448,7 +448,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
448
448
|
|
449
449
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
450
450
|
|
451
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
451
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX.Element;
|
452
452
|
|
453
453
|
export declare interface LabelProps {
|
454
454
|
label: string;
|
@@ -501,7 +501,7 @@ export declare type MenuType = {
|
|
501
501
|
}[];
|
502
502
|
};
|
503
503
|
|
504
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
504
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
|
505
505
|
|
506
506
|
export declare interface ModalProps extends ModalProps_2 {
|
507
507
|
children?: ReactNode;
|
@@ -543,7 +543,7 @@ export declare type PnkxCollapseProps = CollapseProps;
|
|
543
543
|
export declare const PnkxColorPicker: React.FC<ColorPickerProps>;
|
544
544
|
|
545
545
|
export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
|
546
|
-
render():
|
546
|
+
render(): JSX.Element;
|
547
547
|
}
|
548
548
|
|
549
549
|
export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
|
@@ -556,13 +556,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
556
556
|
children?: ReactNode;
|
557
557
|
}
|
558
558
|
|
559
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
559
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX.Element;
|
560
560
|
|
561
561
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
562
562
|
children?: ReactNode;
|
563
563
|
}
|
564
564
|
|
565
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
565
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX.Element;
|
566
566
|
|
567
567
|
export declare type PopoverProps = PopoverProps_2;
|
568
568
|
|
@@ -577,14 +577,14 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
|
|
577
577
|
type?: TInputNumberType;
|
578
578
|
prefix?: string;
|
579
579
|
suffix?: string;
|
580
|
-
helperText?: () =>
|
580
|
+
helperText?: () => JSX_2.Element | null;
|
581
581
|
}
|
582
582
|
|
583
583
|
export declare const QRCode: React.FC<QRCodeProps>;
|
584
584
|
|
585
585
|
export declare type QRCodeProps = QRCodeProps_2;
|
586
586
|
|
587
|
-
export declare const RadioGroup: (props: RadioProps) =>
|
587
|
+
export declare const RadioGroup: (props: RadioProps) => JSX.Element;
|
588
588
|
|
589
589
|
export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
|
590
590
|
field?: ControllerRenderProps<any, any>;
|
@@ -597,7 +597,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
|
|
597
597
|
position?: TPositionRadio;
|
598
598
|
}
|
599
599
|
|
600
|
-
export declare const RangePickerField: (props: RangePickerFieldProps) =>
|
600
|
+
export declare const RangePickerField: (props: RangePickerFieldProps) => JSX.Element;
|
601
601
|
|
602
602
|
export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
|
603
603
|
field?: ControllerRenderProps<any, any>;
|
@@ -611,13 +611,13 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
611
611
|
|
612
612
|
export declare const Rate: React.FC<RateProps>;
|
613
613
|
|
614
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
614
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX.Element;
|
615
615
|
|
616
616
|
export declare interface ResultProps extends ResultProps_2 {
|
617
617
|
children?: ReactNode | string;
|
618
618
|
}
|
619
619
|
|
620
|
-
export declare const Row: (props: RowPropsUnion) =>
|
620
|
+
export declare const Row: (props: RowPropsUnion) => JSX.Element;
|
621
621
|
|
622
622
|
declare interface RowCommon {
|
623
623
|
[x: string]: any;
|
@@ -625,7 +625,7 @@ declare interface RowCommon {
|
|
625
625
|
|
626
626
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
627
627
|
|
628
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
628
|
+
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
|
629
629
|
|
630
630
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
631
631
|
renderFilterFields?: (options: {
|
@@ -647,7 +647,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
647
647
|
|
648
648
|
export declare type SegmentedProps = SegmentedProps_2;
|
649
649
|
|
650
|
-
export declare const Select: (props: SelectFieldProps) =>
|
650
|
+
export declare const Select: (props: SelectFieldProps) => JSX.Element;
|
651
651
|
|
652
652
|
export declare interface SelectFieldProps extends SelectProps {
|
653
653
|
field?: ControllerRenderProps<any, any>;
|
@@ -660,7 +660,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
660
660
|
classNameSelect?: string;
|
661
661
|
}
|
662
662
|
|
663
|
-
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) =>
|
663
|
+
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX.Element;
|
664
664
|
|
665
665
|
export declare interface SidebarProps {
|
666
666
|
children?: default_2.ReactNode;
|
@@ -676,7 +676,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
676
676
|
multiple?: false;
|
677
677
|
};
|
678
678
|
|
679
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
679
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX.Element;
|
680
680
|
|
681
681
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
682
682
|
type?: "table" | "form";
|
@@ -691,7 +691,7 @@ export declare const Space: typeof Space_2;
|
|
691
691
|
|
692
692
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
693
693
|
|
694
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
694
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
|
695
695
|
|
696
696
|
export declare const Splitter: typeof Splitter_2;
|
697
697
|
|
@@ -719,7 +719,7 @@ declare const SubMenu: FC<SubMenuProps>;
|
|
719
719
|
|
720
720
|
export declare type SubMenuProps = SubMenuProps_2;
|
721
721
|
|
722
|
-
export declare const Switch: (props: SwitchProps) =>
|
722
|
+
export declare const Switch: (props: SwitchProps) => JSX.Element;
|
723
723
|
|
724
724
|
export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
|
725
725
|
field?: ControllerRenderProps<any, any>;
|
@@ -738,7 +738,7 @@ declare type TabItem = {
|
|
738
738
|
disabled?: boolean;
|
739
739
|
};
|
740
740
|
|
741
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) =>
|
741
|
+
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) => JSX.Element;
|
742
742
|
|
743
743
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
744
744
|
|
@@ -806,7 +806,7 @@ declare type TInputNumberType = "number" | "money";
|
|
806
806
|
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
807
807
|
|
808
808
|
export declare const TinyMCE: {
|
809
|
-
(props: TinyProps):
|
809
|
+
(props: TinyProps): JSX.Element;
|
810
810
|
displayName: string;
|
811
811
|
};
|
812
812
|
|
@@ -887,12 +887,12 @@ export declare enum TypeStatusTable {
|
|
887
887
|
}
|
888
888
|
|
889
889
|
export declare const Typography: {
|
890
|
-
Title: (props: TitleProps) =>
|
891
|
-
Paragraph: (props: ParagraphProps) =>
|
892
|
-
Text: (props: TextProps) =>
|
890
|
+
Title: (props: TitleProps) => JSX.Element;
|
891
|
+
Paragraph: (props: ParagraphProps) => JSX.Element;
|
892
|
+
Text: (props: TextProps) => JSX.Element;
|
893
893
|
};
|
894
894
|
|
895
|
-
export declare const UploadField: (props: UploadFieldProps) =>
|
895
|
+
export declare const UploadField: (props: UploadFieldProps) => JSX.Element;
|
896
896
|
|
897
897
|
export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
|
898
898
|
field?: ControllerRenderProps<any, any>;
|
@@ -917,6 +917,6 @@ export declare const useToast: (defaultProps?: OptionalArgsToast) => {
|
|
917
917
|
warning(props?: OptionalArgsToast): void;
|
918
918
|
};
|
919
919
|
|
920
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
920
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX.Element;
|
921
921
|
|
922
922
|
export { }
|
package/types/ui.d.ts
CHANGED
@@ -35,7 +35,7 @@ import { FormEventHandler } from 'react';
|
|
35
35
|
import { ForwardRefExoticComponent } from 'react';
|
36
36
|
import { ImageProps } from 'antd';
|
37
37
|
import { InitialFiltersSearch } from '@pnkx-lib/core';
|
38
|
-
import { JSX
|
38
|
+
import { JSX } from 'react/jsx-runtime';
|
39
39
|
import { MenuDividerProps } from 'antd/es/menu';
|
40
40
|
import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
|
41
41
|
import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
|
@@ -77,16 +77,16 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
77
77
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
78
78
|
import { TourProps as TourProps_2 } from 'antd';
|
79
79
|
import { TreeProps as TreeProps_2 } from 'antd';
|
80
|
-
import { TypeActionRowTable as TypeActionRowTable_2 } from '
|
81
|
-
import { TypeBulkActions as TypeBulkActions_2 } from '
|
82
|
-
import { TypeStatusTable as TypeStatusTable_2 } from '
|
83
|
-
import { TypeStatusTable as TypeStatusTable_3 } from '
|
80
|
+
import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../../src/constants/table';
|
81
|
+
import { TypeBulkActions as TypeBulkActions_2 } from '../../../../../../../../../../../../src/constants';
|
82
|
+
import { TypeStatusTable as TypeStatusTable_2 } from '../../../../../../../../../../../../src/constants';
|
83
|
+
import { TypeStatusTable as TypeStatusTable_3 } from '../../../../../../../../../../../../../../src/components/ui';
|
84
84
|
import { UseFormReset } from 'react-hook-form';
|
85
85
|
import { UseFormReturn } from 'react-hook-form';
|
86
86
|
import { UseFormSetValue } from 'react-hook-form';
|
87
87
|
import { WatermarkProps } from 'antd';
|
88
88
|
|
89
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
89
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
|
90
90
|
|
91
91
|
export declare interface ActionRowTableProps {
|
92
92
|
type: TypeActionRowTable_2;
|
@@ -106,7 +106,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
106
106
|
|
107
107
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
108
108
|
|
109
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
109
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
110
110
|
|
111
111
|
export declare interface AppfixProps extends AffixProps {
|
112
112
|
children: default_2.ReactNode;
|
@@ -116,7 +116,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
116
116
|
|
117
117
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
118
118
|
|
119
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
119
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX.Element;
|
120
120
|
|
121
121
|
export declare interface BadgeProps extends BadgeProps_2 {
|
122
122
|
type?: "error" | "info" | "success" | "warning";
|
@@ -186,9 +186,9 @@ declare type BaseProps_9 = {
|
|
186
186
|
spaceClassName?: string;
|
187
187
|
};
|
188
188
|
|
189
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
189
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX.Element;
|
190
190
|
|
191
|
-
export declare const BreadcrumbHeading: (props: BreadcrumbHeadingProps) =>
|
191
|
+
export declare const BreadcrumbHeading: (props: BreadcrumbHeadingProps) => JSX.Element;
|
192
192
|
|
193
193
|
export declare interface BreadcrumbHeadingProps {
|
194
194
|
menu: Array<MenuType>;
|
@@ -204,13 +204,13 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
|
|
204
204
|
|
205
205
|
export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
|
206
206
|
|
207
|
-
export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) =>
|
207
|
+
export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX.Element;
|
208
208
|
|
209
209
|
export declare const Button: default_2.FC<ButtonProps>;
|
210
210
|
|
211
211
|
export declare type ButtonProps = ButtonProps_2;
|
212
212
|
|
213
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
213
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
|
214
214
|
|
215
215
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
216
216
|
|
@@ -223,13 +223,13 @@ declare enum CATEGORY_LIST_ENUM {
|
|
223
223
|
DELETE = 5, // đã xóa
|
224
224
|
}
|
225
225
|
|
226
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
226
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
|
227
227
|
|
228
228
|
export declare interface CategoryStatusProps {
|
229
229
|
status: number;
|
230
230
|
}
|
231
231
|
|
232
|
-
export declare const Col: (props: ColPropsUnion) =>
|
232
|
+
export declare const Col: (props: ColPropsUnion) => JSX.Element;
|
233
233
|
|
234
234
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
235
235
|
}
|
@@ -247,7 +247,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
247
247
|
ItemGroup: typeof ItemGroup;
|
248
248
|
};
|
249
249
|
|
250
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
250
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX.Element;
|
251
251
|
|
252
252
|
export declare interface ConfirmModalProps extends ModalProps {
|
253
253
|
title: string;
|
@@ -269,7 +269,7 @@ export declare interface ContainerProps {
|
|
269
269
|
className?: string;
|
270
270
|
}
|
271
271
|
|
272
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
272
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
|
273
273
|
|
274
274
|
declare const Divider_2: FC<MenuDividerProps>;
|
275
275
|
|
@@ -277,14 +277,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
277
277
|
children?: ReactNode | string;
|
278
278
|
}
|
279
279
|
|
280
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
280
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX.Element;
|
281
281
|
|
282
282
|
export declare interface DrawerProps extends DrawerProps_2 {
|
283
283
|
children?: ReactNode;
|
284
284
|
onSubmit?: (values: any) => void;
|
285
285
|
}
|
286
286
|
|
287
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
287
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
|
288
288
|
|
289
289
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
290
290
|
|
@@ -318,7 +318,7 @@ export declare interface ErrorBoundaryState {
|
|
318
318
|
errorInfo: ErrorInfo | null;
|
319
319
|
}
|
320
320
|
|
321
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
321
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
322
322
|
|
323
323
|
export declare interface ErrorMessageProps {
|
324
324
|
errorMessage?: string;
|
@@ -331,7 +331,7 @@ declare type ExtraProps = {
|
|
331
331
|
menuClassName?: string;
|
332
332
|
};
|
333
333
|
|
334
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
334
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX.Element;
|
335
335
|
|
336
336
|
export declare type FlexProps = FlexProps_2;
|
337
337
|
|
@@ -343,7 +343,7 @@ declare interface GroupHeadingButtonItem {
|
|
343
343
|
isStatus: TypeStatusTable_3;
|
344
344
|
}
|
345
345
|
|
346
|
-
export declare const Heading: (props: HeadingProps) =>
|
346
|
+
export declare const Heading: (props: HeadingProps) => JSX.Element;
|
347
347
|
|
348
348
|
export declare interface HeadingProps {
|
349
349
|
rightContent?: ReactNode;
|
@@ -377,7 +377,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
377
377
|
|
378
378
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
379
379
|
|
380
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
380
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX.Element;
|
381
381
|
|
382
382
|
export declare interface LabelProps {
|
383
383
|
label: string;
|
@@ -430,7 +430,7 @@ export declare type MenuType = {
|
|
430
430
|
}[];
|
431
431
|
};
|
432
432
|
|
433
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
433
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
|
434
434
|
|
435
435
|
export declare interface ModalProps extends ModalProps_2 {
|
436
436
|
children?: ReactNode;
|
@@ -466,13 +466,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
466
466
|
children?: ReactNode;
|
467
467
|
}
|
468
468
|
|
469
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
469
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX.Element;
|
470
470
|
|
471
471
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
472
472
|
children?: ReactNode;
|
473
473
|
}
|
474
474
|
|
475
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
475
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX.Element;
|
476
476
|
|
477
477
|
export declare type PopoverProps = PopoverProps_2;
|
478
478
|
|
@@ -484,13 +484,13 @@ export declare type QRCodeProps = QRCodeProps_2;
|
|
484
484
|
|
485
485
|
export declare const Rate: React.FC<RateProps>;
|
486
486
|
|
487
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
487
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX.Element;
|
488
488
|
|
489
489
|
export declare interface ResultProps extends ResultProps_2 {
|
490
490
|
children?: ReactNode | string;
|
491
491
|
}
|
492
492
|
|
493
|
-
export declare const Row: (props: RowPropsUnion) =>
|
493
|
+
export declare const Row: (props: RowPropsUnion) => JSX.Element;
|
494
494
|
|
495
495
|
declare interface RowCommon {
|
496
496
|
[x: string]: any;
|
@@ -498,7 +498,7 @@ declare interface RowCommon {
|
|
498
498
|
|
499
499
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
500
500
|
|
501
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
501
|
+
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
|
502
502
|
|
503
503
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
504
504
|
renderFilterFields?: (options: {
|
@@ -520,7 +520,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
520
520
|
|
521
521
|
export declare type SegmentedProps = SegmentedProps_2;
|
522
522
|
|
523
|
-
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) =>
|
523
|
+
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX.Element;
|
524
524
|
|
525
525
|
export declare interface SidebarProps {
|
526
526
|
children?: default_2.ReactNode;
|
@@ -536,7 +536,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
536
536
|
multiple?: false;
|
537
537
|
};
|
538
538
|
|
539
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
539
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX.Element;
|
540
540
|
|
541
541
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
542
542
|
type?: "table" | "form";
|
@@ -551,7 +551,7 @@ export declare const Space: typeof Space_2;
|
|
551
551
|
|
552
552
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
553
553
|
|
554
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
554
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
|
555
555
|
|
556
556
|
export declare const Splitter: typeof Splitter_2;
|
557
557
|
|
@@ -586,7 +586,7 @@ declare type TabItem = {
|
|
586
586
|
disabled?: boolean;
|
587
587
|
};
|
588
588
|
|
589
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) =>
|
589
|
+
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) => JSX.Element;
|
590
590
|
|
591
591
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
592
592
|
|
@@ -699,11 +699,11 @@ export declare enum TypeStatusTable {
|
|
699
699
|
}
|
700
700
|
|
701
701
|
export declare const Typography: {
|
702
|
-
Title: (props: TitleProps) =>
|
703
|
-
Paragraph: (props: ParagraphProps) =>
|
704
|
-
Text: (props: TextProps) =>
|
702
|
+
Title: (props: TitleProps) => JSX.Element;
|
703
|
+
Paragraph: (props: ParagraphProps) => JSX.Element;
|
704
|
+
Text: (props: TextProps) => JSX.Element;
|
705
705
|
};
|
706
706
|
|
707
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
707
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX.Element;
|
708
708
|
|
709
709
|
export { }
|