zignal-stencil-library 1.1.149 → 1.1.151
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/cjs/autocomplete-address_44.cjs.entry.js +88 -55
- package/dist/cjs/{dayjs-BSEUEjDP.js → dayjs-C-Yh2o_8.js} +1 -1
- package/dist/cjs/{index-BcqF7VoK.js → index-BXiJqJvp.js} +14 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/quick-message-app.cjs.entry.js +3 -3
- package/dist/cjs/zignal-stencil-library.cjs.js +1 -1
- package/dist/collection/components/autocomplete-address/autocomplete-address.css +1 -1
- package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.css +1 -1
- package/dist/collection/components/autocomplete-select/autocomplete-select.css +1 -1
- package/dist/collection/components/channel-box/channel-box.css +1 -1
- package/dist/collection/components/chat-app/chat-app.css +1 -1
- package/dist/collection/components/chat-header/chat-header.css +1 -1
- package/dist/collection/components/chat-input/chat-input.css +1 -1
- package/dist/collection/components/chat-input/chat-input.js +3 -2
- package/dist/collection/components/checkbox-list/checkbox-list.css +1 -1
- package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.css +1 -1
- package/dist/collection/components/dialog-custom-filter/dialog-custom-filter.css +1 -1
- package/dist/collection/components/dialog-editor/dialog-editor.css +1 -1
- package/dist/collection/components/dialog-preview-media/dialog-preview-media.css +1 -1
- package/dist/collection/components/dialog-search/dialog-search.css +1 -1
- package/dist/collection/components/internal-component/chat-item.js +2 -2
- package/dist/collection/components/menu-chat-channel/menu-chat-channel.css +1 -1
- package/dist/collection/components/menu-chat-type/menu-chat-type.css +1 -1
- package/dist/collection/components/menu-list/menu-list.css +1 -1
- package/dist/collection/components/message-box/message-box.css +1 -1
- package/dist/collection/components/message-box/message-box.js +44 -11
- package/dist/collection/components/message-content/message-content.css +1 -1
- package/dist/collection/components/message-item/message-item.css +1 -1
- package/dist/collection/components/message-media/message-media.css +1 -1
- package/dist/collection/components/profile-history/profile-history.css +1 -1
- package/dist/collection/components/profile-info/profile-info.css +1 -1
- package/dist/collection/components/profile-media/profile-media.css +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.css +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.css +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
- package/dist/collection/components/search-box/search-box.css +1 -1
- package/dist/collection/components/status-badge/status-badge.css +1 -1
- package/dist/collection/components/tag-list/tag-list.css +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
- package/dist/collection/components/tag-popper/tag-popper.css +1 -1
- package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
- package/dist/collection/components/z-avatar/z-avatar.css +1 -1
- package/dist/collection/components/z-dialog/z-dialog.css +1 -1
- package/dist/components/autocomplete-address.js +1 -1
- package/dist/components/autocomplete-multiple-select.js +1 -1
- package/dist/components/autocomplete-select.js +1 -1
- package/dist/components/channel-box.js +1 -1
- package/dist/components/chat-app.js +39 -39
- package/dist/components/chat-header.js +1 -1
- package/dist/components/chat-input.js +1 -1
- package/dist/components/checkbox-list.js +1 -1
- package/dist/components/dialog-bill-editor.js +1 -1
- package/dist/components/dialog-custom-filter.js +1 -1
- package/dist/components/dialog-editor.js +1 -1
- package/dist/components/dialog-preview-media.js +1 -1
- package/dist/components/dialog-search.js +1 -1
- package/dist/components/index.js +14 -2
- package/dist/components/menu-chat-channel.js +1 -1
- package/dist/components/menu-chat-type.js +1 -1
- package/dist/components/menu-list.js +1 -1
- package/dist/components/message-box.js +1 -1
- package/dist/components/message-content.js +1 -1
- package/dist/components/message-item.js +1 -1
- package/dist/components/message-media.js +1 -1
- package/dist/components/p-9C7AwGvM.js +223 -0
- package/dist/components/p-BB9ah96y.js +554 -0
- package/dist/components/p-BRpYxO3M.js +119 -0
- package/dist/components/p-BTCmyW_D.js +98 -0
- package/dist/components/p-BYBimJCQ.js +312 -0
- package/dist/components/p-BZZk_Nhz.js +515 -0
- package/dist/components/p-BhBNwwRB.js +154 -0
- package/dist/components/p-Bmp0v9GX.js +51 -0
- package/dist/components/p-Bp0zz6Y6.js +135 -0
- package/dist/components/p-BsI1HZGG.js +266 -0
- package/dist/components/p-BzKx9Adn.js +611 -0
- package/dist/components/p-C5VvgOE9.js +599 -0
- package/dist/components/p-CE3c3IL-.js +128 -0
- package/dist/components/p-CNszmmDL.js +102 -0
- package/dist/components/p-COZKLVfW.js +168 -0
- package/dist/components/p-CYRSDtTf.js +57 -0
- package/dist/components/p-CZ3iEwuo.js +563 -0
- package/dist/components/p-C_PDZKGG.js +158 -0
- package/dist/components/p-CeBFtax1.js +166 -0
- package/dist/components/p-CimyVUlr.js +32 -0
- package/dist/components/p-Ck5c82Vm.js +74 -0
- package/dist/components/p-Cq4sFbGO.js +129 -0
- package/dist/components/p-CtoKbtXk.js +156 -0
- package/dist/components/p-D8oZapy4.js +230 -0
- package/dist/components/p-DKBK5jV_.js +122 -0
- package/dist/components/p-DOxk_wHY.js +107 -0
- package/dist/components/p-DQYxfaQG.js +108 -0
- package/dist/components/p-DSkVwgQ_.js +155 -0
- package/dist/components/p-DXAea_-R.js +96 -0
- package/dist/components/p-DfZBI89D.js +214 -0
- package/dist/components/p-Dt295Plo.js +178 -0
- package/dist/components/p-DtS5-nUS.js +231 -0
- package/dist/components/p-Dx2yZdeP.js +138 -0
- package/dist/components/p-MPfQpLuD.js +684 -0
- package/dist/components/p-_ZatmxBq.js +65 -0
- package/dist/components/p-vWZ6UOF3.js +161 -0
- package/dist/components/p-z4HeU4Nl.js +76 -0
- package/dist/components/p-zdFO-UlQ.js +171 -0
- package/dist/components/profile-history.js +1 -1
- package/dist/components/profile-info.js +1 -1
- package/dist/components/profile-media.js +1 -1
- package/dist/components/profile-tabs.js +1 -1
- package/dist/components/quick-message-add-template.js +1 -1
- package/dist/components/quick-message-app.js +6 -6
- package/dist/components/quick-message-file.js +1 -1
- package/dist/components/quick-message-image.js +1 -1
- package/dist/components/quick-message-modal.js +1 -1
- package/dist/components/quick-message-template.js +1 -1
- package/dist/components/search-box.js +1 -1
- package/dist/components/status-badge.js +1 -1
- package/dist/components/summarize-message-section.js +1 -1
- package/dist/components/tag-list.js +1 -1
- package/dist/components/tag-or-status-item.js +1 -1
- package/dist/components/tag-popper.js +1 -1
- package/dist/components/typography-clamp.js +1 -1
- package/dist/components/user-info-section.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-dialog.js +1 -1
- package/dist/esm/autocomplete-address_44.entry.js +88 -55
- package/dist/esm/{dayjs-CudFbPUo.js → dayjs-BzCDyqMN.js} +1 -1
- package/dist/esm/{index-B3nb31xy.js → index-DPOSmdTJ.js} +14 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/quick-message-app.entry.js +3 -3
- package/dist/esm/zignal-stencil-library.js +1 -1
- package/dist/types/components/message-box/message-box.d.ts +4 -0
- package/dist/zignal-stencil-library/index.esm.js +1 -1
- package/dist/zignal-stencil-library/p-DPOSmdTJ.js +1 -0
- package/dist/zignal-stencil-library/{p-QJh7p40E.js → p-DPcrmSvN.js} +1 -1
- package/dist/zignal-stencil-library/p-e66b7102.entry.js +2 -0
- package/dist/zignal-stencil-library/p-f6779826.entry.js +1 -0
- package/dist/zignal-stencil-library/zignal-stencil-library.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-5FDU529Q.js +0 -129
- package/dist/components/p-B3sv8Cpm.js +0 -684
- package/dist/components/p-B9PRtKKm.js +0 -554
- package/dist/components/p-BWv8MbzZ.js +0 -158
- package/dist/components/p-BZ7KCncK.js +0 -178
- package/dist/components/p-BaATyWCh.js +0 -102
- package/dist/components/p-Bd28bEf_.js +0 -155
- package/dist/components/p-Bk2GvoAQ.js +0 -515
- package/dist/components/p-BmD78zPG.js +0 -161
- package/dist/components/p-BpHIg6Zj.js +0 -122
- package/dist/components/p-C-wUv6vx.js +0 -98
- package/dist/components/p-C9lpq3mD.js +0 -578
- package/dist/components/p-CTCAyv3Q.js +0 -51
- package/dist/components/p-CWAhjm33.js +0 -74
- package/dist/components/p-CXYv5DLC.js +0 -128
- package/dist/components/p-C_OxAbGN.js +0 -598
- package/dist/components/p-CdDmXJDZ.js +0 -168
- package/dist/components/p-CgbHzdYE.js +0 -214
- package/dist/components/p-CmgyIFb-.js +0 -266
- package/dist/components/p-CnsAVxMy.js +0 -65
- package/dist/components/p-CpA5hc_o.js +0 -312
- package/dist/components/p-CzfGejIm.js +0 -119
- package/dist/components/p-D6IxrcVY.js +0 -166
- package/dist/components/p-D7LdFiVw.js +0 -57
- package/dist/components/p-D8yzEuEG.js +0 -108
- package/dist/components/p-DC0UH_ws.js +0 -231
- package/dist/components/p-DS1y2tKg.js +0 -563
- package/dist/components/p-DTaNTSq8.js +0 -107
- package/dist/components/p-D_Jqalu2.js +0 -135
- package/dist/components/p-DcC5eHv4.js +0 -230
- package/dist/components/p-DfKJdTvJ.js +0 -32
- package/dist/components/p-DrueVuU5.js +0 -223
- package/dist/components/p-DsWfCgkk.js +0 -154
- package/dist/components/p-Du5YXEgv.js +0 -156
- package/dist/components/p-Kj4A18ko.js +0 -138
- package/dist/components/p-KkLF26TT.js +0 -76
- package/dist/components/p-Sc5G6hdD.js +0 -96
- package/dist/components/p-j1XqaFsN.js +0 -171
- package/dist/zignal-stencil-library/p-47a5491a.entry.js +0 -1
- package/dist/zignal-stencil-library/p-B3nb31xy.js +0 -1
- package/dist/zignal-stencil-library/p-efc109b8.entry.js +0 -2
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './p-CspQEuuq.js';
|
|
2
|
-
import { Z as ZButton } from './p-B1r1nt1g.js';
|
|
3
|
-
import { Z as ZInput } from './p-BNoO0BWu.js';
|
|
4
|
-
import { c as configStore, f as filterChatsStore, r as responsiveStore } from './p-g5ZX6XGs.js';
|
|
5
|
-
import { b as handleCreateChatFilter, c as handleUpdateChatFilter, d as handleDeleteChatFilter, e as handleGetUserStatuses, f as handleGetUserTags, i as haveConnectionFromZwiz } from './p-DqfGjzaR.js';
|
|
6
|
-
import { u as useTranslation } from './p-CjxHbUhu.js';
|
|
7
|
-
import { Z as ZIconButton } from './p-DvJa8dWI.js';
|
|
8
|
-
import { o as openDialog } from './p-uDTLu3vv.js';
|
|
9
|
-
import { I as Icon } from './p-Sf5NNGh3.js';
|
|
10
|
-
import { t } from './index.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-D_Jqalu2.js';
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-BZ7KCncK.js';
|
|
13
|
-
|
|
14
|
-
const dialogSearchCss = "@layer base{*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-drop-shadow-alpha:100%;--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-border-style:solid;border:0 solid;box-sizing:border-box;margin:0;padding:0}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-y-reverse:0;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial;--tw-border-style:solid;--tw-leading:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:host,:root{--container-3xs:16rem;--color-yellow-300:oklch(90.5% .182 98.111);--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-900:oklch(20.8% .042 265.755);--container-md:28rem;--text-2xl:1.5rem;--text-2xl--line-height:1.33333;--color-gray-400:oklch(70.7% .022 261.325);--color-slate-500:oklch(55.4% .046 257.417);--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--color-yellow-500:oklch(79.5% .184 86.047);--container-sm:24rem;--text-xl:1.25rem;--text-xl--line-height:1.4;--color-red-700:oklch(50.5% .213 27.518);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-blue-500:oklch(62.3% .214 259.815);--color-pink-100:oklch(94.8% .028 342.258);--font-weight-semibold:600;--animate-spin:spin 1s linear infinite;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-xl:36rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--text-sm:.875rem;--text-sm--line-height:1.42857;--text-base:1rem;--text-base--line-height:1.5;--text-lg:1.125rem;--text-lg--line-height:1.55556;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:\"Kanit\",var(--default-font);--default-mono-font-family:var(--font-mono);--default-font:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--color-primary:#e02848;--color-secondary:#023761;--color-background:#fff;--color-surface:#000;--color-paper:#f3f4f6;--color-divider:#e5e7eb;--color-theme-gray:#6b7280;--color-overlay:#0000004d}}@layer base{::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-meridiem-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-color:oklch(55.1% .027 264.364);border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);border-color:oklch(54.6% .245 262.881);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;color:oklch(54.6% .245 262.881);print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-color:oklch(55.1% .027 264.364);border-width:1px;display:inline-block;flex-shrink:0;height:1rem;padding:0;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0'/%3E%3C/svg%3E\")}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components{.dialog-backdrop{align-items:center;background-color:#0006;display:flex;inset:calc(var(--spacing)*0);justify-content:center;position:fixed;z-index:50}@supports (color:color-mix(in lab,red,red)){.dialog-backdrop{background-color:color-mix(in oklab,var(--color-black)40%,transparent);background-color:color-mix(in srgb,#00040%,transparent)}}.chat-item{border-radius:var(--radius-xl);cursor:pointer;margin-block:calc(var(--spacing)*1);margin-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);align-items:flex-start;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:flex;position:relative}:where(.chat-item>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-pin{position:absolute;right:calc(var(--spacing)*-3);top:calc(var(--spacing)*1)}.chat-item .chat-item-pin-icon{fill:currentColor;height:calc(var(--spacing)*3);rotate:45deg;width:calc(var(--spacing)*3)}.chat-item .chat-item-content-container{display:flex;flex-direction:row;width:100%}:where(.chat-item .chat-item-content-container>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-avatar-wrapper{align-self:center;flex-shrink:0;position:relative}.chat-item .chat-item-avatar-badge{bottom:calc(var(--spacing)*-.5);position:absolute;right:calc(var(--spacing)*-.5)}.chat-item .chat-item-content-wrapper{min-height:calc(var(--spacing)*18);width:100%}.chat-item .chat-item-content-main{align-items:center;display:flex}:where(.chat-item .chat-item-content-main>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}.chat-item .chat-item-content-main-image{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.chat-item .chat-item-content-main-name{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-main-time{color:var(--color-gray-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-secondary{align-items:flex-start;display:flex;flex-direction:row;width:100%}.chat-item .chat-item-content-secondary-nickname{font-size:var(--text-base);-webkit-line-clamp:1;line-height:var(--tw-leading,var(--text-base--line-height));-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-secondary-message{color:var(--color-gray-600);font-size:var(--text-sm);-webkit-line-clamp:1;line-height:var(--tw-leading,var(--text-sm--line-height));-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-unread{background-color:var(--color-primary);border-radius:3.40282e+38px;color:var(--color-white);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-unread-mark{display:inline-block;height:calc(var(--spacing)*2.5);width:calc(var(--spacing)*2.5)}.chat-item .chat-item-content-unread-count{padding-block:calc(var(--spacing)*.5);padding-inline:calc(var(--spacing)*2)}.z-icon-button{cursor:pointer;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-icon-button:focus{--tw-outline-style:none;outline-style:none}.z-icon-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-icon-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-icon-button-disabled{cursor:not-allowed;opacity:.5}.z-button{cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button:focus{--tw-outline-style:none;outline-style:none}.z-button-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px;color:var(--color-primary)}.z-button-disabled{cursor:not-allowed;opacity:.5}.z-button-text{margin-inline:calc(var(--spacing)*2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.z-input-area-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input-area-input,.z-input-area-label{color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input-area-input{background-color:var(--color-paper);border-color:var(--color-surface);border-radius:var(--radius-lg);border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-width:1px;width:100%}.z-input-area-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-area-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-input-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input,.z-input-label{color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input{background-color:var(--color-background);border-color:var(--color-divider);border-radius:var(--radius-md);border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-width:1px;width:100%}.z-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-select-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-tag-or-status-item{align-items:center;border-radius:var(--radius-2xl);gap:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*3);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-flex}.z-tag-or-status-item .z-tag-or-status-item-name{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));max-width:calc(var(--spacing)*20)}.z-tag-or-status-item .z-tag-or-status-item-icon{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.z-context-input{align-items:stretch;display:flex;flex-direction:row;margin-block:calc(var(--spacing)*1)}.z-context-input-key{background-color:var(--color-background);border-bottom-left-radius:var(--radius-3xl);border-color:var(--color-divider);border-style:var(--tw-border-style);border-top-left-radius:var(--radius-3xl);border-width:1px;color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));max-height:6.4rem;min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);resize:none;width:100%;--tw-ring-color:var(--color-primary);flex:1}.z-context-input-key:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-context-input-value{background-color:var(--color-background);border-bottom-right-radius:var(--radius-3xl);border-color:var(--color-primary);border-style:var(--tw-border-style);border-top-right-radius:var(--radius-3xl);border-width:1px;color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));max-height:6.4rem;min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);resize:none;width:100%;--tw-ring-color:var(--color-primary);flex:1}.z-context-input-value:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-text-with-link{color:var(--color-blue-600);text-decoration-line:underline}.z-button-group{display:inline-flex}.z-button-group-tab{border-radius:var(--radius-md);display:flex;gap:calc(var(--spacing)*1);padding:calc(var(--spacing)*.5)!important}.z-button-group-tab-overlay{background-color:var(--color-overlay)}.z-button-group-item{border-style:var(--tw-border-style);cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-width:1px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button-group-item:focus{--tw-outline-style:none;outline-style:none}.z-button-group-item-tab{align-items:center;border-radius:var(--radius-sm);border-style:var(--tw-border-style)!important;border-width:0!important;display:flex;flex:1;flex-direction:column;gap:calc(var(--spacing)*2);justify-content:center;padding:calc(var(--spacing)*1)!important}.z-button-group-item-tab-selected{background-color:var(--color-white);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.z-button-group-item-tab-selected,.z-button-group-item-tab-unselected{border-style:var(--tw-border-style)!important;border-width:0!important}.z-button-group-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-group-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-group-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-group-item-first{border-bottom-left-radius:3.40282e+38px;border-top-left-radius:3.40282e+38px}.z-button-group-item-last{border-bottom-right-radius:3.40282e+38px;border-top-right-radius:3.40282e+38px}.z-button-group-item-middle{border-radius:0}.z-button-group-item-primary-selected{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.z-button-group-item-primary-unselected{background-color:var(--color-white);border-color:var(--color-primary);color:var(--color-primary)}.z-button-group-item-outlined-selected{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.z-button-group-item-outlined-unselected{background-color:#0000;border-color:var(--color-primary);color:var(--color-primary)}.z-button-group-item-disabled{cursor:not-allowed;opacity:.5}.z-button-group-item:not(:first-child){margin-left:-1px}.z-avatar-error{align-items:center;display:flex;justify-content:center}.z-avatar-2x-small{height:calc(var(--spacing)*3);min-height:calc(var(--spacing)*3);min-width:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.z-avatar-x-small{height:calc(var(--spacing)*4);min-height:calc(var(--spacing)*4);min-width:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.z-avatar-small{height:calc(var(--spacing)*8);min-height:calc(var(--spacing)*8);min-width:calc(var(--spacing)*8);width:calc(var(--spacing)*8)}.z-avatar-medium{height:calc(var(--spacing)*16);min-height:calc(var(--spacing)*16);min-width:calc(var(--spacing)*16);width:calc(var(--spacing)*16)}.z-avatar-large{height:calc(var(--spacing)*32);min-height:calc(var(--spacing)*32);min-width:calc(var(--spacing)*32);width:calc(var(--spacing)*32)}.z-avatar-full{height:100%;width:100%}.z-avatar-group{background-color:#023761;border-radius:3.40282e+38px}}@layer utilities{.hidden\\!{display:none!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.bg-background{background-color:var(--color-background)}.bg-paper{background-color:var(--color-paper)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}[data-theme=light]{--color-primary:#e02848;--color-secondary:#023761;--color-background:#fff;--color-surface:#000;--color-paper:#f3f4f6;--color-divider:#e5e7eb;--color-theme-gray:#6b7280;--color-overlay:#0000004d}[data-theme=dark]{--color-primary:#b50f30;--color-secondary:#fff;--color-background:#23292d;--color-surface:#fff;--color-paper:#374151;--color-divider:#4b5563;--color-theme-gray:#d1d5db;--color-overlay:#ffffff4d}.scroll-container::-webkit-scrollbar{background:#0000001a;height:8px;width:8px}.scroll-container:active::-webkit-scrollbar,.scroll-container:hover::-webkit-scrollbar{background:#0003}.scroll-container:active::-webkit-scrollbar-thumb,.scroll-container:hover::-webkit-scrollbar-thumb{background:#0006;border-radius:4px}.bg-time-badge{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-time-badge{background-color:color-mix(in srgb,var(--color-surface)30%,transparent);background-color:color-mix(in srgb,#00030%,transparent)}}.placeholder-surface::placeholder{color:var(--color-text-gray)}.z-width-100{width:100%}.z-width-90{width:90%}.z-width-75{width:75%}.z-width-50{width:50%}.z-width-25{width:25%}.z-width-0{width:0}.z-animate-width{transition-duration:.5s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.z-animate-grid-template-cols{transition:grid-template-rows .5s}[type=checkbox]{background-color:var(--color-gray-300);border-color:var(--color-gray-300);border-radius:4px;cursor:pointer}[type=checkbox]:checked,[type=checkbox]:indeterminate{background-color:var(--color-primary);border-color:var(--color-primary);border-radius:4px;cursor:pointer}[type=checkbox]:focus{offset:0;outline-offset:0;--tw-ring-color:var(--color-primary);outline:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.grid-cols-1{grid-template-columns:1fr}.grid-cols-1_3{grid-template-columns:1fr 3fr}.grid-cols-1_2_1{grid-template-columns:1fr 2fr 1fr}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.m-auto{margin:auto}.size-32{height:calc(var(--spacing)*32);width:calc(var(--spacing)*32)}.w-xl{width:var(--container-xl)}.w-xs{width:var(--container-xs)}.text-surface{color:var(--color-surface)}.text-theme-gray{color:var(--color-theme-gray)}.mt-4{margin-top:calc(var(--spacing)*4)}.mr-2{margin-right:calc(var(--spacing)*2)}.flex{display:flex}.size-4{height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.size-5{height:calc(var(--spacing)*5);width:calc(var(--spacing)*5)}.w-full{width:100%}.flex-1{flex:1}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-divider{border-color:var(--color-divider)}.bg-primary\\/10{background-color:#e028481a}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{@supports (color:color-mix(in lab,red,red)){.bg-primary\\/10{background-color:color-mix(in srgb,#e0284810%,transparent);background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-primary{color:var(--color-primary)}.underline{text-decoration-line:underline}}@keyframes spin{to{transform:rotate(1turn)}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.col-span-2{grid-column:span 2/span 2}.my-2{margin-block:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.ml-1{margin-left:calc(var(--spacing)*1)}.inline-flex{display:inline-flex}.size-1\\.5{height:calc(var(--spacing)*1.5);width:calc(var(--spacing)*1.5)}.h-\\[40px\\]{height:40px}.w-1\\/4{width:25%}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.flex-col{flex-direction:column}.gap-2{gap:calc(var(--spacing)*2)}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}.fill-current{fill:currentColor}.relative{position:relative}.container{width:100%}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.visible{visibility:visible}.-top-12{top:calc(var(--spacing)*-12)}.-top-24{top:calc(var(--spacing)*-24)}.mx-auto{margin-inline:auto}.mt-10{margin-top:calc(var(--spacing)*10)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.inline-block{display:inline-block}.size-18{height:calc(var(--spacing)*18);width:calc(var(--spacing)*18)}.p-4{padding:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.size-3{height:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.size-8{height:calc(var(--spacing)*8);width:calc(var(--spacing)*8)}.max-w-3xs{max-width:var(--container-3xs)}.max-w-sm{max-width:var(--container-sm)}.resize{resize:both}.rounded-br-\\[0\\]{border-bottom-right-radius:0}.rounded-bl-\\[0\\]{border-bottom-left-radius:0}.bg-black{background-color:var(--color-black)}.bg-white{background-color:var(--color-white)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.px-3{padding-inline:calc(var(--spacing)*3)}.text-black{color:var(--color-black)}.text-white{color:var(--color-white)}.m-0\\.5{margin:calc(var(--spacing)*.5)}.size-14{height:calc(var(--spacing)*14);width:calc(var(--spacing)*14)}.size-42{height:calc(var(--spacing)*42);width:calc(var(--spacing)*42)}.h-20{height:calc(var(--spacing)*20)}.w-42{width:calc(var(--spacing)*42)}.absolute{position:absolute}.right-full{right:100%}.-bottom-2{bottom:calc(var(--spacing)*-2)}.left-full{left:100%}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2\\.5{margin-bottom:calc(var(--spacing)*2.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.size-6{height:calc(var(--spacing)*6);width:calc(var(--spacing)*6)}.flex-row{flex-direction:row}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.rounded-full{border-radius:3.40282e+38px}.bg-yellow-300{background-color:var(--color-yellow-300)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-left{text-align:left}.text-right{text-align:right}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.col-span-3{grid-column:span 3/span 3}.flex-wrap{flex-wrap:wrap}.gap-y-1{row-gap:calc(var(--spacing)*1)}.border-b-\\[0\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:.5px}.border-primary{border-color:var(--color-primary)}.pt-2{padding-top:calc(var(--spacing)*2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.whitespace-nowrap{white-space:nowrap}.hidden{display:none}.border-transparent{border-color:#0000}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.inset-0{inset:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-3{bottom:calc(var(--spacing)*3)}.left-3{left:calc(var(--spacing)*3)}.z-10{z-index:10}.z-80{z-index:80}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.contents{display:contents}.grid{display:grid}.aspect-square{aspect-ratio:1}.size-12{height:calc(var(--spacing)*12);width:calc(var(--spacing)*12)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-\\[180px\\]{height:180px}.h-\\[220px\\]{height:220px}.h-\\[280px\\]{height:280px}.h-full{height:100%}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-\\[200px\\]{width:200px}.w-\\[250px\\]{width:250px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-xs{max-width:var(--container-xs)}.flex-shrink-0,.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.gap-1{gap:calc(var(--spacing)*1)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[18px\\]{border-radius:18px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-b-\\[1\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.5px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-current{border-color:currentColor}.border-red-500{border-color:var(--color-red-500)}.bg-slate-900\\/40{background-color:#0f172b66}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities;/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/40{background-color:color-mix(in oklab,var(--color-slate-900)40%,transparent)}}.bg-slate-900\\/60{background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/60{background-color:color-mix(in oklab,var(--color-slate-900)60%,transparent)}}.bg-surface{background-color:var(--color-surface)}.bg-transparent{background-color:#0000}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in srgb,#fff90%,transparent);background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-12{padding-block:calc(var(--spacing)*12)}.pr-16{padding-right:calc(var(--spacing)*16)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-\\[13px\\]{font-size:13px}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-red-500{color:var(--color-red-500)}.text-slate-700{color:var(--color-slate-700)}.placeholder-surface::placeholder{color:var(--color-surface)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.shadow,.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)}.ring-primary{--tw-ring-color:var(--color-primary)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-all,.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-opacity{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.focus\\:border-red-500:focus{border-color:var(--color-red-500)}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)}.focus\\:ring-0:focus,.focus\\:ring-2:focus{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)}.focus\\:ring-red-200:focus{--tw-ring-color:var(--color-red-200)}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:ring-slate-200:focus{--tw-ring-color:var(--color-slate-200)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.top-1\\/2{top:50%}.right-2{right:calc(var(--spacing)*2)}.col-span-full{grid-column:1/-1}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.h-16{height:calc(var(--spacing)*16)}.min-h-0{min-height:calc(var(--spacing)*0)}.w-16{width:calc(var(--spacing)*16)}.min-w-0{min-width:calc(var(--spacing)*0)}.-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.auto-rows-auto{grid-auto-rows:auto}.content-start{align-content:flex-start}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.overflow-y-auto{overflow-y:auto}.bg-primary{background-color:var(--color-primary)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.pr-9{padding-right:calc(var(--spacing)*9)}.text-gray-400{color:var(--color-gray-400)}.focus\\:border-primary:focus{border-color:var(--color-primary)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.h-10{height:calc(var(--spacing)*10)}.w-10{width:calc(var(--spacing)*10)}.break-words{overflow-wrap:break-word}.inset-y-0{inset-block:calc(var(--spacing)*0)}.size-10{height:calc(var(--spacing)*10);width:calc(var(--spacing)*10)}.h-40{height:calc(var(--spacing)*40)}.h-\\[200px\\]{height:200px}.w-60{width:calc(var(--spacing)*60)}.shrink-0{flex-shrink:0}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.self-end{align-self:flex-end}.border-surface{border-color:var(--color-surface)}.py-1{padding-block:calc(var(--spacing)*1)}.py-10{padding-block:calc(var(--spacing)*10)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.whitespace-pre-line{white-space:pre-line}.text-slate-500{color:var(--color-slate-500)}.opacity-70{opacity:.7}.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\]{--tw-shadow:0 8px 24px var(--tw-shadow-color,#0f172a14)}.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\],.shadow-sm{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.size-2{height:calc(var(--spacing)*2);width:calc(var(--spacing)*2)}.bg-pink-100{background-color:var(--color-pink-100)}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-background{color:var(--color-background)}.text-green-500{color:var(--color-green-500)}.text-yellow-500{color:var(--color-yellow-500)}.size-16{height:calc(var(--spacing)*16);width:calc(var(--spacing)*16)}.size-\\[8px\\]{height:8px;width:8px}.size-\\[10px\\]{height:10px;width:10px}.col-span-1{grid-column:span 1/span 1}.m-2{margin:calc(var(--spacing)*2)}.mx-4{margin-inline:calc(var(--spacing)*4)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.w-1\\/2{width:50%}.max-w-32{max-width:calc(var(--spacing)*32)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0)}.translate-y-0,.translate-y-full{translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-blue-500{color:var(--color-blue-500)}.text-green-700{color:var(--color-green-700)}.text-red-700{color:var(--color-red-700)}.capitalize{text-transform:capitalize}.opacity-100{opacity:1}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components{.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-input,.z-input-area-input,.z-input-area-label,.z-input-label{color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-button-group-item-tab,.z-button-group-item-tab-selected{border-style:var(--tw-border-style)!important;border-width:0!important}}@layer utilities{.focus\\:ring-0:focus,.focus\\:ring-2:focus,.shadow,.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\],.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.translate-y-0,.translate-y-full{translate:var(--tw-translate-x)var(--tw-translate-y)}}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}:host{display:block}.dialog-search{background-color:var(--color-background);border-radius:var(--radius-lg);max-height:85vh;padding-top:calc(var(--spacing)*4);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:flex;flex-direction:column;position:relative}.dialog-search-content{flex:1;overflow-y:auto;padding:1.5rem 1.5rem .5rem}.dialog-search-toolbar-action{position:absolute;right:calc(var(--spacing)*4);top:calc(var(--spacing)*4)}.dialog-search-toolbar-action-wrapper{align-items:center;display:flex;flex-direction:row;gap:calc(var(--spacing)*2)}.dialog-search-toolbar-action-reset{color:var(--color-surface);cursor:pointer;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));text-decoration-line:underline}.dialog-search-toolbar-title{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));margin-bottom:calc(var(--spacing)*2);text-align:center;--tw-font-weight:var(--font-weight-bold);color:var(--color-surface);font-weight:var(--font-weight-bold)}.dialog-search-read-option{display:flex;flex-flow:wrap;gap:calc(var(--spacing)*2);margin-bottom:calc(var(--spacing)*2)}.dialog-search-action-wrapper{align-items:center;border-color:var(--color-divider);border-top-style:var(--tw-border-style);border-top-width:1px;display:flex;flex-direction:column;flex-shrink:0;gap:calc(var(--spacing)*2);padding:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*2)}.dialog-search-text{--tw-font-weight:var(--font-weight-bold);color:var(--color-surface);font-weight:var(--font-weight-bold)}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@media (forced-colors:active){[type=checkbox]:checked,[type=radio]:checked{appearance:auto}[type=checkbox]:indeterminate{appearance:auto}[type=checkbox]:checked,[type=checkbox]:indeterminate,[type=radio]:checked{appearance:auto}}@media (hover:hover){.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.z-button-group-item-tab:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.z-button-group-item-tab-unselected:hover{background-color:var(--color-white)}.z-button-group-item-primary-unselected:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.z-button-group-item-outlined-unselected:hover{background-color:#e028481a}@supports (color:color-mix(in lab,red,red)){.z-button-group-item-outlined-unselected:hover{background-color:color-mix(in oklab,var(--color-primary)10%,transparent);background-color:color-mix(in srgb,#e0284810%,transparent)}}.hover\\:bg-primary\\/10:hover{background-color:#e028481a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/10:hover{background-color:color-mix(in srgb,#e0284810%,transparent);background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.hover\\:text-primary:hover{color:var(--color-primary)}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\\:bg-background:hover{background-color:var(--color-background)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:opacity-100:hover{opacity:1}.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}@media screen and (min-width:0){.z-max-height{height:calc(100vh - 56px)}}@media screen and (min-width:600px){.z-max-height{height:calc(100vh - 64px)}}@media (min-width:40rem){.container{max-width:40rem}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:min-w-0{min-width:calc(var(--spacing)*0)}.sm\\:flex-row{flex-direction:row}}@media (min-width:48rem){.container{max-width:48rem}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.container{max-width:64rem}.lg\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}@media not all and (min-width:40rem){.max-sm\\:hidden{display:none}}";
|
|
15
|
-
|
|
16
|
-
const DialogSearch = /*@__PURE__*/ proxyCustomElement(class DialogSearch extends H {
|
|
17
|
-
constructor(registerHost) {
|
|
18
|
-
super();
|
|
19
|
-
if (registerHost !== false) {
|
|
20
|
-
this.__registerHost();
|
|
21
|
-
}
|
|
22
|
-
this.cancel = createEvent(this, "cancel");
|
|
23
|
-
this.search = createEvent(this, "search");
|
|
24
|
-
}
|
|
25
|
-
connectionList = configStore.get('connectionList').map(connection => ({
|
|
26
|
-
iconName: connection.type,
|
|
27
|
-
label: connection.name,
|
|
28
|
-
value: connection.id,
|
|
29
|
-
id: connection.id,
|
|
30
|
-
name: connection.name,
|
|
31
|
-
}));
|
|
32
|
-
answerList = configStore.get('memberList').map(connection => {
|
|
33
|
-
const fullName = [connection.member_account.first_name || '', connection.member_account.last_name || ''].join(' ').trim();
|
|
34
|
-
const label = fullName ? `${fullName} (${connection.member_login_data.email})` : connection.member_login_data.email;
|
|
35
|
-
return {
|
|
36
|
-
label,
|
|
37
|
-
value: connection.id,
|
|
38
|
-
id: connection.id,
|
|
39
|
-
name: label,
|
|
40
|
-
};
|
|
41
|
-
});
|
|
42
|
-
verifySlipList = [
|
|
43
|
-
{ label: t('chat_filter.verify_slip'), value: 'total_completed_verify_slip' },
|
|
44
|
-
{ label: t('chat_filter.verify_slip_more_than'), value: 'total_completed_verify_slip_more_than' },
|
|
45
|
-
];
|
|
46
|
-
zrmzShopList = [
|
|
47
|
-
{ label: 'Shop1', value: 'shop1' },
|
|
48
|
-
{ label: 'Shop2', value: 'shop2' },
|
|
49
|
-
];
|
|
50
|
-
zervaShopList = [
|
|
51
|
-
{ label: 'Shop1', value: 'shop1' },
|
|
52
|
-
{ label: 'Shop2', value: 'shop2' },
|
|
53
|
-
];
|
|
54
|
-
defaultFilter = {
|
|
55
|
-
name: '',
|
|
56
|
-
search: '',
|
|
57
|
-
// spam: false,
|
|
58
|
-
read: null,
|
|
59
|
-
type: null,
|
|
60
|
-
connectionIds: this.connectionList.map(connection => connection.value) || [],
|
|
61
|
-
lastAnswerByIds: this.answerList.map(answer => answer.value) || [],
|
|
62
|
-
statusIds: [],
|
|
63
|
-
tagIds: [],
|
|
64
|
-
verifySlip: null,
|
|
65
|
-
verifySlipValue: null,
|
|
66
|
-
zrmz: {
|
|
67
|
-
isOnlyCustomers: false,
|
|
68
|
-
shopId: null,
|
|
69
|
-
name: null,
|
|
70
|
-
email: null,
|
|
71
|
-
phoneNumber: null,
|
|
72
|
-
totalPointType: null,
|
|
73
|
-
totalPointMax: null,
|
|
74
|
-
totalPointMin: null,
|
|
75
|
-
remainingPointType: null,
|
|
76
|
-
remainingPointMax: null,
|
|
77
|
-
remainingPointMin: null,
|
|
78
|
-
},
|
|
79
|
-
zerva: {
|
|
80
|
-
isOnlyCustomers: false,
|
|
81
|
-
shopId: null,
|
|
82
|
-
bookingNo: null,
|
|
83
|
-
name: null,
|
|
84
|
-
email: null,
|
|
85
|
-
phoneNumber: null,
|
|
86
|
-
bookingStartDate: null,
|
|
87
|
-
bookingEndDate: null,
|
|
88
|
-
paymentStatus: null,
|
|
89
|
-
bookingStatus: null,
|
|
90
|
-
},
|
|
91
|
-
};
|
|
92
|
-
oldFilter;
|
|
93
|
-
filterType = 'advanced';
|
|
94
|
-
selectedFilter;
|
|
95
|
-
filter = this.defaultFilter;
|
|
96
|
-
isShowAdvancedZrmz = false;
|
|
97
|
-
isShowAdvancedZerva = false;
|
|
98
|
-
cancel;
|
|
99
|
-
search;
|
|
100
|
-
componentWillLoad() {
|
|
101
|
-
const _filterType = filterChatsStore.get('filterType');
|
|
102
|
-
if (_filterType === 'advanced' && this.filterType === 'advanced') {
|
|
103
|
-
this.filter = {
|
|
104
|
-
...this.oldFilter
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
else if (this.filterType === 'custom' && this.selectedFilter) {
|
|
108
|
-
this.filter = {
|
|
109
|
-
name: this.selectedFilter.name,
|
|
110
|
-
search: this.selectedFilter.search,
|
|
111
|
-
read: this.selectedFilter.read ?? null,
|
|
112
|
-
type: this.selectedFilter.type ?? null,
|
|
113
|
-
connectionIds: this.selectedFilter.connection_ids,
|
|
114
|
-
lastAnswerByIds: this.selectedFilter.last_answer_by_ids,
|
|
115
|
-
statusIds: this.selectedFilter.status_ids,
|
|
116
|
-
tagIds: this.selectedFilter.tag_ids,
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
this.filter = this.defaultFilter;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
handleCancel = () => {
|
|
124
|
-
this.filter = this.defaultFilter;
|
|
125
|
-
this.cancel.emit();
|
|
126
|
-
};
|
|
127
|
-
handleChange = (field, value) => {
|
|
128
|
-
this.filter = { ...this.filter, [field]: value };
|
|
129
|
-
};
|
|
130
|
-
handleSubmit = () => {
|
|
131
|
-
filterChatsStore.set('filterType', 'advanced');
|
|
132
|
-
this.search.emit(this.filter);
|
|
133
|
-
};
|
|
134
|
-
handleReset = () => {
|
|
135
|
-
this.filter = { ...this.defaultFilter, name: this.selectedFilter?.name || '' };
|
|
136
|
-
};
|
|
137
|
-
handleCreateCustomFilter = async () => {
|
|
138
|
-
const result = await handleCreateChatFilter({
|
|
139
|
-
...this.filter,
|
|
140
|
-
name: this.filter.name,
|
|
141
|
-
type: this.filter.type ?? null,
|
|
142
|
-
read: this.filter.read ?? null,
|
|
143
|
-
connection_ids: this.filter.connectionIds,
|
|
144
|
-
last_answer_by_ids: this.filter.lastAnswerByIds,
|
|
145
|
-
status_ids: this.filter.statusIds,
|
|
146
|
-
tag_ids: this.filter.tagIds,
|
|
147
|
-
});
|
|
148
|
-
if (result) {
|
|
149
|
-
this.cancel.emit();
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
handleUpdateCustomFilter = async () => {
|
|
153
|
-
const result = await handleUpdateChatFilter({
|
|
154
|
-
...this.filter,
|
|
155
|
-
id: this.selectedFilter?.id,
|
|
156
|
-
name: this.filter.name,
|
|
157
|
-
type: this.filter.type ?? null,
|
|
158
|
-
read: this.filter.read ?? null,
|
|
159
|
-
connection_ids: this.filter.connectionIds,
|
|
160
|
-
last_answer_by_ids: this.filter.lastAnswerByIds,
|
|
161
|
-
status_ids: this.filter.statusIds,
|
|
162
|
-
tag_ids: this.filter.tagIds,
|
|
163
|
-
});
|
|
164
|
-
if (result) {
|
|
165
|
-
this.cancel.emit();
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
handleDeleteCustomFilter = async () => {
|
|
169
|
-
const t = useTranslation();
|
|
170
|
-
const title = t('chat_filter.confirm_delete_filter') || 'Are you sure you want to delete this filter?';
|
|
171
|
-
openDialog({
|
|
172
|
-
open: true,
|
|
173
|
-
type: "WARNING" /* DIALOG_TYPE.WARNING */,
|
|
174
|
-
title,
|
|
175
|
-
buttonName: t('confirm'),
|
|
176
|
-
cancelButtonName: t('cancel'),
|
|
177
|
-
onSubmitDialog: () => {
|
|
178
|
-
handleDeleteChatFilter(this.selectedFilter?.id).then((result) => {
|
|
179
|
-
if (result) {
|
|
180
|
-
this.cancel.emit();
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
},
|
|
184
|
-
onCloseDialog: () => {
|
|
185
|
-
// Dialog closed without confirmation
|
|
186
|
-
},
|
|
187
|
-
});
|
|
188
|
-
};
|
|
189
|
-
isEnableUpdateCustomFilter = () => {
|
|
190
|
-
const isNameChanged = this.filter.name !== this.selectedFilter?.name;
|
|
191
|
-
const isTypeChanged = this.filter.type !== this.selectedFilter?.type;
|
|
192
|
-
const isReadChanged = this.filter.read !== this.selectedFilter?.read;
|
|
193
|
-
const isSearchChanged = this.filter.search !== this.selectedFilter?.search;
|
|
194
|
-
// Helper function to check if arrays contain the same items regardless of order
|
|
195
|
-
const areArraysEqual = (arr1, arr2) => {
|
|
196
|
-
if (!arr1 && !arr2)
|
|
197
|
-
return true;
|
|
198
|
-
if (!arr1 || !arr2)
|
|
199
|
-
return false;
|
|
200
|
-
if (arr1.length !== arr2.length)
|
|
201
|
-
return false;
|
|
202
|
-
const set1 = new Set(arr1);
|
|
203
|
-
const set2 = new Set(arr2);
|
|
204
|
-
return arr1.every(item => set2.has(item)) && arr2.every(item => set1.has(item));
|
|
205
|
-
};
|
|
206
|
-
const isConnectionIdsChanged = !areArraysEqual(this.filter.connectionIds, this.selectedFilter?.connection_ids);
|
|
207
|
-
const isLastAnswerByIdsChanged = !areArraysEqual(this.filter.lastAnswerByIds, this.selectedFilter?.last_answer_by_ids);
|
|
208
|
-
const isStatusIdsChanged = !areArraysEqual(this.filter.statusIds, this.selectedFilter?.status_ids);
|
|
209
|
-
const isTagIdsChanged = !areArraysEqual(this.filter.tagIds, this.selectedFilter?.tag_ids);
|
|
210
|
-
return isNameChanged || isTypeChanged || isReadChanged || isSearchChanged || isConnectionIdsChanged || isLastAnswerByIdsChanged || isStatusIdsChanged || isTagIdsChanged;
|
|
211
|
-
};
|
|
212
|
-
renderZrmz() {
|
|
213
|
-
return h("div", null, h("img", { src: "https://zwizai-platform.s3.ap-southeast-1.amazonaws.com/zignal-package/zrmz.png", alt: "zrmz", class: "h-[40px]", loading: "lazy" }), h("div", { class: "flex items-center gap-2" }, h("label", { class: "flex-1 inline-flex items-center gap-2 text-sm mt-1 text-surface" }, h("input", { type: "checkbox", checked: this.filter.zrmz?.isOnlyCustomers, onChange: () => this.handleChange('zrmz', { ...this.filter.zrmz, isOnlyCustomers: !this.filter.zrmz?.isOnlyCustomers }) }), h("span", null, t('chat_filter.only_customer_zrmz'))), h(ZButton, { label: t('chat_tab.advance_search'), variant: "text-underline", endIcon: h(Icon, { name: 'Triangle', addClass: `ml-1 size-1.5 fill-current ${this.isShowAdvancedZrmz ? 'rotate-0' : 'rotate-180'}` }), onClick: () => this.isShowAdvancedZrmz = !this.isShowAdvancedZrmz })), this.isShowAdvancedZrmz && h("div", { class: "flex flex-col" }, h("autocomplete-select", { value: this.zrmzShopList.find(item => item.value === this.filter.zrmz?.shopId)?.label, fetchItems: () => Promise.resolve(this.zrmzShopList.map(item => ({ name: item.label, value: item.value }))), onSelecting: item => this.handleChange('zrmz', { ...this.filter.zrmz, shopId: item.detail.value }), referenceSelector: "filter-zrmz-shop", showClearButton: true, placeholder: t('chat_filter.shop_name'), class: "mb-2" }), h(ZInput, { placeholder: t('chat_filter.name'), value: this.filter.zrmz?.name, onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, name: value }) }), h("div", { class: "flex w-full gap-2" }, h("div", { class: "flex-1" }, h(ZInput, { placeholder: t('quick_message.button_action_tel'), value: this.filter.zrmz?.phoneNumber, onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, phoneNumber: value }) })), h("div", { class: "flex-1" }, h(ZInput, { placeholder: t('email'), value: this.filter.zrmz?.email, onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, email: value }) }))), h("p", { class: "text-sm mb-1 ml-1 text-surface" }, t('chat_filter.total_point')), h("div", { class: "flex w-full gap-2" }, h("div", { class: "flex-1" }, h(ZInput, { placeholder: "Point Type", value: this.filter.zrmz?.totalPointType, onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, totalPointType: value }) })), h("div", { class: "flex-1" }, h(ZInput, { placeholder: "Min", value: this.filter.zrmz?.totalPointMin?.toString(), onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, totalPointMin: Number.parseInt(value) || 0 }) })), h("div", { class: "flex-1" }, h(ZInput, { placeholder: "Max", value: this.filter.zrmz?.totalPointMax?.toString(), onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, totalPointMax: Number.parseInt(value) || 0 }) }))), h("p", { class: "text-sm mb-1 ml-1 text-surface" }, t('chat_filter.remaining_point')), h("div", { class: "flex w-full gap-2" }, h("div", { class: "flex-1" }, h(ZInput, { placeholder: "Point Type", value: this.filter.zrmz?.remainingPointType, onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, remainingPointType: value }) })), h("div", { class: "flex-1" }, h(ZInput, { placeholder: "Min", value: this.filter.zrmz?.remainingPointMin?.toString(), onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, remainingPointMin: Number.parseInt(value) || 0 }) })), h("div", { class: "flex-1" }, h(ZInput, { placeholder: "Max", value: this.filter.zrmz?.remainingPointMax?.toString(), onChange: value => this.handleChange('zrmz', { ...this.filter.zrmz, remainingPointMax: Number.parseInt(value) || 0 }) })))));
|
|
214
|
-
}
|
|
215
|
-
renderZerva() {
|
|
216
|
-
return (h("div", { class: "mt-1" }, h("img", { src: "https://zwizai-platform.s3.ap-southeast-1.amazonaws.com/zignal-package/zerva.png", alt: "zerva", class: "h-[40px]", loading: "lazy" }), h("div", { class: "flex items-center gap-2" }, h("label", { class: "flex-1 inline-flex items-center gap-2 text-sm mt-1 text-surface" }, h("input", { type: "checkbox", checked: this.filter.zerva?.isOnlyCustomers, onChange: () => this.handleChange('zerva', { ...this.filter.zerva, isOnlyCustomers: !this.filter.zerva?.isOnlyCustomers }) }), h("span", null, t('chat_filter.only_customer_zerva'))), h(ZButton, { label: t('chat_tab.advance_search'), variant: "text-underline", endIcon: h(Icon, { name: 'Triangle', addClass: `ml-1 size-1.5 fill-current ${this.isShowAdvancedZerva ? 'rotate-0' : 'rotate-180'}` }), onClick: () => this.isShowAdvancedZerva = !this.isShowAdvancedZerva })), this.isShowAdvancedZerva && h("div", { class: "flex flex-col" }, h("autocomplete-select", { value: this.zervaShopList.find(item => item.value === this.filter.zerva?.shopId)?.label, fetchItems: () => Promise.resolve(this.zervaShopList.map(item => ({ name: item.label, value: item.value }))), onSelecting: item => this.handleChange('zerva', { ...this.filter.zerva, shopId: item.detail.value }), referenceSelector: "filter-zerva-shop", showClearButton: true, placeholder: t('chat_filter.shop_name'), class: "mb-2" }), h(ZInput, { placeholder: t('chat_filter.booking_no'), value: this.filter.zerva?.bookingNo, onChange: value => this.handleChange('zerva', { ...this.filter.zerva, bookingNo: value }) }), h(ZInput, { placeholder: t('chat_filter.name'), value: this.filter.zerva?.name, onChange: value => this.handleChange('zerva', { ...this.filter.zerva, name: value }) }), h("div", { class: "flex w-full gap-2" }, h("div", { class: "flex-1" }, h(ZInput, { placeholder: t('quick_message.button_action_tel'), value: this.filter.zerva?.phoneNumber, onChange: value => this.handleChange('zerva', { ...this.filter.zerva, phoneNumber: value }) })), h("div", { class: "flex-1" }, h(ZInput, { placeholder: t('email'), value: this.filter.zerva?.email, onChange: value => this.handleChange('zerva', { ...this.filter.zerva, email: value }) }))), h("p", { class: "text-sm mb-1 ml-1 text-surface" }, t('chat_filter.service_date')), h("div", { class: "flex w-full gap-2" }, h("div", { class: "flex-1" }, h(ZInput, { type: "date", placeholder: t('chat_filter.start_date'), value: this.filter.zerva?.bookingStartDate || '', onChange: value => this.handleChange('zerva', { ...this.filter.zerva, bookingStartDate: value }) })), h("div", { class: "flex-1" }, h(ZInput, { type: "date", placeholder: t('chat_filter.end_date'), value: this.filter.zerva?.bookingEndDate || '', onChange: value => this.handleChange('zerva', { ...this.filter.zerva, bookingEndDate: value }) }))), h("p", { class: "text-sm mb-1 ml-1 text-surface" }, t('status')), h("div", { class: "flex w-full gap-2" }, h("div", { class: "flex-1" }, h("autocomplete-select", { value: this.filter.zerva?.bookingStatus, fetchItems: () => Promise.resolve(this.zervaShopList.map(item => ({ name: item.label, value: item.value }))), onSelecting: item => this.handleChange('zerva', { ...this.filter.zerva, bookingStatus: item.detail.value }), referenceSelector: "filter-zerva-booking-status", showClearButton: true, placeholder: t('chat_filter.booking_status'), class: "mb-2" })), h("div", { class: "flex-1" }, h("autocomplete-select", { value: this.filter.zerva?.paymentStatus, fetchItems: () => Promise.resolve(this.zervaShopList.map(item => ({ name: item.label, value: item.value }))), onSelecting: item => this.handleChange('zerva', { ...this.filter.zerva, paymentStatus: item.detail.value }), referenceSelector: "filter-zerva-payment-status", showClearButton: true, placeholder: t('chat_filter.payment_status'), class: "mb-2" }))))));
|
|
217
|
-
}
|
|
218
|
-
render() {
|
|
219
|
-
const t = useTranslation();
|
|
220
|
-
const isMobile = responsiveStore.get('isMobile');
|
|
221
|
-
const filterConfig = filterChatsStore.get('filterConfig');
|
|
222
|
-
const selectReadOptions = [{ label: t('chat_tab.all_chat'), value: null }, { label: t('chat_tab.already_read'), value: true }, { label: t('chat_tab.unread'), value: false }];
|
|
223
|
-
const selectChatTypeOptions = [{ label: t('chat_filter.all'), value: null }, { label: t('chat_filter.friend'), value: 'user' }, { label: t('chat_filter.group'), value: 'group' }];
|
|
224
|
-
return (h(Host, { key: 'b66d5dc3572b55d230ee5429e87610a10d0105e1' }, h("div", { key: 'f891e828723d9ff9f7c81f46020a8d38fe7bc564', class: `dialog-search scroll-container ${isMobile ? 'w-xs' : 'w-xl'}` }, h("div", { key: '157ed2b20f6c7b3238d924b9d3ac99870585cfd9', class: "dialog-search-toolbar-action" }, h("div", { key: '6eea56420cc9d9821701acb2cd19d614aa1bcb5c', class: "dialog-search-toolbar-action-wrapper " }, h("span", { key: '0a71975f40c0079bc5293ad48b92b3d428c22aa0', class: "dialog-search-toolbar-action-reset", onClick: this.handleReset }, t('reset')), h(ZIconButton, { key: 'c202b5fa4de14a47711b6314fa88fd2c641b408f', iconName: "X", variant: "none", onClick: this.handleCancel }))), h("h2", { key: 'db750fb472ae4b2e87a1ed145eba55dbf3e6922d', class: "dialog-search-toolbar-title" }, this.filterType === 'advanced' ? t('chat_tab.advanced_search') : this.selectedFilter ? t('chat_tab.edit_custom_filter') : t('chat_tab.add_custom_filter')), h("div", { key: 'b4316d81f65db99bd049544cc45e8de987860aa6', class: "dialog-search-content" }, h("div", { key: 'b9f236d3ae47d18f2922e09320d38d21303a7bf2', class: "space-y-2" }, this.filterType === 'custom' && h("div", { key: '3e320054e53b1c6c780adbe20d449dc7a32777eb' }, h("p", { key: '311db10219d96a95e47f9f8597f53af7110fb853', class: "dialog-search-text" }, t('chat_filter.filter_name'), "\u00A0"), h(ZInput, { key: '1a07a34d30994bd4660f716fdc4f1090549a2bd4', placeholder: t('chat_filter.filter_name'), value: this.filter.name, onChange: value => this.handleChange('name', value) })), h("p", { key: '6bd09d1a4ef743e504fd981f325b27ffe16b4fc9', class: "dialog-search-text" }, t('search'), "\u00A0", h("span", { key: '5d7c9603098e7e61badfcc8c1517405c6017befb', class: "text-sm text-theme-gray" }, "(", t('chat_tab.filter_search_fields'), ")")), h(ZInput, { key: '6de7318798ca86fe681c01307e3818ac46e8bb2c', placeholder: t('search'), value: this.filter.search, onChange: value => this.handleChange('search', value) }), h("p", { key: 'f2bcc3c91604b854ce721ab2e2f810e24c5bc88a', class: "dialog-search-text" }, t('chat_tab.read_status')), h("div", { key: '8ef61d715aff063b513e884ccdbe5e90cabf4410', class: "dialog-search-read-option" }, selectReadOptions.map(({ label, value }) => {
|
|
225
|
-
const isSelected = value === this.filter.read;
|
|
226
|
-
return h(ZButton, { variant: isSelected ? 'primary' : 'outlined', label: label, title: label, onClick: () => this.handleChange('read', value) });
|
|
227
|
-
})), h("p", { key: '1bb1f4e3714733f9332154a82991470f9ebaa635', class: "dialog-search-text" }, t('channel')), h("div", { key: 'd8a67e6d5b83916f5628672cd7d457f8c27f9b69', class: 'mb-2', id: "filter-channel" }, h("autocomplete-multiple-select", { key: 'db313f75a4cfcc3cc3cb19c8b04536481a3cb074', selectedIds: this.filter.connectionIds, fetchItems: async () => Promise.resolve(this.connectionList), onSelecting: event => this.handleChange('connectionIds', event.detail), referenceSelector: "filter-channel" })), h("p", { key: '269ebc20a2cd88533f111c32f7b546c0d9747c40', class: "dialog-search-text" }, t('chat_tab.last_reply')), h("div", { key: '7554a526cac65ea90b463c0c71d4a1dc59998013', class: 'mb-2', id: "filter-last-answer" }, h("autocomplete-multiple-select", { key: '1dfb3b3c15dbf4c18fe29c13a1dd998790fd18ab', selectedIds: this.filter.lastAnswerByIds, fetchItems: async () => Promise.resolve(this.answerList), onSelecting: event => this.handleChange('lastAnswerByIds', event.detail), referenceSelector: "filter-last-answer" })), filterConfig.config.isShowFilterType === true && (h(h.Fragment, null, h("p", { key: 'eea85dc886e0ca967a0254b3c14261f1b58a7a52', class: "dialog-search-text" }, t('chat_filter.type'), "\u00A0", h("span", { key: '12e8c2fdc3fb3b209c00dfd81aa6f5aa284cfdc1', class: "text-sm text-theme-gray" }, "(", t('chat_filter.type_for_line_oa'), ")")), h("div", { key: '823b0aa0119811a213f3a4cb93066adbced1e9c3', class: "dialog-search-read-option" }, selectChatTypeOptions.map(({ label, value }) => {
|
|
228
|
-
const isSelected = value === this.filter.type;
|
|
229
|
-
return h(ZButton, { variant: isSelected ? 'primary' : 'outlined', label: label, title: label, onClick: () => this.handleChange('type', value) });
|
|
230
|
-
})))), h("p", { key: '3e1d9b268feb5064f7d479922304b8c2020d5d4f', class: "dialog-search-text" }, t('status')), h("div", { key: '21ad347161484081751c19861dd0ade86700260b', class: 'mb-2', id: "filter-status" }, h("autocomplete-multiple-select", { key: '03be4151ce966e7fa92c4179b0685befdedf9008', selectedIds: this.filter.statusIds, fetchItems: handleGetUserStatuses, onSelecting: event => this.handleChange('statusIds', event.detail), referenceSelector: "filter-status" })), h("p", { key: 'fa9e0fd0fb655b2a9cc0ac1f53c847334185e5f9', class: "dialog-search-text" }, t('tag')), h("div", { key: '4644c6ad5546ce180e31dcdc033634e856870df2', class: 'mb-2', id: "filter-tag" }, h("autocomplete-multiple-select", { key: 'd868d9347b3eb80d0fca65561ba601ddc9cee92e', selectedIds: this.filter.tagIds, fetchItems: handleGetUserTags, onSelecting: event => this.handleChange('tagIds', event.detail), referenceSelector: "filter-tag" })), haveConnectionFromZwiz() && (h(h.Fragment, null, h("p", { key: '3471ded0fbb971a3ed67dfbc661fae62b392719d', class: "dialog-search-text" }, t('chat_filter.verify_slip')), h("div", { key: 'd5c66ca46439fed49aab682fe757243d0cf33d1e', class: "flex mb-2 gap-2", id: "filter-verify-slip" }, h("autocomplete-select", { key: '5a0b68fca329a3963f67087f537b3bf8ccd04d83', class: "flex-1", value: this.verifySlipList.find(item => item.value === this.filter.verifySlip)?.label, fetchItems: () => Promise.resolve(this.verifySlipList.map(item => ({ name: item.label, value: item.value }))), onSelecting: item => this.handleChange('verifySlip', item.detail.value), referenceSelector: "filter-verify-slip", showClearButton: true }), h("div", { key: 'af421b23688eeee797e48ca071bb9b479df2c9cb', class: "w-1/4" }, h(ZInput, { key: '9d786ce8fa4f1a2615c98ba2580c937c4b50632b', placeholder: t('chat_filter.quantity'), value: this.filter.verifySlipValue?.toString() || '', onChange: value => this.handleChange('verifySlipValue', Number.parseInt(value) || 0) })), h("p", { key: '83934fb4db761c8e9fe24674398ed85ba68b295a', class: "text-sm mt-2" }, t('chat_filter.times'))))), haveConnectionFromZwiz() && this.renderZrmz(), haveConnectionFromZwiz() && this.renderZerva())), this.filterType === 'advanced' && h("div", { key: 'b98394f7f66f08fa8861a8660e79a10299839298', class: "dialog-search-action-wrapper" }, h(ZButton, { key: 'a91492079020fbf04ab156c0ea70dc4483857ef2', label: t('search_data'), fullWidth: true, onClick: this.handleSubmit })), this.filterType === 'custom' && !this.selectedFilter && h("div", { key: '8e3b72cce50e921e084d27a757353ec3ecbea7dd', class: "dialog-search-action-wrapper" }, h(ZButton, { key: '61734e2c0479868792adae7fe9e55968d2b751c1', label: t('chat_filter.add_custom_filter'), fullWidth: true, onClick: this.handleCreateCustomFilter, disabled: !this.filter.name })), this.filterType === 'custom' && this.selectedFilter && h("div", { key: 'ebd88bf7431f4d837d555db75d1db5e07d6cd3bd', class: "dialog-search-action-wrapper" }, h(ZButton, { key: '352dc9e0c240eb87bc5855450f25ce5b9c74e1a3', label: t('save'), fullWidth: true, onClick: this.handleUpdateCustomFilter, disabled: !this.filter.name || !this.isEnableUpdateCustomFilter() }), h(ZButton, { key: '94269d18440f2abcdea98480f82f589373a9a070', variant: 'text-underline', label: t('delete'), fullWidth: true, onClick: this.handleDeleteCustomFilter })))));
|
|
231
|
-
}
|
|
232
|
-
static get style() { return dialogSearchCss; }
|
|
233
|
-
}, [768, "dialog-search", {
|
|
234
|
-
"oldFilter": [16],
|
|
235
|
-
"filterType": [1, "filter-type"],
|
|
236
|
-
"selectedFilter": [16],
|
|
237
|
-
"filter": [32],
|
|
238
|
-
"isShowAdvancedZrmz": [32],
|
|
239
|
-
"isShowAdvancedZerva": [32]
|
|
240
|
-
}]);
|
|
241
|
-
function defineCustomElement() {
|
|
242
|
-
if (typeof customElements === "undefined") {
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
const components = ["dialog-search", "autocomplete-multiple-select", "autocomplete-select"];
|
|
246
|
-
components.forEach(tagName => { switch (tagName) {
|
|
247
|
-
case "dialog-search":
|
|
248
|
-
if (!customElements.get(tagName)) {
|
|
249
|
-
customElements.define(tagName, DialogSearch);
|
|
250
|
-
}
|
|
251
|
-
break;
|
|
252
|
-
case "autocomplete-multiple-select":
|
|
253
|
-
if (!customElements.get(tagName)) {
|
|
254
|
-
defineCustomElement$2();
|
|
255
|
-
}
|
|
256
|
-
break;
|
|
257
|
-
case "autocomplete-select":
|
|
258
|
-
if (!customElements.get(tagName)) {
|
|
259
|
-
defineCustomElement$1();
|
|
260
|
-
}
|
|
261
|
-
break;
|
|
262
|
-
} });
|
|
263
|
-
}
|
|
264
|
-
defineCustomElement();
|
|
265
|
-
|
|
266
|
-
export { DialogSearch as D, defineCustomElement as d };
|