@pnkx-lib/ui 1.9.89 → 1.9.90
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/{AntdIcon-sydRpDMU.js → AntdIcon-zAKwrscf.js} +16 -9
- package/es/chunks/{Switch-Ch-t7bqG.js → Switch-QP-IYrMQ.js} +1 -1
- package/es/chunks/{index-Bfh7aRFs.js → index-BMwKXHGz.js} +21 -27
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +2 -2
- package/types/fields.d.ts +13 -13
- package/types/index.d.ts +54 -52
- package/types/ui.d.ts +42 -40
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}.z-\[100\]{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.\!my-5{margin-block:calc(var(--spacing)*5)!important}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-\[15px\]{margin-top:15px}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-8{margin-right:calc(var(--spacing)*8)}.\!mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.\!ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-5{margin-left:calc(var(--spacing)*5)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-35{margin-left:calc(var(--spacing)*35)}.ml-\[3rem\]{margin-left:3rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:calc(var(--spacing)*0)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-6{min-height:calc(var(--spacing)*6)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-16{width:calc(var(--spacing)*16)}.w-17{width:calc(var(--spacing)*17)}.w-20{width:calc(var(--spacing)*20)}.w-60{width:calc(var(--spacing)*60)}.w-80{width:calc(var(--spacing)*80)}.w-\[15\%\]{width:15%}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-8{max-width:calc(var(--spacing)*8)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-screen-2xl{max-width:var(--breakpoint-2xl)}.max-w-screen-lg{max-width:var(--breakpoint-lg)}.max-w-screen-md{max-width:var(--breakpoint-md)}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-8{min-width:calc(var(--spacing)*8)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[110\%\]{--tw-translate-y:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-5{row-gap:calc(var(--spacing)*5)}.overflow-y-auto{overflow-y:auto}.\!rounded-3xl{border-radius:var(--radius-3xl)!important}.\!rounded-\[8px\]{border-radius:8px!important}.\!rounded-full{border-radius:3.40282e38px!important}.rounded-\[12px\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t-1{border-top-style:var(--tw-border-style);border-top-width:1px}.\!border-b-1{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.\!border-none{--tw-border-style:none!important;border-style:none!important}.\!border-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.\!border-\[\#FFCDC9\]{border-color:#ffcdc9!important}.\!border-\[white\]{border-color:#fff!important}.border-\[\#BDE3FF\]{border-color:#bde3ff}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.\!bg-\[\#E5F4FF\]{background-color:#e5f4ff!important}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#001523\]{background-color:#001523}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\[10px\]{padding-inline:10px}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-3\.5{padding-right:calc(var(--spacing)*3.5)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-\[15px\]{padding-bottom:15px}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!text-\[12px\]{font-size:12px!important}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.\!font-light{--tw-font-weight:var(--font-weight-light)!important;font-weight:var(--font-weight-light)!important}.\!font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#4D4D57\]{color:#4d4d57!important}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[\#DD4338\]{color:#dd4338!important}.\!text-\[\#E0E0E0\]{color:#e0e0e0!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-\[\#B2B7C2\]{color:#b2b7c2}.text-\[\#FFFFFF\]{color:#fff}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#F5F6F7\]:hover{background-color:#f5f6f7}.hover\:bg-\[\#FFFFFF\]:hover{background-color:#fff}.hover\:text-black:hover{color:var(--color-black)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:left-40{left:calc(var(--spacing)*40)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:left-48{left:calc(var(--spacing)*48)}}@media (min-width:64rem){.lg\:left-85{left:calc(var(--spacing)*85)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.scrollbar-hidden::-webkit-scrollbar{display:none}.scrollbar-hidden{-ms-overflow-style:none;scrollbar-width:none}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}.containerSearchSelect :global(.ant-select-selector){border-radius:100px;border-color:#bde3ff!important}.inputSearchKey :global(.ant-input-clear-icon){color:#e7f0ff}.customBadge{background-color:#eeeef0!important}.customBadge :global(.ant-badge-count){color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadge .ant-badge-count{color:#4d4d57!important;box-shadow:none!important;background:0 0!important}.customBadgeActive{background-color:#bde3ff!important}.customBadgeActive .ant-badge-count{font-weight:500;color:#0f1d40!important;box-shadow:none!important;background:0 0!important}.customContainButtonIcon .ant-btn-icon{height:18px}.ant-table-cell:before{display:none!important}.ant-table-thead .ant-table-cell{background-color:#d6e6fe;font-weight:500;border-start-start-radius:0!important;border-start-end-radius:0!important}.ant-table-thead th.ant-table-column-has-sorters:hover{background-color:#d6e6fe}.ant-table-row.table-row-even{background-color:#f7f7f8}.ant-table-row.table-row-odd{background-color:#fff}.ant-table-body{scrollbar-width:auto;scrollbar-color:auto}.ant-table-body::-webkit-scrollbar{width:8px}.ant-table-body::-webkit-scrollbar-track{background-color:#e1e6e6}.ant-table-body::-webkit-scrollbar-thumb{background-color:#a8caff;border-radius:6px}.ant-table-body::-webkit-scrollbar-thumb:hover{background-color:#598cf4;border-radius:6px}.ant-select-outlined.ant-select-multiple .ant-select-selection-item{gap:4px;display:flex;background-color:#bde3ff!important;padding:1px 8px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
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}.z-\[100\]{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-auto{margin:auto}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.\!my-5{margin-block:calc(var(--spacing)*5)!important}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-\[15px\]{margin-top:15px}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-8{margin-right:calc(var(--spacing)*8)}.\!mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.\!ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-5{margin-left:calc(var(--spacing)*5)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-35{margin-left:calc(var(--spacing)*35)}.ml-\[3rem\]{margin-left:3rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-0{height:calc(var(--spacing)*0)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-6{min-height:calc(var(--spacing)*6)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-16{width:calc(var(--spacing)*16)}.w-17{width:calc(var(--spacing)*17)}.w-20{width:calc(var(--spacing)*20)}.w-60{width:calc(var(--spacing)*60)}.w-80{width:calc(var(--spacing)*80)}.w-\[15\%\]{width:15%}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-8{max-width:calc(var(--spacing)*8)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-screen-2xl{max-width:var(--breakpoint-2xl)}.max-w-screen-lg{max-width:var(--breakpoint-lg)}.max-w-screen-md{max-width:var(--breakpoint-md)}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-8{min-width:calc(var(--spacing)*8)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[110\%\]{--tw-translate-y:110%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-5{row-gap:calc(var(--spacing)*5)}.overflow-y-auto{overflow-y:auto}.\!rounded-3xl{border-radius:var(--radius-3xl)!important}.\!rounded-\[8px\]{border-radius:8px!important}.\!rounded-full{border-radius:3.40282e38px!important}.rounded-\[12px\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-tl-full{border-top-left-radius:3.40282e38px}.rounded-bl-full{border-bottom-left-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-t-1{border-top-style:var(--tw-border-style);border-top-width:1px}.\!border-b-1{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.\!border-none{--tw-border-style:none!important;border-style:none!important}.\!border-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.\!border-\[\#FFCDC9\]{border-color:#ffcdc9!important}.\!border-\[white\]{border-color:#fff!important}.border-\[\#BDE3FF\]{border-color:#bde3ff}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.\!bg-\[\#E5F4FF\]{background-color:#e5f4ff!important}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#001523\]{background-color:#001523}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\[10px\]{padding-inline:10px}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-3\.5{padding-right:calc(var(--spacing)*3.5)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-\[15px\]{padding-bottom:15px}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\!text-\[12px\]{font-size:12px!important}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.\!font-light{--tw-font-weight:var(--font-weight-light)!important;font-weight:var(--font-weight-light)!important}.\!font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#4D4D57\]{color:#4d4d57!important}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[\#DD4338\]{color:#dd4338!important}.\!text-\[\#E0E0E0\]{color:#e0e0e0!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-\[\#B2B7C2\]{color:#b2b7c2}.text-\[\#FFFFFF\]{color:#fff}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#F5F6F7\]:hover{background-color:#f5f6f7}.hover\:bg-\[\#FFFFFF\]:hover{background-color:#fff}.hover\:text-black:hover{color:var(--color-black)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:left-40{left:calc(var(--spacing)*40)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:left-48{left:calc(var(--spacing)*48)}}@media (min-width:64rem){.lg\:left-85{left:calc(var(--spacing)*85)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.scrollbar-hidden::-webkit-scrollbar{display:none}.scrollbar-hidden{-ms-overflow-style:none;scrollbar-width:none}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}.containerSearchSelect :global(.ant-select-selector){border-radius:100px;border-color:#bde3ff!important}.inputSearchKey :global(.ant-input-clear-icon){color:#e7f0ff}.customBadge :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}.ant-table-cell:before{display:none!important}.ant-table-thead .ant-table-cell{background-color:#d6e6fe;font-weight:500;border-start-start-radius:0!important;border-start-end-radius:0!important}.ant-table-thead th.ant-table-column-has-sorters:hover{background-color:#d6e6fe}.ant-table-row.table-row-even{background-color:#f7f7f8}.ant-table-row.table-row-odd{background-color:#fff}.ant-table-body{scrollbar-width:auto;scrollbar-color:auto}.ant-table-body::-webkit-scrollbar{width:8px}.ant-table-body::-webkit-scrollbar-track{background-color:#e1e6e6}.ant-table-body::-webkit-scrollbar-thumb{background-color:#a8caff;border-radius:6px}.ant-table-body::-webkit-scrollbar-thumb:hover{background-color:#598cf4;border-radius:6px}.ant-select-outlined.ant-select-multiple .ant-select-selection-item{gap:4px;display:flex;background-color:#bde3ff!important;padding:1px 8px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
@@ -2545,8 +2545,6 @@ function createFormControl(props = {}) {
|
|
2545
2545
|
array: createSubject(),
|
2546
2546
|
state: createSubject(),
|
2547
2547
|
};
|
2548
|
-
const validationModeBeforeSubmit = getValidationModes(_options.mode);
|
2549
|
-
const validationModeAfterSubmit = getValidationModes(_options.reValidateMode);
|
2550
2548
|
const shouldDisplayAllAssociatedErrors = _options.criteriaMode === VALIDATION_MODE.all;
|
2551
2549
|
const debounce = (callback) => (wait) => {
|
2552
2550
|
clearTimeout(timer);
|
@@ -2817,13 +2815,17 @@ function createFormControl(props = {}) {
|
|
2817
2815
|
}
|
2818
2816
|
else if (fieldReference.refs) {
|
2819
2817
|
if (isCheckBoxInput(fieldReference.ref)) {
|
2820
|
-
fieldReference.refs.
|
2821
|
-
|
2822
|
-
(
|
2823
|
-
|
2824
|
-
|
2825
|
-
|
2826
|
-
|
2818
|
+
fieldReference.refs.forEach((checkboxRef) => {
|
2819
|
+
if (!checkboxRef.defaultChecked || !checkboxRef.disabled) {
|
2820
|
+
if (Array.isArray(fieldValue)) {
|
2821
|
+
checkboxRef.checked = !!fieldValue.find((data) => data === checkboxRef.value);
|
2822
|
+
}
|
2823
|
+
else {
|
2824
|
+
checkboxRef.checked =
|
2825
|
+
fieldValue === checkboxRef.value || !!fieldValue;
|
2826
|
+
}
|
2827
|
+
}
|
2828
|
+
});
|
2827
2829
|
}
|
2828
2830
|
else {
|
2829
2831
|
fieldReference.refs.forEach((radioRef) => (radioRef.checked = radioRef.value === fieldValue));
|
@@ -2849,6 +2851,9 @@ function createFormControl(props = {}) {
|
|
2849
2851
|
};
|
2850
2852
|
const setValues = (name, value, options) => {
|
2851
2853
|
for (const fieldKey in value) {
|
2854
|
+
if (!value.hasOwnProperty(fieldKey)) {
|
2855
|
+
return;
|
2856
|
+
}
|
2852
2857
|
const fieldValue = value[fieldKey];
|
2853
2858
|
const fieldName = `${name}.${fieldKey}`;
|
2854
2859
|
const field = get$1(_fields, fieldName);
|
@@ -2905,6 +2910,8 @@ function createFormControl(props = {}) {
|
|
2905
2910
|
(isDateObject(fieldValue) && isNaN(fieldValue.getTime())) ||
|
2906
2911
|
deepEqual(fieldValue, get$1(_formValues, name, fieldValue));
|
2907
2912
|
};
|
2913
|
+
const validationModeBeforeSubmit = getValidationModes(_options.mode);
|
2914
|
+
const validationModeAfterSubmit = getValidationModes(_options.reValidateMode);
|
2908
2915
|
if (field) {
|
2909
2916
|
let error;
|
2910
2917
|
let isValid;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as get, j as jsxRuntimeExports, L as Label, t as twMerge, E as ErrorMessage, T as Typography, c as Icon, _ as _extends, d as classNames } from './AntdIcon-
|
1
|
+
import { g as get, j as jsxRuntimeExports, L as Label, t as twMerge, E as ErrorMessage, T as Typography, c as Icon, _ as _extends, d as classNames } from './AntdIcon-zAKwrscf.js';
|
2
2
|
import { Select as Select$1, Radio, Upload, Image, Switch as Switch$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import { useState } from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { j as jsxRuntimeExports, c as Icon, _ as _extends, e as _typeof, P as PnkxField, C as CheckboxField, t as twMerge, u as useForm, d as classNames, l as lodashExports, f as _arrayLikeToArray, h as _unsupportedIterableToArray, w as warningOnce, i as _createClass, k as _classCallCheck, m as _defineProperty, n as _slicedToArray, o as warning$1, p as canUseDom, q as _objectSpread2, r as updateCSS, s as removeCSS, v as _arrayWithHoles, x as _nonIterableRest, y as resetWarned$1, F as FastColor, z as generate, A as presetPrimaryColors, B as presetPalettes, G as _inherits, H as _createSuper, J as _assertThisInitialized, K as _objectWithoutProperties, M as IconContext, I as Input, N as commonjsGlobal } from './AntdIcon-
|
1
|
+
import { j as jsxRuntimeExports, c as Icon, _ as _extends, e as _typeof, P as PnkxField, C as CheckboxField, t as twMerge, u as useForm, d as classNames, l as lodashExports, f as _arrayLikeToArray, h as _unsupportedIterableToArray, w as warningOnce, i as _createClass, k as _classCallCheck, m as _defineProperty, n as _slicedToArray, o as warning$1, p as canUseDom, q as _objectSpread2, r as updateCSS, s as removeCSS, v as _arrayWithHoles, x as _nonIterableRest, y as resetWarned$1, F as FastColor, z as generate, A as presetPrimaryColors, B as presetPalettes, G as _inherits, H as _createSuper, J as _assertThisInitialized, K as _objectWithoutProperties, M as IconContext, I as Input, N as commonjsGlobal } from './AntdIcon-zAKwrscf.js';
|
2
2
|
import { Button as Button$1, Cascader, Modal as Modal$1, Badge as Badge$1, Breadcrumb as Breadcrumb$1, Tooltip as Tooltip$1, Divider as Divider$2, Table as Table$1, Tabs as Tabs$1, Space as Space$1, Card, Skeleton as Skeleton$1, Popover as Popover$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Flex as Flex$1, Splitter as Splitter$1, Menu as Menu$1, Pagination as Pagination$1, Steps as Steps$1, Tag as Tag$1, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, Popconfirm as Popconfirm$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1, Typography, Watermark as Watermark$1, Anchor as Anchor$1, Affix, AutoComplete as AutoComplete$1, Input as Input$1, Collapse, ColorPicker, Empty as Empty$2, Image as Image$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import React__default, { version as version$1, isValidElement, useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useMemo as useMemo$1, useCallback, useState, createContext, memo, useReducer, useContext, Component } from 'react';
|
@@ -5091,7 +5091,6 @@ const SettingTable = (props) => {
|
|
5091
5091
|
setOpen(false);
|
5092
5092
|
};
|
5093
5093
|
const onSubmit = (data) => {
|
5094
|
-
console.log("datasubmit", data);
|
5095
5094
|
setOpen(false);
|
5096
5095
|
if (setDefaultSettingColumnItems) {
|
5097
5096
|
setDefaultSettingColumnItems(columns);
|
@@ -5204,15 +5203,11 @@ const Badge = ({ type, children, customColor, ...rest }) => {
|
|
5204
5203
|
};
|
5205
5204
|
|
5206
5205
|
const ButtonBadge = (props) => {
|
5207
|
-
const {
|
5208
|
-
|
5209
|
-
|
5210
|
-
|
5211
|
-
|
5212
|
-
} = props;
|
5213
|
-
const handleClick = (event) => {
|
5214
|
-
handleClickGroupHeadingButtonItem && handleClickGroupHeadingButtonItem(buttonItem, event);
|
5215
|
-
setKeyActive(buttonItem.keyActive);
|
5206
|
+
const { buttonItem, active, setFilters } = props;
|
5207
|
+
const handleClick = () => {
|
5208
|
+
setFilters((pre) => {
|
5209
|
+
return { ...pre, is_status: buttonItem?.is_status };
|
5210
|
+
});
|
5216
5211
|
};
|
5217
5212
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
5218
5213
|
Button,
|
@@ -5227,7 +5222,7 @@ const ButtonBadge = (props) => {
|
|
5227
5222
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
5228
5223
|
Badge,
|
5229
5224
|
{
|
5230
|
-
count: buttonItem.
|
5225
|
+
count: buttonItem.quantity,
|
5231
5226
|
color: `${active ? "#BDE3FF]" : "#EEEEF0"}`,
|
5232
5227
|
className: twMerge(
|
5233
5228
|
"!text-[#4D4D57] !rounded-[8px]",
|
@@ -5240,17 +5235,13 @@ const ButtonBadge = (props) => {
|
|
5240
5235
|
);
|
5241
5236
|
};
|
5242
5237
|
const GroupHeadingButton = (props) => {
|
5243
|
-
const {
|
5244
|
-
const [keyActive, setKeyActive] = useState(
|
5245
|
-
groupHeadingButtonItems?.[0].keyActive
|
5246
|
-
);
|
5238
|
+
const { groupHeadingButtonItems, setFilters, filters } = props;
|
5247
5239
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pb-[15px]", children: groupHeadingButtonItems?.map((i, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
5248
5240
|
ButtonBadge,
|
5249
5241
|
{
|
5250
5242
|
buttonItem: i,
|
5251
|
-
active: i
|
5252
|
-
|
5253
|
-
handleClickGroupHeadingButtonItem
|
5243
|
+
active: i?.is_status === filters?.is_status,
|
5244
|
+
setFilters
|
5254
5245
|
},
|
5255
5246
|
index
|
5256
5247
|
)) });
|
@@ -5354,7 +5345,8 @@ const HeadingTable = (props) => {
|
|
5354
5345
|
rightHeadingContent,
|
5355
5346
|
menu,
|
5356
5347
|
groupHeadingButtonItems,
|
5357
|
-
|
5348
|
+
setFilters,
|
5349
|
+
filters
|
5358
5350
|
} = props;
|
5359
5351
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
5360
5352
|
Heading,
|
@@ -5370,7 +5362,8 @@ const HeadingTable = (props) => {
|
|
5370
5362
|
GroupHeadingButton,
|
5371
5363
|
{
|
5372
5364
|
groupHeadingButtonItems,
|
5373
|
-
|
5365
|
+
setFilters,
|
5366
|
+
filters
|
5374
5367
|
}
|
5375
5368
|
),
|
5376
5369
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
@@ -5676,17 +5669,17 @@ const Table = ({
|
|
5676
5669
|
rightHeadingContent,
|
5677
5670
|
menu,
|
5678
5671
|
groupHeadingButtonItems,
|
5679
|
-
handleClickGroupHeadingButtonItem,
|
5680
5672
|
showIndexColumn = true,
|
5673
|
+
setFilters,
|
5681
5674
|
...rest
|
5682
5675
|
}) => {
|
5683
|
-
const status = filters?.
|
5676
|
+
const status = filters?.is_status;
|
5684
5677
|
//! State
|
5685
5678
|
const [data, setData] = useState([]);
|
5686
5679
|
const [openSetting, setOpenStting] = useState(false);
|
5687
5680
|
const paginationConfig = {
|
5688
|
-
current: filters
|
5689
|
-
pageSize: filters
|
5681
|
+
current: filters?.page_number,
|
5682
|
+
pageSize: filters?.page_size,
|
5690
5683
|
total: totalItems,
|
5691
5684
|
showSizeChanger: true,
|
5692
5685
|
showQuickJumper: true,
|
@@ -5746,7 +5739,8 @@ const Table = ({
|
|
5746
5739
|
showSetting,
|
5747
5740
|
menu,
|
5748
5741
|
groupHeadingButtonItems,
|
5749
|
-
|
5742
|
+
setFilters,
|
5743
|
+
filters
|
5750
5744
|
}
|
5751
5745
|
),
|
5752
5746
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
@@ -9542,7 +9536,7 @@ function genStyleUtils(config) {
|
|
9542
9536
|
};
|
9543
9537
|
}
|
9544
9538
|
|
9545
|
-
const version = '5.25.
|
9539
|
+
const version = '5.25.1';
|
9546
9540
|
|
9547
9541
|
function isStableColor(color) {
|
9548
9542
|
return color >= 0 && color <= 255;
|
package/es/fields/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, b as TinyMCE } from '../chunks/AntdIcon-
|
2
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-
|
1
|
+
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, b as TinyMCE } from '../chunks/AntdIcon-zAKwrscf.js';
|
2
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-QP-IYrMQ.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, a0 as PAGE_NUMBER, a1 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a2 as SORT_BY, a3 as SORT_DESC, _ as START_PAGE, $ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a4 as TypeActionRowTable, 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/AntdIcon-
|
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, a0 as PAGE_NUMBER, a1 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a2 as SORT_BY, a3 as SORT_DESC, _ as START_PAGE, $ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a4 as TypeActionRowTable, W as Watermark, t as typeColorMap } from './chunks/index-BMwKXHGz.js';
|
2
|
+
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/AntdIcon-zAKwrscf.js';
|
3
3
|
import 'react-router';
|
4
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-
|
4
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-QP-IYrMQ.js';
|
5
5
|
export { u as useToast } from './chunks/useToast-DL7nQTK1.js';
|
6
6
|
export { u as useMessage } from './chunks/useMessage-CADDGtSx.js';
|
package/es/ui/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export { 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, a0 as PAGE_NUMBER, a1 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a2 as SORT_BY, a3 as SORT_DESC, _ as START_PAGE, $ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a4 as TypeActionRowTable, 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/AntdIcon-
|
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, a0 as PAGE_NUMBER, a1 as PAGE_SIZE, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, a2 as SORT_BY, a3 as SORT_DESC, _ as START_PAGE, $ as START_PAGE_SIZE, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, a4 as TypeActionRowTable, W as Watermark, t as typeColorMap } from '../chunks/index-BMwKXHGz.js';
|
2
|
+
export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/AntdIcon-zAKwrscf.js';
|
3
3
|
import 'react-router';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pnkx-lib/ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.9.
|
4
|
+
"version": "1.9.90",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./es/index.js",
|
7
7
|
"module": "./es/index.js",
|
@@ -118,4 +118,4 @@
|
|
118
118
|
"yup": "^1.6.1",
|
119
119
|
"zustand": "^5.0.3"
|
120
120
|
}
|
121
|
-
}
|
121
|
+
}
|
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>;
|
@@ -132,7 +132,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
132
132
|
classNameSelect?: string;
|
133
133
|
}
|
134
134
|
|
135
|
-
export declare const Switch: (props: SwitchProps) =>
|
135
|
+
export declare const Switch: (props: SwitchProps) => JSX_2.Element;
|
136
136
|
|
137
137
|
export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
|
138
138
|
field?: ControllerRenderProps<any, any>;
|
@@ -156,7 +156,7 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
|
|
156
156
|
declare type TInputNumberType = "number" | "money";
|
157
157
|
|
158
158
|
export declare const TinyMCE: {
|
159
|
-
(props: TinyProps):
|
159
|
+
(props: TinyProps): JSX_2.Element;
|
160
160
|
displayName: string;
|
161
161
|
};
|
162
162
|
|
@@ -180,7 +180,7 @@ declare type TPositionRadio = "before" | "after";
|
|
180
180
|
|
181
181
|
declare type TSize = "small" | "medium" | "large";
|
182
182
|
|
183
|
-
export declare const UploadField: (props: UploadFieldProps) =>
|
183
|
+
export declare const UploadField: (props: UploadFieldProps) => JSX_2.Element;
|
184
184
|
|
185
185
|
export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
|
186
186
|
field?: ControllerRenderProps<any, any>;
|
package/types/index.d.ts
CHANGED
@@ -41,16 +41,16 @@ import { FormEventHandler } from 'react';
|
|
41
41
|
import { ForwardRefExoticComponent } from 'react';
|
42
42
|
import { IAllProps } from '@tinymce/tinymce-react';
|
43
43
|
import { ImageProps } from 'antd';
|
44
|
+
import { InitialFiltersSearch } from '@pnkx-lib/core';
|
44
45
|
import { InputProps as InputProps_2 } from 'antd';
|
45
|
-
import { JSX } from 'react/jsx-runtime';
|
46
|
-
import { JSX as
|
46
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
47
|
+
import { JSX as JSX_3 } from 'react';
|
47
48
|
import { MenuDividerProps } from 'antd/es/menu';
|
48
49
|
import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
|
49
50
|
import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
|
50
51
|
import { MenuProps as MenuProps_2 } from 'antd/es/menu';
|
51
52
|
import { ModalProps as ModalProps_2 } from 'antd';
|
52
53
|
import { Pagination as Pagination_2 } from 'antd';
|
53
|
-
import { PaginationFilters } from '../../../../../../../../../../../src/interface/common';
|
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';
|
@@ -102,7 +102,7 @@ import { UseFormSetValue } from 'react-hook-form';
|
|
102
102
|
import { UseFormStateReturn } from 'react-hook-form';
|
103
103
|
import { WatermarkProps } from 'antd';
|
104
104
|
|
105
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
105
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
|
106
106
|
|
107
107
|
export declare interface ActionRowTableProps {
|
108
108
|
type: TypeActionRowTable_2;
|
@@ -122,7 +122,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
122
122
|
|
123
123
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
124
124
|
|
125
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
125
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
|
126
126
|
|
127
127
|
export declare interface AppfixProps extends AffixProps {
|
128
128
|
children: default_2.ReactNode;
|
@@ -132,7 +132,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
132
132
|
|
133
133
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
134
134
|
|
135
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
135
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
|
136
136
|
|
137
137
|
export declare interface BadgeProps extends BadgeProps_2 {
|
138
138
|
type?: "error" | "info" | "success" | "warning";
|
@@ -202,7 +202,7 @@ declare type BaseProps_9 = {
|
|
202
202
|
spaceClassName?: string;
|
203
203
|
};
|
204
204
|
|
205
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
205
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
|
206
206
|
|
207
207
|
export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
|
208
208
|
children?: Omit<BreadcrumbItemType, "children">[];
|
@@ -223,7 +223,7 @@ export declare type BreadcrumbType = {
|
|
223
223
|
};
|
224
224
|
};
|
225
225
|
|
226
|
-
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) =>
|
226
|
+
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) => JSX_2.Element;
|
227
227
|
|
228
228
|
export declare interface BulkActionProps {
|
229
229
|
quantity?: number;
|
@@ -243,17 +243,17 @@ export declare const Button: default_2.FC<ButtonProps>;
|
|
243
243
|
|
244
244
|
export declare type ButtonProps = ButtonProps_2;
|
245
245
|
|
246
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
246
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
|
247
247
|
|
248
248
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
249
249
|
|
250
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
250
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
|
251
251
|
|
252
252
|
export declare interface CategoryStatusProps {
|
253
253
|
status: number;
|
254
254
|
}
|
255
255
|
|
256
|
-
export declare const CheckboxField: (props: CheckboxFieldProps) =>
|
256
|
+
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
|
257
257
|
|
258
258
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
259
259
|
field?: ControllerRenderProps<any, any>;
|
@@ -265,7 +265,7 @@ export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChang
|
|
265
265
|
customStyleCheckbox?: string;
|
266
266
|
}
|
267
267
|
|
268
|
-
export declare const Col: (props: ColPropsUnion) =>
|
268
|
+
export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
|
269
269
|
|
270
270
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
271
271
|
}
|
@@ -285,7 +285,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
285
285
|
ItemGroup: typeof ItemGroup;
|
286
286
|
};
|
287
287
|
|
288
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
288
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
|
289
289
|
|
290
290
|
export declare interface ConfirmModalProps extends ModalProps {
|
291
291
|
title: string;
|
@@ -326,9 +326,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
326
326
|
size?: TSize;
|
327
327
|
}
|
328
328
|
|
329
|
-
export declare const DatePickerField: (props: DatePickerDMYProps) =>
|
329
|
+
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
|
330
330
|
|
331
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
331
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
|
332
332
|
|
333
333
|
declare const Divider_2: FC<MenuDividerProps>;
|
334
334
|
|
@@ -336,14 +336,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
336
336
|
children?: ReactNode | string;
|
337
337
|
}
|
338
338
|
|
339
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
339
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
|
340
340
|
|
341
341
|
export declare interface DrawerProps extends DrawerProps_2 {
|
342
342
|
children?: ReactNode;
|
343
343
|
onSubmit?: (values: any) => void;
|
344
344
|
}
|
345
345
|
|
346
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
346
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
|
347
347
|
|
348
348
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
349
349
|
|
@@ -377,7 +377,7 @@ export declare interface ErrorBoundaryState {
|
|
377
377
|
errorInfo: ErrorInfo | null;
|
378
378
|
}
|
379
379
|
|
380
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
380
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
|
381
381
|
|
382
382
|
export declare interface ErrorMessageProps {
|
383
383
|
errorMessage?: string;
|
@@ -390,7 +390,7 @@ declare type ExtraProps = {
|
|
390
390
|
menuClassName?: string;
|
391
391
|
};
|
392
392
|
|
393
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
393
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
|
394
394
|
|
395
395
|
export declare type FlexProps = FlexProps_2;
|
396
396
|
|
@@ -398,11 +398,11 @@ export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
|
|
398
398
|
|
399
399
|
declare interface GroupHeadingButtonItem {
|
400
400
|
label: string;
|
401
|
-
|
402
|
-
|
401
|
+
quantity: number;
|
402
|
+
is_status: number;
|
403
403
|
}
|
404
404
|
|
405
|
-
export declare const Heading: (props: HeadingProps) =>
|
405
|
+
export declare const Heading: (props: HeadingProps) => JSX_2.Element;
|
406
406
|
|
407
407
|
export declare interface HeadingProps {
|
408
408
|
rightContent?: ReactNode;
|
@@ -415,7 +415,7 @@ export declare interface HeadingProps {
|
|
415
415
|
declare const Image_2: React.FC<ImageProps>;
|
416
416
|
export { Image_2 as Image }
|
417
417
|
|
418
|
-
export declare const Input: (props: InputProps) =>
|
418
|
+
export declare const Input: (props: InputProps) => JSX_2.Element;
|
419
419
|
|
420
420
|
export declare interface InputProps extends InputProps_2 {
|
421
421
|
field?: ControllerRenderProps<any, any>;
|
@@ -438,7 +438,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
438
438
|
|
439
439
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
440
440
|
|
441
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
441
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
|
442
442
|
|
443
443
|
export declare interface LabelProps {
|
444
444
|
label: string;
|
@@ -491,7 +491,7 @@ export declare type MenuType = {
|
|
491
491
|
}[];
|
492
492
|
};
|
493
493
|
|
494
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
494
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
|
495
495
|
|
496
496
|
export declare interface ModalProps extends ModalProps_2 {
|
497
497
|
children?: ReactNode;
|
@@ -533,7 +533,7 @@ export declare type PnkxCollapseProps = CollapseProps;
|
|
533
533
|
export declare const PnkxColorPicker: React.FC<ColorPickerProps>;
|
534
534
|
|
535
535
|
export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
|
536
|
-
render():
|
536
|
+
render(): JSX_2.Element;
|
537
537
|
}
|
538
538
|
|
539
539
|
export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
|
@@ -546,13 +546,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
546
546
|
children?: ReactNode;
|
547
547
|
}
|
548
548
|
|
549
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
549
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
|
550
550
|
|
551
551
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
552
552
|
children?: ReactNode;
|
553
553
|
}
|
554
554
|
|
555
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
555
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
|
556
556
|
|
557
557
|
export declare type PopoverProps = PopoverProps_2;
|
558
558
|
|
@@ -567,14 +567,14 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
|
|
567
567
|
type?: TInputNumberType;
|
568
568
|
prefix?: string;
|
569
569
|
suffix?: string;
|
570
|
-
helperText?: () =>
|
570
|
+
helperText?: () => JSX_3.Element | null;
|
571
571
|
}
|
572
572
|
|
573
573
|
export declare const QRCode: React.FC<QRCodeProps>;
|
574
574
|
|
575
575
|
export declare type QRCodeProps = QRCodeProps_2;
|
576
576
|
|
577
|
-
export declare const RadioGroup: (props: RadioProps) =>
|
577
|
+
export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
|
578
578
|
|
579
579
|
export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
|
580
580
|
field?: ControllerRenderProps<any, any>;
|
@@ -587,7 +587,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
|
|
587
587
|
position?: TPositionRadio;
|
588
588
|
}
|
589
589
|
|
590
|
-
export declare const RangePickerField: (props: RangePickerFieldProps) =>
|
590
|
+
export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
|
591
591
|
|
592
592
|
export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
|
593
593
|
field?: ControllerRenderProps<any, any>;
|
@@ -601,13 +601,13 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
601
601
|
|
602
602
|
export declare const Rate: React.FC<RateProps>;
|
603
603
|
|
604
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
604
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
|
605
605
|
|
606
606
|
export declare interface ResultProps extends ResultProps_2 {
|
607
607
|
children?: ReactNode | string;
|
608
608
|
}
|
609
609
|
|
610
|
-
export declare const Row: (props: RowPropsUnion) =>
|
610
|
+
export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
|
611
611
|
|
612
612
|
declare interface RowCommon {
|
613
613
|
[x: string]: any;
|
@@ -615,7 +615,7 @@ declare interface RowCommon {
|
|
615
615
|
|
616
616
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
617
617
|
|
618
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
618
|
+
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
|
619
619
|
|
620
620
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
621
621
|
renderFilterFields?: (options: {
|
@@ -637,7 +637,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
637
637
|
|
638
638
|
export declare type SegmentedProps = SegmentedProps_2;
|
639
639
|
|
640
|
-
export declare const Select: (props: SelectFieldProps) =>
|
640
|
+
export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
|
641
641
|
|
642
642
|
export declare interface SelectFieldProps extends SelectProps {
|
643
643
|
field?: ControllerRenderProps<any, any>;
|
@@ -650,7 +650,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
650
650
|
classNameSelect?: string;
|
651
651
|
}
|
652
652
|
|
653
|
-
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) =>
|
653
|
+
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX_2.Element;
|
654
654
|
|
655
655
|
export declare interface SidebarProps {
|
656
656
|
children?: default_2.ReactNode;
|
@@ -666,7 +666,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
666
666
|
multiple?: false;
|
667
667
|
};
|
668
668
|
|
669
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
669
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
|
670
670
|
|
671
671
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
672
672
|
type?: "table" | "form";
|
@@ -681,7 +681,7 @@ export declare const Space: typeof Space_2;
|
|
681
681
|
|
682
682
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
683
683
|
|
684
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
684
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
|
685
685
|
|
686
686
|
export declare const Splitter: typeof Splitter_2;
|
687
687
|
|
@@ -709,7 +709,7 @@ declare const SubMenu: FC<SubMenuProps>;
|
|
709
709
|
|
710
710
|
export declare type SubMenuProps = SubMenuProps_2;
|
711
711
|
|
712
|
-
export declare const Switch: (props: SwitchProps) =>
|
712
|
+
export declare const Switch: (props: SwitchProps) => JSX_2.Element;
|
713
713
|
|
714
714
|
export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
|
715
715
|
field?: ControllerRenderProps<any, any>;
|
@@ -728,7 +728,7 @@ declare type TabItem = {
|
|
728
728
|
disabled?: boolean;
|
729
729
|
};
|
730
730
|
|
731
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems,
|
731
|
+
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, ...rest }: TableCommonProps<T>) => JSX_2.Element;
|
732
732
|
|
733
733
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
734
734
|
|
@@ -739,9 +739,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
739
739
|
columns: TableColumnsType<T>;
|
740
740
|
loading?: boolean;
|
741
741
|
totalItems?: number;
|
742
|
-
filters:
|
743
|
-
status?: number;
|
744
|
-
};
|
742
|
+
filters: InitialFiltersSearch<TFilters>;
|
745
743
|
onChangePage: (page: number) => void;
|
746
744
|
onChangePageSize: (size: number) => void;
|
747
745
|
onSort?: (sortField: string | number | symbol) => void;
|
@@ -756,9 +754,9 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
756
754
|
rightHeadingContent: ReactNode;
|
757
755
|
menu: Array<MenuType>;
|
758
756
|
renderGroupHeadingButton: ReactNode;
|
759
|
-
groupHeadingButtonItems
|
760
|
-
handleClickGroupHeadingButtonItem?: (value?: GroupHeadingButtonItem, e?: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
757
|
+
groupHeadingButtonItems?: GroupHeadingButtonItem[];
|
761
758
|
showIndexColumn?: boolean;
|
759
|
+
setFilters: default_2.Dispatch<default_2.SetStateAction<InitialFiltersSearch<TFilters>>>;
|
762
760
|
}
|
763
761
|
|
764
762
|
export declare const Tabs: default_2.FC<TabsProps>;
|
@@ -785,6 +783,10 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
|
|
785
783
|
required?: boolean;
|
786
784
|
}
|
787
785
|
|
786
|
+
export declare type TFilters = {
|
787
|
+
is_status?: number;
|
788
|
+
};
|
789
|
+
|
788
790
|
export declare const Timeline: React.FC<TimelineProps>;
|
789
791
|
|
790
792
|
export declare type TimelineProps = TimelineProps_2;
|
@@ -794,7 +796,7 @@ declare type TInputNumberType = "number" | "money";
|
|
794
796
|
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
795
797
|
|
796
798
|
export declare const TinyMCE: {
|
797
|
-
(props: TinyProps):
|
799
|
+
(props: TinyProps): JSX_2.Element;
|
798
800
|
displayName: string;
|
799
801
|
};
|
800
802
|
|
@@ -847,12 +849,12 @@ export declare enum TypeActionRowTable {
|
|
847
849
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
848
850
|
|
849
851
|
export declare const Typography: {
|
850
|
-
Title: (props: TitleProps) =>
|
851
|
-
Paragraph: (props: ParagraphProps) =>
|
852
|
-
Text: (props: TextProps) =>
|
852
|
+
Title: (props: TitleProps) => JSX_2.Element;
|
853
|
+
Paragraph: (props: ParagraphProps) => JSX_2.Element;
|
854
|
+
Text: (props: TextProps) => JSX_2.Element;
|
853
855
|
};
|
854
856
|
|
855
|
-
export declare const UploadField: (props: UploadFieldProps) =>
|
857
|
+
export declare const UploadField: (props: UploadFieldProps) => JSX_2.Element;
|
856
858
|
|
857
859
|
export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
|
858
860
|
field?: ControllerRenderProps<any, any>;
|
@@ -877,6 +879,6 @@ export declare const useToast: (defaultProps?: OptionalArgsToast) => {
|
|
877
879
|
warning(props?: OptionalArgsToast): void;
|
878
880
|
};
|
879
881
|
|
880
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
882
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
|
881
883
|
|
882
884
|
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 {
|
37
|
+
import { InitialFiltersSearch } from '@pnkx-lib/core';
|
38
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
38
39
|
import { MenuDividerProps } from 'antd/es/menu';
|
39
40
|
import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
|
40
41
|
import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
|
41
42
|
import { MenuProps as MenuProps_2 } from 'antd/es/menu';
|
42
43
|
import { ModalProps as ModalProps_2 } from 'antd';
|
43
44
|
import { Pagination as Pagination_2 } from 'antd';
|
44
|
-
import { PaginationFilters } from '../../../../../../../../../../../src/interface/common';
|
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,13 +77,13 @@ 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
|
|
86
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
86
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
|
87
87
|
|
88
88
|
export declare interface ActionRowTableProps {
|
89
89
|
type: TypeActionRowTable_2;
|
@@ -103,7 +103,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
103
103
|
|
104
104
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
105
105
|
|
106
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
106
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
|
107
107
|
|
108
108
|
export declare interface AppfixProps extends AffixProps {
|
109
109
|
children: default_2.ReactNode;
|
@@ -113,7 +113,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
113
113
|
|
114
114
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
115
115
|
|
116
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
116
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
|
117
117
|
|
118
118
|
export declare interface BadgeProps extends BadgeProps_2 {
|
119
119
|
type?: "error" | "info" | "success" | "warning";
|
@@ -183,7 +183,7 @@ declare type BaseProps_9 = {
|
|
183
183
|
spaceClassName?: string;
|
184
184
|
};
|
185
185
|
|
186
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
186
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
|
187
187
|
|
188
188
|
export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
|
189
189
|
children?: Omit<BreadcrumbItemType, "children">[];
|
@@ -204,7 +204,7 @@ export declare type BreadcrumbType = {
|
|
204
204
|
};
|
205
205
|
};
|
206
206
|
|
207
|
-
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) =>
|
207
|
+
export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) => JSX_2.Element;
|
208
208
|
|
209
209
|
export declare interface BulkActionProps {
|
210
210
|
quantity?: number;
|
@@ -224,17 +224,17 @@ export declare const Button: default_2.FC<ButtonProps>;
|
|
224
224
|
|
225
225
|
export declare type ButtonProps = ButtonProps_2;
|
226
226
|
|
227
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
227
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
|
228
228
|
|
229
229
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
230
230
|
|
231
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
231
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
|
232
232
|
|
233
233
|
export declare interface CategoryStatusProps {
|
234
234
|
status: number;
|
235
235
|
}
|
236
236
|
|
237
|
-
export declare const Col: (props: ColPropsUnion) =>
|
237
|
+
export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
|
238
238
|
|
239
239
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
240
240
|
}
|
@@ -252,7 +252,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
252
252
|
ItemGroup: typeof ItemGroup;
|
253
253
|
};
|
254
254
|
|
255
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
255
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
|
256
256
|
|
257
257
|
export declare interface ConfirmModalProps extends ModalProps {
|
258
258
|
title: string;
|
@@ -274,7 +274,7 @@ export declare interface ContainerProps {
|
|
274
274
|
className?: string;
|
275
275
|
}
|
276
276
|
|
277
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
277
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
|
278
278
|
|
279
279
|
declare const Divider_2: FC<MenuDividerProps>;
|
280
280
|
|
@@ -282,14 +282,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
282
282
|
children?: ReactNode | string;
|
283
283
|
}
|
284
284
|
|
285
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
285
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
|
286
286
|
|
287
287
|
export declare interface DrawerProps extends DrawerProps_2 {
|
288
288
|
children?: ReactNode;
|
289
289
|
onSubmit?: (values: any) => void;
|
290
290
|
}
|
291
291
|
|
292
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
292
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
|
293
293
|
|
294
294
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
295
295
|
|
@@ -323,7 +323,7 @@ export declare interface ErrorBoundaryState {
|
|
323
323
|
errorInfo: ErrorInfo | null;
|
324
324
|
}
|
325
325
|
|
326
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
326
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
|
327
327
|
|
328
328
|
export declare interface ErrorMessageProps {
|
329
329
|
errorMessage?: string;
|
@@ -336,7 +336,7 @@ declare type ExtraProps = {
|
|
336
336
|
menuClassName?: string;
|
337
337
|
};
|
338
338
|
|
339
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
339
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
|
340
340
|
|
341
341
|
export declare type FlexProps = FlexProps_2;
|
342
342
|
|
@@ -344,11 +344,11 @@ export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
|
|
344
344
|
|
345
345
|
declare interface GroupHeadingButtonItem {
|
346
346
|
label: string;
|
347
|
-
|
348
|
-
|
347
|
+
quantity: number;
|
348
|
+
is_status: number;
|
349
349
|
}
|
350
350
|
|
351
|
-
export declare const Heading: (props: HeadingProps) =>
|
351
|
+
export declare const Heading: (props: HeadingProps) => JSX_2.Element;
|
352
352
|
|
353
353
|
export declare interface HeadingProps {
|
354
354
|
rightContent?: ReactNode;
|
@@ -367,7 +367,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
367
367
|
|
368
368
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
369
369
|
|
370
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
370
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
|
371
371
|
|
372
372
|
export declare interface LabelProps {
|
373
373
|
label: string;
|
@@ -420,7 +420,7 @@ export declare type MenuType = {
|
|
420
420
|
}[];
|
421
421
|
};
|
422
422
|
|
423
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
423
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
|
424
424
|
|
425
425
|
export declare interface ModalProps extends ModalProps_2 {
|
426
426
|
children?: ReactNode;
|
@@ -456,13 +456,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
456
456
|
children?: ReactNode;
|
457
457
|
}
|
458
458
|
|
459
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
459
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
|
460
460
|
|
461
461
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
462
462
|
children?: ReactNode;
|
463
463
|
}
|
464
464
|
|
465
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
465
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
|
466
466
|
|
467
467
|
export declare type PopoverProps = PopoverProps_2;
|
468
468
|
|
@@ -474,13 +474,13 @@ export declare type QRCodeProps = QRCodeProps_2;
|
|
474
474
|
|
475
475
|
export declare const Rate: React.FC<RateProps>;
|
476
476
|
|
477
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
477
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
|
478
478
|
|
479
479
|
export declare interface ResultProps extends ResultProps_2 {
|
480
480
|
children?: ReactNode | string;
|
481
481
|
}
|
482
482
|
|
483
|
-
export declare const Row: (props: RowPropsUnion) =>
|
483
|
+
export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
|
484
484
|
|
485
485
|
declare interface RowCommon {
|
486
486
|
[x: string]: any;
|
@@ -488,7 +488,7 @@ declare interface RowCommon {
|
|
488
488
|
|
489
489
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
490
490
|
|
491
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
491
|
+
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
|
492
492
|
|
493
493
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
494
494
|
renderFilterFields?: (options: {
|
@@ -510,7 +510,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
510
510
|
|
511
511
|
export declare type SegmentedProps = SegmentedProps_2;
|
512
512
|
|
513
|
-
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) =>
|
513
|
+
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX_2.Element;
|
514
514
|
|
515
515
|
export declare interface SidebarProps {
|
516
516
|
children?: default_2.ReactNode;
|
@@ -526,7 +526,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
526
526
|
multiple?: false;
|
527
527
|
};
|
528
528
|
|
529
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
529
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
|
530
530
|
|
531
531
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
532
532
|
type?: "table" | "form";
|
@@ -541,7 +541,7 @@ export declare const Space: typeof Space_2;
|
|
541
541
|
|
542
542
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
543
543
|
|
544
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
544
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
|
545
545
|
|
546
546
|
export declare const Splitter: typeof Splitter_2;
|
547
547
|
|
@@ -576,7 +576,7 @@ declare type TabItem = {
|
|
576
576
|
disabled?: boolean;
|
577
577
|
};
|
578
578
|
|
579
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems,
|
579
|
+
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, ...rest }: TableCommonProps<T>) => JSX_2.Element;
|
580
580
|
|
581
581
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
582
582
|
|
@@ -587,9 +587,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
587
587
|
columns: TableColumnsType<T>;
|
588
588
|
loading?: boolean;
|
589
589
|
totalItems?: number;
|
590
|
-
filters:
|
591
|
-
status?: number;
|
592
|
-
};
|
590
|
+
filters: InitialFiltersSearch<TFilters>;
|
593
591
|
onChangePage: (page: number) => void;
|
594
592
|
onChangePageSize: (size: number) => void;
|
595
593
|
onSort?: (sortField: string | number | symbol) => void;
|
@@ -604,9 +602,9 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
604
602
|
rightHeadingContent: ReactNode;
|
605
603
|
menu: Array<MenuType>;
|
606
604
|
renderGroupHeadingButton: ReactNode;
|
607
|
-
groupHeadingButtonItems
|
608
|
-
handleClickGroupHeadingButtonItem?: (value?: GroupHeadingButtonItem, e?: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
605
|
+
groupHeadingButtonItems?: GroupHeadingButtonItem[];
|
609
606
|
showIndexColumn?: boolean;
|
607
|
+
setFilters: default_2.Dispatch<default_2.SetStateAction<InitialFiltersSearch<TFilters>>>;
|
610
608
|
}
|
611
609
|
|
612
610
|
export declare const Tabs: default_2.FC<TabsProps>;
|
@@ -624,6 +622,10 @@ export declare interface TaglineProps extends TagProps {
|
|
624
622
|
|
625
623
|
export declare type TailwindMaxWidth = "max-w-xs" | "max-w-sm" | "max-w-md" | "max-w-lg" | "max-w-xl" | "max-w-2xl" | "max-w-3xl" | "max-w-4xl" | "max-w-5xl" | "max-w-6xl" | "max-w-7xl" | "max-w-full" | "max-w-screen-sm" | "max-w-screen-md" | "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl";
|
626
624
|
|
625
|
+
export declare type TFilters = {
|
626
|
+
is_status?: number;
|
627
|
+
};
|
628
|
+
|
627
629
|
export declare const Timeline: React.FC<TimelineProps>;
|
628
630
|
|
629
631
|
export declare type TimelineProps = TimelineProps_2;
|
@@ -659,11 +661,11 @@ export declare enum TypeActionRowTable {
|
|
659
661
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
660
662
|
|
661
663
|
export declare const Typography: {
|
662
|
-
Title: (props: TitleProps) =>
|
663
|
-
Paragraph: (props: ParagraphProps) =>
|
664
|
-
Text: (props: TextProps) =>
|
664
|
+
Title: (props: TitleProps) => JSX_2.Element;
|
665
|
+
Paragraph: (props: ParagraphProps) => JSX_2.Element;
|
666
|
+
Text: (props: TextProps) => JSX_2.Element;
|
665
667
|
};
|
666
668
|
|
667
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
669
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
|
668
670
|
|
669
671
|
export { }
|