zignal-stencil-library 1.1.110 → 1.1.112
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/app-globals-V2Kpy_OQ.js.map +1 -1
- package/dist/cjs/autocomplete-address_43.cjs.entry.js +185 -137
- package/dist/cjs/{dayjs-Dssqvl2P.js → dayjs-Fs60i07x.js} +3 -3
- package/dist/cjs/dayjs-Fs60i07x.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/quick-message-app.cjs.entry.js +3 -3
- package/dist/cjs/quick-message-app.entry.cjs.js.map +1 -1
- 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-app/chat-app.js +1 -1
- package/dist/collection/components/chat-app/chat-app.js.map +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/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-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/merge-user-view.js +1 -1
- package/dist/collection/components/internal-component/merge-user-view.js.map +1 -1
- 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/menu-list/menu-list.js +23 -2
- package/dist/collection/components/menu-list/menu-list.js.map +1 -1
- package/dist/collection/components/message-box/message-box.css +1 -1
- 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-item/message-item.js +4 -2
- package/dist/collection/components/message-item/message-item.js.map +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-history/profile-history.js +14 -22
- package/dist/collection/components/profile-history/profile-history.js.map +1 -1
- package/dist/collection/components/profile-info/profile-info.css +1 -1
- package/dist/collection/components/profile-info/profile-info.js +21 -38
- package/dist/collection/components/profile-info/profile-info.js.map +1 -1
- package/dist/collection/components/profile-info/user-info-section.js +48 -5
- package/dist/collection/components/profile-info/user-info-section.js.map +1 -1
- package/dist/collection/components/profile-media/profile-media.css +1 -1
- package/dist/collection/components/profile-media/profile-media.js +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.css +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.js +6 -6
- package/dist/collection/components/profile-tabs/profile-tabs.js.map +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.js +3 -3
- package/dist/collection/components/quick-message-add-template/quick-message-text-content.js +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.css +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.js +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.js +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.js +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.js +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.js +3 -3
- package/dist/collection/components/search-box/search-box.css +1 -1
- package/dist/collection/components/search-box/search-box.js +1 -1
- package/dist/collection/components/status-badge/status-badge.css +1 -1
- package/dist/collection/components/status-badge/status-badge.js +2 -2
- package/dist/collection/components/tag-list/tag-list.css +1 -1
- package/dist/collection/components/tag-list/tag-list.js +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.js +2 -2
- package/dist/collection/components/tag-popper/tag-popper.css +1 -1
- package/dist/collection/components/tag-popper/tag-popper.js +2 -2
- package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
- package/dist/collection/components/typography-clamp/typography-clamp.js +2 -2
- package/dist/collection/components/z-avatar/z-avatar.css +1 -1
- package/dist/collection/components/z-avatar/z-avatar.js +8 -2
- package/dist/collection/components/z-avatar/z-avatar.js.map +1 -1
- package/dist/collection/components/z-dialog/z-dialog.css +1 -1
- package/dist/collection/store/chat.js +6 -1
- package/dist/collection/store/chat.js.map +1 -1
- package/dist/collection/store/message.js +38 -6
- package/dist/collection/store/message.js.map +1 -1
- package/dist/collection/store/store.js +1 -1
- package/dist/collection/store/store.js.map +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 +48 -48
- package/dist/components/chat-app.js.map +1 -1
- 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-editor.js +1 -1
- package/dist/components/dialog-preview-media.js +1 -1
- package/dist/components/dialog-search.js +1 -1
- 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-BfwDQevk.js → p-2QReMzO8.js} +15 -15
- package/dist/components/{p-BfwDQevk.js.map → p-2QReMzO8.js.map} +1 -1
- package/dist/components/{p-BAcE386V.js → p-5S7W_s42.js} +44 -12
- package/dist/components/p-5S7W_s42.js.map +1 -0
- package/dist/components/{p-7VwG3GTl.js → p-5z3Oz7nB.js} +4 -4
- package/dist/components/{p-7VwG3GTl.js.map → p-5z3Oz7nB.js.map} +1 -1
- package/dist/components/{p-Bb01kTl4.js → p-B6HiV-kQ.js} +3 -3
- package/dist/components/{p-Bb01kTl4.js.map → p-B6HiV-kQ.js.map} +1 -1
- package/dist/components/p-BB1RB9Dr.js +35 -0
- package/dist/components/{p-DBgHNduI.js.map → p-BB1RB9Dr.js.map} +1 -1
- package/dist/components/{p-GrnK0v_A.js → p-BLQ37Esu.js} +7 -7
- package/dist/components/{p-GrnK0v_A.js.map → p-BLQ37Esu.js.map} +1 -1
- package/dist/components/p-BLnHiJOJ.js +127 -0
- package/dist/components/p-BLnHiJOJ.js.map +1 -0
- package/dist/components/{p-xc8pAQt4.js → p-BQHu9-yW.js} +4 -4
- package/dist/components/{p-xc8pAQt4.js.map → p-BQHu9-yW.js.map} +1 -1
- package/dist/components/{p-DOx_fYz_.js → p-Bc8NC50u.js} +10 -10
- package/dist/components/{p-DOx_fYz_.js.map → p-Bc8NC50u.js.map} +1 -1
- package/dist/components/{p-DT1e8U5J.js → p-BdEkTr1V.js} +12 -12
- package/dist/components/{p-DT1e8U5J.js.map → p-BdEkTr1V.js.map} +1 -1
- package/dist/components/p-BlPbmOUJ.js +145 -0
- package/dist/components/p-BlPbmOUJ.js.map +1 -0
- package/dist/components/p-BpgguOkG.js +55 -0
- package/dist/components/{p-Zye2AvZI.js.map → p-BpgguOkG.js.map} +1 -1
- package/dist/components/p-Bt-g4GxB.js +113 -0
- package/dist/components/{p-rShdvhEn.js.map → p-Bt-g4GxB.js.map} +1 -1
- package/dist/components/{p-COFzcZWg.js → p-Bvoo3LWo.js} +6 -6
- package/dist/components/{p-COFzcZWg.js.map → p-Bvoo3LWo.js.map} +1 -1
- package/dist/components/{p-C0an_Y-_.js → p-C-YLmbpA.js} +4 -4
- package/dist/components/{p-C0an_Y-_.js.map → p-C-YLmbpA.js.map} +1 -1
- package/dist/components/{p-Dhuf9YNy.js → p-C2YAe0Ke.js} +3 -3
- package/dist/components/{p-Dhuf9YNy.js.map → p-C2YAe0Ke.js.map} +1 -1
- package/dist/components/{p-BQ0yCCV6.js → p-C4fbtLks.js} +5 -5
- package/dist/components/{p-BQ0yCCV6.js.map → p-C4fbtLks.js.map} +1 -1
- package/dist/components/{p-Csg2zfWF.js → p-C5i_qaws.js} +9 -9
- package/dist/components/{p-Csg2zfWF.js.map → p-C5i_qaws.js.map} +1 -1
- package/dist/components/{p-Bfvlw-rF.js → p-C7MtMQaw.js} +3 -3
- package/dist/components/{p-Bfvlw-rF.js.map → p-C7MtMQaw.js.map} +1 -1
- package/dist/components/{p-Ca9LbW-0.js → p-CB09ePCJ.js} +7 -7
- package/dist/components/{p-Ca9LbW-0.js.map → p-CB09ePCJ.js.map} +1 -1
- package/dist/components/{p-BEYgWj6b.js → p-CDPdfHLJ.js} +3 -3
- package/dist/components/{p-BEYgWj6b.js.map → p-CDPdfHLJ.js.map} +1 -1
- package/dist/components/p-CO0rmAnj.js +79 -0
- package/dist/components/{p-Drdp5Euh.js.map → p-CO0rmAnj.js.map} +1 -1
- package/dist/components/{p-uDj0XDfv.js → p-CRUuP7NU.js} +5 -5
- package/dist/components/{p-uDj0XDfv.js.map → p-CRUuP7NU.js.map} +1 -1
- package/dist/components/p-CS9zOcMw.js +126 -0
- package/dist/components/{p-aG9sejEo.js.map → p-CS9zOcMw.js.map} +1 -1
- package/dist/components/{p-a8Ave0b1.js → p-CZRPZKJ-.js} +11 -6
- package/dist/components/p-CZRPZKJ-.js.map +1 -0
- package/dist/components/{p-Cav9Xvhc.js → p-CZnSKQhh.js} +6 -6
- package/dist/components/{p-Cav9Xvhc.js.map → p-CZnSKQhh.js.map} +1 -1
- package/dist/components/{p-BQwk0OCD.js → p-C_gF8T8r.js} +12 -12
- package/dist/components/{p-BQwk0OCD.js.map → p-C_gF8T8r.js.map} +1 -1
- package/dist/components/{p-D5PoL4hp.js → p-CbjDD_ZV.js} +4 -4
- package/dist/components/{p-D5PoL4hp.js.map → p-CbjDD_ZV.js.map} +1 -1
- package/dist/components/{p-DHFOACHm.js → p-Cbmk_g-R.js} +5 -5
- package/dist/components/{p-DHFOACHm.js.map → p-Cbmk_g-R.js.map} +1 -1
- package/dist/components/{p-DeqB7qmW.js → p-CbwYwjdH.js} +3 -3
- package/dist/components/{p-DeqB7qmW.js.map → p-CbwYwjdH.js.map} +1 -1
- package/dist/components/{p-DXliIvkR.js → p-CiMfB3dP.js} +8 -8
- package/dist/components/{p-DXliIvkR.js.map → p-CiMfB3dP.js.map} +1 -1
- package/dist/components/p-CqgrsdCk.js +124 -0
- package/dist/components/p-CqgrsdCk.js.map +1 -0
- package/dist/components/{p-CaKYRiqR.js → p-CtIwL686.js} +4 -4
- package/dist/components/{p-CaKYRiqR.js.map → p-CtIwL686.js.map} +1 -1
- package/dist/components/{p-DTALiLAZ.js → p-D0EnDE_o.js} +4 -4
- package/dist/components/{p-DTALiLAZ.js.map → p-D0EnDE_o.js.map} +1 -1
- package/dist/components/{p-BTItt0Vn.js → p-DD6xErUJ.js} +43 -59
- package/dist/components/p-DD6xErUJ.js.map +1 -0
- package/dist/components/{p-CZjMEPqi.js → p-DFb_40q7.js} +7 -7
- package/dist/components/{p-CZjMEPqi.js.map → p-DFb_40q7.js.map} +1 -1
- package/dist/components/p-DIX7oTZv.js +112 -0
- package/dist/components/{p-DQjjDohc.js.map → p-DIX7oTZv.js.map} +1 -1
- package/dist/components/{p-2nxqY6Yv.js → p-DJ2KkdwP.js} +6 -6
- package/dist/components/{p-2nxqY6Yv.js.map → p-DJ2KkdwP.js.map} +1 -1
- package/dist/components/{p-C0WNBAqe.js → p-DRC94y7I.js} +5 -5
- package/dist/components/{p-C0WNBAqe.js.map → p-DRC94y7I.js.map} +1 -1
- package/dist/components/p-DUHqYYmX.js +161 -0
- package/dist/components/p-DUHqYYmX.js.map +1 -0
- package/dist/components/{p-D-KXyaWT.js → p-DXwuZde7.js} +6 -6
- package/dist/components/{p-D-KXyaWT.js.map → p-DXwuZde7.js.map} +1 -1
- package/dist/components/{p-CoklAWrF.js → p-DakbQEWw.js} +29 -29
- package/dist/components/{p-CoklAWrF.js.map → p-DakbQEWw.js.map} +1 -1
- package/dist/components/p-DdQFGe5w.js +225 -0
- package/dist/components/p-DdQFGe5w.js.map +1 -0
- package/dist/components/{p-b7Sv1iEG.js → p-DkfO3Url.js} +13 -13
- package/dist/components/{p-b7Sv1iEG.js.map → p-DkfO3Url.js.map} +1 -1
- package/dist/components/p-DtADJshZ.js +101 -0
- package/dist/components/p-DtADJshZ.js.map +1 -0
- package/dist/components/{p-DyI3f7kr.js → p-Dtzhm5Pa.js} +7 -7
- package/dist/components/{p-DyI3f7kr.js.map → p-Dtzhm5Pa.js.map} +1 -1
- package/dist/components/{p-DKrfS1S5.js → p-DwRMNFnU.js} +3 -3
- package/dist/components/{p-DKrfS1S5.js.map → p-DwRMNFnU.js.map} +1 -1
- package/dist/components/p-HxECzi7b.js +161 -0
- package/dist/components/{p-34NvdAct.js.map → p-HxECzi7b.js.map} +1 -1
- package/dist/components/p-KedgTCA1.js +61 -0
- package/dist/components/{p-a3QvEULN.js.map → p-KedgTCA1.js.map} +1 -1
- package/dist/components/{p-WYN1j0PL.js → p-L97C6UYO.js} +5 -5
- package/dist/components/{p-WYN1j0PL.js.map → p-L97C6UYO.js.map} +1 -1
- package/dist/components/{p-Khnj_GHE.js → p-PLHiwThd.js} +3 -3
- package/dist/components/{p-Khnj_GHE.js.map → p-PLHiwThd.js.map} +1 -1
- package/dist/components/{p-COEdIJkP.js → p-l6ffmvGW.js} +5 -5
- package/dist/components/{p-COEdIJkP.js.map → p-l6ffmvGW.js.map} +1 -1
- package/dist/components/{p-D1eldCje.js → p-m4eaolum.js} +4 -4
- package/dist/components/{p-D1eldCje.js.map → p-m4eaolum.js.map} +1 -1
- package/dist/components/{p-D6cBz4be.js → p-odaejdwA.js} +19 -19
- package/dist/components/{p-D6cBz4be.js.map → p-odaejdwA.js.map} +1 -1
- package/dist/components/p-sa3XE9PE.js +148 -0
- package/dist/components/p-sa3XE9PE.js.map +1 -0
- package/dist/components/{p-LsQYRhK6.js → p-x8gJGTdZ.js} +3 -3
- package/dist/components/p-x8gJGTdZ.js.map +1 -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 +13 -13
- package/dist/components/quick-message-app.js.map +1 -1
- package/dist/components/quick-message-button-content.js +1 -1
- package/dist/components/quick-message-file.js +1 -1
- package/dist/components/quick-message-image-content.js +1 -1
- package/dist/components/quick-message-image.js +1 -1
- package/dist/components/quick-message-menu-list-content.js +1 -1
- package/dist/components/quick-message-modal.js +1 -1
- package/dist/components/quick-message-template.js +1 -1
- package/dist/components/quick-message-text-content.js +1 -1
- package/dist/components/quick-message-video-content.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/app-globals-DQuL1Twl.js.map +1 -1
- package/dist/esm/autocomplete-address_43.entry.js +185 -137
- package/dist/esm/{dayjs-9U43dXkE.js → dayjs-CBRfzh5w.js} +4 -4
- package/dist/esm/dayjs-CBRfzh5w.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/quick-message-app.entry.js +3 -3
- package/dist/esm/quick-message-app.entry.js.map +1 -1
- package/dist/esm/zignal-stencil-library.js +1 -1
- package/dist/types/components/menu-list/menu-list.d.ts +3 -2
- package/dist/types/components/profile-history/profile-history.d.ts +1 -0
- package/dist/types/components/profile-info/profile-info.d.ts +2 -2
- package/dist/types/components/profile-info/user-info-section.d.ts +2 -0
- package/dist/types/components/z-avatar/z-avatar.d.ts +1 -1
- package/dist/types/components.d.ts +12 -2
- package/dist/types/store/store.d.ts +1 -1
- package/dist/zignal-stencil-library/{p-35a45709.entry.js → p-2fcff9fe.entry.js} +64 -64
- package/dist/zignal-stencil-library/p-2fcff9fe.entry.js.map +1 -0
- package/dist/zignal-stencil-library/p-4b0cf474.entry.js +2 -0
- package/dist/zignal-stencil-library/{p-b3cbf3e3.entry.js.map → p-4b0cf474.entry.js.map} +1 -1
- package/dist/zignal-stencil-library/p-CZlSuaCa.js +2 -0
- package/dist/zignal-stencil-library/p-CZlSuaCa.js.map +1 -0
- package/dist/zignal-stencil-library/p-DQuL1Twl.js.map +1 -1
- package/dist/zignal-stencil-library/quick-message-app.entry.esm.js.map +1 -1
- package/dist/zignal-stencil-library/zignal-stencil-library.css +1 -1
- package/dist/zignal-stencil-library/zignal-stencil-library.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/dayjs-Dssqvl2P.js.map +0 -1
- package/dist/components/p-34NvdAct.js +0 -161
- package/dist/components/p-8c8Dr0ZV.js +0 -148
- package/dist/components/p-8c8Dr0ZV.js.map +0 -1
- package/dist/components/p-B0F3Fpbq.js +0 -127
- package/dist/components/p-B0F3Fpbq.js.map +0 -1
- package/dist/components/p-B5dJsgfS.js +0 -122
- package/dist/components/p-B5dJsgfS.js.map +0 -1
- package/dist/components/p-BAcE386V.js.map +0 -1
- package/dist/components/p-BTItt0Vn.js.map +0 -1
- package/dist/components/p-BtVgKal4.js +0 -116
- package/dist/components/p-BtVgKal4.js.map +0 -1
- package/dist/components/p-DBgHNduI.js +0 -35
- package/dist/components/p-DLUy8rmx.js +0 -223
- package/dist/components/p-DLUy8rmx.js.map +0 -1
- package/dist/components/p-DQjjDohc.js +0 -112
- package/dist/components/p-Drdp5Euh.js +0 -79
- package/dist/components/p-LsQYRhK6.js.map +0 -1
- package/dist/components/p-Zye2AvZI.js +0 -55
- package/dist/components/p-a3QvEULN.js +0 -61
- package/dist/components/p-a8Ave0b1.js.map +0 -1
- package/dist/components/p-aG9sejEo.js +0 -126
- package/dist/components/p-eM9QTWv9.js +0 -95
- package/dist/components/p-eM9QTWv9.js.map +0 -1
- package/dist/components/p-rShdvhEn.js +0 -113
- package/dist/components/p-tAmACNBr.js +0 -169
- package/dist/components/p-tAmACNBr.js.map +0 -1
- package/dist/esm/dayjs-9U43dXkE.js.map +0 -1
- package/dist/zignal-stencil-library/p-35a45709.entry.js.map +0 -1
- package/dist/zignal-stencil-library/p-DO7BhE7i.js +0 -2
- package/dist/zignal-stencil-library/p-DO7BhE7i.js.map +0 -1
- package/dist/zignal-stencil-library/p-b3cbf3e3.entry.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-Csg2zfWF.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,mnhDAAmnhD;;MCa9nhD,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;;;;;;;;;AACf,IAAA,cAAc,GAAG,WAAW,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,UAAU,KAAK;QAC5E,QAAQ,EAAE,UAAU,CAAC,IAAc;QACnC,KAAK,EAAE,UAAU,CAAC,IAAI;QACtB,KAAK,EAAE,UAAU,CAAC,EAAE;QACpB,EAAE,EAAE,UAAU,CAAC,EAAE;QACjB,IAAI,EAAE,UAAU,CAAC,IAAI;AACtB,KAAA,CAAC,CAAC;AAEK,IAAA,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,UAAU,IAAG;QAClE,MAAM,QAAQ,GAAG,CAAC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AA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAC/B,UAAU,EAAE,iBAAiB,EAC7B,WAAW,EAAE,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAC/D,iBAAiB,EAAC,YAAY,EAAA,CAC9B,CACE,CACF,EAEN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAC,CAAA,OAAO,qDAAC,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,EAAE,SAAS,QAAC,OAAO,EAAE,IAAI,CAAC,YAAY,GAAI,CACtE,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/dialog-search/dialog-search.css?tag=dialog-search","src/components/dialog-search/dialog-search.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.dialog-search {\n @apply relative p-6 rounded-lg shadow-lg max-h-[80vh] overflow-auto\n}\n\n.dialog-search-toolbar-action {\n @apply absolute top-4 right-4\n}\n\n.dialog-search-toolbar-action-wrapper {\n @apply flex flex-row gap-2 items-center\n}\n\n.dialog-search-toolbar-action-reset {\n @apply cursor-pointer underline\n}\n\n.dialog-search-toolbar-title {\n @apply text-lg text-center font-bold mb-2\n}\n\n.dialog-search-read-option {\n @apply flex flex-row gap-2 flex-wrap mb-2\n}\n\n.dialog-search-action-wrapper {\n @apply flex justify-between items-center mt-4 gap-2\n}","import { Component, EventEmitter, Event, Host, State, h, Prop } from '@stencil/core';\nimport { ZButton } from '../internal-component/z-button';\nimport { ZInput } from '../internal-component/z-input';\nimport { configStore, filterChatsStore, responsiveStore } from '../../store/store';\nimport { SearchChatsParams } from '../../api/type';\nimport { handleGetUserStatuses, handleGetUserTags } from '../../store/chat';\nimport { useTranslation } from '../../utils/utils';\nimport { ZIconButton } from '../internal-component/z-icon-button';\n\n@Component({\n tag: 'dialog-search',\n styleUrl: 'dialog-search.css',\n})\nexport class DialogSearch {\n private connectionList = configStore.get('connectionList').map(connection => ({\n iconName: connection.type as string,\n label: connection.name,\n value: connection.id,\n id: connection.id,\n name: connection.name,\n }));\n\n private answerList = configStore.get('memberList').map(connection => {\n const fullName = [connection.member_account.first_name || '', connection.member_account.last_name || ''].join(' ').trim();\n const label = fullName ? `${fullName} (${connection.member_login_data.email})` : connection.member_login_data.email;\n return {\n label,\n value: connection.id,\n id: connection.id,\n name: label,\n };\n });\n\n private defaultFilter: SearchChatsParams = {\n search: '',\n // spam: false,\n read: undefined,\n connectionIds: this.connectionList.map(connection => connection.value) || [],\n lastAnswerByIds: this.answerList.map(answer => answer.value) || [],\n statusIds: [],\n tagIds: [],\n };\n\n @Prop() oldFilter: SearchChatsParams;\n\n @State() filter = this.defaultFilter;\n\n @Event() cancel: EventEmitter<void>;\n @Event() search: EventEmitter<SearchChatsParams>;\n\n componentWillLoad() {\n const _filter = {\n ...filterChatsStore.get('filterChat'),\n ...this.oldFilter,\n };\n\n if (Object.keys(_filter).length) {\n this.filter = _filter;\n }\n }\n\n handleCancel = () => {\n this.filter = this.defaultFilter;\n this.cancel.emit();\n };\n\n handleChange = (field: keyof typeof this.filter, value: string | string[] | boolean) => {\n this.filter = { ...this.filter, [field]: value };\n };\n\n handleSubmit = () => {\n this.search.emit(this.filter);\n };\n\n handleReset = () => {\n this.filter = this.defaultFilter;\n };\n\n render() {\n const t = useTranslation();\n const theme = configStore.get('theme');\n const isMobile = responsiveStore.get('isMobile');\n\n const selectReadOptions = [{ label: t('chat_tab.all_chat') }, { label: t('chat_tab.already_read'), value: true }, { label: t('chat_tab.unread'), value: false }];\n\n return (\n <Host>\n <div class={`dialog-search scroll-container z-background-${theme} ${isMobile ? 'w-xs' : 'w-xl'}`}>\n <div class=\"dialog-search-toolbar-action\">\n <div class=\"dialog-search-toolbar-action-wrapper \">\n <span class={`dialog-search-toolbar-action-reset z-text-${theme}`} onClick={this.handleReset}>\n {t('reset')}\n </span>\n <ZIconButton iconName=\"X\" variant=\"none\" onClick={this.handleCancel} />\n </div>\n </div>\n <h2 class={`dialog-search-toolbar-title z-text-${theme}`}>{t('chat_tab.search_chat')}</h2>\n\n <div class=\"space-y-2\">\n <p class={`font-bold z-text-${theme}`}>\n {t('search')} \n <span class={`text-sm z-text-gray-${theme}`}>({t('chat_tab.filter_search_fields')})</span>\n </p>\n <ZInput placeholder={t('search')} value={this.filter.search} onChange={value => this.handleChange('search', value)} />\n\n <p class={`font-bold z-text-${theme}`}>{t('chat_tab.read_status')}</p>\n <div class=\"dialog-search-read-option\">\n {selectReadOptions.map(({ label, value }) => {\n const isSelected = value === this.filter.read;\n return <ZButton variant={isSelected ? 'primary' : 'outlined'} label={label} title={label} onClick={() => this.handleChange('read', value)} />;\n })}\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('channel')}</p>\n <div class={'mb-2'} id=\"filter-channel\">\n {/* <checkbox-list itemList={this.connectionList} selected={new Set(this.filter.connectionIds)} onCheckbox={event => this.handleChange('connectionIds', event.detail)} /> */}\n <autocomplete-multiple-select\n selectedIds={this.filter.connectionIds}\n fetchItems={async () => Promise.resolve(this.connectionList)}\n onSelecting={event => this.handleChange('connectionIds', event.detail)}\n referenceSelector=\"filter-channel\"\n />\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('chat_tab.last_reply')}</p>\n <div class={'mb-2'} id=\"filter-last-answer\">\n {/* <checkbox-list itemList={this.answerList} selected={new Set(this.filter.lastAnswerByIds)} onCheckbox={event => this.handleChange('lastAnswerByIds', event.detail)} /> */}\n <autocomplete-multiple-select\n selectedIds={this.filter.lastAnswerByIds}\n fetchItems={async () => Promise.resolve(this.answerList)}\n onSelecting={event => this.handleChange('lastAnswerByIds', event.detail)}\n referenceSelector=\"filter-last-answer\"\n />\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('status')}</p>\n <div class={'mb-2'} id=\"filter-status\">\n <autocomplete-multiple-select\n selectedIds={this.filter.statusIds}\n fetchItems={handleGetUserStatuses}\n onSelecting={event => this.handleChange('statusIds', event.detail)}\n referenceSelector=\"filter-status\"\n />\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('tag')}</p>\n <div class={'mb-2'} id=\"filter-tag\">\n <autocomplete-multiple-select\n selectedIds={this.filter.tagIds}\n fetchItems={handleGetUserTags}\n onSelecting={event => this.handleChange('tagIds', event.detail)}\n referenceSelector=\"filter-tag\"\n />\n </div>\n </div>\n\n <div class=\"dialog-search-action-wrapper\">\n <ZButton label={t('search_data')} fullWidth onClick={this.handleSubmit} />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-C5i_qaws.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,6ihDAA6ihD;;MCaxjhD,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;;;;;;;;;AACf,IAAA,cAAc,GAAG,WAAW,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,UAAU,KAAK;QAC5E,QAAQ,EAAE,UAAU,CAAC,IAAc;QACnC,KAAK,EAAE,UAAU,CAAC,IAAI;QACtB,KAAK,EAAE,UAAU,CAAC,EAAE;QACpB,EAAE,EAAE,UAAU,CAAC,EAAE;QACjB,IAAI,EAAE,UAAU,CAAC,IAAI;AACtB,KAAA,CAAC,CAAC;AAEK,IAAA,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,UAAU,IAAG;QAClE,MAAM,QAAQ,GAAG,CAAC,UAAU,CAAC,cAAc,CAAC,UAAU,IAAI,EAAE,EAAE,UAAU,CAAC,cAAc,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;QACzH,MAAM,KAAK,GAAG,QAAQ,GAAG,CAAA,EAAG,QAAQ,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EAC/D,iBAAiB,EAAC,YAAY,EAAA,CAC9B,CACE,CACF,EAEN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAC,CAAA,OAAO,qDAAC,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC,EAAE,SAAS,QAAC,OAAO,EAAE,IAAI,CAAC,YAAY,GAAI,CACtE,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/dialog-search/dialog-search.css?tag=dialog-search","src/components/dialog-search/dialog-search.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.dialog-search {\n @apply relative p-6 rounded-lg shadow-lg max-h-[80vh] overflow-auto\n}\n\n.dialog-search-toolbar-action {\n @apply absolute top-4 right-4\n}\n\n.dialog-search-toolbar-action-wrapper {\n @apply flex flex-row gap-2 items-center\n}\n\n.dialog-search-toolbar-action-reset {\n @apply cursor-pointer underline\n}\n\n.dialog-search-toolbar-title {\n @apply text-lg text-center font-bold mb-2\n}\n\n.dialog-search-read-option {\n @apply flex flex-row gap-2 flex-wrap mb-2\n}\n\n.dialog-search-action-wrapper {\n @apply flex justify-between items-center mt-4 gap-2\n}","import { Component, EventEmitter, Event, Host, State, h, Prop } from '@stencil/core';\nimport { ZButton } from '../internal-component/z-button';\nimport { ZInput } from '../internal-component/z-input';\nimport { configStore, filterChatsStore, responsiveStore } from '../../store/store';\nimport { SearchChatsParams } from '../../api/type';\nimport { handleGetUserStatuses, handleGetUserTags } from '../../store/chat';\nimport { useTranslation } from '../../utils/utils';\nimport { ZIconButton } from '../internal-component/z-icon-button';\n\n@Component({\n tag: 'dialog-search',\n styleUrl: 'dialog-search.css',\n})\nexport class DialogSearch {\n private connectionList = configStore.get('connectionList').map(connection => ({\n iconName: connection.type as string,\n label: connection.name,\n value: connection.id,\n id: connection.id,\n name: connection.name,\n }));\n\n private answerList = configStore.get('memberList').map(connection => {\n const fullName = [connection.member_account.first_name || '', connection.member_account.last_name || ''].join(' ').trim();\n const label = fullName ? `${fullName} (${connection.member_login_data.email})` : connection.member_login_data.email;\n return {\n label,\n value: connection.id,\n id: connection.id,\n name: label,\n };\n });\n\n private defaultFilter: SearchChatsParams = {\n search: '',\n // spam: false,\n read: undefined,\n connectionIds: this.connectionList.map(connection => connection.value) || [],\n lastAnswerByIds: this.answerList.map(answer => answer.value) || [],\n statusIds: [],\n tagIds: [],\n };\n\n @Prop() oldFilter: SearchChatsParams;\n\n @State() filter = this.defaultFilter;\n\n @Event() cancel: EventEmitter<void>;\n @Event() search: EventEmitter<SearchChatsParams>;\n\n componentWillLoad() {\n const _filter = {\n ...filterChatsStore.get('filterChat'),\n ...this.oldFilter,\n };\n\n if (Object.keys(_filter).length) {\n this.filter = _filter;\n }\n }\n\n handleCancel = () => {\n this.filter = this.defaultFilter;\n this.cancel.emit();\n };\n\n handleChange = (field: keyof typeof this.filter, value: string | string[] | boolean) => {\n this.filter = { ...this.filter, [field]: value };\n };\n\n handleSubmit = () => {\n this.search.emit(this.filter);\n };\n\n handleReset = () => {\n this.filter = this.defaultFilter;\n };\n\n render() {\n const t = useTranslation();\n const theme = configStore.get('theme');\n const isMobile = responsiveStore.get('isMobile');\n\n const selectReadOptions = [{ label: t('chat_tab.all_chat') }, { label: t('chat_tab.already_read'), value: true }, { label: t('chat_tab.unread'), value: false }];\n\n return (\n <Host>\n <div class={`dialog-search scroll-container z-background-${theme} ${isMobile ? 'w-xs' : 'w-xl'}`}>\n <div class=\"dialog-search-toolbar-action\">\n <div class=\"dialog-search-toolbar-action-wrapper \">\n <span class={`dialog-search-toolbar-action-reset z-text-${theme}`} onClick={this.handleReset}>\n {t('reset')}\n </span>\n <ZIconButton iconName=\"X\" variant=\"none\" onClick={this.handleCancel} />\n </div>\n </div>\n <h2 class={`dialog-search-toolbar-title z-text-${theme}`}>{t('chat_tab.search_chat')}</h2>\n\n <div class=\"space-y-2\">\n <p class={`font-bold z-text-${theme}`}>\n {t('search')} \n <span class={`text-sm z-text-gray-${theme}`}>({t('chat_tab.filter_search_fields')})</span>\n </p>\n <ZInput placeholder={t('search')} value={this.filter.search} onChange={value => this.handleChange('search', value)} />\n\n <p class={`font-bold z-text-${theme}`}>{t('chat_tab.read_status')}</p>\n <div class=\"dialog-search-read-option\">\n {selectReadOptions.map(({ label, value }) => {\n const isSelected = value === this.filter.read;\n return <ZButton variant={isSelected ? 'primary' : 'outlined'} label={label} title={label} onClick={() => this.handleChange('read', value)} />;\n })}\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('channel')}</p>\n <div class={'mb-2'} id=\"filter-channel\">\n {/* <checkbox-list itemList={this.connectionList} selected={new Set(this.filter.connectionIds)} onCheckbox={event => this.handleChange('connectionIds', event.detail)} /> */}\n <autocomplete-multiple-select\n selectedIds={this.filter.connectionIds}\n fetchItems={async () => Promise.resolve(this.connectionList)}\n onSelecting={event => this.handleChange('connectionIds', event.detail)}\n referenceSelector=\"filter-channel\"\n />\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('chat_tab.last_reply')}</p>\n <div class={'mb-2'} id=\"filter-last-answer\">\n {/* <checkbox-list itemList={this.answerList} selected={new Set(this.filter.lastAnswerByIds)} onCheckbox={event => this.handleChange('lastAnswerByIds', event.detail)} /> */}\n <autocomplete-multiple-select\n selectedIds={this.filter.lastAnswerByIds}\n fetchItems={async () => Promise.resolve(this.answerList)}\n onSelecting={event => this.handleChange('lastAnswerByIds', event.detail)}\n referenceSelector=\"filter-last-answer\"\n />\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('status')}</p>\n <div class={'mb-2'} id=\"filter-status\">\n <autocomplete-multiple-select\n selectedIds={this.filter.statusIds}\n fetchItems={handleGetUserStatuses}\n onSelecting={event => this.handleChange('statusIds', event.detail)}\n referenceSelector=\"filter-status\"\n />\n </div>\n\n <p class={`font-bold z-text-${theme}`}>{t('tag')}</p>\n <div class={'mb-2'} id=\"filter-tag\">\n <autocomplete-multiple-select\n selectedIds={this.filter.tagIds}\n fetchItems={handleGetUserTags}\n onSelecting={event => this.handleChange('tagIds', event.detail)}\n referenceSelector=\"filter-tag\"\n />\n </div>\n </div>\n\n <div class=\"dialog-search-action-wrapper\">\n <ZButton label={t('search_data')} fullWidth onClick={this.handleSubmit} />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './p-D_ltSEZy.js';
|
|
2
|
-
import { c as configStore } from './p-
|
|
2
|
+
import { c as configStore } from './p-x8gJGTdZ.js';
|
|
3
3
|
|
|
4
4
|
const ZInput = ({ id, label, placeholder = '', value = '', onChange, onKeyDown, autoFocus, type = 'text', error }) => {
|
|
5
5
|
const theme = configStore.get('theme');
|
|
@@ -7,6 +7,6 @@ const ZInput = ({ id, label, placeholder = '', value = '', onChange, onKeyDown,
|
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
export { ZInput as Z };
|
|
10
|
-
//# sourceMappingURL=p-
|
|
10
|
+
//# sourceMappingURL=p-C7MtMQaw.js.map
|
|
11
11
|
|
|
12
|
-
//# sourceMappingURL=p-
|
|
12
|
+
//# sourceMappingURL=p-C7MtMQaw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-C7MtMQaw.js","mappings":";;;AAeO,MAAM,MAAM,GAAqC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,EAAE,KAAI;IAC5J,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC;IACtC,QACE,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,MAAM,EAAA,EACd,KAAK,IAAI,aAAO,KAAK,EAAE,CAAwB,qBAAA,EAAA,KAAK,CAAE,CAAA,EAAG,EAAA,KAAK,CAAS,EACxE,CACE,CAAA,OAAA,EAAA,EAAA,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,CAA4B,yBAAA,EAAA,KAAK,CAAiB,cAAA,EAAA,KAAK,WAAW,KAAK,CAAA,CAAE,EAChF,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,CAAC,CAAM,KAAK,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC/C,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,CAAA,EACD,KAAK,IAAI,CAAG,CAAA,GAAA,EAAA,EAAA,KAAK,EAAC,eAAe,IAAE,KAAK,CAAK,CAC1C;AAEV;;;;","names":[],"sources":["src/components/internal-component/z-input.tsx"],"sourcesContent":["import { FunctionalComponent, h } from '@stencil/core';\nimport { configStore } from '../../store/store';\n\ninterface ZInputProps {\n id?: string;\n label?: string;\n placeholder?: string;\n value?: string;\n onChange?: (value: string) => void;\n onKeyDown?: (event: KeyboardEvent) => void;\n autoFocus?: boolean;\n type?: string;\n error?: string;\n}\n\nexport const ZInput: FunctionalComponent<ZInputProps> = ({ id, label, placeholder = '', value = '', onChange, onKeyDown, autoFocus, type = 'text', error }) => {\n const theme = configStore.get('theme');\n return (\n <div class=\"mb-4\">\n {label && <label class={`z-input-label z-text-${theme}`}>{label}</label>}\n <input\n id={id}\n type={type}\n placeholder={placeholder}\n class={`z-input z-border-divider-${theme} z-background-${theme} z-text-${theme}`}\n value={value}\n onInput={(e: any) => onChange?.(e.target.value)}\n onKeyDown={onKeyDown}\n autoFocus={autoFocus}\n />\n {error && <p class=\"z-input-error\">{error}</p>}\n </div>\n );\n};\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as axios } from './p-
|
|
2
|
-
import { c as configStore } from './p-
|
|
3
|
-
import { a as apiService } from './p-
|
|
4
|
-
import { B as BASE_URL } from './p-
|
|
1
|
+
import { a as axios } from './p-C2YAe0Ke.js';
|
|
2
|
+
import { c as configStore } from './p-x8gJGTdZ.js';
|
|
3
|
+
import { a as apiService } from './p-l6ffmvGW.js';
|
|
4
|
+
import { B as BASE_URL } from './p-DwRMNFnU.js';
|
|
5
5
|
|
|
6
6
|
const getChats = async (params) => {
|
|
7
7
|
const { connectionIds, lastAnswerByIds, statusIds, tagIds, ...rest } = params;
|
|
@@ -311,7 +311,7 @@ const syncUser = async (params) => {
|
|
|
311
311
|
throw new Error('Failed to syncUser');
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
export { getUserStatuses as a, getUserTags as b, getChats as c, syncTags as d, sendMessage as e, getMessageMedia as f, getChat as g, getActivityLogs as h, unReadMessage as i, getChatMessages as j,
|
|
315
|
-
//# sourceMappingURL=p-
|
|
314
|
+
export { getUserStatuses as a, getUserTags as b, getChats as c, syncTags as d, sendMessage as e, getMessageMedia as f, getChat as g, getActivityLogs as h, unReadMessage as i, getChatMessages as j, syncUser as k, getUser as l, createUserStatus as m, createUserTag as n, mergeUser as o, unlinkUser as p, updateUser as q, readMessage as r, syncMessage as s, translateChatMessage as t, updateChat as u, getReplyTokenInfo as v };
|
|
315
|
+
//# sourceMappingURL=p-CB09ePCJ.js.map
|
|
316
316
|
|
|
317
|
-
//# sourceMappingURL=p-
|
|
317
|
+
//# sourceMappingURL=p-CB09ePCJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-Ca9LbW-0.js","mappings":";;;;;MA8Ba,QAAQ,GAAG,OAAO,MAA4B,KAAI;AAC7D,IAAA,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM;IAC7E,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,YAAY,CAAC;IAChD,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC;AAExC,IAA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BAAoB,CAAC;AACvC;;;;","names":[],"sources":["src/api/index.ts"],"sourcesContent":["import axios from 'axios';\nimport { configStore } from '../store/store';\nimport { apiService, apiServiceSso } from '../utils/axios';\nimport { BASE_URL } from '../utils/constant';\nimport * as Types from './type';\n\nexport {\n createQuickMessageTemplate,\n createQuickMessageLibraryFiles,\n deleteQuickMessageTemplate,\n getQuickMessageLibraryFiles,\n getQuickMessageTemplates,\n updateQuickMessageLibraryFileName,\n updateQuickMessageTemplate,\n} from './quick-message';\n\n/**\n * @deprecated use '@Props' memberList instead\n */\nexport const getProfileMembers = async (request: { page_number: number; page_size: number }) => {\n const businessId = configStore.get('businessId');\n const { data, status } = await apiServiceSso().get<Types.GetProfileMembersResponse>(`/api/channel/profile/${businessId}/member`, { params: request });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getProfileMembers');\n};\n\nexport const getChats = async (params: Types.GetChatsParams) => {\n const { connectionIds, lastAnswerByIds, statusIds, tagIds, ...rest } = params;\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n\n const { data, status } = await apiService().get<Types.GetChatsResponse>(`api/${businessId}/${shopId}/chat`, {\n params: {\n ...rest,\n connection_id: connectionIds && connectionIds.length === configStore.get('connectionList').length ? undefined : connectionIds,\n last_answer_by_id: lastAnswerByIds && lastAnswerByIds.length === configStore.get('memberList').length ? undefined : lastAnswerByIds,\n status_id: statusIds,\n tag_id: tagIds,\n },\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getChats');\n};\n\nexport const getChat = async (params: Types.GetChatParams) => {\n const { sessionId } = params;\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().get<Types.GetChatResponse>(`api/${businessId}/${shopId}/chat/${sessionId}`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getChat');\n};\n\nexport const updateChat = async (params: Types.UpdateChatParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, ...rest } = params;\n const { data, status } = await apiService().patch<Types.UpdateChatResponse>(`api/${businessId}/${shopId}/chat/${sessionId}`, rest);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to updateUser');\n};\n\nexport const translateChatMessage = async (params: Types.TranslateChatMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, text, messageIds } = params;\n const { data, status } = await apiService().post<Types.TranslateChatMessageResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/translate`, {\n text,\n message_ids: messageIds,\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to updateUser');\n};\n\nexport const getChatMessages = async (params: Types.GetChatMessagesParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, startMessageId, ...rest } = params;\n const { data, status } = await apiService().get<Types.GetChatMessagesResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/message`, {\n params: {\n start_message_id: startMessageId,\n ...rest,\n },\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getChatMessages');\n};\n\nexport const sendMessage = async (params: Types.SendMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, messages } = params;\n const { data, status } = await apiService().post<Types.SendMessageResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/send-message`, {\n messages: messages?.map(({ mimeType, replyMessageId, buttons, menu_list, ...rest }) => ({\n ...rest,\n mime_type: mimeType,\n reply_message_id: replyMessageId,\n buttons: buttons?.map(({ action_type, text, action }) => ({ alt_text: text, action_type, text, action: action ?? undefined })),\n menu_list: menu_list?.map(({ file_url, title, description, buttons }) => ({ file_url, title, description, buttons: buttons?.map(({ action_type, text, action }) => ({ action_type, text, action: action ?? undefined })), })),\n })),\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to sendMessage');\n};\n\nexport const readMessage = async (params: Types.ReadMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.ReadMessageResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/read`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to readMessage');\n};\n\nexport const unReadMessage = async (params: Types.ReadMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/mark-as-unread`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to unReadMessage');\n};\n\nexport const getMessageMedia = async (params: Types.GetImageParams): Promise<string | null> => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { channel, sessionId, messageId } = params;\n\n const url = `${BASE_URL}/api/${businessId}/${shopId}/${channel}/${sessionId}/${messageId}/content`;\n\n let attempts = 0;\n const maxRetries = 3;\n\n while (attempts < maxRetries) {\n try {\n const response = await axios.get(url, {\n responseType: 'blob',\n });\n const blobUrl = URL.createObjectURL(response.data);\n return blobUrl;\n } catch (error: unknown) {\n attempts++;\n if (attempts >= maxRetries) {\n const errorMessage = error instanceof Error ? error.message : 'Failed to fetch image';\n console.error(`Failed to fetch image after ${maxRetries} attempts`, errorMessage);\n return null;\n }\n await new Promise(resolve => setTimeout(resolve, 500));\n }\n }\n\n return null;\n};\n\n//Waiting for resolve expired attachments from facebook eg. attachments?.find((item) => item.type === 'video'|'image')?.payload.url;\nexport const getMessageAttachment = async (params: Types.GetImageParams): Promise<string | null> => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { channel, sessionId, messageId } = params;\n\n const url = `${BASE_URL}/api/${businessId}/${shopId}/${channel}/${sessionId}/${messageId}/attachment`;\n\n let attempts = 0;\n const maxRetries = 3;\n\n while (attempts < maxRetries) {\n try {\n const response = await axios.get(url, {\n responseType: 'blob',\n });\n const blobUrl = URL.createObjectURL(response.data);\n return blobUrl;\n } catch (error: unknown) {\n attempts++;\n if (attempts >= maxRetries) {\n const errorMessage = error instanceof Error ? error.message : 'Failed to fetch attachment';\n console.error(`Failed to fetch attachment after ${maxRetries} attempts`, errorMessage);\n return null;\n }\n await new Promise(resolve => setTimeout(resolve, 500));\n }\n }\n\n return null;\n};\n\nexport const getUser = async (params: Types.GetUserParams) => {\n const { type = 'user', channel, id, sessionId } = params;\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n let route = `user/${channel}/${id}`;\n if (type === 'group') {\n route = `${channel}/group/${id}`\n }\n const { data, status } = await apiService().get<Types.GetUserResponse>(`api/${businessId}/${shopId}/${route}`, { params: { session_id: sessionId } });\n\n if (status === 200) {\n let addressFormat = null\n if (data.address && Object.keys(data.address).length > 0) {\n addressFormat = {\n address: data.address?.address || '',\n province: data.address?.province || '',\n district: data.address?.district || '',\n sub_district: data.address?.sub_district || data.address?.subdistrict || '',\n zip_code: data.address?.zip_code || '',\n }\n }\n\n return {\n ...data, address: addressFormat\n };\n }\n\n throw new Error('Failed to getUser');\n};\n\nexport const getActivityLogs = async (params: Types.GetActivityLogParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { type = 'user', channel, id } = params;\n let route = `user/${channel}/${id}/activity-log`;\n if (type === 'group') {\n route = `${channel}/group/${id}/activity_logs`\n }\n const { data, status } = await apiService().get<Types.GetActivityLogsResponse>(`api/${businessId}/${shopId}/${route}`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getActivityLogs');\n};\n\nexport const updateUser = async (params: Types.UpdateUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { type = 'user', channel, id } = params;\n let _channel = channel;\n if (type === 'group') {\n _channel = 'line';\n }\n let route = `user/${_channel}/${id}`;\n if (type === 'group') {\n route = `${_channel}/group/${id}`\n }\n const { data, status } = await apiService().patch<Types.UpdateUserResponse>(`api/${businessId}/${shopId}/${route}`, {\n nickname: params.nickname,\n email: params.email,\n phone_number: params.phone_number,\n address: params.address,\n gender: params.gender,\n locale: params.locale,\n note: params.note,\n status_id: params.status_id,\n add_tag_ids: params.add_tag_ids,\n remove_tag_ids: params.remove_tag_ids,\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to updateUser');\n};\n\nexport const mergeUser = async (params: Types.MergeUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { matchUserId, matchDecision } = params;\n const { data, status } = await apiService().post<Types.MergeUserResponse>(`api/${businessId}/${shopId}/user/merge`, {\n match_user_id: matchUserId,\n match_decision: matchDecision,\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to mergeUser');\n};\n\nexport const unlinkUser = async (params: Types.UnlinkUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { zignalUserId, channel, userId } = params;\n const { data, status } = await apiService().request<Types.UnlinkUserResponse>({\n method: 'DELETE',\n url: `api/${businessId}/${shopId}/user/unlink`,\n data: {\n zignal_user_id: zignalUserId,\n channel: channel,\n user_id: userId,\n },\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to unlinkUser');\n};\n\nexport const getUserStatuses = async () => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().get<Types.GetUserStatusesResponse>(`api/${businessId}/${shopId}/user/status`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getUserStatuses');\n};\n\nexport const createUserStatus = async (params: Types.CreateUserStatusParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().post<Types.CreateUserStatusResponse>(`api/${businessId}/${shopId}/user/status`, params);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to createUserStatus');\n};\n\nexport const getUserTags = async () => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().get<Types.GetUserTagsResponse>(`api/${businessId}/${shopId}/user/tag`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getUserTags');\n};\n\nexport const createUserTag = async (params: Types.CreateUserTagParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().post<Types.CreateUserTagResponse>(`api/${businessId}/${shopId}/user/tag`, params);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to createUserTag');\n};\n\nexport const createUserContext = async (params: Types.CreateUserContextParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().post<Types.CreateUserContextResponse>(`api/${businessId}/${shopId}/user/context`, params);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to createUserContext');\n};\n\nexport const getReplyTokenInfo = async (params: Types.GetReplyTokenInfoParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().get<Types.GetReplyTokenInfoResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/reply-token-info`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getReplyTokenInfo');\n};\n\nexport const syncMessage = async (params: Types.SyncMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/sync-message`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to syncMessage');\n};\n\nexport const syncTags = async (params: Types.SyncTagsParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/sync-tag`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to syncTags');\n};\n\nexport const syncUser = async (params: Types.SyncUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { channel, id } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/user/${channel}/${id}/s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,GAAG,CAAC,QAAQ,CAAC;AACxC,IAAA,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,GAAG,MAAM;IAC9B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,UAAU,EAAE,CAAC,IAAI,CAAqB,CAAO,IAAA,EAAA,UAAU,IAAI,MAAM,CAAA,MAAA,EAAS,OAAO,CAAI,CAAA,EAAA,EAAE,CAAO,KAAA,CAAA,CAAC;AAE9H,IAAA,IAAI,MAAM,KAAK,GAAG,EAAE;AAClB,QAAA,OAAO,IAAI;;AAGb,IAAA,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC;AACvC;;;;","names":[],"sources":["src/api/index.ts"],"sourcesContent":["import axios from 'axios';\nimport { configStore } from '../store/store';\nimport { apiService, apiServiceSso } from '../utils/axios';\nimport { BASE_URL } from '../utils/constant';\nimport * as Types from './type';\n\nexport {\n createQuickMessageTemplate,\n createQuickMessageLibraryFiles,\n deleteQuickMessageTemplate,\n getQuickMessageLibraryFiles,\n getQuickMessageTemplates,\n updateQuickMessageLibraryFileName,\n updateQuickMessageTemplate,\n} from './quick-message';\n\n/**\n * @deprecated use '@Props' memberList instead\n */\nexport const getProfileMembers = async (request: { page_number: number; page_size: number }) => {\n const businessId = configStore.get('businessId');\n const { data, status } = await apiServiceSso().get<Types.GetProfileMembersResponse>(`/api/channel/profile/${businessId}/member`, { params: request });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getProfileMembers');\n};\n\nexport const getChats = async (params: Types.GetChatsParams) => {\n const { connectionIds, lastAnswerByIds, statusIds, tagIds, ...rest } = params;\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n\n const { data, status } = await apiService().get<Types.GetChatsResponse>(`api/${businessId}/${shopId}/chat`, {\n params: {\n ...rest,\n connection_id: connectionIds && connectionIds.length === configStore.get('connectionList').length ? undefined : connectionIds,\n last_answer_by_id: lastAnswerByIds && lastAnswerByIds.length === configStore.get('memberList').length ? undefined : lastAnswerByIds,\n status_id: statusIds,\n tag_id: tagIds,\n },\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getChats');\n};\n\nexport const getChat = async (params: Types.GetChatParams) => {\n const { sessionId } = params;\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().get<Types.GetChatResponse>(`api/${businessId}/${shopId}/chat/${sessionId}`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getChat');\n};\n\nexport const updateChat = async (params: Types.UpdateChatParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, ...rest } = params;\n const { data, status } = await apiService().patch<Types.UpdateChatResponse>(`api/${businessId}/${shopId}/chat/${sessionId}`, rest);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to updateUser');\n};\n\nexport const translateChatMessage = async (params: Types.TranslateChatMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, text, messageIds } = params;\n const { data, status } = await apiService().post<Types.TranslateChatMessageResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/translate`, {\n text,\n message_ids: messageIds,\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to updateUser');\n};\n\nexport const getChatMessages = async (params: Types.GetChatMessagesParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, startMessageId, ...rest } = params;\n const { data, status } = await apiService().get<Types.GetChatMessagesResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/message`, {\n params: {\n start_message_id: startMessageId,\n ...rest,\n },\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getChatMessages');\n};\n\nexport const sendMessage = async (params: Types.SendMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId, messages } = params;\n const { data, status } = await apiService().post<Types.SendMessageResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/send-message`, {\n messages: messages?.map(({ mimeType, replyMessageId, buttons, menu_list, ...rest }) => ({\n ...rest,\n mime_type: mimeType,\n reply_message_id: replyMessageId,\n buttons: buttons?.map(({ action_type, text, action }) => ({ alt_text: text, action_type, text, action: action ?? undefined })),\n menu_list: menu_list?.map(({ file_url, title, description, buttons }) => ({ file_url, title, description, buttons: buttons?.map(({ action_type, text, action }) => ({ action_type, text, action: action ?? undefined })), })),\n })),\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to sendMessage');\n};\n\nexport const readMessage = async (params: Types.ReadMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.ReadMessageResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/read`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to readMessage');\n};\n\nexport const unReadMessage = async (params: Types.ReadMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/mark-as-unread`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to unReadMessage');\n};\n\nexport const getMessageMedia = async (params: Types.GetImageParams): Promise<string | null> => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { channel, sessionId, messageId } = params;\n\n const url = `${BASE_URL}/api/${businessId}/${shopId}/${channel}/${sessionId}/${messageId}/content`;\n\n let attempts = 0;\n const maxRetries = 3;\n\n while (attempts < maxRetries) {\n try {\n const response = await axios.get(url, {\n responseType: 'blob',\n });\n const blobUrl = URL.createObjectURL(response.data);\n return blobUrl;\n } catch (error: unknown) {\n attempts++;\n if (attempts >= maxRetries) {\n const errorMessage = error instanceof Error ? error.message : 'Failed to fetch image';\n console.error(`Failed to fetch image after ${maxRetries} attempts`, errorMessage);\n return null;\n }\n await new Promise(resolve => setTimeout(resolve, 500));\n }\n }\n\n return null;\n};\n\n//Waiting for resolve expired attachments from facebook eg. attachments?.find((item) => item.type === 'video'|'image')?.payload.url;\nexport const getMessageAttachment = async (params: Types.GetImageParams): Promise<string | null> => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { channel, sessionId, messageId } = params;\n\n const url = `${BASE_URL}/api/${businessId}/${shopId}/${channel}/${sessionId}/${messageId}/attachment`;\n\n let attempts = 0;\n const maxRetries = 3;\n\n while (attempts < maxRetries) {\n try {\n const response = await axios.get(url, {\n responseType: 'blob',\n });\n const blobUrl = URL.createObjectURL(response.data);\n return blobUrl;\n } catch (error: unknown) {\n attempts++;\n if (attempts >= maxRetries) {\n const errorMessage = error instanceof Error ? error.message : 'Failed to fetch attachment';\n console.error(`Failed to fetch attachment after ${maxRetries} attempts`, errorMessage);\n return null;\n }\n await new Promise(resolve => setTimeout(resolve, 500));\n }\n }\n\n return null;\n};\n\nexport const getUser = async (params: Types.GetUserParams) => {\n const { type = 'user', channel, id, sessionId } = params;\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n let route = `user/${channel}/${id}`;\n if (type === 'group') {\n route = `${channel}/group/${id}`\n }\n const { data, status } = await apiService().get<Types.GetUserResponse>(`api/${businessId}/${shopId}/${route}`, { params: { session_id: sessionId } });\n\n if (status === 200) {\n let addressFormat = null\n if (data.address && Object.keys(data.address).length > 0) {\n addressFormat = {\n address: data.address?.address || '',\n province: data.address?.province || '',\n district: data.address?.district || '',\n sub_district: data.address?.sub_district || data.address?.subdistrict || '',\n zip_code: data.address?.zip_code || '',\n }\n }\n\n return {\n ...data, address: addressFormat\n };\n }\n\n throw new Error('Failed to getUser');\n};\n\nexport const getActivityLogs = async (params: Types.GetActivityLogParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { type = 'user', channel, id } = params;\n let route = `user/${channel}/${id}/activity-log`;\n if (type === 'group') {\n route = `${channel}/group/${id}/activity_logs`\n }\n const { data, status } = await apiService().get<Types.GetActivityLogsResponse>(`api/${businessId}/${shopId}/${route}`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getActivityLogs');\n};\n\nexport const updateUser = async (params: Types.UpdateUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { type = 'user', channel, id } = params;\n let _channel = channel;\n if (type === 'group') {\n _channel = 'line';\n }\n let route = `user/${_channel}/${id}`;\n if (type === 'group') {\n route = `${_channel}/group/${id}`\n }\n const { data, status } = await apiService().patch<Types.UpdateUserResponse>(`api/${businessId}/${shopId}/${route}`, {\n nickname: params.nickname,\n email: params.email,\n phone_number: params.phone_number,\n address: params.address,\n gender: params.gender,\n locale: params.locale,\n note: params.note,\n status_id: params.status_id,\n add_tag_ids: params.add_tag_ids,\n remove_tag_ids: params.remove_tag_ids,\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to updateUser');\n};\n\nexport const mergeUser = async (params: Types.MergeUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { matchUserId, matchDecision } = params;\n const { data, status } = await apiService().post<Types.MergeUserResponse>(`api/${businessId}/${shopId}/user/merge`, {\n match_user_id: matchUserId,\n match_decision: matchDecision,\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to mergeUser');\n};\n\nexport const unlinkUser = async (params: Types.UnlinkUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { zignalUserId, channel, userId } = params;\n const { data, status } = await apiService().request<Types.UnlinkUserResponse>({\n method: 'DELETE',\n url: `api/${businessId}/${shopId}/user/unlink`,\n data: {\n zignal_user_id: zignalUserId,\n channel: channel,\n user_id: userId,\n },\n });\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to unlinkUser');\n};\n\nexport const getUserStatuses = async () => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().get<Types.GetUserStatusesResponse>(`api/${businessId}/${shopId}/user/status`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getUserStatuses');\n};\n\nexport const createUserStatus = async (params: Types.CreateUserStatusParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().post<Types.CreateUserStatusResponse>(`api/${businessId}/${shopId}/user/status`, params);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to createUserStatus');\n};\n\nexport const getUserTags = async () => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().get<Types.GetUserTagsResponse>(`api/${businessId}/${shopId}/user/tag`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getUserTags');\n};\n\nexport const createUserTag = async (params: Types.CreateUserTagParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().post<Types.CreateUserTagResponse>(`api/${businessId}/${shopId}/user/tag`, params);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to createUserTag');\n};\n\nexport const createUserContext = async (params: Types.CreateUserContextParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { data, status } = await apiService().post<Types.CreateUserContextResponse>(`api/${businessId}/${shopId}/user/context`, params);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to createUserContext');\n};\n\nexport const getReplyTokenInfo = async (params: Types.GetReplyTokenInfoParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().get<Types.GetReplyTokenInfoResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/reply-token-info`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to getReplyTokenInfo');\n};\n\nexport const syncMessage = async (params: Types.SyncMessageParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/sync-message`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to syncMessage');\n};\n\nexport const syncTags = async (params: Types.SyncTagsParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { sessionId } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/chat/${sessionId}/sync-tag`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to syncTags');\n};\n\nexport const syncUser = async (params: Types.SyncUserParams) => {\n const businessId = configStore.get('businessId');\n const shopId = configStore.get('shopId');\n const { channel, id } = params;\n const { data, status } = await apiService().post<Types.BaseResponse>(`api/${businessId}/${shopId}/user/${channel}/${id}/sync`);\n\n if (status === 200) {\n return data;\n }\n\n throw new Error('Failed to syncUser');\n};\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './p-D_ltSEZy.js';
|
|
2
2
|
import { I as Icon } from './p-CErcZoEr.js';
|
|
3
|
-
import { c as configStore } from './p-
|
|
3
|
+
import { c as configStore } from './p-x8gJGTdZ.js';
|
|
4
4
|
|
|
5
5
|
const ZIconButton = ({ id, variant = 'primary', disabled = false, onClick, iconName, noPadding, noPaddingY, addClassIcon, ref, isLoading, title, }) => {
|
|
6
6
|
const theme = configStore.get('theme');
|
|
@@ -19,6 +19,6 @@ const ZIconButton = ({ id, variant = 'primary', disabled = false, onClick, iconN
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { ZIconButton as Z };
|
|
22
|
-
//# sourceMappingURL=p-
|
|
22
|
+
//# sourceMappingURL=p-CDPdfHLJ.js.map
|
|
23
23
|
|
|
24
|
-
//# sourceMappingURL=p-
|
|
24
|
+
//# sourceMappingURL=p-CDPdfHLJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CDPdfHLJ.js","mappings":";;;;AAkBO,MAAM,WAAW,GAA0C,CAAC,EACjE,EAAE,EACF,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,EAChB,OA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components/internal-component/z-icon-button.tsx"],"sourcesContent":["import { FunctionalComponent, h } from '@stencil/core';\nimport { Icon } from './icon';\nimport { configStore } from '../../store/store';\n\ninterface ZIconButtonProps {\n id?: string;\n variant?: 'primary' | 'outlined' | 'text' | 'none';\n disabled?: boolean;\n onClick?: (e: MouseEvent) => void;\n iconName?: string;\n noPadding?: boolean;\n noPaddingY?: boolean;\n addClassIcon?: string;\n ref?: (elm?: HTMLButtonElement) => void;\n isLoading?: boolean;\n title?: string;\n}\n\nexport const ZIconButton: FunctionalComponent<ZIconButtonProps> = ({\n id,\n variant = 'primary',\n disabled = false,\n onClick,\n iconName,\n noPadding,\n noPaddingY,\n addClassIcon,\n ref,\n isLoading,\n title,\n}) => {\n const theme = configStore.get('theme');\n const base = `z-icon-button px-${noPadding ? 0 : '2 w-9'} py-${noPaddingY ? 0 : 2}`;\n const primary = 'z-icon-button-primary';\n const outlined = 'z-icon-button-outlined';\n const text = 'z-icon-button-text';\n const none = `hover:brightness-110 z-text-${theme}`;\n const disabledStyle = 'z-icon-button-disabled';\n\n const classList = [base, variant === 'primary' ? primary : variant === 'outlined' ? outlined : variant === 'text' ? text : none, disabled ? disabledStyle : ''].join(' ');\n\n return (\n <button\n id={id}\n title={title}\n ref={ref}\n class={classList}\n disabled={disabled}\n onClick={e => {\n if (!disabled && !isLoading) {\n onClick?.(e);\n }\n }}\n >\n <Icon name={isLoading ? 'LoaderCircle' : iconName} addClass={isLoading ? `animate-spin ${addClassIcon || 'size-5'}` : addClassIcon} />\n </button>\n );\n};\n"],"version":3}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, a as Host } from './p-D_ltSEZy.js';
|
|
2
|
+
import { I as Icon } from './p-CErcZoEr.js';
|
|
3
|
+
import { c as configStore } from './p-x8gJGTdZ.js';
|
|
4
|
+
|
|
5
|
+
const statusBadgeCss = "@layer base{*,::backdrop,:after,:before{--tw-space-y-reverse:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--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-drop-shadow-alpha:100%;border:0 solid;box-sizing:border-box;margin:0;padding:0}}/*! tailwindcss v4.1.16 | 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-border-style:solid;--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-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-y-reverse:0;--tw-leading:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:host,:root{--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-300:oklch(90.5% .182 98.111);--container-3xs:16rem;--container-sm:24rem;--container-xl:36rem;--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-xs:20rem;--container-md:28rem;--text-2xl:1.5rem;--text-2xl--line-height:1.33333;--color-slate-500:oklch(55.4% .046 257.417);--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--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;--font-weight-bold:700;--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-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-black:#000;--color-white:#fff;--spacing:.25rem;--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;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--animate-spin:spin 1s linear infinite;--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-primary-dark:#b50f30;--color-secondary-dark:#fff;--color-background-dark:#23292d}}@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:-12px;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:-2px;position:absolute;right:-2px}.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{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input-area-input{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{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input{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-radius:3.40282e+38px;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:center;display:flex;flex-direction:row;margin-block:calc(var(--spacing)*1)}.z-context-input-key{border-bottom-left-radius:var(--radius-3xl);border-style:var(--tw-border-style);border-top-left-radius:var(--radius-3xl);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)*4);width:100%;--tw-ring-color:var(--color-primary);border-width:1px;flex:1}.z-context-input-key:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-context-input-value{border-bottom-right-radius:var(--radius-3xl);border-style:var(--tw-border-style);border-top-right-radius:var(--radius-3xl);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);width:100%;--tw-ring-color:var(--color-primary);border-width:1px;flex:2}.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}}@layer utilities{.hidden{display:none}.hidden\\!{display:none!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.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,)}}.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}.z-text-light{color:var(--color-black)}.z-text-dark{color:var(--color-white)}.z-text-primary-light{color:var(--color-primary)}.z-text-primary-dark{color:var(--color-primary-dark)}.z-text-gray-light{color:var(--color-gray-500)}.z-text-gray-dark{color:var(--color-gray-300)}.z-text-background-light{color:var(--color-background)}.z-text-background-dark{color:var(--color-background-dark)}.z-border-light{border-color:var(--color-black)}.z-border-dark{border-color:var(--color-white)}.z-border-primary-light{border-color:var(--color-primary)}.z-border-primary-dark{border-color:var(--color-primary-dark)}.z-border-divider-light{border-color:var(--color-gray-400)}.z-border-divider-dark{border-color:var(--color-gray-300)}.z-search-input-background-light{background-color:var(--color-gray-200)}.z-search-input-background-dark{background-color:var(--color-gray-500)}.z-chat-input-background-light{background-color:var(--color-white)}.z-chat-input-background-dark{background-color:var(--color-gray-700)}.z-placeholder-light::placeholder{color:var(--color-gray-500)}.z-placeholder-dark::placeholder{color:var(--color-gray-200)}.z-background-primary-light{background-color:var(--color-primary)}.z-background-primary-dark{background-color:var(--color-primary-dark)}.z-background-light{background-color:var(--color-background)}.z-background-dark{background-color:var(--color-background-dark)}.z-paper-light{background-color:var(--color-gray-100)}.z-paper-dark{background-color:var(--color-gray-700)}.z-bg-gray-light{background-color:var(--color-gray-500)}.z-bg-gray-dark{background-color:var(--color-gray-300)}.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.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.relative{position:relative}.size-5{height:calc(var(--spacing)*5);width:calc(var(--spacing)*5)}.rotate-45{rotate:45deg}.text-blue-500{color:var(--color-blue-500)}.text-green-500{color:var(--color-green-500)}.container{width:100%}.\\!hidden{display:none!important}.bg-pink-100{background-color:var(--color-pink-100)}.text-black{color:var(--color-black)}.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)}.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)}.px-4{padding-inline:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.mb-2{margin-bottom:calc(var(--spacing)*2)}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | 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))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.absolute{position:absolute}.right-full{right:100%}.-bottom-2{bottom:calc(var(--spacing)*-2)}.left-full{left:100%}.mr-2{margin-right:calc(var(--spacing)*2)}.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)}.flex{display:flex}.size-3{height:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.size-6{height:calc(var(--spacing)*6);width:calc(var(--spacing)*6)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-center{justify-content:center}.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)}.text-left{text-align:left}.text-right{text-align:right}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.mt-1{margin-top:calc(var(--spacing)*1)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.size-4{height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.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)}.cursor-pointer{cursor:pointer}.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)}.py-2{padding-block:calc(var(--spacing)*2)}.text-white{color:var(--color-white)}.underline{text-decoration-line:underline}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.-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}.mt-2{margin-top:calc(var(--spacing)*2)}.w-full{width:100%}.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}.fill-current{fill:currentColor}.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}.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)}.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-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.contents{display:contents}.grid{display:grid}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1}.size-12{height:calc(var(--spacing)*12);width:calc(var(--spacing)*12)}.size-14{height:calc(var(--spacing)*14);width:calc(var(--spacing)*14)}.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-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.animate-spin{animation:var(--animate-spin)}.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-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.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.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities;/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | 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-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-1\\.5{padding-block:calc(var(--spacing)*1.5)}.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-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-red-500{color:var(--color-red-500)}.text-slate-700{color:var(--color-slate-700)}.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}}@keyframes spin{to{transform:rotate(1turn)}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.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}.border-transparent{border-color:#0000}.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)}.break-words{overflow-wrap:break-word}.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)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.size-10{height:calc(var(--spacing)*10);width:calc(var(--spacing)*10)}.h-\\[160px\\]{height:160px}.h-\\[200px\\]{height:200px}.w-\\[240px\\]{width:240px}.shrink-0{flex-shrink:0}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.self-end{align-self:flex-end}.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-16{height:calc(var(--spacing)*16);width:calc(var(--spacing)*16)}.size-\\[8px\\]{height:8px;width:8px}.size-\\[10px\\]{height:10px;width:10px}.text-yellow-500{color:var(--color-yellow-500)}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.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%}.text-green-700{color:var(--color-green-700)}.text-primary{color:var(--color-primary)}.text-red-700{color:var(--color-red-700)}.capitalize{text-transform:capitalize}.opacity-100{opacity:1}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | 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{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@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-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@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:inline-block}.status-badge{display:grid;place-items:center}.status-badge-loading-icon{animation:var(--animate-spin);height:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.status-badge-wrapper{align-items:center;display:inline-flex;gap:calc(var(--spacing)*2);min-width:calc(var(--spacing)*0)}.status-badge-label{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@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-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}@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){.hover\\:brightness-110: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,)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.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}.hover\\:brightness-110: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,)}}@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}}";
|
|
6
|
+
|
|
7
|
+
const StatusBadge = /*@__PURE__*/ proxyCustomElement(class StatusBadge extends H {
|
|
8
|
+
constructor(registerHost) {
|
|
9
|
+
super();
|
|
10
|
+
if (registerHost !== false) {
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
/** loading | completed */
|
|
15
|
+
status;
|
|
16
|
+
/** Label text displayed inside the badge */
|
|
17
|
+
label;
|
|
18
|
+
/** CSS padding shorthand, e.g. `6px 12px` */
|
|
19
|
+
padding;
|
|
20
|
+
/** Border width in px */
|
|
21
|
+
borderWidth = 1;
|
|
22
|
+
/** Corner radius in px */
|
|
23
|
+
radius = 20;
|
|
24
|
+
/** Accent color for border and text (falls back to theme secondary) */
|
|
25
|
+
color;
|
|
26
|
+
getEffectiveColor() {
|
|
27
|
+
if (this.color)
|
|
28
|
+
return this.color;
|
|
29
|
+
const theme = configStore.get('theme');
|
|
30
|
+
return theme === 'dark' ? 'var(--color-secondary-dark)' : 'var(--color-secondary)';
|
|
31
|
+
}
|
|
32
|
+
renderLeading(color) {
|
|
33
|
+
switch (this.status) {
|
|
34
|
+
case 'loading':
|
|
35
|
+
return (h("div", { style: { width: '14px', height: '14px' }, class: "status-badge" }, h(Icon, { name: "LoaderCircle", addClass: "status-badge-loading-icon" })));
|
|
36
|
+
case 'completed': {
|
|
37
|
+
const theme = configStore.get('theme');
|
|
38
|
+
return (h("div", { class: "rounded-full status-badge", style: { width: '16px', height: '16px', backgroundColor: color } }, h(Icon, { name: "Check", addClass: `size-3 z-text-background-${theme}` })));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
const color = this.getEffectiveColor();
|
|
44
|
+
const theme = configStore.get('theme');
|
|
45
|
+
return (h(Host, { key: 'f6a94545e2af35e3833c7086405f7a1e46027172' }, h("div", { key: 'e9bed05fe1716bd632e61f847001a5dd1ef865a3', class: `status-badge-wrapper z-background-${theme}`, style: {
|
|
46
|
+
borderRadius: `${this.radius}px`,
|
|
47
|
+
border: `${this.borderWidth}px solid ${color}`,
|
|
48
|
+
padding: this.padding || '6px 12px',
|
|
49
|
+
color: color,
|
|
50
|
+
}, title: this.label }, this.renderLeading(color), h("span", { key: 'cd10f63fc7337ae501570df70ac526ef7ffd164d', class: "status-badge-label", style: { lineHeight: '1' } }, this.label))));
|
|
51
|
+
}
|
|
52
|
+
static get style() { return statusBadgeCss; }
|
|
53
|
+
}, [256, "status-badge", {
|
|
54
|
+
"status": [1],
|
|
55
|
+
"label": [1],
|
|
56
|
+
"padding": [1],
|
|
57
|
+
"borderWidth": [2, "border-width"],
|
|
58
|
+
"radius": [2],
|
|
59
|
+
"color": [1]
|
|
60
|
+
}]);
|
|
61
|
+
function defineCustomElement() {
|
|
62
|
+
if (typeof customElements === "undefined") {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const components = ["status-badge"];
|
|
66
|
+
components.forEach(tagName => { switch (tagName) {
|
|
67
|
+
case "status-badge":
|
|
68
|
+
if (!customElements.get(tagName)) {
|
|
69
|
+
customElements.define(tagName, StatusBadge);
|
|
70
|
+
}
|
|
71
|
+
break;
|
|
72
|
+
} });
|
|
73
|
+
}
|
|
74
|
+
defineCustomElement();
|
|
75
|
+
|
|
76
|
+
export { StatusBadge as S, defineCustomElement as d };
|
|
77
|
+
//# sourceMappingURL=p-CO0rmAnj.js.map
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=p-CO0rmAnj.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CO0rmAnj.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,qlmDAAqlmD;;MCQ/lmD,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;;;;AAEd,IAAA,MAAM;;AAEN,IAAA,KAAK;;AAEL,IAA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E,KAAK,EAAE,CAAA,kCAAA,EAAqC,KAAK,CAAA,CAAE,EACnD,KAAK,EAAE;AACL,gBAAA,YAAY,EAAE,CAAA,EAAG,IAAI,CAAC,MAAM,CAAI,EAAA,CAAA;AAChC,gBAAA,MAAM,EAAE,CAAG,EAAA,IAAI,CAAC,WAAW,CAAA,SAAA,EAAY,KAAK,CAAE,CAAA;AAC9C,gBAAA,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,UAAU;AACnC,gBAAA,KAAK,EAAE,KAAK;AACb,aAAA,EACD,KAAK,EAAE,IAAI,CAAC,KAAK,EAAA,EAEhB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAC1B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,EAAA,EACxD,IAAI,CAAC,KAAK,CACN,CACH,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/status-badge/status-badge.css?tag=status-badge","src/components/status-badge/status-badge.tsx"],"sourcesContent":[":host {\n display: inline-block;\n}\n\n.status-badge {\n @apply grid place-items-center\n}\n\n.status-badge-loading-icon {\n @apply animate-spin size-3\n}\n\n.status-badge-wrapper {\n @apply inline-flex items-center min-w-0 gap-2\n}\n\n.status-badge-label {\n @apply text-xs truncate\n}","import { Component, Host, Prop, h } from '@stencil/core';\nimport { Icon } from '../internal-component/icon';\nimport { configStore } from '../../store/store';\n\n@Component({\n tag: 'status-badge',\n styleUrl: 'status-badge.css',\n})\nexport class StatusBadge {\n /** loading | completed */\n @Prop() status!: 'loading' | 'completed';\n /** Label text displayed inside the badge */\n @Prop() label!: string;\n /** CSS padding shorthand, e.g. `6px 12px` */\n @Prop() padding?: string;\n /** Border width in px */\n @Prop() borderWidth: number = 1;\n /** Corner radius in px */\n @Prop() radius: number = 20;\n /** Accent color for border and text (falls back to theme secondary) */\n @Prop() color?: string;\n\n private getEffectiveColor(): string {\n if (this.color) return this.color;\n const theme = configStore.get('theme');\n return theme === 'dark' ? 'var(--color-secondary-dark)' : 'var(--color-secondary)';\n }\n\n private renderLeading(color: string) {\n switch (this.status) {\n case 'loading':\n return (\n <div style={{ width: '14px', height: '14px' }} class=\"status-badge\">\n <Icon name=\"LoaderCircle\" addClass=\"status-badge-loading-icon\" />\n </div>\n );\n case 'completed': {\n const theme = configStore.get('theme');\n return (\n <div class=\"rounded-full status-badge\" style={{ width: '16px', height: '16px', backgroundColor: color }}>\n <Icon name=\"Check\" addClass={`size-3 z-text-background-${theme}`} />\n </div>\n );\n }\n }\n }\n\n render() {\n const color = this.getEffectiveColor();\n const theme = configStore.get('theme');\n\n return (\n <Host>\n <div\n class={`status-badge-wrapper z-background-${theme}`}\n style={{\n borderRadius: `${this.radius}px`,\n border: `${this.borderWidth}px solid ${color}`,\n padding: this.padding || '6px 12px',\n color: color,\n }}\n title={this.label}\n >\n {this.renderLeading(color)}\n <span class=\"status-badge-label\" style={{ lineHeight: '1' }}>\n {this.label}\n </span>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|