@pnkx-lib/ui 1.9.59 → 1.9.61
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 +2 -2
- package/es/chunks/{Switch-CDqr-O_3.js → Switch-C1uDuMv6.js} +1 -1
- package/es/chunks/{Upload-D0erjks6.js → Upload-T_yMWa7w.js} +16 -9
- package/es/chunks/{index-BzD8SlL6.js → index-Cw-kPYS8.js} +96 -103
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +1 -1
- package/types/fields.d.ts +12 -12
- package/types/index.d.ts +44 -45
- package/types/ui.d.ts +33 -34
package/dist/style.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! tailwindcss v4.1.
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(.577 .245 27.325);--color-blue-500:oklch(.623 .214 259.815);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-500:oklch(.551 .027 264.364);--color-gray-700:oklch(.373 .034 259.733);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!collapse{visibility:collapse!important}.\!visible{visibility:visible!important}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-1\/19{top:5.26316%}.top-\[-40px\]{top:-40px}.right-0{right:calc(var(--spacing)*0)}.bottom-1\/100{bottom:1%}.bottom-\[-40px\]{bottom:-40px}.left-1\/2{left:50%}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-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}}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.\!my-5{margin-block:calc(var(--spacing)*5)!important}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-\[15px\]{margin-top:15px}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-8{margin-right:calc(var(--spacing)*8)}.\!mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.\!ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-18{margin-left:calc(var(--spacing)*18)}.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}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:calc(var(--spacing)*0)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\[18px\]{height:18px}.h-\[20px\]{height:20px}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.\!w-\[255px\]{width:255px!important}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-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-50{width:calc(var(--spacing)*50)}.w-60{width:calc(var(--spacing)*60)}.w-\[18px\]{width:18px}.w-\[20px\]{width:20px}.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-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[110\%\]{--tw-translate-y:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.\!items-center{align-items:center!important}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-5{row-gap:calc(var(--spacing)*5)}.overflow-y-auto{overflow-y:auto}.\!rounded-3xl{border-radius:var(--radius-3xl)!important}.\!rounded-\[8px\]{border-radius:8px!important}.\!rounded-\[100px\]{border-radius:100px!important}.\!rounded-full{border-radius:3.40282e38px!important}.rounded-\[12px\]{border-radius:12px}.rounded-\[50\%\]{border-radius:50%}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t-1{border-top-style:var(--tw-border-style);border-top-width:1px}.\!border-b-1{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.\!border-none{--tw-border-style:none!important;border-style:none!important}.\!border-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.\!border-\[\#FFCDC9\]{border-color:#ffcdc9!important}.\!border-\[white\]{border-color:#fff!important}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.\!bg-\[\#E5F4FF\]{background-color:#e5f4ff!important}.\!bg-\[\#E7F0FF\]{background-color:#e7f0ff!important}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#001523\]{background-color:#001523}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.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-\[5px\]{padding-top:5px!important}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-3\.5{padding-right:calc(var(--spacing)*3.5)}.pr-6{padding-right:calc(var(--spacing)*6)}.\!pb-\[5px\]{padding-bottom:5px!important}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-\[15px\]{padding-bottom:15px}.\!pl-\[9px\]{padding-left:9px!important}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!text-\[12px\]{font-size:12px!important}.\!text-\[14px\]{font-size:14px!important}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.\!font-light{--tw-font-weight:var(--font-weight-light)!important;font-weight:var(--font-weight-light)!important}.\!font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#0F1D40\]{color:#0f1d40!important}.\!text-\[\#4D4D57\]{color:#4d4d57!important}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[\#DD4338\]{color:#dd4338!important}.\!text-\[\#E0E0E0\]{color:#e0e0e0!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-\[\#FFFFFF\]{color:#fff}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#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-70{left:calc(var(--spacing)*70)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}.containerSearchSelect :global(.ant-select-selector){border-radius:100px;border-color:#bde3ff!important}.inputSearchKey :global(.ant-input-clear-icon){color:#e7f0ff}.customBadge{background-color:#eeeef0!important}.customBadge :global(.ant-badge-count){color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadge .ant-badge-count{color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadgeActive{background-color:#bde3ff!important}.customBadgeActive .ant-badge-count{font-weight:500;color:#0f1d40!important;box-shadow:none!important;background:0 0!important}.customContainButtonIcon .ant-btn-icon{height:18px}@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}
|
1
|
+
/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(57.7% .245 27.325);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\!collapse{visibility:collapse!important}.\!visible{visibility:visible!important}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-1\/19{top:5.26316%}.top-\[-40px\]{top:-40px}.right-0{right:calc(var(--spacing)*0)}.bottom-1\/100{bottom:1%}.bottom-\[-40px\]{bottom:-40px}.left-1\/2{left:50%}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-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}}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.\!my-5{margin-block:calc(var(--spacing)*5)!important}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-\[15px\]{margin-top:15px}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-8{margin-right:calc(var(--spacing)*8)}.\!mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.\!ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-18{margin-left:calc(var(--spacing)*18)}.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}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:calc(var(--spacing)*0)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\[18px\]{height:18px}.h-\[20px\]{height:20px}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.\!w-\[255px\]{width:255px!important}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-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-50{width:calc(var(--spacing)*50)}.w-60{width:calc(var(--spacing)*60)}.w-\[18px\]{width:18px}.w-\[20px\]{width:20px}.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-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[110\%\]{--tw-translate-y:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.\!items-center{align-items:center!important}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-5{row-gap:calc(var(--spacing)*5)}.overflow-y-auto{overflow-y:auto}.\!rounded-3xl{border-radius:var(--radius-3xl)!important}.\!rounded-\[8px\]{border-radius:8px!important}.\!rounded-\[100px\]{border-radius:100px!important}.\!rounded-full{border-radius:3.40282e38px!important}.rounded-\[12px\]{border-radius:12px}.rounded-\[50\%\]{border-radius:50%}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t-1{border-top-style:var(--tw-border-style);border-top-width:1px}.\!border-b-1{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.\!border-none{--tw-border-style:none!important;border-style:none!important}.\!border-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.\!border-\[\#FFCDC9\]{border-color:#ffcdc9!important}.\!border-\[white\]{border-color:#fff!important}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.\!bg-\[\#E5F4FF\]{background-color:#e5f4ff!important}.\!bg-\[\#E7F0FF\]{background-color:#e7f0ff!important}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#001523\]{background-color:#001523}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.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-\[5px\]{padding-top:5px!important}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-3\.5{padding-right:calc(var(--spacing)*3.5)}.pr-6{padding-right:calc(var(--spacing)*6)}.\!pb-\[5px\]{padding-bottom:5px!important}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-\[15px\]{padding-bottom:15px}.\!pl-\[9px\]{padding-left:9px!important}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!text-\[12px\]{font-size:12px!important}.\!text-\[14px\]{font-size:14px!important}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.\!font-light{--tw-font-weight:var(--font-weight-light)!important;font-weight:var(--font-weight-light)!important}.\!font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#0F1D40\]{color:#0f1d40!important}.\!text-\[\#4D4D57\]{color:#4d4d57!important}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[\#DD4338\]{color:#dd4338!important}.\!text-\[\#E0E0E0\]{color:#e0e0e0!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-\[\#FFFFFF\]{color:#fff}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#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-70{left:calc(var(--spacing)*70)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}.containerSearchSelect :global(.ant-select-selector){border-radius:100px;border-color:#bde3ff!important}.inputSearchKey :global(.ant-input-clear-icon){color:#e7f0ff}.customBadge :global(.ant-badge-count){color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadge{background-color:#eeeef0!important}.customBadge .ant-badge-count{color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadgeActive{background-color:#bde3ff!important}.customBadgeActive .ant-badge-count{font-weight:500;color:#0f1d40!important;box-shadow:none!important;background:0 0!important}.customContainButtonIcon .ant-btn-icon{height:18px}@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}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as get, j as jsxRuntimeExports, L as Label, E as ErrorMessage, T as Typography, c as classNames } from './Upload-
|
1
|
+
import { g as get, j as jsxRuntimeExports, L as Label, E as ErrorMessage, T as Typography, c as classNames } from './Upload-T_yMWa7w.js';
|
2
2
|
import { Select as Select$1, Radio, Switch } from 'antd';
|
3
3
|
|
4
4
|
const Select = (props) => {
|
@@ -2540,8 +2540,6 @@ function createFormControl(props = {}) {
|
|
2540
2540
|
array: createSubject(),
|
2541
2541
|
state: createSubject(),
|
2542
2542
|
};
|
2543
|
-
const validationModeBeforeSubmit = getValidationModes(_options.mode);
|
2544
|
-
const validationModeAfterSubmit = getValidationModes(_options.reValidateMode);
|
2545
2543
|
const shouldDisplayAllAssociatedErrors = _options.criteriaMode === VALIDATION_MODE.all;
|
2546
2544
|
const debounce = (callback) => (wait) => {
|
2547
2545
|
clearTimeout(timer);
|
@@ -2812,13 +2810,17 @@ function createFormControl(props = {}) {
|
|
2812
2810
|
}
|
2813
2811
|
else if (fieldReference.refs) {
|
2814
2812
|
if (isCheckBoxInput(fieldReference.ref)) {
|
2815
|
-
fieldReference.refs.
|
2816
|
-
|
2817
|
-
(
|
2818
|
-
|
2819
|
-
|
2820
|
-
|
2821
|
-
|
2813
|
+
fieldReference.refs.forEach((checkboxRef) => {
|
2814
|
+
if (!checkboxRef.defaultChecked || !checkboxRef.disabled) {
|
2815
|
+
if (Array.isArray(fieldValue)) {
|
2816
|
+
checkboxRef.checked = !!fieldValue.find((data) => data === checkboxRef.value);
|
2817
|
+
}
|
2818
|
+
else {
|
2819
|
+
checkboxRef.checked =
|
2820
|
+
fieldValue === checkboxRef.value || !!fieldValue;
|
2821
|
+
}
|
2822
|
+
}
|
2823
|
+
});
|
2822
2824
|
}
|
2823
2825
|
else {
|
2824
2826
|
fieldReference.refs.forEach((radioRef) => (radioRef.checked = radioRef.value === fieldValue));
|
@@ -2844,6 +2846,9 @@ function createFormControl(props = {}) {
|
|
2844
2846
|
};
|
2845
2847
|
const setValues = (name, value, options) => {
|
2846
2848
|
for (const fieldKey in value) {
|
2849
|
+
if (!value.hasOwnProperty(fieldKey)) {
|
2850
|
+
return;
|
2851
|
+
}
|
2847
2852
|
const fieldValue = value[fieldKey];
|
2848
2853
|
const fieldName = `${name}.${fieldKey}`;
|
2849
2854
|
const field = get$1(_fields, fieldName);
|
@@ -2900,6 +2905,8 @@ function createFormControl(props = {}) {
|
|
2900
2905
|
(isDateObject(fieldValue) && isNaN(fieldValue.getTime())) ||
|
2901
2906
|
deepEqual(fieldValue, get$1(_formValues, name, fieldValue));
|
2902
2907
|
};
|
2908
|
+
const validationModeBeforeSubmit = getValidationModes(_options.mode);
|
2909
|
+
const validationModeAfterSubmit = getValidationModes(_options.reValidateMode);
|
2903
2910
|
if (field) {
|
2904
2911
|
let error;
|
2905
2912
|
let isValid;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { j as jsxRuntimeExports, d as get$1, s as set$1, e as appendErrors, f as Icon, _ as _extends, h as _typeof, P as PnkxField, C as CheckboxField, u as useForm, c as classNames, l as lodashExports, I as Input, i as _arrayLikeToArray, k as _unsupportedIterableToArray, w as warningOnce, m as _createClass, n as _classCallCheck, o as _defineProperty, p as _slicedToArray, q as warning$1, r as canUseDom, t as _objectSpread2, v as updateCSS, x as removeCSS, y as _arrayWithHoles, z as _nonIterableRest, A as resetWarned$1, F as FastColor, B as generate, G as presetPrimaryColors, H as presetPalettes, J as _inherits, K as _createSuper, M as _assertThisInitialized, N as _objectWithoutProperties, O as IconContext } from './Upload-
|
2
|
-
import { Button as Button$1, Cascader, Space as Space$1, Card, Skeleton as Skeleton$1, Modal as Modal$1, Badge as Badge$1, Breadcrumb as Breadcrumb$1, Tooltip as Tooltip$1, Divider as Divider$2, Popconfirm as Popconfirm$1, Table as Table$1, Tabs as Tabs$1, Popover as Popover$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Flex as Flex$1, Splitter as Splitter$1, Menu as Menu$1, Pagination as Pagination$1, Steps as Steps$1, Tag as Tag$1, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1,
|
1
|
+
import { j as jsxRuntimeExports, d as get$1, s as set$1, e as appendErrors, f as Icon, _ as _extends, h as _typeof, P as PnkxField, C as CheckboxField, u as useForm, c as classNames, l as lodashExports, I as Input, i as _arrayLikeToArray, k as _unsupportedIterableToArray, w as warningOnce, m as _createClass, n as _classCallCheck, o as _defineProperty, p as _slicedToArray, q as warning$1, r as canUseDom, t as _objectSpread2, v as updateCSS, x as removeCSS, y as _arrayWithHoles, z as _nonIterableRest, A as resetWarned$1, F as FastColor, B as generate, G as presetPrimaryColors, H as presetPalettes, J as _inherits, K as _createSuper, M as _assertThisInitialized, N as _objectWithoutProperties, O as IconContext } from './Upload-T_yMWa7w.js';
|
2
|
+
import { Button as Button$1, Cascader, Space as Space$1, Card, Skeleton as Skeleton$1, Modal as Modal$1, Badge as Badge$1, Breadcrumb as Breadcrumb$1, Tooltip as Tooltip$1, Divider as Divider$2, Popconfirm as Popconfirm$1, Typography, Table as Table$1, Tabs as Tabs$1, Popover as Popover$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Flex as Flex$1, Splitter as Splitter$1, Menu as Menu$1, Pagination as Pagination$1, Steps as Steps$1, Tag as Tag$1, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1, Watermark as Watermark$1, Anchor as Anchor$1, Affix, AutoComplete as AutoComplete$1, Input as Input$1, Collapse, ColorPicker, Empty as Empty$2, Image as Image$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import React__default, { version as version$1, isValidElement, useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useMemo as useMemo$1, useCallback, useState, createContext, memo, useReducer, useContext, Component } from 'react';
|
5
5
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from 'react-dom';
|
@@ -1713,9 +1713,41 @@ var BarsOutlined = function BarsOutlined(props, ref) {
|
|
1713
1713
|
};
|
1714
1714
|
|
1715
1715
|
/** */
|
1716
|
-
var RefIcon$
|
1716
|
+
var RefIcon$8 = /*#__PURE__*/React.forwardRef(BarsOutlined);
|
1717
1717
|
if (process.env.NODE_ENV !== 'production') {
|
1718
|
-
RefIcon$
|
1718
|
+
RefIcon$8.displayName = 'BarsOutlined';
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
// This icon file is generated automatically.
|
1722
|
+
var DeleteOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
1723
|
+
|
1724
|
+
var DeleteOutlined = function DeleteOutlined(props, ref) {
|
1725
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
1726
|
+
ref: ref,
|
1727
|
+
icon: DeleteOutlined$1
|
1728
|
+
}));
|
1729
|
+
};
|
1730
|
+
|
1731
|
+
/** */
|
1732
|
+
var RefIcon$7 = /*#__PURE__*/React.forwardRef(DeleteOutlined);
|
1733
|
+
if (process.env.NODE_ENV !== 'production') {
|
1734
|
+
RefIcon$7.displayName = 'DeleteOutlined';
|
1735
|
+
}
|
1736
|
+
|
1737
|
+
// This icon file is generated automatically.
|
1738
|
+
var EditOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, "name": "edit", "theme": "outlined" };
|
1739
|
+
|
1740
|
+
var EditOutlined = function EditOutlined(props, ref) {
|
1741
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
1742
|
+
ref: ref,
|
1743
|
+
icon: EditOutlined$1
|
1744
|
+
}));
|
1745
|
+
};
|
1746
|
+
|
1747
|
+
/** */
|
1748
|
+
var RefIcon$6 = /*#__PURE__*/React.forwardRef(EditOutlined);
|
1749
|
+
if (process.env.NODE_ENV !== 'production') {
|
1750
|
+
RefIcon$6.displayName = 'EditOutlined';
|
1719
1751
|
}
|
1720
1752
|
|
1721
1753
|
// This icon file is generated automatically.
|
@@ -6665,12 +6697,12 @@ const ActivateIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx
|
|
6665
6697
|
}
|
6666
6698
|
) });
|
6667
6699
|
|
6668
|
-
const DeleteIcon = ({ stroke, fill
|
6700
|
+
const DeleteIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
6669
6701
|
"path",
|
6670
6702
|
{
|
6671
6703
|
fill,
|
6672
6704
|
stroke,
|
6673
|
-
d: "
|
6705
|
+
d: "m17.302 16.518.75.007-.75-.007ZM3.686 4.764a.75.75 0 0 0 0 1.5v-1.5Zm14.628 1.5a.75.75 0 0 0 0-1.5v1.5ZM9.921 9.171a.75.75 0 1 0-1.5 0h1.5Zm-1.5 7.315a.75.75 0 1 0 1.5 0h-1.5ZM13.58 9.17a.75.75 0 1 0-1.5 0h1.5Zm-1.5 7.315a.75.75 0 1 0 1.5 0h-1.5ZM17.4 5.514l-.75-.006-.098 11.004.75.006.75.007.098-11.004-.75-.007Zm-3.755 14.629v-.75H8.257v1.5h5.388v-.75ZM4.6 5.514h-.75v10.972h1.5V5.514H4.6Zm-.914 0v.75H4.6v-1.5h-.914v.75Zm.914 0v.75h2.743v-1.5H4.6v.75Zm2.743 0v.75h7.314v-1.5H7.343v.75Zm7.314 0v.75H17.4v-1.5h-2.743v.75Zm2.743 0v.75h.914v-1.5H17.4v.75ZM7.343 5.108h.75c0-1.3 1.216-2.5 2.907-2.5v-1.5c-2.348 0-4.407 1.71-4.407 4h.75ZM11 1.858v.75c1.691 0 2.907 1.2 2.907 2.5h1.5c0-2.29-2.058-4-4.407-4v.75Zm-3.657 3.25h-.75v.406h1.5v-.406h-.75Zm7.314 0h-.75v.406h1.5v-.406h-.75Zm-6.4 15.035v-.75a2.907 2.907 0 0 1-2.907-2.907h-1.5a4.407 4.407 0 0 0 4.407 4.407v-.75Zm9.045-3.625-.75-.006a2.907 2.907 0 0 1-2.907 2.88v1.5a4.407 4.407 0 0 0 4.407-4.367l-.75-.007Zm-8.13-7.347h-.75v7.315h1.5V9.17h-.75Zm3.657 0h-.75v7.315h1.5V9.17h-.75Z"
|
6674
6706
|
}
|
6675
6707
|
) });
|
6676
6708
|
|
@@ -6694,26 +6726,6 @@ const InActiveIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx
|
|
6694
6726
|
}
|
6695
6727
|
);
|
6696
6728
|
|
6697
|
-
const PlusIcon = ({ fill = "#fff", stroke }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
6698
|
-
"path",
|
6699
|
-
{
|
6700
|
-
fill,
|
6701
|
-
fillRule: "evenodd",
|
6702
|
-
d: "M12 12V6h-1v6H5v1h6v6h1v-6h6v-1h-6Z",
|
6703
|
-
clipRule: "evenodd",
|
6704
|
-
stroke
|
6705
|
-
}
|
6706
|
-
) });
|
6707
|
-
|
6708
|
-
const EditIcon = ({ stroke, fill = "#007BE5" }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 15, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
6709
|
-
"path",
|
6710
|
-
{
|
6711
|
-
fill,
|
6712
|
-
stroke,
|
6713
|
-
d: "m1.177 11.137.711.237-.711-.237ZM1.8 9.264l-.712-.238.712.238Zm.644-1.043.53.53-.53-.53ZM8.667 2l-.53-.53.53.53ZM12 5.333l.53.53-.53-.53Zm-6.222 6.222-.53-.53.53.53Zm-1.042.644.237.711-.237-.711Zm-1.873.624.237.712-.237-.712Zm2.574-.95-.452-.598.452.599Zm-.263.163-.333-.672.333.672Zm7.629-9.11-.672.333.672-.333Zm0 1.48-.672-.333.672.333Zm-3.21-3.21.333.673-.333-.672Zm1.48 0-.333.673.333-.672Zm-9.11 7.63.673.333-.672-.333Zm.163-.263-.599-.452.6.452Zm-1.26 4.066-.706.252.706-.252Zm.505.505-.252.706.252-.706ZM8.364 2.303a.75.75 0 0 0-1.061 1.06l1.06-1.06Zm2.272 4.394a.75.75 0 0 0 1.061-1.06l-1.06 1.06ZM7 12.917a.75.75 0 0 0 0 1.5v-1.5Zm5.833 1.5a.75.75 0 0 0 0-1.5v1.5Zm-11.656-3.28.711.237.624-1.873-.711-.237-.712-.238L.465 10.9l.712.238ZM2.445 8.22l.53.53 6.222-6.22L8.667 2l-.53-.53-6.222 6.22.53.531ZM12 5.333l-.53-.53-6.222 6.221.53.53.53.53 6.222-6.22-.53-.53ZM4.736 12.2l-.237-.712-1.873.625.237.711.237.712 1.873-.625-.237-.711Zm1.042-.644-.53-.53c-.18.18-.222.219-.263.25l.452.599.451.598c.144-.108.269-.235.42-.387l-.53-.53Zm-1.042.644.237.711c.204-.068.373-.122.535-.202l-.334-.672-.333-.672c-.047.023-.1.043-.342.123l.237.712Zm.7-.325-.451-.6a.92.92 0 0 1-.144.09l.333.672.334.672c.134-.067.261-.146.38-.236l-.451-.598ZM12 2l-.53.53c.497.497.608.622.661.73l.672-.334.672-.333c-.19-.383-.533-.712-.945-1.124L12 2Zm0 3.333.53.53c.412-.411.755-.74.945-1.124l-.672-.333-.672-.333c-.053.107-.164.233-.661.73l.53.53Zm.803-2.407-.672.333a.917.917 0 0 1 0 .814l.672.333.672.333a2.417 2.417 0 0 0 0-2.146l-.672.333ZM8.667 2l.53.53c.497-.497.622-.608.73-.661l-.334-.672L9.26.525c-.383.19-.712.533-1.124.944l.53.53ZM12 2l.53-.53c-.411-.412-.74-.755-1.124-.945l-.333.672-.333.672c.107.053.232.164.73.661L12 2Zm-2.407-.803.333.672a.917.917 0 0 1 .814 0l.333-.672.333-.672a2.417 2.417 0 0 0-2.146 0l.333.672ZM1.801 9.264l.711.237c.081-.242.1-.295.124-.342l-.672-.333-.672-.334c-.08.161-.135.33-.203.534l.712.238Zm.644-1.043-.53-.53c-.152.152-.279.276-.388.42l.6.452.598.452a2.99 2.99 0 0 1 .25-.263l-.53-.53Zm-.481.605.672.333c.025-.05.055-.1.089-.144l-.599-.452-.599-.452c-.09.12-.168.247-.235.381l.672.334Zm-.787 2.31L.465 10.9c-.13.393-.246.737-.312 1.016-.063.267-.118.617.007.966l.706-.252.706-.252c.028.078-.007.088.041-.119.046-.196.135-.463.275-.884l-.711-.237Zm1.686 1.687-.237-.711c-.421.14-.688.228-.884.274-.208.049-.197.014-.12.041l-.251.707-.252.706c.349.124.698.07.966.007.278-.066.622-.181 1.015-.312l-.237-.712ZM.866 12.63l-.706.252c.16.447.511.8.96.96l.251-.707.252-.707a.083.083 0 0 1-.05-.05l-.707.252Zm6.967-9.796-.53.53 3.333 3.334.53-.53.531-.53-3.333-3.334-.53.53ZM7 13.666v.75h5.833v-1.5H7v.75Z"
|
6714
|
-
}
|
6715
|
-
) });
|
6716
|
-
|
6717
6729
|
const CLASS_PART_SEPARATOR = '-';
|
6718
6730
|
const createClassGroupUtils = config => {
|
6719
6731
|
const classMap = createClassMap(config);
|
@@ -9942,16 +9954,8 @@ const HeadingTable = (props) => {
|
|
9942
9954
|
showSetting,
|
9943
9955
|
renderHeadingSearch,
|
9944
9956
|
rightHeadingContent,
|
9945
|
-
breadCrumb
|
9946
|
-
editable,
|
9947
|
-
setData,
|
9948
|
-
initialValue
|
9957
|
+
breadCrumb
|
9949
9958
|
} = props;
|
9950
|
-
const addRow = () => {
|
9951
|
-
if (initialValue) {
|
9952
|
-
setData((prev) => [...prev, initialValue]);
|
9953
|
-
}
|
9954
|
-
};
|
9955
9959
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
9956
9960
|
Heading,
|
9957
9961
|
{
|
@@ -9963,25 +9967,13 @@ const HeadingTable = (props) => {
|
|
9963
9967
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Divider$1, { className: "!my-5 !mb-4" }),
|
9964
9968
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-between items-center", children: [
|
9965
9969
|
/* @__PURE__ */ jsxRuntimeExports.jsx(GroupHeadingButton, {}),
|
9966
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
9967
|
-
|
9968
|
-
|
9969
|
-
|
9970
|
-
|
9971
|
-
|
9972
|
-
|
9973
|
-
),
|
9974
|
-
editable && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
9975
|
-
Button$1,
|
9976
|
-
{
|
9977
|
-
shape: "circle",
|
9978
|
-
className: "cursor-pointer ",
|
9979
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(PlusIcon, {}),
|
9980
|
-
type: "primary",
|
9981
|
-
onClick: addRow
|
9982
|
-
}
|
9983
|
-
)
|
9984
|
-
] })
|
9970
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
9971
|
+
IconSettingTable,
|
9972
|
+
{
|
9973
|
+
setOpenStting,
|
9974
|
+
showSetting
|
9975
|
+
}
|
9976
|
+
)
|
9985
9977
|
] })
|
9986
9978
|
]
|
9987
9979
|
}
|
@@ -10300,13 +10292,12 @@ const Table = ({
|
|
10300
10292
|
status,
|
10301
10293
|
schema,
|
10302
10294
|
breadCrumb,
|
10303
|
-
initialValueForm,
|
10304
10295
|
...rest
|
10305
10296
|
}) => {
|
10306
10297
|
//! State
|
10307
10298
|
const paginationConfig = {
|
10308
10299
|
current: filters.PageIndex,
|
10309
|
-
pageSize: filters
|
10300
|
+
pageSize: filters?.PageSize,
|
10310
10301
|
total: totalItems,
|
10311
10302
|
showSizeChanger: true,
|
10312
10303
|
showQuickJumper: true,
|
@@ -10352,15 +10343,14 @@ const Table = ({
|
|
10352
10343
|
setEditingKey("");
|
10353
10344
|
}
|
10354
10345
|
};
|
10355
|
-
const cancel = (
|
10356
|
-
e?.stopPropagation();
|
10346
|
+
const cancel = () => {
|
10357
10347
|
setEditingKey("");
|
10358
10348
|
};
|
10359
10349
|
const columnsEditable = [
|
10360
10350
|
...columns,
|
10361
10351
|
{
|
10362
|
-
title: "
|
10363
|
-
dataIndex: "
|
10352
|
+
title: "Operation",
|
10353
|
+
dataIndex: "operation",
|
10364
10354
|
render: (_, record) => {
|
10365
10355
|
const editable2 = isEditing(record);
|
10366
10356
|
return editable2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
|
@@ -10368,8 +10358,8 @@ const Table = ({
|
|
10368
10358
|
Popconfirm$1,
|
10369
10359
|
{
|
10370
10360
|
title: "Bạn có chắc chắn muốn huỷ chỉnh sửa?",
|
10371
|
-
onConfirm:
|
10372
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
10361
|
+
onConfirm: cancel,
|
10362
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "danger", children: " Huỷ bỏ" })
|
10373
10363
|
}
|
10374
10364
|
),
|
10375
10365
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { htmlType: "submit", variant: "text", color: "blue", children: "Lưu" })
|
@@ -10379,10 +10369,9 @@ const Table = ({
|
|
10379
10369
|
{
|
10380
10370
|
disabled: editingKey !== "",
|
10381
10371
|
onClick: () => edit(record),
|
10382
|
-
|
10383
|
-
|
10384
|
-
|
10385
|
-
type: "text"
|
10372
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$6, {}),
|
10373
|
+
variant: "text",
|
10374
|
+
color: "blue"
|
10386
10375
|
}
|
10387
10376
|
),
|
10388
10377
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Popconfirm$1, { title: "Bạn có muốn xoá ?", onConfirm: () => {
|
@@ -10390,10 +10379,9 @@ const Table = ({
|
|
10390
10379
|
Button,
|
10391
10380
|
{
|
10392
10381
|
disabled: editingKey !== "",
|
10393
|
-
|
10394
|
-
|
10395
|
-
|
10396
|
-
type: "text"
|
10382
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$7, {}),
|
10383
|
+
variant: "text",
|
10384
|
+
color: "red"
|
10397
10385
|
}
|
10398
10386
|
) })
|
10399
10387
|
] });
|
@@ -10448,10 +10436,7 @@ const Table = ({
|
|
10448
10436
|
renderHeadingSearch,
|
10449
10437
|
setOpenStting,
|
10450
10438
|
showSetting,
|
10451
|
-
breadCrumb
|
10452
|
-
editable,
|
10453
|
-
initialValue: initialValueForm,
|
10454
|
-
setData
|
10439
|
+
breadCrumb
|
10455
10440
|
}
|
10456
10441
|
),
|
10457
10442
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
@@ -10527,30 +10512,6 @@ const tableCss = css`
|
|
10527
10512
|
.ant-table-row:hover {
|
10528
10513
|
background-color: #e7f0ff;
|
10529
10514
|
}
|
10530
|
-
|
10531
|
-
.ant-table-body {
|
10532
|
-
scrollbar-width: auto;
|
10533
|
-
scrollbar-color: auto;
|
10534
|
-
}
|
10535
|
-
|
10536
|
-
// custom scrollbar
|
10537
|
-
.ant-table-body::-webkit-scrollbar {
|
10538
|
-
width: 8px;
|
10539
|
-
}
|
10540
|
-
|
10541
|
-
.ant-table-body::-webkit-scrollbar-track {
|
10542
|
-
background-color: #e1e6e6;
|
10543
|
-
}
|
10544
|
-
|
10545
|
-
.ant-table-body::-webkit-scrollbar-thumb {
|
10546
|
-
border-radius: 6px;
|
10547
|
-
background-color: #a8caff;
|
10548
|
-
}
|
10549
|
-
|
10550
|
-
.ant-table-body::-webkit-scrollbar-thumb:hover {
|
10551
|
-
border-radius: 6px;
|
10552
|
-
background-color: #598cf4;
|
10553
|
-
}
|
10554
10515
|
`;
|
10555
10516
|
|
10556
10517
|
const createStoreImpl = (createState) => {
|
@@ -14274,7 +14235,7 @@ function genStyleUtils(config) {
|
|
14274
14235
|
};
|
14275
14236
|
}
|
14276
14237
|
|
14277
|
-
const version = '5.25.
|
14238
|
+
const version = '5.25.1';
|
14278
14239
|
|
14279
14240
|
function isStableColor(color) {
|
14280
14241
|
return color >= 0 && color <= 255;
|
@@ -16489,7 +16450,7 @@ const Sider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
16489
16450
|
onClick: toggle,
|
16490
16451
|
className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),
|
16491
16452
|
style: zeroWidthTriggerStyle
|
16492
|
-
}, trigger || /*#__PURE__*/React.createElement(RefIcon$
|
16453
|
+
}, trigger || /*#__PURE__*/React.createElement(RefIcon$8, null))) : null;
|
16493
16454
|
const reverseIcon = direction === 'rtl' === !reverseArrow;
|
16494
16455
|
const iconObj = {
|
16495
16456
|
expanded: reverseIcon ? /*#__PURE__*/React.createElement(RefIcon$2, null) : /*#__PURE__*/React.createElement(RefIcon$4, null),
|
@@ -17473,7 +17434,23 @@ const ActionRowTable = ({
|
|
17473
17434
|
type: "text",
|
17474
17435
|
className: "cursor-pointer",
|
17475
17436
|
shape: "circle",
|
17476
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17437
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17438
|
+
"svg",
|
17439
|
+
{
|
17440
|
+
xmlns: "http://www.w3.org/2000/svg",
|
17441
|
+
width: "20",
|
17442
|
+
height: "20",
|
17443
|
+
viewBox: "0 0 20 20",
|
17444
|
+
fill: "none",
|
17445
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17446
|
+
"path",
|
17447
|
+
{
|
17448
|
+
d: "M4.17657 14.1368L4.88808 14.374L4.17657 14.1368ZM4.80089 12.2639L4.08938 12.0267L4.08938 12.0267L4.80089 12.2639ZM5.44509 11.2215L5.97542 11.7519L5.97542 11.7519L5.44509 11.2215ZM11.6666 4.99999L11.1363 4.46966V4.46966L11.6666 4.99999ZM15 8.33333L15.5303 8.86366V8.86366L15 8.33333ZM8.77843 14.5549L8.2481 14.0245L8.2481 14.0245L8.77843 14.5549ZM7.73608 15.1991L7.97325 15.9106H7.97326L7.73608 15.1991ZM5.86312 15.8234L6.10029 16.5349L6.10029 16.5349L5.86312 15.8234ZM8.43672 14.8738L7.98504 14.2751L7.98504 14.2751L8.43672 14.8738ZM8.17417 15.0361L7.84064 14.3643L8.17417 15.0361ZM15.803 5.92663L15.131 6.25964V6.25964L15.803 5.92663ZM15.803 7.40669L15.131 7.07367V7.07367L15.803 7.40669ZM12.5933 4.19698L12.9263 4.869L12.9263 4.869L12.5933 4.19698ZM14.0733 4.19698L13.7403 4.869V4.869L14.0733 4.19698ZM4.96388 11.8258L5.63564 12.1593L5.63564 12.1593L4.96388 11.8258ZM5.12615 11.5632L4.52742 11.1115L4.52742 11.1115L5.12615 11.5632ZM3.86599 15.6289L3.15956 15.8809L3.86599 15.6289ZM4.37101 16.134L4.1191 16.8404L4.1191 16.8404L4.37101 16.134ZM11.3636 5.30302C11.0707 5.01013 10.5959 5.01013 10.303 5.30302C10.0101 5.59592 10.0101 6.07079 10.303 6.36368L11.3636 5.30302ZM13.6363 9.69702C13.9292 9.98991 14.4041 9.98991 14.697 9.69702C14.9898 9.40412 14.9898 8.92925 14.697 8.63636L13.6363 9.69702ZM9.99996 15.9167C9.58575 15.9167 9.24996 16.2524 9.24996 16.6667C9.24996 17.0809 9.58575 17.4167 9.99996 17.4167V15.9167ZM15.8333 17.4167C16.2475 17.4167 16.5833 17.0809 16.5833 16.6667C16.5833 16.2524 16.2475 15.9167 15.8333 15.9167V17.4167ZM4.17657 14.1368L4.88808 14.374L5.5124 12.501L4.80089 12.2639L4.08938 12.0267L3.46506 13.8997L4.17657 14.1368ZM5.44509 11.2215L5.97542 11.7519L12.197 5.53032L11.6666 4.99999L11.1363 4.46966L4.91476 10.6912L5.44509 11.2215ZM15 8.33333L14.4696 7.803L8.2481 14.0245L8.77843 14.5549L9.30876 15.0852L15.5303 8.86366L15 8.33333ZM7.73608 15.1991L7.49891 14.4875L5.62594 15.1119L5.86312 15.8234L6.10029 16.5349L7.97325 15.9106L7.73608 15.1991ZM8.77843 14.5549L8.2481 14.0245C8.06793 14.2047 8.02648 14.2438 7.98504 14.2751L8.43672 14.8738L8.8884 15.4725C9.03233 15.364 9.1569 15.237 9.30876 15.0852L8.77843 14.5549ZM7.73608 15.1991L7.97326 15.9106C8.17699 15.8427 8.34621 15.788 8.50769 15.7078L8.17417 15.0361L7.84064 14.3643C7.79415 14.3874 7.74063 14.407 7.49891 14.4875L7.73608 15.1991ZM8.43672 14.8738L7.98504 14.2751C7.93977 14.3092 7.89143 14.3391 7.84064 14.3643L8.17417 15.0361L8.50769 15.7078C8.6416 15.6413 8.76905 15.5626 8.88841 15.4725L8.43672 14.8738ZM15 4.99999L14.4696 5.53032C14.9668 6.02752 15.0779 6.15265 15.131 6.25964L15.803 5.92663L16.475 5.59362C16.2851 5.21046 15.9418 4.88122 15.5303 4.46966L15 4.99999ZM15 8.33333L15.5303 8.86366C15.9418 8.4521 16.2851 8.12286 16.475 7.7397L15.803 7.40669L15.131 7.07367C15.0779 7.18067 14.9668 7.3058 14.4696 7.803L15 8.33333ZM15.803 5.92663L15.131 6.25964C15.258 6.51611 15.258 6.81721 15.131 7.07367L15.803 7.40669L16.475 7.7397C16.81 7.06357 16.81 6.26975 16.475 5.59362L15.803 5.92663ZM11.6666 4.99999L12.197 5.53032C12.6941 5.03313 12.8193 4.92202 12.9263 4.869L12.5933 4.19698L12.2603 3.52497C11.8771 3.71484 11.5479 4.05811 11.1363 4.46966L11.6666 4.99999ZM15 4.99999L15.5303 4.46966C15.1187 4.05811 14.7895 3.71484 14.4063 3.52497L14.0733 4.19698L13.7403 4.869C13.8473 4.92202 13.9724 5.03313 14.4696 5.53032L15 4.99999ZM12.5933 4.19698L12.9263 4.869C13.1827 4.74191 13.4838 4.74191 13.7403 4.869L14.0733 4.19698L14.4063 3.52497C13.7302 3.18992 12.9364 3.18992 12.2603 3.52497L12.5933 4.19698ZM4.80089 12.2639L5.5124 12.501C5.59298 12.2593 5.61256 12.2058 5.63564 12.1593L4.96388 11.8258L4.29213 11.4923C4.21195 11.6537 4.15729 11.823 4.08938 12.0267L4.80089 12.2639ZM5.44509 11.2215L4.91477 10.6912C4.76291 10.8431 4.636 10.9676 4.52742 11.1115L5.12615 11.5632L5.72489 12.0149C5.75615 11.9735 5.79526 11.932 5.97542 11.7519L5.44509 11.2215ZM4.96388 11.8258L5.63564 12.1593C5.66086 12.1085 5.69074 12.0602 5.72489 12.0149L5.12615 11.5632L4.52742 11.1115C4.43738 11.2309 4.35861 11.3583 4.29213 11.4923L4.96388 11.8258ZM4.17657 14.1368L3.46506 13.8997C3.33407 14.2926 3.21866 14.6365 3.15318 14.9151C3.09031 15.1827 3.03521 15.5321 3.15956 15.8809L3.86599 15.6289L4.57242 15.377C4.60023 15.455 4.5647 15.4655 4.61341 15.2583C4.6595 15.0621 4.74764 14.7953 4.88808 14.374L4.17657 14.1368ZM5.86312 15.8234L5.62595 15.1119C5.20464 15.2523 4.93782 15.3405 4.74168 15.3865C4.53442 15.4352 4.54493 15.3997 4.62292 15.4275L4.37101 16.134L4.1191 16.8404C4.46782 16.9647 4.81727 16.9096 5.08481 16.8468C5.36348 16.7813 5.70735 16.6659 6.10029 16.5349L5.86312 15.8234ZM3.86599 15.6289L3.15956 15.8809C3.31919 16.3285 3.67145 16.6808 4.1191 16.8404L4.37101 16.134L4.62292 15.4275C4.59936 15.4191 4.58082 15.4006 4.57242 15.377L3.86599 15.6289ZM10.8333 5.83335L10.303 6.36368L13.6363 9.69702L14.1666 9.16669L14.697 8.63636L11.3636 5.30302L10.8333 5.83335ZM9.99996 16.6667V17.4167H15.8333V16.6667V15.9167H9.99996V16.6667Z",
|
17449
|
+
fill: "#007BE5"
|
17450
|
+
}
|
17451
|
+
)
|
17452
|
+
}
|
17453
|
+
)
|
17477
17454
|
}
|
17478
17455
|
) }) });
|
17479
17456
|
case TypeActionRowTable.DELETE:
|
@@ -17482,9 +17459,25 @@ const ActionRowTable = ({
|
|
17482
17459
|
{
|
17483
17460
|
onClick: handleClick,
|
17484
17461
|
type: "text",
|
17485
|
-
className: "cursor-pointer ",
|
17462
|
+
className: "cursor-pointer p-2",
|
17486
17463
|
shape: "circle",
|
17487
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17464
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17465
|
+
"svg",
|
17466
|
+
{
|
17467
|
+
xmlns: "http://www.w3.org/2000/svg",
|
17468
|
+
width: "20",
|
17469
|
+
height: "20",
|
17470
|
+
viewBox: "0 0 20 20",
|
17471
|
+
fill: "none",
|
17472
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17473
|
+
"path",
|
17474
|
+
{
|
17475
|
+
d: "M15.7438 15.0298L16.4938 15.0364L15.7438 15.0298ZM3.33337 4.24999C2.91916 4.24999 2.58337 4.58578 2.58337 4.99999C2.58337 5.4142 2.91916 5.74999 3.33337 5.74999V4.24999ZM16.6667 5.74999C17.0809 5.74999 17.4167 5.4142 17.4167 4.99999C17.4167 4.58578 17.0809 4.24999 16.6667 4.24999V5.74999ZM9.08337 8.33332C9.08337 7.91911 8.74759 7.58332 8.33337 7.58332C7.91916 7.58332 7.58337 7.91911 7.58337 8.33332H9.08337ZM7.58337 15C7.58337 15.4142 7.91916 15.75 8.33337 15.75C8.74759 15.75 9.08337 15.4142 9.08337 15H7.58337ZM12.4167 8.33332C12.4167 7.91911 12.0809 7.58332 11.6667 7.58332C11.2525 7.58332 10.9167 7.91911 10.9167 8.33332H12.4167ZM10.9167 15C10.9167 15.4142 11.2525 15.75 11.6667 15.75C12.0809 15.75 12.4167 15.4142 12.4167 15H10.9167ZM15.8334 4.99999L15.0834 4.99329L14.9939 15.0231L15.7438 15.0298L16.4938 15.0364L16.5833 5.00669L15.8334 4.99999ZM12.4106 18.3333V17.5833H7.50004V18.3333V19.0833H12.4106V18.3333ZM4.16671 4.99999H3.41671V15H4.16671H4.91671V4.99999H4.16671ZM3.33337 4.99999V5.74999H4.16671V4.99999V4.24999H3.33337V4.99999ZM4.16671 4.99999V5.74999H6.66671V4.99999V4.24999H4.16671V4.99999ZM6.66671 4.99999V5.74999H13.3334V4.99999V4.24999H6.66671V4.99999ZM13.3334 4.99999V5.74999H15.8334V4.99999V4.24999H13.3334V4.99999ZM15.8334 4.99999V5.74999H16.6667V4.99999V4.24999H15.8334V4.99999ZM6.66671 4.62962H7.41671C7.41671 3.48804 8.48782 2.41666 10 2.41666V1.66666V0.916656C7.83036 0.916656 5.91671 2.4984 5.91671 4.62962H6.66671ZM10 1.66666V2.41666C11.5123 2.41666 12.5834 3.48804 12.5834 4.62962H13.3334H14.0834C14.0834 2.4984 12.1697 0.916656 10 0.916656V1.66666ZM6.66671 4.62962H5.91671V4.99999H6.66671H7.41671V4.62962H6.66671ZM13.3334 4.62962H12.5834V4.99999H13.3334H14.0834V4.62962H13.3334ZM7.50004 18.3333V17.5833C6.0733 17.5833 4.91671 16.4267 4.91671 15H4.16671H3.41671C3.41671 17.2552 5.24488 19.0833 7.50004 19.0833V18.3333ZM15.7438 15.0298L14.9939 15.0231C14.9812 16.4407 13.8284 17.5833 12.4106 17.5833V18.3333V19.0833C14.6516 19.0833 16.4738 17.2773 16.4938 15.0364L15.7438 15.0298ZM8.33337 8.33332H7.58337V15H8.33337H9.08337V8.33332H8.33337ZM11.6667 8.33332H10.9167V15H11.6667H12.4167V8.33332H11.6667Z",
|
17476
|
+
fill: "#DD4338"
|
17477
|
+
}
|
17478
|
+
)
|
17479
|
+
}
|
17480
|
+
)
|
17488
17481
|
}
|
17489
17482
|
) });
|
17490
17483
|
}
|
package/es/fields/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, b as TinyMCE } from '../chunks/Upload-
|
2
|
-
export { R as RadioGroup, S as Select, a as SwitchField } from '../chunks/Switch-
|
1
|
+
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, b as TinyMCE } from '../chunks/Upload-T_yMWa7w.js';
|
2
|
+
export { R as RadioGroup, S as Select, a as SwitchField } from '../chunks/Switch-C1uDuMv6.js';
|
package/es/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export { Z as ActionRowTable, 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, Y as CategoryStatus, 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/index-
|
2
|
-
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/Upload-
|
1
|
+
export { Z as ActionRowTable, 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, Y as CategoryStatus, 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/index-Cw-kPYS8.js';
|
2
|
+
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/Upload-T_yMWa7w.js';
|
3
3
|
import 'react-router';
|
4
4
|
export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TypeActionRowTable, u as useToast } from './chunks/table-B28OPA57.js';
|
5
|
-
export { R as RadioGroup, S as Select, a as SwitchField } from './chunks/Switch-
|
5
|
+
export { R as RadioGroup, S as Select, a as SwitchField } from './chunks/Switch-C1uDuMv6.js';
|
6
6
|
export { u as useFiltersHandler, a as useMessage, b as useToggle } from './chunks/useToggle-C5Y4aFUQ.js';
|
package/es/ui/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { Z as ActionRowTable, 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, Y as CategoryStatus, 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/index-
|
2
|
-
export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/Upload-
|
1
|
+
export { Z as ActionRowTable, 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, Y as CategoryStatus, 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/index-Cw-kPYS8.js';
|
2
|
+
export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/Upload-T_yMWa7w.js';
|
3
3
|
import 'react-router';
|
4
4
|
export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TypeActionRowTable } from '../chunks/table-B28OPA57.js';
|
package/package.json
CHANGED
package/types/fields.d.ts
CHANGED
@@ -6,8 +6,8 @@ import { Dayjs } from 'dayjs';
|
|
6
6
|
import { default as default_2 } from 'react';
|
7
7
|
import { IAllProps } from '@tinymce/tinymce-react';
|
8
8
|
import { InputProps as InputProps_2 } from 'antd';
|
9
|
-
import { JSX } from 'react/jsx-runtime';
|
10
|
-
import { JSX as
|
9
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
10
|
+
import { JSX as JSX_3 } from 'react';
|
11
11
|
import { RadioGroupProps } from 'antd';
|
12
12
|
import { RangePickerProps } from 'antd/es/date-picker';
|
13
13
|
import * as React_2 from 'react';
|
@@ -20,7 +20,7 @@ import { UploadProps } from 'antd';
|
|
20
20
|
import { UseFormSetValue } from 'react-hook-form';
|
21
21
|
import { UseFormStateReturn } from 'react-hook-form';
|
22
22
|
|
23
|
-
export declare const CheckboxField: (props: CheckboxFieldProps) =>
|
23
|
+
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
|
24
24
|
|
25
25
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
26
26
|
field?: ControllerRenderProps<any, any>;
|
@@ -53,9 +53,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
53
53
|
size?: TSize;
|
54
54
|
}
|
55
55
|
|
56
|
-
export declare const DatePickerField: (props: DatePickerDMYProps) =>
|
56
|
+
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
|
57
57
|
|
58
|
-
export declare const Input: (props: InputProps) =>
|
58
|
+
export declare const Input: (props: InputProps) => JSX_2.Element;
|
59
59
|
|
60
60
|
export declare interface InputProps extends InputProps_2 {
|
61
61
|
field?: ControllerRenderProps<any, any>;
|
@@ -73,7 +73,7 @@ export declare interface InputProps extends InputProps_2 {
|
|
73
73
|
}
|
74
74
|
|
75
75
|
export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
|
76
|
-
render():
|
76
|
+
render(): JSX_2.Element;
|
77
77
|
}
|
78
78
|
|
79
79
|
export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
|
@@ -91,10 +91,10 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
|
|
91
91
|
type?: TInputNumberType;
|
92
92
|
prefix?: string;
|
93
93
|
suffix?: string;
|
94
|
-
helperText?: () =>
|
94
|
+
helperText?: () => JSX_3.Element | null;
|
95
95
|
}
|
96
96
|
|
97
|
-
export declare const RadioGroup: (props: RadioProps) =>
|
97
|
+
export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
|
98
98
|
|
99
99
|
export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
|
100
100
|
field?: ControllerRenderProps<any, any>;
|
@@ -107,7 +107,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
|
|
107
107
|
position?: TPositionRadio;
|
108
108
|
}
|
109
109
|
|
110
|
-
export declare const RangePickerField: (props: RangePickerFieldProps) =>
|
110
|
+
export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
|
111
111
|
|
112
112
|
export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
|
113
113
|
field?: ControllerRenderProps<any, any>;
|
@@ -119,7 +119,7 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
119
119
|
customStyleDatePicker?: string;
|
120
120
|
}
|
121
121
|
|
122
|
-
export declare const Select: (props: SelectFieldProps) =>
|
122
|
+
export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
|
123
123
|
|
124
124
|
export declare interface SelectFieldProps extends SelectProps {
|
125
125
|
field?: ControllerRenderProps<any, any>;
|
@@ -131,7 +131,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
131
131
|
customStyleContainer?: string;
|
132
132
|
}
|
133
133
|
|
134
|
-
export declare const SwitchField: (props: SwitchFieldProps) =>
|
134
|
+
export declare const SwitchField: (props: SwitchFieldProps) => JSX_2.Element;
|
135
135
|
|
136
136
|
export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange"> {
|
137
137
|
field?: ControllerRenderProps<any, any>;
|
@@ -155,7 +155,7 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
|
|
155
155
|
declare type TInputNumberType = "number" | "money";
|
156
156
|
|
157
157
|
export declare const TinyMCE: {
|
158
|
-
(props: TinyProps):
|
158
|
+
(props: TinyProps): JSX_2.Element;
|
159
159
|
displayName: string;
|
160
160
|
};
|
161
161
|
|
package/types/index.d.ts
CHANGED
@@ -42,15 +42,15 @@ import { ForwardRefExoticComponent } from 'react';
|
|
42
42
|
import { IAllProps } from '@tinymce/tinymce-react';
|
43
43
|
import { ImageProps } from 'antd';
|
44
44
|
import { InputProps as InputProps_2 } from 'antd';
|
45
|
-
import { JSX } from 'react/jsx-runtime';
|
46
|
-
import { JSX as
|
45
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
46
|
+
import { JSX as JSX_3 } from 'react';
|
47
47
|
import { MenuDividerProps } from 'antd/es/menu';
|
48
48
|
import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
|
49
49
|
import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
|
50
50
|
import { MenuProps as MenuProps_2 } from 'antd/es/menu';
|
51
51
|
import { ModalProps as ModalProps_2 } from 'antd';
|
52
52
|
import { Pagination as Pagination_2 } from 'antd';
|
53
|
-
import { PaginationFilters as PaginationFilters_2 } from '
|
53
|
+
import { PaginationFilters as PaginationFilters_2 } from '../../../../../../../../../../src/components/hooks';
|
54
54
|
import { PaginationLocale } from 'rc-pagination';
|
55
55
|
import { PaginationProps as PaginationProps_2 } from 'antd';
|
56
56
|
import { ParagraphProps } from 'antd/es/typography/Paragraph';
|
@@ -93,7 +93,7 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
93
93
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
94
94
|
import { TourProps as TourProps_2 } from 'antd';
|
95
95
|
import { TreeProps as TreeProps_2 } from 'antd';
|
96
|
-
import { TypeActionRowTable as TypeActionRowTable_2 } from '
|
96
|
+
import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../src/constants/table';
|
97
97
|
import { UploadFile } from 'antd';
|
98
98
|
import { UploadProps } from 'antd';
|
99
99
|
import { UseFormReset } from 'react-hook-form';
|
@@ -103,7 +103,7 @@ import { UseFormStateReturn } from 'react-hook-form';
|
|
103
103
|
import { WatermarkProps } from 'antd';
|
104
104
|
import * as yup from 'yup';
|
105
105
|
|
106
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
106
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
|
107
107
|
|
108
108
|
export declare interface ActionRowTableProps {
|
109
109
|
type: TypeActionRowTable_2;
|
@@ -123,7 +123,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
123
123
|
|
124
124
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
125
125
|
|
126
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
126
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
|
127
127
|
|
128
128
|
export declare interface AppfixProps extends AffixProps {
|
129
129
|
children: default_2.ReactNode;
|
@@ -133,7 +133,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
133
133
|
|
134
134
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
135
135
|
|
136
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
136
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
|
137
137
|
|
138
138
|
export declare interface BadgeProps extends BadgeProps_2 {
|
139
139
|
type?: "error" | "info" | "success" | "warning";
|
@@ -203,7 +203,7 @@ declare type BaseProps_9 = {
|
|
203
203
|
spaceClassName?: string;
|
204
204
|
};
|
205
205
|
|
206
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
206
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
|
207
207
|
|
208
208
|
export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
|
209
209
|
children?: Omit<BreadcrumbItemType, "children">[];
|
@@ -215,7 +215,7 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
|
|
215
215
|
|
216
216
|
export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
|
217
217
|
|
218
|
-
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) =>
|
218
|
+
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) => JSX_2.Element;
|
219
219
|
|
220
220
|
export declare interface BulkActionProps {
|
221
221
|
quantity?: number;
|
@@ -235,17 +235,17 @@ export declare const Button: default_2.FC<ButtonProps>;
|
|
235
235
|
|
236
236
|
export declare type ButtonProps = ButtonProps_2;
|
237
237
|
|
238
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
238
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
|
239
239
|
|
240
240
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
241
241
|
|
242
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
242
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
|
243
243
|
|
244
244
|
export declare interface CategoryStatusProps {
|
245
245
|
status: number;
|
246
246
|
}
|
247
247
|
|
248
|
-
export declare const CheckboxField: (props: CheckboxFieldProps) =>
|
248
|
+
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
|
249
249
|
|
250
250
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
251
251
|
field?: ControllerRenderProps<any, any>;
|
@@ -257,7 +257,7 @@ export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChang
|
|
257
257
|
customStyleCheckbox?: string;
|
258
258
|
}
|
259
259
|
|
260
|
-
export declare const Col: (props: ColPropsUnion) =>
|
260
|
+
export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
|
261
261
|
|
262
262
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
263
263
|
}
|
@@ -277,7 +277,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
277
277
|
ItemGroup: typeof ItemGroup;
|
278
278
|
};
|
279
279
|
|
280
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
280
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
|
281
281
|
|
282
282
|
export declare interface ConfirmModalProps extends ModalProps {
|
283
283
|
title: string;
|
@@ -318,9 +318,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
318
318
|
size?: TSize;
|
319
319
|
}
|
320
320
|
|
321
|
-
export declare const DatePickerField: (props: DatePickerDMYProps) =>
|
321
|
+
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
|
322
322
|
|
323
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
323
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
|
324
324
|
|
325
325
|
declare const Divider_2: FC<MenuDividerProps>;
|
326
326
|
|
@@ -328,14 +328,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
328
328
|
children?: ReactNode | string;
|
329
329
|
}
|
330
330
|
|
331
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
331
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
|
332
332
|
|
333
333
|
export declare interface DrawerProps extends DrawerProps_2 {
|
334
334
|
children?: ReactNode;
|
335
335
|
onSubmit?: (values: any) => void;
|
336
336
|
}
|
337
337
|
|
338
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
338
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
|
339
339
|
|
340
340
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
341
341
|
|
@@ -369,7 +369,7 @@ export declare interface ErrorBoundaryState {
|
|
369
369
|
errorInfo: ErrorInfo | null;
|
370
370
|
}
|
371
371
|
|
372
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
372
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
|
373
373
|
|
374
374
|
export declare interface ErrorMessageProps {
|
375
375
|
errorMessage?: string;
|
@@ -382,13 +382,13 @@ declare type ExtraProps = {
|
|
382
382
|
menuClassName?: string;
|
383
383
|
};
|
384
384
|
|
385
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
385
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
|
386
386
|
|
387
387
|
export declare type FlexProps = FlexProps_2;
|
388
388
|
|
389
389
|
export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
|
390
390
|
|
391
|
-
export declare const Heading: (props: HeadingProps) =>
|
391
|
+
export declare const Heading: (props: HeadingProps) => JSX_2.Element;
|
392
392
|
|
393
393
|
export declare interface HeadingProps {
|
394
394
|
rightContent?: ReactNode;
|
@@ -403,7 +403,7 @@ export { Image_2 as Image }
|
|
403
403
|
|
404
404
|
export declare type InitialFiltersSearch<T> = T & PaginationFilters;
|
405
405
|
|
406
|
-
export declare const Input: (props: InputProps) =>
|
406
|
+
export declare const Input: (props: InputProps) => JSX_2.Element;
|
407
407
|
|
408
408
|
export declare interface InputProps extends InputProps_2 {
|
409
409
|
field?: ControllerRenderProps<any, any>;
|
@@ -426,7 +426,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
426
426
|
|
427
427
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
428
428
|
|
429
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
429
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
|
430
430
|
|
431
431
|
export declare interface LabelProps {
|
432
432
|
label: string;
|
@@ -453,7 +453,7 @@ export declare type MenuItemProps = MenuItemProps_2;
|
|
453
453
|
|
454
454
|
export declare type MenuProps = MenuProps_2;
|
455
455
|
|
456
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
456
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
|
457
457
|
|
458
458
|
export declare interface ModalProps extends ModalProps_2 {
|
459
459
|
children?: ReactNode;
|
@@ -500,7 +500,7 @@ export declare type PnkxCollapseProps = CollapseProps;
|
|
500
500
|
export declare const PnkxColorPicker: React.FC<ColorPickerProps>;
|
501
501
|
|
502
502
|
export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
|
503
|
-
render():
|
503
|
+
render(): JSX_2.Element;
|
504
504
|
}
|
505
505
|
|
506
506
|
export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
|
@@ -513,13 +513,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
513
513
|
children?: ReactNode;
|
514
514
|
}
|
515
515
|
|
516
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
516
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
|
517
517
|
|
518
518
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
519
519
|
children?: ReactNode;
|
520
520
|
}
|
521
521
|
|
522
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
522
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
|
523
523
|
|
524
524
|
export declare type PopoverProps = PopoverProps_2;
|
525
525
|
|
@@ -534,14 +534,14 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
|
|
534
534
|
type?: TInputNumberType;
|
535
535
|
prefix?: string;
|
536
536
|
suffix?: string;
|
537
|
-
helperText?: () =>
|
537
|
+
helperText?: () => JSX_3.Element | null;
|
538
538
|
}
|
539
539
|
|
540
540
|
export declare const QRCode: React.FC<QRCodeProps>;
|
541
541
|
|
542
542
|
export declare type QRCodeProps = QRCodeProps_2;
|
543
543
|
|
544
|
-
export declare const RadioGroup: (props: RadioProps) =>
|
544
|
+
export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
|
545
545
|
|
546
546
|
export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
|
547
547
|
field?: ControllerRenderProps<any, any>;
|
@@ -554,7 +554,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
|
|
554
554
|
position?: TPositionRadio;
|
555
555
|
}
|
556
556
|
|
557
|
-
export declare const RangePickerField: (props: RangePickerFieldProps) =>
|
557
|
+
export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
|
558
558
|
|
559
559
|
export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
|
560
560
|
field?: ControllerRenderProps<any, any>;
|
@@ -568,13 +568,13 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
568
568
|
|
569
569
|
export declare const Rate: React.FC<RateProps>;
|
570
570
|
|
571
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
571
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
|
572
572
|
|
573
573
|
export declare interface ResultProps extends ResultProps_2 {
|
574
574
|
children?: ReactNode | string;
|
575
575
|
}
|
576
576
|
|
577
|
-
export declare const Row: (props: RowPropsUnion) =>
|
577
|
+
export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
|
578
578
|
|
579
579
|
declare interface RowCommon {
|
580
580
|
[x: string]: any;
|
@@ -582,7 +582,7 @@ declare interface RowCommon {
|
|
582
582
|
|
583
583
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
584
584
|
|
585
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
585
|
+
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
|
586
586
|
|
587
587
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
588
588
|
renderFilterFields?: (options: {
|
@@ -604,7 +604,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
604
604
|
|
605
605
|
export declare type SegmentedProps = SegmentedProps_2;
|
606
606
|
|
607
|
-
export declare const Select: (props: SelectFieldProps) =>
|
607
|
+
export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
|
608
608
|
|
609
609
|
export declare interface SelectFieldProps extends SelectProps {
|
610
610
|
field?: ControllerRenderProps<any, any>;
|
@@ -616,7 +616,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
616
616
|
customStyleContainer?: string;
|
617
617
|
}
|
618
618
|
|
619
|
-
export declare const Sidebar: ({ children, menu }: SidebarProps) =>
|
619
|
+
export declare const Sidebar: ({ children, menu }: SidebarProps) => JSX_2.Element;
|
620
620
|
|
621
621
|
export declare interface SidebarProps {
|
622
622
|
children?: React.ReactNode;
|
@@ -637,7 +637,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
637
637
|
multiple?: false;
|
638
638
|
};
|
639
639
|
|
640
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
640
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
|
641
641
|
|
642
642
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
643
643
|
type?: "table" | "form";
|
@@ -652,7 +652,7 @@ export declare const Space: typeof Space_2;
|
|
652
652
|
|
653
653
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
654
654
|
|
655
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
655
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
|
656
656
|
|
657
657
|
export declare const Splitter: typeof Splitter_2;
|
658
658
|
|
@@ -680,7 +680,7 @@ declare const SubMenu: FC<SubMenuProps>;
|
|
680
680
|
|
681
681
|
export declare type SubMenuProps = SubMenuProps_2;
|
682
682
|
|
683
|
-
export declare const SwitchField: (props: SwitchFieldProps) =>
|
683
|
+
export declare const SwitchField: (props: SwitchFieldProps) => JSX_2.Element;
|
684
684
|
|
685
685
|
export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange"> {
|
686
686
|
field?: ControllerRenderProps<any, any>;
|
@@ -699,7 +699,7 @@ declare type TabItem = {
|
|
699
699
|
disabled?: boolean;
|
700
700
|
};
|
701
701
|
|
702
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, breadCrumb,
|
702
|
+
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, breadCrumb, ...rest }: TableCommonProps<T>) => JSX_2.Element;
|
703
703
|
|
704
704
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
705
705
|
|
@@ -733,7 +733,6 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
733
733
|
status?: number;
|
734
734
|
schema?: yup.AnyObjectSchema;
|
735
735
|
breadCrumb?: ItemType[];
|
736
|
-
initialValueForm?: T;
|
737
736
|
}
|
738
737
|
|
739
738
|
export declare const Tabs: default_2.FC<TabsProps>;
|
@@ -769,7 +768,7 @@ declare type TInputNumberType = "number" | "money";
|
|
769
768
|
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
770
769
|
|
771
770
|
export declare const TinyMCE: {
|
772
|
-
(props: TinyProps):
|
771
|
+
(props: TinyProps): JSX_2.Element;
|
773
772
|
displayName: string;
|
774
773
|
};
|
775
774
|
|
@@ -822,9 +821,9 @@ export declare enum TypeActionRowTable {
|
|
822
821
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
823
822
|
|
824
823
|
export declare const Typography: {
|
825
|
-
Title: (props: TitleProps) =>
|
826
|
-
Paragraph: (props: ParagraphProps) =>
|
827
|
-
Text: (props: TextProps) =>
|
824
|
+
Title: (props: TitleProps) => JSX_2.Element;
|
825
|
+
Paragraph: (props: ParagraphProps) => JSX_2.Element;
|
826
|
+
Text: (props: TextProps) => JSX_2.Element;
|
828
827
|
};
|
829
828
|
|
830
829
|
export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
|
@@ -870,6 +869,6 @@ export declare const useToggle: () => {
|
|
870
869
|
shouldRender: boolean;
|
871
870
|
};
|
872
871
|
|
873
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
872
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
|
874
873
|
|
875
874
|
export { }
|
package/types/ui.d.ts
CHANGED
@@ -34,14 +34,14 @@ import { FlexProps as FlexProps_2 } from 'antd';
|
|
34
34
|
import { FormEventHandler } from 'react';
|
35
35
|
import { ForwardRefExoticComponent } from 'react';
|
36
36
|
import { ImageProps } from 'antd';
|
37
|
-
import { JSX } from 'react/jsx-runtime';
|
37
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
38
38
|
import { MenuDividerProps } from 'antd/es/menu';
|
39
39
|
import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
|
40
40
|
import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
|
41
41
|
import { MenuProps as MenuProps_2 } from 'antd/es/menu';
|
42
42
|
import { ModalProps as ModalProps_2 } from 'antd';
|
43
43
|
import { Pagination as Pagination_2 } from 'antd';
|
44
|
-
import { PaginationFilters } from '
|
44
|
+
import { PaginationFilters } from '../../../../../../../../../../src/components/hooks';
|
45
45
|
import { PaginationLocale } from 'rc-pagination';
|
46
46
|
import { PaginationProps as PaginationProps_2 } from 'antd';
|
47
47
|
import { ParagraphProps } from 'antd/es/typography/Paragraph';
|
@@ -77,14 +77,14 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
77
77
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
78
78
|
import { TourProps as TourProps_2 } from 'antd';
|
79
79
|
import { TreeProps as TreeProps_2 } from 'antd';
|
80
|
-
import { TypeActionRowTable as TypeActionRowTable_2 } from '
|
80
|
+
import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../src/constants/table';
|
81
81
|
import { UseFormReset } from 'react-hook-form';
|
82
82
|
import { UseFormReturn } from 'react-hook-form';
|
83
83
|
import { UseFormSetValue } from 'react-hook-form';
|
84
84
|
import { WatermarkProps } from 'antd';
|
85
85
|
import * as yup from 'yup';
|
86
86
|
|
87
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
87
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
|
88
88
|
|
89
89
|
export declare interface ActionRowTableProps {
|
90
90
|
type: TypeActionRowTable_2;
|
@@ -104,7 +104,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
104
104
|
|
105
105
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
106
106
|
|
107
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
107
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
|
108
108
|
|
109
109
|
export declare interface AppfixProps extends AffixProps {
|
110
110
|
children: default_2.ReactNode;
|
@@ -114,7 +114,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
114
114
|
|
115
115
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
116
116
|
|
117
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
117
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
|
118
118
|
|
119
119
|
export declare interface BadgeProps extends BadgeProps_2 {
|
120
120
|
type?: "error" | "info" | "success" | "warning";
|
@@ -184,7 +184,7 @@ declare type BaseProps_9 = {
|
|
184
184
|
spaceClassName?: string;
|
185
185
|
};
|
186
186
|
|
187
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
187
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
|
188
188
|
|
189
189
|
export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
|
190
190
|
children?: Omit<BreadcrumbItemType, "children">[];
|
@@ -196,7 +196,7 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
|
|
196
196
|
|
197
197
|
export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
|
198
198
|
|
199
|
-
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) =>
|
199
|
+
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) => JSX_2.Element;
|
200
200
|
|
201
201
|
export declare interface BulkActionProps {
|
202
202
|
quantity?: number;
|
@@ -216,17 +216,17 @@ export declare const Button: default_2.FC<ButtonProps>;
|
|
216
216
|
|
217
217
|
export declare type ButtonProps = ButtonProps_2;
|
218
218
|
|
219
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
219
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
|
220
220
|
|
221
221
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
222
222
|
|
223
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
223
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
|
224
224
|
|
225
225
|
export declare interface CategoryStatusProps {
|
226
226
|
status: number;
|
227
227
|
}
|
228
228
|
|
229
|
-
export declare const Col: (props: ColPropsUnion) =>
|
229
|
+
export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
|
230
230
|
|
231
231
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
232
232
|
}
|
@@ -244,7 +244,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
244
244
|
ItemGroup: typeof ItemGroup;
|
245
245
|
};
|
246
246
|
|
247
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
247
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
|
248
248
|
|
249
249
|
export declare interface ConfirmModalProps extends ModalProps {
|
250
250
|
title: string;
|
@@ -266,7 +266,7 @@ export declare interface ContainerProps {
|
|
266
266
|
className?: string;
|
267
267
|
}
|
268
268
|
|
269
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
269
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
|
270
270
|
|
271
271
|
declare const Divider_2: FC<MenuDividerProps>;
|
272
272
|
|
@@ -274,14 +274,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
274
274
|
children?: ReactNode | string;
|
275
275
|
}
|
276
276
|
|
277
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
277
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
|
278
278
|
|
279
279
|
export declare interface DrawerProps extends DrawerProps_2 {
|
280
280
|
children?: ReactNode;
|
281
281
|
onSubmit?: (values: any) => void;
|
282
282
|
}
|
283
283
|
|
284
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
284
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
|
285
285
|
|
286
286
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
287
287
|
|
@@ -315,7 +315,7 @@ export declare interface ErrorBoundaryState {
|
|
315
315
|
errorInfo: ErrorInfo | null;
|
316
316
|
}
|
317
317
|
|
318
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
318
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
|
319
319
|
|
320
320
|
export declare interface ErrorMessageProps {
|
321
321
|
errorMessage?: string;
|
@@ -328,13 +328,13 @@ declare type ExtraProps = {
|
|
328
328
|
menuClassName?: string;
|
329
329
|
};
|
330
330
|
|
331
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
331
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
|
332
332
|
|
333
333
|
export declare type FlexProps = FlexProps_2;
|
334
334
|
|
335
335
|
export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
|
336
336
|
|
337
|
-
export declare const Heading: (props: HeadingProps) =>
|
337
|
+
export declare const Heading: (props: HeadingProps) => JSX_2.Element;
|
338
338
|
|
339
339
|
export declare interface HeadingProps {
|
340
340
|
rightContent?: ReactNode;
|
@@ -353,7 +353,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
353
353
|
|
354
354
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
355
355
|
|
356
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
356
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
|
357
357
|
|
358
358
|
export declare interface LabelProps {
|
359
359
|
label: string;
|
@@ -380,7 +380,7 @@ export declare type MenuItemProps = MenuItemProps_2;
|
|
380
380
|
|
381
381
|
export declare type MenuProps = MenuProps_2;
|
382
382
|
|
383
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
383
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
|
384
384
|
|
385
385
|
export declare interface ModalProps extends ModalProps_2 {
|
386
386
|
children?: ReactNode;
|
@@ -416,13 +416,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
416
416
|
children?: ReactNode;
|
417
417
|
}
|
418
418
|
|
419
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
419
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
|
420
420
|
|
421
421
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
422
422
|
children?: ReactNode;
|
423
423
|
}
|
424
424
|
|
425
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
425
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
|
426
426
|
|
427
427
|
export declare type PopoverProps = PopoverProps_2;
|
428
428
|
|
@@ -434,13 +434,13 @@ export declare type QRCodeProps = QRCodeProps_2;
|
|
434
434
|
|
435
435
|
export declare const Rate: React.FC<RateProps>;
|
436
436
|
|
437
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
437
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
|
438
438
|
|
439
439
|
export declare interface ResultProps extends ResultProps_2 {
|
440
440
|
children?: ReactNode | string;
|
441
441
|
}
|
442
442
|
|
443
|
-
export declare const Row: (props: RowPropsUnion) =>
|
443
|
+
export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
|
444
444
|
|
445
445
|
declare interface RowCommon {
|
446
446
|
[x: string]: any;
|
@@ -448,7 +448,7 @@ declare interface RowCommon {
|
|
448
448
|
|
449
449
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
450
450
|
|
451
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
451
|
+
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
|
452
452
|
|
453
453
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
454
454
|
renderFilterFields?: (options: {
|
@@ -470,7 +470,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
470
470
|
|
471
471
|
export declare type SegmentedProps = SegmentedProps_2;
|
472
472
|
|
473
|
-
export declare const Sidebar: ({ children, menu }: SidebarProps) =>
|
473
|
+
export declare const Sidebar: ({ children, menu }: SidebarProps) => JSX_2.Element;
|
474
474
|
|
475
475
|
export declare interface SidebarProps {
|
476
476
|
children?: React.ReactNode;
|
@@ -491,7 +491,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
491
491
|
multiple?: false;
|
492
492
|
};
|
493
493
|
|
494
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
494
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
|
495
495
|
|
496
496
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
497
497
|
type?: "table" | "form";
|
@@ -506,7 +506,7 @@ export declare const Space: typeof Space_2;
|
|
506
506
|
|
507
507
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
508
508
|
|
509
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
509
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
|
510
510
|
|
511
511
|
export declare const Splitter: typeof Splitter_2;
|
512
512
|
|
@@ -541,7 +541,7 @@ declare type TabItem = {
|
|
541
541
|
disabled?: boolean;
|
542
542
|
};
|
543
543
|
|
544
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, breadCrumb,
|
544
|
+
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, status, schema, breadCrumb, ...rest }: TableCommonProps<T>) => JSX_2.Element;
|
545
545
|
|
546
546
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
547
547
|
|
@@ -575,7 +575,6 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
575
575
|
status?: number;
|
576
576
|
schema?: yup.AnyObjectSchema;
|
577
577
|
breadCrumb?: ItemType[];
|
578
|
-
initialValueForm?: T;
|
579
578
|
}
|
580
579
|
|
581
580
|
export declare const Tabs: default_2.FC<TabsProps>;
|
@@ -628,11 +627,11 @@ export declare enum TypeActionRowTable {
|
|
628
627
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
629
628
|
|
630
629
|
export declare const Typography: {
|
631
|
-
Title: (props: TitleProps) =>
|
632
|
-
Paragraph: (props: ParagraphProps) =>
|
633
|
-
Text: (props: TextProps) =>
|
630
|
+
Title: (props: TitleProps) => JSX_2.Element;
|
631
|
+
Paragraph: (props: ParagraphProps) => JSX_2.Element;
|
632
|
+
Text: (props: TextProps) => JSX_2.Element;
|
634
633
|
};
|
635
634
|
|
636
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
635
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
|
637
636
|
|
638
637
|
export { }
|