@pnkx-lib/ui 1.7.7 → 1.7.9
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-BxrzfgtL.js} +15 -9
- 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 +66 -64
- package/types/ui.d.ts +53 -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",
|
@@ -12601,7 +12606,7 @@ const ConfirmModal = ({
|
|
12601
12606
|
] }) });
|
12602
12607
|
};
|
12603
12608
|
|
12604
|
-
|
12609
|
+
class ErrorBoundaryClass extends Component {
|
12605
12610
|
constructor(props) {
|
12606
12611
|
super(props);
|
12607
12612
|
this.state = {
|
@@ -12640,7 +12645,8 @@ const ErrorBoundary = class extends Component {
|
|
12640
12645
|
}
|
12641
12646
|
return this.props.children;
|
12642
12647
|
}
|
12643
|
-
}
|
12648
|
+
}
|
12649
|
+
const ErrorBoundary = ErrorBoundaryClass;
|
12644
12650
|
const styles = {
|
12645
12651
|
container: {
|
12646
12652
|
padding: "40px",
|
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-BxrzfgtL.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-BxrzfgtL.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.9",
|
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,14 @@ 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
|
+
import { Component } from 'react';
|
21
22
|
import { Control } from 'react-hook-form';
|
22
23
|
import { ControllerFieldState } from 'react-hook-form';
|
23
24
|
import { ControllerRenderProps } from 'react-hook-form';
|
24
25
|
import { Dayjs } from 'dayjs';
|
25
|
-
import { default as default_2 } from '
|
26
|
-
import { default as default_3 } from '
|
26
|
+
import { default as default_2 } from 'react';
|
27
|
+
import { default as default_3 } from 'antd/es/anchor/AnchorLink';
|
27
28
|
import { DefaultOptionType } from 'antd/es/cascader';
|
28
29
|
import { DefaultValues } from 'react-hook-form';
|
29
30
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -32,6 +33,7 @@ import { DropdownButtonProps as DropdownButtonProps_2 } from 'antd/es/dropdown';
|
|
32
33
|
import { DropdownButtonType as DropdownButtonType_2 } from 'antd/es/dropdown';
|
33
34
|
import { DropdownProps as DropdownProps_2 } from 'antd';
|
34
35
|
import { EmptyProps as EmptyProps_2 } from 'antd';
|
36
|
+
import { ErrorInfo } from 'react';
|
35
37
|
import { FC } from 'react';
|
36
38
|
import { FieldValues } from 'react-hook-form';
|
37
39
|
import { FlexProps as FlexProps_2 } from 'antd';
|
@@ -62,17 +64,17 @@ import { ReactDatePickerProps } from 'react-datepicker';
|
|
62
64
|
import { ReactNode } from 'react';
|
63
65
|
import { RefAttributes } from 'react';
|
64
66
|
import { ResultProps as ResultProps_2 } from 'antd';
|
65
|
-
import { RowProps
|
67
|
+
import { RowProps } from 'antd';
|
66
68
|
import { SegmentedProps as SegmentedProps_2 } from 'antd';
|
67
69
|
import { SelectProps } from 'antd';
|
68
70
|
import { SiderContextProps } from 'antd/es/layout/Sider';
|
69
71
|
import { SiderProps } from 'antd/es/layout/Sider';
|
70
72
|
import { SkeletonProps as SkeletonProps_2 } from 'antd';
|
71
73
|
import { Space as Space_2 } from 'antd';
|
72
|
-
import { SpaceProps
|
74
|
+
import { SpaceProps } from 'antd';
|
73
75
|
import { SpinProps } from 'antd';
|
74
76
|
import { Splitter as Splitter_2 } from 'antd';
|
75
|
-
import { SplitterProps
|
77
|
+
import { SplitterProps } from 'antd';
|
76
78
|
import { StatisticProps as StatisticProps_2 } from 'antd';
|
77
79
|
import { StepProps as StepProps_2 } from 'antd';
|
78
80
|
import { Steps as Steps_2 } from 'antd';
|
@@ -103,18 +105,15 @@ export declare const Alert: React.FC<AlertProps>;
|
|
103
105
|
export declare type AlertProps = AlertProps_2;
|
104
106
|
|
105
107
|
export declare const Anchor: typeof Anchor_2 & {
|
106
|
-
Link: typeof
|
108
|
+
Link: typeof default_3;
|
107
109
|
};
|
108
110
|
|
109
|
-
export declare interface AnchorProps extends AnchorProps_2 {
|
110
|
-
}
|
111
|
-
|
112
111
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
113
112
|
|
114
113
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
115
114
|
|
116
115
|
export declare interface AppfixProps extends AffixProps {
|
117
|
-
children:
|
116
|
+
children: default_2.ReactNode;
|
118
117
|
}
|
119
118
|
|
120
119
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -218,7 +217,7 @@ export declare interface BulkActionProps {
|
|
218
217
|
handleLock?: () => void;
|
219
218
|
}
|
220
219
|
|
221
|
-
export declare const Button:
|
220
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
222
221
|
|
223
222
|
export declare type ButtonProps = ButtonProps_2;
|
224
223
|
|
@@ -245,9 +244,6 @@ export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint,
|
|
245
244
|
|
246
245
|
export declare type ColPropsUnion = BaseProps_3 & ColProps;
|
247
246
|
|
248
|
-
export declare interface ColSize extends ColSize_2 {
|
249
|
-
}
|
250
|
-
|
251
247
|
export declare type ColSpanType = number | string;
|
252
248
|
|
253
249
|
declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
@@ -273,15 +269,15 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
273
269
|
handleSubmit?: () => void;
|
274
270
|
}
|
275
271
|
|
276
|
-
export declare const Container:
|
272
|
+
export declare const Container: default_2.FC<ContainerProps>;
|
277
273
|
|
278
274
|
export declare interface ContainerProps {
|
279
|
-
children:
|
275
|
+
children: default_2.ReactNode;
|
280
276
|
size?: TailwindMaxWidth;
|
281
277
|
className?: string;
|
282
278
|
}
|
283
279
|
|
284
|
-
declare type CustomInputTypeAttribute =
|
280
|
+
declare type CustomInputTypeAttribute = default_2.HTMLInputTypeAttribute | "money";
|
285
281
|
|
286
282
|
export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "onChange"> {
|
287
283
|
field?: ControllerRenderProps<any, any>;
|
@@ -295,7 +291,7 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
295
291
|
label?: string;
|
296
292
|
maxDate?: Date;
|
297
293
|
showTimeSelect?: boolean;
|
298
|
-
customOnChange?: (date: any, event:
|
294
|
+
customOnChange?: (date: any, event: default_2.SyntheticEvent<any>) => void;
|
299
295
|
customValue?: Date | null;
|
300
296
|
size?: TSize;
|
301
297
|
}
|
@@ -331,7 +327,27 @@ export declare const Empty: React.FC<EmptyProps>;
|
|
331
327
|
|
332
328
|
export declare type EmptyProps = EmptyProps_2;
|
333
329
|
|
334
|
-
export declare const
|
330
|
+
export declare const ErrorBoundary: typeof ErrorBoundaryClass;
|
331
|
+
|
332
|
+
declare class ErrorBoundaryClass extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
333
|
+
constructor(props: ErrorBoundaryProps);
|
334
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
335
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
336
|
+
handleReload: () => void;
|
337
|
+
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;
|
338
|
+
}
|
339
|
+
|
340
|
+
export declare interface ErrorBoundaryProps {
|
341
|
+
children: ReactNode;
|
342
|
+
}
|
343
|
+
|
344
|
+
export declare interface ErrorBoundaryState {
|
345
|
+
hasError: boolean;
|
346
|
+
error: Error | null;
|
347
|
+
errorInfo: ErrorInfo | null;
|
348
|
+
}
|
349
|
+
|
350
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
335
351
|
|
336
352
|
export declare interface ErrorMessageProps {
|
337
353
|
errorMessage?: string;
|
@@ -374,8 +390,8 @@ export declare interface InputProps extends InputProps_2 {
|
|
374
390
|
customStyleInput?: string;
|
375
391
|
type?: CustomInputTypeAttribute;
|
376
392
|
afterOnChange?: (value: number | string | null) => void;
|
377
|
-
iconStartInput?:
|
378
|
-
iconEndInput?:
|
393
|
+
iconStartInput?: default_2.ReactNode;
|
394
|
+
iconEndInput?: default_2.ReactNode;
|
379
395
|
allowNegative?: boolean;
|
380
396
|
decimalScale?: number;
|
381
397
|
prefix?: string;
|
@@ -395,12 +411,12 @@ export declare interface LabelProps {
|
|
395
411
|
required?: boolean;
|
396
412
|
}
|
397
413
|
|
398
|
-
export declare const Layout:
|
399
|
-
Header:
|
400
|
-
Footer:
|
401
|
-
Content:
|
402
|
-
Sider:
|
403
|
-
_InternalSiderContext:
|
414
|
+
export declare const Layout: default_2.FC<LayoutProps> & {
|
415
|
+
Header: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
416
|
+
Footer: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
417
|
+
Content: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
418
|
+
Sider: default_2.ForwardRefExoticComponent<SiderProps & default_2.RefAttributes<HTMLDivElement>>;
|
419
|
+
_InternalSiderContext: default_2.Context<SiderContextProps>;
|
404
420
|
};
|
405
421
|
|
406
422
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -411,11 +427,9 @@ export declare type MenuComponentProps = ExtraProps & MenuProps;
|
|
411
427
|
|
412
428
|
declare const MenuItem: FC<MenuItemProps>;
|
413
429
|
|
414
|
-
export declare
|
415
|
-
}
|
430
|
+
export declare type MenuItemProps = MenuItemProps_2;
|
416
431
|
|
417
|
-
export declare
|
418
|
-
}
|
432
|
+
export declare type MenuProps = MenuProps_2;
|
419
433
|
|
420
434
|
export declare const Modal: ({ children, onOk, onSubmit, ...rest }: ModalProps) => JSX.Element;
|
421
435
|
|
@@ -428,11 +442,11 @@ declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, tr
|
|
428
442
|
multiple: true;
|
429
443
|
};
|
430
444
|
|
431
|
-
export declare type OptionalArgsMessage = Partial<
|
432
|
-
type?:
|
445
|
+
export declare type OptionalArgsMessage = Partial<ArgsProps_2> & {
|
446
|
+
type?: ArgsProps_2["type"];
|
433
447
|
};
|
434
448
|
|
435
|
-
export declare type OptionalArgsToast = Partial<
|
449
|
+
export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
436
450
|
message?: React.ReactNode;
|
437
451
|
};
|
438
452
|
|
@@ -449,8 +463,7 @@ export declare interface PaginationFilters {
|
|
449
463
|
|
450
464
|
export { PaginationLocale }
|
451
465
|
|
452
|
-
export declare
|
453
|
-
}
|
466
|
+
export declare type PaginationProps = PaginationProps_2;
|
454
467
|
|
455
468
|
export declare type PaginationPropsUnion = BaseProps_11 & PaginationProps;
|
456
469
|
|
@@ -541,9 +554,6 @@ declare interface RowCommon {
|
|
541
554
|
[x: string]: any;
|
542
555
|
}
|
543
556
|
|
544
|
-
export declare interface RowProps extends RowProps_2 {
|
545
|
-
}
|
546
|
-
|
547
557
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
548
558
|
|
549
559
|
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 +564,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
554
564
|
setValue?: UseFormSetValue<T>;
|
555
565
|
handleSubmit?: FormEventHandler<any>;
|
556
566
|
reset?: UseFormReset<T>;
|
557
|
-
}) =>
|
567
|
+
}) => default_2.ReactNode;
|
558
568
|
onReset?: () => void;
|
559
569
|
classNamesContainer?: string;
|
560
570
|
classNameWrapperForm?: string;
|
@@ -610,26 +620,19 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
|
|
610
620
|
|
611
621
|
export declare const Space: typeof Space_2;
|
612
622
|
|
613
|
-
export declare interface SpaceProps extends SpaceProps_2 {
|
614
|
-
}
|
615
|
-
|
616
623
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
617
624
|
|
618
625
|
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
|
619
626
|
|
620
627
|
export declare const Splitter: typeof Splitter_2;
|
621
628
|
|
622
|
-
export declare interface SplitterProps extends SplitterProps_2 {
|
623
|
-
}
|
624
|
-
|
625
629
|
export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
|
626
630
|
|
627
631
|
export declare const Statistic: React.FC<StatisticProps>;
|
628
632
|
|
629
633
|
export declare type StatisticProps = StatisticProps_2;
|
630
634
|
|
631
|
-
export declare
|
632
|
-
}
|
635
|
+
export declare type StepProps = StepProps_2;
|
633
636
|
|
634
637
|
export declare const Steps: typeof Steps_2;
|
635
638
|
|
@@ -641,8 +644,7 @@ export declare type StepsPropsUnion = BaseProps_12 & StepsProps;
|
|
641
644
|
|
642
645
|
declare const SubMenu: FC<SubMenuProps>;
|
643
646
|
|
644
|
-
export declare
|
645
|
-
}
|
647
|
+
export declare type SubMenuProps = SubMenuProps_2;
|
646
648
|
|
647
649
|
export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange" | "checked"> {
|
648
650
|
field?: ControllerRenderProps<any, any>;
|
@@ -656,8 +658,8 @@ export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange" |
|
|
656
658
|
|
657
659
|
declare type TabItem = {
|
658
660
|
key: string;
|
659
|
-
label:
|
660
|
-
children:
|
661
|
+
label: default_2.ReactNode;
|
662
|
+
children: default_2.ReactNode;
|
661
663
|
disabled?: boolean;
|
662
664
|
};
|
663
665
|
|
@@ -678,8 +680,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
678
680
|
onChangePage: (page: number) => void;
|
679
681
|
onChangePageSize: (size: number) => void;
|
680
682
|
onSort?: (sortField: string | number | symbol) => void;
|
681
|
-
rowsSelected?:
|
682
|
-
onSelect: (newSelectedRowKeys:
|
683
|
+
rowsSelected?: default_2.Key[];
|
684
|
+
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
683
685
|
onRowClick?: (record: T) => void;
|
684
686
|
rowKey?: string | ((record: T) => string);
|
685
687
|
className?: string;
|
@@ -687,7 +689,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
687
689
|
onSave?: (data: T) => void;
|
688
690
|
}
|
689
691
|
|
690
|
-
export declare const Tabs:
|
692
|
+
export declare const Tabs: default_2.FC<TabsProps>;
|
691
693
|
|
692
694
|
export declare type TabsProps = TabsProps_2 & {
|
693
695
|
items: TabItem[];
|
@@ -733,7 +735,7 @@ export declare interface TinyProps extends IAllProps {
|
|
733
735
|
text_patterns?: any;
|
734
736
|
}
|
735
737
|
|
736
|
-
export declare const Tooltip:
|
738
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
737
739
|
|
738
740
|
export declare type TooltipProps = TooltipProps_2;
|
739
741
|
|
@@ -777,13 +779,13 @@ export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "o
|
|
777
779
|
|
778
780
|
export declare const useFiltersHandler: <T>(initialFilters: InitialFiltersSearch<T>) => {
|
779
781
|
filters: InitialFiltersSearch<T>;
|
780
|
-
rowsSelected:
|
781
|
-
setRowsSelected:
|
782
|
-
setFilters:
|
782
|
+
rowsSelected: default_2.Key[];
|
783
|
+
setRowsSelected: default_2.Dispatch<default_2.SetStateAction<default_2.Key[]>>;
|
784
|
+
setFilters: default_2.Dispatch<default_2.SetStateAction<InitialFiltersSearch<T>>>;
|
783
785
|
goToPage: (PageIndex: number) => void;
|
784
786
|
changeRowlimit: (value: number) => void;
|
785
787
|
resetToInitialFilters: () => void;
|
786
|
-
handleCheckBox: (newSelectedRowKeys:
|
788
|
+
handleCheckBox: (newSelectedRowKeys: default_2.Key[]) => void;
|
787
789
|
handleChangePage: (nextPage: number) => void;
|
788
790
|
handleRequestSort: (sortField: string | number | symbol) => void;
|
789
791
|
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,11 @@ 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
|
+
import { Component } from 'react';
|
18
19
|
import { Control } from 'react-hook-form';
|
19
|
-
import { default as default_2 } from '
|
20
|
-
import { default as default_3 } from '
|
20
|
+
import { default as default_2 } from 'react';
|
21
|
+
import { default as default_3 } from 'antd/es/anchor/AnchorLink';
|
21
22
|
import { DefaultOptionType } from 'antd/es/cascader';
|
22
23
|
import { DefaultValues } from 'react-hook-form';
|
23
24
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -26,6 +27,7 @@ import { DropdownButtonProps as DropdownButtonProps_2 } from 'antd/es/dropdown';
|
|
26
27
|
import { DropdownButtonType as DropdownButtonType_2 } from 'antd/es/dropdown';
|
27
28
|
import { DropdownProps as DropdownProps_2 } from 'antd';
|
28
29
|
import { EmptyProps as EmptyProps_2 } from 'antd';
|
30
|
+
import { ErrorInfo } from 'react';
|
29
31
|
import { FC } from 'react';
|
30
32
|
import { FieldValues } from 'react-hook-form';
|
31
33
|
import { FlexProps as FlexProps_2 } from 'antd';
|
@@ -49,16 +51,16 @@ import { RateProps } from 'antd';
|
|
49
51
|
import { ReactNode } from 'react';
|
50
52
|
import { RefAttributes } from 'react';
|
51
53
|
import { ResultProps as ResultProps_2 } from 'antd';
|
52
|
-
import { RowProps
|
54
|
+
import { RowProps } from 'antd';
|
53
55
|
import { SegmentedProps as SegmentedProps_2 } from 'antd';
|
54
56
|
import { SiderContextProps } from 'antd/es/layout/Sider';
|
55
57
|
import { SiderProps } from 'antd/es/layout/Sider';
|
56
58
|
import { SkeletonProps as SkeletonProps_2 } from 'antd';
|
57
59
|
import { Space as Space_2 } from 'antd';
|
58
|
-
import { SpaceProps
|
60
|
+
import { SpaceProps } from 'antd';
|
59
61
|
import { SpinProps } from 'antd';
|
60
62
|
import { Splitter as Splitter_2 } from 'antd';
|
61
|
-
import { SplitterProps
|
63
|
+
import { SplitterProps } from 'antd';
|
62
64
|
import { StatisticProps as StatisticProps_2 } from 'antd';
|
63
65
|
import { StepProps as StepProps_2 } from 'antd';
|
64
66
|
import { Steps as Steps_2 } from 'antd';
|
@@ -84,18 +86,15 @@ export declare const Alert: React.FC<AlertProps>;
|
|
84
86
|
export declare type AlertProps = AlertProps_2;
|
85
87
|
|
86
88
|
export declare const Anchor: typeof Anchor_2 & {
|
87
|
-
Link: typeof
|
89
|
+
Link: typeof default_3;
|
88
90
|
};
|
89
91
|
|
90
|
-
export declare interface AnchorProps extends AnchorProps_2 {
|
91
|
-
}
|
92
|
-
|
93
92
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
94
93
|
|
95
94
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
96
95
|
|
97
96
|
export declare interface AppfixProps extends AffixProps {
|
98
|
-
children:
|
97
|
+
children: default_2.ReactNode;
|
99
98
|
}
|
100
99
|
|
101
100
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -199,7 +198,7 @@ export declare interface BulkActionProps {
|
|
199
198
|
handleLock?: () => void;
|
200
199
|
}
|
201
200
|
|
202
|
-
export declare const Button:
|
201
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
203
202
|
|
204
203
|
export declare type ButtonProps = ButtonProps_2;
|
205
204
|
|
@@ -214,9 +213,6 @@ export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint,
|
|
214
213
|
|
215
214
|
export declare type ColPropsUnion = BaseProps_3 & ColProps;
|
216
215
|
|
217
|
-
export declare interface ColSize extends ColSize_2 {
|
218
|
-
}
|
219
|
-
|
220
216
|
export declare type ColSpanType = number | string;
|
221
217
|
|
222
218
|
declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
@@ -240,10 +236,10 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
240
236
|
handleSubmit?: () => void;
|
241
237
|
}
|
242
238
|
|
243
|
-
export declare const Container:
|
239
|
+
export declare const Container: default_2.FC<ContainerProps>;
|
244
240
|
|
245
241
|
export declare interface ContainerProps {
|
246
|
-
children:
|
242
|
+
children: default_2.ReactNode;
|
247
243
|
size?: TailwindMaxWidth;
|
248
244
|
className?: string;
|
249
245
|
}
|
@@ -277,7 +273,27 @@ export declare const Empty: React.FC<EmptyProps>;
|
|
277
273
|
|
278
274
|
export declare type EmptyProps = EmptyProps_2;
|
279
275
|
|
280
|
-
export declare const
|
276
|
+
export declare const ErrorBoundary: typeof ErrorBoundaryClass;
|
277
|
+
|
278
|
+
declare class ErrorBoundaryClass extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
279
|
+
constructor(props: ErrorBoundaryProps);
|
280
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
281
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
282
|
+
handleReload: () => void;
|
283
|
+
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;
|
284
|
+
}
|
285
|
+
|
286
|
+
export declare interface ErrorBoundaryProps {
|
287
|
+
children: ReactNode;
|
288
|
+
}
|
289
|
+
|
290
|
+
export declare interface ErrorBoundaryState {
|
291
|
+
hasError: boolean;
|
292
|
+
error: Error | null;
|
293
|
+
errorInfo: ErrorInfo | null;
|
294
|
+
}
|
295
|
+
|
296
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
281
297
|
|
282
298
|
export declare interface ErrorMessageProps {
|
283
299
|
errorMessage?: string;
|
@@ -322,12 +338,12 @@ export declare interface LabelProps {
|
|
322
338
|
required?: boolean;
|
323
339
|
}
|
324
340
|
|
325
|
-
export declare const Layout:
|
326
|
-
Header:
|
327
|
-
Footer:
|
328
|
-
Content:
|
329
|
-
Sider:
|
330
|
-
_InternalSiderContext:
|
341
|
+
export declare const Layout: default_2.FC<LayoutProps> & {
|
342
|
+
Header: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
343
|
+
Footer: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
344
|
+
Content: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
345
|
+
Sider: default_2.ForwardRefExoticComponent<SiderProps & default_2.RefAttributes<HTMLDivElement>>;
|
346
|
+
_InternalSiderContext: default_2.Context<SiderContextProps>;
|
331
347
|
};
|
332
348
|
|
333
349
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -338,11 +354,9 @@ export declare type MenuComponentProps = ExtraProps & MenuProps;
|
|
338
354
|
|
339
355
|
declare const MenuItem: FC<MenuItemProps>;
|
340
356
|
|
341
|
-
export declare
|
342
|
-
}
|
357
|
+
export declare type MenuItemProps = MenuItemProps_2;
|
343
358
|
|
344
|
-
export declare
|
345
|
-
}
|
359
|
+
export declare type MenuProps = MenuProps_2;
|
346
360
|
|
347
361
|
export declare const Modal: ({ children, onOk, onSubmit, ...rest }: ModalProps) => JSX.Element;
|
348
362
|
|
@@ -363,8 +377,7 @@ export declare type PaginationConfig = Omit<PaginationProps, "rootClassName"> &
|
|
363
377
|
|
364
378
|
export { PaginationLocale }
|
365
379
|
|
366
|
-
export declare
|
367
|
-
}
|
380
|
+
export declare type PaginationProps = PaginationProps_2;
|
368
381
|
|
369
382
|
export declare type PaginationPropsUnion = BaseProps_11 & PaginationProps;
|
370
383
|
|
@@ -408,9 +421,6 @@ declare interface RowCommon {
|
|
408
421
|
[x: string]: any;
|
409
422
|
}
|
410
423
|
|
411
|
-
export declare interface RowProps extends RowProps_2 {
|
412
|
-
}
|
413
|
-
|
414
424
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
415
425
|
|
416
426
|
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 +431,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
421
431
|
setValue?: UseFormSetValue<T>;
|
422
432
|
handleSubmit?: FormEventHandler<any>;
|
423
433
|
reset?: UseFormReset<T>;
|
424
|
-
}) =>
|
434
|
+
}) => default_2.ReactNode;
|
425
435
|
onReset?: () => void;
|
426
436
|
classNamesContainer?: string;
|
427
437
|
classNameWrapperForm?: string;
|
@@ -465,26 +475,19 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
|
|
465
475
|
|
466
476
|
export declare const Space: typeof Space_2;
|
467
477
|
|
468
|
-
export declare interface SpaceProps extends SpaceProps_2 {
|
469
|
-
}
|
470
|
-
|
471
478
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
472
479
|
|
473
480
|
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
|
474
481
|
|
475
482
|
export declare const Splitter: typeof Splitter_2;
|
476
483
|
|
477
|
-
export declare interface SplitterProps extends SplitterProps_2 {
|
478
|
-
}
|
479
|
-
|
480
484
|
export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
|
481
485
|
|
482
486
|
export declare const Statistic: React.FC<StatisticProps>;
|
483
487
|
|
484
488
|
export declare type StatisticProps = StatisticProps_2;
|
485
489
|
|
486
|
-
export declare
|
487
|
-
}
|
490
|
+
export declare type StepProps = StepProps_2;
|
488
491
|
|
489
492
|
export declare const Steps: typeof Steps_2;
|
490
493
|
|
@@ -496,13 +499,12 @@ export declare type StepsPropsUnion = BaseProps_12 & StepsProps;
|
|
496
499
|
|
497
500
|
declare const SubMenu: FC<SubMenuProps>;
|
498
501
|
|
499
|
-
export declare
|
500
|
-
}
|
502
|
+
export declare type SubMenuProps = SubMenuProps_2;
|
501
503
|
|
502
504
|
declare type TabItem = {
|
503
505
|
key: string;
|
504
|
-
label:
|
505
|
-
children:
|
506
|
+
label: default_2.ReactNode;
|
507
|
+
children: default_2.ReactNode;
|
506
508
|
disabled?: boolean;
|
507
509
|
};
|
508
510
|
|
@@ -523,8 +525,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
523
525
|
onChangePage: (page: number) => void;
|
524
526
|
onChangePageSize: (size: number) => void;
|
525
527
|
onSort?: (sortField: string | number | symbol) => void;
|
526
|
-
rowsSelected?:
|
527
|
-
onSelect: (newSelectedRowKeys:
|
528
|
+
rowsSelected?: default_2.Key[];
|
529
|
+
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
528
530
|
onRowClick?: (record: T) => void;
|
529
531
|
rowKey?: string | ((record: T) => string);
|
530
532
|
className?: string;
|
@@ -532,7 +534,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
532
534
|
onSave?: (data: T) => void;
|
533
535
|
}
|
534
536
|
|
535
|
-
export declare const Tabs:
|
537
|
+
export declare const Tabs: default_2.FC<TabsProps>;
|
536
538
|
|
537
539
|
export declare type TabsProps = TabsProps_2 & {
|
538
540
|
items: TabItem[];
|
@@ -551,7 +553,7 @@ export declare const Timeline: React.FC<TimelineProps>;
|
|
551
553
|
|
552
554
|
export declare type TimelineProps = TimelineProps_2;
|
553
555
|
|
554
|
-
export declare const Tooltip:
|
556
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
555
557
|
|
556
558
|
export declare type TooltipProps = TooltipProps_2;
|
557
559
|
|