aquasis-fe-components 3.2.0 → 3.2.1-alpha.b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .helpdesk__trigger{--helpdesk-neon:var(--helpdesk-accent,#2ed9b6);box-sizing:border-box;cursor:pointer;border:1px solid color-mix(in srgb, var(--helpdesk-neon) 65%, #1b263b);color:var(--helpdesk-neon);box-shadow:none;background:0 0;border-radius:9999px;outline:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:border-color .15s,background-color .15s,color .15s;display:inline-flex;position:relative}.helpdesk__trigger--md{width:2.5rem;height:2.5rem}.helpdesk__trigger--sm{width:2.25rem;height:2.25rem}.helpdesk__trigger--lg{width:2.75rem;height:2.75rem}.helpdesk__trigger:hover{border-color:color-mix(in srgb, var(--helpdesk-neon) 82%, white);color:color-mix(in srgb, var(--helpdesk-neon) 90%, white)}.helpdesk__trigger:active{border-color:color-mix(in srgb, var(--helpdesk-neon) 60%, #0f172a)}.helpdesk__trigger:focus-visible{outline:2px solid var(--helpdesk-neon);outline-offset:2px}.helpdesk__trigger--outline.helpdesk__trigger--dark{--helpdesk-neon:var(--helpdesk-accent,#33d8ff);border-color:var(--helpdesk-neon);background:0 0}.helpdesk__trigger--outline.helpdesk__trigger--dark:hover{border-color:color-mix(in srgb, var(--helpdesk-neon) 88%, #e2e8f0);color:color-mix(in srgb, var(--helpdesk-neon) 92%, white)}.helpdesk__trigger--outline:not(.helpdesk__trigger--dark){border-color:color-mix(in srgb, var(--helpdesk-neon) 50%, #0891b2);color:#0891b2;background:#ffffff59}.helpdesk__trigger--outline:not(.helpdesk__trigger--dark):hover{background:#ffffff8c;border-color:#0891b2}.helpdesk__trigger-icon{z-index:1;line-height:1;position:relative}.helpdesk__trigger-icon--sm{font-size:1rem}.helpdesk__trigger-icon--md{font-size:1.125rem}.helpdesk__trigger-icon--lg{font-size:1.35rem}.helpdesk__container .ant-popover-inner,.helpdesk__container .ant-popover-container{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffffa;border:1px solid #e2e8f0f2;border-radius:.875rem;padding:0;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a2e,0 12px 24px #0f172a14}.helpdesk__container .ant-card{box-shadow:none;background:0 0;border:none;border-radius:0}.helpdesk__container .ant-card .ant-card-body{height:100%;max-height:80dvh;overflow-y:auto}.helpdesk__container:not(.helpdesk__container--dark) .ant-popover-inner,.helpdesk__container:not(.helpdesk__container--dark) .ant-popover-container{border:1px solid #0f172a0f;border-radius:.875rem;box-shadow:0 4px 28px #0f172a12,0 1px 2px #0f172a0a}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__content{padding:1.125rem 1.25rem 1.375rem}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__subtitle.ant-typography{border-bottom:1px solid #0f172a0f;padding-bottom:.75rem;font-weight:500;color:#475569!important;margin-bottom:1rem!important;font-size:.8125rem!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-form-item{margin-bottom:1.125rem}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-form-item-label>label{font-weight:500;color:#334155!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-form-item-required:before{color:#b4787d!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-affix-wrapper,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form textarea.ant-input,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form input.ant-input.ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form textarea.ant-input.ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-affix-wrapper.ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-textarea-affix-wrapper.ant-input-outlined{border-color:#0f172a1a!important;border-radius:.375rem!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-upload-drag{background-color:#f8fafc!important;border:1px dashed #0f172a1f!important;border-radius:.375rem!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .helpdesk__submit-btn.ant-btn-primary{box-shadow:none!important;border-radius:.375rem!important;font-weight:500!important}.helpdesk__container.helpdesk__container--dark{--hw-app-bg:#0c141d;--hw-modal-shell:#141c26;--hw-canvas:#0a1018;--hw-edge:#243241;--hw-chart-teal:#33d8ff;--hw-muted:#95a9c4}.helpdesk__container.helpdesk__container--dark .ant-popover-inner,.helpdesk__container.helpdesk__container--dark .ant-popover-container{background-color:var(--hw-modal-shell)!important;border:1px solid #ffffff0e!important;border-radius:.875rem!important;box-shadow:0 8px 24px #00000052!important}.helpdesk__container.helpdesk__container--dark .ant-popover-content{background:0 0!important}.helpdesk__container.helpdesk__container--dark .helpdesk__content{color:#f1f5f9;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:1.25rem 1.25rem 1.5rem}.helpdesk__container.helpdesk__container--dark .helpdesk__title{padding:0 0 .5rem}.helpdesk__container.helpdesk__container--dark .helpdesk__title--hero.ant-typography{color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 88%, #94a3b8);letter-spacing:-.028em;font-weight:600;line-height:1.25}.helpdesk__container.helpdesk__container--dark .helpdesk__subtitle.ant-typography{box-shadow:none;letter-spacing:.02em;border:none;border-bottom:1px solid #ffffff0e;border-radius:0;padding:0 0 .75rem;font-weight:500;color:#cbd5e1!important;background:0 0!important;margin:0 0 1.125rem!important;font-size:.8125rem!important}.helpdesk__container.helpdesk__container--dark .helpdesk__card.ant-card{background:0 0!important}.helpdesk__container.helpdesk__container--dark .helpdesk__card .ant-card-body{padding:.5rem 0 0}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item{margin-bottom:1.25rem}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item:last-child{margin-bottom:0}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item-label>label{letter-spacing:.01em;font-weight:500;color:#e2e8f0!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item-required:before{color:#c88287!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input,.helpdesk__container.helpdesk__container--dark .helpdesk__form input.ant-input.ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input.ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper.ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-textarea-affix-wrapper.ant-input-outlined{background:var(--hw-canvas)!important;background-color:var(--hw-canvas)!important;color:#f8fafc!important;box-shadow:none!important;border:1px solid #ffffff12!important;border-radius:.375rem!important;transition:border-color .15s!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input::placeholder,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input::placeholder{opacity:.85;color:var(--hw-muted)!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper.ant-input-outlined:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-textarea-affix-wrapper.ant-input-outlined:hover{border-color:color-mix(in srgb, #ffffff1f 60%, var(--helpdesk-panel-accent,var(--hw-chart-teal)))!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input:focus,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper-focused,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input:focus,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper-focused.ant-input-outlined{border-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 75%, #fff3)!important;box-shadow:none!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag{background:var(--hw-canvas)!important;background-color:var(--hw-canvas)!important;box-shadow:none!important;border:1px dashed #ffffff1a!important;border-radius:.375rem!important;padding:1.375rem 1.125rem!important;transition:border-color .15s,background-color .15s!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag:hover{border-color:color-mix(in srgb, #ffffff24 55%, var(--helpdesk-panel-accent,var(--hw-chart-teal)))!important;background:color-mix(in srgb, var(--hw-canvas) 92%, var(--hw-modal-shell))!important;box-shadow:none!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag .ant-upload-drag-icon{margin-bottom:.375rem;color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 82%, var(--hw-muted))!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag p{font-weight:500;color:#f1f5f9!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag .ant-upload-hint,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag small{opacity:.88;color:var(--hw-muted)!important}.helpdesk__container.helpdesk__container--dark .helpdesk__submit-btn.ant-btn-primary{letter-spacing:.03em;margin-top:.375rem;transition:background-color .15s,border-color .15s;color:#fff!important;background:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 92%, var(--hw-modal-shell))!important;background-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 92%, var(--hw-modal-shell))!important;height:auto!important;box-shadow:none!important;border:1px solid #00000038!important;border-radius:.375rem!important;padding-block:.75rem!important;font-weight:500!important}.helpdesk__container.helpdesk__container--dark .helpdesk__submit-btn.ant-btn-primary:not(:disabled):hover{filter:none;background:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 78%, black)!important;background-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 78%, black)!important;box-shadow:none!important}.helpdesk__container.helpdesk__container--dark .helpdesk__submit-btn.ant-btn-primary:not(:disabled):active{filter:none;background:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 70%, black)!important;background-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 70%, black)!important}.helpdesk__content{background-color:#0000;border-radius:0;width:100%;max-width:400px;padding:.75rem 1rem 1rem}.helpdesk__title{padding:.5rem 0 .75rem;margin-bottom:0!important}.helpdesk__title.ant-typography{color:#06b6d4}.helpdesk__title--hero.ant-typography{color:var(--helpdesk-panel-accent,#06b6d4)}.helpdesk__subtitle.ant-typography{color:#334155}.helpdesk__fields-files{flex-direction:column;width:100%;margin-top:10px}.helpdesk__fields-files .ant-upload-list{width:100%;margin-top:5px}.language-switcher__trigger{text-align:left;color:#334155;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;background-color:#ffffffb3;border:1px solid #e2e8f0e6;border-radius:9999px;outline:none;align-items:center;gap:.5rem;max-width:100%;padding:.375rem .625rem;font-size:.875rem;line-height:1.25;transition:box-shadow .2s,transform .2s,border-color .2s,background-color .2s,opacity .2s;display:inline-flex;box-shadow:0 1px 2px #0000000d}.language-switcher__trigger:hover:not(:disabled){background-color:#ffffffeb;border-color:#67e8f9b3;transform:translateY(-1px);box-shadow:0 4px 6px -1px #00000014,0 2px 4px -2px #0000000f,0 0 0 1px #06b6d426}.language-switcher__trigger:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #06b6d459}.language-switcher__trigger:disabled{cursor:wait;opacity:.6;pointer-events:none}.language-switcher__trigger--dark{color:#f8fafc;background-color:#1e293b8c;border-color:#ffffff1f;box-shadow:0 1px 2px #0003,inset 0 1px #ffffff0a}.language-switcher__trigger--dark:hover:not(:disabled){background-color:#1e293bbf;border-color:#06b6d466;box-shadow:0 4px 12px #00000059,0 0 0 1px #06b6d41f}.language-switcher__trigger--dark:focus-visible{box-shadow:0 0 0 2px #0f172a,0 0 0 4px #22d3ee59}.language-switcher__trigger:hover:not(:disabled) .language-switcher__globe{opacity:1}.language-switcher__trigger-label{vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.02em;color:#475569;min-width:0;max-width:6.5rem;font-size:.75rem;font-weight:500;display:inline-block;overflow:hidden}.language-switcher__trigger--dark .language-switcher__trigger-label{color:#f8fafc;font-weight:500}.language-switcher__globe{color:#0891b2;opacity:.85;flex-shrink:0;width:.875rem;height:.875rem;font-size:.875rem;transition:opacity .2s}.language-switcher__trigger--dark .language-switcher__globe{color:#22d3ee}.language-switcher__chevron{opacity:.55;color:#64748b;flex-shrink:0;width:.875rem;height:.875rem;font-size:.75rem;transition:transform .2s ease-out,color .2s}.language-switcher__trigger--dark .language-switcher__chevron{color:#e2e8f0;opacity:.9}.language-switcher__chevron--open{transform:rotate(180deg)}.language-switcher__check-icon{font-size:.875rem}.language-switcher__panel{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:#fffffff2;border:1px solid #e2e8f0e6;border-radius:1rem;padding:.375rem;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a1a,0 12px 24px #0f172a0f}.language-switcher__panel--dark{background-color:#0f172afa;border-color:#334155d9;box-shadow:0 25px 50px -12px #0000008c,0 12px 24px #00000059}.language-switcher__flag-shell{-webkit-user-select:none;user-select:none;box-sizing:border-box;background:linear-gradient(#f1f5f9,#e2e8f0e6);border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;line-height:1;display:inline-flex;overflow:hidden;box-shadow:inset 0 1px #ffffff59,inset 0 0 0 1px #cbd5e1b3}.language-switcher__flag-shell--sm{width:1.5rem;height:1.5rem}.language-switcher__flag-shell--md{width:1.75rem;height:1.75rem}.language-switcher__flag-shell--emoji.language-switcher__flag-shell--sm{font-size:15px}.language-switcher__flag-shell--emoji.language-switcher__flag-shell--md{font-size:17px}.language-switcher__flag-img{object-fit:cover;object-position:center 42%;width:100%;height:100%;transform:scale(1.06)}.language-switcher__menu-row{align-items:center;gap:.75rem;width:100%;min-width:11rem;display:flex}.language-switcher__menu-row--flag-only{justify-content:center;gap:0;min-width:2.75rem}.language-switcher__menu-text{text-align:left;flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.language-switcher__menu-title{text-overflow:ellipsis;white-space:nowrap;color:#1e293b;font-size:.875rem;font-weight:500;overflow:hidden}.language-switcher__panel--dark .language-switcher__menu-title{color:#fff;font-weight:700}.language-switcher__menu-code{letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;font-size:11px;font-weight:500}.language-switcher__panel--dark .language-switcher__menu-code{color:#94a3b8;opacity:.95}.language-switcher__check{color:#0891b2;flex-shrink:0;justify-content:center;align-items:center;width:1rem;height:1rem;margin-left:auto;display:flex}.language-switcher__check--flag-only{margin-left:0}.language-switcher__panel--dark .language-switcher__check{color:#22d3ee}.language-switcher__panel .language-switcher__ant-menu.ant-dropdown-menu,.language-switcher__panel .ant-dropdown-menu.language-switcher__ant-menu{margin:0;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.language-switcher__panel .language-switcher__ant-menu .ant-dropdown-menu-item,.language-switcher__panel .ant-dropdown-menu.language-switcher__ant-menu .ant-dropdown-menu-item{border-radius:.75rem!important;height:auto!important;margin-block:.125rem!important;margin-inline:0!important;padding:.5rem!important;line-height:1.35!important}.language-switcher__panel--dark .ant-dropdown-menu-item,.language-switcher__panel--dark .ant-dropdown-menu-submenu-title{color:#f8fafc!important}.language-switcher__panel .ant-dropdown-menu-item-active{background-color:#f1f5f9e6!important}.language-switcher__panel--dark .ant-dropdown-menu-item-active:not(.ant-dropdown-menu-item-selected){background-color:#33415573!important}.language-switcher__panel:not(.language-switcher__panel--dark) .ant-dropdown-menu-item-selected{background-color:#06b6d41f!important}.language-switcher__panel--dark .ant-dropdown-menu-item-selected{box-shadow:inset 0 1px #ffffff0f;background-color:#0f766e6b!important}.language-switcher__panel--dark .ant-dropdown-menu-item-selected.ant-dropdown-menu-item-active{background-color:#0f766e7a!important}.theme-mode-toggle{z-index:20;isolation:isolate;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background-color:#ffffffb3;border:1px solid #e2e8f0cc;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;height:2.5rem;min-height:2.5rem;padding:.25rem;line-height:1;transition:box-shadow .3s,background-color .3s;display:inline-flex;position:relative;box-shadow:0 1px 2px #0f172a0f,0 2px 6px #0f172a0a}.theme-mode-toggle:hover{box-shadow:0 2px 8px #0f172a14,0 1px 2px #0f172a0d,0 0 0 1px #06b6d41a}.theme-mode-toggle:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #06b6d466}.theme-mode-toggle--dark-context{background-color:#0f172a99;border-color:#ffffff1a;box-shadow:0 1px 2px #00000059,0 2px 8px #0003}.theme-mode-toggle--dark-context:hover{box-shadow:0 2px 10px #0006,0 0 0 1px #06b6d426}.theme-mode-toggle--dark-context:focus-visible{box-shadow:0 0 0 2px #020617,0 0 0 4px #22d3ee59}.theme-mode-toggle--dark-context .theme-mode-toggle__thumb{background:linear-gradient(to bottom right,#475569,#334155);border-color:#ffffff1f;box-shadow:0 1px 3px #00000073}.theme-mode-toggle__track{flex-shrink:0;width:4rem;height:2rem;position:relative}.theme-mode-toggle__thumb{pointer-events:none;inset-block:0;z-index:0;will-change:transform;background:linear-gradient(to bottom right,#fff,#f1f5f9);border:1px solid #0f172a14;border-radius:9999px;width:2rem;transition:transform .38s cubic-bezier(.34,1.56,.64,1);position:absolute;left:0;box-shadow:0 1px 2px #0f172a1f,inset 0 1px #ffffffd9}.theme-mode-toggle__thumb--dark{transform:translate(2rem)}.theme-mode-toggle__icons{z-index:10;grid-template-columns:repeat(2,1fr);place-items:center;width:100%;height:100%;display:grid;position:relative}.theme-mode-toggle__icon-cell{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.theme-mode-toggle__icon{flex-shrink:0;width:1rem;height:1rem;transition:color .2s;display:block}.theme-mode-toggle__icon--sun-active{color:#f59e0b}.theme-mode-toggle__icon--sun-idle{color:#94a3b8d9}.theme-mode-toggle__icon--moon-active{color:#bae6fd}.theme-mode-toggle__icon--moon-idle{color:#94a3b8bf}.profile-chip{background:linear-gradient(#fff 0%,#f8fafc 100%);border:none;border-radius:14px;align-items:center;gap:0;max-width:min(100%,420px);padding:12px 14px 12px 12px;display:inline-flex;box-shadow:0 0 0 1px #e2e8f0d9,0 4px 18px #0f172a0f}.profile-chip--loading{align-items:center;gap:12px;padding:10px 14px}.profile-chip__left{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.profile-chip__avatar{flex-shrink:0;border-radius:10px!important}.profile-chip__avatar.ant-avatar-square{border-radius:10px!important}.profile-chip__meta{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.profile-chip__name{color:#0f172a!important;margin:0!important;font-size:.875rem!important;font-weight:600!important;line-height:1.25!important}.profile-chip__email{color:#64748b!important;margin:0!important;font-size:.8125rem!important;line-height:1.5!important}.profile-chip__role{align-self:flex-start;margin-top:4px!important;margin-inline-end:0!important;font-size:.75rem!important;line-height:1.35!important}.profile-chip__more{flex-shrink:0;color:#64748b!important;border-radius:6px!important}.profile-chip__more:hover{color:#06b6d4!important;background:#06b6d414!important}.profile-chip__divider.ant-divider-vertical{opacity:.9;border-inline-start-color:#e2e8f0e6;align-self:stretch;height:auto;min-height:44px;margin:0 6px}.profile-chip__logout{box-shadow:none;flex-shrink:0;align-items:center;gap:8px;transition:color .15s,background-color .15s,border-color .15s;color:#03697b!important;background:#06b6d41a!important;border:none!important;border-radius:10px!important;height:auto!important;padding:8px 12px!important;font-weight:500!important;display:inline-flex!important}.profile-chip__logout .anticon{font-size:17px;transition:color .15s;color:#047a8f!important}.profile-chip__logout:hover,.profile-chip__logout:focus-visible{color:#d4183d!important;background:#d4183d24!important;border-color:#d4183d47!important}.profile-chip__logout:hover .anticon,.profile-chip__logout:focus-visible .anticon{color:#d4183d!important}html.dark .profile-chip,body.dark .profile-chip{-webkit-backdrop-filter:blur(14px);background:#0b101cfc;border:none;box-shadow:0 0 0 1px #ffffff24,0 8px 26px #00000075}html.dark .profile-chip .profile-chip__name,body.dark .profile-chip .profile-chip__name{color:#f8fafc!important}html.dark .profile-chip .profile-chip__email,body.dark .profile-chip .profile-chip__email{color:#cbd5e1!important}html.dark .profile-chip .profile-chip__divider.ant-divider-vertical,body.dark .profile-chip .profile-chip__divider.ant-divider-vertical{border-inline-start-color:#fff3}html.dark .profile-chip .profile-chip__logout,body.dark .profile-chip .profile-chip__logout{box-shadow:inset 0 0 0 1px #22d3ee52;color:#e6f9ff!important;background:#22d3ee29!important;border:none!important}html.dark .profile-chip .profile-chip__logout .anticon,body.dark .profile-chip .profile-chip__logout .anticon{color:#a5f3fc!important}html.dark .profile-chip .profile-chip__logout:hover,html.dark .profile-chip .profile-chip__logout:focus-visible,body.dark .profile-chip .profile-chip__logout:hover,body.dark .profile-chip .profile-chip__logout:focus-visible{color:#d4183d!important;background:#d4183d33!important;border-color:#d4183d59!important}html.dark .profile-chip .profile-chip__logout:hover .anticon,html.dark .profile-chip .profile-chip__logout:focus-visible .anticon,body.dark .profile-chip .profile-chip__logout:hover .anticon,body.dark .profile-chip .profile-chip__logout:focus-visible .anticon{color:#d4183d!important}html.dark .profile-chip .profile-chip__more,body.dark .profile-chip .profile-chip__more{color:#cbd5e1!important}html.dark .profile-chip .profile-chip__more:hover,body.dark .profile-chip .profile-chip__more:hover{color:#67e8f9!important;background:#22d3ee33!important}html.dark .profile-chip .profile-chip__role.ant-tag,body.dark .profile-chip .profile-chip__role.ant-tag{border-color:#3b82f673}.profile-chip__panel{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:#fffffff2;border:1px solid #e2e8f0e6;border-radius:1rem;padding:.375rem;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a1a,0 12px 24px #0f172a0f}.profile-chip__panel--dark{--ant-color-text:#f1f5f9;--ant-color-text-secondary:#cbd5e1;--ant-color-text-tertiary:#94a3b8;--ant-color-bg-elevated:#0f172afa;background-color:#0f172afa;border-color:#334155d9;box-shadow:0 25px 50px -12px #0000008c,0 12px 24px #00000059}.profile-chip__panel .profile-chip__ant-menu.ant-dropdown-menu,.profile-chip__panel .ant-dropdown-menu.profile-chip__ant-menu{margin:0;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.profile-chip__panel .profile-chip__ant-menu .ant-dropdown-menu-item,.profile-chip__panel .ant-dropdown-menu.profile-chip__ant-menu .ant-dropdown-menu-item{color:#1e293b!important;border-radius:.75rem!important;height:auto!important;margin-block:.125rem!important;margin-inline:0!important;padding:.5rem .75rem!important;line-height:1.35!important}.profile-chip__panel--dark .ant-dropdown-menu-item,.profile-chip__panel--dark .ant-dropdown-menu-submenu-title,.profile-chip__panel--dark .ant-dropdown-menu-item .ant-dropdown-menu-title-content,.profile-chip__panel--dark .ant-dropdown-menu-item span:not(.anticon):not(.ant-dropdown-menu-item-icon){color:#f1f5f9!important}.profile-chip__panel .ant-dropdown-menu-item .anticon{color:#475569}.profile-chip__panel--dark .ant-dropdown-menu-item .anticon,.profile-chip__panel--dark .ant-dropdown-menu-item .ant-dropdown-menu-item-icon{color:#67e8f9!important}.profile-chip__panel .ant-dropdown-menu-item-active{background-color:#f1f5f9e6!important}.profile-chip__panel--dark .ant-dropdown-menu-item-active:not(.ant-dropdown-menu-item-selected){background-color:#33415573!important}.user-modal__header{border-bottom:1px solid #e2e8f0cc;padding-bottom:.75rem}.user-modal__header--dark{border-bottom-color:#ffffff1a}.user-modal__title-block{flex-direction:column;gap:.25rem;display:flex}.user-modal__title{letter-spacing:-.02em;color:#0f172a;margin:0;font-size:1rem;font-weight:600}.user-modal__header--dark .user-modal__title{color:#f8fafc}.user-modal__meta{flex-direction:column;gap:.125rem;padding-top:.25rem;display:flex}.user-modal__display-name{color:#1e293b;font-size:.9375rem;font-weight:600}.user-modal__header--dark .user-modal__display-name{color:#f1f5f9}.user-modal__role{letter-spacing:.06em;text-transform:uppercase;color:#64748b;font-size:.75rem;font-weight:600}.user-modal__header--dark .user-modal__role{color:#94a3b8}.user-modal__body{padding-top:.5rem}.user-modal__container{border:1px solid #e2e8f0e6;border-radius:1rem;overflow:hidden;box-shadow:0 20px 25px -5px #0f172a14,0 8px 10px -6px #0f172a0f}.user-modal__container--dark{border-color:#ffffff1f;box-shadow:0 20px 25px -5px #00000059,0 8px 10px -6px #00000040}.user-modal__form .ant-form-item-label>label{color:#475569;font-size:.75rem;font-weight:500}.user-modal__form .ant-input,.user-modal__form .ant-input-affix-wrapper{background-color:#f8fafccc;border-color:#e2e8f0e6;border-radius:.5rem}.user-modal__form--dark .ant-form-item-label>label{color:#cbd5e1}.user-modal__form--dark .ant-input,.user-modal__form--dark .ant-input-affix-wrapper{background-color:#ffffff0d;border-color:#ffffff1f}body{background-color:#f0f9ff;width:100vw;height:100vh;overflow:hidden}body #root{height:100%}body ::placeholder{color:#94a3b8}body .ant-form-item .ant-form-item-control-input{min-height:32px}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content{display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper{align-items:center;display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper .ant-upload-list-item{margin:0 0 0 10px}body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload,body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload-select{margin-inline-end:0;margin-bottom:0}body .avatar-uploader .float-btn{opacity:0;justify-content:center;align-items:center;transition:opacity .5s;display:flex;position:absolute;bottom:3px;left:40%}body .avatar-uploader .float-btn-container{justify-content:center;width:100%;height:100%;display:flex}body .avatar-uploader .float-btn-container:hover .float-btn{opacity:1}body .ant-notification .ant-notification-notice.table-notification{min-width:500px}body .ant-carousel .slick-slider .slick-arrow{color:#06b6d4}body .ant-carousel .slick-slider .slick-dots>li>button{background:#06b6d4}body .ant-carousel .slick-slider .slick-list .slick-track .slick-slide{width:100%}body.dark{background-color:#010409}body.dark .ant-popover .ant-popover-arrow{--antd-arrow-background-color:#3b3b3b}body.dark .ant-popover .ant-popover-content .ant-popover-inner{background-color:#0a0f1a}body.dark .ant-badge .ant-badge-count{color:#fff;box-shadow:0 0 0 1px #0a0f1a}
1
+ .helpdesk__trigger{--helpdesk-neon:var(--helpdesk-accent,#2ed9b6);box-sizing:border-box;cursor:pointer;border:1px solid color-mix(in srgb, var(--helpdesk-neon) 65%, #1b263b);color:var(--helpdesk-neon);box-shadow:none;background:0 0;border-radius:9999px;outline:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:border-color .15s,background-color .15s,color .15s;display:inline-flex;position:relative}.helpdesk__trigger--md{width:2.5rem;height:2.5rem}.helpdesk__trigger--sm{width:2.25rem;height:2.25rem}.helpdesk__trigger--lg{width:2.75rem;height:2.75rem}.helpdesk__trigger:hover{border-color:color-mix(in srgb, var(--helpdesk-neon) 82%, white);color:color-mix(in srgb, var(--helpdesk-neon) 90%, white)}.helpdesk__trigger:active{border-color:color-mix(in srgb, var(--helpdesk-neon) 60%, #0f172a)}.helpdesk__trigger:focus-visible{outline:2px solid var(--helpdesk-neon);outline-offset:2px}.helpdesk__trigger--outline.helpdesk__trigger--dark{--helpdesk-neon:var(--helpdesk-accent,#33d8ff);border-color:var(--helpdesk-neon);background:0 0}.helpdesk__trigger--outline.helpdesk__trigger--dark:hover{border-color:color-mix(in srgb, var(--helpdesk-neon) 88%, #e2e8f0);color:color-mix(in srgb, var(--helpdesk-neon) 92%, white)}.helpdesk__trigger--outline:not(.helpdesk__trigger--dark){border-color:color-mix(in srgb, var(--helpdesk-neon) 50%, #0891b2);color:#0891b2;background:#ffffff59}.helpdesk__trigger--outline:not(.helpdesk__trigger--dark):hover{background:#ffffff8c;border-color:#0891b2}.helpdesk__trigger-icon{z-index:1;line-height:1;position:relative}.helpdesk__trigger-icon--sm{font-size:1rem}.helpdesk__trigger-icon--md{font-size:1.125rem}.helpdesk__trigger-icon--lg{font-size:1.35rem}.helpdesk__container .ant-popover-inner,.helpdesk__container .ant-popover-container{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffffa;border:1px solid #e2e8f0f2;border-radius:.875rem;padding:0;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a2e,0 12px 24px #0f172a14}.helpdesk__container .ant-card{box-shadow:none;background:0 0;border:none;border-radius:0}.helpdesk__container .ant-card .ant-card-body{height:100%;max-height:80dvh;overflow-y:auto}.helpdesk__container:not(.helpdesk__container--dark) .ant-popover-inner,.helpdesk__container:not(.helpdesk__container--dark) .ant-popover-container{border:1px solid #0f172a0f;border-radius:.875rem;box-shadow:0 4px 28px #0f172a12,0 1px 2px #0f172a0a}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__content{padding:1.125rem 1.25rem 1.375rem}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__subtitle.ant-typography{border-bottom:1px solid #0f172a0f;padding-bottom:.75rem;font-weight:500;color:#475569!important;margin-bottom:1rem!important;font-size:.8125rem!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-form-item{margin-bottom:1.125rem}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-form-item-label>label{font-weight:500;color:#334155!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-form-item-required:before{color:#b4787d!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-affix-wrapper,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form textarea.ant-input,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form input.ant-input.ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form textarea.ant-input.ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-affix-wrapper.ant-input-outlined,.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-input-textarea-affix-wrapper.ant-input-outlined{border-color:#0f172a1a!important;border-radius:.375rem!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .ant-upload-drag{background-color:#f8fafc!important;border:1px dashed #0f172a1f!important;border-radius:.375rem!important}.helpdesk__container:not(.helpdesk__container--dark) .helpdesk__form .helpdesk__submit-btn.ant-btn-primary{box-shadow:none!important;border-radius:.375rem!important;font-weight:500!important}.helpdesk__container.helpdesk__container--dark{--hw-app-bg:#0c141d;--hw-modal-shell:#141c26;--hw-canvas:#0a1018;--hw-edge:#243241;--hw-chart-teal:#33d8ff;--hw-muted:#95a9c4}.helpdesk__container.helpdesk__container--dark .ant-popover-inner,.helpdesk__container.helpdesk__container--dark .ant-popover-container{background-color:var(--hw-modal-shell)!important;border:1px solid #ffffff0e!important;border-radius:.875rem!important;box-shadow:0 8px 24px #00000052!important}.helpdesk__container.helpdesk__container--dark .ant-popover-content{background:0 0!important}.helpdesk__container.helpdesk__container--dark .helpdesk__content{color:#f1f5f9;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:1.25rem 1.25rem 1.5rem}.helpdesk__container.helpdesk__container--dark .helpdesk__title{padding:0 0 .5rem}.helpdesk__container.helpdesk__container--dark .helpdesk__title--hero.ant-typography{color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 88%, #94a3b8);letter-spacing:-.028em;font-weight:600;line-height:1.25}.helpdesk__container.helpdesk__container--dark .helpdesk__subtitle.ant-typography{box-shadow:none;letter-spacing:.02em;border:none;border-bottom:1px solid #ffffff0e;border-radius:0;padding:0 0 .75rem;font-weight:500;color:#cbd5e1!important;background:0 0!important;margin:0 0 1.125rem!important;font-size:.8125rem!important}.helpdesk__container.helpdesk__container--dark .helpdesk__card.ant-card{background:0 0!important}.helpdesk__container.helpdesk__container--dark .helpdesk__card .ant-card-body{padding:.5rem 0 0}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item{margin-bottom:1.25rem}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item:last-child{margin-bottom:0}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item-label>label{letter-spacing:.01em;font-weight:500;color:#e2e8f0!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-form-item-required:before{color:#c88287!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input,.helpdesk__container.helpdesk__container--dark .helpdesk__form input.ant-input.ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input.ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper.ant-input-outlined,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-textarea-affix-wrapper.ant-input-outlined{background:var(--hw-canvas)!important;background-color:var(--hw-canvas)!important;color:#f8fafc!important;box-shadow:none!important;border:1px solid #ffffff12!important;border-radius:.375rem!important;transition:border-color .15s!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input::placeholder,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input::placeholder{opacity:.85;color:var(--hw-muted)!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper.ant-input-outlined:hover,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-textarea-affix-wrapper.ant-input-outlined:hover{border-color:color-mix(in srgb, #ffffff1f 60%, var(--helpdesk-panel-accent,var(--hw-chart-teal)))!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input:focus,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper-focused,.helpdesk__container.helpdesk__container--dark .helpdesk__form textarea.ant-input:focus,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-input-affix-wrapper-focused.ant-input-outlined{border-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 75%, #fff3)!important;box-shadow:none!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag{background:var(--hw-canvas)!important;background-color:var(--hw-canvas)!important;box-shadow:none!important;border:1px dashed #ffffff1a!important;border-radius:.375rem!important;padding:1.375rem 1.125rem!important;transition:border-color .15s,background-color .15s!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag:hover{border-color:color-mix(in srgb, #ffffff24 55%, var(--helpdesk-panel-accent,var(--hw-chart-teal)))!important;background:color-mix(in srgb, var(--hw-canvas) 92%, var(--hw-modal-shell))!important;box-shadow:none!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag .ant-upload-drag-icon{margin-bottom:.375rem;color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 82%, var(--hw-muted))!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag p{font-weight:500;color:#f1f5f9!important}.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag .ant-upload-hint,.helpdesk__container.helpdesk__container--dark .helpdesk__form .ant-upload-drag small{opacity:.88;color:var(--hw-muted)!important}.helpdesk__container.helpdesk__container--dark .helpdesk__submit-btn.ant-btn-primary{letter-spacing:.03em;margin-top:.375rem;transition:background-color .15s,border-color .15s;color:#fff!important;background:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 92%, var(--hw-modal-shell))!important;background-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 92%, var(--hw-modal-shell))!important;height:auto!important;box-shadow:none!important;border:1px solid #00000038!important;border-radius:.375rem!important;padding-block:.75rem!important;font-weight:500!important}.helpdesk__container.helpdesk__container--dark .helpdesk__submit-btn.ant-btn-primary:not(:disabled):hover{filter:none;background:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 78%, black)!important;background-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 78%, black)!important;box-shadow:none!important}.helpdesk__container.helpdesk__container--dark .helpdesk__submit-btn.ant-btn-primary:not(:disabled):active{filter:none;background:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 70%, black)!important;background-color:color-mix(in srgb, var(--helpdesk-panel-accent,var(--hw-chart-teal)) 70%, black)!important}.helpdesk__content{background-color:#0000;border-radius:0;width:100%;max-width:400px;padding:.75rem 1rem 1rem}.helpdesk__title{padding:.5rem 0 .75rem;margin-bottom:0!important}.helpdesk__title.ant-typography{color:#06b6d4}.helpdesk__title--hero.ant-typography{color:var(--helpdesk-panel-accent,#06b6d4)}.helpdesk__subtitle.ant-typography{color:#334155}.helpdesk__fields-files{flex-direction:column;width:100%;margin-top:10px}.helpdesk__fields-files .ant-upload-list{width:100%;margin-top:5px}.language-switcher__trigger{text-align:left;color:#334155;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;background-color:#ffffffb3;border:1px solid #e2e8f0e6;border-radius:9999px;outline:none;align-items:center;gap:.5rem;max-width:100%;padding:.375rem .625rem;font-size:.875rem;line-height:1.25;transition:box-shadow .2s,transform .2s,border-color .2s,background-color .2s,opacity .2s;display:inline-flex;box-shadow:0 1px 2px #0000000d}.language-switcher__trigger:hover:not(:disabled){background-color:#ffffffeb;border-color:#67e8f9b3;transform:translateY(-1px);box-shadow:0 4px 6px -1px #00000014,0 2px 4px -2px #0000000f,0 0 0 1px #06b6d426}.language-switcher__trigger:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #06b6d459}.language-switcher__trigger:disabled{cursor:wait;opacity:.6;pointer-events:none}.language-switcher__trigger--dark{color:#f8fafc;background-color:#1e293b8c;border-color:#ffffff1f;box-shadow:0 1px 2px #0003,inset 0 1px #ffffff0a}.language-switcher__trigger--dark:hover:not(:disabled){background-color:#1e293bbf;border-color:#06b6d466;box-shadow:0 4px 12px #00000059,0 0 0 1px #06b6d41f}.language-switcher__trigger--dark:focus-visible{box-shadow:0 0 0 2px #0f172a,0 0 0 4px #22d3ee59}.language-switcher__trigger:hover:not(:disabled) .language-switcher__globe{opacity:1}.language-switcher__trigger-label{vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.02em;color:#475569;min-width:0;max-width:6.5rem;font-size:.75rem;font-weight:500;display:inline-block;overflow:hidden}.language-switcher__trigger--dark .language-switcher__trigger-label{color:#f8fafc;font-weight:500}.language-switcher__globe{color:#0891b2;opacity:.85;flex-shrink:0;width:.875rem;height:.875rem;font-size:.875rem;transition:opacity .2s}.language-switcher__trigger--dark .language-switcher__globe{color:#22d3ee}.language-switcher__chevron{opacity:.55;color:#64748b;flex-shrink:0;width:.875rem;height:.875rem;font-size:.75rem;transition:transform .2s ease-out,color .2s}.language-switcher__trigger--dark .language-switcher__chevron{color:#e2e8f0;opacity:.9}.language-switcher__chevron--open{transform:rotate(180deg)}.language-switcher__check-icon{font-size:.875rem}.language-switcher__panel{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:#fffffff2;border:1px solid #e2e8f0e6;border-radius:1rem;padding:.375rem;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a1a,0 12px 24px #0f172a0f}.language-switcher__panel--dark{background-color:#0f172afa;border-color:#334155d9;box-shadow:0 25px 50px -12px #0000008c,0 12px 24px #00000059}.language-switcher__flag-shell{-webkit-user-select:none;user-select:none;box-sizing:border-box;background:linear-gradient(#f1f5f9,#e2e8f0e6);border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;line-height:1;display:inline-flex;overflow:hidden;box-shadow:inset 0 1px #ffffff59,inset 0 0 0 1px #cbd5e1b3}.language-switcher__flag-shell--sm{width:1.5rem;height:1.5rem}.language-switcher__flag-shell--md{width:1.75rem;height:1.75rem}.language-switcher__flag-shell--emoji.language-switcher__flag-shell--sm{font-size:15px}.language-switcher__flag-shell--emoji.language-switcher__flag-shell--md{font-size:17px}.language-switcher__flag-img{object-fit:cover;object-position:center 42%;width:100%;height:100%;transform:scale(1.06)}.language-switcher__menu-row{align-items:center;gap:.75rem;width:100%;min-width:11rem;display:flex}.language-switcher__menu-row--flag-only{justify-content:center;gap:0;min-width:2.75rem}.language-switcher__menu-text{text-align:left;flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.language-switcher__menu-title{text-overflow:ellipsis;white-space:nowrap;color:#1e293b;font-size:.875rem;font-weight:500;overflow:hidden}.language-switcher__panel--dark .language-switcher__menu-title{color:#fff;font-weight:700}.language-switcher__menu-code{letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;font-size:11px;font-weight:500}.language-switcher__panel--dark .language-switcher__menu-code{color:#94a3b8;opacity:.95}.language-switcher__check{color:#0891b2;flex-shrink:0;justify-content:center;align-items:center;width:1rem;height:1rem;margin-left:auto;display:flex}.language-switcher__check--flag-only{margin-left:0}.language-switcher__panel--dark .language-switcher__check{color:#22d3ee}.language-switcher__panel .language-switcher__ant-menu.ant-dropdown-menu,.language-switcher__panel .ant-dropdown-menu.language-switcher__ant-menu{margin:0;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.language-switcher__panel .language-switcher__ant-menu .ant-dropdown-menu-item,.language-switcher__panel .ant-dropdown-menu.language-switcher__ant-menu .ant-dropdown-menu-item{border-radius:.75rem!important;height:auto!important;margin-block:.125rem!important;margin-inline:0!important;padding:.5rem!important;line-height:1.35!important}.language-switcher__panel--dark .ant-dropdown-menu-item,.language-switcher__panel--dark .ant-dropdown-menu-submenu-title{color:#f8fafc!important}.language-switcher__panel .ant-dropdown-menu-item-active{background-color:#f1f5f9e6!important}.language-switcher__panel--dark .ant-dropdown-menu-item-active:not(.ant-dropdown-menu-item-selected){background-color:#33415573!important}.language-switcher__panel:not(.language-switcher__panel--dark) .ant-dropdown-menu-item-selected{background-color:#06b6d41f!important}.language-switcher__panel--dark .ant-dropdown-menu-item-selected{box-shadow:inset 0 1px #ffffff0f;background-color:#0f766e6b!important}.language-switcher__panel--dark .ant-dropdown-menu-item-selected.ant-dropdown-menu-item-active{background-color:#0f766e7a!important}.theme-mode-toggle{z-index:20;isolation:isolate;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background-color:#ffffffb3;border:1px solid #e2e8f0cc;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;height:2.5rem;min-height:2.5rem;padding:.25rem;line-height:1;transition:box-shadow .3s,background-color .3s;display:inline-flex;position:relative;box-shadow:0 1px 2px #0f172a0f,0 2px 6px #0f172a0a}.theme-mode-toggle:hover{box-shadow:0 2px 8px #0f172a14,0 1px 2px #0f172a0d,0 0 0 1px #06b6d41a}.theme-mode-toggle:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #06b6d466}.theme-mode-toggle--dark-context{background-color:#0f172a99;border-color:#ffffff1a;box-shadow:0 1px 2px #00000059,0 2px 8px #0003}.theme-mode-toggle--dark-context:hover{box-shadow:0 2px 10px #0006,0 0 0 1px #06b6d426}.theme-mode-toggle--dark-context:focus-visible{box-shadow:0 0 0 2px #020617,0 0 0 4px #22d3ee59}.theme-mode-toggle--dark-context .theme-mode-toggle__thumb{background:linear-gradient(to bottom right,#475569,#334155);border-color:#ffffff1f;box-shadow:0 1px 3px #00000073}.theme-mode-toggle__track{flex-shrink:0;width:4rem;height:2rem;position:relative}.theme-mode-toggle__thumb{pointer-events:none;inset-block:0;z-index:0;will-change:transform;background:linear-gradient(to bottom right,#fff,#f1f5f9);border:1px solid #0f172a14;border-radius:9999px;width:2rem;transition:transform .38s cubic-bezier(.34,1.56,.64,1);position:absolute;left:0;box-shadow:0 1px 2px #0f172a1f,inset 0 1px #ffffffd9}.theme-mode-toggle__thumb--dark{transform:translate(2rem)}.theme-mode-toggle__icons{z-index:10;grid-template-columns:repeat(2,1fr);place-items:center;width:100%;height:100%;display:grid;position:relative}.theme-mode-toggle__icon-cell{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.theme-mode-toggle__icon{flex-shrink:0;width:1rem;height:1rem;transition:color .2s;display:block}.theme-mode-toggle__icon--sun-active{color:#f59e0b}.theme-mode-toggle__icon--sun-idle{color:#94a3b8d9}.theme-mode-toggle__icon--moon-active{color:#bae6fd}.theme-mode-toggle__icon--moon-idle{color:#94a3b8bf}.user-modal__root .ant-modal-mask{background:#0f172a66!important}.user-modal__root .ant-modal-content{background:#fff;border:1px solid #e2e8f0e6;border-radius:1rem;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a26,0 12px 24px #0f172a14}.user-modal__root .ant-modal-header.user-modal__antd-header,.user-modal__root .user-modal__antd-header.ant-modal-header{background:0 0;border-bottom:1px solid #e2e8f0cc;margin-bottom:0;padding:1rem 1.5rem .75rem}.user-modal__root .user-modal__title-text{letter-spacing:-.02em;color:#0f172a;font-size:1rem;font-weight:600}.user-modal__root .user-modal__title-wrap{flex-direction:column;align-items:flex-start;gap:.25rem;padding-right:2.25rem;display:flex}.user-modal__root .user-modal__title-heading{letter-spacing:-.02em;color:#0f172a;font-size:1rem;font-weight:600;line-height:1.25}.user-modal__root .user-modal__role-row{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.125rem;display:flex}.user-modal__root .user-modal__role-tag{text-transform:none;font-weight:500;border-radius:.375rem!important;margin:0!important;padding-inline:.625rem!important;font-size:.75rem!important;line-height:1.35!important}.user-modal__root .ant-modal-body.user-modal__antd-body,.user-modal__root .user-modal__antd-body.ant-modal-body{background:0 0;padding:.5rem 1.5rem 1.25rem}.user-modal__root .ant-modal-close{color:#475569;top:.875rem;inset-inline-end:.875rem}.user-modal__root .ant-modal-close:hover{color:#0f172a;background:#e2e8f059}.user-modal__root .user-modal__avatar-panel{background:linear-gradient(#f1f5f9e6,#f8fafc66);border:1px solid #e2e8f080;border-radius:1rem;margin-bottom:1.5rem;padding:1.5rem 1rem 1.25rem;box-shadow:inset 0 1px #fff9}.user-modal__root .user-modal__form .ant-form-item-label>label{color:#475569;align-items:center;gap:.25rem;height:auto;min-height:1.5rem;font-size:.8125rem;font-weight:500;line-height:1.35;display:inline-flex}.user-modal__root .user-modal__form .ant-input,.user-modal__root .user-modal__form .ant-input-affix-wrapper,.user-modal__root .user-modal__form .ant-input-password{border-radius:.5rem;color:#0f172a!important;background:#f8fafccc!important;border-color:#e2e8f0e6!important}.user-modal__root .user-modal__form .ant-input-affix-wrapper .ant-input,.user-modal__root .user-modal__form .ant-input-password .ant-input{background:0 0!important}.user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav{margin-bottom:.75rem}.user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab{color:#475569;background:#f1f5f9d9;border-color:#e2e8f0}.user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active{color:#0f172a;background:#fff;border-bottom-color:#fff}.user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn{color:#06b6d4}.user-modal__root .tab-error{font-weight:600;color:var(--ant-color-error)!important}.user-modal__root .ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab.user-modal__tab--error{border-color:var(--ant-color-error)!important;background:color-mix(in srgb, var(--ant-color-error) 12%, #f1f5f9d9)!important}.user-modal__root .ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab:has(.tab-error){border-color:var(--ant-color-error)!important;background:color-mix(in srgb, var(--ant-color-error) 12%, #f1f5f9d9)!important}.user-modal__root .ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active.user-modal__tab--error{border-color:var(--ant-color-error)!important;background:color-mix(in srgb, var(--ant-color-error) 10%, #fff)!important}.user-modal__root .ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active:has(.tab-error){border-color:var(--ant-color-error)!important;background:color-mix(in srgb, var(--ant-color-error) 10%, #fff)!important}.user-modal__root .user-modal__footer{border-top:1px solid #e2e8f066;flex-direction:column-reverse;gap:.75rem;margin-top:1.25rem;padding-top:1.25rem;display:flex}@media (width>=640px){.user-modal__root .user-modal__footer{flex-direction:row;justify-content:flex-end}}.user-modal__root .user-modal__btn-cancel.ant-btn{width:100%;height:2rem;box-shadow:none;color:#1e293b;background:#fff;border-color:#cbd5e1cc;border-radius:.5rem;padding-inline:.875rem;font-size:.8125rem;font-weight:500}.user-modal__root .user-modal__btn-cancel.ant-btn:hover:not(:disabled){color:#0f172a!important;background:#f8fafc!important;border-color:#cbd5e1!important}.user-modal__root .user-modal__btn-submit.ant-btn-primary{width:100%;height:2rem;box-shadow:none;border-radius:.5rem;padding-inline:.875rem;font-size:.8125rem;font-weight:500}.user-modal__root .user-modal__btn-submit.ant-btn-primary:hover:not(:disabled){filter:brightness(1.06)}.user-modal__root .user-modal__btn-submit.ant-btn-primary:active:not(:disabled){filter:brightness(.98)}@media (width>=640px){.user-modal__root .user-modal__btn-cancel.ant-btn,.user-modal__root .user-modal__btn-submit.ant-btn-primary{width:auto;min-width:5.5rem}}@media (width<=767px){.user-modal__root .ant-modal{margin:12px auto;max-width:calc(100vw - 24px)!important}}body.dark .user-modal__root .ant-modal-mask{background:#01080dbc!important}body.dark .user-modal__root .ant-modal-content{background:#0a0f1a;border:1px solid #ffffff1f;box-shadow:0 25px 50px -12px #00000073,0 12px 24px #00000059}body.dark .user-modal__root .ant-modal-header.user-modal__antd-header,body.dark .user-modal__root .user-modal__antd-header.ant-modal-header{border-bottom-color:#ffffff1a}body.dark .user-modal__root .user-modal__title-text,body.dark .user-modal__root .user-modal__title-heading{color:#f8fafc}body.dark .user-modal__root .ant-modal-close{color:#94a3b8}body.dark .user-modal__root .ant-modal-close:hover{color:#f1f5f9;background:#ffffff14}body.dark .user-modal__root .user-modal__avatar-panel{background:linear-gradient(#0a1322,#050a12);border-color:#ffffff0f;box-shadow:inset 0 1px #ffffff06}body.dark .user-modal__root .user-modal__form .ant-form-item-label>label{color:#cbd5e1}body.dark .user-modal__root .user-modal__form .ant-input,body.dark .user-modal__root .user-modal__form .ant-input-affix-wrapper,body.dark .user-modal__root .user-modal__form .ant-input-password{color:#f1f5f9!important;background:#ffffff0d!important;border-color:#ffffff1f!important}body.dark .user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab{color:#94a3b8;background:#00000038;border-color:#94a3b824}body.dark .user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active{color:#f8fafc;background:#ffffff0f;border-bottom-color:#0a0f1a}body.dark .user-modal__root .user-modal__tabs.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn{color:#06b6d4}body.dark .user-modal__root .user-modal__footer{border-top-color:#ffffff0d}body.dark .user-modal__root .user-modal__btn-cancel.ant-btn{color:#f1f5f9;background:#ffffff0f;border-color:#ffffff1f}body.dark .user-modal__root .user-modal__btn-cancel.ant-btn:hover:not(:disabled){color:#fff!important;background:#ffffff17!important;border-color:#ffffff2e!important}.profile-chip{-webkit-backdrop-filter:blur(24px)saturate(1.5);background:#ffffffbf;border:1px solid #e2e8f0e6;border-radius:1rem;align-items:stretch;max-width:min(100%,28rem);transition:border-color .3s,box-shadow .3s,background-color .3s;display:inline-flex;box-shadow:inset 0 0 0 1px #cbd5e166,0 10px 15px -3px #94a3b826,0 4px 6px -4px #94a3b826}.profile-chip:hover{background:#ffffffe0;border-color:#74cfe2;box-shadow:inset 0 0 0 1px #cbd5e18c,0 10px 15px -3px #06b6d41f,0 4px 6px -4px #94a3b81f}.profile-chip--dark{background:#ffffff0a;border-color:#ffffff24;box-shadow:inset 0 0 0 1px #ffffff1a,0 10px 15px -3px #00000040,0 4px 6px -4px #0003}.profile-chip--dark:hover{background:#ffffff0e;border-color:#fff3;box-shadow:inset 0 0 0 1px #ffffff24,0 10px 15px -3px #164e6333,0 4px 6px -4px #00000040}.profile-chip--dark .profile-chip__name{color:#f8fafc}.profile-chip--dark .profile-chip__username{color:#cbd5e1}.profile-chip--dark .profile-chip__email{color:#94a3b8}.profile-chip--dark .profile-chip__separator{background:linear-gradient(#0000,#ffffff1f,#0000)}.profile-chip--dark .profile-chip__avatar-wrap{background:#0f172acc;border:1px solid #22d3ee40;box-shadow:inset 0 1px 2px #0003}.profile-chip--dark .profile-chip__avatar-shine{background:linear-gradient(to bottom right,#22d3ee33,#0000,#14b8a61a)}.profile-chip--dark .profile-chip__avatar-initials{color:#cffafef2}.profile-chip--dark .profile-chip__profile-trigger:hover:not(:disabled){background:#ffffff0f}.profile-chip--dark .profile-chip__profile-trigger:focus-visible{box-shadow:inset 0 0 0 2px #22d3ee59}.profile-chip--dark .profile-chip__logout-btn{color:#e2e8f0}.profile-chip--dark .profile-chip__logout-btn:hover:not(:disabled){color:#fca5a5;background:#3d0f14;border-color:#f871717a}.profile-chip--dark .profile-chip__logout-btn:active:not(:disabled){color:#fecaca;background:#4f1218;border-color:#fca5a58c}.profile-chip--loading{pointer-events:none;opacity:.92;padding:0}.profile-chip__profile-trigger{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:1rem 0 0 1rem;outline:none;flex:1;align-items:center;gap:.75rem;min-width:0;margin:0;padding:.625rem .5rem .625rem .75rem;transition:background-color .2s;display:flex}@media (width>=640px){.profile-chip__profile-trigger{gap:.875rem;padding:.75rem .75rem .75rem 1rem}}.profile-chip__profile-trigger:hover:not(:disabled){background:#06b6d40f}.profile-chip__profile-trigger:focus-visible{box-shadow:inset 0 0 0 2px #06b6d459}.profile-chip__profile-trigger--disabled{cursor:not-allowed;opacity:.65}.profile-chip__avatar-wrap{background:#e0f2fee6;border:1px solid #06b6d44d;border-radius:.75rem;flex-shrink:0;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px 2px #cbd5e14d}@media (width>=640px){.profile-chip__avatar-wrap{width:2.5rem;height:2.5rem}}.profile-chip__avatar-shine{pointer-events:none;background:linear-gradient(to bottom right,#22d3ee40,#0000,#14b8a61f);border-radius:.75rem;position:absolute;inset:0}.profile-chip__avatar-img{object-fit:cover;width:100%;height:100%;position:relative}.profile-chip__avatar-initials{letter-spacing:-.02em;color:#155e75;font-size:.6875rem;font-weight:600;line-height:1;position:relative}@media (width>=640px){.profile-chip__avatar-initials{font-size:.75rem}}.profile-chip__avatar-initials .anticon{color:#0e7490e6;font-size:1.125rem}.profile-chip--dark .profile-chip__avatar-initials .anticon{color:#cffafee6}.profile-chip__meta{flex-direction:column;flex:1;gap:0;min-width:0;display:none}@media (width>=640px){.profile-chip__meta--text{flex-direction:column;gap:.125rem;display:flex}}.profile-chip__name{letter-spacing:-.02em;color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.875rem;font-weight:600;line-height:1.35;overflow:hidden}.profile-chip__username{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.6875rem;font-weight:500;line-height:1.35;overflow:hidden}.profile-chip__email{color:#475569;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.75rem;line-height:1.35;overflow:hidden}.profile-chip__role{align-self:flex-start;max-width:100%;margin-top:.25rem!important;margin-inline-end:0!important;font-size:.6875rem!important;line-height:1.35!important}.profile-chip--dark .profile-chip__role.ant-tag{border-color:#22d3ee59}.profile-chip__separator{background:linear-gradient(#0000,#cbd5e1cc,#0000);flex-shrink:0;align-self:stretch;width:1px;margin:0}@media (width<=639px){.profile-chip__separator{display:none}}.profile-chip__logout-btn{color:#334155;cursor:pointer;background:0 0;border:.5px solid #0000;border-radius:0 1rem 1rem 0;outline:none;flex-shrink:0;justify-content:center;align-items:center;gap:.375rem;margin:0;padding:.4375rem .625rem;font-size:.875rem;font-weight:500;transition:background-color .2s,color .2s,border-color .2s;display:inline-flex}@media (width>=640px){.profile-chip__logout-btn{padding:.4375rem .75rem}}.profile-chip__logout-btn:disabled{cursor:not-allowed;opacity:.55}.profile-chip__logout-btn:hover:not(:disabled){color:#991b1b;background:#fef2f2;border-color:#fca5a5}.profile-chip__logout-btn:active:not(:disabled){color:#7f1d1d;background:#fee2e2;border-color:#f87171}.profile-chip__logout-btn:focus-visible{box-shadow:inset 0 0 0 2px #06b6d459}.profile-chip--dark .profile-chip__logout-btn:focus-visible{box-shadow:inset 0 0 0 2px #22d3ee59}.profile-chip__logout-icon{opacity:.9;font-size:.875rem}.profile-chip__logout-label{display:none}@media (width>=640px){.profile-chip__logout-label{display:inline}}.profile-chip__avatar-skeleton{border-radius:.75rem!important}.profile-chip__skeleton-line{min-width:0!important;height:.875rem!important;display:block!important}.profile-chip__skeleton-line--name{width:7rem!important}.profile-chip__skeleton-line--username{width:5.5rem!important;margin-top:.125rem!important}.profile-chip__skeleton-line--email{width:9rem!important;margin-top:.125rem!important}.profile-chip__logout-skeleton{border-radius:.75rem!important;width:4.75rem!important;height:1.875rem!important}.profile-chip__logout-slot{justify-content:center;align-items:center;padding:0 .5rem;display:flex}@media (width>=640px){.profile-chip__logout-slot{padding:0 .75rem}}body{background-color:#f0f9ff;width:100vw;height:100vh;overflow:hidden}body #root{height:100%}body ::placeholder{color:#94a3b8}body .ant-form-item .ant-form-item-control-input{min-height:32px}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content{display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper{align-items:center;display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper .ant-upload-list-item{margin:0 0 0 10px}body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload,body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload-select{margin-inline-end:0;margin-bottom:0}body .avatar-uploader .float-btn{opacity:0;justify-content:center;align-items:center;transition:opacity .5s;display:flex;position:absolute;bottom:3px;left:40%}body .avatar-uploader .float-btn-container{justify-content:center;width:100%;height:100%;display:flex}body .avatar-uploader .float-btn-container:hover .float-btn{opacity:1}body .ant-notification .ant-notification-notice.table-notification{min-width:500px}body .ant-carousel .slick-slider .slick-arrow{color:#06b6d4}body .ant-carousel .slick-slider .slick-dots>li>button{background:#06b6d4}body .ant-carousel .slick-slider .slick-list .slick-track .slick-slide{width:100%}body.dark{background-color:#010409}body.dark .ant-popover .ant-popover-arrow{--antd-arrow-background-color:#3b3b3b}body.dark .ant-popover .ant-popover-content .ant-popover-inner{background-color:#0a0f1a}body.dark .ant-badge .ant-badge-count{color:#fff;box-shadow:0 0 0 1px #0a0f1a}
@@ -1,12 +1,12 @@
1
- import { RcFile } from 'antd/es/upload';
2
1
  export { getCookie, removeCookie, setCookie } from './cookies';
3
2
  export declare const getCurrTenantId: () => string;
4
3
  export declare const getCurrAppId: () => string;
5
- export declare const getBase64: (img: RcFile, callback: (url: string) => void) => void;
6
- export declare const beforeUpload: (file: RcFile) => boolean;
4
+ export declare const getBase64: (img: File | Blob, callback: (url: string) => void) => void;
5
+ export declare const beforeUpload: (file: File) => boolean;
7
6
  export declare const formatBase642render: (base64url?: string) => string | undefined;
8
7
  export declare const prepareBase64File: (base64url?: string) => string | undefined;
9
8
  export declare const getSelectOptions: (list: any[], labelKey: string, valueKey: string) => {
10
9
  label: any;
11
10
  value: any;
12
11
  }[];
12
+ export { rcForm, type RcFormWithStore } from './rcForm';
@@ -1,3 +1,6 @@
1
1
  import { ProfileUser } from '../types/profileUser';
2
+ import { IUser } from '../types/user';
3
+ /** Maps profile API user to the shape expected by `UserModal` / maintain user. */
4
+ export declare function profileUserToIUser(user: ProfileUser): IUser;
2
5
  /** Role label for the active app from `roleMenuPermissions`, or em dash when unknown. */
3
6
  export declare function getProfileUserRoleLabel(user: ProfileUser | undefined, appId: string | undefined): string;
@@ -0,0 +1,11 @@
1
+ import { FormInstance } from 'antd';
2
+ /**
3
+ * Ant Design 6 + strict TS: `Form.useForm` may resolve `FormInstance` without rc-field-form store
4
+ * methods in some setups. This assertion restores the runtime API for `setFieldValue` / `setFieldsValue` / `resetFields`.
5
+ */
6
+ export type RcFormWithStore<T> = FormInstance<T> & {
7
+ setFieldValue(name: unknown, value: unknown): void;
8
+ setFieldsValue(values: Partial<T>): void;
9
+ resetFields(fields?: unknown): void;
10
+ };
11
+ export declare function rcForm<T>(form: FormInstance<T>): RcFormWithStore<T>;
@@ -107,6 +107,10 @@ declare const _default: {
107
107
  "PT": "Portuguese",
108
108
  "RO": "Romenian"
109
109
  },
110
+ "PROFILE": {
111
+ "LOGOUT": "Sair",
112
+ "OPEN_PROFILE_ARIA": "Abrir editor de perfil"
113
+ },
110
114
  "RELEASE-NOTES": {
111
115
  "ADD_NEW_SLIDE": "Adicionar novo diapositivo",
112
116
  "ADD_RELEASE_NOTE": "Adicionar Publicação",
@@ -131,9 +135,10 @@ declare const _default: {
131
135
  "WHATS_NEWS": "Bem-vindo(a) ao {{app}} v{{version}} - Veja as novidades! - {{date}}"
132
136
  },
133
137
  "USERS": {
138
+ "AVATAR_ALT": "Foto do perfil",
134
139
  "CANCEL": "Cancelar",
135
140
  "EDIT": "Editar",
136
- "EMAIL": "Email",
141
+ "EMAIL": "E-mail",
137
142
  "EMAIL_PLACEHOLDER": "email@example.pt, email.example@example-example.com...",
138
143
  "FIRST_NAME": "Primeiro nome",
139
144
  "FIRST_NAME_PLACEHOLDER": "Por favor, digite seu primeiro nome...",
@@ -107,6 +107,10 @@ declare const _default: {
107
107
  "PT": "Portuguese",
108
108
  "RO": "Romenian"
109
109
  },
110
+ "PROFILE": {
111
+ "LOGOUT": "Log out",
112
+ "OPEN_PROFILE_ARIA": "Open profile editor"
113
+ },
110
114
  "RELEASE-NOTES": {
111
115
  "ADD_NEW_SLIDE": "Add new slide",
112
116
  "ADD_RELEASE_NOTE": "Add Release Note",
@@ -131,6 +135,7 @@ declare const _default: {
131
135
  "WHATS_NEWS": "Welcome to {{app}} v{{version}} - See what's new! - {{date}}"
132
136
  },
133
137
  "USERS": {
138
+ "AVATAR_ALT": "Profile picture",
134
139
  "CANCEL": "Cancel",
135
140
  "EDIT": "Edit",
136
141
  "EMAIL": "Email",
@@ -107,6 +107,10 @@ declare const _default: {
107
107
  "PT": "Portuguese",
108
108
  "RO": "Romenian"
109
109
  },
110
+ "PROFILE": {
111
+ "LOGOUT": "Cerrar sesión",
112
+ "OPEN_PROFILE_ARIA": "Abrir editor de perfil"
113
+ },
110
114
  "RELEASE-NOTES": {
111
115
  "ADD_NEW_SLIDE": "Agregar nueva diapositiva",
112
116
  "ADD_RELEASE_NOTE": "Agregar Publicación",
@@ -131,6 +135,7 @@ declare const _default: {
131
135
  "WHATS_NEWS": "Bienvenido/a a {{app}} v{{version}} - ¡Mira las novedades! - {{date}}"
132
136
  },
133
137
  "USERS": {
138
+ "AVATAR_ALT": "Foto de perfil",
134
139
  "CANCEL": "Anular",
135
140
  "EDIT": "Editar",
136
141
  "EMAIL": "Email",
@@ -107,6 +107,10 @@ declare const _default: {
107
107
  "PT": "Portuguese",
108
108
  "RO": "Romenian"
109
109
  },
110
+ "PROFILE": {
111
+ "LOGOUT": "ログアウト",
112
+ "OPEN_PROFILE_ARIA": "プロフィール編集を開く"
113
+ },
110
114
  "RELEASE-NOTES": {
111
115
  "ADD_NEW_SLIDE": "Add new slide",
112
116
  "ADD_RELEASE_NOTE": "Add Release Note",
@@ -131,6 +135,7 @@ declare const _default: {
131
135
  "WHATS_NEWS": "Welcome to {{app}} v{{version}} - See what's new!"
132
136
  },
133
137
  "USERS": {
138
+ "AVATAR_ALT": "プロフィール写真",
134
139
  "CANCEL": "Cancel",
135
140
  "EDIT": "Edit",
136
141
  "EMAIL": "Email",
@@ -107,6 +107,10 @@ declare const _default: {
107
107
  "PT": "Portuguese",
108
108
  "RO": "Romenian"
109
109
  },
110
+ "PROFILE": {
111
+ "LOGOUT": "Terminar sessão",
112
+ "OPEN_PROFILE_ARIA": "Abrir editor de perfil"
113
+ },
110
114
  "RELEASE-NOTES": {
111
115
  "ADD_NEW_SLIDE": "Adicionar novo diapositivo",
112
116
  "ADD_RELEASE_NOTE": "Adicionar Publicação",
@@ -131,11 +135,12 @@ declare const _default: {
131
135
  "WHATS_NEWS": "Bem-vindo(a) ao {{app}} v{{version}} - Veja as novidades! - {{date}}"
132
136
  },
133
137
  "USERS": {
138
+ "AVATAR_ALT": "Fotografia de perfil",
134
139
  "CANCEL": "Cancelar",
135
140
  "EDIT": "Editar",
136
- "EMAIL": "Email",
141
+ "EMAIL": "E-mail",
137
142
  "EMAIL_PLACEHOLDER": "email@example.pt, email.example@example-example.com...",
138
- "FIRST_NAME": "Primeiro nome",
143
+ "FIRST_NAME": "Nome próprio",
139
144
  "FIRST_NAME_PLACEHOLDER": "Por favor, insira o seu primeiro nome...",
140
145
  "LAST_NAME": "Apelido",
141
146
  "LAST_NAME_PLACEHOLDER": "Por favor, insira o seu apelido...",
@@ -107,6 +107,10 @@ declare const _default: {
107
107
  "PT": "Portuguese",
108
108
  "RO": "Romenian"
109
109
  },
110
+ "PROFILE": {
111
+ "LOGOUT": "Deconectare",
112
+ "OPEN_PROFILE_ARIA": "Deschide editorul de profil"
113
+ },
110
114
  "RELEASE-NOTES": {
111
115
  "ADD_NEW_SLIDE": "Add new slide",
112
116
  "ADD_RELEASE_NOTE": "Add Release Note",
@@ -131,6 +135,7 @@ declare const _default: {
131
135
  "WHATS_NEWS": "Bine ați venit la {{app}} v{{version}} - Vezi noutățile!? - {{date}}"
132
136
  },
133
137
  "USERS": {
138
+ "AVATAR_ALT": "Poză de profil",
134
139
  "CANCEL": "Anulare",
135
140
  "EDIT": "Editare",
136
141
  "EMAIL": "Email",
@@ -10,7 +10,7 @@ export type * from './types/app';
10
10
  export type * from './types/helpdesk';
11
11
  export type * from './types/user';
12
12
  export type * from './types/whatsNews';
13
- export type { ProfileChipChildren, ProfileChipProps } from './types/profileChip';
13
+ export type { ProfileChipChildren, ProfileChipProps, ProfileEmbeddedUserModalProps, } from './types/profileChip';
14
14
  export type { ProfileUser } from './types/profileUser';
15
15
  export { clearAquasisApiContext, getAquasisApiContext, replaceAquasisApiContext, setAquasisApiContext, } from './config/aquasisApiContext';
16
16
  /** @deprecated ReleaseNote will be removed in the next major version. Use WhatsNews instead. */
@@ -1,7 +1,4 @@
1
1
  import { LanguageSwitcherCode } from '../../types/app';
2
2
  /** Emoji fallback when flag image fails to load. */
3
3
  export declare const LANGUAGE_FLAG_EMOJI: Record<LanguageSwitcherCode, string>;
4
- /** Primary label shown in the switcher (native language names). */
5
- export declare const LANGUAGE_PRIMARY_LABEL: Record<LanguageSwitcherCode, string>;
6
4
  export declare function resolveLanguageSwitcherCode(raw: string): LanguageSwitcherCode;
7
- export declare function labelForLanguageCode(code: string): string;
@@ -1,5 +1,2 @@
1
1
  import { ProfileChipProps } from '../../types/profileChip';
2
- /**
3
- * Navbar profile: loads current user from core API (cookies), themed overflow menu.
4
- */
5
- export default function ProfileChip({ coreApiBaseUrl, menuItems, moreActionsAriaLabel, logoutLabel, onLogout, children, }: ProfileChipProps): import("react/jsx-runtime").JSX.Element | null;
2
+ export default function ProfileChip({ gauApiUrl, appId, onLogout, renderUserModal, children, }: ProfileChipProps): import("react/jsx-runtime").JSX.Element | null;
@@ -3,11 +3,9 @@ import { FC } from 'react';
3
3
  export interface UserModalProps {
4
4
  isOpen: boolean;
5
5
  user: IUser;
6
- /**
7
- * When provided, resolves the user's role for this app from `user.userRolesApp` and shows it in the modal header.
8
- */
6
+ /** When set, loads roles and shows the user role for this app in the modal title. */
9
7
  appId?: string;
10
- /** Base URL for the GA / auth HTTP API (same value used for roles and maintain user). */
8
+ /** Base URL for the GA / auth HTTP API (same value used for maintain user). */
11
9
  gauApiUrl: string;
12
10
  isLoading?: boolean;
13
11
  onCancel: () => void;
@@ -4,5 +4,5 @@ import { AxiosError } from 'axios';
4
4
  export declare const useGetApps: (gauApiUrl: string) => import('@tanstack/react-query').UseQueryResult<IApp[], AxiosError<unknown, any>>;
5
5
  export declare const useGetRoles: (gauApiUrl: string, enabled?: boolean) => import('@tanstack/react-query').UseQueryResult<IRole[], AxiosError<unknown, any>>;
6
6
  export declare const useGetLanguages: (gauApiUrl: string) => import('@tanstack/react-query').UseQueryResult<ILanguage[], AxiosError<unknown, any>>;
7
- /** Current user from core API (`getUser`); uses `ga-appId`, `ga-token`, `ga-userId` cookies. */
8
- export declare const useGetProfileUser: (coreApiBaseUrl: string) => import('@tanstack/react-query').UseQueryResult<ProfileUser, AxiosError<unknown, any>>;
7
+ /** Current user from GA API (`getUser`); uses `ga-appId`, `ga-token`, `ga-userId` cookies. */
8
+ export declare const useGetProfileUser: (gauApiUrl: string) => import('@tanstack/react-query').UseQueryResult<ProfileUser, AxiosError<unknown, any>>;
@@ -1,4 +1,6 @@
1
1
  import { ProfileUser } from '../types/profileUser';
2
2
  import { UserPayload } from '../types/user';
3
- export declare const getUser: (coreApiBaseUrl: string, userId: string) => Promise<ProfileUser>;
3
+ export declare const getUser: (apiBaseUrl: string, userId: string) => Promise<ProfileUser>;
4
+ /** Revokes access and refresh tokens (`POST /api/logout?userId=…`). */
5
+ export declare const postLogout: (apiBaseUrl: string, userId: string) => Promise<import('axios').AxiosResponse<any, any, {}>>;
4
6
  export declare const maintainUser: (gauApiUrl: string, payload: UserPayload) => Promise<import('axios').AxiosResponse<any, any, {}>>;
@@ -1,8 +1,13 @@
1
+ /** Portal / GlobalAuth-aligned dark palette (deep slate + cyan). */
1
2
  export declare const Dark: {
2
3
  ColorPrimary: string;
3
4
  PrimaryColorText: string;
5
+ ColorTextSecondary: string;
6
+ ColorTextHeading: string;
4
7
  ColorTextQuaternary: string;
5
8
  PrimaryColorBgContainer: string;
9
+ ColorBgElevated: string;
10
+ ColorBgLayout: string;
6
11
  SecondaryBorderColor: string;
7
12
  ColorBgHeader: string;
8
13
  ColorBgContent: string;
@@ -1,8 +1,13 @@
1
+ /** Portal / GlobalAuth-aligned light palette (slate + cyan). */
1
2
  export declare const Light: {
2
3
  ColorPrimary: string;
3
4
  PrimaryColorText: string;
5
+ ColorTextSecondary: string;
6
+ ColorTextHeading: string;
4
7
  ColorTextQuaternary: string;
5
8
  PrimaryColorBgContainer: string;
9
+ ColorBgElevated: string;
10
+ ColorBgLayout: string;
6
11
  SecondaryBorderColor: string;
7
12
  ColorBgHeader: string;
8
13
  ColorBgContent: string;
@@ -1,20 +1,36 @@
1
- import { MenuProps } from 'antd';
2
- import { ReactNode } from 'react';
3
1
  import { ProfileUser } from './profileUser';
2
+ import { ReactNode } from 'react';
3
+ import { IUser } from './user';
4
4
  export type ProfileChipChildren = (ctx: {
5
5
  user: ProfileUser;
6
6
  }) => ReactNode;
7
+ /**
8
+ * Props passed to the embedded profile `UserModal` (default) or to `renderUserModal` for a fully custom modal.
9
+ * Keep in sync with `UserModal` public props.
10
+ */
11
+ export type ProfileEmbeddedUserModalProps = {
12
+ isOpen: boolean;
13
+ user: IUser;
14
+ gauApiUrl: string;
15
+ appId?: string;
16
+ isLoading?: boolean;
17
+ onCancel: () => void;
18
+ };
7
19
  export type ProfileChipProps = {
8
20
  /**
9
- * Core API base URL (same as app `VITE_API_BASE_URL`, usually with trailing slash).
10
- * Used for `GET {base}getUser?userId=…` with Bearer token from cookies.
21
+ * GlobalAuth / API base URL (single origin for profile, modal, and logout).
22
+ * Used for `GET {base}getUser`, `UserModal` (`maintainUser` / roles), and `POST {base}/api/logout?userId=…`.
23
+ */
24
+ gauApiUrl: string;
25
+ /** Current application id (optional). When set on `ProfileChip`, shows role under email; forwarded to `UserModal` for header role (via `getRoles`). */
26
+ appId?: string;
27
+ /** Called after a successful `POST /api/logout` (optional; use for redirect or local session cleanup). */
28
+ onLogout?: () => void;
29
+ /**
30
+ * Replace the default library `UserModal` with your own component (same open/close and user payload).
31
+ * When omitted, the standard `UserModal` from this package is rendered.
11
32
  */
12
- coreApiBaseUrl: string;
13
- /** Dropdown menu entries (labels/icons/onClick from host). */
14
- menuItems: NonNullable<MenuProps["items"]>;
15
- moreActionsAriaLabel: string;
16
- logoutLabel: string;
17
- onLogout: () => void;
18
- /** Slot that receives the loaded user (e.g. edit-profile modal). */
33
+ renderUserModal?: (props: ProfileEmbeddedUserModalProps) => ReactNode;
34
+ /** Optional slot for extra UI that needs the loaded user (the edit modal is always the library `UserModal` unless `renderUserModal` is set). */
19
35
  children?: ProfileChipChildren;
20
36
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aquasis-fe-components",
3
3
  "private": false,
4
- "version": "3.2.0",
4
+ "version": "3.2.1-alpha.b",
5
5
  "type": "module",
6
6
  "license": "ISC",
7
7
  "author": "Ewerton Souza",