@pnkx-lib/ui 1.9.28 → 1.9.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/es/chunks/{Radio-DA0U4ozV.js → Radio-BE-sL0ho.js} +1 -1
- package/es/chunks/{Switch-DQm0didM.js → Switch-H8GzjkR9.js} +45 -31
- package/es/chunks/{cloneDeep-BLYi2V0G.js → cloneDeep-xYGaHZ-t.js} +1 -1
- package/es/chunks/{common-b3FKGF0Y.js → common-4_3NhSHz.js} +3 -1
- package/es/chunks/{CategoryStatus-DtRnLlEM.js → index-Ss1suTQv.js} +129 -33
- package/es/chunks/{useMessage-D_-VT5B4.js → useToggle-BIw2Mg29.js} +16 -3
- package/es/fields/index.js +2 -2
- package/es/hooks/index.js +2 -2
- package/es/index.js +6 -5
- package/es/ui/index.js +3 -2
- package/package.json +2 -2
- package/types/hooks.d.ts +6 -0
- package/types/index.d.ts +45 -0
- package/types/ui.d.ts +39 -0
package/dist/style.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(57.7% .245 27.325);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--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}.top-\[-50px\]{top:-50px}.right-0{right:calc(var(--spacing)*0)}.bottom-\[-40px\]{bottom:-40px}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-8{margin-right:calc(var(--spacing)*8)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-25{margin-left:calc(var(--spacing)*25)}.ml-\[-5rem\]{margin-left:-5rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.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-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-16{width:calc(var(--spacing)*16)}.w-17{width:calc(var(--spacing)*17)}.w-20{width:calc(var(--spacing)*20)}.w-50{width:calc(var(--spacing)*50)}.w-60{width:calc(var(--spacing)*60)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-screen-2xl{max-width:var(--breakpoint-2xl)}.max-w-screen-lg{max-width:var(--breakpoint-lg)}.max-w-screen-md{max-width:var(--breakpoint-md)}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-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-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-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.bg-\[\#1C2D5A\]{background-color:#1c2d5a}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#F8F8F8\]{background-color:#f8f8f8}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\[10px\]{padding-inline:10px}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-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)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#FFFFFF\]:hover{background-color:#fff}.hover\:text-black:hover{color:var(--color-black)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:left-40{left:calc(var(--spacing)*40)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:left-48{left:calc(var(--spacing)*48)}}@media (min-width:64rem){.lg\:left-70{left:calc(var(--spacing)*70)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(.577 .245 27.325);--color-blue-500:oklch(.623 .214 259.815);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-500:oklch(.551 .027 264.364);--color-gray-700:oklch(.373 .034 259.733);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--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}.top-\[-50px\]{top:-50px}.right-0{right:calc(var(--spacing)*0)}.bottom-\[-40px\]{bottom:-40px}.left-44{left:calc(var(--spacing)*44)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-16{margin-top:calc(var(--spacing)*16)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-8{margin-right:calc(var(--spacing)*8)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-0{margin-left:calc(var(--spacing)*0)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-10{margin-left:calc(var(--spacing)*10)}.ml-25{margin-left:calc(var(--spacing)*25)}.ml-\[-5rem\]{margin-left:-5rem}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.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-\[300px\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-16{width:calc(var(--spacing)*16)}.w-17{width:calc(var(--spacing)*17)}.w-20{width:calc(var(--spacing)*20)}.w-50{width:calc(var(--spacing)*50)}.w-60{width:calc(var(--spacing)*60)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-screen-2xl{max-width:var(--breakpoint-2xl)}.max-w-screen-lg{max-width:var(--breakpoint-lg)}.max-w-screen-md{max-width:var(--breakpoint-md)}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-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-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-\[\#007BE5\]{border-color:#007be5!important}.\!border-\[\#BDE3FF\]{border-color:#bde3ff!important}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-white{border-color:var(--color-white)}.\!border-t-\[\#F0F0F0\]{border-top-color:#f0f0f0!important}.\!border-b-\[\#F0F0F0\]{border-bottom-color:#f0f0f0!important}.\!bg-\[\#007BE5\]{background-color:#007be5!important}.bg-\[\#1C2D5A\]{background-color:#1c2d5a}.bg-\[\#007BE5\]{background-color:#007be5}.bg-\[\#27CD7F\]{background-color:#27cd7f}.bg-\[\#722ED1\]{background-color:#722ed1}.bg-\[\#2561ED\]{background-color:#2561ed}.bg-\[\#B2B7C2\]{background-color:#b2b7c2}.bg-\[\#DA9438\]{background-color:#da9438}.bg-\[\#DD4338\]{background-color:#dd4338}.bg-\[\#EEEEF0\]{background-color:#eeeef0}.bg-\[\#F8F8F8\]{background-color:#f8f8f8}.bg-\[\#FFFFFF\]{background-color:#fff}.bg-gray-100{background-color:var(--color-gray-100)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3\.5{padding:calc(var(--spacing)*3.5)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\[10px\]{padding-inline:10px}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-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)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[14px\]{font-size:14px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.\!text-\[\#007BE5\]{color:#007be5!important}.\!text-\[white\]{color:#fff!important}.text-\[\#5C657D\]{color:#5c657d}.text-\[\#3078BD\]{color:#3078bd}.text-black{color:var(--color-black)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_-24px_0_white\]{--tw-shadow:24px -24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[24px_24px_0_white\]{--tw-shadow:24px 24px 0 var(--tw-shadow-color,white);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:text-black:is(:where(.group):hover *){color:var(--color-black)}.hover\:rounded-sm:hover{border-radius:var(--radius-sm)}.hover\:bg-\[\#1B4ACB\]:hover{background-color:#1b4acb}.hover\:bg-\[\#EEEEF0\]:hover{background-color:#eeeef0}.hover\:bg-\[\#FFFFFF\]:hover{background-color:#fff}.hover\:text-black:hover{color:var(--color-black)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:left-40{left:calc(var(--spacing)*40)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:left-48{left:calc(var(--spacing)*48)}}@media (min-width:64rem){.lg\:left-70{left:calc(var(--spacing)*70)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}.setting-table-modal div .ant-modal-content{padding:20px 0!important}.setting-table-modal div .ant-modal-header,.setting-table-modal div .ant-modal-footer{padding:0 24px!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as get, j as jsxRuntimeExports, L as Label, E as ErrorMessage, T as Typography } from './Switch-
|
1
|
+
import { g as get, j as jsxRuntimeExports, L as Label, E as ErrorMessage, T as Typography } from './Switch-H8GzjkR9.js';
|
2
2
|
import { Select as Select$1, Radio } from 'antd';
|
3
3
|
|
4
4
|
const Select = (props) => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default, { useRef, useState, useEffect, useLayoutEffect, useMemo, forwardRef, useCallback, createElement, Component, createRef, createContext, useContext } from 'react';
|
3
3
|
import { Typography as Typography$1, Input as Input$1, Checkbox, DatePicker, Upload, Image, Switch } from 'antd';
|
4
|
-
import {
|
4
|
+
import { i as require_baseGetTag, j as requireIsObjectLike, m as requireIsArray, f as require_MapCache, q as require_Symbol, s as getDefaultExportFromCjs, t as commonjsGlobal, T as TINY_API } from './common-4_3NhSHz.js';
|
5
5
|
import * as ReactDOM from 'react-dom';
|
6
6
|
import ReactDOM__default, { findDOMNode } from 'react-dom';
|
7
7
|
|
@@ -3495,6 +3495,8 @@ var getProxyFormState = (formState, control, localProxyFormState, isRoot = true)
|
|
3495
3495
|
return result;
|
3496
3496
|
};
|
3497
3497
|
|
3498
|
+
const useIsomorphicLayoutEffect$1 = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
3499
|
+
|
3498
3500
|
/**
|
3499
3501
|
* This custom hook allows you to subscribe to each form state, and isolate the re-render at the custom hook level. It has its scope in terms of form state subscription, so it would not affect other useFormState and useForm. Using this hook can reduce the re-render impact on large and complex form application.
|
3500
3502
|
*
|
@@ -3539,10 +3541,8 @@ function useFormState(props) {
|
|
3539
3541
|
isValid: false,
|
3540
3542
|
errors: false,
|
3541
3543
|
});
|
3542
|
-
|
3543
|
-
|
3544
|
-
React__default.useEffect(() => control._subscribe({
|
3545
|
-
name: _name.current,
|
3544
|
+
useIsomorphicLayoutEffect$1(() => control._subscribe({
|
3545
|
+
name: name,
|
3546
3546
|
formState: _localProxyFormState.current,
|
3547
3547
|
exact,
|
3548
3548
|
callback: (formState) => {
|
@@ -3552,7 +3552,7 @@ function useFormState(props) {
|
|
3552
3552
|
...formState,
|
3553
3553
|
});
|
3554
3554
|
},
|
3555
|
-
}), [
|
3555
|
+
}), [name, disabled, exact]);
|
3556
3556
|
React__default.useEffect(() => {
|
3557
3557
|
_localProxyFormState.current.isValid && control._setValid(true);
|
3558
3558
|
}, [control]);
|
@@ -3592,19 +3592,17 @@ var generateWatchOutput = (names, _names, formValues, isGlobal, defaultValue) =>
|
|
3592
3592
|
function useWatch(props) {
|
3593
3593
|
const methods = useFormContext();
|
3594
3594
|
const { control = methods.control, name, defaultValue, disabled, exact, } = props || {};
|
3595
|
-
const _name = React__default.useRef(name);
|
3596
3595
|
const _defaultValue = React__default.useRef(defaultValue);
|
3597
|
-
|
3598
|
-
|
3599
|
-
name:
|
3596
|
+
const [value, updateValue] = React__default.useState(control._getWatch(name, _defaultValue.current));
|
3597
|
+
useIsomorphicLayoutEffect$1(() => control._subscribe({
|
3598
|
+
name: name,
|
3600
3599
|
formState: {
|
3601
3600
|
values: true,
|
3602
3601
|
},
|
3603
3602
|
exact,
|
3604
3603
|
callback: (formState) => !disabled &&
|
3605
|
-
updateValue(generateWatchOutput(
|
3606
|
-
}), [control, disabled, exact]);
|
3607
|
-
const [value, updateValue] = React__default.useState(control._getWatch(name, defaultValue));
|
3604
|
+
updateValue(generateWatchOutput(name, control._names, formState.values || control._formValues, false, _defaultValue.current)),
|
3605
|
+
}), [name, control, disabled, exact]);
|
3608
3606
|
React__default.useEffect(() => control._removeUnmounted());
|
3609
3607
|
return value;
|
3610
3608
|
}
|
@@ -4420,6 +4418,7 @@ function createFormControl(props = {}) {
|
|
4420
4418
|
let _formState = {
|
4421
4419
|
submitCount: 0,
|
4422
4420
|
isDirty: false,
|
4421
|
+
isReady: false,
|
4423
4422
|
isLoading: isFunction$1(_options.defaultValues),
|
4424
4423
|
isValidating: false,
|
4425
4424
|
isSubmitted: false,
|
@@ -4434,7 +4433,7 @@ function createFormControl(props = {}) {
|
|
4434
4433
|
};
|
4435
4434
|
const _fields = {};
|
4436
4435
|
let _defaultValues = isObject(_options.defaultValues) || isObject(_options.values)
|
4437
|
-
? cloneObject(_options.
|
4436
|
+
? cloneObject(_options.defaultValues || _options.values) || {}
|
4438
4437
|
: {};
|
4439
4438
|
let _formValues = _options.shouldUnregister
|
4440
4439
|
? {}
|
@@ -5485,6 +5484,7 @@ function useForm(props = {}) {
|
|
5485
5484
|
validatingFields: {},
|
5486
5485
|
errors: props.errors || {},
|
5487
5486
|
disabled: props.disabled || false,
|
5487
|
+
isReady: false,
|
5488
5488
|
defaultValues: isFunction$1(props.defaultValues)
|
5489
5489
|
? undefined
|
5490
5490
|
: props.defaultValues,
|
@@ -5502,12 +5502,37 @@ function useForm(props = {}) {
|
|
5502
5502
|
}
|
5503
5503
|
const control = _formControl.current.control;
|
5504
5504
|
control._options = props;
|
5505
|
-
|
5506
|
-
|
5507
|
-
|
5508
|
-
|
5509
|
-
|
5505
|
+
useIsomorphicLayoutEffect$1(() => {
|
5506
|
+
const sub = control._subscribe({
|
5507
|
+
formState: control._proxyFormState,
|
5508
|
+
callback: () => updateFormState({ ...control._formState }),
|
5509
|
+
reRenderRoot: true,
|
5510
|
+
});
|
5511
|
+
updateFormState((data) => ({
|
5512
|
+
...data,
|
5513
|
+
isReady: true,
|
5514
|
+
}));
|
5515
|
+
control._formState.isReady = true;
|
5516
|
+
return sub;
|
5517
|
+
}, [control]);
|
5510
5518
|
React__default.useEffect(() => control._disableForm(props.disabled), [control, props.disabled]);
|
5519
|
+
React__default.useEffect(() => {
|
5520
|
+
if (props.mode) {
|
5521
|
+
control._options.mode = props.mode;
|
5522
|
+
}
|
5523
|
+
if (props.reValidateMode) {
|
5524
|
+
control._options.reValidateMode = props.reValidateMode;
|
5525
|
+
}
|
5526
|
+
if (props.errors && !isEmptyObject(props.errors)) {
|
5527
|
+
control._setErrors(props.errors);
|
5528
|
+
}
|
5529
|
+
}, [control, props.errors, props.mode, props.reValidateMode]);
|
5530
|
+
React__default.useEffect(() => {
|
5531
|
+
props.shouldUnregister &&
|
5532
|
+
control._subjects.state.next({
|
5533
|
+
values: control._getWatch(),
|
5534
|
+
});
|
5535
|
+
}, [control, props.shouldUnregister]);
|
5511
5536
|
React__default.useEffect(() => {
|
5512
5537
|
if (control._proxyFormState.isDirty) {
|
5513
5538
|
const isDirty = control._getDirty();
|
@@ -5527,12 +5552,7 @@ function useForm(props = {}) {
|
|
5527
5552
|
else {
|
5528
5553
|
control._resetDefaultValues();
|
5529
5554
|
}
|
5530
|
-
}, [props.values
|
5531
|
-
React__default.useEffect(() => {
|
5532
|
-
if (props.errors && !isEmptyObject(props.errors)) {
|
5533
|
-
control._setErrors(props.errors);
|
5534
|
-
}
|
5535
|
-
}, [props.errors, control]);
|
5555
|
+
}, [control, props.values]);
|
5536
5556
|
React__default.useEffect(() => {
|
5537
5557
|
if (!control._state.mount) {
|
5538
5558
|
control._setValid();
|
@@ -5544,12 +5564,6 @@ function useForm(props = {}) {
|
|
5544
5564
|
}
|
5545
5565
|
control._removeUnmounted();
|
5546
5566
|
});
|
5547
|
-
React__default.useEffect(() => {
|
5548
|
-
props.shouldUnregister &&
|
5549
|
-
control._subjects.state.next({
|
5550
|
-
values: control._getWatch(),
|
5551
|
-
});
|
5552
|
-
}, [props.shouldUnregister, control]);
|
5553
5567
|
_formControl.current.formState = getProxyFormState(formState, control);
|
5554
5568
|
return _formControl.current;
|
5555
5569
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { notification } from 'antd';
|
2
|
-
import { r as require_ListCache,
|
2
|
+
import { r as require_ListCache, e as require_Map, f as require_MapCache, g as require_getNative, h as requireEq, i as require_baseGetTag, j as requireIsObjectLike, k as require_root, l as require_freeGlobal, m as requireIsArray, n as requireIsFunction, o as requireIsObject, p as require_toSource, q as require_Symbol, s as getDefaultExportFromCjs } from './common-4_3NhSHz.js';
|
3
3
|
|
4
4
|
const useToast = (defaultProps) => {
|
5
5
|
return (overrideProps) => {
|
@@ -1254,8 +1254,10 @@ function require_MapCache () {
|
|
1254
1254
|
|
1255
1255
|
const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
1256
1256
|
const START_PAGE = 1;
|
1257
|
+
const START_PAGE_SIZE = 10;
|
1257
1258
|
const PAGE_INDEX = "PageIndex";
|
1259
|
+
const PAGE_SIZE = "PageSize";
|
1258
1260
|
const SORT_BY = "SortBy";
|
1259
1261
|
const SORT_DESC = "SortDesc";
|
1260
1262
|
|
1261
|
-
export { PAGE_INDEX as P, START_PAGE as S, TINY_API as T,
|
1263
|
+
export { PAGE_INDEX as P, START_PAGE as S, TINY_API as T, START_PAGE_SIZE as a, PAGE_SIZE as b, SORT_BY as c, SORT_DESC as d, require_Map as e, require_MapCache as f, require_getNative as g, requireEq as h, require_baseGetTag as i, requireIsObjectLike as j, require_root as k, require_freeGlobal as l, requireIsArray as m, requireIsFunction as n, requireIsObject as o, require_toSource as p, require_Symbol as q, require_ListCache as r, getDefaultExportFromCjs as s, commonjsGlobal as t };
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { j as jsxRuntimeExports, b as Icon, _ as _extends, c as _typeof, P as PnkxField, C as CheckboxField, u as useForm, I as Input, d as classNames, e as _arrayLikeToArray, f as _unsupportedIterableToArray, w as warningOnce, h as _createClass, i as _classCallCheck, k as _defineProperty, l as _slicedToArray, m as warning$1, n as canUseDom, o as _objectSpread2, p as updateCSS, r as removeCSS, q as _arrayWithHoles, s as _nonIterableRest, t as resetWarned$1, F as FastColor, v as generate, x as presetPrimaryColors, y as presetPalettes, z as _inherits, A as _createSuper, B as _assertThisInitialized, G as _objectWithoutProperties, H as IconContext } from './Switch-
|
1
|
+
import { j as jsxRuntimeExports, b as Icon, _ as _extends, c as _typeof, P as PnkxField, C as CheckboxField, u as useForm, I as Input, d as classNames, e as _arrayLikeToArray, f as _unsupportedIterableToArray, w as warningOnce, h as _createClass, i as _classCallCheck, k as _defineProperty, l as _slicedToArray, m as warning$1, n as canUseDom, o as _objectSpread2, p as updateCSS, r as removeCSS, q as _arrayWithHoles, s as _nonIterableRest, t as resetWarned$1, F as FastColor, v as generate, x as presetPrimaryColors, y as presetPalettes, z as _inherits, A as _createSuper, B as _assertThisInitialized, G as _objectWithoutProperties, H as IconContext } from './Switch-H8GzjkR9.js';
|
2
2
|
import { Button as Button$1, Cascader, Space as Space$1, Card, Skeleton as Skeleton$1, Modal as Modal$1, Tooltip as Tooltip$1, Popconfirm as Popconfirm$1, Typography, Table as Table$1, Tabs as Tabs$1, Popover as Popover$1, Badge as Badge$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Breadcrumb as Breadcrumb$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, Divider as Divider$2, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1, Watermark as Watermark$1, Anchor as Anchor$1, Affix, AutoComplete as AutoComplete$1, Input as Input$1, Collapse, ColorPicker, Empty as Empty$2, Image as Image$1 } from 'antd';
|
3
3
|
import * as React from 'react';
|
4
4
|
import React__default, { version as version$1, isValidElement, useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useMemo as useMemo$1, useCallback, useState, createContext, memo, useReducer, useContext, Component } from 'react';
|
5
5
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from 'react-dom';
|
6
6
|
import { useNavigate, useLocation } from 'react-router';
|
7
|
-
import { u as useToast } from './cloneDeep-
|
7
|
+
import { u as useToast } from './cloneDeep-xYGaHZ-t.js';
|
8
8
|
|
9
9
|
const Button = (props) => {
|
10
10
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { ...props });
|
@@ -9965,13 +9965,7 @@ const Table = ({
|
|
9965
9965
|
};
|
9966
9966
|
const settingDiv = () => {
|
9967
9967
|
if (showSetting) {
|
9968
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute right-0 top-[-50px] p-2 z-10", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: "Cài đặt hiển thị bảng", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
9969
|
-
SettingIcon,
|
9970
|
-
{
|
9971
|
-
className: "cursor-pointer",
|
9972
|
-
onClick: () => setOpenStting(true)
|
9973
|
-
}
|
9974
|
-
) }) });
|
9968
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute right-0 top-[-50px] p-2 z-10", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: "Cài đặt hiển thị bảng", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SettingIcon, {}) }) });
|
9975
9969
|
}
|
9976
9970
|
return null;
|
9977
9971
|
};
|
@@ -13761,7 +13755,7 @@ function genStyleUtils(config) {
|
|
13761
13755
|
};
|
13762
13756
|
}
|
13763
13757
|
|
13764
|
-
const version = '5.
|
13758
|
+
const version = '5.25.0';
|
13765
13759
|
|
13766
13760
|
function isStableColor(color) {
|
13767
13761
|
return color >= 0 && color <= 255;
|
@@ -15627,6 +15621,23 @@ function toArray(children) {
|
|
15627
15621
|
return ret;
|
15628
15622
|
}
|
15629
15623
|
|
15624
|
+
const addMediaQueryListener = (mql, handler) => {
|
15625
|
+
// Don't delete here, please keep the code compatible
|
15626
|
+
if (typeof (mql === null || mql === void 0 ? void 0 : mql.addEventListener) !== 'undefined') {
|
15627
|
+
mql.addEventListener('change', handler);
|
15628
|
+
} else if (typeof (mql === null || mql === void 0 ? void 0 : mql.addListener) !== 'undefined') {
|
15629
|
+
mql.addListener(handler);
|
15630
|
+
}
|
15631
|
+
};
|
15632
|
+
const removeMediaQueryListener = (mql, handler) => {
|
15633
|
+
// Don't delete here, please keep the code compatible
|
15634
|
+
if (typeof (mql === null || mql === void 0 ? void 0 : mql.removeEventListener) !== 'undefined') {
|
15635
|
+
mql.removeEventListener('change', handler);
|
15636
|
+
} else if (typeof (mql === null || mql === void 0 ? void 0 : mql.removeListener) !== 'undefined') {
|
15637
|
+
mql.removeListener(handler);
|
15638
|
+
}
|
15639
|
+
};
|
15640
|
+
|
15630
15641
|
const genLayoutStyle = token => {
|
15631
15642
|
const {
|
15632
15643
|
antCls,
|
@@ -15929,29 +15940,17 @@ const Sider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15929
15940
|
};
|
15930
15941
|
useEffect(() => {
|
15931
15942
|
function responsiveHandler(mql) {
|
15932
|
-
|
15943
|
+
var _a;
|
15944
|
+
return (_a = responsiveHandlerRef.current) === null || _a === void 0 ? void 0 : _a.call(responsiveHandlerRef, mql);
|
15933
15945
|
}
|
15934
15946
|
let mql;
|
15935
|
-
if (typeof window !== 'undefined') {
|
15936
|
-
|
15937
|
-
|
15938
|
-
|
15939
|
-
if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {
|
15940
|
-
mql = matchMedia(`screen and (max-width: ${dimensionMaxMap[breakpoint]})`);
|
15941
|
-
try {
|
15942
|
-
mql.addEventListener('change', responsiveHandler);
|
15943
|
-
} catch (_a) {
|
15944
|
-
mql.addListener(responsiveHandler);
|
15945
|
-
}
|
15946
|
-
responsiveHandler(mql);
|
15947
|
-
}
|
15947
|
+
if (typeof (window === null || window === void 0 ? void 0 : window.matchMedia) !== 'undefined' && breakpoint && breakpoint in dimensionMaxMap) {
|
15948
|
+
mql = window.matchMedia(`screen and (max-width: ${dimensionMaxMap[breakpoint]})`);
|
15949
|
+
addMediaQueryListener(mql, responsiveHandler);
|
15950
|
+
responsiveHandler(mql);
|
15948
15951
|
}
|
15949
15952
|
return () => {
|
15950
|
-
|
15951
|
-
mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);
|
15952
|
-
} catch (_a) {
|
15953
|
-
mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);
|
15954
|
-
}
|
15953
|
+
removeMediaQueryListener(mql, responsiveHandler);
|
15955
15954
|
};
|
15956
15955
|
}, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.
|
15957
15956
|
useEffect(() => {
|
@@ -16813,10 +16812,23 @@ const AnchorLink = props => {
|
|
16813
16812
|
href
|
16814
16813
|
});
|
16815
16814
|
scrollTo === null || scrollTo === void 0 ? void 0 : scrollTo(href);
|
16816
|
-
|
16817
|
-
|
16818
|
-
|
16815
|
+
// Support clicking on an anchor does not record history.
|
16816
|
+
if (e.defaultPrevented) {
|
16817
|
+
return;
|
16818
|
+
}
|
16819
|
+
const isExternalLink = href.startsWith('http://') || href.startsWith('https://');
|
16820
|
+
// Support external link
|
16821
|
+
if (isExternalLink) {
|
16822
|
+
if (replace) {
|
16823
|
+
e.preventDefault();
|
16824
|
+
window.location.replace(href);
|
16825
|
+
}
|
16826
|
+
return;
|
16819
16827
|
}
|
16828
|
+
// Handling internal anchor link
|
16829
|
+
e.preventDefault();
|
16830
|
+
const historyMethod = replace ? 'replaceState' : 'pushState';
|
16831
|
+
window.history[historyMethod](null, '', href);
|
16820
16832
|
};
|
16821
16833
|
// =================== Warning =====================
|
16822
16834
|
if (process.env.NODE_ENV !== 'production') {
|
@@ -17261,4 +17273,88 @@ const CategoryStatus = ({ status }) => {
|
|
17261
17273
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemStatus, { color: bagde.color, statusName: bagde.text }) });
|
17262
17274
|
};
|
17263
17275
|
|
17264
|
-
|
17276
|
+
var TypeActionRowTable = /* @__PURE__ */ ((TypeActionRowTable2) => {
|
17277
|
+
TypeActionRowTable2["DELETE"] = "DELETE";
|
17278
|
+
TypeActionRowTable2["EDIT"] = "EDIT";
|
17279
|
+
TypeActionRowTable2["UNDO"] = "UNDO";
|
17280
|
+
TypeActionRowTable2["CANCELUNDO"] = "CANCELUNDO";
|
17281
|
+
TypeActionRowTable2["CHECKIN"] = "CHECKIN";
|
17282
|
+
TypeActionRowTable2["PRINT"] = "PRINT";
|
17283
|
+
TypeActionRowTable2["PAYMENT"] = "PAYMENT";
|
17284
|
+
TypeActionRowTable2["PLAY"] = "PLAY";
|
17285
|
+
TypeActionRowTable2["PAUSE"] = "PAUSE";
|
17286
|
+
TypeActionRowTable2["DOWNLOAD"] = "DOWNLOAD";
|
17287
|
+
TypeActionRowTable2["VIEW"] = "VIEW";
|
17288
|
+
return TypeActionRowTable2;
|
17289
|
+
})(TypeActionRowTable || {});
|
17290
|
+
|
17291
|
+
const ActionRowTable = ({
|
17292
|
+
type,
|
17293
|
+
contentTooltip,
|
17294
|
+
handleClick
|
17295
|
+
}) => {
|
17296
|
+
//! State
|
17297
|
+
//! Function
|
17298
|
+
const renderAction = () => {
|
17299
|
+
switch (type) {
|
17300
|
+
case TypeActionRowTable.EDIT:
|
17301
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17302
|
+
Button,
|
17303
|
+
{
|
17304
|
+
onClick: handleClick,
|
17305
|
+
type: "text",
|
17306
|
+
className: "cursor-pointer",
|
17307
|
+
shape: "circle",
|
17308
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17309
|
+
"svg",
|
17310
|
+
{
|
17311
|
+
xmlns: "http://www.w3.org/2000/svg",
|
17312
|
+
width: "20",
|
17313
|
+
height: "20",
|
17314
|
+
viewBox: "0 0 20 20",
|
17315
|
+
fill: "none",
|
17316
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17317
|
+
"path",
|
17318
|
+
{
|
17319
|
+
d: "M4.17657 14.1368L4.88808 14.374L4.17657 14.1368ZM4.80089 12.2639L4.08938 12.0267L4.08938 12.0267L4.80089 12.2639ZM5.44509 11.2215L5.97542 11.7519L5.97542 11.7519L5.44509 11.2215ZM11.6666 4.99999L11.1363 4.46966V4.46966L11.6666 4.99999ZM15 8.33333L15.5303 8.86366V8.86366L15 8.33333ZM8.77843 14.5549L8.2481 14.0245L8.2481 14.0245L8.77843 14.5549ZM7.73608 15.1991L7.97325 15.9106H7.97326L7.73608 15.1991ZM5.86312 15.8234L6.10029 16.5349L6.10029 16.5349L5.86312 15.8234ZM8.43672 14.8738L7.98504 14.2751L7.98504 14.2751L8.43672 14.8738ZM8.17417 15.0361L7.84064 14.3643L8.17417 15.0361ZM15.803 5.92663L15.131 6.25964V6.25964L15.803 5.92663ZM15.803 7.40669L15.131 7.07367V7.07367L15.803 7.40669ZM12.5933 4.19698L12.9263 4.869L12.9263 4.869L12.5933 4.19698ZM14.0733 4.19698L13.7403 4.869V4.869L14.0733 4.19698ZM4.96388 11.8258L5.63564 12.1593L5.63564 12.1593L4.96388 11.8258ZM5.12615 11.5632L4.52742 11.1115L4.52742 11.1115L5.12615 11.5632ZM3.86599 15.6289L3.15956 15.8809L3.86599 15.6289ZM4.37101 16.134L4.1191 16.8404L4.1191 16.8404L4.37101 16.134ZM11.3636 5.30302C11.0707 5.01013 10.5959 5.01013 10.303 5.30302C10.0101 5.59592 10.0101 6.07079 10.303 6.36368L11.3636 5.30302ZM13.6363 9.69702C13.9292 9.98991 14.4041 9.98991 14.697 9.69702C14.9898 9.40412 14.9898 8.92925 14.697 8.63636L13.6363 9.69702ZM9.99996 15.9167C9.58575 15.9167 9.24996 16.2524 9.24996 16.6667C9.24996 17.0809 9.58575 17.4167 9.99996 17.4167V15.9167ZM15.8333 17.4167C16.2475 17.4167 16.5833 17.0809 16.5833 16.6667C16.5833 16.2524 16.2475 15.9167 15.8333 15.9167V17.4167ZM4.17657 14.1368L4.88808 14.374L5.5124 12.501L4.80089 12.2639L4.08938 12.0267L3.46506 13.8997L4.17657 14.1368ZM5.44509 11.2215L5.97542 11.7519L12.197 5.53032L11.6666 4.99999L11.1363 4.46966L4.91476 10.6912L5.44509 11.2215ZM15 8.33333L14.4696 7.803L8.2481 14.0245L8.77843 14.5549L9.30876 15.0852L15.5303 8.86366L15 8.33333ZM7.73608 15.1991L7.49891 14.4875L5.62594 15.1119L5.86312 15.8234L6.10029 16.5349L7.97325 15.9106L7.73608 15.1991ZM8.77843 14.5549L8.2481 14.0245C8.06793 14.2047 8.02648 14.2438 7.98504 14.2751L8.43672 14.8738L8.8884 15.4725C9.03233 15.364 9.1569 15.237 9.30876 15.0852L8.77843 14.5549ZM7.73608 15.1991L7.97326 15.9106C8.17699 15.8427 8.34621 15.788 8.50769 15.7078L8.17417 15.0361L7.84064 14.3643C7.79415 14.3874 7.74063 14.407 7.49891 14.4875L7.73608 15.1991ZM8.43672 14.8738L7.98504 14.2751C7.93977 14.3092 7.89143 14.3391 7.84064 14.3643L8.17417 15.0361L8.50769 15.7078C8.6416 15.6413 8.76905 15.5626 8.88841 15.4725L8.43672 14.8738ZM15 4.99999L14.4696 5.53032C14.9668 6.02752 15.0779 6.15265 15.131 6.25964L15.803 5.92663L16.475 5.59362C16.2851 5.21046 15.9418 4.88122 15.5303 4.46966L15 4.99999ZM15 8.33333L15.5303 8.86366C15.9418 8.4521 16.2851 8.12286 16.475 7.7397L15.803 7.40669L15.131 7.07367C15.0779 7.18067 14.9668 7.3058 14.4696 7.803L15 8.33333ZM15.803 5.92663L15.131 6.25964C15.258 6.51611 15.258 6.81721 15.131 7.07367L15.803 7.40669L16.475 7.7397C16.81 7.06357 16.81 6.26975 16.475 5.59362L15.803 5.92663ZM11.6666 4.99999L12.197 5.53032C12.6941 5.03313 12.8193 4.92202 12.9263 4.869L12.5933 4.19698L12.2603 3.52497C11.8771 3.71484 11.5479 4.05811 11.1363 4.46966L11.6666 4.99999ZM15 4.99999L15.5303 4.46966C15.1187 4.05811 14.7895 3.71484 14.4063 3.52497L14.0733 4.19698L13.7403 4.869C13.8473 4.92202 13.9724 5.03313 14.4696 5.53032L15 4.99999ZM12.5933 4.19698L12.9263 4.869C13.1827 4.74191 13.4838 4.74191 13.7403 4.869L14.0733 4.19698L14.4063 3.52497C13.7302 3.18992 12.9364 3.18992 12.2603 3.52497L12.5933 4.19698ZM4.80089 12.2639L5.5124 12.501C5.59298 12.2593 5.61256 12.2058 5.63564 12.1593L4.96388 11.8258L4.29213 11.4923C4.21195 11.6537 4.15729 11.823 4.08938 12.0267L4.80089 12.2639ZM5.44509 11.2215L4.91477 10.6912C4.76291 10.8431 4.636 10.9676 4.52742 11.1115L5.12615 11.5632L5.72489 12.0149C5.75615 11.9735 5.79526 11.932 5.97542 11.7519L5.44509 11.2215ZM4.96388 11.8258L5.63564 12.1593C5.66086 12.1085 5.69074 12.0602 5.72489 12.0149L5.12615 11.5632L4.52742 11.1115C4.43738 11.2309 4.35861 11.3583 4.29213 11.4923L4.96388 11.8258ZM4.17657 14.1368L3.46506 13.8997C3.33407 14.2926 3.21866 14.6365 3.15318 14.9151C3.09031 15.1827 3.03521 15.5321 3.15956 15.8809L3.86599 15.6289L4.57242 15.377C4.60023 15.455 4.5647 15.4655 4.61341 15.2583C4.6595 15.0621 4.74764 14.7953 4.88808 14.374L4.17657 14.1368ZM5.86312 15.8234L5.62595 15.1119C5.20464 15.2523 4.93782 15.3405 4.74168 15.3865C4.53442 15.4352 4.54493 15.3997 4.62292 15.4275L4.37101 16.134L4.1191 16.8404C4.46782 16.9647 4.81727 16.9096 5.08481 16.8468C5.36348 16.7813 5.70735 16.6659 6.10029 16.5349L5.86312 15.8234ZM3.86599 15.6289L3.15956 15.8809C3.31919 16.3285 3.67145 16.6808 4.1191 16.8404L4.37101 16.134L4.62292 15.4275C4.59936 15.4191 4.58082 15.4006 4.57242 15.377L3.86599 15.6289ZM10.8333 5.83335L10.303 6.36368L13.6363 9.69702L14.1666 9.16669L14.697 8.63636L11.3636 5.30302L10.8333 5.83335ZM9.99996 16.6667V17.4167H15.8333V16.6667V15.9167H9.99996V16.6667Z",
|
17320
|
+
fill: "#007BE5"
|
17321
|
+
}
|
17322
|
+
)
|
17323
|
+
}
|
17324
|
+
)
|
17325
|
+
}
|
17326
|
+
) }) });
|
17327
|
+
case TypeActionRowTable.DELETE:
|
17328
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17329
|
+
Button,
|
17330
|
+
{
|
17331
|
+
onClick: handleClick,
|
17332
|
+
type: "text",
|
17333
|
+
className: "cursor-pointer p-2",
|
17334
|
+
shape: "circle",
|
17335
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17336
|
+
"svg",
|
17337
|
+
{
|
17338
|
+
xmlns: "http://www.w3.org/2000/svg",
|
17339
|
+
width: "20",
|
17340
|
+
height: "20",
|
17341
|
+
viewBox: "0 0 20 20",
|
17342
|
+
fill: "none",
|
17343
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
17344
|
+
"path",
|
17345
|
+
{
|
17346
|
+
d: "M15.7438 15.0298L16.4938 15.0364L15.7438 15.0298ZM3.33337 4.24999C2.91916 4.24999 2.58337 4.58578 2.58337 4.99999C2.58337 5.4142 2.91916 5.74999 3.33337 5.74999V4.24999ZM16.6667 5.74999C17.0809 5.74999 17.4167 5.4142 17.4167 4.99999C17.4167 4.58578 17.0809 4.24999 16.6667 4.24999V5.74999ZM9.08337 8.33332C9.08337 7.91911 8.74759 7.58332 8.33337 7.58332C7.91916 7.58332 7.58337 7.91911 7.58337 8.33332H9.08337ZM7.58337 15C7.58337 15.4142 7.91916 15.75 8.33337 15.75C8.74759 15.75 9.08337 15.4142 9.08337 15H7.58337ZM12.4167 8.33332C12.4167 7.91911 12.0809 7.58332 11.6667 7.58332C11.2525 7.58332 10.9167 7.91911 10.9167 8.33332H12.4167ZM10.9167 15C10.9167 15.4142 11.2525 15.75 11.6667 15.75C12.0809 15.75 12.4167 15.4142 12.4167 15H10.9167ZM15.8334 4.99999L15.0834 4.99329L14.9939 15.0231L15.7438 15.0298L16.4938 15.0364L16.5833 5.00669L15.8334 4.99999ZM12.4106 18.3333V17.5833H7.50004V18.3333V19.0833H12.4106V18.3333ZM4.16671 4.99999H3.41671V15H4.16671H4.91671V4.99999H4.16671ZM3.33337 4.99999V5.74999H4.16671V4.99999V4.24999H3.33337V4.99999ZM4.16671 4.99999V5.74999H6.66671V4.99999V4.24999H4.16671V4.99999ZM6.66671 4.99999V5.74999H13.3334V4.99999V4.24999H6.66671V4.99999ZM13.3334 4.99999V5.74999H15.8334V4.99999V4.24999H13.3334V4.99999ZM15.8334 4.99999V5.74999H16.6667V4.99999V4.24999H15.8334V4.99999ZM6.66671 4.62962H7.41671C7.41671 3.48804 8.48782 2.41666 10 2.41666V1.66666V0.916656C7.83036 0.916656 5.91671 2.4984 5.91671 4.62962H6.66671ZM10 1.66666V2.41666C11.5123 2.41666 12.5834 3.48804 12.5834 4.62962H13.3334H14.0834C14.0834 2.4984 12.1697 0.916656 10 0.916656V1.66666ZM6.66671 4.62962H5.91671V4.99999H6.66671H7.41671V4.62962H6.66671ZM13.3334 4.62962H12.5834V4.99999H13.3334H14.0834V4.62962H13.3334ZM7.50004 18.3333V17.5833C6.0733 17.5833 4.91671 16.4267 4.91671 15H4.16671H3.41671C3.41671 17.2552 5.24488 19.0833 7.50004 19.0833V18.3333ZM15.7438 15.0298L14.9939 15.0231C14.9812 16.4407 13.8284 17.5833 12.4106 17.5833V18.3333V19.0833C14.6516 19.0833 16.4738 17.2773 16.4938 15.0364L15.7438 15.0298ZM8.33337 8.33332H7.58337V15H8.33337H9.08337V8.33332H8.33337ZM11.6667 8.33332H10.9167V15H11.6667H12.4167V8.33332H11.6667Z",
|
17347
|
+
fill: "#DD4338"
|
17348
|
+
}
|
17349
|
+
)
|
17350
|
+
}
|
17351
|
+
)
|
17352
|
+
}
|
17353
|
+
) });
|
17354
|
+
}
|
17355
|
+
};
|
17356
|
+
//! Render
|
17357
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderAction() });
|
17358
|
+
};
|
17359
|
+
|
17360
|
+
export { Alert as A, Button as B, CascaderField as C, Dropdown as D, Anchor as E, Flex as F, Appfix as G, Heading as H, AutoComplete as I, PnkxCollapse as J, PnkxColorPicker as K, Layout as L, Modal as M, Empty as N, Image as O, Popover as P, QRCode as Q, Row as R, Skeleton as S, Table as T, BulkAction as U, ConfirmModal as V, Watermark as W, ErrorBoundary as X, CategoryStatus as Y, ActionRowTable as Z, TypeActionRowTable as _, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, Spin as p, Drawer as q, Popconfirm as r, Result as s, typeColorMap as t, Rate as u, Segmented as v, Statistic as w, Timeline as x, Tour as y, Tree as z };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useState, useCallback } from 'react';
|
2
|
-
import { c as cloneDeep } from './cloneDeep-
|
3
|
-
import { P as PAGE_INDEX, S as START_PAGE,
|
2
|
+
import { c as cloneDeep } from './cloneDeep-xYGaHZ-t.js';
|
3
|
+
import { P as PAGE_INDEX, S as START_PAGE, d as SORT_DESC, c as SORT_BY } from './common-4_3NhSHz.js';
|
4
4
|
import { message } from 'antd';
|
5
5
|
|
6
6
|
const useFiltersHandler = (initialFilters) => {
|
@@ -91,4 +91,17 @@ const useMessage = (defaultProps) => {
|
|
91
91
|
};
|
92
92
|
};
|
93
93
|
|
94
|
-
|
94
|
+
const useToggle = () => {
|
95
|
+
const [open, setOpen] = useState(false);
|
96
|
+
const [close, setClose] = useState(false);
|
97
|
+
const toggle = useCallback(() => {
|
98
|
+
setOpen((prev) => !prev);
|
99
|
+
setTimeout(() => {
|
100
|
+
setClose((prev) => !prev);
|
101
|
+
}, 500);
|
102
|
+
}, []);
|
103
|
+
const shouldRender = open || close;
|
104
|
+
return { open, toggle, shouldRender };
|
105
|
+
};
|
106
|
+
|
107
|
+
export { useMessage as a, useToggle as b, useFiltersHandler as u };
|
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, a as TinyMCE } from '../chunks/Switch-
|
2
|
-
export { R as RadioGroup, S as Select } from '../chunks/Radio-
|
1
|
+
export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, a as TinyMCE } from '../chunks/Switch-H8GzjkR9.js';
|
2
|
+
export { R as RadioGroup, S as Select } from '../chunks/Radio-BE-sL0ho.js';
|
package/es/hooks/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { u as useToast } from '../chunks/cloneDeep-
|
2
|
-
export { u as useFiltersHandler, a as useMessage } from '../chunks/
|
1
|
+
export { u as useToast } from '../chunks/cloneDeep-xYGaHZ-t.js';
|
2
|
+
export { u as useFiltersHandler, a as useMessage, b as useToggle } from '../chunks/useToggle-BIw2Mg29.js';
|
package/es/index.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from './chunks/
|
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 TinyMCE, T as Typography } from './chunks/Switch-
|
1
|
+
export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, _ as TypeActionRowTable, W as Watermark, t as typeColorMap } from './chunks/index-Ss1suTQv.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 TinyMCE, T as Typography } from './chunks/Switch-H8GzjkR9.js';
|
3
3
|
import 'react-router';
|
4
|
-
export {
|
5
|
-
export {
|
6
|
-
export { u as
|
4
|
+
export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TINY_API } from './chunks/common-4_3NhSHz.js';
|
5
|
+
export { R as RadioGroup, S as Select } from './chunks/Radio-BE-sL0ho.js';
|
6
|
+
export { u as useToast } from './chunks/cloneDeep-xYGaHZ-t.js';
|
7
|
+
export { u as useFiltersHandler, a as useMessage, b as useToggle } from './chunks/useToggle-BIw2Mg29.js';
|
package/es/ui/index.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from '../chunks/
|
2
|
-
export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-
|
1
|
+
export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, _ as TypeActionRowTable, W as Watermark, t as typeColorMap } from '../chunks/index-Ss1suTQv.js';
|
2
|
+
export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-H8GzjkR9.js';
|
3
3
|
import 'react-router';
|
4
|
+
export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TINY_API } from '../chunks/common-4_3NhSHz.js';
|
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.30",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./es/index.js",
|
7
7
|
"module": "./es/index.js",
|
@@ -111,4 +111,4 @@
|
|
111
111
|
"yup": "^1.6.1",
|
112
112
|
"zustand": "^5.0.3"
|
113
113
|
}
|
114
|
-
}
|
114
|
+
}
|
package/types/hooks.d.ts
CHANGED
@@ -35,4 +35,10 @@ export declare const useMessage: (defaultProps?: OptionalArgsMessage) => (overri
|
|
35
35
|
|
36
36
|
export declare const useToast: (defaultProps?: OptionalArgsToast) => (overrideProps?: OptionalArgsToast) => void;
|
37
37
|
|
38
|
+
export declare const useToggle: () => {
|
39
|
+
open: boolean;
|
40
|
+
toggle: () => void;
|
41
|
+
shouldRender: boolean;
|
42
|
+
};
|
43
|
+
|
38
44
|
export { }
|
package/types/index.d.ts
CHANGED
@@ -92,6 +92,7 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
92
92
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
93
93
|
import { TourProps as TourProps_2 } from 'antd';
|
94
94
|
import { TreeProps as TreeProps_2 } from 'antd';
|
95
|
+
import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../src/constants/table';
|
95
96
|
import { UploadFile } from 'antd';
|
96
97
|
import { UploadProps } from 'antd';
|
97
98
|
import { UseFormReset } from 'react-hook-form';
|
@@ -100,6 +101,16 @@ import { UseFormSetValue } from 'react-hook-form';
|
|
100
101
|
import { UseFormStateReturn } from 'react-hook-form';
|
101
102
|
import { WatermarkProps } from 'antd';
|
102
103
|
|
104
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
|
105
|
+
|
106
|
+
export declare interface ActionRowTableProps {
|
107
|
+
type: TypeActionRowTable_2;
|
108
|
+
handleClick?: () => void;
|
109
|
+
contentTooltip?: default_2.ReactNode;
|
110
|
+
content?: default_2.ReactNode;
|
111
|
+
diabled?: boolean;
|
112
|
+
}
|
113
|
+
|
103
114
|
export declare const Alert: React.FC<AlertProps>;
|
104
115
|
|
105
116
|
export declare type AlertProps = AlertProps_2;
|
@@ -459,6 +470,10 @@ export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
|
459
470
|
message?: React.ReactNode;
|
460
471
|
};
|
461
472
|
|
473
|
+
export declare const PAGE_INDEX = "PageIndex";
|
474
|
+
|
475
|
+
export declare const PAGE_SIZE = "PageSize";
|
476
|
+
|
462
477
|
export declare const Pagination: typeof Pagination_2;
|
463
478
|
|
464
479
|
export declare type PaginationConfig = Omit<PaginationProps, "rootClassName"> & {
|
@@ -627,6 +642,10 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
|
|
627
642
|
skeletonButtonCount?: number;
|
628
643
|
}
|
629
644
|
|
645
|
+
export declare const SORT_BY = "SortBy";
|
646
|
+
|
647
|
+
export declare const SORT_DESC = "SortDesc";
|
648
|
+
|
630
649
|
export declare const Space: typeof Space_2;
|
631
650
|
|
632
651
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
@@ -637,6 +656,10 @@ export declare const Splitter: typeof Splitter_2;
|
|
637
656
|
|
638
657
|
export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
|
639
658
|
|
659
|
+
export declare const START_PAGE = 1;
|
660
|
+
|
661
|
+
export declare const START_PAGE_SIZE = 10;
|
662
|
+
|
640
663
|
export declare const Statistic: React.FC<StatisticProps>;
|
641
664
|
|
642
665
|
export declare type StatisticProps = StatisticProps_2;
|
@@ -731,6 +754,8 @@ export declare type TimelineProps = TimelineProps_2;
|
|
731
754
|
|
732
755
|
declare type TInputNumberType = "number" | "money";
|
733
756
|
|
757
|
+
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
758
|
+
|
734
759
|
export declare const TinyMCE: {
|
735
760
|
(props: TinyProps): JSX.Element;
|
736
761
|
displayName: string;
|
@@ -768,6 +793,20 @@ export declare type TreeProps = TreeProps_2;
|
|
768
793
|
|
769
794
|
declare type TSize = "small" | "medium" | "large";
|
770
795
|
|
796
|
+
export declare enum TypeActionRowTable {
|
797
|
+
DELETE = "DELETE",
|
798
|
+
EDIT = "EDIT",
|
799
|
+
UNDO = "UNDO",
|
800
|
+
CANCELUNDO = "CANCELUNDO",
|
801
|
+
CHECKIN = "CHECKIN",
|
802
|
+
PRINT = "PRINT",
|
803
|
+
PAYMENT = "PAYMENT",
|
804
|
+
PLAY = "PLAY",
|
805
|
+
PAUSE = "PAUSE",
|
806
|
+
DOWNLOAD = "DOWNLOAD",
|
807
|
+
VIEW = "VIEW"
|
808
|
+
}
|
809
|
+
|
771
810
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
772
811
|
|
773
812
|
export declare const Typography: {
|
@@ -807,6 +846,12 @@ export declare const useMessage: (defaultProps?: OptionalArgsMessage) => (overri
|
|
807
846
|
|
808
847
|
export declare const useToast: (defaultProps?: OptionalArgsToast) => (overrideProps?: OptionalArgsToast) => void;
|
809
848
|
|
849
|
+
export declare const useToggle: () => {
|
850
|
+
open: boolean;
|
851
|
+
toggle: () => void;
|
852
|
+
shouldRender: boolean;
|
853
|
+
};
|
854
|
+
|
810
855
|
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX.Element;
|
811
856
|
|
812
857
|
export { }
|
package/types/ui.d.ts
CHANGED
@@ -76,11 +76,22 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
76
76
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
77
77
|
import { TourProps as TourProps_2 } from 'antd';
|
78
78
|
import { TreeProps as TreeProps_2 } from 'antd';
|
79
|
+
import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../src/constants/table';
|
79
80
|
import { UseFormReset } from 'react-hook-form';
|
80
81
|
import { UseFormReturn } from 'react-hook-form';
|
81
82
|
import { UseFormSetValue } from 'react-hook-form';
|
82
83
|
import { WatermarkProps } from 'antd';
|
83
84
|
|
85
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
|
86
|
+
|
87
|
+
export declare interface ActionRowTableProps {
|
88
|
+
type: TypeActionRowTable_2;
|
89
|
+
handleClick?: () => void;
|
90
|
+
contentTooltip?: default_2.ReactNode;
|
91
|
+
content?: default_2.ReactNode;
|
92
|
+
diabled?: boolean;
|
93
|
+
}
|
94
|
+
|
84
95
|
export declare const Alert: React.FC<AlertProps>;
|
85
96
|
|
86
97
|
export declare type AlertProps = AlertProps_2;
|
@@ -378,6 +389,10 @@ declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, tr
|
|
378
389
|
multiple: true;
|
379
390
|
};
|
380
391
|
|
392
|
+
export declare const PAGE_INDEX = "PageIndex";
|
393
|
+
|
394
|
+
export declare const PAGE_SIZE = "PageSize";
|
395
|
+
|
381
396
|
export declare const Pagination: typeof Pagination_2;
|
382
397
|
|
383
398
|
export declare type PaginationConfig = Omit<PaginationProps, "rootClassName"> & {
|
@@ -482,6 +497,10 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
|
|
482
497
|
skeletonButtonCount?: number;
|
483
498
|
}
|
484
499
|
|
500
|
+
export declare const SORT_BY = "SortBy";
|
501
|
+
|
502
|
+
export declare const SORT_DESC = "SortDesc";
|
503
|
+
|
485
504
|
export declare const Space: typeof Space_2;
|
486
505
|
|
487
506
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
@@ -492,6 +511,10 @@ export declare const Splitter: typeof Splitter_2;
|
|
492
511
|
|
493
512
|
export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
|
494
513
|
|
514
|
+
export declare const START_PAGE = 1;
|
515
|
+
|
516
|
+
export declare const START_PAGE_SIZE = 10;
|
517
|
+
|
495
518
|
export declare const Statistic: React.FC<StatisticProps>;
|
496
519
|
|
497
520
|
export declare type StatisticProps = StatisticProps_2;
|
@@ -565,6 +588,8 @@ export declare const Timeline: React.FC<TimelineProps>;
|
|
565
588
|
|
566
589
|
export declare type TimelineProps = TimelineProps_2;
|
567
590
|
|
591
|
+
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
592
|
+
|
568
593
|
export declare const Tooltip: default_2.FC<TooltipProps>;
|
569
594
|
|
570
595
|
export declare type TooltipProps = TooltipProps_2;
|
@@ -577,6 +602,20 @@ export declare const Tree: React.FC<TreeProps>;
|
|
577
602
|
|
578
603
|
export declare type TreeProps = TreeProps_2;
|
579
604
|
|
605
|
+
export declare enum TypeActionRowTable {
|
606
|
+
DELETE = "DELETE",
|
607
|
+
EDIT = "EDIT",
|
608
|
+
UNDO = "UNDO",
|
609
|
+
CANCELUNDO = "CANCELUNDO",
|
610
|
+
CHECKIN = "CHECKIN",
|
611
|
+
PRINT = "PRINT",
|
612
|
+
PAYMENT = "PAYMENT",
|
613
|
+
PLAY = "PLAY",
|
614
|
+
PAUSE = "PAUSE",
|
615
|
+
DOWNLOAD = "DOWNLOAD",
|
616
|
+
VIEW = "VIEW"
|
617
|
+
}
|
618
|
+
|
580
619
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
581
620
|
|
582
621
|
export declare const Typography: {
|