@davidbirchall/core 1.0.10 → 1.0.12

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/core.css CHANGED
@@ -1 +1 @@
1
- .badge[data-v-f310f0d4]{display:inline-flex;align-items:center;justify-content:center;font-weight:500;border-radius:.375rem;white-space:nowrap;transition:all .2s}.badge--small[data-v-f310f0d4]{padding:.125rem .5rem;font-size:.75rem;line-height:1.25}.badge--medium[data-v-f310f0d4]{padding:.25rem .75rem;font-size:.875rem;line-height:1.25}.badge--large[data-v-f310f0d4]{padding:.375rem 1rem;font-size:.9375rem;line-height:1.5}.badge--primary[data-v-f310f0d4]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.badge--secondary[data-v-f310f0d4]{background:#f3f4f6;color:#374151}.badge--success[data-v-f310f0d4]{background:#dcfce7;color:#166534}.badge--warning[data-v-f310f0d4]{background:#fef3c7;color:#92400e}.badge--danger[data-v-f310f0d4]{background:#fee2e2;color:#991b1b}.badge--info[data-v-f310f0d4]{background:#dbeafe;color:#1e40af}
1
+ .badge[data-v-f310f0d4]{display:inline-flex;align-items:center;justify-content:center;font-weight:500;border-radius:.375rem;white-space:nowrap;transition:all .2s}.badge--small[data-v-f310f0d4]{padding:.125rem .5rem;font-size:.75rem;line-height:1.25}.badge--medium[data-v-f310f0d4]{padding:.25rem .75rem;font-size:.875rem;line-height:1.25}.badge--large[data-v-f310f0d4]{padding:.375rem 1rem;font-size:.9375rem;line-height:1.5}.badge--primary[data-v-f310f0d4]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.badge--secondary[data-v-f310f0d4]{background:#f3f4f6;color:#374151}.badge--success[data-v-f310f0d4]{background:#dcfce7;color:#166534}.badge--warning[data-v-f310f0d4]{background:#fef3c7;color:#92400e}.badge--danger[data-v-f310f0d4]{background:#fee2e2;color:#991b1b}.badge--info[data-v-f310f0d4]{background:#dbeafe;color:#1e40af}.btn[data-v-86500989]{padding:.5rem 1rem;border:none;border-radius:.25rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease-in-out;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.btn[data-v-86500989]:hover:not(.btn--disabled){transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.btn--primary[data-v-86500989]{background-color:#3b82f6;color:#fff}.btn--primary[data-v-86500989]:hover:not(.btn--disabled){background-color:#2563eb}.btn--secondary[data-v-86500989]{background-color:#6b7280;color:#fff}.btn--secondary[data-v-86500989]:hover:not(.btn--disabled){background-color:#4b5563}.btn--danger[data-v-86500989]{background-color:#ef4444;color:#fff}.btn--danger[data-v-86500989]:hover:not(.btn--disabled){background-color:#dc2626}.btn--disabled[data-v-86500989]{opacity:.5;cursor:not-allowed;pointer-events:none}.sr-only[data-v-86500989]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.calendar[data-v-446fa187]{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem;width:100%;max-width:320px;-webkit-user-select:none;user-select:none}.calendar-header[data-v-446fa187]{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #f3f4f6}.calendar-title[data-v-446fa187]{display:flex;gap:.5rem;align-items:center}.calendar-month-btn[data-v-446fa187],.calendar-year-btn[data-v-446fa187]{background:none;border:none;font-size:1rem;font-weight:600;color:#1f2937;cursor:pointer;padding:.25rem .5rem;border-radius:.375rem;transition:all .2s}.calendar-month-btn[data-v-446fa187]:hover,.calendar-year-btn[data-v-446fa187]:hover{background:#f3f4f6}.calendar-nav[data-v-446fa187]{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:.375rem;transition:all .2s}.calendar-nav[data-v-446fa187]:hover{background:#f3f4f6;color:#1f2937}.calendar-body[data-v-446fa187]{display:flex;flex-direction:column}.calendar-weekdays[data-v-446fa187]{display:grid;grid-template-columns:repeat(7,1fr);gap:.25rem;margin-bottom:.5rem}.calendar-weekday[data-v-446fa187]{text-align:center;font-size:.75rem;font-weight:600;color:#6b7280;padding:.5rem 0}.calendar-days[data-v-446fa187]{display:grid;grid-template-columns:repeat(7,1fr);gap:.25rem}.calendar-day[data-v-446fa187]{aspect-ratio:1;border:none;background:none;font-size:.875rem;color:#1f2937;cursor:pointer;border-radius:.375rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.calendar-day[data-v-446fa187]:hover:not(:disabled){background:#f3f4f6}.calendar-day--other-month[data-v-446fa187]{color:#d1d5db}.calendar-day--today[data-v-446fa187]{font-weight:700;color:#667eea}.calendar-day--selected[data-v-446fa187]{background:#667eea;color:#fff;font-weight:600}.calendar-day--selected[data-v-446fa187]:hover{background:#5568d3}.calendar-day--in-range[data-v-446fa187]{background:#eef2ff;color:#667eea}.calendar-day--disabled[data-v-446fa187]{color:#d1d5db;cursor:not-allowed}.calendar-day--disabled[data-v-446fa187]:hover{background:none}.calendar-picker[data-v-446fa187]{display:flex;flex-direction:column;gap:.5rem}.calendar-picker-nav[data-v-446fa187]{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;margin-bottom:.5rem;border-bottom:1px solid #f3f4f6}.calendar-picker-range[data-v-446fa187]{font-size:.875rem;font-weight:600;color:#1f2937}.calendar-picker-grid[data-v-446fa187]{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.calendar-picker-item[data-v-446fa187]{background:none;border:1px solid #e5e7eb;padding:.75rem;border-radius:.375rem;font-size:.875rem;color:#1f2937;cursor:pointer;transition:all .2s}.calendar-picker-item[data-v-446fa187]:hover{background:#f3f4f6;border-color:#667eea}.calendar-picker-item--selected[data-v-446fa187]{background:#667eea;color:#fff;border-color:#667eea}.calendar-picker-item--selected[data-v-446fa187]:hover{background:#5568d3}.card[data-v-3c027648]{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden}.card--hoverable[data-v-3c027648]{transition:all .2s ease-in-out;cursor:pointer}.card--hoverable[data-v-3c027648]:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.card__header[data-v-3c027648]{padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;font-weight:600;font-size:1.125rem}.card__body[data-v-3c027648]{padding:1.5rem}.card__footer[data-v-3c027648]{padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background-color:#f9fafb}.checkbox-wrapper[data-v-ce644bb9]{display:flex;flex-direction:column;gap:.25rem}.checkbox-label[data-v-ce644bb9]{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;position:relative}.checkbox-label--disabled[data-v-ce644bb9]{cursor:not-allowed;opacity:.6}.checkbox-input[data-v-ce644bb9]{position:absolute;opacity:0;width:0;height:0}.checkbox-box[data-v-ce644bb9]{width:1.25rem;height:1.25rem;border:2px solid #d1d5db;border-radius:.25rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease-in-out;background:#fff;flex-shrink:0}.checkbox-input:checked+.checkbox-box[data-v-ce644bb9]{background:#3b82f6;border-color:#3b82f6}.checkbox-input:checked+.checkbox-box[data-v-ce644bb9]:after{content:"";width:.375rem;height:.75rem;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);margin-bottom:.125rem}.checkbox-input:focus+.checkbox-box[data-v-ce644bb9]{outline:2px solid #3b82f6;outline-offset:2px}.checkbox-input:disabled+.checkbox-box[data-v-ce644bb9]{background:#f3f4f6;cursor:not-allowed}.checkbox-text[data-v-ce644bb9]{font-size:.875rem;color:#374151;-webkit-user-select:none;user-select:none}.checkbox-error[data-v-ce644bb9]{font-size:.75rem;color:#ef4444;margin-left:1.75rem}.data-table[data-v-511dc0a4]{width:100%}.data-table__wrapper[data-v-511dc0a4]{overflow-x:auto}.data-table__table[data-v-511dc0a4]{min-width:100%;border-collapse:collapse}.data-table__head[data-v-511dc0a4]{background-color:#f9fafb}.data-table__header[data-v-511dc0a4]{padding:.75rem 1.5rem;text-align:left;font-size:.75rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb}.data-table__header--sortable[data-v-511dc0a4]{cursor:pointer;-webkit-user-select:none;user-select:none}.data-table__header--sortable[data-v-511dc0a4]:hover{background-color:#f3f4f6}.data-table__header-content[data-v-511dc0a4]{display:flex;align-items:center;gap:.5rem}.data-table__sort-icon[data-v-511dc0a4]{font-size:.75rem;color:#6b7280}.data-table__sort-icon--inactive[data-v-511dc0a4]{color:#d1d5db}.data-table__row[data-v-511dc0a4]{border-bottom:1px solid #e5e7eb}.data-table__cell[data-v-511dc0a4]{padding:1rem 1.5rem;font-size:.875rem;color:#6b7280}.data-table__cell--empty[data-v-511dc0a4]{text-align:center;color:#9ca3af;font-style:italic}.date-picker[data-v-0b550c0b]{position:relative;width:100%}.date-picker-input[data-v-0b550c0b]{position:relative;display:flex;align-items:center;cursor:pointer}.date-input[data-v-0b550c0b]{width:100%;padding:.75rem 2.5rem .75rem .875rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:1rem;line-height:1.5;height:48px;cursor:pointer;background:#fff;color:#1f2937;transition:all .2s ease-in-out;box-sizing:border-box}.date-input[data-v-0b550c0b]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.date-input--error[data-v-0b550c0b]{border-color:#fca5a5;border-bottom:2px solid #dc2626;background:#fef2f2}.date-input--error[data-v-0b550c0b]:focus{border-color:#fca5a5;border-bottom:2px solid #dc2626;box-shadow:0 0 0 3px #ef44441f}.date-input[data-v-0b550c0b]:disabled{background:#f3f4f6;cursor:not-allowed;color:#9ca3af}.date-input[data-v-0b550c0b]::placeholder{color:#9ca3af}.date-error[data-v-0b550c0b]{margin-top:.35rem;color:#dc2626;font-size:.8rem}.date-icon[data-v-0b550c0b]{position:absolute;right:.75rem;pointer-events:none;font-size:1rem}.date-picker-overlay[data-v-0b550c0b]{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;z-index:9998}.date-picker-dropdown[data-v-0b550c0b]{position:absolute;z-index:9999;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border-radius:.75rem;background:#fff}.dropdown[data-v-d2e8b407]{position:relative;display:inline-block}.dropdown--disabled[data-v-d2e8b407]{opacity:.5;cursor:not-allowed}.dropdown__trigger[data-v-d2e8b407]{cursor:pointer}.dropdown__button[data-v-d2e8b407]{padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.dropdown__button[data-v-d2e8b407]:hover{background:#f9fafb;border-color:#9ca3af}.dropdown__menu[data-v-d2e8b407]{position:fixed;z-index:1000;min-width:200px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;overflow:hidden}.dropdown__header[data-v-d2e8b407],.dropdown__footer[data-v-d2e8b407]{padding:.75rem 1rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.dropdown__footer[data-v-d2e8b407]{border-top:1px solid #e5e7eb;border-bottom:none}.dropdown__content[data-v-d2e8b407]{padding:.5rem 0;max-height:300px;overflow-y:auto}.dropdown__item[data-v-d2e8b407]{width:100%;display:flex;align-items:center;gap:.75rem;padding:.625rem 1rem;border:none;background:transparent;text-align:left;font-size:.875rem;color:#374151;cursor:pointer;transition:background-color .15s}.dropdown__item[data-v-d2e8b407]:hover{background:#f3f4f6}.dropdown__item[data-v-d2e8b407]:active{background:#e5e7eb}.dropdown__item--disabled[data-v-d2e8b407]{color:#9ca3af;cursor:not-allowed;opacity:.5}.dropdown__item--disabled[data-v-d2e8b407]:hover{background:transparent}.dropdown__item-icon[data-v-d2e8b407]{font-size:1.125rem;flex-shrink:0}.dropdown__item-label[data-v-d2e8b407]{flex:1}.dropdown__divider[data-v-d2e8b407]{height:1px;margin:.5rem 0;background:#e5e7eb}.dropdown-fade-enter-active[data-v-d2e8b407],.dropdown-fade-leave-active[data-v-d2e8b407]{transition:opacity .15s ease,transform .15s ease}.dropdown-fade-enter-from[data-v-d2e8b407],.dropdown-fade-leave-to[data-v-d2e8b407]{opacity:0;transform:translateY(-8px)}.dropdown__content[data-v-d2e8b407]::-webkit-scrollbar{width:6px}.dropdown__content[data-v-d2e8b407]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.dropdown__content[data-v-d2e8b407]::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.dropdown__content[data-v-d2e8b407]::-webkit-scrollbar-thumb:hover{background:#9ca3af}.empty-state[data-v-24e65287]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem 1.5rem;color:#6b7280}.empty-state--small[data-v-24e65287]{padding:1.5rem 1rem}.empty-state--large[data-v-24e65287]{padding:4rem 2rem}.empty-state__icon[data-v-24e65287]{margin-bottom:1.5rem;color:#9ca3af}.empty-state--small .empty-state__icon[data-v-24e65287]{margin-bottom:1rem}.empty-state__icon-text[data-v-24e65287]{font-size:3rem;line-height:1}.empty-state--small .empty-state__icon-text[data-v-24e65287]{font-size:2rem}.empty-state--large .empty-state__icon-text[data-v-24e65287]{font-size:4rem}.empty-state__content[data-v-24e65287]{max-width:480px;margin-bottom:1.5rem}.empty-state--small .empty-state__content[data-v-24e65287]{max-width:360px;margin-bottom:1rem}.empty-state--large .empty-state__content[data-v-24e65287]{max-width:600px;margin-bottom:2rem}.empty-state__title[data-v-24e65287]{margin:0 0 .75rem;font-size:1.25rem;font-weight:600;color:#374151}.empty-state--small .empty-state__title[data-v-24e65287]{font-size:1rem;margin-bottom:.5rem}.empty-state--large .empty-state__title[data-v-24e65287]{font-size:1.5rem;margin-bottom:1rem}.empty-state__description[data-v-24e65287]{margin:0;font-size:.875rem;line-height:1.5;color:#6b7280}.empty-state--small .empty-state__description[data-v-24e65287]{font-size:.8125rem}.empty-state--large .empty-state__description[data-v-24e65287]{font-size:1rem}.empty-state__body[data-v-24e65287]{margin-top:1rem}.empty-state__actions[data-v-24e65287]{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}.empty-state__button[data-v-24e65287]{padding:.625rem 1.25rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.empty-state--small .empty-state__button[data-v-24e65287]{padding:.5rem 1rem;font-size:.8125rem}.empty-state--large .empty-state__button[data-v-24e65287]{padding:.75rem 1.5rem;font-size:1rem}.empty-state__button--primary[data-v-24e65287]{background:#3b82f6;color:#fff}.empty-state__button--primary[data-v-24e65287]:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px -1px #3b82f64d}.empty-state__button--primary[data-v-24e65287]:active{transform:translateY(0)}.empty-state__button--secondary[data-v-24e65287]{background:#fff;color:#374151;border:1px solid #d1d5db}.empty-state__button--secondary[data-v-24e65287]:hover{background:#f9fafb;border-color:#9ca3af}@media(max-width:768px){.empty-state[data-v-24e65287]{padding:2rem 1rem}.empty-state--large[data-v-24e65287]{padding:3rem 1.5rem}}.error-summary[data-v-2eeef3a2]{border:1px solid #fecaca;background:#fef2f2;border-radius:.75rem;padding:1rem 1.25rem;margin-bottom:1.25rem}.error-summary__header[data-v-2eeef3a2]{display:flex;gap:.75rem;align-items:flex-start}.error-summary__icon[data-v-2eeef3a2]{font-size:1.25rem}.error-summary__title[data-v-2eeef3a2]{margin:0;color:#991b1b;font-size:1rem;font-weight:700}.error-summary__subtitle[data-v-2eeef3a2]{margin:.25rem 0 0;color:#7f1d1d;font-size:.875rem}.error-summary__list[data-v-2eeef3a2]{margin:.75rem 0 0;padding-left:1.25rem;color:#7f1d1d}.error-summary__item+.error-summary__item[data-v-2eeef3a2]{margin-top:.35rem}.error-summary__link[data-v-2eeef3a2]{color:#7f1d1d;text-decoration:underline;font-weight:600}.form-group[data-v-328da37c]{margin-bottom:1.5rem}.form-group__label[data-v-328da37c]{display:block;font-weight:600;margin-bottom:.5rem;color:#374151;font-size:.9375rem}.form-group__hint[data-v-328da37c]{display:block;margin-top:.25rem;color:#6b7280;font-size:.875rem}.form-group__error[data-v-328da37c]{display:block;margin-top:.25rem;color:#dc2626;font-size:.875rem;font-weight:500}.heading[data-v-507e54e1]{margin:0;line-height:1.2;color:#111827}.heading--1[data-v-507e54e1]{font-size:3rem;letter-spacing:-.02em}.heading--2[data-v-507e54e1]{font-size:2.25rem;letter-spacing:-.01em}.heading--3[data-v-507e54e1]{font-size:1.875rem;letter-spacing:-.01em}.heading--4[data-v-507e54e1]{font-size:1.5rem}.heading--5[data-v-507e54e1]{font-size:1.25rem}.heading--6[data-v-507e54e1]{font-size:1rem}.heading--light[data-v-507e54e1]{font-weight:300}.heading--normal[data-v-507e54e1]{font-weight:400}.heading--medium[data-v-507e54e1]{font-weight:500}.heading--semibold[data-v-507e54e1]{font-weight:600}.heading--bold[data-v-507e54e1]{font-weight:700}.heading--left[data-v-507e54e1]{text-align:left}.heading--center[data-v-507e54e1]{text-align:center}.heading--right[data-v-507e54e1]{text-align:right}.input-wrapper[data-v-95616b7b]{display:flex;flex-direction:column;gap:.375rem}.input-label[data-v-95616b7b]{font-size:.875rem;font-weight:500;color:#374151}.input-field[data-v-95616b7b]{padding:.75rem .875rem;font-size:1rem;line-height:1.5;height:48px;border:1px solid #d1d5db;border-radius:.375rem;outline:none;transition:all .2s ease-in-out;background:#fff;color:#1f2937;box-sizing:border-box}.input-field[data-v-95616b7b]::placeholder{color:#9ca3af}.input-field[data-v-95616b7b]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.input-field--error[data-v-95616b7b]{border-color:#fca5a5;border-bottom:2px solid #dc2626;background:#fef2f2}.input-field--error[data-v-95616b7b]:focus{border-color:#fca5a5;border-bottom:2px solid #dc2626;box-shadow:0 0 0 3px #ef44441f}.input-field--disabled[data-v-95616b7b]{background:#f3f4f6;cursor:not-allowed;opacity:.6}.input-error[data-v-95616b7b]{font-size:.75rem;color:#ef4444}.input-hint[data-v-95616b7b]{font-size:.75rem;color:#6b7280}.modal-overlay[data-v-0621c687]{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;overflow-y:auto}.modal-content[data-v-0621c687]{background:#fff;border-radius:1rem;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-content--small[data-v-0621c687]{max-width:400px}.modal-content--medium[data-v-0621c687]{max-width:600px}.modal-content--large[data-v-0621c687]{max-width:900px}.modal-header[data-v-0621c687]{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:2px solid #e5e7eb;flex-shrink:0}.modal-title[data-v-0621c687]{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.modal-close[data-v-0621c687]{width:2rem;height:2rem;border:none;background:#f3f4f6;border-radius:.5rem;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;color:#6b7280;transition:all .2s;flex-shrink:0}.modal-close[data-v-0621c687]:hover{background:#e5e7eb;color:#374151}.modal-body[data-v-0621c687]{padding:1.5rem;overflow-y:auto;flex:1}.modal-footer[data-v-0621c687]{padding:1.5rem;border-top:2px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end;flex-shrink:0}.modal-enter-active[data-v-0621c687],.modal-leave-active[data-v-0621c687]{transition:opacity .3s ease}.modal-enter-active .modal-content[data-v-0621c687],.modal-leave-active .modal-content[data-v-0621c687]{transition:transform .3s ease}.modal-enter-from[data-v-0621c687],.modal-leave-to[data-v-0621c687]{opacity:0}.modal-enter-from .modal-content[data-v-0621c687],.modal-leave-to .modal-content[data-v-0621c687]{transform:scale(.95)}@media(max-width:640px){.modal-content[data-v-0621c687]{max-height:100vh;border-radius:0}.modal-overlay[data-v-0621c687]{padding:0}}.progress-bar[data-v-1ee50aa7]{width:100%}.progress-bar__header[data-v-1ee50aa7]{display:flex;justify-content:space-between;margin-bottom:.75rem;font-weight:600;color:#374151;font-size:.9375rem}.progress-bar__percentage[data-v-1ee50aa7]{color:#667eea}.progress-bar__track[data-v-1ee50aa7]{width:100%;background:#e5e7eb;border-radius:.5rem;overflow:hidden;position:relative}.progress-bar__fill[data-v-1ee50aa7]{height:100%;border-radius:.5rem;transition:width .3s ease;display:flex;align-items:center;justify-content:center;position:relative}.progress-bar__fill--animated[data-v-1ee50aa7]{transition:width .6s ease}.progress-bar__fill--primary[data-v-1ee50aa7]{background:linear-gradient(90deg,#667eea,#764ba2)}.progress-bar__fill--success[data-v-1ee50aa7]{background:linear-gradient(90deg,#10b981,#059669)}.progress-bar__fill--warning[data-v-1ee50aa7]{background:linear-gradient(90deg,#f59e0b,#d97706)}.progress-bar__fill--danger[data-v-1ee50aa7]{background:linear-gradient(90deg,#ef4444,#dc2626)}.progress-bar__text[data-v-1ee50aa7]{color:#fff;font-size:.75rem;font-weight:600}.select-wrapper[data-v-aeafe36b]{display:flex;flex-direction:column;gap:.375rem}.select-label[data-v-aeafe36b]{font-size:.875rem;font-weight:500;color:#374151}.select-field[data-v-aeafe36b]{padding:.75rem 2.5rem .75rem .875rem;font-size:1rem;line-height:1.5;height:48px;border:1px solid #d1d5db;border-radius:.375rem;outline:none;transition:all .2s ease-in-out;background:#fff;color:#1f2937;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;box-sizing:border-box}.select-field--placeholder[data-v-aeafe36b]{color:#9ca3af}.select-field[data-v-aeafe36b]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.select-field--error[data-v-aeafe36b]{border-color:#fca5a5;border-bottom:2px solid #dc2626;background-color:#fef2f2}.select-field--error[data-v-aeafe36b]:focus{border-color:#fca5a5;border-bottom:2px solid #dc2626;box-shadow:0 0 0 3px #ef44441f}.select-field--disabled[data-v-aeafe36b]{background-color:#f3f4f6;cursor:not-allowed;opacity:.6}.select-error[data-v-aeafe36b]{font-size:.75rem;color:#ef4444}.select-hint[data-v-aeafe36b]{font-size:.75rem;color:#6b7280}.stat-card[data-v-7858d875]{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;transition:all .2s ease}.stat-card[data-v-7858d875]:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-2px)}.stat-card__title[data-v-7858d875]{margin:0 0 .75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#6b7280}.stat-card__value-wrapper[data-v-7858d875]{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.stat-card__value[data-v-7858d875]{margin:0;font-size:2rem;font-weight:700;color:#111827;display:flex;align-items:baseline;gap:.25rem}.stat-card__value--negative[data-v-7858d875]{color:#dc2626}.stat-card__prefix[data-v-7858d875]{font-size:1.5rem;color:#6b7280;font-weight:500}.stat-card__suffix[data-v-7858d875]{font-size:1rem;color:#6b7280;font-weight:500;margin-left:.25rem}.stat-card__input-wrapper[data-v-7858d875]{display:flex;align-items:center;gap:.5rem;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:.5rem .75rem;transition:border-color .2s}.stat-card__input-wrapper[data-v-7858d875]:focus-within{border-color:#3b82f6}.stat-card__input[data-v-7858d875]{flex:1;border:none;background:transparent;font-size:1.5rem;font-weight:700;color:#111827;outline:none;min-width:0}.stat-card__input[data-v-7858d875]::placeholder{color:#9ca3af}.stat-card__input[data-v-7858d875]::-webkit-outer-spin-button,.stat-card__input[data-v-7858d875]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stat-card__input[type=number][data-v-7858d875]{-moz-appearance:textfield}.stat-card__trend[data-v-7858d875]{display:flex;align-items:center;gap:.25rem;font-size:.875rem;font-weight:600;padding:.25rem .5rem;border-radius:4px}.stat-card__trend--up[data-v-7858d875]{color:#059669;background:#d1fae5}.stat-card__trend--down[data-v-7858d875]{color:#dc2626;background:#fee2e2}.stat-card__trend-icon[data-v-7858d875]{font-size:1rem}.stat-card--success[data-v-7858d875]{border-color:#10b981;background:linear-gradient(135deg,#fff,#f0fdf4)}.stat-card--warning[data-v-7858d875]{border-color:#f59e0b;background:linear-gradient(135deg,#fff,#fffbeb)}.stat-card--danger[data-v-7858d875]{border-color:#ef4444;background:linear-gradient(135deg,#fff,#fef2f2)}@media(max-width:768px){.stat-card[data-v-7858d875]{padding:1rem}.stat-card__value[data-v-7858d875]{font-size:1.5rem}.stat-card__input[data-v-7858d875]{font-size:1.25rem}}.tag[data-v-df5365be]{display:inline-flex;align-items:center;font-weight:600;border-radius:.375rem;transition:all .2s ease-in-out}.tag--small[data-v-df5365be]{padding:.25rem .5rem;font-size:.75rem}.tag--medium[data-v-df5365be]{padding:.375rem .75rem;font-size:.875rem}.tag--large[data-v-df5365be]{padding:.5rem 1rem;font-size:1rem}.tag--default[data-v-df5365be]{background-color:#f3f4f6;color:#374151}.tag--primary[data-v-df5365be]{background-color:#dbeafe;color:#1e40af}.tag--success[data-v-df5365be]{background-color:#d1fae5;color:#065f46}.tag--warning[data-v-df5365be]{background-color:#fef3c7;color:#92400e}.tag--danger[data-v-df5365be]{background-color:#fee2e2;color:#991b1b}.tag--info[data-v-df5365be]{background-color:#e0e7ff;color:#3730a3}.textarea-wrapper[data-v-00775f79]{display:flex;flex-direction:column;gap:.375rem}.textarea-label[data-v-00775f79]{font-size:.875rem;font-weight:500;color:#374151}.textarea-field[data-v-00775f79]{padding:.625rem .875rem;font-size:1rem;font-family:inherit;border:1px solid #d1d5db;border-radius:.375rem;outline:none;transition:all .2s ease-in-out;background:#fff;color:#1f2937;resize:vertical;min-height:2.5rem}.textarea-field[data-v-00775f79]::placeholder{color:#9ca3af}.textarea-field[data-v-00775f79]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.textarea-field--error[data-v-00775f79]{border-color:#fca5a5;border-bottom:2px solid #dc2626;background:#fef2f2}.textarea-field--error[data-v-00775f79]:focus{border-color:#fca5a5;border-bottom:2px solid #dc2626;box-shadow:0 0 0 3px #ef44441f}.textarea-field--disabled[data-v-00775f79]{background:#f3f4f6;cursor:not-allowed;opacity:.6;resize:none}.textarea-error[data-v-00775f79]{font-size:.75rem;color:#ef4444}.textarea-hint[data-v-00775f79]{font-size:.75rem;color:#6b7280}
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ (function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g.VueComponentLibrary={},g.Vue))})(this,(function(g,e){"use strict";const P=e.defineComponent({__name:"Badge",props:{variant:{default:"primary"},size:{default:"medium"}},setup(t){return(c,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["badge",`badge--${t.variant}`,`badge--${t.size}`])},[e.renderSlot(c.$slots,"default",{},void 0,!0)],2))}}),B=(t,c)=>{const a=t.__vccOpts||t;for(const[d,s]of c)a[d]=s;return a},L=B(P,[["__scopeId","data-v-f310f0d4"]]),O={key:0,class:"sr-only"},F=B(e.defineComponent({__name:"Button",props:{variant:{default:"primary"},disabled:{type:Boolean,default:!1},url:{},target:{default:"_self"}},emits:["click"],setup(t,{emit:c}){const a=t,d=c,s=i=>{a.disabled?(i.preventDefault(),i.stopImmediatePropagation()):d("click",i)};return(i,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.url?"a":"button"),e.mergeProps({href:t.url,target:t.url?t.target:void 0,rel:t.url&&t.target==="_blank"?"noopener noreferrer":void 0,class:["btn",`btn--${t.variant}`,{"btn--disabled":t.disabled}],disabled:!t.url&&t.disabled,"aria-disabled":t.disabled},e.toHandlers(t.url?{}:{click:s})),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},void 0,!0),t.url&&t.target==="_blank"?(e.openBlock(),e.createElementBlock("span",O,"(opens in new window)")):e.createCommentVNode("",!0)]),_:3},16,["href","target","rel","class","disabled","aria-disabled"]))}}),[["__scopeId","data-v-86500989"]]),R={class:"calendar"},A={class:"calendar-header"},q={class:"calendar-title"},Y={key:0,class:"calendar-body"},W={class:"calendar-weekdays"},j={class:"calendar-days"},H=["onClick","disabled"],U={key:1,class:"calendar-picker"},J={class:"calendar-picker-grid"},X=["onClick"],G={key:2,class:"calendar-picker"},K={class:"calendar-picker-nav"},Q={class:"calendar-picker-range"},Z={class:"calendar-picker-grid"},v=["onClick"],T=B(e.defineComponent({__name:"Calendar",props:{modelValue:{},mode:{default:"single"},minDate:{},maxDate:{},disabledDates:{},locale:{default:"en-US"},firstDayOfWeek:{default:0},initialDate:{}},emits:["update:modelValue"],setup(t,{emit:c}){const a=t,d=c,i=(()=>{if(a.initialDate){const[l,h,r]=a.initialDate.split("-").map(Number);return new Date(l,h-1,r)}if(a.modelValue){if(typeof a.modelValue=="string"){const[l,h,r]=a.modelValue.split("-").map(Number);return new Date(l,h-1,r)}if(typeof a.modelValue=="object"&&"start"in a.modelValue&&a.modelValue.start){const[l,h,r]=a.modelValue.start.split("-").map(Number);return new Date(l,h-1,r)}if(Array.isArray(a.modelValue)&&a.modelValue.length>0){const[l,h,r]=a.modelValue[0].split("-").map(Number);return new Date(l,h-1,r)}}return new Date})(),n=e.ref(i.getMonth()),k=e.ref(i.getFullYear()),o=e.ref(null),m=e.ref(null),f=e.ref(Math.floor(i.getFullYear()/12)*12),V=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],S=["January","February","March","April","May","June","July","August","September","October","November","December"],E=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],x=e.computed(()=>S[n.value]),b=e.computed(()=>{const l=[...E];return a.firstDayOfWeek>0?[...l.slice(a.firstDayOfWeek),...l.slice(0,a.firstDayOfWeek)]:l}),p=e.computed(()=>Array.from({length:12},(l,h)=>f.value+h)),u=e.computed(()=>{const l=f.value,h=l+11;return`${l} - ${h}`}),_=e.computed(()=>{const l=[],h=new Date(k.value,n.value,1),r=new Date(k.value,n.value+1,0);let C=h.getDay()-a.firstDayOfWeek;C<0&&(C+=7);const z=new Date(k.value,n.value,0).getDate();for(let w=C-1;w>=0;w--){const I=new Date(k.value,n.value-1,z-w);l.push(y(I,!1))}for(let w=1;w<=r.getDate();w++){const I=new Date(k.value,n.value,w);l.push(y(I,!0))}const Qt=42-l.length;for(let w=1;w<=Qt;w++){const I=new Date(k.value,n.value+1,w);l.push(y(I,!1))}return l}),y=(l,h)=>{const r=$(l),C=$(new Date);return{date:l,dateString:r,isCurrentMonth:h,isToday:r===C,isSelected:D(r),isDisabled:N(r),isInRange:M(r)}},$=l=>{const h=l.getFullYear(),r=String(l.getMonth()+1).padStart(2,"0"),C=String(l.getDate()).padStart(2,"0");return`${h}-${r}-${C}`},D=l=>a.modelValue?a.mode==="single"?a.modelValue===l:a.mode==="multiple"&&Array.isArray(a.modelValue)?a.modelValue.includes(l):a.mode==="range"&&typeof a.modelValue=="object"&&"start"in a.modelValue?l===a.modelValue.start||l===a.modelValue.end:!1:!1,N=l=>{var h;return!!(a.minDate&&l<a.minDate||a.maxDate&&l>a.maxDate||(h=a.disabledDates)!=null&&h.includes(l))},M=l=>{if(a.mode!=="range"||typeof a.modelValue!="object"||!("start"in a.modelValue))return!1;const{start:h,end:r}=a.modelValue;return!h||!r?!1:l>h&&l<r},Yt=l=>{if(!l.isDisabled){if(a.mode==="single")d("update:modelValue",l.dateString);else if(a.mode==="multiple"){const h=Array.isArray(a.modelValue)?[...a.modelValue]:[],r=h.indexOf(l.dateString);r>-1?h.splice(r,1):h.push(l.dateString),d("update:modelValue",h)}else if(a.mode==="range")if(!m.value)m.value=l.dateString,d("update:modelValue",{start:l.dateString,end:l.dateString});else{const h=m.value<l.dateString?m.value:l.dateString,r=m.value<l.dateString?l.dateString:m.value;d("update:modelValue",{start:h,end:r}),m.value=null}}},Wt=()=>{n.value===0?(n.value=11,k.value--):n.value--},jt=()=>{n.value===11?(n.value=0,k.value++):n.value++},Ht=()=>{o.value=o.value==="month"?null:"month"},Ut=()=>{o.value!=="year"&&(f.value=Math.floor(k.value/12)*12),o.value=o.value==="year"?null:"year"},Jt=l=>{n.value=l,o.value=null},Xt=l=>{k.value=l,o.value=null},Gt=()=>{f.value-=12},Kt=()=>{f.value+=12};return(l,h)=>(e.openBlock(),e.createElementBlock("div",R,[e.createElementVNode("div",A,[e.createElementVNode("button",{onClick:e.withModifiers(Wt,["stop"]),class:"calendar-nav",type:"button"}," ‹ "),e.createElementVNode("div",q,[e.createElementVNode("button",{onClick:e.withModifiers(Ht,["stop"]),class:"calendar-month-btn",type:"button"},e.toDisplayString(x.value),1),e.createElementVNode("button",{onClick:e.withModifiers(Ut,["stop"]),class:"calendar-year-btn",type:"button"},e.toDisplayString(k.value),1)]),e.createElementVNode("button",{onClick:e.withModifiers(jt,["stop"]),class:"calendar-nav",type:"button"}," › ")]),o.value?o.value==="month"?(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",J,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(V,(r,C)=>e.createElementVNode("button",{key:r,onClick:e.withModifiers(z=>Jt(C),["stop"]),type:"button",class:e.normalizeClass(["calendar-picker-item",{"calendar-picker-item--selected":C===n.value}])},e.toDisplayString(r),11,X)),64))])])):o.value==="year"?(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",K,[e.createElementVNode("button",{onClick:e.withModifiers(Gt,["stop"]),class:"calendar-nav",type:"button"}," ‹ "),e.createElementVNode("span",Q,e.toDisplayString(u.value),1),e.createElementVNode("button",{onClick:e.withModifiers(Kt,["stop"]),class:"calendar-nav",type:"button"}," › ")]),e.createElementVNode("div",Z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,r=>(e.openBlock(),e.createElementBlock("button",{key:r,onClick:e.withModifiers(C=>Xt(r),["stop"]),type:"button",class:e.normalizeClass(["calendar-picker-item",{"calendar-picker-item--selected":r===k.value}])},e.toDisplayString(r),11,v))),128))])])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Y,[e.createElementVNode("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,r=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"calendar-weekday"},e.toDisplayString(r),1))),128))]),e.createElementVNode("div",j,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,r=>(e.openBlock(),e.createElementBlock("button",{key:r.dateString,onClick:C=>Yt(r),type:"button",disabled:r.isDisabled,class:e.normalizeClass(["calendar-day",{"calendar-day--other-month":!r.isCurrentMonth,"calendar-day--today":r.isToday,"calendar-day--selected":r.isSelected,"calendar-day--disabled":r.isDisabled,"calendar-day--in-range":r.isInRange}])},e.toDisplayString(r.date.getDate()),11,H))),128))])]))]))}}),[["__scopeId","data-v-446fa187"]]),ee={key:0,class:"card__header"},te={class:"card__body"},ae={key:1,class:"card__footer"},le=B(e.defineComponent({__name:"Card",props:{hoverable:{type:Boolean,default:!1}},setup(t){return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card",{"card--hoverable":t.hoverable}])},[c.$slots.header?(e.openBlock(),e.createElementBlock("div",ee,[e.renderSlot(c.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",te,[e.renderSlot(c.$slots,"default",{},void 0,!0)]),c.$slots.footer?(e.openBlock(),e.createElementBlock("div",ae,[e.renderSlot(c.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-3c027648"]]),oe={class:"checkbox-wrapper"},ne=["checked","disabled","required"],re={key:0,class:"checkbox-text"},se={key:0,class:"checkbox-error"},ce=B(e.defineComponent({__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},label:{},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{}},emits:["update:modelValue"],setup(t,{emit:c}){const a=c,d=s=>{const i=s.target;a("update:modelValue",i.checked)};return(s,i)=>(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("label",{class:e.normalizeClass(["checkbox-label",{"checkbox-label--disabled":t.disabled}])},[e.createElementVNode("input",{type:"checkbox",class:"checkbox-input",checked:t.modelValue,disabled:t.disabled,required:t.required,onChange:d},null,40,ne),i[0]||(i[0]=e.createElementVNode("span",{class:"checkbox-box"},null,-1)),t.label?(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(t.label),1)):e.createCommentVNode("",!0)],2),t.error?(e.openBlock(),e.createElementBlock("span",se,e.toDisplayString(t.error),1)):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-ce644bb9"]]),de={class:"data-table"},ie={class:"data-table__wrapper"},me={class:"data-table__table"},fe={class:"data-table__head"},pe=["onClick"],ke={class:"data-table__header-content"},ue={key:0,class:"data-table__sort-icon"},he={key:0},ye={key:1,class:"data-table__sort-icon--inactive"},be={key:0},ge=["colspan"],Be=B(e.defineComponent({__name:"DataTable",props:{columns:{},data:{},hoverable:{type:Boolean,default:!0},emptyText:{default:"No data available"}},setup(t){const c=t,a=e.ref(null),d=e.ref("asc"),s=n=>{a.value===n?d.value=d.value==="asc"?"desc":"asc":(a.value=n,d.value="asc")},i=e.computed(()=>a.value?[...c.data].sort((n,k)=>{const o=n[a.value],m=k[a.value];if(o===m)return 0;let f=0;return typeof o=="number"&&typeof m=="number"?f=o-m:f=String(o).localeCompare(String(m)),d.value==="asc"?f:-f}):c.data);return(n,k)=>(e.openBlock(),e.createElementBlock("div",de,[e.createElementVNode("div",ie,[e.createElementVNode("table",me,[e.createElementVNode("thead",fe,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.columns,o=>(e.openBlock(),e.createElementBlock("th",{key:o.key,class:e.normalizeClass(["data-table__header",{"data-table__header--sortable":o.sortable}]),onClick:m=>o.sortable?s(o.key):void 0},[e.createElementVNode("div",ke,[e.createTextVNode(e.toDisplayString(o.label)+" ",1),o.sortable?(e.openBlock(),e.createElementBlock("span",ue,[a.value===o.key?(e.openBlock(),e.createElementBlock("span",he,e.toDisplayString(d.value==="asc"?"↑":"↓"),1)):(e.openBlock(),e.createElementBlock("span",ye,"↕"))])):e.createCommentVNode("",!0)])],10,pe))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(o,m)=>(e.openBlock(),e.createElementBlock("tr",{key:m,class:"data-table__row"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.columns,f=>(e.openBlock(),e.createElementBlock("td",{key:f.key,class:"data-table__cell"},[e.renderSlot(n.$slots,`cell-${f.key}`,{row:o,value:o[f.key]},()=>[e.createTextVNode(e.toDisplayString(o[f.key]),1)],!0)]))),128))]))),128)),i.value.length===0?(e.openBlock(),e.createElementBlock("tr",be,[e.createElementVNode("td",{colspan:t.columns.length,class:"data-table__cell data-table__cell--empty"},e.toDisplayString(t.emptyText),9,ge)])):e.createCommentVNode("",!0)])])])]))}}),[["__scopeId","data-v-511dc0a4"]]),Ve=["id","value","placeholder","disabled"],_e={key:0,class:"date-error"},$e=B(e.defineComponent({__name:"DatePicker",props:{modelValue:{},id:{},placeholder:{default:"Select date"},disabled:{type:Boolean},format:{default:"short"},error:{},mode:{default:"single"},minDate:{},maxDate:{},disabledDates:{},locale:{},firstDayOfWeek:{default:0},initialDate:{}},emits:["update:modelValue"],setup(t,{emit:c}){const a=t,d=c,s=e.ref(!1);let i=0;const n=`date-input-${++i}`,k=e.computed(()=>a.id||n),o=e.ref(null),m=e.ref(null),f=e.ref({top:"0px",left:"0px",width:"320px"}),V=e.ref(a.modelValue);e.watch(()=>a.modelValue,y=>{V.value=y},{immediate:!0});const S=e.computed(()=>{if(!a.modelValue)return"";if(a.mode==="single"&&typeof a.modelValue=="string")return E(a.modelValue);if(a.mode==="multiple"&&Array.isArray(a.modelValue))return a.modelValue.map(y=>E(y)).join(", ");if(a.mode==="range"&&typeof a.modelValue=="object"&&"start"in a.modelValue){const{start:y,end:$}=a.modelValue;if(y&&$)return`${E(y)} - ${E($)}`;if(y)return E(y)}return""}),E=y=>{const[$,D,N]=y.split("-").map(Number),M=new Date($,D-1,N);return a.format==="long"?M.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):M.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})},x=()=>{a.disabled||(s.value?p():b())},b=()=>{s.value=!0,setTimeout(()=>{if(o.value){const y=o.value.getBoundingClientRect(),D=window.innerHeight-y.bottom,N=400;D<N&&y.top>N?f.value={top:`${y.top-N+window.scrollY}px`,left:`${y.left+window.scrollX}px`,width:"320px"}:f.value={top:`${y.bottom+4+window.scrollY}px`,left:`${y.left+window.scrollX}px`,width:"320px"}}},0)},p=()=>{s.value=!1},u=y=>{V.value=y,d("update:modelValue",y),a.mode==="single"&&setTimeout(()=>{p()},200),a.mode==="range"&&typeof y=="object"&&"start"in y&&y.end&&setTimeout(()=>{p()},200)},_=y=>{var D,N;if(!s.value)return;const $=y.target;(D=o.value)!=null&&D.contains($)||(N=m.value)!=null&&N.contains($)||p()};return e.onMounted(()=>{document.addEventListener("click",_)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",_)}),(y,$)=>(e.openBlock(),e.createElementBlock("div",{class:"date-picker",ref_key:"datePickerRef",ref:o},[e.createElementVNode("div",{class:"date-picker-input",onClick:x},[e.createElementVNode("input",{type:"text",id:k.value,value:S.value,placeholder:t.placeholder,readonly:"",disabled:t.disabled,class:e.normalizeClass(["date-input",{"date-input--error":t.error}])},null,10,Ve),$[1]||($[1]=e.createElementVNode("span",{class:"date-icon"},"📅",-1))]),t.error?(e.openBlock(),e.createElementBlock("span",_e,e.toDisplayString(t.error),1)):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"dropdownRef",ref:m,class:"date-picker-dropdown",style:e.normalizeStyle(f.value)},[e.createVNode(T,{modelValue:V.value,"onUpdate:modelValue":[$[0]||($[0]=D=>V.value=D),u],mode:t.mode,"min-date":t.minDate,"max-date":t.maxDate,"disabled-dates":t.disabledDates,"first-day-of-week":t.firstDayOfWeek,"initial-date":typeof t.modelValue=="string"?t.modelValue:void 0},null,8,["modelValue","mode","min-date","max-date","disabled-dates","first-day-of-week","initial-date"])],4)):e.createCommentVNode("",!0)])),s.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"date-picker-overlay",onClick:p})):e.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-0b550c0b"]]),Ee={key:0,class:"dropdown__header"},Ce={class:"dropdown__content"},we={key:0,class:"dropdown__divider"},De=["disabled","onClick"],Ne={key:0,class:"dropdown__item-icon"},Se={class:"dropdown__item-label"},xe={key:1,class:"dropdown__footer"},Ie=B(e.defineComponent({__name:"Dropdown",props:{items:{default:()=>[]},placement:{default:"bottom-left"},closeOnClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},emits:["select","open","close"],setup(t,{emit:c}){const a=t,d=c,s=e.ref(null),i=e.ref(null),n=e.ref(!1),k=e.ref({}),o=()=>{a.disabled||(n.value?f():m())},m=()=>{n.value=!0,d("open"),setTimeout(()=>{V()},0)},f=()=>{n.value=!1,d("close")},V=()=>{if(!s.value||!i.value)return;const b=s.value.getBoundingClientRect(),p=i.value.getBoundingClientRect();let u=0,_=0;switch(a.placement){case"bottom-left":u=b.bottom+8,_=b.left;break;case"bottom-right":u=b.bottom+8,_=b.right-p.width;break;case"top-left":u=b.top-p.height-8,_=b.left;break;case"top-right":u=b.top-p.height-8,_=b.right-p.width;break}k.value={top:`${u}px`,left:`${_}px`}},S=b=>{b.disabled||(d("select",b),a.closeOnClick&&f())},E=b=>{b.stopPropagation()},x=b=>{if(!s.value||!i.value)return;const p=b.target;!s.value.contains(p)&&!i.value.contains(p)&&f()};return e.onMounted(()=>{document.addEventListener("click",x),window.addEventListener("scroll",V,!0),window.addEventListener("resize",V)}),e.onUnmounted(()=>{document.removeEventListener("click",x),window.removeEventListener("scroll",V,!0),window.removeEventListener("resize",V)}),(b,p)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"dropdownRef",ref:s,class:e.normalizeClass(["dropdown",{"dropdown--disabled":t.disabled}])},[e.createElementVNode("div",{onClick:o,class:"dropdown__trigger"},[e.renderSlot(b.$slots,"trigger",{},()=>[p[0]||(p[0]=e.createElementVNode("button",{type:"button",class:"dropdown__button"}," Menu ",-1))],!0)]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"dropdown-fade"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"dropdownMenuRef",ref:i,class:e.normalizeClass(["dropdown__menu",`dropdown__menu--${t.placement}`]),style:e.normalizeStyle(k.value),onClick:E},[b.$slots.header?(e.openBlock(),e.createElementBlock("div",Ee,[e.renderSlot(b.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ce,[e.renderSlot(b.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(u,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[u.divider?(e.openBlock(),e.createElementBlock("div",we)):(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:e.normalizeClass(["dropdown__item",{"dropdown__item--disabled":u.disabled}]),disabled:u.disabled,onClick:()=>S(u)},[u.icon?(e.openBlock(),e.createElementBlock("span",Ne,e.toDisplayString(u.icon),1)):e.createCommentVNode("",!0),e.createElementVNode("span",Se,e.toDisplayString(u.label),1)],10,De))],64))),128))],!0)]),b.$slots.footer?(e.openBlock(),e.createElementBlock("div",xe,[e.renderSlot(b.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)]),_:3})]))],2))}}),[["__scopeId","data-v-d2e8b407"]]),Me={key:0,class:"empty-state__icon"},Te={class:"empty-state__icon-text"},ze={class:"empty-state__content"},Pe={key:0,class:"empty-state__title"},Le={key:1,class:"empty-state__description"},Oe={key:2,class:"empty-state__body"},Fe={key:1,class:"empty-state__actions"},Re=B(e.defineComponent({__name:"EmptyState",props:{title:{default:""},description:{default:""},icon:{default:""},actionText:{default:""},actionVariant:{default:"primary"},size:{default:"medium"}},emits:["action"],setup(t,{emit:c}){const a=c,d=()=>{a("action")};return(s,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["empty-state",`empty-state--${t.size}`])},[t.icon||s.$slots.icon?(e.openBlock(),e.createElementBlock("div",Me,[e.renderSlot(s.$slots,"icon",{},()=>[e.createElementVNode("span",Te,e.toDisplayString(t.icon),1)],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",ze,[t.title||s.$slots.title?(e.openBlock(),e.createElementBlock("h3",Pe,[e.renderSlot(s.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)])):e.createCommentVNode("",!0),t.description||s.$slots.description?(e.openBlock(),e.createElementBlock("p",Le,[e.renderSlot(s.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)],!0)])):e.createCommentVNode("",!0),s.$slots.default?(e.openBlock(),e.createElementBlock("div",Oe,[e.renderSlot(s.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0)]),t.actionText||s.$slots.action?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(s.$slots,"action",{},()=>[t.actionText?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["empty-state__button",`empty-state__button--${t.actionVariant}`]),onClick:d},e.toDisplayString(t.actionText),3)):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-24e65287"]]),Ae={key:0,class:"error-summary",role:"alert","aria-live":"assertive"},qe={class:"error-summary__header"},Ye={class:"error-summary__title"},We={class:"error-summary__subtitle"},je={key:0},He={class:"error-summary__list"},Ue=["href"],Je=B(e.defineComponent({__name:"ErrorSummary",props:{title:{default:"There is a problem"},errors:{}},setup(t){return(c,a)=>t.errors.length?(e.openBlock(),e.createElementBlock("div",Ae,[e.createElementVNode("div",qe,[a[1]||(a[1]=e.createElementVNode("span",{class:"error-summary__icon"},"⚠️",-1)),e.createElementVNode("div",null,[e.createElementVNode("h4",Ye,e.toDisplayString(t.title),1),e.createElementVNode("p",We,[e.createTextVNode("Please fix the following "+e.toDisplayString(t.errors.length)+" issue",1),t.errors.length!==1?(e.openBlock(),e.createElementBlock("span",je,"s")):e.createCommentVNode("",!0),a[0]||(a[0]=e.createTextVNode(":",-1))])])]),e.createElementVNode("ul",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.errors,d=>(e.openBlock(),e.createElementBlock("li",{key:d.id,class:"error-summary__item"},[e.createElementVNode("a",{href:`#${d.id}`,class:"error-summary__link"},e.toDisplayString(d.message),9,Ue)]))),128))])])):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-2eeef3a2"]]),Xe=["for"],Ge={key:1,class:"form-group__hint"},Ke={key:2,class:"form-group__error"},Qe=B(e.defineComponent({__name:"FormGroup",props:{label:{default:""},id:{default:""},hint:{default:""},error:{default:""},required:{type:Boolean,default:!1}},setup(t){return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["form-group",{"form-group--error":t.error}])},[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:t.id,class:"form-group__label"},e.toDisplayString(t.label),9,Xe)):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"default",{},void 0,!0),t.hint&&!t.error?(e.openBlock(),e.createElementBlock("small",Ge,e.toDisplayString(t.hint),1)):e.createCommentVNode("",!0),t.error?(e.openBlock(),e.createElementBlock("small",Ke,e.toDisplayString(t.error),1)):e.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-328da37c"]]),Ze=B(e.defineComponent({__name:"Heading",props:{tag:{default:"h2"},size:{default:"2"},weight:{default:"bold"},align:{default:"left"}},setup(t){return(c,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(["heading",`heading--${t.size}`,`heading--${t.weight}`,{[`heading--${t.align}`]:t.align}])},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),[["__scopeId","data-v-507e54e1"]]),ve={class:"input-wrapper"},et=["for"],tt=["id","type","value","placeholder","disabled","required"],at={key:1,class:"input-error"},lt={key:2,class:"input-hint"},ot=B(e.defineComponent({__name:"Input",props:{modelValue:{},id:{},label:{},type:{default:"text"},placeholder:{},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{},hint:{}},emits:["update:modelValue"],setup(t,{emit:c}){let a=0;const d=t,s=c,i=`input-${++a}`,n=e.computed(()=>d.id||i),k=o=>{const m=o.target;s("update:modelValue",m.value)};return(o,m)=>(e.openBlock(),e.createElementBlock("div",ve,[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:n.value,class:"input-label"},e.toDisplayString(t.label),9,et)):e.createCommentVNode("",!0),e.createElementVNode("input",{id:n.value,type:t.type,value:t.modelValue,placeholder:t.placeholder,disabled:t.disabled,required:t.required,class:e.normalizeClass(["input-field",{"input-field--error":t.error,"input-field--disabled":t.disabled}]),onInput:k},null,42,tt),t.error?(e.openBlock(),e.createElementBlock("span",at,e.toDisplayString(t.error),1)):e.createCommentVNode("",!0),t.hint&&!t.error?(e.openBlock(),e.createElementBlock("span",lt,e.toDisplayString(t.hint),1)):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-95616b7b"]]),nt={class:"modal-header"},rt={class:"modal-title"},st={class:"modal-body"},ct={key:0,class:"modal-footer"},dt=B(e.defineComponent({__name:"Modal",props:{modelValue:{type:Boolean},title:{default:""},size:{default:"medium"},closable:{type:Boolean,default:!0},closeOnOverlay:{type:Boolean,default:!0}},emits:["update:modelValue","close"],setup(t,{emit:c}){const a=t,d=c,s=()=>{d("update:modelValue",!1),d("close")},i=e.ref(null),n=e.ref(!1),k=e.ref(!1),o=e.ref(0),m=e.ref(0),f=e.ref(null),V=e.ref(null),S=p=>{if(!n.value)return;const u=Math.abs(p.clientX-o.value),_=Math.abs(p.clientY-m.value);(u>5||_>5)&&(k.value=!0)},E=p=>{if(window.removeEventListener("pointermove",S),window.removeEventListener("pointerup",E),!n.value||V.value!=="overlay"){n.value=!1,k.value=!1,V.value=null;return}const u=i.value,_=u&&p.target===u;a.closeOnOverlay&&_&&!k.value&&s(),u&&f.value!==null&&u.hasPointerCapture(f.value)&&u.releasePointerCapture(f.value),f.value=null,n.value=!1,k.value=!1,V.value=null},x=p=>{if(!a.closeOnOverlay||p.target!==p.currentTarget)return;n.value=!0,k.value=!1,V.value="overlay",o.value=p.clientX,m.value=p.clientY;const u=i.value;u&&(f.value=p.pointerId,u.setPointerCapture(p.pointerId)),window.addEventListener("pointermove",S),window.addEventListener("pointerup",E)},b=()=>{V.value="content"};return e.onBeforeUnmount(()=>{window.removeEventListener("pointermove",S),window.removeEventListener("pointerup",E)}),e.watch(()=>a.modelValue,p=>{p?document.body.style.overflow="hidden":document.body.style.overflow=""}),(p,u)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:i,class:"modal-overlay",onPointerdown:e.withModifiers(x,["self"])},[e.createElementVNode("div",{class:e.normalizeClass(["modal-content",[`modal-content--${t.size}`]]),onClick:u[0]||(u[0]=e.withModifiers(()=>{},["stop"])),onPointerdown:e.withModifiers(b,["stop"]),onPointerup:u[1]||(u[1]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",nt,[e.renderSlot(p.$slots,"header",{},()=>[e.createElementVNode("h3",rt,e.toDisplayString(t.title),1)],!0),t.closable?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s,class:"modal-close","aria-label":"Close modal"}," × ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",st,[e.renderSlot(p.$slots,"default",{},void 0,!0)]),p.$slots.footer?(e.openBlock(),e.createElementBlock("div",ct,[e.renderSlot(p.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],34)],544)):e.createCommentVNode("",!0)]),_:3})]))}}),[["__scopeId","data-v-0621c687"]]),it={class:"progress-bar"},mt={key:0,class:"progress-bar__header"},ft={class:"progress-bar__label"},pt={class:"progress-bar__percentage"},kt={key:0,class:"progress-bar__text"},ut=B(e.defineComponent({__name:"ProgressBar",props:{percentage:{default:0},label:{default:""},showLabel:{type:Boolean,default:!0},showPercentageInBar:{type:Boolean,default:!1},height:{default:12},variant:{default:"primary"},animated:{type:Boolean,default:!0}},setup(t){const c=t,a=e.computed(()=>Math.min(Math.max(c.percentage,0),100)),d=e.computed(()=>Math.round(a.value));return(s,i)=>(e.openBlock(),e.createElementBlock("div",it,[t.showLabel?(e.openBlock(),e.createElementBlock("div",mt,[e.createElementVNode("span",ft,e.toDisplayString(t.label),1),e.createElementVNode("span",pt,e.toDisplayString(d.value)+"%",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"progress-bar__track",style:e.normalizeStyle({height:`${t.height}px`})},[e.createElementVNode("div",{class:e.normalizeClass(["progress-bar__fill",[`progress-bar__fill--${t.variant}`,{"progress-bar__fill--animated":t.animated}]]),style:e.normalizeStyle({width:`${a.value}%`})},[t.showPercentageInBar?(e.openBlock(),e.createElementBlock("span",kt,e.toDisplayString(d.value)+"% ",1)):e.createCommentVNode("",!0)],6)],4)]))}}),[["__scopeId","data-v-1ee50aa7"]]),ht={class:"select-wrapper"},yt=["for"],bt=["id","value","disabled","required"],gt={key:0,value:"",disabled:""},Bt=["value"],Vt={key:1,class:"select-error"},_t={key:2,class:"select-hint"},$t=B(e.defineComponent({__name:"Select",props:{modelValue:{},id:{},label:{},options:{default:()=>[]},placeholder:{},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{},hint:{}},emits:["update:modelValue"],setup(t,{emit:c}){let a=0;const d=t,s=c,i=`select-${++a}`,n=e.computed(()=>d.id||i),k=o=>{const m=o.target;s("update:modelValue",m.value)};return(o,m)=>(e.openBlock(),e.createElementBlock("div",ht,[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:n.value,class:"select-label"},e.toDisplayString(t.label),9,yt)):e.createCommentVNode("",!0),e.createElementVNode("select",{id:n.value,value:t.modelValue,disabled:t.disabled,required:t.required,class:e.normalizeClass(["select-field",{"select-field--error":t.error,"select-field--disabled":t.disabled,"select-field--placeholder":!t.modelValue||t.modelValue===""}]),onChange:k},[t.placeholder?(e.openBlock(),e.createElementBlock("option",gt,e.toDisplayString(t.placeholder),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,f=>(e.openBlock(),e.createElementBlock("option",{key:f.value,value:f.value},e.toDisplayString(f.label),9,Bt))),128))],42,bt),t.error?(e.openBlock(),e.createElementBlock("span",Vt,e.toDisplayString(t.error),1)):e.createCommentVNode("",!0),t.hint&&!t.error?(e.openBlock(),e.createElementBlock("span",_t,e.toDisplayString(t.hint),1)):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-aeafe36b"]]),Et={class:"stat-card__title"},Ct={key:0,class:"stat-card__input-wrapper"},wt={key:0,class:"stat-card__prefix"},Dt=["value","placeholder"],Nt={key:1,class:"stat-card__suffix"},St={key:1,class:"stat-card__value-wrapper"},xt={key:0,class:"stat-card__prefix"},It={key:1,class:"stat-card__suffix"},Mt={class:"stat-card__trend-icon"},Tt={class:"stat-card__trend-value"},zt=B(e.defineComponent({__name:"StatCard",props:{title:{},value:{},variant:{default:"default"},prefix:{default:""},suffix:{default:""},editable:{type:Boolean,default:!1},trend:{}},emits:["input","change"],setup(t,{emit:c}){const a=t,d=c,s=e.computed(()=>typeof a.value=="number"?a.value.toLocaleString():a.value),i=e.computed(()=>typeof a.value=="number"&&a.value<0),n=o=>{const m=o.target,f=m.valueAsNumber||m.value;d("input",f)},k=o=>{const m=o.target,f=m.valueAsNumber||m.value;d("change",f)};return(o,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["stat-card",`stat-card--${t.variant}`])},[e.createElementVNode("h3",Et,e.toDisplayString(t.title),1),t.editable?(e.openBlock(),e.createElementBlock("div",Ct,[t.prefix?(e.openBlock(),e.createElementBlock("span",wt,e.toDisplayString(t.prefix),1)):e.createCommentVNode("",!0),e.createElementVNode("input",{value:t.value,onInput:n,onChange:k,type:"number",class:"stat-card__input",placeholder:String(t.value)},null,40,Dt),t.suffix?(e.openBlock(),e.createElementBlock("span",Nt,e.toDisplayString(t.suffix),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",St,[e.createElementVNode("p",{class:e.normalizeClass(["stat-card__value",{"stat-card__value--negative":i.value}])},[t.prefix?(e.openBlock(),e.createElementBlock("span",xt,e.toDisplayString(t.prefix),1)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(s.value),1),t.suffix?(e.openBlock(),e.createElementBlock("span",It,e.toDisplayString(t.suffix),1)):e.createCommentVNode("",!0)],2),t.trend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["stat-card__trend",`stat-card__trend--${t.trend.direction}`])},[e.createElementVNode("span",Mt,e.toDisplayString(t.trend.direction==="up"?"↑":"↓"),1),e.createElementVNode("span",Tt,e.toDisplayString(Math.abs(t.trend.value))+"%",1)],2)):e.createCommentVNode("",!0)])),e.renderSlot(o.$slots,"footer",{},void 0,!0)],2))}}),[["__scopeId","data-v-7858d875"]]),Pt=B(e.defineComponent({__name:"Tag",props:{variant:{default:"default"},size:{default:"medium"}},setup(t){return(c,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["tag",`tag--${t.variant}`,`tag--${t.size}`])},[e.renderSlot(c.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-df5365be"]]),Lt={class:"textarea-wrapper"},Ot=["for"],Ft=["id","value","placeholder","disabled","required","rows"],Rt={key:1,class:"textarea-error"},At={key:2,class:"textarea-hint"},qt=B(e.defineComponent({__name:"TextArea",props:{modelValue:{},id:{},label:{},placeholder:{},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},rows:{default:4},error:{},hint:{}},emits:["update:modelValue"],setup(t,{emit:c}){let a=0;const d=t,s=c,i=`textarea-${++a}`,n=e.computed(()=>d.id||i),k=o=>{const m=o.target;s("update:modelValue",m.value)};return(o,m)=>(e.openBlock(),e.createElementBlock("div",Lt,[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:n.value,class:"textarea-label"},e.toDisplayString(t.label),9,Ot)):e.createCommentVNode("",!0),e.createElementVNode("textarea",{id:n.value,value:t.modelValue,placeholder:t.placeholder,disabled:t.disabled,required:t.required,rows:t.rows,class:e.normalizeClass(["textarea-field",{"textarea-field--error":t.error,"textarea-field--disabled":t.disabled}]),onInput:k},null,42,Ft),t.error?(e.openBlock(),e.createElementBlock("span",Rt,e.toDisplayString(t.error),1)):e.createCommentVNode("",!0),t.hint&&!t.error?(e.openBlock(),e.createElementBlock("span",At,e.toDisplayString(t.hint),1)):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-00775f79"]]);g.VBadge=L,g.VButton=F,g.VCalendar=T,g.VCard=le,g.VCheckbox=ce,g.VDataTable=Be,g.VDatePicker=$e,g.VDropdown=Ie,g.VEmptyState=Re,g.VErrorSummary=Je,g.VFormGroup=Qe,g.VHeading=Ze,g.VInput=ot,g.VModal=dt,g.VProgressBar=ut,g.VSelect=$t,g.VStatCard=zt,g.VTag=Pt,g.VTextArea=qt,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})}));
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../src/components/Badge/Badge.vue?vue&type=script&setup=true&lang.ts","../src/components/Button/Button.vue?vue&type=script&setup=true&lang.ts","../src/components/Calendar/Calendar.vue?vue&type=script&setup=true&lang.ts","../src/components/Card/Card.vue?vue&type=script&setup=true&lang.ts","../src/components/Checkbox/Checkbox.vue?vue&type=script&setup=true&lang.ts","../src/components/DataTable/DataTable.vue?vue&type=script&setup=true&lang.ts","../src/components/DatePicker/DatePicker.vue?vue&type=script&setup=true&lang.ts","../src/components/Dropdown/Dropdown.vue?vue&type=script&setup=true&lang.ts","../src/components/EmptyState/EmptyState.vue?vue&type=script&setup=true&lang.ts","../src/components/ErrorSummary/ErrorSummary.vue?vue&type=script&setup=true&lang.ts","../src/components/FormGroup/FormGroup.vue?vue&type=script&setup=true&lang.ts","../src/components/Heading/Heading.vue?vue&type=script&setup=true&lang.ts","../src/components/Input/Input.vue?vue&type=script&setup=true&lang.ts","../src/components/Modal/Modal.vue?vue&type=script&setup=true&lang.ts","../src/components/ProgressBar/ProgressBar.vue?vue&type=script&setup=true&lang.ts","../src/components/Select/Select.vue?vue&type=script&setup=true&lang.ts","../src/components/StatCard/StatCard.vue?vue&type=script&setup=true&lang.ts","../src/components/Tag/Tag.vue?vue&type=script&setup=true&lang.ts","../src/components/TextArea/TextArea.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\ninterface Props {\n variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info'\n size?: 'small' | 'medium' | 'large'\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Badge',\n props: {\n variant: { default: 'primary' },\n size: { default: 'medium' }\n },\n setup(__props: any) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(['badge', `badge--${__props.variant}`, `badge--${__props.size}`])\n }, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, toHandlers as _toHandlers, mergeProps as _mergeProps, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"sr-only\"\n}\n\nexport interface ButtonProps {\n variant?: 'primary' | 'secondary' | 'danger'\n disabled?: boolean\n url?: string\n target?: '_self' | '_blank'\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Button',\n props: {\n variant: { default: 'primary' },\n disabled: { type: Boolean, default: false },\n url: {},\n target: { default: '_self' }\n },\n emits: [\"click\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props\n\nconst emit = __emit\n\nconst handleClick = (event: MouseEvent) => {\n if (props.disabled) {\n event.preventDefault()\n event.stopImmediatePropagation()\n } else {\n emit('click', event)\n }\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(__props.url ? 'a' : 'button'), _mergeProps({\n href: __props.url,\n target: __props.url ? __props.target : undefined,\n rel: __props.url && __props.target === '_blank' ? 'noopener noreferrer' : undefined,\n class: ['btn', `btn--${__props.variant}`, { 'btn--disabled': __props.disabled }],\n disabled: !__props.url && __props.disabled,\n \"aria-disabled\": __props.disabled\n }, _toHandlers(!__props.url ? { click: handleClick } : {})), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true),\n (__props.url && __props.target === '_blank')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, \"(opens in new window)\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 16, [\"href\", \"target\", \"rel\", \"class\", \"disabled\", \"aria-disabled\"]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { withModifiers as _withModifiers, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"calendar\" }\nconst _hoisted_2 = { class: \"calendar-header\" }\nconst _hoisted_3 = { class: \"calendar-title\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"calendar-body\"\n}\nconst _hoisted_5 = { class: \"calendar-weekdays\" }\nconst _hoisted_6 = { class: \"calendar-days\" }\nconst _hoisted_7 = [\"onClick\", \"disabled\"]\nconst _hoisted_8 = {\n key: 1,\n class: \"calendar-picker\"\n}\nconst _hoisted_9 = { class: \"calendar-picker-grid\" }\nconst _hoisted_10 = [\"onClick\"]\nconst _hoisted_11 = {\n key: 2,\n class: \"calendar-picker\"\n}\nconst _hoisted_12 = { class: \"calendar-picker-nav\" }\nconst _hoisted_13 = { class: \"calendar-picker-range\" }\nconst _hoisted_14 = { class: \"calendar-picker-grid\" }\nconst _hoisted_15 = [\"onClick\"]\n\nimport { ref, computed } from 'vue'\nimport type { CalendarProps, CalendarDay } from './types'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Calendar',\n props: {\n modelValue: {},\n mode: { default: 'single' },\n minDate: {},\n maxDate: {},\n disabledDates: {},\n locale: { default: 'en-US' },\n firstDayOfWeek: { default: 0 },\n initialDate: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props\n\nconst emit = __emit\n\nconst getInitialDate = (): Date => {\n if (props.initialDate) {\n const [year, month, day] = props.initialDate.split('-').map(Number)\n return new Date(year, month - 1, day)\n }\n \n if (props.modelValue) {\n if (typeof props.modelValue === 'string') {\n const [year, month, day] = props.modelValue.split('-').map(Number)\n return new Date(year, month - 1, day)\n }\n if (typeof props.modelValue === 'object' && 'start' in props.modelValue && props.modelValue.start) {\n const [year, month, day] = props.modelValue.start.split('-').map(Number)\n return new Date(year, month - 1, day)\n }\n if (Array.isArray(props.modelValue) && props.modelValue.length > 0) {\n const [year, month, day] = props.modelValue[0].split('-').map(Number)\n return new Date(year, month - 1, day)\n }\n }\n \n return new Date()\n}\n\nconst initialDate = getInitialDate()\nconst currentMonth = ref(initialDate.getMonth())\nconst currentYear = ref(initialDate.getFullYear())\nconst pickerMode = ref<'month' | 'year' | null>(null)\nconst rangeStart = ref<string | null>(null)\nconst yearPageStart = ref(Math.floor(initialDate.getFullYear() / 12) * 12)\n\nconst monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']\nconst fullMonthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\nconst weekdayNames = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n\nconst monthName = computed(() => fullMonthNames[currentMonth.value])\n\nconst weekdays = computed(() => {\n const days = [...weekdayNames]\n if (props.firstDayOfWeek > 0) {\n return [...days.slice(props.firstDayOfWeek), ...days.slice(0, props.firstDayOfWeek)]\n }\n return days\n})\n\nconst yearRange = computed(() => {\n return Array.from({ length: 12 }, (_, i) => yearPageStart.value + i)\n})\n\nconst yearRangeLabel = computed(() => {\n const start = yearPageStart.value\n const end = start + 11\n return `${start} - ${end}`\n})\n\nconst calendarDays = computed<CalendarDay[]>(() => {\n const days: CalendarDay[] = []\n const firstDay = new Date(currentYear.value, currentMonth.value, 1)\n const lastDay = new Date(currentYear.value, currentMonth.value + 1, 0)\n \n let startDay = firstDay.getDay() - props.firstDayOfWeek\n if (startDay < 0) startDay += 7\n \n const prevMonthDays = new Date(currentYear.value, currentMonth.value, 0).getDate()\n \n // Previous month days\n for (let i = startDay - 1; i >= 0; i--) {\n const date = new Date(currentYear.value, currentMonth.value - 1, prevMonthDays - i)\n days.push(createCalendarDay(date, false))\n }\n \n // Current month days\n for (let i = 1; i <= lastDay.getDate(); i++) {\n const date = new Date(currentYear.value, currentMonth.value, i)\n days.push(createCalendarDay(date, true))\n }\n \n // Next month days\n const remainingDays = 42 - days.length\n for (let i = 1; i <= remainingDays; i++) {\n const date = new Date(currentYear.value, currentMonth.value + 1, i)\n days.push(createCalendarDay(date, false))\n }\n \n return days\n})\n\nconst createCalendarDay = (date: Date, isCurrentMonth: boolean): CalendarDay => {\n const dateString = formatDate(date)\n const today = formatDate(new Date())\n \n return {\n date,\n dateString,\n isCurrentMonth,\n isToday: dateString === today,\n isSelected: isDateSelected(dateString),\n isDisabled: isDateDisabled(dateString),\n isInRange: isDateInRange(dateString)\n }\n}\n\nconst formatDate = (date: Date): string => {\n const year = date.getFullYear()\n const month = String(date.getMonth() + 1).padStart(2, '0')\n const day = String(date.getDate()).padStart(2, '0')\n return `${year}-${month}-${day}`\n}\n\nconst isDateSelected = (dateString: string): boolean => {\n if (!props.modelValue) return false\n \n if (props.mode === 'single') {\n return props.modelValue === dateString\n }\n \n if (props.mode === 'multiple' && Array.isArray(props.modelValue)) {\n return props.modelValue.includes(dateString)\n }\n \n if (props.mode === 'range' && typeof props.modelValue === 'object' && 'start' in props.modelValue) {\n return dateString === props.modelValue.start || dateString === props.modelValue.end\n }\n \n return false\n}\n\nconst isDateDisabled = (dateString: string): boolean => {\n if (props.minDate && dateString < props.minDate) return true\n if (props.maxDate && dateString > props.maxDate) return true\n if (props.disabledDates?.includes(dateString)) return true\n return false\n}\n\nconst isDateInRange = (dateString: string): boolean => {\n if (props.mode !== 'range') return false\n if (typeof props.modelValue !== 'object' || !('start' in props.modelValue)) return false\n \n const { start, end } = props.modelValue\n if (!start || !end) return false\n \n return dateString > start && dateString < end\n}\n\nconst selectDate = (day: CalendarDay) => {\n if (day.isDisabled) return\n \n if (props.mode === 'single') {\n emit('update:modelValue', day.dateString)\n } else if (props.mode === 'multiple') {\n const current = Array.isArray(props.modelValue) ? [...props.modelValue] : []\n const index = current.indexOf(day.dateString)\n \n if (index > -1) {\n current.splice(index, 1)\n } else {\n current.push(day.dateString)\n }\n \n emit('update:modelValue', current)\n } else if (props.mode === 'range') {\n if (!rangeStart.value) {\n rangeStart.value = day.dateString\n emit('update:modelValue', { start: day.dateString, end: day.dateString })\n } else {\n const start = rangeStart.value < day.dateString ? rangeStart.value : day.dateString\n const end = rangeStart.value < day.dateString ? day.dateString : rangeStart.value\n emit('update:modelValue', { start, end })\n rangeStart.value = null\n }\n }\n}\n\nconst previousMonth = () => {\n if (currentMonth.value === 0) {\n currentMonth.value = 11\n currentYear.value--\n } else {\n currentMonth.value--\n }\n}\n\nconst nextMonth = () => {\n if (currentMonth.value === 11) {\n currentMonth.value = 0\n currentYear.value++\n } else {\n currentMonth.value++\n }\n}\n\nconst showMonthPicker = () => {\n pickerMode.value = pickerMode.value === 'month' ? null : 'month'\n}\n\nconst showYearPicker = () => {\n if (pickerMode.value !== 'year') {\n // Center the year page around the current year when opening\n yearPageStart.value = Math.floor(currentYear.value / 12) * 12\n }\n pickerMode.value = pickerMode.value === 'year' ? null : 'year'\n}\n\nconst selectMonth = (month: number) => {\n currentMonth.value = month\n pickerMode.value = null\n}\n\nconst selectYear = (year: number) => {\n currentYear.value = year\n pickerMode.value = null\n}\n\nconst previousYearPage = () => {\n yearPageStart.value -= 12\n}\n\nconst nextYearPage = () => {\n yearPageStart.value += 12\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n onClick: _withModifiers(previousMonth, [\"stop\"]),\n class: \"calendar-nav\",\n type: \"button\"\n }, \" ‹ \"),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"button\", {\n onClick: _withModifiers(showMonthPicker, [\"stop\"]),\n class: \"calendar-month-btn\",\n type: \"button\"\n }, _toDisplayString(monthName.value), 1),\n _createElementVNode(\"button\", {\n onClick: _withModifiers(showYearPicker, [\"stop\"]),\n class: \"calendar-year-btn\",\n type: \"button\"\n }, _toDisplayString(currentYear.value), 1)\n ]),\n _createElementVNode(\"button\", {\n onClick: _withModifiers(nextMonth, [\"stop\"]),\n class: \"calendar-nav\",\n type: \"button\"\n }, \" › \")\n ]),\n (!pickerMode.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(weekdays.value, (day) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: day,\n class: \"calendar-weekday\"\n }, _toDisplayString(day), 1))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(calendarDays.value, (day) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n key: day.dateString,\n onClick: ($event: any) => (selectDate(day)),\n type: \"button\",\n disabled: day.isDisabled,\n class: _normalizeClass([\n 'calendar-day',\n {\n 'calendar-day--other-month': !day.isCurrentMonth,\n 'calendar-day--today': day.isToday,\n 'calendar-day--selected': day.isSelected,\n 'calendar-day--disabled': day.isDisabled,\n 'calendar-day--in-range': day.isInRange\n }\n ])\n }, _toDisplayString(day.date.getDate()), 11, _hoisted_7))\n }), 128))\n ])\n ]))\n : (pickerMode.value === 'month')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(monthNames, (month, index) => {\n return _createElementVNode(\"button\", {\n key: month,\n onClick: _withModifiers(($event: any) => (selectMonth(index)), [\"stop\"]),\n type: \"button\",\n class: _normalizeClass([\n 'calendar-picker-item',\n { 'calendar-picker-item--selected': index === currentMonth.value }\n ])\n }, _toDisplayString(month), 11, _hoisted_10)\n }), 64))\n ])\n ]))\n : (pickerMode.value === 'year')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"button\", {\n onClick: _withModifiers(previousYearPage, [\"stop\"]),\n class: \"calendar-nav\",\n type: \"button\"\n }, \" ‹ \"),\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(yearRangeLabel.value), 1),\n _createElementVNode(\"button\", {\n onClick: _withModifiers(nextYearPage, [\"stop\"]),\n class: \"calendar-nav\",\n type: \"button\"\n }, \" › \")\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(yearRange.value, (year) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n key: year,\n onClick: _withModifiers(($event: any) => (selectYear(year)), [\"stop\"]),\n type: \"button\",\n class: _normalizeClass([\n 'calendar-picker-item',\n { 'calendar-picker-item--selected': year === currentYear.value }\n ])\n }, _toDisplayString(year), 11, _hoisted_15))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"card__header\"\n}\nconst _hoisted_2 = { class: \"card__body\" }\nconst _hoisted_3 = {\n key: 1,\n class: \"card__footer\"\n}\n\nexport interface CardProps {\n hoverable?: boolean\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Card',\n props: {\n hoverable: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(['card', { 'card--hoverable': __props.hoverable }])\n }, [\n (_ctx.$slots.header)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"header\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]),\n (_ctx.$slots.footer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"footer\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"checkbox-wrapper\" }\nconst _hoisted_2 = [\"checked\", \"disabled\", \"required\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"checkbox-text\"\n}\nconst _hoisted_4 = {\n key: 0,\n class: \"checkbox-error\"\n}\n\nexport interface CheckboxProps {\n modelValue?: boolean\n label?: string\n disabled?: boolean\n required?: boolean\n error?: string\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Checkbox',\n props: {\n modelValue: { type: Boolean, default: false },\n label: {},\n disabled: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n error: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\n\nconst emit = __emit\n\nconst handleChange = (event: Event) => {\n const target = event.target as HTMLInputElement\n emit('update:modelValue', target.checked)\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n class: _normalizeClass(['checkbox-label', { 'checkbox-label--disabled': __props.disabled }])\n }, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"checkbox-input\",\n checked: __props.modelValue,\n disabled: __props.disabled,\n required: __props.required,\n onChange: handleChange\n }, null, 40, _hoisted_2),\n _cache[0] || (_cache[0] = _createElementVNode(\"span\", { class: \"checkbox-box\" }, null, -1)),\n (__props.label)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(__props.label), 1))\n : _createCommentVNode(\"\", true)\n ], 2),\n (__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(__props.error), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"data-table\" }\nconst _hoisted_2 = { class: \"data-table__wrapper\" }\nconst _hoisted_3 = { class: \"data-table__table\" }\nconst _hoisted_4 = { class: \"data-table__head\" }\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = { class: \"data-table__header-content\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"data-table__sort-icon\"\n}\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = {\n key: 1,\n class: \"data-table__sort-icon--inactive\"\n}\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = [\"colspan\"]\n\nimport { ref, computed } from 'vue'\n\nexport interface DataTableColumn {\n key: string\n label: string\n sortable?: boolean\n}\n\nexport interface DataTableProps {\n columns: DataTableColumn[]\n data: Record<string, any>[]\n hoverable?: boolean\n emptyText?: string\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DataTable',\n props: {\n columns: {},\n data: {},\n hoverable: { type: Boolean, default: true },\n emptyText: { default: 'No data available' }\n },\n setup(__props: any) {\n\nconst props = __props\n\nconst sortKey = ref<string | null>(null)\nconst sortOrder = ref<'asc' | 'desc'>('asc')\n\nconst handleSort = (key: string) => {\n if (sortKey.value === key) {\n sortOrder.value = sortOrder.value === 'asc' ? 'desc' : 'asc'\n } else {\n sortKey.value = key\n sortOrder.value = 'asc'\n }\n}\n\nconst sortedData = computed(() => {\n if (!sortKey.value) {\n return props.data\n }\n\n return [...props.data].sort((a, b) => {\n const aVal = a[sortKey.value!]\n const bVal = b[sortKey.value!]\n\n if (aVal === bVal) return 0\n\n let comparison = 0\n if (typeof aVal === 'number' && typeof bVal === 'number') {\n comparison = aVal - bVal\n } else {\n comparison = String(aVal).localeCompare(String(bVal))\n }\n\n return sortOrder.value === 'asc' ? comparison : -comparison\n })\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"table\", _hoisted_3, [\n _createElementVNode(\"thead\", _hoisted_4, [\n _createElementVNode(\"tr\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.columns, (column) => {\n return (_openBlock(), _createElementBlock(\"th\", {\n key: column.key,\n class: _normalizeClass([\"data-table__header\", { 'data-table__header--sortable': column.sortable }]),\n onClick: ($event: any) => (column.sortable ? handleSort(column.key) : undefined)\n }, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createTextVNode(_toDisplayString(column.label) + \" \", 1),\n (column.sortable)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n (sortKey.value === column.key)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(sortOrder.value === 'asc' ? '↑' : '↓'), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_9, \"↕\"))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 10, _hoisted_5))\n }), 128))\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(sortedData.value, (row, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: index,\n class: \"data-table__row\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.columns, (column) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n key: column.key,\n class: \"data-table__cell\"\n }, [\n _renderSlot(_ctx.$slots, `cell-${column.key}`, {\n row: row,\n value: row[column.key]\n }, () => [\n _createTextVNode(_toDisplayString(row[column.key]), 1)\n ], true)\n ]))\n }), 128))\n ]))\n }), 128)),\n (sortedData.value.length === 0)\n ? (_openBlock(), _createElementBlock(\"tr\", _hoisted_10, [\n _createElementVNode(\"td\", {\n colspan: __props.columns.length,\n class: \"data-table__cell data-table__cell--empty\"\n }, _toDisplayString(__props.emptyText), 9, _hoisted_11)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, normalizeStyle as _normalizeStyle, Teleport as _Teleport, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = [\"id\", \"value\", \"placeholder\", \"disabled\"]\nconst _hoisted_2 = {\n key: 0,\n class: \"date-error\"\n}\n\nimport { ref, computed, watch, onMounted, onBeforeUnmount } from 'vue'\nimport Calendar from '../Calendar/Calendar.vue'\nimport type { CalendarProps } from '../Calendar/types'\n\ninterface DatePickerProps extends Omit<CalendarProps, 'modelValue'> {\n modelValue?: string | string[] | { start: string; end: string }\n id?: string\n placeholder?: string\n disabled?: boolean\n format?: 'short' | 'long'\n error?: string\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DatePicker',\n props: {\n modelValue: {},\n id: {},\n placeholder: { default: 'Select date' },\n disabled: { type: Boolean },\n format: { default: 'short' },\n error: {},\n mode: { default: 'single' },\n minDate: {},\n maxDate: {},\n disabledDates: {},\n locale: {},\n firstDayOfWeek: { default: 0 },\n initialDate: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props\n\nconst emit = __emit\n\nconst isOpen = ref(false)\nlet componentIdCounter = 0\nconst generatedId = `date-input-${++componentIdCounter}`\nconst inputId = computed(() => props.id || generatedId)\nconst datePickerRef = ref<HTMLElement | null>(null)\nconst dropdownRef = ref<HTMLElement | null>(null)\nconst dropdownStyle = ref<{ top: string; left: string; width: string }>({\n top: '0px',\n left: '0px',\n width: '320px'\n})\n\nconst internalValue = ref(props.modelValue)\n\nwatch(() => props.modelValue, (newValue) => {\n internalValue.value = newValue\n}, { immediate: true })\n\nconst displayValue = computed(() => {\n if (!props.modelValue) return ''\n \n if (props.mode === 'single' && typeof props.modelValue === 'string') {\n return formatDate(props.modelValue)\n }\n \n if (props.mode === 'multiple' && Array.isArray(props.modelValue)) {\n return props.modelValue.map(d => formatDate(d)).join(', ')\n }\n \n if (props.mode === 'range' && typeof props.modelValue === 'object' && 'start' in props.modelValue) {\n const { start, end } = props.modelValue\n if (start && end) {\n return `${formatDate(start)} - ${formatDate(end)}`\n }\n if (start) return formatDate(start)\n }\n \n return ''\n})\n\nconst formatDate = (dateString: string): string => {\n // Parse date string as local date to avoid timezone issues\n const [year, month, day] = dateString.split('-').map(Number)\n const date = new Date(year, month - 1, day)\n \n if (props.format === 'long') {\n return date.toLocaleDateString('en-US', { \n year: 'numeric', \n month: 'long', \n day: 'numeric' \n })\n }\n \n return date.toLocaleDateString('en-US', { \n year: 'numeric', \n month: 'short', \n day: 'numeric' \n })\n}\n\nconst toggleCalendar = () => {\n if (props.disabled) return\n \n if (isOpen.value) {\n closeCalendar()\n } else {\n openCalendar()\n }\n}\n\nconst openCalendar = () => {\n isOpen.value = true\n \n // Calculate position\n setTimeout(() => {\n if (datePickerRef.value) {\n const rect = datePickerRef.value.getBoundingClientRect()\n const viewportHeight = window.innerHeight\n const spaceBelow = viewportHeight - rect.bottom\n const calendarHeight = 400 // Approximate height\n \n if (spaceBelow < calendarHeight && rect.top > calendarHeight) {\n // Show above\n dropdownStyle.value = {\n top: `${rect.top - calendarHeight + window.scrollY}px`,\n left: `${rect.left + window.scrollX}px`,\n width: '320px'\n }\n } else {\n // Show below\n dropdownStyle.value = {\n top: `${rect.bottom + 4 + window.scrollY}px`,\n left: `${rect.left + window.scrollX}px`,\n width: '320px'\n }\n }\n }\n }, 0)\n}\n\nconst closeCalendar = () => {\n isOpen.value = false\n}\n\nconst handleDateSelect = (value: string | string[] | { start: string; end: string }) => {\n internalValue.value = value\n emit('update:modelValue', value)\n \n // Auto-close for single mode\n if (props.mode === 'single') {\n setTimeout(() => {\n closeCalendar()\n }, 200)\n }\n \n // Auto-close for range mode when both dates selected\n if (props.mode === 'range' && typeof value === 'object' && 'start' in value && value.end) {\n setTimeout(() => {\n closeCalendar()\n }, 200)\n }\n}\n\nconst handleClickOutside = (event: MouseEvent) => {\n if (!isOpen.value) return\n \n const target = event.target as Node\n \n // Check if click is inside the date picker input or dropdown\n if (datePickerRef.value?.contains(target)) return\n if (dropdownRef.value?.contains(target)) return\n \n // Click is outside, close the calendar\n closeCalendar()\n}\n\nonMounted(() => {\n document.addEventListener('click', handleClickOutside)\n})\n\nonBeforeUnmount(() => {\n document.removeEventListener('click', handleClickOutside)\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"date-picker\",\n ref_key: \"datePickerRef\",\n ref: datePickerRef\n }, [\n _createElementVNode(\"div\", {\n class: \"date-picker-input\",\n onClick: toggleCalendar\n }, [\n _createElementVNode(\"input\", {\n type: \"text\",\n id: inputId.value,\n value: displayValue.value,\n placeholder: __props.placeholder,\n readonly: \"\",\n disabled: __props.disabled,\n class: _normalizeClass(['date-input', { 'date-input--error': __props.error }])\n }, null, 10, _hoisted_1),\n _cache[1] || (_cache[1] = _createElementVNode(\"span\", { class: \"date-icon\" }, \"📅\", -1))\n ]),\n (__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _toDisplayString(__props.error), 1))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n ref_key: \"dropdownRef\",\n ref: dropdownRef,\n class: \"date-picker-dropdown\",\n style: _normalizeStyle(dropdownStyle.value)\n }, [\n _createVNode(Calendar, {\n modelValue: internalValue.value,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((internalValue).value = $event)),\n handleDateSelect\n ],\n mode: __props.mode,\n \"min-date\": __props.minDate,\n \"max-date\": __props.maxDate,\n \"disabled-dates\": __props.disabledDates,\n \"first-day-of-week\": __props.firstDayOfWeek,\n \"initial-date\": typeof __props.modelValue === 'string' ? __props.modelValue : undefined\n }, null, 8, [\"modelValue\", \"mode\", \"min-date\", \"max-date\", \"disabled-dates\", \"first-day-of-week\", \"initial-date\"])\n ], 4))\n : _createCommentVNode(\"\", true)\n ])),\n (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"date-picker-overlay\",\n onClick: closeCalendar\n }))\n : _createCommentVNode(\"\", true)\n ], 512))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"dropdown__header\"\n}\nconst _hoisted_2 = { class: \"dropdown__content\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"dropdown__divider\"\n}\nconst _hoisted_4 = [\"disabled\", \"onClick\"]\nconst _hoisted_5 = {\n key: 0,\n class: \"dropdown__item-icon\"\n}\nconst _hoisted_6 = { class: \"dropdown__item-label\" }\nconst _hoisted_7 = {\n key: 1,\n class: \"dropdown__footer\"\n}\n\nimport { ref, computed, onMounted, onUnmounted } from 'vue'\nimport type { DropdownProps, DropdownItem } from './types'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Dropdown',\n props: {\n items: { default: () => [] },\n placement: { default: 'bottom-left' },\n closeOnClick: { type: Boolean, default: true },\n disabled: { type: Boolean, default: false }\n },\n emits: [\"select\", \"open\", \"close\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props\n\nconst emit = __emit\n\nconst dropdownRef = ref<HTMLElement | null>(null)\nconst dropdownMenuRef = ref<HTMLElement | null>(null)\nconst isOpen = ref(false)\nconst menuStyles = ref<Record<string, string>>({})\n\nconst toggleDropdown = () => {\n if (props.disabled) return\n \n if (isOpen.value) {\n closeDropdown()\n } else {\n openDropdown()\n }\n}\n\nconst openDropdown = () => {\n isOpen.value = true\n emit('open')\n \n // Calculate position on next tick\n setTimeout(() => {\n updateMenuPosition()\n }, 0)\n}\n\nconst closeDropdown = () => {\n isOpen.value = false\n emit('close')\n}\n\nconst updateMenuPosition = () => {\n if (!dropdownRef.value || !dropdownMenuRef.value) return\n\n const triggerRect = dropdownRef.value.getBoundingClientRect()\n const menuRect = dropdownMenuRef.value.getBoundingClientRect()\n \n let top = 0\n let left = 0\n\n switch (props.placement) {\n case 'bottom-left':\n top = triggerRect.bottom + 8\n left = triggerRect.left\n break\n case 'bottom-right':\n top = triggerRect.bottom + 8\n left = triggerRect.right - menuRect.width\n break\n case 'top-left':\n top = triggerRect.top - menuRect.height - 8\n left = triggerRect.left\n break\n case 'top-right':\n top = triggerRect.top - menuRect.height - 8\n left = triggerRect.right - menuRect.width\n break\n }\n\n menuStyles.value = {\n top: `${top}px`,\n left: `${left}px`\n }\n}\n\nconst handleItemClick = (item: DropdownItem) => {\n if (item.disabled) return\n \n emit('select', item)\n \n if (props.closeOnClick) {\n closeDropdown()\n }\n}\n\nconst handleMenuClick = (event: MouseEvent) => {\n // Prevent closing when clicking inside menu (unless on an item)\n event.stopPropagation()\n}\n\nconst handleClickOutside = (event: MouseEvent) => {\n if (!dropdownRef.value || !dropdownMenuRef.value) return\n \n const target = event.target as Node\n if (!dropdownRef.value.contains(target) && !dropdownMenuRef.value.contains(target)) {\n closeDropdown()\n }\n}\n\nonMounted(() => {\n document.addEventListener('click', handleClickOutside)\n window.addEventListener('scroll', updateMenuPosition, true)\n window.addEventListener('resize', updateMenuPosition)\n})\n\nonUnmounted(() => {\n document.removeEventListener('click', handleClickOutside)\n window.removeEventListener('scroll', updateMenuPosition, true)\n window.removeEventListener('resize', updateMenuPosition)\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n ref_key: \"dropdownRef\",\n ref: dropdownRef,\n class: _normalizeClass([\"dropdown\", { 'dropdown--disabled': __props.disabled }])\n }, [\n _createElementVNode(\"div\", {\n onClick: toggleDropdown,\n class: \"dropdown__trigger\"\n }, [\n _renderSlot(_ctx.$slots, \"trigger\", {}, () => [\n _cache[0] || (_cache[0] = _createElementVNode(\"button\", {\n type: \"button\",\n class: \"dropdown__button\"\n }, \" Menu \", -1))\n ], true)\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createVNode(_Transition, { name: \"dropdown-fade\" }, {\n default: _withCtx(() => [\n (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n ref_key: \"dropdownMenuRef\",\n ref: dropdownMenuRef,\n class: _normalizeClass([\"dropdown__menu\", `dropdown__menu--${__props.placement}`]),\n style: _normalizeStyle(menuStyles.value),\n onClick: handleMenuClick\n }, [\n (_ctx.$slots.header)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"header\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.items, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: index }, [\n (item.divider)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n class: _normalizeClass([\"dropdown__item\", { 'dropdown__item--disabled': item.disabled }]),\n disabled: item.disabled,\n onClick: () => handleItemClick(item)\n }, [\n (item.icon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(item.icon), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(item.label), 1)\n ], 10, _hoisted_4))\n ], 64))\n }), 128))\n ], true)\n ]),\n (_ctx.$slots.footer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"footer\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 6))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n })\n ]))\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"empty-state__icon\"\n}\nconst _hoisted_2 = { class: \"empty-state__icon-text\" }\nconst _hoisted_3 = { class: \"empty-state__content\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"empty-state__title\"\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"empty-state__description\"\n}\nconst _hoisted_6 = {\n key: 2,\n class: \"empty-state__body\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"empty-state__actions\"\n}\n\nimport type { EmptyStateProps } from './types'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'EmptyState',\n props: {\n title: { default: '' },\n description: { default: '' },\n icon: { default: '' },\n actionText: { default: '' },\n actionVariant: { default: 'primary' },\n size: { default: 'medium' }\n },\n emits: [\"action\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\n\nconst emit = __emit\n\nconst handleAction = () => {\n emit('action')\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"empty-state\", `empty-state--${__props.size}`])\n }, [\n (__props.icon || _ctx.$slots.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"icon\", {}, () => [\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(__props.icon), 1)\n ], true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n (__props.title || _ctx.$slots.title)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"title\", {}, () => [\n _createTextVNode(_toDisplayString(__props.title), 1)\n ], true)\n ]))\n : _createCommentVNode(\"\", true),\n (__props.description || _ctx.$slots.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"description\", {}, () => [\n _createTextVNode(_toDisplayString(__props.description), 1)\n ], true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.default)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.actionText || _ctx.$slots.action)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"action\", {}, () => [\n (__props.actionText)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n class: _normalizeClass([\"empty-state__button\", `empty-state__button--${__props.actionVariant}`]),\n onClick: handleAction\n }, _toDisplayString(__props.actionText), 3))\n : _createCommentVNode(\"\", true)\n ], true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"error-summary\",\n role: \"alert\",\n \"aria-live\": \"assertive\"\n}\nconst _hoisted_2 = { class: \"error-summary__header\" }\nconst _hoisted_3 = { class: \"error-summary__title\" }\nconst _hoisted_4 = { class: \"error-summary__subtitle\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { class: \"error-summary__list\" }\nconst _hoisted_7 = [\"href\"]\n\nimport type { ErrorSummaryItem } from './types'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ErrorSummary',\n props: {\n title: { default: 'There is a problem' },\n errors: {}\n },\n setup(__props: any) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.errors.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _cache[1] || (_cache[1] = _createElementVNode(\"span\", { class: \"error-summary__icon\" }, \"⚠️\", -1)),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h4\", _hoisted_3, _toDisplayString(__props.title), 1),\n _createElementVNode(\"p\", _hoisted_4, [\n _createTextVNode(\"Please fix the following \" + _toDisplayString(__props.errors.length) + \" issue\", 1),\n (__props.errors.length !== 1)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, \"s\"))\n : _createCommentVNode(\"\", true),\n _cache[0] || (_cache[0] = _createTextVNode(\":\", -1))\n ])\n ])\n ]),\n _createElementVNode(\"ul\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.errors, (error) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: error.id,\n class: \"error-summary__item\"\n }, [\n _createElementVNode(\"a\", {\n href: `#${error.id}`,\n class: \"error-summary__link\"\n }, _toDisplayString(error.message), 9, _hoisted_7)\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = {\n key: 1,\n class: \"form-group__hint\"\n}\nconst _hoisted_3 = {\n key: 2,\n class: \"form-group__error\"\n}\n\ninterface Props {\n label?: string\n id?: string\n hint?: string\n error?: string\n required?: boolean\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'FormGroup',\n props: {\n label: { default: '' },\n id: { default: '' },\n hint: { default: '' },\n error: { default: '' },\n required: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(['form-group', { 'form-group--error': __props.error }])\n }, [\n (__props.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n for: __props.id,\n class: \"form-group__label\"\n }, _toDisplayString(__props.label), 9, _hoisted_1))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true),\n (__props.hint && !__props.error)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_2, _toDisplayString(__props.hint), 1))\n : _createCommentVNode(\"\", true),\n (__props.error)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_3, _toDisplayString(__props.error), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, resolveDynamicComponent as _resolveDynamicComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport interface HeadingProps {\n tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n size?: '1' | '2' | '3' | '4' | '5' | '6'\n weight?: 'light' | 'normal' | 'medium' | 'semibold' | 'bold'\n align?: 'left' | 'center' | 'right'\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Heading',\n props: {\n tag: { default: 'h2' },\n size: { default: '2' },\n weight: { default: 'bold' },\n align: { default: 'left' }\n },\n setup(__props: any) {\n\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(__props.tag), {\n class: _normalizeClass(['heading', `heading--${__props.size}`, `heading--${__props.weight}`, { [`heading--${__props.align}`]: __props.align }])\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]),\n _: 3\n }, 8, [\"class\"]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"input-wrapper\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\", \"type\", \"value\", \"placeholder\", \"disabled\", \"required\"]\nconst _hoisted_4 = {\n key: 1,\n class: \"input-error\"\n}\nconst _hoisted_5 = {\n key: 2,\n class: \"input-hint\"\n}\n\nimport { computed } from 'vue'\n\nexport interface InputProps {\n modelValue?: string | number\n id?: string\n label?: string\n type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'time'\n placeholder?: string\n disabled?: boolean\n required?: boolean\n error?: string\n hint?: string\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Input',\n props: {\n modelValue: {},\n id: {},\n label: {},\n type: { default: 'text' },\n placeholder: {},\n disabled: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n error: {},\n hint: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nlet componentIdCounter = 0\n\nconst props = __props\n\nconst emit = __emit\n\nconst generatedId = `input-${++componentIdCounter}`\nconst inputId = computed(() => props.id || generatedId)\n\nconst handleInput = (event: Event) => {\n const target = event.target as HTMLInputElement\n emit('update:modelValue', target.value)\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n for: inputId.value,\n class: \"input-label\"\n }, _toDisplayString(__props.label), 9, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"input\", {\n id: inputId.value,\n type: __props.type,\n value: __props.modelValue,\n placeholder: __props.placeholder,\n disabled: __props.disabled,\n required: __props.required,\n class: _normalizeClass(['input-field', { 'input-field--error': __props.error, 'input-field--disabled': __props.disabled }]),\n onInput: handleInput\n }, null, 42, _hoisted_3),\n (__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(__props.error), 1))\n : _createCommentVNode(\"\", true),\n (__props.hint && !__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(__props.hint), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, normalizeClass as _normalizeClass, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, Teleport as _Teleport, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"modal-header\" }\nconst _hoisted_2 = { class: \"modal-title\" }\nconst _hoisted_3 = { class: \"modal-body\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"modal-footer\"\n}\n\nimport { onBeforeUnmount, ref, watch } from 'vue'\n\ninterface Props {\n modelValue: boolean\n title?: string\n size?: 'small' | 'medium' | 'large'\n closable?: boolean\n closeOnOverlay?: boolean\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Modal',\n props: {\n modelValue: { type: Boolean },\n title: { default: '' },\n size: { default: 'medium' },\n closable: { type: Boolean, default: true },\n closeOnOverlay: { type: Boolean, default: true }\n },\n emits: [\"update:modelValue\", \"close\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props\n\nconst emit = __emit\n\nconst close = () => {\n emit('update:modelValue', false)\n emit('close')\n}\n\nconst overlayRef = ref<HTMLElement | null>(null)\nconst pointerDownOnOverlay = ref(false)\nconst draggedOnOverlay = ref(false)\nconst startX = ref(0)\nconst startY = ref(0)\nconst activePointerId = ref<number | null>(null)\nconst lastPointerDownTarget = ref<'overlay' | 'content' | null>(null)\n\nconst handleWindowPointerMove = (event: PointerEvent) => {\n if (!pointerDownOnOverlay.value) return\n const deltaX = Math.abs(event.clientX - startX.value)\n const deltaY = Math.abs(event.clientY - startY.value)\n if (deltaX > 5 || deltaY > 5) {\n draggedOnOverlay.value = true\n }\n}\n\nconst handleWindowPointerUp = (event: PointerEvent) => {\n window.removeEventListener('pointermove', handleWindowPointerMove)\n window.removeEventListener('pointerup', handleWindowPointerUp)\n\n if (!pointerDownOnOverlay.value || lastPointerDownTarget.value !== 'overlay') {\n pointerDownOnOverlay.value = false\n draggedOnOverlay.value = false\n lastPointerDownTarget.value = null\n return\n }\n const overlayEl = overlayRef.value\n const isOverlayTarget = overlayEl && event.target === overlayEl\n\n if (props.closeOnOverlay && isOverlayTarget && !draggedOnOverlay.value) {\n close()\n }\n\n if (overlayEl && activePointerId.value !== null && overlayEl.hasPointerCapture(activePointerId.value)) {\n overlayEl.releasePointerCapture(activePointerId.value)\n }\n activePointerId.value = null\n\n pointerDownOnOverlay.value = false\n draggedOnOverlay.value = false\n lastPointerDownTarget.value = null\n}\n\nconst handleOverlayPointerDown = (event: PointerEvent) => {\n if (!props.closeOnOverlay) return\n if (event.target !== event.currentTarget) return\n\n pointerDownOnOverlay.value = true\n draggedOnOverlay.value = false\n lastPointerDownTarget.value = 'overlay'\n startX.value = event.clientX\n startY.value = event.clientY\n\n const overlayEl = overlayRef.value\n if (overlayEl) {\n activePointerId.value = event.pointerId\n overlayEl.setPointerCapture(event.pointerId)\n }\n\n window.addEventListener('pointermove', handleWindowPointerMove)\n window.addEventListener('pointerup', handleWindowPointerUp)\n}\n\nconst handleContentPointerDown = () => {\n lastPointerDownTarget.value = 'content'\n}\n\nonBeforeUnmount(() => {\n window.removeEventListener('pointermove', handleWindowPointerMove)\n window.removeEventListener('pointerup', handleWindowPointerUp)\n})\n\n// Lock body scroll when modal is open\nwatch(() => props.modelValue, (isOpen) => {\n if (isOpen) {\n document.body.style.overflow = 'hidden'\n } else {\n document.body.style.overflow = ''\n }\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createVNode(_Transition, { name: \"modal\" }, {\n default: _withCtx(() => [\n (__props.modelValue)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n ref_key: \"overlayRef\",\n ref: overlayRef,\n class: \"modal-overlay\",\n onPointerdown: _withModifiers(handleOverlayPointerDown, [\"self\"])\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"modal-content\", [`modal-content--${__props.size}`]]),\n onClick: _cache[0] || (_cache[0] = _withModifiers(() => {}, [\"stop\"])),\n onPointerdown: _withModifiers(handleContentPointerDown, [\"stop\"]),\n onPointerup: _cache[1] || (_cache[1] = _withModifiers(() => {}, [\"stop\"]))\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"header\", {}, () => [\n _createElementVNode(\"h3\", _hoisted_2, _toDisplayString(__props.title), 1)\n ], true),\n (__props.closable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: close,\n class: \"modal-close\",\n \"aria-label\": \"Close modal\"\n }, \" × \"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]),\n (_ctx.$slots.footer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"footer\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 34)\n ], 544))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n })\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from \"vue\"\n\nconst _hoisted_1 = { class: \"progress-bar\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"progress-bar__header\"\n}\nconst _hoisted_3 = { class: \"progress-bar__label\" }\nconst _hoisted_4 = { class: \"progress-bar__percentage\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"progress-bar__text\"\n}\n\nimport { computed } from 'vue'\n\ninterface Props {\n percentage: number\n label?: string\n showLabel?: boolean\n showPercentageInBar?: boolean\n height?: number\n variant?: 'primary' | 'success' | 'warning' | 'danger'\n animated?: boolean\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ProgressBar',\n props: {\n percentage: { default: 0 },\n label: { default: '' },\n showLabel: { type: Boolean, default: true },\n showPercentageInBar: { type: Boolean, default: false },\n height: { default: 12 },\n variant: { default: 'primary' },\n animated: { type: Boolean, default: true }\n },\n setup(__props: any) {\n\nconst props = __props\n\nconst clampedPercentage = computed(() => {\n return Math.min(Math.max(props.percentage, 0), 100)\n})\n\nconst displayPercentage = computed(() => {\n return Math.round(clampedPercentage.value)\n})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.showLabel)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(__props.label), 1),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(displayPercentage.value) + \"%\", 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: \"progress-bar__track\",\n style: _normalizeStyle({ height: `${__props.height}px` })\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"progress-bar__fill\", [\n `progress-bar__fill--${__props.variant}`,\n { 'progress-bar__fill--animated': __props.animated }\n ]]),\n style: _normalizeStyle({ width: `${clampedPercentage.value}%` })\n }, [\n (__props.showPercentageInBar)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(displayPercentage.value) + \"% \", 1))\n : _createCommentVNode(\"\", true)\n ], 6)\n ], 4)\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"select-wrapper\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\", \"value\", \"disabled\", \"required\"]\nconst _hoisted_4 = {\n key: 0,\n value: \"\",\n disabled: \"\"\n}\nconst _hoisted_5 = [\"value\"]\nconst _hoisted_6 = {\n key: 1,\n class: \"select-error\"\n}\nconst _hoisted_7 = {\n key: 2,\n class: \"select-hint\"\n}\n\nimport { computed } from 'vue'\n\nexport interface SelectOption {\n value: string | number\n label: string\n}\n\nexport interface SelectProps {\n modelValue?: string | number\n id?: string\n label?: string\n options?: SelectOption[]\n placeholder?: string\n disabled?: boolean\n required?: boolean\n error?: string\n hint?: string\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Select',\n props: {\n modelValue: {},\n id: {},\n label: {},\n options: { default: () => [] },\n placeholder: {},\n disabled: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n error: {},\n hint: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nlet componentIdCounter = 0\n\nconst props = __props\n\nconst emit = __emit\n\nconst generatedId = `select-${++componentIdCounter}`\nconst selectId = computed(() => props.id || generatedId)\n\nconst handleChange = (event: Event) => {\n const target = event.target as HTMLSelectElement\n emit('update:modelValue', target.value)\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n for: selectId.value,\n class: \"select-label\"\n }, _toDisplayString(__props.label), 9, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"select\", {\n id: selectId.value,\n value: __props.modelValue,\n disabled: __props.disabled,\n required: __props.required,\n class: _normalizeClass([\n 'select-field', \n { \n 'select-field--error': __props.error, \n 'select-field--disabled': __props.disabled,\n 'select-field--placeholder': !__props.modelValue || __props.modelValue === ''\n }\n ]),\n onChange: handleChange\n }, [\n (__props.placeholder)\n ? (_openBlock(), _createElementBlock(\"option\", _hoisted_4, _toDisplayString(__props.placeholder), 1))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: option.value,\n value: option.value\n }, _toDisplayString(option.label), 9, _hoisted_5))\n }), 128))\n ], 42, _hoisted_3),\n (__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(__props.error), 1))\n : _createCommentVNode(\"\", true),\n (__props.hint && !__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(__props.hint), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"stat-card__title\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"stat-card__input-wrapper\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"stat-card__prefix\"\n}\nconst _hoisted_4 = [\"value\", \"placeholder\"]\nconst _hoisted_5 = {\n key: 1,\n class: \"stat-card__suffix\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"stat-card__value-wrapper\"\n}\nconst _hoisted_7 = {\n key: 0,\n class: \"stat-card__prefix\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"stat-card__suffix\"\n}\nconst _hoisted_9 = { class: \"stat-card__trend-icon\" }\nconst _hoisted_10 = { class: \"stat-card__trend-value\" }\n\nimport { computed } from 'vue'\nimport type { StatCardProps } from './types'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'StatCard',\n props: {\n title: {},\n value: {},\n variant: { default: 'default' },\n prefix: { default: '' },\n suffix: { default: '' },\n editable: { type: Boolean, default: false },\n trend: {}\n },\n emits: [\"input\", \"change\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props\n\nconst emit = __emit\n\nconst formattedValue = computed(() => {\n if (typeof props.value === 'number') {\n return props.value.toLocaleString()\n }\n return props.value\n})\n\nconst isNegative = computed(() => {\n return typeof props.value === 'number' && props.value < 0\n})\n\nconst handleInput = (event: Event) => {\n const target = event.target as HTMLInputElement\n const value = target.valueAsNumber || target.value\n emit('input', value)\n}\n\nconst handleChange = (event: Event) => {\n const target = event.target as HTMLInputElement\n const value = target.valueAsNumber || target.value\n emit('change', value)\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"stat-card\", `stat-card--${__props.variant}`])\n }, [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(__props.title), 1),\n (__props.editable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (__props.prefix)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _toDisplayString(__props.prefix), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"input\", {\n value: __props.value,\n onInput: handleInput,\n onChange: handleChange,\n type: \"number\",\n class: \"stat-card__input\",\n placeholder: String(__props.value)\n }, null, 40, _hoisted_4),\n (__props.suffix)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(__props.suffix), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"p\", {\n class: _normalizeClass([\"stat-card__value\", { 'stat-card__value--negative': isNegative.value }])\n }, [\n (__props.prefix)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(__props.prefix), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(formattedValue.value), 1),\n (__props.suffix)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(__props.suffix), 1))\n : _createCommentVNode(\"\", true)\n ], 2),\n (__props.trend)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"stat-card__trend\", `stat-card__trend--${__props.trend.direction}`])\n }, [\n _createElementVNode(\"span\", _hoisted_9, _toDisplayString(__props.trend.direction === 'up' ? '↑' : '↓'), 1),\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(Math.abs(__props.trend.value)) + \"%\", 1)\n ], 2))\n : _createCommentVNode(\"\", true)\n ])),\n _renderSlot(_ctx.$slots, \"footer\", {}, undefined, true)\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport type { TagProps } from './types'\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'Tag',\n props: {\n variant: { default: 'default' },\n size: { default: 'medium' }\n },\n setup(__props: any) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(['tag', `tag--${__props.variant}`, `tag--${__props.size}`])\n }, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ], 2))\n}\n}\n\n})","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"textarea-wrapper\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\", \"value\", \"placeholder\", \"disabled\", \"required\", \"rows\"]\nconst _hoisted_4 = {\n key: 1,\n class: \"textarea-error\"\n}\nconst _hoisted_5 = {\n key: 2,\n class: \"textarea-hint\"\n}\n\nimport { computed } from 'vue'\n\nexport interface TextAreaProps {\n modelValue?: string\n id?: string\n label?: string\n placeholder?: string\n disabled?: boolean\n required?: boolean\n rows?: number\n error?: string\n hint?: string\n}\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'TextArea',\n props: {\n modelValue: {},\n id: {},\n label: {},\n placeholder: {},\n disabled: { type: Boolean, default: false },\n required: { type: Boolean, default: false },\n rows: { default: 4 },\n error: {},\n hint: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nlet componentIdCounter = 0\n\nconst props = __props\n\nconst emit = __emit\n\nconst generatedId = `textarea-${++componentIdCounter}`\nconst textareaId = computed(() => props.id || generatedId)\n\nconst handleInput = (event: Event) => {\n const target = event.target as HTMLTextAreaElement\n emit('update:modelValue', target.value)\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n for: textareaId.value,\n class: \"textarea-label\"\n }, _toDisplayString(__props.label), 9, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"textarea\", {\n id: textareaId.value,\n value: __props.modelValue,\n placeholder: __props.placeholder,\n disabled: __props.disabled,\n required: __props.required,\n rows: __props.rows,\n class: _normalizeClass(['textarea-field', { 'textarea-field--error': __props.error, 'textarea-field--disabled': __props.disabled }]),\n onInput: handleInput\n }, null, 42, _hoisted_3),\n (__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(__props.error), 1))\n : _createCommentVNode(\"\", true),\n (__props.hint && !__props.error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(__props.hint), 1))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})"],"names":["_sfc_main$i","_defineComponent","__props","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_renderSlot","_hoisted_1","__emit","props","emit","handleClick","event","_createBlock","_resolveDynamicComponent","_mergeProps","_toHandlers","_withCtx","_createCommentVNode","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","initialDate","year","month","day","currentMonth","ref","currentYear","pickerMode","rangeStart","yearPageStart","monthNames","fullMonthNames","weekdayNames","monthName","computed","weekdays","days","yearRange","_","i","yearRangeLabel","start","end","calendarDays","firstDay","lastDay","startDay","prevMonthDays","date","createCalendarDay","remainingDays","isCurrentMonth","dateString","formatDate","today","isDateSelected","isDateDisabled","isDateInRange","_a","selectDate","current","index","previousMonth","nextMonth","showMonthPicker","showYearPicker","selectMonth","selectYear","previousYearPage","nextYearPage","_createElementVNode","_withModifiers","_toDisplayString","_Fragment","_renderList","$event","handleChange","target","sortKey","sortOrder","handleSort","key","sortedData","a","b","aVal","bVal","comparison","column","_createTextVNode","row","isOpen","componentIdCounter","generatedId","inputId","datePickerRef","dropdownRef","dropdownStyle","internalValue","watch","newValue","displayValue","d","toggleCalendar","closeCalendar","openCalendar","rect","spaceBelow","calendarHeight","handleDateSelect","value","handleClickOutside","_b","onMounted","onBeforeUnmount","_Teleport","_normalizeStyle","_createVNode","Calendar","dropdownMenuRef","menuStyles","toggleDropdown","closeDropdown","openDropdown","updateMenuPosition","triggerRect","menuRect","top","left","handleItemClick","item","handleMenuClick","onUnmounted","_Transition","handleAction","error","handleInput","close","overlayRef","pointerDownOnOverlay","draggedOnOverlay","startX","startY","activePointerId","lastPointerDownTarget","handleWindowPointerMove","deltaX","deltaY","handleWindowPointerUp","overlayEl","isOverlayTarget","handleOverlayPointerDown","handleContentPointerDown","clampedPercentage","displayPercentage","selectId","option","formattedValue","is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iE,EAAAA,mBAAoB,WAAY,CAC9B,GAAIyF,EAAW,MACf,MAAO5K,EAAQ,WACf,YAAaA,EAAQ,YACrB,SAAUA,EAAQ,SAClB,SAAUA,EAAQ,SAClB,KAAMA,EAAQ,KACd,MAAOK,EAAAA,eAAgB,CAAC,iBAAkB,CAAE,wBAAyBL,EAAQ,MAAO,2BAA4BA,EAAQ,QAAA,CAAU,CAAC,EACnI,QAASqJ,CAAA,EACR,KAAM,GAAIjI,EAAU,EACtBpB,EAAQ,OACJG,EAAAA,UAAA,EAAcC,EAAAA,mBAAoB,OAAQiB,GAAYgE,EAAAA,gBAAiBrF,EAAQ,KAAK,EAAG,CAAC,GACzFkB,EAAAA,mBAAoB,GAAI,EAAI,EAC/BlB,EAAQ,MAAQ,CAACA,EAAQ,OACrBG,EAAAA,UAAA,EAAcC,EAAAA,mBAAoB,OAAQkB,GAAY+D,EAAAA,gBAAiBrF,EAAQ,IAAI,EAAG,CAAC,GACxFkB,EAAAA,mBAAoB,GAAI,EAAI,CAAA,CACjC,EAEH,CAEA,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,19 @@
1
- import Badge from './Badge/Badge.vue';
2
- export { Badge };
1
+ export { default as VBadge } from './Badge/Badge.vue';
2
+ export { default as VButton } from './Button/Button.vue';
3
+ export { default as VCalendar } from './Calendar/Calendar.vue';
4
+ export { default as VCard } from './Card/Card.vue';
5
+ export { default as VCheckbox } from './Checkbox/Checkbox.vue';
6
+ export { default as VDataTable } from './DataTable/DataTable.vue';
7
+ export { default as VDatePicker } from './DatePicker/DatePicker.vue';
8
+ export { default as VDropdown } from './Dropdown/Dropdown.vue';
9
+ export { default as VEmptyState } from './EmptyState/EmptyState.vue';
10
+ export { default as VErrorSummary } from './ErrorSummary/ErrorSummary.vue';
11
+ export { default as VFormGroup } from './FormGroup/FormGroup.vue';
12
+ export { default as VHeading } from './Heading/Heading.vue';
13
+ export { default as VInput } from './Input/Input.vue';
14
+ export { default as VModal } from './Modal/Modal.vue';
15
+ export { default as VProgressBar } from './ProgressBar/ProgressBar.vue';
16
+ export { default as VSelect } from './Select/Select.vue';
17
+ export { default as VStatCard } from './StatCard/StatCard.vue';
18
+ export { default as VTag } from './Tag/Tag.vue';
19
+ export { default as VTextArea } from './TextArea/TextArea.vue';