@inceptionbg/iui 1.0.12 → 1.0.13
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/index.css +1 -0
- package/dist/index.d.ts +698 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +1 -1
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap");:root{--primary:rgb(var(--primary-rgb));--primary-rgb:18,108,136;--primary-o10:rgba(var(--primary-rgb),0.1);--primary-o25:rgba(var(--primary-rgb),0.25);--primary-light:#309dbf;--primary-dark:#004459;--secondary:#ff9500;--secondary-light:#fa3;--secondary-dark:#ca5502;--background-dark:#f2f3f7;--success:#4caf50;--info:#03a9f4;--warning:#ff9500;--error:#f44336;--success01:#edf7ed;--info01:#e5f6fd;--warning01:#fff3e4;--error01:#ffeae9;--success03:#c9e7ca;--info03:#b3e5fc;--warning03:#ffe0b2;--error03:#fcc6c2}*{font-family:Roboto,sans-serif}h1,h2,h3,h5,p{margin:0}p{font-size:13px}h1{font-size:20px}h1,h5{font-weight:900}h5{font-size:48px}.fs-10{font-size:10px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-15{font-size:15px!important}.fs-32{font-size:32px!important}.bold{font-weight:700!important}.italic{font-style:italic!important}.new-line{white-space:pre-line!important}.no-wrap{white-space:nowrap!important}.word-break{word-break:break-word!important}.link{color:var(--primary-dark)!important;cursor:pointer;text-decoration:underline!important}.link.inactive{opacity:.5}.link:not(:disabled){cursor:pointer}.link:hover:not(:disabled){color:var(--primary)!important;opacity:1}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes scale-in{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes linear-progress{0%{background-position:left -31.25% top 0;background-size:200% 100%}50%{background-position:left -49% top 0;background-size:800% 100%}to{background-position:left -102% top 0;background-size:400% 100%}}@keyframes auto-fill{to{font-size:13px}}.text-center{text-align:center!important}.align-center{align-items:center!important}.text-left{text-align:left!important}.align-left{align-items:left!important}.text-right{text-align:right!important}.align-right{align-items:right!important}.justify-center{justify-content:center!important}.justify-left{justify-content:left!important}.justify-right{justify-content:right!important}.justify-around{justify-content:space-around!important}.justify-between{justify-content:space-between!important}.justify-evenly{justify-content:space-evenly!important}.m-0{margin:0!important}.mt-0,.my-0{margin-top:0!important}.mr-0,.mx-0{margin-right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!important}.mt-3,.my-3{margin-top:1rem!important}.mr-3,.mx-3{margin-right:1rem!important}.mb-3,.my-3{margin-bottom:1rem!important}.ml-3,.mx-3{margin-left:1rem!important}.m-4{margin:1.5rem!important}.mt-4,.my-4{margin-top:1.5rem!important}.mr-4,.mx-4{margin-right:1.5rem!important}.mb-4,.my-4{margin-bottom:1.5rem!important}.ml-4,.mx-4{margin-left:1.5rem!important}.m-5{margin:3rem!important}.mt-5,.my-5{margin-top:3rem!important}.mr-5,.mx-5{margin-right:3rem!important}.mb-5,.my-5{margin-bottom:3rem!important}.ml-5,.mx-5{margin-left:3rem!important}.p-0{padding:0!important}.pt-0,.py-0{padding-top:0!important}.pr-0,.px-0{padding-right:0!important}.pb-0,.py-0{padding-bottom:0!important}.pl-0,.px-0{padding-left:0!important}.p-1{padding:.25rem!important}.pt-1,.py-1{padding-top:.25rem!important}.pr-1,.px-1{padding-right:.25rem!important}.pb-1,.py-1{padding-bottom:.25rem!important}.pl-1,.px-1{padding-left:.25rem!important}.p-2{padding:.5rem!important}.pt-2,.py-2{padding-top:.5rem!important}.pr-2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5rem!important}.p-5{padding:3rem!important}.pt-5,.py-5{padding-top:3rem!important}.pr-5,.px-5{padding-right:3rem!important}.pb-5,.py-5{padding-bottom:3rem!important}.pl-5,.px-5{padding-left:3rem!important}.m-n1{margin:-.25rem!important}.mt-n1,.my-n1{margin-top:-.25rem!important}.mr-n1,.mx-n1{margin-right:-.25rem!important}.mb-n1,.my-n1{margin-bottom:-.25rem!important}.ml-n1,.mx-n1{margin-left:-.25rem!important}.m-n2{margin:-.5rem!important}.mt-n2,.my-n2{margin-top:-.5rem!important}.mr-n2,.mx-n2{margin-right:-.5rem!important}.mb-n2,.my-n2{margin-bottom:-.5rem!important}.ml-n2,.mx-n2{margin-left:-.5rem!important}.m-n3{margin:-1rem!important}.mt-n3,.my-n3{margin-top:-1rem!important}.mr-n3,.mx-n3{margin-right:-1rem!important}.mb-n3,.my-n3{margin-bottom:-1rem!important}.ml-n3,.mx-n3{margin-left:-1rem!important}.m-n4{margin:-1.5rem!important}.mt-n4,.my-n4{margin-top:-1.5rem!important}.mr-n4,.mx-n4{margin-right:-1.5rem!important}.mb-n4,.my-n4{margin-bottom:-1.5rem!important}.ml-n4,.mx-n4{margin-left:-1.5rem!important}.m-n5{margin:-3rem!important}.mt-n5,.my-n5{margin-top:-3rem!important}.mr-n5,.mx-n5{margin-right:-3rem!important}.mb-n5,.my-n5{margin-bottom:-3rem!important}.ml-n5,.mx-n5{margin-left:-3rem!important}.m-auto{margin:auto!important}.mt-auto,.my-auto{margin-top:auto!important}.mr-auto,.mx-auto{margin-right:auto!important}.mb-auto,.my-auto{margin-bottom:auto!important}.ml-auto,.mx-auto{margin-left:auto!important}body{margin:0}:focus-visible{outline:none!important}a{-webkit-user-drag:none;color:unset;text-decoration:none}.clickable{cursor:pointer;transition:background-color .25s}.clickable.disabled,.clickable:disabled{cursor:default;opacity:.4}.hover-primary:hover{background-color:rgba(var(--primary-rgb),.1)}.hover-gray:hover{background-color:rgba(0,0,0,.05)}.no-border{border:none!important}.c-primary{color:var(--primary)!important}.hidden{display:none!important}.block{display:block!important}.relative{position:relative!important}.flex{display:flex}.flex.column{flex-direction:column}.flex.center{align-items:center;justify-content:center}.flex.wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.flex-grow{flex-grow:1!important}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:1rem}.gap-4{gap:1.5rem}.gap-5{gap:3rem}.grid{display:grid}.grid.fr-2{grid-template-columns:1fr 1fr}.full-screen{height:100vh;width:100vw}.full-width{width:100%}.half-width{width:50%}.width-fit{width:fit-content}.full-height{height:100%}.iui-accordions{display:flex;flex-direction:column}.iui-accordion{background:#fff;border-radius:25px;box-shadow:0 0 5px hsla(0,2%,70%,.5);color:rgba(0,0,0,.87);font-size:13px;margin:3px 0}.iui-accordion .summary{align-items:center;display:flex;font-weight:500;justify-content:space-between;margin-bottom:1px;min-height:48px;padding:0 16px;user-select:none}.iui-accordion .iui-icon{color:var(--primary-light);font-size:20px;margin-bottom:0;margin-right:16px;max-width:20px}.iui-accordion .collapse-icon{color:#333;height:12px;width:14px}.iui-accordion.compact{border-radius:unset;margin:unset}.iui-accordion.compact:first-child{border-top-left-radius:25px;border-top-right-radius:25px}.iui-accordion.compact:last-child{border-bottom-left-radius:25px;border-bottom-right-radius:25px}.iui-badge-parent{display:inline-block;position:relative}.iui-badge{align-items:center;border-radius:100%;display:flex;justify-content:center;position:absolute;right:0;top:0;transform:scale(1) translate(50%,-50%);transform-origin:100% 0}.iui-badge.primary{background-color:var(--primary);border:2px solid #fff;color:#fff}.iui-badge:not(.small){font-size:11px;height:21px;width:21px}.iui-badge.small{font-size:10px;height:18px;width:18px}.iui-pill-badge{border-radius:20px;font-size:12px;padding:5px 11px;width:fit-content}.iui-pill-badge.success{background-color:var(--success03)}.iui-pill-badge.info{background-color:var(--info03)}.iui-pill-badge.warning{background-color:var(--warning03)}.iui-pill-badge.error{background-color:var(--error03)}.iui-pill-badge.gray{background-color:#e0e0e0}.iui-card{background:#fff;border-radius:25px;box-shadow:0 0 5px hsla(0,2%,70%,.5)}.iui-card>.content.s{padding:10px}.iui-card>.content.l{padding:40px 30px}.iui-card-header{border-bottom:1px solid rgba(122,123,151,.3);font-weight:700;height:45px;justify-content:space-between;margin:0 10px;padding-left:15px}.iui-card-header,.iui-dialog{align-items:center;display:flex}.iui-dialog{animation:fade-in .2s forwards;background-color:rgba(0,0,0,.5);height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.iui-dialog.closing{animation:fade-out .2s forwards;display:flex}.iui-dialog-container{animation:scale-in .2s forwards;background-color:#fefefe;border:10px solid var(--primary-o25);padding:24px 24px 15px;width:fit-content}.iui-dialog-container h1{margin:0 16px}.iui-dialog-container.m{width:30%}.iui-dialog-container.l{width:50%}.iui-dialog-container.xl{width:70%}.iui-dialog-container.error .iui-dialog-content,.iui-dialog-container.info .iui-dialog-content{align-items:center;display:flex}.iui-dialog-container.error .iui-dialog-content svg,.iui-dialog-container.info .iui-dialog-content svg{font-size:24px;margin-left:-8px;margin-right:16px}.iui-dialog-container.info svg{color:var(--info)}.iui-dialog-container.error{border-color:var(--error03)}.iui-dialog-container.error svg{color:var(--error)}.iui-dialog-content{max-height:80vh}.iui-dialog-content.padding{padding:24px}.iui-dialog-content:not(.no-overflow){overflow:auto;overscroll-behavior:none}.iui-dialog-actions{display:flex;justify-content:right;padding-top:10px}.iui-input-container{border-radius:4px;box-sizing:border-box;display:inline-flex;flex-direction:column;margin-top:4px;position:relative;width:100%}.iui-input-container.error .helper-text{color:var(--error)}.iui-input-container.error fieldset{border-color:var(--error)!important}.iui-input-container.error fieldset.focus label{color:var(--error)!important}.iui-input-container .helper-text{color:rgba(0,0,0,.5);font-size:12px;margin:4px 14px 0}.iui-input-container fieldset{border:1px solid var(--primary-o25);border-radius:4px;margin:0;padding:0}.iui-input-container fieldset legend{display:none;font-size:10.5px;height:0;margin-left:7px;visibility:hidden}.iui-input-container fieldset label{color:rgba(0,0,0,.5);font-size:13px;left:14px;max-width:100%;overflow:hidden;pointer-events:none;position:absolute;text-overflow:ellipsis;top:10px;transition:.15s;white-space:nowrap;z-index:1}.iui-input-container fieldset.focus label,.iui-input-container fieldset.shrink label{padding:0 5px!important;transform:translate(-6px,-17px) scale(.75);transform-origin:top left}.iui-input-container fieldset.focus legend,.iui-input-container fieldset.shrink legend{display:block}.iui-input-container fieldset.focus{border-color:var(--primary)}.iui-input-container fieldset.focus label{color:var(--primary)}.iui-input-container .with-end-button input{padding-right:38px}.iui-input-container .with-end-button svg{height:18px;margin-left:-37px;padding:9px;width:18px}.iui-input-container .with-end-button svg:not(.disabled){color:rgba(0,0,0,.8);cursor:pointer}.iui-input-container .with-end-button svg:not(.disabled):hover{color:var(--primary)}.iui-input-container .with-end-button svg.disabled{opacity:.4}input,textarea{background-color:#fff;border:none;border-radius:4px;box-sizing:border-box;font-size:13px;height:calc(100% + 2px);padding:10px 14px;width:100%}input:-webkit-autofill,textarea:-webkit-autofill{animation-duration:.5s;animation-name:auto-fill}input::placeholder,textarea::placeholder{color:rgba(0,0,0,.314);font-weight:200!important}textarea{resize:none}.iui-checkbox,.iui-radio{align-items:center;display:inline-flex;font-size:13px;gap:8px;padding:8px;user-select:none;width:fit-content}.iui-checkbox .icon,.iui-radio .icon{color:rgba(0,0,0,.54);height:20px;min-width:20px;width:20px}.iui-checkbox .icon.selected,.iui-radio .icon.selected{color:var(--primary)}.iui-checkbox .icon path,.iui-radio .icon path{fill:currentColor}.iui-checkbox input{height:1px;opacity:0;position:absolute;width:fit-content}.iui-radio-icon{display:flex;position:relative}.iui-radio-icon svg.secondary{left:0;position:absolute;transform:scale(0);transition:transform .15s cubic-bezier(.4,0,1,1) 0ms}.iui-radio-icon svg.secondary.selected{transform:scale(1);transition:transform .15s cubic-bezier(0,0,.2,1) 0ms}.date-input{align-items:center;background-color:#fff;border-radius:4px;display:flex;font-size:13px;height:36px;position:relative}.date-input.disabled{background-color:#eee}.date-input.disabled input{color:#999}.date-input .inputs{align-items:center;display:flex;padding:0 14px;width:100%}.date-input .inputs input[type=number]{-moz-appearance:textfield;height:36px;padding:0;text-align:right}.date-input .inputs input[type=number]::-webkit-inner-spin-button,.date-input .inputs input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.date-input .inputs input[type=number].error{color:var(--error);font-weight:700}.date-input .button{border-left:1px solid #ccc;color:#ccc;margin:8px 0;padding:0 8px!important}.date-input .button:hover:not(.disabled){color:#999;cursor:pointer}.date-input .button svg{height:16px;width:16px}.react-calendar{border:none!important;user-select:none}.react-calendar__tile--active{background:var(--primary)!important}.react-calendar__tile--active:enabled:hover{background:var(--primary-light)!important}.iui-loader-container{position:relative}.iui-loading-content{transition:opacity .15s}.iui-loading-content.opacity{opacity:.3;pointer-events:none}.iui-loader{left:calc(50% - 100px);position:absolute;top:calc(50% - 50px);width:200px}.iui-loader-logo{left:calc(50% - 50px);padding-bottom:5px;position:relative;width:100px}.linear-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--primary-o25);color:var(--primary);font-size:16px;height:.25em;width:100%}.linear-progress::-webkit-progress-bar{background-color:transparent}.linear-progress::-webkit-progress-value{background-color:currentColor;transition:all .2s}.linear-progress::-moz-progress-bar{background-color:currentColor;transition:all .2s}.linear-progress::-ms-fill{background-color:currentColor;border:none;transition:all .2s}.linear-progress:indeterminate{animation:linear-progress 2s linear infinite;background-image:linear-gradient(90deg,transparent 50%,currentColor 0,currentColor 60%,transparent 0,transparent 71.5%,currentColor 0,currentColor 84%,transparent 0);background-size:200% 100%}.linear-progress:indeterminate::-moz-progress-bar{background-color:transparent}.linear-progress:indeterminate::-ms-fill{animation-name:none}.full-screen-loader{background-color:hsla(0,0%,100%,.7);bottom:0;left:0;position:fixed;right:0;top:0;z-index:1001}.full-screen-loader .iui-loader{position:fixed!important}.lazy-loader{height:100vh;position:relative}.iui-menu{animation:fade-in .2s forwards;background:#fff;border-radius:8px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);overflow:auto;overscroll-behavior:none;padding:4px 0;position:absolute}.iui-menu::-webkit-scrollbar{width:5px}.iui-menu.s{min-width:150px}.iui-menu.m{min-width:250px}.iui-menu.l{min-width:500px}.iui-menu-item{padding:8px 16px;user-select:none}.iui-menu-item.clickable:hover:not(:disabled):not(.disabled){background-color:#eee}.iui-menu-item.with-devider:not(:last-child){border-bottom:1px solid rgba(0,0,0,.12)}.iui-menu-item svg{opacity:.6}.iui-menu-item-devider{margin:0}.iui-menu-item-devider:last-child{display:none}.notification-counter{cursor:pointer;position:relative;user-select:none}.notification-counter .bell svg .fa-secondary{fill:#fa3;stroke:#544417;stroke-width:30px;stroke-opacity:.5;opacity:1}.notification-counter .count{align-items:center;background-color:var(--error);border-radius:50%;color:#fff;display:flex;font-size:10px;height:18px;justify-content:center;min-width:18px;position:absolute;right:0;top:0}.notifications-container{cursor:pointer;display:flex;flex-direction:column;gap:8px;max-height:calc(100vh - 200px);overflow:auto;padding:8px}.notification{background-color:var(--primary-o10);border-radius:8px;padding:8px}.notification .header{align-items:flex-start;display:flex;justify-content:space-between}.notification .header .title{color:var(--primary-dark);font-size:14px;font-weight:700}.notification .header .date{color:rgba(0,0,0,.6);font-size:9px;margin:4px 0}.notification .header svg{color:var(--primary-o25);height:13px;padding:4px;width:13px}.notification .desc{color:#000;font-size:12px}.notification .unread-icon svg{color:#ff9500}.notification .disabled{opacity:1}.notification-badge{align-items:center;background-color:var(--secondary);border-radius:50%;display:flex;font-size:12px;font-weight:500;height:24px;justify-content:center;line-height:1;width:24px}.portal-background{height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.iui-print-dialog{animation:fade-in .2s forwards;bottom:0;left:0;min-height:100vh;position:absolute;top:0;width:100%;z-index:2000}.iui-print-dialog>.content{background:#fefefe;padding:10px 50px 60px}.iui-print-dialog>.content p,.iui-print-dialog>.content td{font-size:10pt}.iui-print-dialog>.content h4{font-size:12pt}.iui-print-dialog>.content .name{font-size:11pt;font-weight:700;margin-bottom:5px}@media print{.iui-print-dialog .content{padding:0}}.iui-print-actions{align-items:center;background-color:#fefefe;bottom:0;box-shadow:0 0 5px hsla(0,2%,70%,.5);display:flex;height:50px;justify-content:center;left:0;position:fixed;right:0}@media print and (orientation:landscape){.print-table{width:842pt}}@media print and (orientation:portrait){.print-table{width:595pt}}.print-table thead tr{background:#f1f1f1}.print-table th{border:1px solid silver;padding:5px}.print-table th p{padding:4px 8px!important}.print-table td{border:1px solid silver;padding:3px}@media print{#root,.no-print{display:none}@page{margin:6.5mm}body{overflow:visible!important}tbody td{white-space:nowrap}}div::-webkit-scrollbar{height:15px;width:15px}div::-webkit-scrollbar-track{background-color:var(--primary-o25);border-radius:100px}div::-webkit-scrollbar-thumb{background-color:var(--primary);border-radius:100px;box-shadow:inset 2px 2px 5px 0 hsla(0,0%,100%,.5)}div::-webkit-scrollbar-thumb:hover{background-color:var(--primary-dark)}.select-wrapper label{z-index:1}.select-wrapper fieldset:not(.shrink):not(.focus) label{width:calc(100% - 70px)}.fake-input{height:0;opacity:0;position:absolute;width:100%}hr{border:solid rgba(0,0,0,.12);border-width:0 0 thin;margin:8px 0}.iui-colapse{overflow:hidden;transition:max-height .2s cubic-bezier(.4,0,.2,1)}.form-disabled{opacity:.6;pointer-events:none}.Toastify__toast{border-radius:15px!important;opacity:.95}.Toastify__toast hr{border-color:#fff}table{border-collapse:collapse;border-spacing:0}.iui-table{overflow-x:auto;padding-top:10px}.iui-table th{border-bottom:1px solid #e0e0e0;font-size:13px}.iui-table th:last-child .vertical-separator{display:none}.iui-table .vertical-separator{background-color:rgba(0,0,0,.188);height:14px;width:2px}.iui-table tbody.no-last-border tr:last-child td{border:none}.iui-table tr{margin-bottom:2px}.iui-table tr.clickable:hover,.iui-table tr.selected{background-color:rgba(0,0,0,.05)}.iui-table tr.loading{opacity:.5;pointer-events:none}.iui-table td{border-bottom:1px solid #e0e0e0;box-sizing:border-box;font-size:13px;height:52px;padding:7px 16px}.iui-table .clickable-column:hover{background-color:var(--primary-o10)!important}.iui-table .table-footer{align-items:center;display:flex;width:100%}.iui-table .pagination{align-items:center;color:rgba(0,0,0,.8);display:flex}@media screen and (max-width:850px){.iui-table .pagination{align-items:end;flex-direction:column}}.iui-table .pagination select{background:none;border:none;color:rgba(0,0,0,.8);cursor:pointer;margin-left:8px;margin-right:16px;padding:0 8px;text-align:right;user-select:none}.iui-table .pagination .offset-button{margin:0 4px;padding:10px}.iui-table .pagination .offset-button svg{height:15px;width:15px}.iui-table .pagination .offset-input{background:none;border:none;border-bottom:1px solid rgba(0,0,0,.3);padding:5px 0;text-align:center;width:30px}@media screen and (orientation:portrait){.iui-table tbody,.iui-table tr{display:block}.iui-table tr{padding:20px 0}.iui-table td{align-items:center;display:flex;height:unset!important;text-align:left}.iui-table thead{display:none}.iui-table tbody tr td:before{content:attr(data-th);font-weight:700;padding-right:10px;text-align:left}}.iui-table-filter .iui-dialog-content{margin:8px 0;padding:0}.iui-table-filter .table-filter-item{align-items:center;display:flex;justify-content:space-between;padding:8px 16px}.iui-table-filter .table-filter-item .label{width:150px}.iui-table-filter .table-filter-item .field{display:inline-flex;margin:0 8px;width:100%}.dual-list-container .dual-list-content{display:grid;grid-template-columns:1fr auto 1fr}.dual-list-container .list-box{border:1px solid #e0e0e0;border-radius:16px;padding:10px;user-select:none}.dual-list-container .list-box>.item{align-items:center;display:flex;justify-content:space-between;padding:8px}.dual-list-container .list-box>.item svg{color:rgba(0,0,0,.6);margin-left:1rem}.dual-list-container .list-box>.item:hover{background-color:var(--primary-o10)}.dual-list-container .list-box>.item:active{background-color:var(--primary-o25)}.dual-list-container .exchange-icon{align-items:center;display:flex;margin:0 10px}.dual-list-container .exchange-icon svg{height:20px;width:20px}.edit-row{background:rgba(61,73,119,.078)}.edit-row td{padding:0 3px!important}.edit-row input{background:#fff}.table-options-btn{background:var(--background-dark);border-radius:4px;font-weight:700}.table-options-btn:hover{background-color:#dfe1eb!important}.table-options-btn svg{height:12px;width:12px}.iui-tabs{display:flex;overflow:auto}.iui-tabs::-webkit-scrollbar{height:5px}.iui-tab{align-items:center;color:rgba(0,0,0,.87);display:flex;font-size:13px;font-weight:500;margin-bottom:2px;padding:15px 12px;user-select:none}.iui-tab.selected,.iui-tab:hover:not(.disabled){border-bottom:7px solid var(--primary);padding-bottom:8px}.iui-tab.selected svg,.iui-tab:hover:not(.disabled) svg{color:var(--primary)}.iui-tab svg{font-size:15px;margin-right:6px}.iui-tab-content{background:#fff;border-radius:0 0 25px 25px;box-shadow:0 0 5px hsla(0,2%,70%,.5);padding:8px}.iui-alert{align-items:center;border-radius:25px;display:flex;font-size:13px;padding:16px}.iui-alert svg{font-size:18px;margin-right:12px;opacity:.9}.iui-alert.success{background:var(--success01)}.iui-alert.success svg{color:var(--success)}.iui-alert.info{background:var(--info01)}.iui-alert.info svg{color:var(--info)}.iui-alert.warning{background:var(--warning01)}.iui-alert.warning svg{color:var(--warning)}.iui-alert.error{background:var(--error01)}.iui-alert.error svg{color:var(--error)}.iui-btn{align-items:center;background:none;border:none;border-radius:8px;color:var(--primary-dark);cursor:pointer;display:inline-flex;font-weight:500;letter-spacing:.4px;transition:background-color .25s;user-select:none}.iui-btn svg{font-size:16px;margin:0 4px}.iui-btn.primary{background-color:var(--primary);color:#fff}.iui-btn.outlined{border:2px solid var(--primary-o25)}.iui-btn:disabled{cursor:default;opacity:.4}.iui-btn.active:not(:disabled):not(.primary),.iui-btn:active:not(:disabled):not(.primary),.iui-btn:hover:not(:disabled):not(.primary){background-color:var(--primary-o25)}.iui-btn.primary.active:not(:disabled),.iui-btn.primary:active:not(:disabled),.iui-btn.primary:hover:not(:disabled){background-color:var(--primary-dark)}.iui-btn:active:not(:disabled){transform:translateY(2px)}.iui-btn.xs{font-size:10px;height:23px;padding:4px}.iui-btn.xs.outlined{border-width:1px;padding:3px}.iui-btn.xs svg{font-size:10px;margin-right:0}.iui-btn.s{font-size:12px;padding:6px}.iui-btn.s.outlined{padding:4px}.iui-btn.s svg{font-size:14px}.iui-btn.m{font-size:13px;height:38px;padding:10px}.iui-btn.m.outlined{padding:8px}.iui-btn.l{font-size:15px;padding:12px}.iui-btn.l.outlined{padding:10px}.iui-btn.l svg{font-size:18px}.iui-btn-label{margin:0 4px}.iui-icon-btn{border-radius:50%;padding:6px}.iui-icon-btn svg{height:20px;margin:0!important;width:20px}.tooltip-container{background:#222;border-radius:8px;color:#fff;font-size:12px;font-weight:700;padding:8px 16px;position:fixed;text-align:center;transition:opacity .3s;white-space:nowrap;z-index:1001}.tooltip-container:not(.visible){opacity:0;visibility:hidden}.tooltip{height:100%;position:relative}.tooltip .arrow{border:8px solid #222;position:absolute;z-index:1001}.tooltip .arrow.top{border-color:#222 transparent transparent;left:calc(50% - 8px);top:calc(100% + 8px)}.tooltip .arrow.bottom{border-color:transparent transparent #222;bottom:calc(100% + 8px);left:calc(50% - 8px)}.tooltip .arrow.left{border-color:transparent transparent transparent #222;left:calc(100% + 16px);top:calc(50% - 8px)}.tooltip .arrow.right{border-color:transparent #222 transparent transparent;right:calc(100% + 16px);top:calc(50% - 8px)}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,698 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export { default as clsx } from 'clsx';
|
|
3
|
+
export { default as moment } from 'moment';
|
|
4
|
+
export { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
5
|
+
export { v4 as uuidv4 } from 'uuid';
|
|
6
|
+
import * as react from 'react';
|
|
7
|
+
import { ReactNode, FunctionComponent, RefObject, MouseEventHandler, ReactElement, Dispatch, SetStateAction, FormEvent, FC, ButtonHTMLAttributes, InputHTMLAttributes } from 'react';
|
|
8
|
+
import { IconDefinition, RotateProp } from '@fortawesome/fontawesome-svg-core';
|
|
9
|
+
|
|
10
|
+
interface IAnyObject {
|
|
11
|
+
[id: string]: any;
|
|
12
|
+
}
|
|
13
|
+
interface IStringObject {
|
|
14
|
+
[id: string]: string;
|
|
15
|
+
}
|
|
16
|
+
interface IBooleanObject {
|
|
17
|
+
[id: string]: boolean;
|
|
18
|
+
}
|
|
19
|
+
interface ISimpleObject {
|
|
20
|
+
uuid: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
interface ISimpleObjectWithCode extends ISimpleObject {
|
|
24
|
+
code: string;
|
|
25
|
+
}
|
|
26
|
+
interface ISimpleObjectWithCodeNew {
|
|
27
|
+
uuid?: string;
|
|
28
|
+
name?: string;
|
|
29
|
+
code?: string;
|
|
30
|
+
}
|
|
31
|
+
interface IValueLabel {
|
|
32
|
+
value: any;
|
|
33
|
+
label: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface IError {
|
|
37
|
+
errorMessage: string;
|
|
38
|
+
errorCode?: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface ITab {
|
|
42
|
+
value: string;
|
|
43
|
+
label: string;
|
|
44
|
+
icon?: any;
|
|
45
|
+
component: ReactNode;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
hidden?: boolean;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface ITable {
|
|
51
|
+
columns: ITableColumn[];
|
|
52
|
+
setColumns?: (data: ITableColumn[]) => void;
|
|
53
|
+
firstHeaderRow?: ITableColumn[];
|
|
54
|
+
secondHeaderRow?: ITableColumn[];
|
|
55
|
+
data: ITableDataItem[];
|
|
56
|
+
totals?: ITableDataItem;
|
|
57
|
+
isLoading?: boolean;
|
|
58
|
+
loaderLogo?: string;
|
|
59
|
+
serverSidePagination?: IServerSidePagination;
|
|
60
|
+
customPagination?: {
|
|
61
|
+
defaultLimit?: number;
|
|
62
|
+
customLimit?: number[];
|
|
63
|
+
};
|
|
64
|
+
selectedRowUuid?: string;
|
|
65
|
+
footerAction?: {
|
|
66
|
+
icon?: IconDefinition;
|
|
67
|
+
onClick: () => void;
|
|
68
|
+
};
|
|
69
|
+
headerWrap?: boolean;
|
|
70
|
+
hideFooter?: boolean;
|
|
71
|
+
showLastBorder?: boolean;
|
|
72
|
+
filterData?: ITableFilterData;
|
|
73
|
+
sortData?: ITableSortData;
|
|
74
|
+
printData?: IPrintData;
|
|
75
|
+
additionsalOptions?: ReactNode;
|
|
76
|
+
selectedOptions?: ReactNode;
|
|
77
|
+
translations?: ITableTranslations;
|
|
78
|
+
className?: string;
|
|
79
|
+
editable?: {
|
|
80
|
+
selectedItem: any;
|
|
81
|
+
setSelectedItem: (item: any) => void;
|
|
82
|
+
defaultDataValue?: any;
|
|
83
|
+
EditableRow?: FunctionComponent<ITableEditRow>;
|
|
84
|
+
onSubmit: (data: any, onSubmitCallback?: () => void) => void;
|
|
85
|
+
disabled?: boolean;
|
|
86
|
+
inputFocusRef?: RefObject<any>;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
interface ITableColumn {
|
|
90
|
+
id: string;
|
|
91
|
+
label?: string;
|
|
92
|
+
align?: 'center' | 'left' | 'right' | 'justify' | undefined;
|
|
93
|
+
hidden?: boolean;
|
|
94
|
+
unavailable?: boolean;
|
|
95
|
+
width?: string;
|
|
96
|
+
minWidth?: string;
|
|
97
|
+
colSpan?: number;
|
|
98
|
+
rowSpan?: number;
|
|
99
|
+
break?: boolean;
|
|
100
|
+
sortOptions?: {
|
|
101
|
+
asc: string;
|
|
102
|
+
desc: string;
|
|
103
|
+
label: string;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
interface ITableDataItem {
|
|
107
|
+
uuid: string;
|
|
108
|
+
onRowClick?: MouseEventHandler<HTMLTableRowElement>;
|
|
109
|
+
className?: string;
|
|
110
|
+
cells: {
|
|
111
|
+
[id: string]: {
|
|
112
|
+
value: any;
|
|
113
|
+
align?: ITableColumn['align'];
|
|
114
|
+
className?: string;
|
|
115
|
+
onClick?: MouseEventHandler<HTMLTableCellElement>;
|
|
116
|
+
link?: boolean;
|
|
117
|
+
tooltip?: string;
|
|
118
|
+
span?: number;
|
|
119
|
+
unclickable?: boolean;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
extendable?: {
|
|
123
|
+
element: ReactElement;
|
|
124
|
+
isLoading?: boolean;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
interface ITableFilterData {
|
|
128
|
+
columns: string[];
|
|
129
|
+
filters: ITableFilter;
|
|
130
|
+
activeFilterNo?: number;
|
|
131
|
+
additionalFilters?: ReactElement;
|
|
132
|
+
search: IAnyObject;
|
|
133
|
+
searchData: IAnyObject;
|
|
134
|
+
setSearchData: (search: IAnyObject) => void;
|
|
135
|
+
onSubmit: (search: IAnyObject) => void;
|
|
136
|
+
resetData?: IAnyObject;
|
|
137
|
+
excludeFromSearch?: string[];
|
|
138
|
+
}
|
|
139
|
+
interface ITableFilterItem {
|
|
140
|
+
label: string;
|
|
141
|
+
field: ReactElement;
|
|
142
|
+
resetField: () => void;
|
|
143
|
+
}
|
|
144
|
+
interface ITableFilter {
|
|
145
|
+
[id: string]: ITableFilterItem;
|
|
146
|
+
}
|
|
147
|
+
interface ITableSortData {
|
|
148
|
+
sort: string;
|
|
149
|
+
setSort: (sort: string) => void;
|
|
150
|
+
sortOptions: ITableSort;
|
|
151
|
+
menuSize?: 's' | 'm' | 'l';
|
|
152
|
+
}
|
|
153
|
+
interface ITableSort {
|
|
154
|
+
[id: string]: {
|
|
155
|
+
label: string;
|
|
156
|
+
asc: string;
|
|
157
|
+
desc: string;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
interface IPrintData {
|
|
161
|
+
label: string;
|
|
162
|
+
organization?: {
|
|
163
|
+
name?: string;
|
|
164
|
+
taxId?: string;
|
|
165
|
+
registrationNumber?: string;
|
|
166
|
+
jbkjs?: string;
|
|
167
|
+
email?: string;
|
|
168
|
+
};
|
|
169
|
+
filters?: {
|
|
170
|
+
basic?: {
|
|
171
|
+
label: string;
|
|
172
|
+
value?: string;
|
|
173
|
+
}[];
|
|
174
|
+
date?: {
|
|
175
|
+
label: string;
|
|
176
|
+
from?: string;
|
|
177
|
+
to?: string;
|
|
178
|
+
}[];
|
|
179
|
+
};
|
|
180
|
+
getPrintData: (pagination: IPagination) => Promise<IAnyObject>;
|
|
181
|
+
formatPrintData: (data: any) => ITableDataItem[];
|
|
182
|
+
saveXlsx?: () => void;
|
|
183
|
+
totals?: ITableDataItem;
|
|
184
|
+
}
|
|
185
|
+
interface IPagination {
|
|
186
|
+
limit: number;
|
|
187
|
+
offset: number;
|
|
188
|
+
}
|
|
189
|
+
interface IServerSidePagination {
|
|
190
|
+
limit: number;
|
|
191
|
+
offset: number;
|
|
192
|
+
setLimit: Dispatch<SetStateAction<number>>;
|
|
193
|
+
setOffset: Dispatch<SetStateAction<number>>;
|
|
194
|
+
totalRows: number;
|
|
195
|
+
}
|
|
196
|
+
interface ITableEditRow {
|
|
197
|
+
columns: ITableColumn[];
|
|
198
|
+
data: any;
|
|
199
|
+
setData: (data: any) => void;
|
|
200
|
+
item?: any;
|
|
201
|
+
clearItem: () => void;
|
|
202
|
+
defaultDataValue?: any;
|
|
203
|
+
inputFocusRef?: RefObject<any>;
|
|
204
|
+
}
|
|
205
|
+
interface ITableTranslations {
|
|
206
|
+
noDataText?: string;
|
|
207
|
+
pagination?: {
|
|
208
|
+
rowsPerPage: string;
|
|
209
|
+
of: string;
|
|
210
|
+
allResults: string;
|
|
211
|
+
page: string;
|
|
212
|
+
};
|
|
213
|
+
Sort?: string;
|
|
214
|
+
filter?: {
|
|
215
|
+
Filter?: string;
|
|
216
|
+
ResetFilter?: string;
|
|
217
|
+
Search?: string;
|
|
218
|
+
Delete?: string;
|
|
219
|
+
};
|
|
220
|
+
print?: {
|
|
221
|
+
Print?: string;
|
|
222
|
+
PrintExport?: string;
|
|
223
|
+
TaxId?: string;
|
|
224
|
+
RegistrationNumber?: string;
|
|
225
|
+
PrintDate?: string;
|
|
226
|
+
from?: string;
|
|
227
|
+
to?: string;
|
|
228
|
+
SaveXlsx?: string;
|
|
229
|
+
};
|
|
230
|
+
Cancel?: string;
|
|
231
|
+
Confirm?: string;
|
|
232
|
+
columns?: {
|
|
233
|
+
Columns?: string;
|
|
234
|
+
DragDropListsInfo?: string;
|
|
235
|
+
HiddenColumns?: string;
|
|
236
|
+
SelectedColumns?: string;
|
|
237
|
+
};
|
|
238
|
+
editable?: {
|
|
239
|
+
Actions?: string;
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
interface IToken {
|
|
244
|
+
sub: string;
|
|
245
|
+
userUuid: string;
|
|
246
|
+
clientCertificate: string;
|
|
247
|
+
scope: string[];
|
|
248
|
+
iat: number;
|
|
249
|
+
exp: number;
|
|
250
|
+
iss: string;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
interface ISidebarItem {
|
|
254
|
+
label: string;
|
|
255
|
+
icon?: IconDefinition;
|
|
256
|
+
to?: string;
|
|
257
|
+
content?: ISidebarSubItem[];
|
|
258
|
+
menu?: {
|
|
259
|
+
content: ISidebarSubItem[];
|
|
260
|
+
openedMenu: string;
|
|
261
|
+
setOpenedMenu: (label: string) => void;
|
|
262
|
+
};
|
|
263
|
+
hidden?: boolean;
|
|
264
|
+
badge?: number;
|
|
265
|
+
addUrl?: string;
|
|
266
|
+
collapsed?: boolean;
|
|
267
|
+
}
|
|
268
|
+
interface ISidebarSubItem {
|
|
269
|
+
label: string;
|
|
270
|
+
to?: string;
|
|
271
|
+
content?: ISidebarItem[];
|
|
272
|
+
hidden?: boolean;
|
|
273
|
+
tooltip?: string;
|
|
274
|
+
badge?: number;
|
|
275
|
+
addUrl?: string;
|
|
276
|
+
primary?: boolean;
|
|
277
|
+
collapsed?: boolean;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
interface ISelectData extends IValueLabel {
|
|
281
|
+
disabled?: boolean;
|
|
282
|
+
[id: string]: any;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
interface IFormWrapper {
|
|
286
|
+
isLoading: boolean;
|
|
287
|
+
className?: string;
|
|
288
|
+
submitButton: {
|
|
289
|
+
label?: string;
|
|
290
|
+
icon?: any;
|
|
291
|
+
disabled?: boolean;
|
|
292
|
+
onSubmit: (e: FormEvent<HTMLFormElement>) => void;
|
|
293
|
+
primary?: boolean;
|
|
294
|
+
};
|
|
295
|
+
otherButtons?: {
|
|
296
|
+
label: string;
|
|
297
|
+
icon?: any;
|
|
298
|
+
disabled?: boolean;
|
|
299
|
+
outlined?: boolean;
|
|
300
|
+
onClick: () => void;
|
|
301
|
+
}[];
|
|
302
|
+
noAccess?: boolean;
|
|
303
|
+
children: ReactNode;
|
|
304
|
+
}
|
|
305
|
+
declare const FormWrapper: FC<IFormWrapper>;
|
|
306
|
+
|
|
307
|
+
interface Props$o {
|
|
308
|
+
tabs: ITab[];
|
|
309
|
+
initialValue?: string;
|
|
310
|
+
compact?: boolean;
|
|
311
|
+
className?: string;
|
|
312
|
+
}
|
|
313
|
+
declare const Accordions: FC<Props$o>;
|
|
314
|
+
|
|
315
|
+
interface Props$n {
|
|
316
|
+
text?: string;
|
|
317
|
+
severity: "success" | "info" | "warning" | "error";
|
|
318
|
+
fitContent?: boolean;
|
|
319
|
+
className?: string;
|
|
320
|
+
children?: ReactNode;
|
|
321
|
+
}
|
|
322
|
+
declare const Alert: FC<Props$n>;
|
|
323
|
+
|
|
324
|
+
interface Props$m {
|
|
325
|
+
number?: number;
|
|
326
|
+
className?: string;
|
|
327
|
+
small?: boolean;
|
|
328
|
+
children?: ReactNode;
|
|
329
|
+
}
|
|
330
|
+
declare const NotificationBadge: FC<Props$m>;
|
|
331
|
+
|
|
332
|
+
interface Props$l {
|
|
333
|
+
label: string;
|
|
334
|
+
color: "success" | "info" | "warning" | "error" | "gray";
|
|
335
|
+
className?: string;
|
|
336
|
+
}
|
|
337
|
+
declare const PillBadge: react.ForwardRefExoticComponent<Props$l & react.RefAttributes<HTMLDivElement>>;
|
|
338
|
+
|
|
339
|
+
interface Props$k {
|
|
340
|
+
label: string;
|
|
341
|
+
icon?: IconDefinition;
|
|
342
|
+
iconEnd?: IconDefinition;
|
|
343
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
344
|
+
disabled?: boolean;
|
|
345
|
+
primary?: boolean;
|
|
346
|
+
outlined?: boolean;
|
|
347
|
+
active?: boolean;
|
|
348
|
+
className?: string;
|
|
349
|
+
size?: "xs" | "s" | "m" | "l";
|
|
350
|
+
buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
351
|
+
}
|
|
352
|
+
declare const Button: react.ForwardRefExoticComponent<Props$k & react.RefAttributes<HTMLButtonElement>>;
|
|
353
|
+
|
|
354
|
+
interface Props$j {
|
|
355
|
+
icon: IconDefinition;
|
|
356
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
357
|
+
disabled?: boolean;
|
|
358
|
+
className?: string;
|
|
359
|
+
active?: boolean;
|
|
360
|
+
buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
361
|
+
}
|
|
362
|
+
declare const IconButton: react.ForwardRefExoticComponent<Props$j & react.RefAttributes<HTMLButtonElement>>;
|
|
363
|
+
|
|
364
|
+
interface Props$i {
|
|
365
|
+
title?: string;
|
|
366
|
+
titleEl?: ReactNode;
|
|
367
|
+
desc?: string;
|
|
368
|
+
descEl?: ReactNode;
|
|
369
|
+
isOpen: boolean;
|
|
370
|
+
onClose: () => void;
|
|
371
|
+
confirmButton?: {
|
|
372
|
+
label?: string;
|
|
373
|
+
icon?: IconDefinition;
|
|
374
|
+
onClick?: () => void;
|
|
375
|
+
onFormSubmit?: () => void;
|
|
376
|
+
disabled?: boolean;
|
|
377
|
+
keepOpen?: boolean;
|
|
378
|
+
};
|
|
379
|
+
cancelButton?: {
|
|
380
|
+
label?: string;
|
|
381
|
+
icon?: IconDefinition;
|
|
382
|
+
onClick?: () => void;
|
|
383
|
+
};
|
|
384
|
+
additionalButton?: {
|
|
385
|
+
label: string;
|
|
386
|
+
icon?: IconDefinition;
|
|
387
|
+
onClick?: () => void;
|
|
388
|
+
disabled?: boolean;
|
|
389
|
+
};
|
|
390
|
+
noBackgroundClick?: boolean;
|
|
391
|
+
noOverflow?: boolean;
|
|
392
|
+
type?: "info" | "error";
|
|
393
|
+
size?: "m" | "l" | "xl";
|
|
394
|
+
noPadding?: boolean;
|
|
395
|
+
className?: string;
|
|
396
|
+
children?: ReactNode;
|
|
397
|
+
}
|
|
398
|
+
declare const Dialog: FC<Props$i>;
|
|
399
|
+
|
|
400
|
+
interface Props$h {
|
|
401
|
+
isOpen: boolean;
|
|
402
|
+
className?: string;
|
|
403
|
+
children?: ReactNode;
|
|
404
|
+
}
|
|
405
|
+
declare const Collapse: FC<Props$h>;
|
|
406
|
+
|
|
407
|
+
interface Props$g {
|
|
408
|
+
label?: string;
|
|
409
|
+
value: boolean;
|
|
410
|
+
setValue: (checked: boolean) => void;
|
|
411
|
+
required?: boolean;
|
|
412
|
+
disabled?: boolean;
|
|
413
|
+
className?: string;
|
|
414
|
+
children?: ReactNode;
|
|
415
|
+
}
|
|
416
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Props$g & react.RefAttributes<HTMLLabelElement>>;
|
|
417
|
+
|
|
418
|
+
interface Props$f {
|
|
419
|
+
label?: string;
|
|
420
|
+
date?: string;
|
|
421
|
+
setDate: (date: string) => void;
|
|
422
|
+
required?: boolean;
|
|
423
|
+
disabled?: boolean;
|
|
424
|
+
autoFocus?: boolean;
|
|
425
|
+
helperText?: string;
|
|
426
|
+
error?: boolean;
|
|
427
|
+
className?: string;
|
|
428
|
+
calendarPlacementX?: "left" | "right";
|
|
429
|
+
}
|
|
430
|
+
declare const DateInput: react.ForwardRefExoticComponent<Props$f & react.RefAttributes<HTMLInputElement>>;
|
|
431
|
+
|
|
432
|
+
interface Props$e {
|
|
433
|
+
label: string;
|
|
434
|
+
value?: string;
|
|
435
|
+
setValue: (value: string) => void;
|
|
436
|
+
required?: boolean;
|
|
437
|
+
disabled?: boolean;
|
|
438
|
+
autoFocus?: boolean;
|
|
439
|
+
rows?: number;
|
|
440
|
+
placeholder?: string;
|
|
441
|
+
helperText?: string;
|
|
442
|
+
className?: string;
|
|
443
|
+
inputProps?: InputHTMLAttributes<HTMLTextAreaElement>;
|
|
444
|
+
error?: boolean;
|
|
445
|
+
}
|
|
446
|
+
declare const LargeTextInput: react.ForwardRefExoticComponent<Props$e & react.RefAttributes<HTMLTextAreaElement>>;
|
|
447
|
+
|
|
448
|
+
interface Props$d {
|
|
449
|
+
label?: string;
|
|
450
|
+
value?: string | number;
|
|
451
|
+
setValue: (value: string) => void;
|
|
452
|
+
required?: boolean;
|
|
453
|
+
disabled?: boolean;
|
|
454
|
+
autoFocus?: boolean;
|
|
455
|
+
placeholder?: string;
|
|
456
|
+
helperText?: string;
|
|
457
|
+
className?: string;
|
|
458
|
+
allowNegative?: boolean;
|
|
459
|
+
decimalPlaces?: number;
|
|
460
|
+
error?: boolean;
|
|
461
|
+
alignLeft?: boolean;
|
|
462
|
+
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
463
|
+
}
|
|
464
|
+
declare const NumberInput: react.ForwardRefExoticComponent<Props$d & react.RefAttributes<HTMLInputElement>>;
|
|
465
|
+
|
|
466
|
+
interface ITextInput {
|
|
467
|
+
label?: string;
|
|
468
|
+
value?: string;
|
|
469
|
+
setValue: (value: string) => void;
|
|
470
|
+
required?: boolean;
|
|
471
|
+
disabled?: boolean;
|
|
472
|
+
autoFocus?: boolean;
|
|
473
|
+
placeholder?: string;
|
|
474
|
+
helperText?: string;
|
|
475
|
+
className?: string;
|
|
476
|
+
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
477
|
+
error?: boolean;
|
|
478
|
+
endButton?: {
|
|
479
|
+
icon: IconDefinition;
|
|
480
|
+
onClick: () => void;
|
|
481
|
+
disabled?: boolean;
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
declare const TextInput: react.ForwardRefExoticComponent<ITextInput & react.RefAttributes<HTMLInputElement>>;
|
|
485
|
+
|
|
486
|
+
interface IProps$1 extends ITextInput {
|
|
487
|
+
newPassword?: boolean;
|
|
488
|
+
}
|
|
489
|
+
declare const PasswordInput: FC<IProps$1>;
|
|
490
|
+
|
|
491
|
+
interface Props$c {
|
|
492
|
+
label?: string;
|
|
493
|
+
value: string | number | boolean;
|
|
494
|
+
selected: string | number | boolean;
|
|
495
|
+
setSelected: (selected: any) => void;
|
|
496
|
+
disabled?: boolean;
|
|
497
|
+
className?: string;
|
|
498
|
+
children?: ReactNode;
|
|
499
|
+
}
|
|
500
|
+
declare const Radio: react.ForwardRefExoticComponent<Props$c & react.RefAttributes<HTMLDivElement>>;
|
|
501
|
+
|
|
502
|
+
interface IProps {
|
|
503
|
+
onSearch: (searchText: string) => void;
|
|
504
|
+
className?: string;
|
|
505
|
+
}
|
|
506
|
+
declare const SearchInput: FC<IProps>;
|
|
507
|
+
|
|
508
|
+
interface Props$b {
|
|
509
|
+
label?: string;
|
|
510
|
+
options: ISelectData[];
|
|
511
|
+
value?: ISelectData | null;
|
|
512
|
+
valuesMulti?: ISelectData[];
|
|
513
|
+
onChange: (value: any) => void;
|
|
514
|
+
required?: boolean;
|
|
515
|
+
disabled?: boolean;
|
|
516
|
+
placeholder?: string;
|
|
517
|
+
helperText?: string;
|
|
518
|
+
className?: string;
|
|
519
|
+
minWidth?: number;
|
|
520
|
+
menuWidth?: 'fit-content' | 'max-content' | number;
|
|
521
|
+
autoFocus?: boolean;
|
|
522
|
+
isClearable?: boolean;
|
|
523
|
+
isOpen?: boolean;
|
|
524
|
+
openDirection?: 'top' | 'auto' | 'bottom';
|
|
525
|
+
noOptionsMessage?: string;
|
|
526
|
+
error?: boolean;
|
|
527
|
+
}
|
|
528
|
+
declare const Select: FC<Props$b>;
|
|
529
|
+
|
|
530
|
+
interface Props$a {
|
|
531
|
+
label?: string;
|
|
532
|
+
value?: ISelectData | null;
|
|
533
|
+
valuesMulti?: ISelectData[];
|
|
534
|
+
loadOptions: any;
|
|
535
|
+
refresh?: any[];
|
|
536
|
+
onChange: (value: any) => void;
|
|
537
|
+
required?: boolean;
|
|
538
|
+
disabled?: boolean;
|
|
539
|
+
placeholder?: string;
|
|
540
|
+
helperText?: string;
|
|
541
|
+
className?: string;
|
|
542
|
+
minWidth?: number;
|
|
543
|
+
menuWidth?: "fit-content" | "max-content" | number;
|
|
544
|
+
autoFocus?: boolean;
|
|
545
|
+
isMulti?: boolean;
|
|
546
|
+
isClearable?: boolean;
|
|
547
|
+
isOpen?: boolean;
|
|
548
|
+
openDirection?: "top" | "auto" | "bottom";
|
|
549
|
+
noOptionsMessage?: string;
|
|
550
|
+
error?: boolean;
|
|
551
|
+
}
|
|
552
|
+
declare const SelectAsyncPaginate: FC<Props$a>;
|
|
553
|
+
|
|
554
|
+
interface Props$9 {
|
|
555
|
+
isLoading: boolean;
|
|
556
|
+
logo?: string;
|
|
557
|
+
fullWidth?: boolean;
|
|
558
|
+
children: ReactNode;
|
|
559
|
+
}
|
|
560
|
+
declare const Loader: FC<Props$9>;
|
|
561
|
+
declare const FullScreenLoader: FC<{
|
|
562
|
+
isLoading: boolean;
|
|
563
|
+
logo?: string;
|
|
564
|
+
}>;
|
|
565
|
+
declare const LazyLoader: FC<{
|
|
566
|
+
logo?: string;
|
|
567
|
+
}>;
|
|
568
|
+
|
|
569
|
+
interface Props$8 {
|
|
570
|
+
isOpen: boolean;
|
|
571
|
+
onClose: () => void;
|
|
572
|
+
renderButton: (ref: RefObject<any>) => ReactNode;
|
|
573
|
+
placementX?: "left" | "right";
|
|
574
|
+
placementY?: "bottom" | "top" | "auto";
|
|
575
|
+
size?: "s" | "m" | "l";
|
|
576
|
+
className?: string;
|
|
577
|
+
children?: ReactNode;
|
|
578
|
+
}
|
|
579
|
+
declare const Menu: FC<Props$8>;
|
|
580
|
+
|
|
581
|
+
interface Props$7 {
|
|
582
|
+
label?: string;
|
|
583
|
+
icon?: IconDefinition;
|
|
584
|
+
iconRotation?: RotateProp;
|
|
585
|
+
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
586
|
+
to?: string;
|
|
587
|
+
disabled?: boolean;
|
|
588
|
+
withDevider?: boolean;
|
|
589
|
+
className?: string;
|
|
590
|
+
children?: ReactNode;
|
|
591
|
+
}
|
|
592
|
+
declare const MenuItem: FC<Props$7>;
|
|
593
|
+
|
|
594
|
+
interface Props$6 extends ITableFilterData {
|
|
595
|
+
isOpen: boolean;
|
|
596
|
+
onClose: () => void;
|
|
597
|
+
translations?: ITableTranslations;
|
|
598
|
+
}
|
|
599
|
+
declare const SetTableFilter: FC<Props$6>;
|
|
600
|
+
|
|
601
|
+
declare const Table: FC<ITable>;
|
|
602
|
+
|
|
603
|
+
interface Props$5 {
|
|
604
|
+
limit: number;
|
|
605
|
+
offset: number;
|
|
606
|
+
setLimit: (limit: number) => void;
|
|
607
|
+
setOffset: (offset: number) => void;
|
|
608
|
+
totalRows: number;
|
|
609
|
+
footerAction?: {
|
|
610
|
+
icon?: IconDefinition;
|
|
611
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
612
|
+
};
|
|
613
|
+
customLimit?: number[];
|
|
614
|
+
translations?: ITableTranslations;
|
|
615
|
+
}
|
|
616
|
+
declare const TableFooter: FC<Props$5>;
|
|
617
|
+
|
|
618
|
+
interface Props$4 {
|
|
619
|
+
item: any;
|
|
620
|
+
setSelectedItem?: (item: any) => void;
|
|
621
|
+
setItemToDeleteUuid?: (uuid: string) => void;
|
|
622
|
+
actions?: {
|
|
623
|
+
label: string;
|
|
624
|
+
onClick: (uuid: string) => void;
|
|
625
|
+
hidden?: boolean;
|
|
626
|
+
disabled?: boolean;
|
|
627
|
+
}[];
|
|
628
|
+
t?: (e: string) => string;
|
|
629
|
+
}
|
|
630
|
+
declare const ItemActionsMenu: FC<Props$4>;
|
|
631
|
+
|
|
632
|
+
interface Props$3 {
|
|
633
|
+
setData: (item: any) => void;
|
|
634
|
+
clearItem: () => void;
|
|
635
|
+
inputFocusRef?: RefObject<any>;
|
|
636
|
+
defaultDataValue?: any;
|
|
637
|
+
}
|
|
638
|
+
declare const ItemEditOptionsButtons: FC<Props$3>;
|
|
639
|
+
|
|
640
|
+
declare const TableEditRow: FC<ITableEditRow>;
|
|
641
|
+
|
|
642
|
+
interface Props$2 {
|
|
643
|
+
tabs: ITab[];
|
|
644
|
+
initialValue?: string;
|
|
645
|
+
control?: {
|
|
646
|
+
value: string;
|
|
647
|
+
setValue: (value: string) => void;
|
|
648
|
+
};
|
|
649
|
+
onChange?: (value: string) => void;
|
|
650
|
+
noWrap?: boolean;
|
|
651
|
+
className?: string;
|
|
652
|
+
classNameContent?: string;
|
|
653
|
+
}
|
|
654
|
+
declare const Tabs: FC<Props$2>;
|
|
655
|
+
|
|
656
|
+
type Position = "left" | "right" | "top" | "bottom";
|
|
657
|
+
interface Props$1 {
|
|
658
|
+
label?: string;
|
|
659
|
+
position?: Position;
|
|
660
|
+
disabled?: boolean;
|
|
661
|
+
className?: string;
|
|
662
|
+
children: ReactElement;
|
|
663
|
+
}
|
|
664
|
+
declare const Tooltip: FC<Props$1>;
|
|
665
|
+
|
|
666
|
+
interface Props {
|
|
667
|
+
condition: boolean;
|
|
668
|
+
wrapper: (children: ReactElement) => ReactElement;
|
|
669
|
+
children: ReactElement;
|
|
670
|
+
}
|
|
671
|
+
declare const ConditionalWrapper: FC<Props>;
|
|
672
|
+
|
|
673
|
+
declare const formatDate: (date?: string) => string;
|
|
674
|
+
declare const formatDateAndTime: (date?: string, withSeconds?: boolean) => string;
|
|
675
|
+
declare const formatTime: (date?: string, withSeconds?: boolean) => string;
|
|
676
|
+
declare const dateAddDays: (date: string, addDays: number) => string;
|
|
677
|
+
declare const checkIfExpired: (date?: string) => boolean;
|
|
678
|
+
declare const getCurrentDateFormattedYMD: () => string;
|
|
679
|
+
declare const getDaysLeft: (date?: string) => number;
|
|
680
|
+
declare const formatYearMonth: (year: number, month: number) => string;
|
|
681
|
+
|
|
682
|
+
declare const formatCurrency: (number?: string | number, minimumFractionDigits?: number, maximumFractionDigits?: number) => string;
|
|
683
|
+
declare const formatCurrencyNoDecimals: (number?: string | number) => string;
|
|
684
|
+
|
|
685
|
+
declare const maxChar: (str?: string, maxLength?: number) => string;
|
|
686
|
+
|
|
687
|
+
declare const deleteProps: (obj: any, props: string[]) => any;
|
|
688
|
+
declare const deleteEmptyProps: (obj: IAnyObject) => any;
|
|
689
|
+
declare const deleteEmptyPropsIncludingArray: (obj: IAnyObject) => any;
|
|
690
|
+
declare const getActiveFilterNumber: (obj: any) => number;
|
|
691
|
+
declare const getVisibleColumnsIds: (tableCols: ITableColumn[], isPrint?: boolean) => string[];
|
|
692
|
+
declare const deepCopy: (el: any[] | object) => any;
|
|
693
|
+
|
|
694
|
+
declare const parseUrlSearch: (search: string) => {
|
|
695
|
+
[k: string]: string;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, DateInput, Dialog, FormWrapper, FullScreenLoader, IAnyObject, IBooleanObject, IError, IFormWrapper, IPagination, ISelectData, IServerSidePagination, ISidebarItem, ISimpleObject, ISimpleObjectWithCode, ISimpleObjectWithCodeNew, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, IToken, IValueLabel, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LargeTextInput, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PasswordInput, PillBadge, Radio, SearchInput, Select, SelectAsyncPaginate, SetTableFilter, Table, TableEditRow, TableFooter, Tabs, TextInput, Tooltip, checkIfExpired, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatTime, formatYearMonth, getActiveFilterNumber, getCurrentDateFormattedYMD, getDaysLeft, getVisibleColumnsIds, maxChar, parseUrlSearch };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"clsx";export{default as clsx}from"clsx";import l from"moment";export{default as moment}from"moment";import{FontAwesomeIcon as i}from"@fortawesome/react-fontawesome";export{FontAwesomeIcon}from"@fortawesome/react-fontawesome";export{v4 as uuidv4}from"uuid";import{jsx as a,jsxs as n,Fragment as t}from"react/jsx-runtime";import{useState as c,useRef as r,useEffect as o,forwardRef as s,useCallback as d,cloneElement as u,Fragment as m}from"react";import{createPortal as h}from"react-dom";import{Calendar as p}from"react-calendar";import f from"moment/moment";import"react-calendar/dist/Calendar.css";import{useTranslation as b}from"react-i18next";import C from"react-select";import{AsyncPaginate as g}from"react-select-async-paginate";import{DragDropContext as v,Droppable as N,Draggable as x}from"react-beautiful-dnd";const w=({isOpen:l,className:i,children:n})=>{const[t,s]=c(),d=r(null);return o((()=>{const e=new ResizeObserver((e=>{const l=Math.ceil(e[0].contentRect.height);s(l)}));let l;return d.current&&(l=d.current,e.observe(l)),()=>{l&&e.unobserve(l)}}),[d]),a("div",{className:e("iui-colapse",i),style:{maxHeight:l?t:0},children:a("div",{ref:d,children:n})})},S={prefix:"fal",iconName:"arrow-down-short-wide",icon:[576,512,[],"f884","M304 208h128C440.8 208 448 200.8 448 192s-7.156-16-16-16h-128c-8.844 0-15.1 7.156-15.1 16S295.2 208 304 208zM304 336h192c8.844 0 16-7.156 16-16s-7.156-16-16-16h-192c-8.844 0-15.1 7.156-15.1 16S295.2 336 304 336zM304 80h64c8.844 0 16-7.156 16-16S376.8 48 368 48h-64c-8.844 0-15.1 7.156-15.1 16S295.2 80 304 80zM560 432h-256c-8.844 0-15.1 7.156-15.1 16S295.2 464 304 464h256c8.844 0 16-7.156 16-16S568.8 432 560 432zM224 352c-4.094 0-8.188 1.562-11.31 4.688L144 425.4V48C144 39.16 136.8 32 128 32S112 39.16 112 48v377.4l-68.69-68.69c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62l96 96c6.25 6.25 16.38 6.25 22.62 0l96-96c6.25-6.25 6.25-16.38 0-22.62C232.2 353.6 228.1 352 224 352z"]},y={prefix:"fal",iconName:"arrow-down-wide-short",icon:[576,512,[],"f160","M368 432h-64c-8.844 0-15.1 7.156-15.1 16S295.2 464 304 464h64c8.844 0 16-7.156 16-16S376.8 432 368 432zM432 304h-128c-8.844 0-15.1 7.156-15.1 16S295.2 336 304 336h128c8.844 0 16-7.156 16-16S440.8 304 432 304zM496 176h-192c-8.844 0-15.1 7.156-15.1 16S295.2 208 304 208h192C504.8 208 512 200.8 512 192S504.8 176 496 176zM560 48h-256c-8.844 0-15.1 7.156-15.1 16S295.2 80 304 80h256C568.8 80 576 72.84 576 64S568.8 48 560 48zM224 352c-4.094 0-8.188 1.562-11.31 4.688L144 425.4V48C144 39.16 136.8 32 128 32S112 39.16 112 48v377.4l-68.69-68.69c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62l96 96c6.25 6.25 16.38 6.25 22.62 0l96-96c6.25-6.25 6.25-16.38 0-22.62C232.2 353.6 228.1 352 224 352z"]},k={prefix:"fal",iconName:"arrows-to-line",icon:[448,512,[],"e0a7","M235.3 324.7C231.3 320.7 226.5 320 224 320s-7.299 .6547-11.33 4.698l-79.98 79.98C129.6 407.8 128 411.9 128 416c0 8.523 6.865 16 16 16c4.094 0 8.188-1.562 11.31-4.688L208 374.6V496c0 8.844 7.156 16 16 16s16-7.156 16-16v-121.4l52.69 52.69C295.8 430.4 299.9 432 304 432c9.139 0 16-7.477 16-16c0-4.094-1.562-8.188-4.688-11.31L235.3 324.7zM212.7 187.3C214.4 189 218.3 192 224 192s9.609-2.98 11.33-4.707l79.98-79.98C318.4 104.2 320 100.1 320 96c0-8.527-6.865-16-16-16c-4.094 0-8.188 1.562-11.31 4.688L240 137.4V16C240 7.156 232.8 0 224 0S208 7.156 208 16v121.4L155.3 84.69C152.2 81.56 148.1 80 144 80C134.9 80 128 87.47 128 96c0 4.094 1.562 8.188 4.688 11.31L212.7 187.3zM432 240h-416C7.156 240 0 247.1 0 255.1S7.156 272 16 272h416c8.844 0 16-7.165 16-16.01S440.8 240 432 240z"]},M={prefix:"fal",iconName:"arrows-up-down",icon:[256,512,[],"f07d","M139.3 4.688l112 112C254.4 119.8 256 123.9 256 128s-1.562 8.188-4.688 11.31c-6.25 6.25-16.38 6.25-22.62 0L144 54.63v402.8l84.69-84.69c6.25-6.25 16.38-6.25 22.62 0C254.4 375.8 256 379.9 256 384s-1.562 8.188-4.688 11.31l-112 112c-6.25 6.25-16.38 6.25-22.62 0l-112-112c-6.25-6.25-6.25-16.38 0-22.62s16.38-6.25 22.62 0L112 457.4V54.63L27.31 139.3c-6.25 6.25-16.38 6.25-22.62 0s-6.25-16.38 0-22.62l112-112C122.9-1.562 133.1-1.562 139.3 4.688z"]},z={prefix:"fal",iconName:"check",icon:[512,512,[],"f00c","M475.3 123.3l-272 272C200.2 398.4 196.1 400 192 400s-8.188-1.562-11.31-4.688l-144-144c-6.25-6.25-6.25-16.38 0-22.62s16.38-6.25 22.62 0L192 361.4l260.7-260.7c6.25-6.25 16.38-6.25 22.62 0S481.6 117.1 475.3 123.3z"]},L={prefix:"fal",iconName:"ellipsis-vertical",icon:[128,512,[],"f142","M64 384C81.67 384 96 398.3 96 416C96 433.7 81.67 448 64 448C46.33 448 32 433.7 32 416C32 398.3 46.33 384 64 384zM64 224C81.67 224 96 238.3 96 256C96 273.7 81.67 288 64 288C46.33 288 32 273.7 32 256C32 238.3 46.33 224 64 224zM64 128C46.33 128 32 113.7 32 96C32 78.33 46.33 64 64 64C81.67 64 96 78.33 96 96C96 113.7 81.67 128 64 128z"]},D={prefix:"fal",iconName:"xmark",icon:[320,512,[],"f00d","M315.3 411.3c-6.253 6.253-16.37 6.253-22.63 0L160 278.6l-132.7 132.7c-6.253 6.253-16.37 6.253-22.63 0c-6.253-6.253-6.253-16.37 0-22.63L137.4 256L4.69 123.3c-6.253-6.253-6.253-16.37 0-22.63c6.253-6.253 16.37-6.253 22.63 0L160 233.4l132.7-132.7c6.253-6.253 16.37-6.253 22.63 0c6.253 6.253 6.253 16.37 0 22.63L182.6 256l132.7 132.7C321.6 394.9 321.6 405.1 315.3 411.3z"]},$=({tabs:l,initialValue:t,compact:r,className:o})=>{const s=l.filter((e=>!e.hidden)),[d,u]=c(t||"");return s.length?a("div",{className:o,children:a("div",{className:"iui-accordions",children:s.map((l=>n("div",{className:e("iui-accordion",{selected:d===l.value,compact:r}),children:[n("div",{className:e("summary clickable",{disabled:l.disabled}),onClick:l.disabled?void 0:()=>u(d===l.value?"":l.value),children:[n("div",{className:"flex center",children:[l.icon&&a(i,{icon:l.icon,className:"iui-icon"}),l.label]}),a(i,{icon:l.value===d?k:M,className:"collapse-icon"})]}),a(w,{isOpen:d===l.value,children:a("div",{className:"p-4",children:l.component})})]},l.value)))})}):null},R={prefix:"far",iconName:"circle-info",icon:[512,512,[],"f05a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM296 336h-16V248C280 234.8 269.3 224 256 224H224C210.8 224 200 234.8 200 248S210.8 272 224 272h8v64h-16C202.8 336 192 346.8 192 360S202.8 384 216 384h80c13.25 0 24-10.75 24-24S309.3 336 296 336zM256 192c17.67 0 32-14.33 32-32c0-17.67-14.33-32-32-32S224 142.3 224 160C224 177.7 238.3 192 256 192z"]},O={prefix:"far",iconName:"triangle-exclamation",icon:[512,512,[],"f071","M506.3 417l-213.3-364C284.8 39 270.4 32 256 32C241.6 32 227.2 39 218.1 53l-213.2 364C-10.59 444.9 9.851 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM52.58 432L255.1 84.8L459.4 432H52.58zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44c0 17.36 14.11 31.44 31.48 31.44s31.4-14.08 31.4-31.44C287.4 351.2 273.4 337.1 256 337.1zM232 184v96C232 293.3 242.8 304 256 304s24-10.75 24-24v-96C280 170.8 269.3 160 256 160S232 170.8 232 184z"]},F={error:{prefix:"far",iconName:"circle-exclamation",icon:[512,512,[],"f06a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z"]},success:{prefix:"far",iconName:"circle-check",icon:[512,512,[],"f058","M335 175L224 286.1L176.1 239c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l64 64C211.7 341.7 217.8 344 224 344s12.28-2.344 16.97-7.031l128-128c9.375-9.375 9.375-24.56 0-33.94S344.4 165.7 335 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]},info:R,warning:O},P=({text:l,severity:t,fitContent:c,className:r,children:o})=>n("div",{className:e("iui-alert",t,r,{"width-fit":c}),children:[a(i,{icon:F[t]}),l,o]}),V=({number:l,className:i,small:t,children:c})=>n("div",{className:"iui-badge-parent",children:[c,!!l&&l>0&&a("div",{className:e("iui-badge primary",i,{small:t}),children:l>99?"99+":l})]}),H=s((({label:l,color:i,className:n},t)=>a("div",{ref:t,className:e("iui-pill-badge",i,n),children:l}))),I=s((({label:l,icon:t,iconEnd:c,onClick:r,disabled:o,primary:s,outlined:d,active:u,className:m,size:h="m",buttonProps:p},f)=>n("button",{ref:f,disabled:o,className:e("iui-btn",m,h,{primary:s,outlined:d,active:u}),onClick:r,type:p?.type||r?"button":"submit",...p,children:[t&&a(i,{icon:t}),a("div",{className:"iui-btn-label",children:l}),c&&a(i,{icon:c})]}))),B=s((({icon:l,onClick:n,disabled:t,className:c,active:r,buttonProps:o},s)=>a("button",{ref:s,disabled:t,className:e("iui-btn iui-icon-btn",c,{active:r}),onClick:n,type:o?.type||n?"button":"submit",...o,children:a(i,{icon:l})}))),E=({condition:e,wrapper:l,children:i})=>e?l(i):i,q={info:R,error:O},T=({title:l,titleEl:t,desc:c,descEl:s,isOpen:u,onClose:m,confirmButton:p,cancelButton:f,additionalButton:b,noBackgroundClick:C,noOverflow:g,type:v,size:N,noPadding:x,className:w,children:S})=>{const y=r(null),k=d((()=>{y.current?.classList.add("closing"),setTimeout(m,200)}),[y,m]);return o((()=>{if(!C){const e=e=>e.target===y.current&&k();return window.addEventListener("click",e),()=>window.removeEventListener("click",e)}}),[C,k]),u?h(a("div",{ref:y,className:"iui-dialog",children:a(E,{condition:!!p?.onFormSubmit,wrapper:e=>a("form",{onSubmit:e=>{e.preventDefault(),e.stopPropagation(),p.onFormSubmit(),!p.keepOpen&&k()},children:e}),children:n("div",{className:e("iui-dialog-container",N,v,w),children:[l&&a("h1",{children:l}),t,n("div",{className:e("iui-dialog-content",{padding:!x,"no-overflow":g}),children:[v&&a(i,{icon:q[v]}),c&&a("p",{children:c}),s,S]}),n("div",{className:"iui-dialog-actions",children:[a(I,{label:f?.label||(p?"Otkaži":"Ok"),icon:f?.icon,primary:!p,onClick:e=>{e.stopPropagation(),f?.onClick?f.onClick():k()}}),b&&a(I,{label:b.label,icon:b.icon,className:"ml-2",onClick:b.onClick?e=>{e.stopPropagation(),b.onClick(),k()}:void 0,disabled:b.disabled}),p&&a(I,{label:p.label||"Potvrdi",icon:p.icon,primary:!0,className:"ml-2",onClick:p.onClick?e=>{e.stopPropagation(),p.onClick(),!p.keepOpen&&k()}:void 0,disabled:p.disabled})]})]})})}),document.body):null},W=s((({label:l,value:i,setValue:t,required:c,disabled:r,className:o,children:s},d)=>n("label",{ref:d,className:e("iui-checkbox clickable",o,{disabled:r}),children:[a("input",{required:c,disabled:r,type:"checkbox",checked:i,onChange:()=>t(!i)}),a("svg",{className:e("icon",{selected:i}),focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true",children:a("path",i?{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}:{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})}),l?a("p",{children:l}):s]}))),j={prefix:"far",iconName:"calendar",icon:[448,512,[],"f133","M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"]},A={prefix:"fas",iconName:"xmark",icon:[320,512,[],"f00d","M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"]},Y=e=>e?f(e).format("DD.MM.YYYY."):"/",X=(e,l)=>e?f(e).format("DD.MM.YYYY. HH:mm"+(l?":ss":"")):"/",J=(e,l)=>e?f(e).format("HH:mm"+(l?":ss":"")):"/",U=(e,l)=>f(e).add(l,"days").toISOString(),K=e=>!e||f(new Date)>f(e),Z=()=>f().format("yyyy-MM-DD").toString(),G=e=>f(e).diff(new Date,"days"),Q=(e,l)=>`${e}-${l<10?`0${l}`:l}`,_=({isOpen:l,onClose:i,renderButton:s,placementX:u,placementY:m="auto",size:p,className:f,children:b})=>{const C=r(null),g=r(null),v=r(null),[N,x]=c({offsetLeft:0,offsetTop:0}),[w,S]=c(),y=d((()=>{if(v.current&&C.current){const e=v.current.getBoundingClientRect(),l=C.current.getBoundingClientRect();let i=e.bottom+5;const a=e.left+("right"===u?e.width-l.width:0);"bottom"===m&&S(window.innerHeight-e.bottom-20),"top"===m&&S(window.innerHeight-e.top+40),("auto"===m&&i+l.height>window.innerHeight||"top"===m)&&(i=e.top-l.height-5),x({offsetTop:i,offsetLeft:a})}}),[C,v,u,m]);return o((()=>(l?window.addEventListener("resize",y):window.removeEventListener("resize",y),document.body.style.marginRight=l&&window.innerWidth>document.body.clientWidth?"19px":"",document.body.style.overflow=l?"hidden":"",y(),()=>{window.removeEventListener("resize",y)})),[l,y]),o((()=>{const e=g.current,a=l=>l.target===e&&i();return l?e?.addEventListener("click",a):e?.removeEventListener("click",a),()=>e?.removeEventListener("click",a)}),[l,i]),n(t,{children:[s(v),l?h(a("div",{ref:g,className:"portal-background",children:a("div",{ref:C,className:e("iui-menu",f,p),style:{top:N.offsetTop+"px",left:N.offsetLeft+"px",maxHeight:w||void 0},children:b})}),document.body):null]})},ee=({label:l,shrink:i,focus:t,required:c,className:r,minWidth:o,helperText:s,error:d,children:u})=>n("div",{className:e("iui-input-container",r,{error:d}),style:{minWidth:o},children:[n("fieldset",{className:e({shrink:i,focus:t}),children:[!!l&&a("label",{children:c&&l?`${l} *`:l}),!!l&&a("legend",{children:c?`${l} *`:l}),u]}),s&&a("p",{className:"helper-text new-line",children:s})]}),le={day:{placeholder:"dd",regex:"^[0-9]{2}"},month:{placeholder:"mm",regex:"^[0-9]{2}"},year:{placeholder:"yyyy",regex:"^[0-9]{4}"}},ie=s((({value:l,setValue:i,setDate:n,values:t,required:s,disabled:d,autoFocus:u,min:m=1,max:h,part:p,previousInput:f,nextInput:b,setFocus:C},g)=>{const[v,N]=c(!1),x=r(null);o((()=>{"year"===p&&4!==l.length||+l>h||+l<m?N(!0):v&&N(!1)}),[p,m,h,l,v]);const w=`^[0-9]{0,${h.toString().length}}$`;return a("input",{ref:g||x,value:l||"",onChange:e=>(e=>{if(e){if(new RegExp(w).test(e)){i(e);const l="year"===p?e:t.year,a="month"===p?e:t.month,c="day"===p?e:t.day;c&&a&&4===l.length&&n(`${l}-${2===a.length?a:`0${a}`}-${2===c.length?c:`0${c}`}`)}}else i("")})(e.target.value),onClick:e=>e.stopPropagation(),onKeyDown:e=>{"ArrowLeft"===e.key?(e.preventDefault(),f?.select()):"ArrowRight"===e.key&&(e.preventDefault(),b?.select())},onKeyUp:e=>{"year"!==p&&isFinite(+e.key)&&2===l.length&&b?.select()},onFocus:e=>{C(!0),e.target.select()},onBlur:()=>C(!1),required:s,disabled:d,autoFocus:u,min:m,max:h,inputMode:"numeric",type:"number",tabIndex:"day"!==p?-1:void 0,placeholder:le[p].placeholder,pattern:le[p].regex,className:e({error:v}),style:{width:"year"!==p||l?"month"!==p||l?`${l.length||2}ch`:23:"4ch"}})})),ae=s((({label:t,date:s,setDate:d,required:u,disabled:m,autoFocus:h,helperText:b,error:C,className:g,calendarPlacementX:v},N)=>{const[x,w]=c(s?.split("-")[2]||""),[S,y]=c(s?.split("-")[1]||""),[k,M]=c(s?.split("-")[0]||""),[z,L]=c(!1),[D,$]=c(!1),R=r(null),O=r(null),F=r(null),P=r(null),V=k&&S?new Date(+k,+S,0).getDate():31;return o((()=>{s?[O.current,F.current,P.current].includes(document.activeElement)||(M(s.split("-")[0]||""),y(s.split("-")[1]||""),w(s.split("-")[2]||"")):(M(""),y(""),w(""))}),[s]),a(ee,{label:t,shrink:!0,focus:D||z,required:u,helperText:b,className:g,error:C,children:a(_,{isOpen:z,onClose:()=>L(!1),placementX:v||"left",renderButton:l=>n("div",{ref:l,className:e("date-input",{disabled:m}),children:[n("div",{ref:R,className:"inputs",onClick:()=>O.current?.focus(),children:[a(ie,{ref:O,value:x,setValue:w,setDate:d,values:{day:x,month:S,year:k},required:u||!!S||!!k,disabled:m,autoFocus:h,max:V,part:"day",nextInput:F.current,setFocus:$}),a("span",{children:"."}),a(ie,{ref:F,value:S,setValue:y,setDate:d,values:{day:x,month:S,year:k},required:u||!!x||!!k,disabled:m,max:12,part:"month",previousInput:O.current,nextInput:P.current,setFocus:$}),a("span",{children:"."}),a(ie,{ref:P,value:k,setValue:M,setDate:d,values:{day:x,month:S,year:k},required:u||!!x||!!S,disabled:m,min:1500,max:2500,part:"year",previousInput:F.current,setFocus:$})]}),n("div",{className:"flex",children:[a("div",{className:e("button",{disabled:m}),onClick:()=>!m&&d(""),children:a(i,{icon:A})}),a("div",{className:e("button",{disabled:m}),onClick:()=>!m&&L(!z),children:a(i,{icon:j})})]})]}),children:a(p,{value:s?l(s).isValid()?new Date(s):new Date:null,onChange:e=>{const l=(e=>f(e).format("yyyy-MM-DD"))(e);d(l),L(!1)}})})})})),ne=s((({label:e,value:l,setValue:i,required:n,disabled:t,autoFocus:r,rows:o,placeholder:s,helperText:d,className:u,inputProps:m,error:h},p)=>{const[f,b]=c(!1),[C,g]=c(!1);return a(ee,{label:e,shrink:!!(l||s||C),focus:f,required:n,helperText:d,className:u,error:h,children:a("textarea",{ref:p,autoFocus:r,onFocus:()=>{b(!0),C&&g(!1)},onBlur:()=>b(!1),placeholder:n&&s?`${s} *`:s,value:l||"",onChange:e=>i(e.target.value),rows:o,required:n,disabled:t,onAnimationStart:()=>g(!0),...m})})})),te=s((({label:l,value:t,setValue:r,required:o,disabled:s,autoFocus:d,placeholder:u,helperText:m,className:h,inputProps:p,error:f,endButton:b},C)=>{const[g,v]=c(!1),[N,x]=c(!1);return a(ee,{label:l,shrink:!!(t||u||N),focus:g,required:o,helperText:m,className:h,error:f,children:n("div",{className:e("flex align-center",{"with-end-button":b}),children:[a("input",{ref:C,autoFocus:d,onFocus:()=>{v(!0),N&&x(!1)},onBlur:()=>v(!1),placeholder:o&&u?`${u} *`:u,value:t||"",onChange:e=>r(e.target.value),required:o,disabled:s,onAnimationStart:()=>x(!0),...p}),b&&a(i,{className:b.disabled?"disabled":void 0,icon:b.icon,onClick:b.disabled?void 0:b.onClick})]})})})),ce=s((({value:e,setValue:l,label:i,required:n,disabled:t,autoFocus:c,placeholder:r,helperText:o,className:s,allowNegative:d,decimalPlaces:u,error:m,alignLeft:h,inputProps:p},f)=>a(te,{ref:f,value:e?`${e}`.replaceAll(".",","):"",setValue:e=>{u?(new RegExp(`^${d?"-?":""}\\d*(?:[.,])?(\\d{1,${u}})?$`).test(e)||!e)&&l(e?e.replaceAll(",","."):e):(new RegExp(`^${d?"-?":""}\\d*$`).test(e)||!e)&&l(e)},label:i,required:n,disabled:t,placeholder:r||(u?`0.${"0".repeat(u)}`:"0"),inputProps:{className:h?void 0:"text-right",pattern:`^${d?"-?":""}\\d+${u?`(?:[.,])?(\\d{1,${u}})?`:""}$`,lang:"sr-RS",inputMode:"numeric",...p},className:s,autoFocus:c,helperText:o,error:m}))),re={prefix:"fad",iconName:"eye",icon:[576,512,[],"f06e",["M572.5 238.1C518.3 115.5 410.9 32 288 32S57.69 115.6 3.469 238.1C1.563 243.4 0 251 0 256c0 4.977 1.562 12.6 3.469 17.03C57.72 396.5 165.1 480 288 480s230.3-83.58 284.5-206.1C574.4 268.6 576 260.1 576 256C576 251 574.4 243.4 572.5 238.1zM432 256c0 79.45-64.47 144-143.9 144C208.6 400 144 335.5 144 256S208.5 112 288 112S432 176.5 432 256z","M288 160C285.7 160 282.4 160.4 279.5 160.8C284.8 170 288 180.6 288 192c0 35.35-28.65 64-64 64C212.6 256 201.1 252.7 192.7 247.5C192.4 250.5 192 253.6 192 256c0 52.1 43 96 96 96s96-42.99 96-95.99S340.1 160 288 160z"]]},oe={prefix:"fad",iconName:"eye-slash",icon:[640,512,[],"f070",["M149.2 91.63c49.62-37.69 108.1-59.62 170.8-59.62c122.9 0 230.3 83.53 284.5 206.1c1.906 4.43 3.469 12.05 3.469 17.03c0 4.957-1.562 12.6-3.469 17.03c-19.42 44.19-45.89 83.01-77.21 114.1l-81.27-63.69c11.09-20.4 17.95-43.44 17.95-68.27c0-79.48-64.5-144-143.1-144c-37.29 0-70.83 14.65-96.42 37.93L149.2 91.63zM319.1 160c-2.301 .0293-5.575 .4436-8.461 .7658C316.8 170 319.1 180.6 319.1 192c0 10.17-2.602 19.62-6.821 28.16l94.71 74.24c5.158-11.78 8.114-24.73 8.114-38.4C415.1 203 372.1 160 319.1 160zM319.1 352c-46.96 0-85.92-33.81-94.22-78.37l99.33 77.86C323.4 351.6 321.8 352 319.1 352zM373.6 389.5l74.5 58.4c-39.3 20.65-82.61 32.14-128.1 32.14c-122.9 0-230.3-83.53-284.5-206.1c-1.906-4.43-3.469-12.05-3.469-17.03c0-4.959 1.562-12.6 3.469-17.03c12.54-28.55 28.04-54.84 45.81-78.59l96.72 75.8C177.1 242.7 175.1 249.2 175.1 256c0 79.48 64.53 143.1 144 143.1C338.1 400 356.1 396.1 373.6 389.5z","M615.1 512c-5.188 0-10.39-1.651-14.8-5.12L9.188 42.89C-1.234 34.73-3.051 19.63 5.121 9.189c8.188-10.41 23.22-12.29 33.69-4.073l591.1 463.1c10.42 8.156 12.24 23.26 4.068 33.7C630.1 508.8 623.1 512 615.1 512z"]]},se=e=>{const[l,i]=c(!1);return a(te,{...e,inputProps:{type:l?"text":"password",autoComplete:e.newPassword?"new-password":void 0,...e.inputProps},endButton:{icon:l?oe:re,onClick:()=>i(!l)}})},de=s((({label:l,value:i,selected:t,setSelected:c,disabled:r,className:o,children:s},d)=>n("div",{ref:d,className:e("iui-radio",o,t===i?"selected":"clickable",{disabled:r}),onClick:t!==i?()=>!r&&c(i):void 0,children:[n("div",{className:"iui-radio-icon",children:[a("svg",{className:e("icon",{selected:t===i}),focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true",children:a("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})}),a("svg",{className:e("icon secondary",{selected:t===i}),focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true",children:a("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"})})]}),l?a("p",{children:l}):s]}))),ue={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[],"f002","M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z"]},me=({onSearch:e,className:l})=>{const[i,n]=c(""),{t:t}=b();return a(te,{className:l?`${l} w-300`:"w-300",inputProps:{"aria-label":"search",onKeyPress:l=>{"Enter"===l.key&&e(l.target.value)}},label:t("Search"),value:i,setValue:n,endButton:{icon:ue,onClick:()=>e(i)}})},he=e=>({control:e=>({...e,border:"none",borderRadius:12,boxShadow:"none",minHeight:36}),valueContainer:(e,l)=>({...e,padding:l.isMulti?"8px 14px":"10px 14px",fontSize:13}),menu:l=>({...l,marginTop:2,width:e||"100%",minWidth:"100%",borderRadius:8,boxShadow:"0px 5px 5px -3px rgb(0 0 0 / 20%), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);"}),menuPortal:e=>({...e,zIndex:1001}),input:e=>({...e,padding:0,margin:0,borderRadius:12}),option:(e,l)=>({...e,fontSize:13,backgroundColor:l.isSelected?"var(--primary) !important":l.isFocused?"#eee !important":"inherit"}),noOptionsMessage:e=>({...e,fontSize:13,fontStyle:"italic"}),multiValue:e=>({...e,backgroundColor:"var(--primary-o25)"})}),pe=({label:l,options:i,value:t,valuesMulti:o,onChange:s,required:d,disabled:u,placeholder:m="",helperText:h,className:p,minWidth:f,menuWidth:b,autoFocus:g,isClearable:v,isOpen:N,openDirection:x="auto",noOptionsMessage:w,error:S})=>{const[y,k]=c(!1),M=r(null);return n(ee,{label:l,shrink:!!(t||o?.length||m),focus:y,required:d,helperText:h,className:e("select-wrapper",p),minWidth:f,error:S,children:[a(C,{value:t||o||null,options:i,onChange:s,placeholder:!l&&d?`${m} *`:m,className:p,styles:he(b),isDisabled:u,isOptionDisabled:e=>e.disabled,isClearable:v,isMulti:!!o,menuIsOpen:N,menuPlacement:x,menuPortalTarget:document.querySelector("body"),ref:M,onFocus:()=>k(!0),onBlur:()=>k(!1),autoFocus:g,noOptionsMessage:()=>w||"Nema opcija"}),d&&!u&&a("input",{className:"fake-input",required:!0,tabIndex:-1,autoComplete:"off",value:t?.value||o?.length||"",onChange:()=>{},onFocus:()=>M.current?.focus()})]})},fe=({label:l,value:i,valuesMulti:t,loadOptions:o,refresh:s,onChange:d,required:u,disabled:m,placeholder:h="",helperText:p,className:f,minWidth:b,menuWidth:C,autoFocus:v,isMulti:N,isClearable:x,isOpen:w,openDirection:S="auto",noOptionsMessage:y,error:k})=>{const[M,z]=c(!1),L=r(null);return n(ee,{label:l,shrink:!!(i||t?.length||h),focus:M,required:u,helperText:p,className:e("select-wrapper",f),minWidth:b,error:k,children:[a(g,{value:i||t||null,loadOptions:o,additional:{page:0},onChange:d,placeholder:!l&&u?`${h} *`:h,className:f,styles:he(C),isDisabled:m,isOptionDisabled:e=>e.disabled,isClearable:x,isMulti:N,menuIsOpen:w,menuPlacement:S,menuPortalTarget:document.querySelector("body"),selectRef:L,onFocus:()=>z(!0),onBlur:()=>z(!1),autoFocus:v,noOptionsMessage:()=>y||"Nema opcija",cacheUniqs:s||void 0}),u&&!m&&a("input",{className:"fake-input",required:!0,tabIndex:-1,autoComplete:"off",value:i?.value||t?.length||"",onChange:()=>{},onFocus:()=>L.current?.focus()})]})},be=({isLoading:l,logo:i,fullWidth:t,children:c})=>n("div",{className:"iui-loader-container "+(t?"full-width":"width-fit"),children:[a("div",{className:e("iui-loading-content",{opacity:l}),children:c}),l&&n("div",{className:"iui-loader",children:[i&&a("img",{className:"iui-loader-logo",alt:"logo",src:i}),a("progress",{className:"linear-progress"})]})]}),Ce=({isLoading:e,logo:l})=>e?a("div",{className:"full-screen-loader",children:n("div",{className:"iui-loader",children:[l&&a("img",{className:"iui-loader-logo",alt:"logo",src:l}),a("progress",{className:"linear-progress"})]})}):null,ge=({logo:e})=>a("div",{className:"lazy-loader",children:n("div",{className:"iui-loader",children:[e&&a("img",{className:"iui-loader-logo",alt:"logo",src:e}),a("progress",{className:"linear-progress"})]})}),ve=({label:l,icon:t,iconRotation:c,onClick:r,to:o,disabled:s,withDevider:d,className:u,children:m})=>a("div",{className:e("iui-menu-item",u,{clickable:!!r||!!o,disabled:s,"with-devider":d}),onClick:s?void 0:r,children:a(E,{condition:!s&&!!o,wrapper:e=>a(Link,{to:o,children:e}),children:n("div",{className:"flex align-center",children:[t&&a(i,{icon:t,rotation:c,className:"mr-2"}),l&&a("p",{className:"full-width",children:l}),m]})},l)}),Ne={prefix:"far",iconName:"filter-circle-xmark",icon:[576,512,[],"e17b","M432 224C352.5 224 288 288.5 288 368s64.47 144 144 144s144-64.47 144-144S511.5 224 432 224zM488.5 401.9c6.242 6.242 6.252 16.37 .0098 22.62c-6.24 6.242-16.37 6.231-22.62-.0113l-33.91-33.91l-33.91 33.91c-6.242 6.242-16.37 6.253-22.62 .0106s-6.232-16.37 .0098-22.62l33.91-33.91l-33.91-33.91c-6.242-6.242-6.251-16.37-.009-22.62s16.37-6.232 22.62 .0106l33.91 33.91l33.91-33.91c6.242-6.242 16.37-6.254 22.61-.0113s6.233 16.37-.009 22.62l-33.91 33.91L488.5 401.9zM223.1 340.7V272.2c0-7.369-2.539-14.51-7.191-20.22L50.77 48.04h410.4l-85.57 105.1c-7.77 9.545-7.061 23.42 1.643 32.13c10.06 10.06 26.62 9.219 35.6-1.812l88.61-108.8c11.26-13.46 13.7-31.89 6.225-47.92C500 10.23 483.8 0 465.3 0H46.65C28.21 0 11.97 10.23 4.283 26.71C-3.195 42.73-.7578 61.16 10.64 74.79l165.4 203.1v67.71c0 12.55 6.178 24.3 16.52 31.45l24.81 19.15C233.1 408.4 256 397.2 256 377.2c0-7.439-3.449-14.46-9.34-19L223.1 340.7z"]},xe=(e,l)=>{let i={...e};return l.forEach((e=>delete i[e])),i},we=e=>Object.entries(e).reduce(((e,[l,i])=>([null,void 0,""].includes(i)||(e[l]=i),e)),{}),Se=e=>Object.entries(e).reduce(((e,[l,i])=>([null,void 0,""].includes(i)||Array.isArray(i)&&!i.length||(e[l]=i),e)),{}),ye=e=>Object.keys(e).length,ke=(e,l)=>e.reduce(((e,i)=>i.hidden||i.unavailable||l&&["select","icons","actions"].includes(i.id)?e:e.concat(i.id)),[]),Me=e=>JSON.parse(JSON.stringify(e)),ze=({item:e,translations:l})=>n("div",{className:"table-filter-item",children:[n("p",{className:"label",children:["",e.label]}),a("div",{className:"field",children:e.field}),a(I,{label:l?.filter?.Delete||"Delete",onClick:()=>e.resetField(),size:"m"})]},e.label),Le=({columns:e,filters:l,additionalFilters:i,excludeFromSearch:c,searchData:r,setSearchData:o,onSubmit:s,resetData:d,isOpen:u,onClose:m,translations:h})=>{const p=e.reduce(((e,i)=>l[i]?e.concat(l[i]):e),[]);return n(T,{className:"iui-table-filter",title:h?.filter?.Filter||"Filter",isOpen:u,onClose:m,cancelButton:{icon:A},additionalButton:{label:h?.filter?.ResetFilter||"Reset Filter",icon:Ne,onClick:()=>{o(d||{}),s(d||{})},disabled:d?JSON.stringify(r)===JSON.stringify(d):0===Object.keys(r).length},confirmButton:{label:h?.filter?.Search||"Search",icon:ue,onFormSubmit:()=>{const e=Se(r);s(c?xe(e,c):e)}},children:[a(t,{children:p?.map((e=>a(ze,{item:e,translations:h},e.label)))}),i&&a("div",{className:"pb-1",children:i})]})},De=({label:l,position:i="bottom",disabled:s,className:d,children:m})=>{const[p,f]=c(""),b=r(null),C=r(null);return o((()=>{if(!s&&l){const e=b.current,l=C.current,a=()=>{e&&l&&($e(e,l,i,f),l?.classList.add("visible"))},n=()=>l?.classList.remove("visible");return e?.addEventListener("mouseenter",a),e?.addEventListener("mouseleave",n),()=>{e?.removeEventListener("mouseenter",a),e?.removeEventListener("mouseleave",n)}}}),[s,l,i]),l&&!s?n(t,{children:[u(m,{ref:b}),h(a("div",{ref:C,className:e("tooltip-container",d),children:n("div",{className:"tooltip",children:[a("div",{className:e("arrow",p||i)}),a("div",{children:l})]})}),document.body)]}):m},$e=(e,l,i,a)=>{const n=e.getBoundingClientRect(),t=l.getBoundingClientRect();if("bottom"===i||"top"===i){const e=Math.floor(n.bottom+16),c=Math.floor(n.top-t.height-16),r=Math.floor(n.left+n.width/2-t.width/2),o="top"===i?c<0:e+t.height>window.innerHeight;a(o?"bottom"===i?"top":"bottom":""),l.style.top=`${"bottom"===i?o?c:e:o?e:c}px`,l.style.left=`${r}px`}else"right"===i?(l.style.top=Math.floor(n.top+n.height/2-t.height/2)+"px",l.style.left=Math.floor(n.right+16)+"px"):"left"===i&&(l.style.top=Math.floor(n.top+n.height/2-t.height/2)+"px",l.style.left=Math.floor(n.left-t.width-16)+"px")},Re={prefix:"fas",iconName:"angle-left",icon:[256,512,[],"f104","M192 448c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l137.4 137.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448z"]},Oe={prefix:"fas",iconName:"angle-right",icon:[256,512,[],"f105","M64 448c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L178.8 256L41.38 118.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160c12.5 12.5 12.5 32.75 0 45.25l-160 160C80.38 444.9 72.19 448 64 448z"]},Fe={prefix:"fas",iconName:"rotate-right",icon:[512,512,[],"f2f9","M468.9 32.11c13.87 0 27.18 10.77 27.18 27.04v145.9c0 10.59-8.584 19.17-19.17 19.17h-145.7c-16.28 0-27.06-13.32-27.06-27.2c0-6.634 2.461-13.4 7.96-18.9l45.12-45.14c-28.22-23.14-63.85-36.64-101.3-36.64c-88.09 0-159.8 71.69-159.8 159.8S167.8 415.9 255.9 415.9c73.14 0 89.44-38.31 115.1-38.31c18.48 0 31.97 15.04 31.97 31.96c0 35.04-81.59 70.41-147 70.41c-123.4 0-223.9-100.5-223.9-223.9S132.6 32.44 256 32.44c54.6 0 106.2 20.39 146.4 55.26l47.6-47.63C455.5 34.57 462.3 32.11 468.9 32.11z"]},Pe=({limit:e,offset:l,setLimit:i,setOffset:t,totalRows:c,footerAction:r,customLimit:o,translations:s})=>{const d=Math.ceil(c/e);return a("tfoot",{children:a("tr",{children:a("td",{colSpan:1e3,className:"no-border",children:n("div",{className:"table-footer "+(r?"justify-between":"justify-right"),children:[!!r&&a(B,{icon:r.icon||Fe,onClick:r.onClick}),n("div",{className:"pagination",children:[n("div",{className:"flex align-center",children:[a("p",{children:s?.pagination?.rowsPerPage||"Rows per page"}),a("select",{value:e,onChange:e=>{const l=Math.floor(+e.target.value);i(l),t(0)},children:(o||[5,10,25,50,100]).map((e=>a("option",{value:e,children:e||(s?.pagination?.allResults||"All results")},e)))}),a("p",{className:"mr-4",children:e?`${l*e+1}-${l*e+e<=c?l*e+e:c} ${s?.pagination?.of||"of"} ${c}`:`${s?.pagination?.allResults||"All results"} ${s?.pagination?.of||"of"} ${c} `})]}),n("div",{className:"flex align-center",children:[a("p",{children:`${s?.pagination?.page||"Page"}: ${l+1}/${d}`}),a(B,{className:"offset-button",disabled:l<1,icon:Re,onClick:()=>t(l-1)}),a("input",{className:"offset-input",placeholder:`1-${d}`,onKeyUp:e=>{if("Enter"===e.key){const l=+e.target.value;console.log(e),"number"==typeof l&&l>=0&&l<=d&&t(l-1),e.target.value=""}}}),a(B,{className:"offset-button",disabled:l+1>=d,icon:Oe,onClick:()=>t(l+1)})]})]})]})})})})},Ve=({tableCols:l,firstHeaderRow:i,secondHeaderRow:t,headerWrap:c,printTable:r})=>n("thead",{className:e("iui-table-head",{"no-wrap":!c}),children:[i&&a("tr",{children:i.map(((e,l)=>a("th",{colSpan:e.colSpan,rowSpan:e.rowSpan,style:e.minWidth?{minWidth:e.minWidth}:e.width?{width:e.width}:void 0,hidden:e.hidden,children:a("p",{className:`full-width p-3 text-${e.align||"left"}`,children:e.label})},l)))}),a("tr",{children:(t||l).filter((e=>!e.hidden)).map(((e,l)=>a("th",{style:e.minWidth?{minWidth:e.minWidth}:e.width?{width:e.width}:void 0,children:n("div",{className:"flex align-center",children:[a("p",{className:`full-width p-3 text-${e.align||"left"}`,children:e.label}),!r&&a("div",{className:"vertical-separator"})]})},l)))})]}),He={prefix:"fas",iconName:"print",icon:[512,512,[],"f02f","M448 192H64C28.65 192 0 220.7 0 256v96c0 17.67 14.33 32 32 32h32v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h32c17.67 0 32-14.33 32-32V256C512 220.7 483.3 192 448 192zM384 448H128v-96h256V448zM432 296c-13.25 0-24-10.75-24-24c0-13.27 10.75-24 24-24s24 10.73 24 24C456 285.3 445.3 296 432 296zM128 64h229.5L384 90.51V160h64V77.25c0-8.484-3.375-16.62-9.375-22.62l-45.25-45.25C387.4 3.375 379.2 0 370.8 0H96C78.34 0 64 14.33 64 32v128h64V64z"]},Ie={prefix:"far",iconName:"file-arrow-down",icon:[384,512,[],"f56d","M216 342.1V240c0-13.25-10.75-24-24-24S168 226.8 168 240v102.1L128.1 303C124.3 298.3 118.2 296 112 296S99.72 298.3 95.03 303c-9.375 9.375-9.375 24.56 0 33.94l80 80c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94s-24.56-9.375-33.94 0L216 342.1zM365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448z"]},Be=({isOpen:e,onClose:l,columns:i,organization:r,filters:s,label:d,getPrintData:u,formatPrintData:m,saveXlsx:p,totals:b,translations:C})=>{const[g,v]=c([]),[N,x]=c(0),[w,S]=c(!1),y=i.filter((e=>"actions"!==e.id));return o((()=>{const e=window.document.getElementById("root");return e?.classList.add("hidden"),()=>{e?.classList.remove("hidden")}}),[]),o((()=>{S(!0),u({limit:1e3,offset:N}).then((e=>{v((l=>{const i=[...l,...e.length?m(e):[]];return e.totalRows>i.length?x(N+1):S(!1),i}))})).catch((()=>S(!1)))}),[N,m,u]),e?h(n("div",{className:"iui-print-dialog",children:[n("div",{className:"content",children:[n("div",{className:"flex justify-between",children:[r?n("div",{children:[a("p",{className:"name",children:r.name}),r.taxId&&a("p",{children:`${C?.print?.TaxId||"Tax id"}: ${r.taxId}`}),r.registrationNumber&&a("p",{children:`${C?.print?.RegistrationNumber||"Registration number"}: ${r.registrationNumber}`}),r.jbkjs&&n("p",{children:["JBKJS: ",r.jbkjs]}),r.email&&n("p",{children:["Email: ",r.email]})]}):a("div",{}),a("div",{className:"mb-2 text-right",children:a("p",{children:`${C?.print?.PrintDate||"Print date"}: ${f().format("DD.MM.YYYY.").toString()}`})})]}),a("h4",{className:"m-3 text-center",children:d}),s&&n("div",{className:"flex justify-between",children:[a("div",{children:s.basic?.map((e=>!!e.value&&a("div",{className:"mb-2",children:a("p",{children:`${e.label}: ${e.value}`})})))}),s.date&&a("div",{children:s.date.map((e=>(!!e.from||!!e.to)&&a("div",{className:"mb-2 text-right",children:n("p",{children:[e.label," ",!!e.from&&`${C?.print?.from||"from"} ${Y(e.from)}`," ",`${C?.print?.to||"to"} ${Y(e.to||(new Date).toString())}`]})})))})]}),g&&n("table",{width:"100%",className:"print-table",children:[a(Ve,{tableCols:y,headerWrap:!0}),a("tbody",{children:n(t,{children:[g.map((e=>a("tr",{children:y.map((l=>a("td",{align:e.cells[l.id].align||l.align,children:e.cells[l.id].printValue||e.cells[l.id].value},l.id)))},e.uuid))),!!b&&a("tr",{children:y.map((({id:e})=>a("td",{align:b.cells[e]?.align||"right",colSpan:b.cells[e]?.span,className:"py-3",children:a("strong",{children:b.cells[e]?.value})},e)))})]})})]})]}),n("div",{className:"iui-print-actions no-print",children:[a(I,{label:C?.Cancel||"Cancel",icon:A,onClick:e=>{e.stopPropagation(),l()},className:"mr-3"}),!!p&&a(I,{label:C?.print?.SaveXlsx||"Save XLSX",icon:Ie,onClick:()=>p(),className:"mr-3"}),a(I,{label:C?.print?.Print||"Print",icon:He,primary:!0,onClick:()=>window.print()})]}),a(Ce,{isLoading:w})]}),document.body):null},Ee={prefix:"fas",iconName:"grip-dots-vertical",icon:[256,512,[],"e411","M0 96C0 69.49 21.49 48 48 48C74.51 48 96 69.49 96 96C96 122.5 74.51 144 48 144C21.49 144 0 122.5 0 96zM0 256C0 229.5 21.49 208 48 208C74.51 208 96 229.5 96 256C96 282.5 74.51 304 48 304C21.49 304 0 282.5 0 256zM96 416C96 442.5 74.51 464 48 464C21.49 464 0 442.5 0 416C0 389.5 21.49 368 48 368C74.51 368 96 389.5 96 416zM160 96C160 69.49 181.5 48 208 48C234.5 48 256 69.49 256 96C256 122.5 234.5 144 208 144C181.5 144 160 122.5 160 96zM256 256C256 282.5 234.5 304 208 304C181.5 304 160 282.5 160 256C160 229.5 181.5 208 208 208C234.5 208 256 229.5 256 256zM160 416C160 389.5 181.5 368 208 368C234.5 368 256 389.5 256 416C256 442.5 234.5 464 208 464C181.5 464 160 442.5 160 416z"]},qe={prefix:"far",iconName:"arrow-right-arrow-left",icon:[512,512,[],"f0ec","M488 344H79.24l74.29-79.63C162.6 254.7 162.1 239.5 152.4 230.5C142.7 221.4 127.5 221.9 118.5 231.6l-112 120c-8.625 9.219-8.625 23.53 0 32.75l112 120C123.2 509.4 129.6 512 136 512c5.875 0 11.75-2.125 16.38-6.469c9.688-9.031 10.22-24.22 1.156-33.91L79.24 392H488c13.25 0 24-10.75 24-24S501.3 344 488 344zM24 168h408.8l-74.29 79.63c-9.062 9.688-8.531 24.88 1.156 33.91c9.656 9.094 24.88 8.562 33.91-1.156l112-120c8.625-9.219 8.625-23.53 0-32.75l-112-120C388.8 2.562 382.4 0 376 0c-5.875 0-11.75 2.125-16.38 6.469c-9.688 9.031-10.22 24.22-1.156 33.91L432.8 120H24C10.75 120 0 130.8 0 144S10.75 168 24 168z"]},Te=({columns:e,setColumns:l,isOpen:t,onClose:r,translations:s})=>{const[d,u]=c([]),[m,h]=c([]);o((()=>{let l=[],i=[];e.forEach((e=>"actions"!==e.id&&(e.hidden?l.push(e):i.push(e)))),u(l),h(i)}),[e]);return a(v,{onDragEnd:({source:e,destination:l})=>{if(!l)return;const i=[...d],a=[...m],n="hidden"===l.droppableId,t="hidden"===e.droppableId?i:a,c=n?i:a,[r]=t.splice(e.index,1);c.splice(l.index,0,r),e.droppableId!==l.droppableId?(c[l.index].hidden=n,u(i),h(a)):n?u(i):h(a)},children:a(T,{isOpen:t,onClose:r,confirmButton:{label:s?.Confirm||"Confirm",onClick:()=>{l([...m,...d]),r()}},cancelButton:{label:s?.Cancel||"Cancel"},noBackgroundClick:!0,children:n("div",{className:"dual-list-container",children:[a("p",{className:"pb-3",children:s?.columns?.DragDropListsInfo||"DragDropListsInfo"}),n("div",{className:"dual-list-content",children:[n("p",{className:"bold m-2",children:[s?.columns?.HiddenColumns||"HiddenColumns",":"]}),a("p",{}),n("p",{className:"bold m-2",children:[s?.columns?.SelectedColumns||"SelectedColumns",":"]}),a(N,{droppableId:"hidden",children:e=>n("div",{...e.droppableProps,ref:e.innerRef,className:"list-box",children:[d.map(((e,l)=>a(x,{draggableId:e.id,index:l,children:l=>n("div",{className:"item",ref:l.innerRef,...l.draggableProps,...l.dragHandleProps,style:{...l.draggableProps.style,top:"unset",left:"unset"},children:[e.label,a(i,{icon:Ee})]})},e.id))),e.placeholder]})}),a("div",{className:"exchange-icon",children:a(i,{icon:qe})}),a(N,{droppableId:"visible",children:e=>n("div",{...e.droppableProps,ref:e.innerRef,className:"list-box",children:[m.map(((e,l)=>a(x,{draggableId:e.id,index:l,children:l=>n("div",{className:"item",ref:l.innerRef,...l.draggableProps,...l.dragHandleProps,style:{...l.draggableProps.style,top:"unset",left:"unset"},children:[e.label,a(i,{icon:Ee})]})},e.id))),e.placeholder]})})]})]})})})},We=({sortOptions:e,sort:l,setSort:c})=>a(t,{children:Object.keys(e).map((t=>a(ve,{className:"menu-item-m",onClick:()=>c(l===e[t].desc?e[t].asc:e[t].desc),children:n("div",{className:"flex center justify-between full-width",children:[a("p",{className:"mr-5 mb-0",children:e[t].label}),l===e[t].desc&&a(i,{icon:y}),l===e[t].asc&&a(i,{icon:S})]})},t)))}),je={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M310.6 246.6l-127.1 128C176.4 380.9 168.2 384 160 384s-16.38-3.125-22.63-9.375l-127.1-128C.2244 237.5-2.516 223.7 2.438 211.8S19.07 192 32 192h255.1c12.94 0 24.62 7.781 29.58 19.75S319.8 237.5 310.6 246.6z"]},Ae=({columns:e,columnsData:l,filterData:i,sortData:r,printData:o,additionsalOptions:s,translations:d})=>{const[u,m]=c(""),h=()=>m("");return n("div",{className:"flex align-center gap-2 justify-between",children:[n("div",{className:"flex align-center gap-2",children:[i&&n(t,{children:[a(V,{number:ye(i.search),small:!0,children:a(I,{label:d?.filter?.Filter||"Filter",active:"filter"===u,onClick:()=>m("filter"),className:"table-options-btn",size:"s"})}),"filter"===u&&a(Le,{...i,isOpen:!0,onClose:h,translations:d})]}),l&&n(t,{children:[a(I,{label:d?.columns?.Columns||"Columns",active:"columns"===u,onClick:()=>m("columns"),className:"table-options-btn",size:"s"}),"columns"===u&&a(Te,{columns:l.columns,setColumns:l.setColumns,isOpen:!0,onClose:h,translations:d})]}),r&&a(_,{renderButton:e=>a(I,{label:d?.Sort||"Sort",iconEnd:je,active:"sort"===u,onClick:()=>m("sort"),ref:e,className:"table-options-btn",size:"s"}),isOpen:"sort"===u,onClose:h,size:r.menuSize,children:a(We,{...r})}),s]}),o&&n(t,{children:[a(I,{label:d?.print?.PrintExport||"Print/Export",icon:He,onClick:()=>m("print"),size:"s"}),"print"===u&&a(Be,{...o,isOpen:!0,onClose:h,columns:e,translations:d})]})]})},Ye=({columns:l,setColumns:i,firstHeaderRow:r,secondHeaderRow:s,data:d,totals:u,loaderLogo:h,isLoading:p,headerWrap:f,serverSidePagination:b,customPagination:C,selectedRowUuid:g,translations:v,footerAction:N,hideFooter:x,showLastBorder:w,className:S,filterData:y,sortData:k,printData:M,additionsalOptions:z,selectedOptions:L,editable:D})=>{const[$,R]=c(C?.defaultLimit||5),[O,F]=c(0),[P,V]=c([]),[H,I]=c([]),[B,q]=c(""),[T,W]=c({});o((()=>{V(l.filter((e=>!e.hidden&&!e.unavailable)))}),[l,D,v]),o((()=>{I(b||$<=0?d:d.slice(O*$,O*$+$))}),[d,$,O,b]);const j=D?.EditableRow;return a(E,{condition:!!D,wrapper:e=>a("form",{onSubmit:e=>{e.preventDefault(),D.onSubmit(T,(()=>{D.inputFocusRef?.current?.focus(),W(D.defaultDataValue||{}),D.setSelectedItem(null)}))},children:e}),children:a("div",{className:e("iui-table",S,{"pb-3":0===H.length}),children:n(be,{isLoading:!!p,logo:h,fullWidth:!0,children:[(!!y||!!k||!!i||!!M)&&a(Ae,{columns:P,columnsData:i?{columns:l,setColumns:i}:void 0,filterData:y,sortData:k,printData:M,additionsalOptions:z,translations:v}),L,n("table",{className:"full-width",children:[a(Ve,{tableCols:P,headerWrap:f,firstHeaderRow:r,secondHeaderRow:s}),n("tbody",{className:x&&!w?"no-last-border":void 0,children:[H.length?a(t,{children:H.map((l=>{const i=l.extendable&&!l.extendable.isLoading&&B===l.uuid;return n(m,{children:[j&&l.uuid===D?.selectedItem?.uuid?a(j,{columns:P,data:T,setData:W,item:D.selectedItem,clearItem:()=>D.setSelectedItem(null),defaultDataValue:D.defaultDataValue,inputFocusRef:D.inputFocusRef}):a("tr",{className:e(l.className,{selected:!!g&&g===l.uuid,clickable:!!l.onRowClick||!!l.extendable,loading:l.extendable?.isLoading}),onClick:e=>{l.onRowClick&&l.onRowClick(e),l.extendable&&q(B===l.uuid?"":l.uuid)},children:P.map((n=>a(De,{label:l.cells[n.id]?.tooltip,position:"top",disabled:!l.cells[n.id]?.tooltip,children:a("td",{"data-th":n.label?n.label+": ":"/",align:l.cells[n.id]?.align||n.align,onClick:l.cells[n.id]?.onClick?e=>{e.stopPropagation(),l.cells[n.id]?.onClick(e)}:void 0,className:e(l.cells[n.id]?.className,{link:l.cells[n.id]?.link,"clickable-column":l.cells[n.id]?.onClick,"word-break":n.break,"no-border":i}),children:l.cells[n.id]?.value})},n.id)))}),i&&a("tr",{children:a("td",{colSpan:P.length,children:l.extendable.element})})]},l.uuid)}))}):a("tr",{children:a("td",{className:"no-border",colSpan:P.length,children:v?.noDataText||"No results"})}),!!j&&!D.selectedItem&&!D.disabled&&a(j,{columns:P,data:T,setData:W,defaultDataValue:D.defaultDataValue,clearItem:()=>D.setSelectedItem(null),inputFocusRef:D.inputFocusRef}),!!u&&!!H.length&&a("tr",{children:P.map((({id:e})=>a("td",{align:u.cells[e]?.align||"right",colSpan:u.cells[e]?.span,children:a("strong",{children:u.cells[e]?.value})},e)))})]}),!!H.length&&!x&&a(Pe,{totalRows:b?.totalRows||d.length,customLimit:C?.customLimit,limit:b?.limit||$,offset:b?.offset||O,setLimit:b?.setLimit||R,setOffset:b?.setOffset||F,footerAction:N,translations:v})]})]})})})},Xe=({item:e,setSelectedItem:l,setItemToDeleteUuid:i,actions:t,t:r=(e=>e)})=>{const[o,s]=c(!1);return n(_,{isOpen:o,onClose:()=>s(!1),placementX:"right",renderButton:e=>a(B,{ref:e,icon:L,active:o,onClick:e=>{e.stopPropagation(),s(!o)}}),children:[!!l&&a(ve,{onClick:()=>{l(e),s(!1)},children:a("p",{children:r("Edit")})}),t?.map((l=>!l.hidden&&a(ve,{disabled:!!l.disabled,onClick:()=>{l.onClick(e.uuid),s(!1)},children:a("p",{children:l.label})},l.label))),!!i&&a(ve,{onClick:()=>{i(e.uuid),s(!1)},children:a("p",{children:r("Delete")})})]})},Je=({setData:e,clearItem:l,inputFocusRef:i,defaultDataValue:t})=>n("div",{className:"text-center",children:[a(B,{icon:z,className:"mr-1 p-1"}),a(B,{icon:D,className:"p-1",onClick:()=>{e(t||{}),i?.current?.focus(),l()}})]}),Ue=({columns:e,defaultDataValue:l,data:i,setData:n,item:t,clearItem:c,inputFocusRef:r})=>{o((()=>{r?.current?.focus(),n(t||{})}),[t,r,n]);t?.uuid;const s={...i,actions:{value:a(Je,{setData:n,clearItem:c,defaultDataValue:l,inputFocusRef:r})}};return a("tr",{className:"edit-row",children:e.map((e=>!e.hidden&&a("td",{align:e.align,colSpan:s[e.id]?.span,children:s[e.id]?.value},e.id)))})},Ke=({tabs:l,initialValue:t,control:r,onChange:o,noWrap:s,className:d,classNameContent:u})=>{const[m,h]=c(t||l[0].value);return l.length?n("div",{className:d,children:[a("div",{className:"iui-tabs",children:l.map((l=>!l.hidden&&n("div",{className:e("iui-tab clickable",{selected:(r?.value||m)===l.value,disabled:l.disabled,"no-wrap":s}),onClick:l.disabled?void 0:()=>{r?r.setValue(l.value):h(l.value),o&&o(l.value)},children:[l.icon&&a(i,{icon:l.icon}),l.label]},l.value)))}),l.map((l=>!l.hidden&&a("div",{className:e("iui-tab-content",u),hidden:l.value!==(r?.value||m),children:l.component},l.value)))]}):null},Ze=({isLoading:l,noAccess:i,submitButton:t,otherButtons:c,className:r,children:o})=>n("form",{className:e(r,{"form-disabled":l}),onSubmit:e=>{e.preventDefault(),!t.disabled&&t.onSubmit(e)},children:[o,(!i||c)&&n("div",{className:"text-center mt-3 mb-2",children:[c?.map((e=>a(I,{label:e.label,icon:e.icon,disabled:l||e.disabled,outlined:e.outlined,onClick:e.onClick,className:"mr-2"},e.label))),!i&&a(I,{label:t.label||"Submit",icon:t.icon,disabled:l||t.disabled,outlined:!t.primary,primary:t.primary})]})]}),Ge=(e,l,i)=>Number(e||0).toLocaleString("sr-RS",{minimumFractionDigits:l||2,maximumFractionDigits:i||2}),Qe=e=>Number(e||0).toLocaleString("sr-RS"),_e=(e="",l=30)=>e.length>l?`${e.substring(0,l)}...`:e,el=e=>{const l=new URLSearchParams(e);return Object.fromEntries(l.entries())};export{$ as Accordions,P as Alert,I as Button,W as Checkbox,w as Collapse,E as ConditionalWrapper,ae as DateInput,T as Dialog,Ze as FormWrapper,Ce as FullScreenLoader,B as IconButton,Xe as ItemActionsMenu,Je as ItemEditOptionsButtons,ne as LargeTextInput,ge as LazyLoader,be as Loader,_ as Menu,ve as MenuItem,V as NotificationBadge,ce as NumberInput,se as PasswordInput,H as PillBadge,de as Radio,me as SearchInput,pe as Select,fe as SelectAsyncPaginate,Le as SetTableFilter,Ye as Table,Ue as TableEditRow,Pe as TableFooter,Ke as Tabs,te as TextInput,De as Tooltip,K as checkIfExpired,U as dateAddDays,Me as deepCopy,we as deleteEmptyProps,Se as deleteEmptyPropsIncludingArray,xe as deleteProps,Ge as formatCurrency,Qe as formatCurrencyNoDecimals,Y as formatDate,X as formatDateAndTime,J as formatTime,Q as formatYearMonth,ye as getActiveFilterNumber,Z as getCurrentDateFormattedYMD,G as getDaysLeft,ke as getVisibleColumnsIds,_e as maxChar,el as parseUrlSearch};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/components/Helper/Collapse.tsx","../src/icons/light/faArrowDownShortWide.ts","../src/icons/light/faArrowDownWideShort.ts","../src/icons/light/faArrowsToLine.ts","../src/icons/light/faArrowsUpDown.ts","../src/icons/light/faCheck.ts","../src/icons/light/faEllipsisVertical.ts","../src/icons/light/faXmark.ts","../src/components/Accordions/Accordions.tsx","../src/icons/regular/faCircleInfo.ts","../src/icons/regular/faTriangleExclamation.ts","../src/utils/icons.ts","../src/icons/regular/faCircleExclamation.ts","../src/icons/regular/faCircleCheck.ts","../src/components/Alert/Alert.tsx","../src/components/Badge/NotificationBadge.tsx","../src/components/Badge/PillBadge.tsx","../src/components/Button/Button.tsx","../src/components/Button/IconButton.tsx","../src/components/Wrappers/ConditionalWrapper.tsx","../src/components/Dialog/Dialog.tsx","../src/components/Inputs/Checkbox.tsx","../src/icons/regular/faCalendar.ts","../src/icons/solid/faXmark.ts","../src/utils/DateUtils.ts","../src/components/Menu/Menu.tsx","../src/components/Inputs/InputWrapper.tsx","../src/components/Inputs/DateInput/components/DatePartInput.tsx","../src/components/Inputs/DateInput/DateInput.tsx","../src/components/Inputs/LargeTextInput.tsx","../src/components/Inputs/TextInput.tsx","../src/components/Inputs/NumberInput.tsx","../src/icons/duotone/faEye.ts","../src/icons/duotone/faEyeSlash.ts","../src/components/Inputs/PasswordInput.tsx","../src/components/Inputs/Radio.tsx","../src/icons/solid/faMagnifyingGlass.ts","../src/components/Inputs/SearchInput.tsx","../src/components/Inputs/Selects/Select.tsx","../src/components/Inputs/Selects/SelectAsyncPaginate.tsx","../src/components/Loader/Loader.tsx","../src/components/Menu/MenuItem.tsx","../src/icons/regular/faFilterCircleXmark.ts","../src/utils/ObjectUtils.ts","../src/components/Table/Components/FilterItem.tsx","../src/components/Table/Components/SetTableFilter.tsx","../src/components/Tooltip/Tooltip.tsx","../src/icons/solid/faAngleLeft.ts","../src/icons/solid/faAngleRight.ts","../src/icons/solid/faRotateRight.ts","../src/components/Table/Components/TableFooter.tsx","../src/components/Table/Components/TableHeader.tsx","../src/icons/solid/faPrint.ts","../src/icons/regular/faFileArrowDown.ts","../src/components/Table/Components/Print/TablePrint.tsx","../src/icons/solid/faGripDotsVertical.ts","../src/icons/regular/faArrowRightArrowLeft.ts","../src/components/Table/Components/SetColumnsList.tsx","../src/components/Table/Components/SetSortList.tsx","../src/icons/solid/faCaretDown.ts","../src/components/Table/Components/TableOptions.tsx","../src/components/Table/Table.tsx","../src/components/Table/Components/Edit/ItemActionsMenu.tsx","../src/components/Table/Components/Edit/ItemEditOptionsButtons.tsx","../src/components/Table/Components/Edit/TableEditRow.tsx","../src/components/Tabs/Tabs.tsx","../src/components/Wrappers/FormWrapper.tsx","../src/utils/NumberUtils.ts","../src/utils/StringUtils.ts","../src/utils/UrlUtils.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["Collapse","isOpen","className","children","height","setHeight","useState","ref","useRef","useEffect","observer","ResizeObserver","entries","newHeight","Math","ceil","contentRect","observerRefValue","current","observe","unobserve","_jsx","clsx","style","maxHeight","faArrowDownShortWide","icon","faArrowDownWideShort","faArrowsToLine","faArrowsUpDown","faCheck","faEllipsisVertical","faXmark","Accordions","tabs","allTabs","initialValue","compact","filter","tab","hidden","selected","setSelected","length","map","_jsxs","value","disabled","onClick","undefined","FontAwesomeIcon","label","component","faCircleInfo","faTriangleExclamation","infoIcons","error","success","info","warning","Alert","text","severity","fitContent","NotificationBadge","number","small","PillBadge","forwardRef","color","Button","iconEnd","primary","outlined","active","size","buttonProps","type","IconButton","ConditionalWrapper","condition","wrapper","typeIcon","Dialog","title","titleEl","desc","descEl","onClose","confirmButton","cancelButton","additionalButton","noBackgroundClick","noOverflow","noPadding","dialogRef","handleClose","useCallback","classList","add","setTimeout","handleClick","ev","target","window","addEventListener","removeEventListener","createPortal","onFormSubmit","onSubmit","e","preventDefault","stopPropagation","keepOpen","padding","document","body","Checkbox","setValue","required","checked","onChange","focusable","viewBox","d","faCalendar","formatDate","date","moment","format","formatDateAndTime","withSeconds","formatTime","dateAddDays","addDays","toISOString","checkIfExpired","Date","getCurrentDateFormattedYMD","toString","getDaysLeft","diff","formatYearMonth","year","month","Menu","renderButton","placementX","placementY","menuRef","portalRef","containerRef","offsets","setOffsets","offsetLeft","offsetTop","setMaxHeight","recalculatePosition","containerRect","getBoundingClientRect","menuRect","bottom","left","width","innerHeight","top","marginRight","innerWidth","clientWidth","overflow","portal","_Fragment","InputWrapper","shrink","focus","minWidth","helperText","options","day","placeholder","regex","DatePartInput","setDate","values","autoFocus","min","max","part","previousInput","nextInput","setFocus","isInvalid","setIsInvalid","inputRef","regexTest","newValue","RegExp","test","setValueHandler","onKeyDown","key","select","onKeyUp","isFinite","onFocus","onBlur","inputMode","tabIndex","pattern","DateInput","calendarPlacementX","setDay","split","setMonth","setYear","isCalendarOpen","setIsCalendarOpen","inputsRef","dayRef","monthRef","yearRef","maxDay","getDate","includes","activeElement","Calendar","isValid","newDate","formatDateYMD","LargeTextInput","rows","inputProps","isAutoFill","setIsAutoFill","onAnimationStart","TextInput","endButton","NumberInput","allowNegative","decimalPlaces","alignLeft","replaceAll","repeat","lang","faEye","faEyeSlash","PasswordInput","props","showPassword","setShowPassword","autoComplete","newPassword","Radio","faMagnifyingGlass","SearchInput","onSearch","setText","t","useTranslation","onKeyPress","createSelectStyles","menuWidth","control","provided","border","borderRadius","boxShadow","minHeight","valueContainer","state","isMulti","fontSize","menu","marginTop","menuPortal","zIndex","input","margin","option","backgroundColor","isSelected","isFocused","noOptionsMessage","fontStyle","multiValue","Select","valuesMulti","isClearable","openDirection","ReactSelect","styles","isDisabled","isOptionDisabled","menuIsOpen","menuPlacement","menuPortalTarget","querySelector","SelectAsyncPaginate","loadOptions","refresh","AsyncPaginate","additional","page","selectRef","cacheUniqs","Loader","isLoading","logo","fullWidth","opacity","alt","src","FullScreenLoader","LazyLoader","MenuItem","iconRotation","to","withDevider","clickable","Link","rotation","faFilterCircleXmark","deleteProps","obj","newObj","forEach","deleteEmptyProps","Object","reduce","a","k","v","deleteEmptyPropsIncludingArray","Array","isArray","getActiveFilterNumber","keys","getVisibleColumnsIds","tableCols","isPrint","arr","col","unavailable","id","concat","deepCopy","el","JSON","parse","stringify","FilterItem","item","translations","field","Delete","resetField","SetTableFilter","columns","filters","additionalFilters","excludeFromSearch","searchData","setSearchData","resetData","visibleFilters","Filter","ResetFilter","Search","data","Tooltip","position","newPosition","setNewPosition","tooltipRef","container","tooltip","onMouseEnter","setAbsolutePosition","onMouseLeave","remove","cloneElement","containerEl","targetEl","tooltipRect","floor","leftCenter","reverse","right","faAngleLeft","faAngleRight","faRotateRight","TableFooter","limit","offset","setLimit","setOffset","totalRows","footerAction","customLimit","maxOffset","colSpan","pagination","rowsPerPage","event","newLimit","allResults","of","console","log","HeaderTable","firstHeaderRow","secondHeaderRow","headerWrap","printTable","i","rowSpan","align","faPrint","faFileArrowDown","TablePrint","organization","getPrintData","formatPrintData","saveXlsx","totals","setData","setIsLoading","cols","root","getElementById","then","prevState","newState","catch","name","taxId","print","TaxId","registrationNumber","RegistrationNumber","jbkjs","email","PrintDate","basic","from","row","column","cells","printValue","uuid","columnId","span","Cancel","SaveXlsx","Print","faGripDotsVertical","faArrowRightArrowLeft","SetColumnsList","setColumns","setHidden","visible","setVisible","hiddenCols","visibleCols","push","DragDropContext","onDragEnd","source","destination","destinationIsHidden","droppableId","sourceList","destinationList","removed","splice","index","Confirm","DragDropListsInfo","HiddenColumns","SelectedColumns","Droppable","droppableProps","innerRef","c","Draggable","draggableId","draggableProps","dragHandleProps","SetSortList","sortOptions","sort","setSort","asc","faCaretDown","prefix","iconName","TableOptions","columnsData","filterData","sortData","printData","additionsalOptions","opened","setOpened","search","Columns","Sort","menuSize","PrintExport","Table","tableData","loaderLogo","serverSidePagination","customPagination","selectedRowUuid","hideFooter","showLastBorder","selectedOptions","editable","defaultLimit","setCols","extendedRow","setExtendedRow","editableData","setEditableData","slice","EditableRow","inputFocusRef","defaultDataValue","setSelectedItem","isExtended","extendable","Fragment","selectedItem","clearItem","onRowClick","loading","link","break","element","noDataText","ItemActionsMenu","setItemToDeleteUuid","actions","menuOpen","setMenuOpen","action","ItemEditOptionsButtons","TableEditRow","rowData","Tabs","noWrap","classNameContent","FormWrapper","noAccess","submitButton","otherButtons","formatCurrency","minimumFractionDigits","maximumFractionDigits","Number","toLocaleString","formatCurrencyNoDecimals","maxChar","str","maxLength","substring","parseUrlSearch","urlSearchParams","URLSearchParams","fromEntries"],"mappings":"+zBASO,MAAMA,EAAsB,EAAGC,SAAQC,YAAWC,eACvD,MAAOC,EAAQC,GAAaC,IACtBC,EAAMC,EAAuB,MAmBnC,OAjBAC,GAAU,KACR,MAAMC,EAAW,IAAIC,gBAAgBC,IACnC,MAAMC,EAAYC,KAAKC,KAAKH,EAAQ,GAAGI,YAAYZ,QACnDC,EAAUQ,EAAU,IAGtB,IAAII,EAMJ,OALIV,EAAIW,UACND,EAAmBV,EAAIW,QACvBR,EAASS,QAAQF,IAGZ,KACLA,GAAoBP,EAASU,UAAUH,EAAiB,CACzD,GACA,CAACV,IAGFc,EACE,MAAA,CAAAnB,UAAWo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