@pnkx-lib/ui 1.7.7 → 1.7.8
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/{ErrorBoundary-C4KeHjg0.js → ErrorBoundary-CeATB599.js} +12 -7
- package/es/index.js +1 -1
- package/es/ui/index.js +1 -1
- package/package.json +2 -2
- package/types/hooks.d.ts +5 -5
- package/types/index.d.ts +82 -64
- package/types/ui.d.ts +69 -51
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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-outline-style:solid;--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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia: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-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.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}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.-inset-1{inset:calc(var(--spacing)*-1)}.top-1\/19{top:5.26316%}.top-\[-40px\]{top:-40px}.right-0{right:calc(var(--spacing)*0)}.bottom-\[-40px\]{bottom:-40px}.left-44{left:calc(var(--spacing)*44)}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-50{z-index:50}.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}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.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-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-25{margin-left:calc(var(--spacing)*25)}.ml-\[-5rem\]{margin-left:-5rem}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.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-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[20rem\]{max-height:20rem}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.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-40{width:calc(var(--spacing)*40)}.w-60{width:calc(var(--spacing)*60)}.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-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)}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.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)}.gap-8{gap:calc(var(--spacing)*8)}: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)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}.gap-x-3{column-gap:calc(var(--spacing)*3)}: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)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.gap-y-5{row-gap:calc(var(--spacing)*5)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.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-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.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)}.bg-\[\#1C2D5A\]{background-color:#1c2d5a}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.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-\[\#F8F8F8\]{background-color:#f8f8f8}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.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-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.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-3{padding-top:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.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)}.text-wrap{text-wrap:wrap}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-\[\#3078BD\]{color:#3078bd}.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)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.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)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);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,)}.grayscale{--tw-grayscale:grayscale(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,)}.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,)}.sepia{--tw-sepia:sepia(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,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@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-\[\#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-68{left:calc(var(--spacing)*68)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}@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-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@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-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{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-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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-outline-style{syntax:"*";inherits:false;initial-value:solid}@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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{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(.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-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.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-\[-40px\]{bottom:-40px}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-50{z-index:50}.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}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.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-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-25{margin-left:calc(var(--spacing)*25)}.ml-\[-5rem\]{margin-left:-5rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.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-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[20rem\]{max-height:20rem}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.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-40{width:calc(var(--spacing)*40)}.w-60{width:calc(var(--spacing)*60)}.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-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)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);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-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)}.gap-8{gap:calc(var(--spacing)*8)}: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-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-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-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.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)}.bg-\[\#1C2D5A\]{background-color:#1c2d5a}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.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-\[\#F8F8F8\]{background-color:#f8f8f8}.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)}.p-6{padding:calc(var(--spacing)*6)}.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-3{padding-top:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.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-\[\#3078BD\]{color:#3078bd}.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{--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)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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)}.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-\[\#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-68{left:calc(var(--spacing)*68)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}@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}
|
@@ -2213,21 +2213,24 @@ const tableCss = css`
|
|
2213
2213
|
display: none !important;
|
2214
2214
|
}
|
2215
2215
|
.ant-table-thead .ant-table-cell {
|
2216
|
-
background-color: #
|
2216
|
+
background-color: #d6e6fe;
|
2217
2217
|
font-weight: 500;
|
2218
2218
|
}
|
2219
2219
|
|
2220
2220
|
.ant-table-thead th.ant-table-column-has-sorters:hover {
|
2221
|
-
background-color: #
|
2221
|
+
background-color: #d6e6fe;
|
2222
2222
|
}
|
2223
2223
|
|
2224
2224
|
.ant-table-row.table-row-even {
|
2225
|
-
background-color: #
|
2225
|
+
background-color: #f7f7f8;
|
2226
2226
|
}
|
2227
2227
|
|
2228
2228
|
.ant-table-row.table-row-odd {
|
2229
2229
|
background-color: #ffffff;
|
2230
2230
|
}
|
2231
|
+
.ant-table-row:hover {
|
2232
|
+
background-color: #e7f0ff;
|
2233
|
+
}
|
2231
2234
|
`;
|
2232
2235
|
const Table = ({
|
2233
2236
|
dataSource,
|
@@ -2263,6 +2266,9 @@ const Table = ({
|
|
2263
2266
|
const rowSelection = {
|
2264
2267
|
selectedRowKeys: rowsSelected,
|
2265
2268
|
onChange: onSelect
|
2269
|
+
// getCheckboxProps: (record: any) => ({
|
2270
|
+
// disabled: true, // Ví dụ: disable nếu tuổi > 40
|
2271
|
+
// }),
|
2266
2272
|
};
|
2267
2273
|
const { control, handleSubmit, reset } = useForm();
|
2268
2274
|
const [data, setData] = useState(dataSource);
|
@@ -6152,7 +6158,7 @@ function genStyleUtils(config) {
|
|
6152
6158
|
};
|
6153
6159
|
}
|
6154
6160
|
|
6155
|
-
const version = '5.25.
|
6161
|
+
const version = '5.25.0';
|
6156
6162
|
|
6157
6163
|
function isStableColor(color) {
|
6158
6164
|
return color >= 0 && color <= 255;
|
@@ -11942,8 +11948,7 @@ const Sidebar = ({ children, menu }) => {
|
|
11942
11948
|
"div",
|
11943
11949
|
{
|
11944
11950
|
className: twMerge(
|
11945
|
-
|
11946
|
-
"z-50 bg-white "
|
11951
|
+
"absolute top-0 ml-[-5rem] p-3.5 space-y-4 space-x-4 z-50 bg-white"
|
11947
11952
|
),
|
11948
11953
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
11949
11954
|
"img",
|
@@ -11959,7 +11964,7 @@ const Sidebar = ({ children, menu }) => {
|
|
11959
11964
|
"nav",
|
11960
11965
|
{
|
11961
11966
|
className: twMerge(
|
11962
|
-
"flex flex-1 transition-all mt-
|
11967
|
+
"flex flex-1 transition-all mt-16 duration-300 flex-col"
|
11963
11968
|
),
|
11964
11969
|
children: activeMenu && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
11965
11970
|
"ul",
|
package/es/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, 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, 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, W as Watermark, t as typeColorMap } from './chunks/ErrorBoundary-
|
1
|
+
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, 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, 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, W as Watermark, t as typeColorMap } from './chunks/ErrorBoundary-CeATB599.js';
|
2
2
|
export { D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TinyMCE, T as Typography } from './chunks/Switch-eMq9KkOy.js';
|
3
3
|
export { C as CheckboxField, R as RadioGroup, S as Select } from './chunks/Checkbox-CJ_M7IzZ.js';
|
4
4
|
export { u as useToast } from './chunks/cloneDeep-BLYi2V0G.js';
|
package/es/ui/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, 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, 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, W as Watermark, t as typeColorMap } from '../chunks/ErrorBoundary-
|
1
|
+
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, 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, 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, W as Watermark, t as typeColorMap } from '../chunks/ErrorBoundary-CeATB599.js';
|
2
2
|
export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-eMq9KkOy.js';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pnkx-lib/ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.7.
|
4
|
+
"version": "1.7.8",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./es/index.js",
|
7
7
|
"module": "./es/index.js",
|
@@ -107,4 +107,4 @@
|
|
107
107
|
"yup": "^1.6.1",
|
108
108
|
"zustand": "^5.0.3"
|
109
109
|
}
|
110
|
-
}
|
110
|
+
}
|
package/types/hooks.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
import { ArgsProps } from 'antd/
|
2
|
-
import { ArgsProps as ArgsProps_2 } from 'antd/
|
1
|
+
import { ArgsProps } from 'antd/es/notification';
|
2
|
+
import { ArgsProps as ArgsProps_2 } from 'antd/lib/message';
|
3
3
|
import { default as default_2 } from 'react';
|
4
4
|
|
5
5
|
export declare type InitialFiltersSearch<T> = T & PaginationFilters;
|
6
6
|
|
7
|
-
export declare type OptionalArgsMessage = Partial<
|
8
|
-
type?:
|
7
|
+
export declare type OptionalArgsMessage = Partial<ArgsProps_2> & {
|
8
|
+
type?: ArgsProps_2["type"];
|
9
9
|
};
|
10
10
|
|
11
|
-
export declare type OptionalArgsToast = Partial<
|
11
|
+
export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
12
12
|
message?: React.ReactNode;
|
13
13
|
};
|
14
14
|
|
package/types/index.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { AffixProps } from 'antd';
|
2
2
|
import { AlertProps as AlertProps_2 } from 'antd';
|
3
3
|
import { Anchor as Anchor_2 } from 'antd';
|
4
|
-
import { AnchorProps
|
5
|
-
import { ArgsProps } from 'antd/
|
6
|
-
import { ArgsProps as ArgsProps_2 } from 'antd/
|
4
|
+
import { AnchorProps } from 'antd';
|
5
|
+
import { ArgsProps } from 'antd/es/notification';
|
6
|
+
import { ArgsProps as ArgsProps_2 } from 'antd/lib/message';
|
7
7
|
import { AutoCompleteProps as AutoCompleteProps_2 } from 'antd';
|
8
8
|
import { BadgeProps as BadgeProps_2 } from 'antd';
|
9
9
|
import { BasicProps } from 'antd/es/layout/layout';
|
@@ -17,13 +17,13 @@ import { CheckboxProps } from 'antd';
|
|
17
17
|
import { CollapseProps } from 'antd';
|
18
18
|
import { ColorPickerProps } from 'antd';
|
19
19
|
import { ColProps as ColProps_2 } from 'antd';
|
20
|
-
import { ColSize
|
20
|
+
import { ColSize } from 'antd/es/grid';
|
21
21
|
import { Control } from 'react-hook-form';
|
22
22
|
import { ControllerFieldState } from 'react-hook-form';
|
23
23
|
import { ControllerRenderProps } from 'react-hook-form';
|
24
24
|
import { Dayjs } from 'dayjs';
|
25
|
-
import { default as default_2 } from '
|
26
|
-
import { default as default_3 } from '
|
25
|
+
import { default as default_2 } from 'react';
|
26
|
+
import { default as default_3 } from 'antd/es/anchor/AnchorLink';
|
27
27
|
import { DefaultOptionType } from 'antd/es/cascader';
|
28
28
|
import { DefaultValues } from 'react-hook-form';
|
29
29
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -32,6 +32,7 @@ import { DropdownButtonProps as DropdownButtonProps_2 } from 'antd/es/dropdown';
|
|
32
32
|
import { DropdownButtonType as DropdownButtonType_2 } from 'antd/es/dropdown';
|
33
33
|
import { DropdownProps as DropdownProps_2 } from 'antd';
|
34
34
|
import { EmptyProps as EmptyProps_2 } from 'antd';
|
35
|
+
import { ErrorInfo } from 'react';
|
35
36
|
import { FC } from 'react';
|
36
37
|
import { FieldValues } from 'react-hook-form';
|
37
38
|
import { FlexProps as FlexProps_2 } from 'antd';
|
@@ -62,17 +63,17 @@ import { ReactDatePickerProps } from 'react-datepicker';
|
|
62
63
|
import { ReactNode } from 'react';
|
63
64
|
import { RefAttributes } from 'react';
|
64
65
|
import { ResultProps as ResultProps_2 } from 'antd';
|
65
|
-
import { RowProps
|
66
|
+
import { RowProps } from 'antd';
|
66
67
|
import { SegmentedProps as SegmentedProps_2 } from 'antd';
|
67
68
|
import { SelectProps } from 'antd';
|
68
69
|
import { SiderContextProps } from 'antd/es/layout/Sider';
|
69
70
|
import { SiderProps } from 'antd/es/layout/Sider';
|
70
71
|
import { SkeletonProps as SkeletonProps_2 } from 'antd';
|
71
72
|
import { Space as Space_2 } from 'antd';
|
72
|
-
import { SpaceProps
|
73
|
+
import { SpaceProps } from 'antd';
|
73
74
|
import { SpinProps } from 'antd';
|
74
75
|
import { Splitter as Splitter_2 } from 'antd';
|
75
|
-
import { SplitterProps
|
76
|
+
import { SplitterProps } from 'antd';
|
76
77
|
import { StatisticProps as StatisticProps_2 } from 'antd';
|
77
78
|
import { StepProps as StepProps_2 } from 'antd';
|
78
79
|
import { Steps as Steps_2 } from 'antd';
|
@@ -103,18 +104,15 @@ export declare const Alert: React.FC<AlertProps>;
|
|
103
104
|
export declare type AlertProps = AlertProps_2;
|
104
105
|
|
105
106
|
export declare const Anchor: typeof Anchor_2 & {
|
106
|
-
Link: typeof
|
107
|
+
Link: typeof default_3;
|
107
108
|
};
|
108
109
|
|
109
|
-
export declare interface AnchorProps extends AnchorProps_2 {
|
110
|
-
}
|
111
|
-
|
112
110
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
113
111
|
|
114
112
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
115
113
|
|
116
114
|
export declare interface AppfixProps extends AffixProps {
|
117
|
-
children:
|
115
|
+
children: default_2.ReactNode;
|
118
116
|
}
|
119
117
|
|
120
118
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -218,7 +216,7 @@ export declare interface BulkActionProps {
|
|
218
216
|
handleLock?: () => void;
|
219
217
|
}
|
220
218
|
|
221
|
-
export declare const Button:
|
219
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
222
220
|
|
223
221
|
export declare type ButtonProps = ButtonProps_2;
|
224
222
|
|
@@ -245,9 +243,6 @@ export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint,
|
|
245
243
|
|
246
244
|
export declare type ColPropsUnion = BaseProps_3 & ColProps;
|
247
245
|
|
248
|
-
export declare interface ColSize extends ColSize_2 {
|
249
|
-
}
|
250
|
-
|
251
246
|
export declare type ColSpanType = number | string;
|
252
247
|
|
253
248
|
declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
@@ -273,15 +268,15 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
273
268
|
handleSubmit?: () => void;
|
274
269
|
}
|
275
270
|
|
276
|
-
export declare const Container:
|
271
|
+
export declare const Container: default_2.FC<ContainerProps>;
|
277
272
|
|
278
273
|
export declare interface ContainerProps {
|
279
|
-
children:
|
274
|
+
children: default_2.ReactNode;
|
280
275
|
size?: TailwindMaxWidth;
|
281
276
|
className?: string;
|
282
277
|
}
|
283
278
|
|
284
|
-
declare type CustomInputTypeAttribute =
|
279
|
+
declare type CustomInputTypeAttribute = default_2.HTMLInputTypeAttribute | "money";
|
285
280
|
|
286
281
|
export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "onChange"> {
|
287
282
|
field?: ControllerRenderProps<any, any>;
|
@@ -295,7 +290,7 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
295
290
|
label?: string;
|
296
291
|
maxDate?: Date;
|
297
292
|
showTimeSelect?: boolean;
|
298
|
-
customOnChange?: (date: any, event:
|
293
|
+
customOnChange?: (date: any, event: default_2.SyntheticEvent<any>) => void;
|
299
294
|
customValue?: Date | null;
|
300
295
|
size?: TSize;
|
301
296
|
}
|
@@ -331,7 +326,44 @@ export declare const Empty: React.FC<EmptyProps>;
|
|
331
326
|
|
332
327
|
export declare type EmptyProps = EmptyProps_2;
|
333
328
|
|
334
|
-
export declare const
|
329
|
+
export declare const ErrorBoundary: {
|
330
|
+
new (props: ErrorBoundaryProps): {
|
331
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
332
|
+
handleReload: () => void;
|
333
|
+
render(): string | number | bigint | boolean | JSX.Element | Iterable<default_2.ReactNode> | Promise<string | number | bigint | boolean | default_2.ReactPortal | default_2.ReactElement<unknown, string | default_2.JSXElementConstructor<any>> | Iterable<default_2.ReactNode> | null | undefined> | null | undefined;
|
334
|
+
context: unknown;
|
335
|
+
setState<K extends keyof ErrorBoundaryState>(state: ErrorBoundaryState | ((prevState: Readonly<ErrorBoundaryState>, props: Readonly<ErrorBoundaryProps>) => ErrorBoundaryState | Pick<ErrorBoundaryState, K> | null) | Pick<ErrorBoundaryState, K> | null, callback?: (() => void) | undefined): void;
|
336
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
337
|
+
readonly props: Readonly<ErrorBoundaryProps>;
|
338
|
+
state: Readonly<ErrorBoundaryState>;
|
339
|
+
componentDidMount?(): void;
|
340
|
+
shouldComponentUpdate?(nextProps: Readonly<ErrorBoundaryProps>, nextState: Readonly<ErrorBoundaryState>, nextContext: any): boolean;
|
341
|
+
componentWillUnmount?(): void;
|
342
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<ErrorBoundaryProps>, prevState: Readonly<ErrorBoundaryState>): any;
|
343
|
+
componentDidUpdate?(prevProps: Readonly<ErrorBoundaryProps>, prevState: Readonly<ErrorBoundaryState>, snapshot?: any): void;
|
344
|
+
componentWillMount?(): void;
|
345
|
+
UNSAFE_componentWillMount?(): void;
|
346
|
+
componentWillReceiveProps?(nextProps: Readonly<ErrorBoundaryProps>, nextContext: any): void;
|
347
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ErrorBoundaryProps>, nextContext: any): void;
|
348
|
+
componentWillUpdate?(nextProps: Readonly<ErrorBoundaryProps>, nextState: Readonly<ErrorBoundaryState>, nextContext: any): void;
|
349
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<ErrorBoundaryProps>, nextState: Readonly<ErrorBoundaryState>, nextContext: any): void;
|
350
|
+
};
|
351
|
+
getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
352
|
+
contextType?: default_2.Context<any> | undefined;
|
353
|
+
propTypes?: any;
|
354
|
+
};
|
355
|
+
|
356
|
+
export declare interface ErrorBoundaryProps {
|
357
|
+
children: ReactNode;
|
358
|
+
}
|
359
|
+
|
360
|
+
export declare interface ErrorBoundaryState {
|
361
|
+
hasError: boolean;
|
362
|
+
error: Error | null;
|
363
|
+
errorInfo: ErrorInfo | null;
|
364
|
+
}
|
365
|
+
|
366
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
335
367
|
|
336
368
|
export declare interface ErrorMessageProps {
|
337
369
|
errorMessage?: string;
|
@@ -374,8 +406,8 @@ export declare interface InputProps extends InputProps_2 {
|
|
374
406
|
customStyleInput?: string;
|
375
407
|
type?: CustomInputTypeAttribute;
|
376
408
|
afterOnChange?: (value: number | string | null) => void;
|
377
|
-
iconStartInput?:
|
378
|
-
iconEndInput?:
|
409
|
+
iconStartInput?: default_2.ReactNode;
|
410
|
+
iconEndInput?: default_2.ReactNode;
|
379
411
|
allowNegative?: boolean;
|
380
412
|
decimalScale?: number;
|
381
413
|
prefix?: string;
|
@@ -395,12 +427,12 @@ export declare interface LabelProps {
|
|
395
427
|
required?: boolean;
|
396
428
|
}
|
397
429
|
|
398
|
-
export declare const Layout:
|
399
|
-
Header:
|
400
|
-
Footer:
|
401
|
-
Content:
|
402
|
-
Sider:
|
403
|
-
_InternalSiderContext:
|
430
|
+
export declare const Layout: default_2.FC<LayoutProps> & {
|
431
|
+
Header: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
432
|
+
Footer: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
433
|
+
Content: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
434
|
+
Sider: default_2.ForwardRefExoticComponent<SiderProps & default_2.RefAttributes<HTMLDivElement>>;
|
435
|
+
_InternalSiderContext: default_2.Context<SiderContextProps>;
|
404
436
|
};
|
405
437
|
|
406
438
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -411,11 +443,9 @@ export declare type MenuComponentProps = ExtraProps & MenuProps;
|
|
411
443
|
|
412
444
|
declare const MenuItem: FC<MenuItemProps>;
|
413
445
|
|
414
|
-
export declare
|
415
|
-
}
|
446
|
+
export declare type MenuItemProps = MenuItemProps_2;
|
416
447
|
|
417
|
-
export declare
|
418
|
-
}
|
448
|
+
export declare type MenuProps = MenuProps_2;
|
419
449
|
|
420
450
|
export declare const Modal: ({ children, onOk, onSubmit, ...rest }: ModalProps) => JSX.Element;
|
421
451
|
|
@@ -428,11 +458,11 @@ declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, tr
|
|
428
458
|
multiple: true;
|
429
459
|
};
|
430
460
|
|
431
|
-
export declare type OptionalArgsMessage = Partial<
|
432
|
-
type?:
|
461
|
+
export declare type OptionalArgsMessage = Partial<ArgsProps_2> & {
|
462
|
+
type?: ArgsProps_2["type"];
|
433
463
|
};
|
434
464
|
|
435
|
-
export declare type OptionalArgsToast = Partial<
|
465
|
+
export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
436
466
|
message?: React.ReactNode;
|
437
467
|
};
|
438
468
|
|
@@ -449,8 +479,7 @@ export declare interface PaginationFilters {
|
|
449
479
|
|
450
480
|
export { PaginationLocale }
|
451
481
|
|
452
|
-
export declare
|
453
|
-
}
|
482
|
+
export declare type PaginationProps = PaginationProps_2;
|
454
483
|
|
455
484
|
export declare type PaginationPropsUnion = BaseProps_11 & PaginationProps;
|
456
485
|
|
@@ -541,9 +570,6 @@ declare interface RowCommon {
|
|
541
570
|
[x: string]: any;
|
542
571
|
}
|
543
572
|
|
544
|
-
export declare interface RowProps extends RowProps_2 {
|
545
|
-
}
|
546
|
-
|
547
573
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
548
574
|
|
549
575
|
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
|
@@ -554,7 +580,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
554
580
|
setValue?: UseFormSetValue<T>;
|
555
581
|
handleSubmit?: FormEventHandler<any>;
|
556
582
|
reset?: UseFormReset<T>;
|
557
|
-
}) =>
|
583
|
+
}) => default_2.ReactNode;
|
558
584
|
onReset?: () => void;
|
559
585
|
classNamesContainer?: string;
|
560
586
|
classNameWrapperForm?: string;
|
@@ -610,26 +636,19 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
|
|
610
636
|
|
611
637
|
export declare const Space: typeof Space_2;
|
612
638
|
|
613
|
-
export declare interface SpaceProps extends SpaceProps_2 {
|
614
|
-
}
|
615
|
-
|
616
639
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
617
640
|
|
618
641
|
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
|
619
642
|
|
620
643
|
export declare const Splitter: typeof Splitter_2;
|
621
644
|
|
622
|
-
export declare interface SplitterProps extends SplitterProps_2 {
|
623
|
-
}
|
624
|
-
|
625
645
|
export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
|
626
646
|
|
627
647
|
export declare const Statistic: React.FC<StatisticProps>;
|
628
648
|
|
629
649
|
export declare type StatisticProps = StatisticProps_2;
|
630
650
|
|
631
|
-
export declare
|
632
|
-
}
|
651
|
+
export declare type StepProps = StepProps_2;
|
633
652
|
|
634
653
|
export declare const Steps: typeof Steps_2;
|
635
654
|
|
@@ -641,8 +660,7 @@ export declare type StepsPropsUnion = BaseProps_12 & StepsProps;
|
|
641
660
|
|
642
661
|
declare const SubMenu: FC<SubMenuProps>;
|
643
662
|
|
644
|
-
export declare
|
645
|
-
}
|
663
|
+
export declare type SubMenuProps = SubMenuProps_2;
|
646
664
|
|
647
665
|
export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange" | "checked"> {
|
648
666
|
field?: ControllerRenderProps<any, any>;
|
@@ -656,8 +674,8 @@ export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange" |
|
|
656
674
|
|
657
675
|
declare type TabItem = {
|
658
676
|
key: string;
|
659
|
-
label:
|
660
|
-
children:
|
677
|
+
label: default_2.ReactNode;
|
678
|
+
children: default_2.ReactNode;
|
661
679
|
disabled?: boolean;
|
662
680
|
};
|
663
681
|
|
@@ -678,8 +696,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
678
696
|
onChangePage: (page: number) => void;
|
679
697
|
onChangePageSize: (size: number) => void;
|
680
698
|
onSort?: (sortField: string | number | symbol) => void;
|
681
|
-
rowsSelected?:
|
682
|
-
onSelect: (newSelectedRowKeys:
|
699
|
+
rowsSelected?: default_2.Key[];
|
700
|
+
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
683
701
|
onRowClick?: (record: T) => void;
|
684
702
|
rowKey?: string | ((record: T) => string);
|
685
703
|
className?: string;
|
@@ -687,7 +705,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
687
705
|
onSave?: (data: T) => void;
|
688
706
|
}
|
689
707
|
|
690
|
-
export declare const Tabs:
|
708
|
+
export declare const Tabs: default_2.FC<TabsProps>;
|
691
709
|
|
692
710
|
export declare type TabsProps = TabsProps_2 & {
|
693
711
|
items: TabItem[];
|
@@ -733,7 +751,7 @@ export declare interface TinyProps extends IAllProps {
|
|
733
751
|
text_patterns?: any;
|
734
752
|
}
|
735
753
|
|
736
|
-
export declare const Tooltip:
|
754
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
737
755
|
|
738
756
|
export declare type TooltipProps = TooltipProps_2;
|
739
757
|
|
@@ -777,13 +795,13 @@ export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "o
|
|
777
795
|
|
778
796
|
export declare const useFiltersHandler: <T>(initialFilters: InitialFiltersSearch<T>) => {
|
779
797
|
filters: InitialFiltersSearch<T>;
|
780
|
-
rowsSelected:
|
781
|
-
setRowsSelected:
|
782
|
-
setFilters:
|
798
|
+
rowsSelected: default_2.Key[];
|
799
|
+
setRowsSelected: default_2.Dispatch<default_2.SetStateAction<default_2.Key[]>>;
|
800
|
+
setFilters: default_2.Dispatch<default_2.SetStateAction<InitialFiltersSearch<T>>>;
|
783
801
|
goToPage: (PageIndex: number) => void;
|
784
802
|
changeRowlimit: (value: number) => void;
|
785
803
|
resetToInitialFilters: () => void;
|
786
|
-
handleCheckBox: (newSelectedRowKeys:
|
804
|
+
handleCheckBox: (newSelectedRowKeys: default_2.Key[]) => void;
|
787
805
|
handleChangePage: (nextPage: number) => void;
|
788
806
|
handleRequestSort: (sortField: string | number | symbol) => void;
|
789
807
|
handleSearch: (nextFilters: InitialFiltersSearch<T>) => void;
|
package/types/ui.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AffixProps } from 'antd';
|
2
2
|
import { AlertProps as AlertProps_2 } from 'antd';
|
3
3
|
import { Anchor as Anchor_2 } from 'antd';
|
4
|
-
import { AnchorProps
|
4
|
+
import { AnchorProps } from 'antd';
|
5
5
|
import { AutoCompleteProps as AutoCompleteProps_2 } from 'antd';
|
6
6
|
import { BadgeProps as BadgeProps_2 } from 'antd';
|
7
7
|
import { BasicProps } from 'antd/es/layout/layout';
|
@@ -14,10 +14,10 @@ import { CascaderProps } from 'antd/es/cascader';
|
|
14
14
|
import { CollapseProps } from 'antd';
|
15
15
|
import { ColorPickerProps } from 'antd';
|
16
16
|
import { ColProps as ColProps_2 } from 'antd';
|
17
|
-
import { ColSize
|
17
|
+
import { ColSize } from 'antd/es/grid';
|
18
18
|
import { Control } from 'react-hook-form';
|
19
|
-
import { default as default_2 } from '
|
20
|
-
import { default as default_3 } from '
|
19
|
+
import { default as default_2 } from 'react';
|
20
|
+
import { default as default_3 } from 'antd/es/anchor/AnchorLink';
|
21
21
|
import { DefaultOptionType } from 'antd/es/cascader';
|
22
22
|
import { DefaultValues } from 'react-hook-form';
|
23
23
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -26,6 +26,7 @@ import { DropdownButtonProps as DropdownButtonProps_2 } from 'antd/es/dropdown';
|
|
26
26
|
import { DropdownButtonType as DropdownButtonType_2 } from 'antd/es/dropdown';
|
27
27
|
import { DropdownProps as DropdownProps_2 } from 'antd';
|
28
28
|
import { EmptyProps as EmptyProps_2 } from 'antd';
|
29
|
+
import { ErrorInfo } from 'react';
|
29
30
|
import { FC } from 'react';
|
30
31
|
import { FieldValues } from 'react-hook-form';
|
31
32
|
import { FlexProps as FlexProps_2 } from 'antd';
|
@@ -49,16 +50,16 @@ import { RateProps } from 'antd';
|
|
49
50
|
import { ReactNode } from 'react';
|
50
51
|
import { RefAttributes } from 'react';
|
51
52
|
import { ResultProps as ResultProps_2 } from 'antd';
|
52
|
-
import { RowProps
|
53
|
+
import { RowProps } from 'antd';
|
53
54
|
import { SegmentedProps as SegmentedProps_2 } from 'antd';
|
54
55
|
import { SiderContextProps } from 'antd/es/layout/Sider';
|
55
56
|
import { SiderProps } from 'antd/es/layout/Sider';
|
56
57
|
import { SkeletonProps as SkeletonProps_2 } from 'antd';
|
57
58
|
import { Space as Space_2 } from 'antd';
|
58
|
-
import { SpaceProps
|
59
|
+
import { SpaceProps } from 'antd';
|
59
60
|
import { SpinProps } from 'antd';
|
60
61
|
import { Splitter as Splitter_2 } from 'antd';
|
61
|
-
import { SplitterProps
|
62
|
+
import { SplitterProps } from 'antd';
|
62
63
|
import { StatisticProps as StatisticProps_2 } from 'antd';
|
63
64
|
import { StepProps as StepProps_2 } from 'antd';
|
64
65
|
import { Steps as Steps_2 } from 'antd';
|
@@ -84,18 +85,15 @@ export declare const Alert: React.FC<AlertProps>;
|
|
84
85
|
export declare type AlertProps = AlertProps_2;
|
85
86
|
|
86
87
|
export declare const Anchor: typeof Anchor_2 & {
|
87
|
-
Link: typeof
|
88
|
+
Link: typeof default_3;
|
88
89
|
};
|
89
90
|
|
90
|
-
export declare interface AnchorProps extends AnchorProps_2 {
|
91
|
-
}
|
92
|
-
|
93
91
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
94
92
|
|
95
93
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
96
94
|
|
97
95
|
export declare interface AppfixProps extends AffixProps {
|
98
|
-
children:
|
96
|
+
children: default_2.ReactNode;
|
99
97
|
}
|
100
98
|
|
101
99
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -199,7 +197,7 @@ export declare interface BulkActionProps {
|
|
199
197
|
handleLock?: () => void;
|
200
198
|
}
|
201
199
|
|
202
|
-
export declare const Button:
|
200
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
203
201
|
|
204
202
|
export declare type ButtonProps = ButtonProps_2;
|
205
203
|
|
@@ -214,9 +212,6 @@ export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint,
|
|
214
212
|
|
215
213
|
export declare type ColPropsUnion = BaseProps_3 & ColProps;
|
216
214
|
|
217
|
-
export declare interface ColSize extends ColSize_2 {
|
218
|
-
}
|
219
|
-
|
220
215
|
export declare type ColSpanType = number | string;
|
221
216
|
|
222
217
|
declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
@@ -240,10 +235,10 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
240
235
|
handleSubmit?: () => void;
|
241
236
|
}
|
242
237
|
|
243
|
-
export declare const Container:
|
238
|
+
export declare const Container: default_2.FC<ContainerProps>;
|
244
239
|
|
245
240
|
export declare interface ContainerProps {
|
246
|
-
children:
|
241
|
+
children: default_2.ReactNode;
|
247
242
|
size?: TailwindMaxWidth;
|
248
243
|
className?: string;
|
249
244
|
}
|
@@ -277,7 +272,44 @@ export declare const Empty: React.FC<EmptyProps>;
|
|
277
272
|
|
278
273
|
export declare type EmptyProps = EmptyProps_2;
|
279
274
|
|
280
|
-
export declare const
|
275
|
+
export declare const ErrorBoundary: {
|
276
|
+
new (props: ErrorBoundaryProps): {
|
277
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
278
|
+
handleReload: () => void;
|
279
|
+
render(): string | number | bigint | boolean | JSX.Element | Iterable<default_2.ReactNode> | Promise<string | number | bigint | boolean | default_2.ReactPortal | default_2.ReactElement<unknown, string | default_2.JSXElementConstructor<any>> | Iterable<default_2.ReactNode> | null | undefined> | null | undefined;
|
280
|
+
context: unknown;
|
281
|
+
setState<K extends keyof ErrorBoundaryState>(state: ErrorBoundaryState | ((prevState: Readonly<ErrorBoundaryState>, props: Readonly<ErrorBoundaryProps>) => ErrorBoundaryState | Pick<ErrorBoundaryState, K> | null) | Pick<ErrorBoundaryState, K> | null, callback?: (() => void) | undefined): void;
|
282
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
283
|
+
readonly props: Readonly<ErrorBoundaryProps>;
|
284
|
+
state: Readonly<ErrorBoundaryState>;
|
285
|
+
componentDidMount?(): void;
|
286
|
+
shouldComponentUpdate?(nextProps: Readonly<ErrorBoundaryProps>, nextState: Readonly<ErrorBoundaryState>, nextContext: any): boolean;
|
287
|
+
componentWillUnmount?(): void;
|
288
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<ErrorBoundaryProps>, prevState: Readonly<ErrorBoundaryState>): any;
|
289
|
+
componentDidUpdate?(prevProps: Readonly<ErrorBoundaryProps>, prevState: Readonly<ErrorBoundaryState>, snapshot?: any): void;
|
290
|
+
componentWillMount?(): void;
|
291
|
+
UNSAFE_componentWillMount?(): void;
|
292
|
+
componentWillReceiveProps?(nextProps: Readonly<ErrorBoundaryProps>, nextContext: any): void;
|
293
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ErrorBoundaryProps>, nextContext: any): void;
|
294
|
+
componentWillUpdate?(nextProps: Readonly<ErrorBoundaryProps>, nextState: Readonly<ErrorBoundaryState>, nextContext: any): void;
|
295
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<ErrorBoundaryProps>, nextState: Readonly<ErrorBoundaryState>, nextContext: any): void;
|
296
|
+
};
|
297
|
+
getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
298
|
+
contextType?: default_2.Context<any> | undefined;
|
299
|
+
propTypes?: any;
|
300
|
+
};
|
301
|
+
|
302
|
+
export declare interface ErrorBoundaryProps {
|
303
|
+
children: ReactNode;
|
304
|
+
}
|
305
|
+
|
306
|
+
export declare interface ErrorBoundaryState {
|
307
|
+
hasError: boolean;
|
308
|
+
error: Error | null;
|
309
|
+
errorInfo: ErrorInfo | null;
|
310
|
+
}
|
311
|
+
|
312
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
281
313
|
|
282
314
|
export declare interface ErrorMessageProps {
|
283
315
|
errorMessage?: string;
|
@@ -322,12 +354,12 @@ export declare interface LabelProps {
|
|
322
354
|
required?: boolean;
|
323
355
|
}
|
324
356
|
|
325
|
-
export declare const Layout:
|
326
|
-
Header:
|
327
|
-
Footer:
|
328
|
-
Content:
|
329
|
-
Sider:
|
330
|
-
_InternalSiderContext:
|
357
|
+
export declare const Layout: default_2.FC<LayoutProps> & {
|
358
|
+
Header: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
359
|
+
Footer: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
360
|
+
Content: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
361
|
+
Sider: default_2.ForwardRefExoticComponent<SiderProps & default_2.RefAttributes<HTMLDivElement>>;
|
362
|
+
_InternalSiderContext: default_2.Context<SiderContextProps>;
|
331
363
|
};
|
332
364
|
|
333
365
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -338,11 +370,9 @@ export declare type MenuComponentProps = ExtraProps & MenuProps;
|
|
338
370
|
|
339
371
|
declare const MenuItem: FC<MenuItemProps>;
|
340
372
|
|
341
|
-
export declare
|
342
|
-
}
|
373
|
+
export declare type MenuItemProps = MenuItemProps_2;
|
343
374
|
|
344
|
-
export declare
|
345
|
-
}
|
375
|
+
export declare type MenuProps = MenuProps_2;
|
346
376
|
|
347
377
|
export declare const Modal: ({ children, onOk, onSubmit, ...rest }: ModalProps) => JSX.Element;
|
348
378
|
|
@@ -363,8 +393,7 @@ export declare type PaginationConfig = Omit<PaginationProps, "rootClassName"> &
|
|
363
393
|
|
364
394
|
export { PaginationLocale }
|
365
395
|
|
366
|
-
export declare
|
367
|
-
}
|
396
|
+
export declare type PaginationProps = PaginationProps_2;
|
368
397
|
|
369
398
|
export declare type PaginationPropsUnion = BaseProps_11 & PaginationProps;
|
370
399
|
|
@@ -408,9 +437,6 @@ declare interface RowCommon {
|
|
408
437
|
[x: string]: any;
|
409
438
|
}
|
410
439
|
|
411
|
-
export declare interface RowProps extends RowProps_2 {
|
412
|
-
}
|
413
|
-
|
414
440
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
415
441
|
|
416
442
|
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
|
@@ -421,7 +447,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
421
447
|
setValue?: UseFormSetValue<T>;
|
422
448
|
handleSubmit?: FormEventHandler<any>;
|
423
449
|
reset?: UseFormReset<T>;
|
424
|
-
}) =>
|
450
|
+
}) => default_2.ReactNode;
|
425
451
|
onReset?: () => void;
|
426
452
|
classNamesContainer?: string;
|
427
453
|
classNameWrapperForm?: string;
|
@@ -465,26 +491,19 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
|
|
465
491
|
|
466
492
|
export declare const Space: typeof Space_2;
|
467
493
|
|
468
|
-
export declare interface SpaceProps extends SpaceProps_2 {
|
469
|
-
}
|
470
|
-
|
471
494
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
472
495
|
|
473
496
|
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
|
474
497
|
|
475
498
|
export declare const Splitter: typeof Splitter_2;
|
476
499
|
|
477
|
-
export declare interface SplitterProps extends SplitterProps_2 {
|
478
|
-
}
|
479
|
-
|
480
500
|
export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
|
481
501
|
|
482
502
|
export declare const Statistic: React.FC<StatisticProps>;
|
483
503
|
|
484
504
|
export declare type StatisticProps = StatisticProps_2;
|
485
505
|
|
486
|
-
export declare
|
487
|
-
}
|
506
|
+
export declare type StepProps = StepProps_2;
|
488
507
|
|
489
508
|
export declare const Steps: typeof Steps_2;
|
490
509
|
|
@@ -496,13 +515,12 @@ export declare type StepsPropsUnion = BaseProps_12 & StepsProps;
|
|
496
515
|
|
497
516
|
declare const SubMenu: FC<SubMenuProps>;
|
498
517
|
|
499
|
-
export declare
|
500
|
-
}
|
518
|
+
export declare type SubMenuProps = SubMenuProps_2;
|
501
519
|
|
502
520
|
declare type TabItem = {
|
503
521
|
key: string;
|
504
|
-
label:
|
505
|
-
children:
|
522
|
+
label: default_2.ReactNode;
|
523
|
+
children: default_2.ReactNode;
|
506
524
|
disabled?: boolean;
|
507
525
|
};
|
508
526
|
|
@@ -523,8 +541,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
523
541
|
onChangePage: (page: number) => void;
|
524
542
|
onChangePageSize: (size: number) => void;
|
525
543
|
onSort?: (sortField: string | number | symbol) => void;
|
526
|
-
rowsSelected?:
|
527
|
-
onSelect: (newSelectedRowKeys:
|
544
|
+
rowsSelected?: default_2.Key[];
|
545
|
+
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
528
546
|
onRowClick?: (record: T) => void;
|
529
547
|
rowKey?: string | ((record: T) => string);
|
530
548
|
className?: string;
|
@@ -532,7 +550,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
532
550
|
onSave?: (data: T) => void;
|
533
551
|
}
|
534
552
|
|
535
|
-
export declare const Tabs:
|
553
|
+
export declare const Tabs: default_2.FC<TabsProps>;
|
536
554
|
|
537
555
|
export declare type TabsProps = TabsProps_2 & {
|
538
556
|
items: TabItem[];
|
@@ -551,7 +569,7 @@ export declare const Timeline: React.FC<TimelineProps>;
|
|
551
569
|
|
552
570
|
export declare type TimelineProps = TimelineProps_2;
|
553
571
|
|
554
|
-
export declare const Tooltip:
|
572
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
555
573
|
|
556
574
|
export declare type TooltipProps = TooltipProps_2;
|
557
575
|
|