zignal-stencil-library 1.1.108 → 1.1.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/autocomplete-address_43.cjs.entry.js +162 -70
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/quick-message-app.cjs.entry.js +1 -1
- 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/api/index.js +10 -0
- package/dist/collection/api/index.js.map +1 -1
- package/dist/collection/api/type.js.map +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/autocomplete-select/autocomplete-select.js +4 -3
- package/dist/collection/components/autocomplete-select/autocomplete-select.js.map +1 -1
- package/dist/collection/components/channel-box/channel-box.css +1 -1
- package/dist/collection/components/chat-app/chat-app.css +1 -1
- package/dist/collection/components/chat-header/chat-header.css +1 -1
- package/dist/collection/components/chat-input/chat-input.css +1 -1
- package/dist/collection/components/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-editor/dialog-editor.js +43 -26
- package/dist/collection/components/dialog-editor/dialog-editor.js.map +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/menu-chat-channel/menu-chat-channel.css +1 -1
- package/dist/collection/components/menu-chat-type/menu-chat-type.css +1 -1
- package/dist/collection/components/menu-list/menu-list.css +1 -1
- package/dist/collection/components/message-box/message-box.css +1 -1
- package/dist/collection/components/message-content/message-content.css +1 -1
- package/dist/collection/components/message-item/message-item.css +1 -1
- package/dist/collection/components/message-media/message-media.css +1 -1
- package/dist/collection/components/profile-history/profile-history.css +1 -1
- package/dist/collection/components/profile-info/profile-info.css +1 -1
- package/dist/collection/components/profile-info/profile-info.js +30 -7
- package/dist/collection/components/profile-info/profile-info.js.map +1 -1
- package/dist/collection/components/profile-info/user-info-section.js +3 -3
- 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-tabs/profile-tabs.css +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.css +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
- package/dist/collection/components/search-box/search-box.css +1 -1
- package/dist/collection/components/status-badge/status-badge.css +1 -1
- package/dist/collection/components/tag-list/tag-list.css +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
- package/dist/collection/components/tag-popper/tag-popper.css +1 -1
- package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
- package/dist/collection/components/z-avatar/z-avatar.css +1 -1
- package/dist/collection/components/z-dialog/z-dialog.css +1 -1
- package/dist/components/autocomplete-address.js +1 -1
- package/dist/components/autocomplete-multiple-select.js +1 -1
- package/dist/components/autocomplete-select.js +1 -1
- package/dist/components/channel-box.js +1 -1
- package/dist/components/chat-app.js +39 -39
- package/dist/components/chat-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-Ccj7ZvvK.js → p-2nxqY6Yv.js} +5 -5
- package/dist/components/{p-Ccj7ZvvK.js.map → p-2nxqY6Yv.js.map} +1 -1
- package/dist/components/{p-DAJSCmgW.js → p-34NvdAct.js} +7 -7
- package/dist/components/{p-DAJSCmgW.js.map → p-34NvdAct.js.map} +1 -1
- package/dist/components/{p-C8sMXVQq.js → p-8c8Dr0ZV.js} +17 -17
- package/dist/components/{p-C8sMXVQq.js.map → p-8c8Dr0ZV.js.map} +1 -1
- package/dist/components/{p-OWJ6K2wG.js → p-B0F3Fpbq.js} +3 -3
- package/dist/components/{p-OWJ6K2wG.js.map → p-B0F3Fpbq.js.map} +1 -1
- package/dist/components/{p-DwuMPddw.js → p-B5dJsgfS.js} +3 -3
- package/dist/components/{p-DwuMPddw.js.map → p-B5dJsgfS.js.map} +1 -1
- package/dist/components/{p-Y4bwbrrH.js → p-BAcE386V.js} +3 -3
- package/dist/components/{p-Y4bwbrrH.js.map → p-BAcE386V.js.map} +1 -1
- package/dist/components/{p-DljLeu-a.js → p-BQ0yCCV6.js} +3 -3
- package/dist/components/{p-DljLeu-a.js.map → p-BQ0yCCV6.js.map} +1 -1
- package/dist/components/{p-B7zGFbN-.js → p-BQwk0OCD.js} +8 -8
- package/dist/components/{p-B7zGFbN-.js.map → p-BQwk0OCD.js.map} +1 -1
- package/dist/components/{p-DHIfeK5t.js → p-BTItt0Vn.js} +44 -22
- package/dist/components/p-BTItt0Vn.js.map +1 -0
- package/dist/components/{p-BPsdb11S.js → p-BfwDQevk.js} +4 -4
- package/dist/components/{p-BPsdb11S.js.map → p-BfwDQevk.js.map} +1 -1
- package/dist/components/{p-DYdoQzC_.js → p-BtVgKal4.js} +12 -12
- package/dist/components/p-BtVgKal4.js.map +1 -0
- package/dist/components/{p-UQeKOohc.js → p-COFzcZWg.js} +5 -5
- package/dist/components/{p-UQeKOohc.js.map → p-COFzcZWg.js.map} +1 -1
- package/dist/components/{p-BAzVPNK5.js → p-CZjMEPqi.js} +43 -26
- package/dist/components/p-CZjMEPqi.js.map +1 -0
- package/dist/components/{p-yWKuwcuj.js → p-Ca9LbW-0.js} +13 -3
- package/dist/components/p-Ca9LbW-0.js.map +1 -0
- package/dist/components/{p-ByiI7Ajt.js → p-Cav9Xvhc.js} +4 -4
- package/dist/components/{p-ByiI7Ajt.js.map → p-Cav9Xvhc.js.map} +1 -1
- package/dist/components/{p-I6OpXVSo.js → p-CoklAWrF.js} +19 -19
- package/dist/components/{p-I6OpXVSo.js.map → p-CoklAWrF.js.map} +1 -1
- package/dist/components/{p-SzF52WI_.js → p-Csg2zfWF.js} +5 -5
- package/dist/components/{p-SzF52WI_.js.map → p-Csg2zfWF.js.map} +1 -1
- package/dist/components/{p-Cy8tIb9N.js → p-D-KXyaWT.js} +5 -5
- package/dist/components/{p-Cy8tIb9N.js.map → p-D-KXyaWT.js.map} +1 -1
- package/dist/components/{p-DfliSGzR.js → p-D6cBz4be.js} +10 -10
- package/dist/components/{p-DfliSGzR.js.map → p-D6cBz4be.js.map} +1 -1
- package/dist/components/{p-fgCarGlO.js → p-DBgHNduI.js} +3 -3
- package/dist/components/{p-fgCarGlO.js.map → p-DBgHNduI.js.map} +1 -1
- package/dist/components/{p-DkIGNUBw.js → p-DHFOACHm.js} +3 -3
- package/dist/components/{p-DkIGNUBw.js.map → p-DHFOACHm.js.map} +1 -1
- package/dist/components/{p-CPkaDKfY.js → p-DLUy8rmx.js} +10 -10
- package/dist/components/{p-CPkaDKfY.js.map → p-DLUy8rmx.js.map} +1 -1
- package/dist/components/{p-Dpsv8GQT.js → p-DOx_fYz_.js} +8 -8
- package/dist/components/{p-Dpsv8GQT.js.map → p-DOx_fYz_.js.map} +1 -1
- package/dist/components/{p-BS58cdKA.js → p-DQjjDohc.js} +3 -3
- package/dist/components/{p-BS58cdKA.js.map → p-DQjjDohc.js.map} +1 -1
- package/dist/components/{p-BC4IEk7S.js → p-DT1e8U5J.js} +8 -8
- package/dist/components/{p-BC4IEk7S.js.map → p-DT1e8U5J.js.map} +1 -1
- package/dist/components/{p-epmh-mLu.js → p-DXliIvkR.js} +3 -3
- package/dist/components/{p-epmh-mLu.js.map → p-DXliIvkR.js.map} +1 -1
- package/dist/components/{p-BpoDbaWl.js → p-Drdp5Euh.js} +3 -3
- package/dist/components/{p-BpoDbaWl.js.map → p-Drdp5Euh.js.map} +1 -1
- package/dist/components/{p-CbIBIyOU.js → p-DyI3f7kr.js} +3 -3
- package/dist/components/{p-CbIBIyOU.js.map → p-DyI3f7kr.js.map} +1 -1
- package/dist/components/{p-C-1HPyA3.js → p-GrnK0v_A.js} +3 -3
- package/dist/components/{p-C-1HPyA3.js.map → p-GrnK0v_A.js.map} +1 -1
- package/dist/components/{p-BPSZx5dO.js → p-UWiH2uHw.js} +46 -3
- package/dist/components/p-UWiH2uHw.js.map +1 -0
- package/dist/components/{p-Cy3ui5kA.js → p-WYN1j0PL.js} +7 -6
- package/dist/components/p-WYN1j0PL.js.map +1 -0
- package/dist/components/{p-BhBbacui.js → p-Zye2AvZI.js} +3 -3
- package/dist/components/{p-BhBbacui.js.map → p-Zye2AvZI.js.map} +1 -1
- package/dist/components/p-a3QvEULN.js +61 -0
- package/dist/components/{p-BffroZpQ.js.map → p-a3QvEULN.js.map} +1 -1
- package/dist/components/{p-B6jEqC8_.js → p-a8Ave0b1.js} +3 -3
- package/dist/components/{p-B6jEqC8_.js.map → p-a8Ave0b1.js.map} +1 -1
- package/dist/components/{p-CwAnuyXt.js → p-aG9sejEo.js} +4 -4
- package/dist/components/{p-CwAnuyXt.js.map → p-aG9sejEo.js.map} +1 -1
- package/dist/components/{p-B0CigBRk.js → p-b7Sv1iEG.js} +3 -3
- package/dist/components/{p-B0CigBRk.js.map → p-b7Sv1iEG.js.map} +1 -1
- package/dist/components/{p-B7rxQVG9.js → p-eM9QTWv9.js} +3 -3
- package/dist/components/{p-B7rxQVG9.js.map → p-eM9QTWv9.js.map} +1 -1
- package/dist/components/{p-CAXY__EG.js → p-rShdvhEn.js} +3 -3
- package/dist/components/{p-CAXY__EG.js.map → p-rShdvhEn.js.map} +1 -1
- package/dist/components/{p-i0kt6Dyr.js → p-tAmACNBr.js} +7 -7
- package/dist/components/{p-i0kt6Dyr.js.map → p-tAmACNBr.js.map} +1 -1
- package/dist/components/{p-edlq2pPS.js → p-uDj0XDfv.js} +3 -3
- package/dist/components/{p-edlq2pPS.js.map → p-uDj0XDfv.js.map} +1 -1
- package/dist/components/p-xc8pAQt4.js +81 -0
- package/dist/components/{p-X5zHTifT.js.map → p-xc8pAQt4.js.map} +1 -1
- package/dist/components/profile-history.js +1 -1
- package/dist/components/profile-info.js +1 -1
- package/dist/components/profile-media.js +1 -1
- package/dist/components/profile-tabs.js +1 -1
- package/dist/components/quick-message-add-template.js +1 -1
- package/dist/components/quick-message-app.js +6 -6
- package/dist/components/quick-message-app.js.map +1 -1
- package/dist/components/quick-message-file.js +1 -1
- package/dist/components/quick-message-image.js +1 -1
- package/dist/components/quick-message-modal.js +1 -1
- package/dist/components/quick-message-template.js +1 -1
- package/dist/components/search-box.js +1 -1
- package/dist/components/status-badge.js +1 -1
- package/dist/components/summarize-message-section.js +1 -1
- package/dist/components/tag-list.js +1 -1
- package/dist/components/tag-or-status-item.js +1 -1
- package/dist/components/tag-popper.js +1 -1
- package/dist/components/typography-clamp.js +1 -1
- package/dist/components/user-info-section.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-dialog.js +1 -1
- package/dist/esm/autocomplete-address_43.entry.js +162 -70
- package/dist/esm/loader.js +1 -1
- package/dist/esm/quick-message-app.entry.js +1 -1
- package/dist/esm/quick-message-app.entry.js.map +1 -1
- package/dist/esm/zignal-stencil-library.js +1 -1
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/type.d.ts +4 -0
- package/dist/types/components/profile-info/profile-info.d.ts +1 -0
- package/dist/zignal-stencil-library/{p-b6d59cd4.entry.js → p-35a45709.entry.js} +168 -168
- package/dist/zignal-stencil-library/p-35a45709.entry.js.map +1 -0
- package/dist/zignal-stencil-library/p-b3cbf3e3.entry.js +2 -0
- package/dist/zignal-stencil-library/{p-237d490f.entry.js.map → p-b3cbf3e3.entry.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.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-BAzVPNK5.js.map +0 -1
- package/dist/components/p-BPSZx5dO.js.map +0 -1
- package/dist/components/p-BffroZpQ.js +0 -61
- package/dist/components/p-Cy3ui5kA.js.map +0 -1
- package/dist/components/p-DHIfeK5t.js.map +0 -1
- package/dist/components/p-DYdoQzC_.js.map +0 -1
- package/dist/components/p-X5zHTifT.js +0 -81
- package/dist/components/p-yWKuwcuj.js.map +0 -1
- package/dist/zignal-stencil-library/p-237d490f.entry.js +0 -2
- package/dist/zignal-stencil-library/p-b6d59cd4.entry.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as a}from"./p-DjdYK_gt.js";import{i as r}from"./p-CdYiy5U2.js";import{c as o,s as n,a as s,u as l}from"./p-DO7BhE7i.js";const c='@layer base{*,::backdrop,:after,:before{--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%;--tw-border-style:solid;border:0 solid;box-sizing:border-box;margin:0;padding:0}}/*! tailwindcss v4.1.15 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-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-border-style:solid}}}@layer theme{:host,:root{--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;--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{.contents{display:contents}.px-4{padding-inline:calc(var(--spacing)*4)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.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.15 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-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-border-style:solid}}}@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))}}.quick-message-app__host,:host{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;max-height:var(--quick-message-app-max-height,calc(100vh - 120px));min-height:var(--quick-message-app-min-height,calc(100vh - 120px));overflow:hidden;width:100%}.quick-message-app__shell{box-sizing:border-box;height:100%;max-height:var(--quick-message-app-max-height,calc(100vh - 120px));min-height:var(--quick-message-app-min-height,calc(100vh - 120px));--quick-app-primary:var(--color-primary);--quick-modal-surface:var(--color-background);--quick-modal-primary:var(--quick-app-primary);--quick-modal-primary-soft:var(--quick-modal-primary);--quick-modal-primary-border:var(--quick-modal-primary);--quick-modal-primary-shadow:var(--quick-modal-primary);--quick-modal-primary-ghost:var(--quick-modal-primary);display:flex;flex:1;flex-direction:column;gap:8px;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.quick-message-app__shell{--quick-modal-primary-soft:var(--quick-modal-primary);--quick-modal-primary-soft:color-mix(in srgb,var(--quick-modal-primary)14%,transparent);--quick-modal-primary-border:var(--quick-modal-primary);--quick-modal-primary-border:color-mix(in srgb,var(--quick-modal-primary)55%,transparent);--quick-modal-primary-shadow:var(--quick-modal-primary);--quick-modal-primary-shadow:color-mix(in srgb,var(--quick-modal-primary)22%,transparent);--quick-modal-primary-ghost:var(--quick-modal-primary);--quick-modal-primary-ghost:color-mix(in srgb,var(--quick-modal-primary)18%,var(--quick-modal-surface))}}.quick-message-app__host.z-background-dark .quick-message-app__shell{--quick-app-primary:var(--color-primary-dark);--quick-modal-surface:var(--color-background-dark)}.quick-message-app__header{display:flex;flex-direction:column;gap:12px}.quick-message-app__header-text h1{font-size:20px;font-weight:600;margin:0}.quick-message-app__header-text p{font-size:14px;margin:4px 0 0;opacity:.7}.quick-message-app__stats{display:flex;flex-wrap:wrap;font-size:12px;gap:12px;opacity:.8}.quick-message-app__tabs{border-bottom:1px solid #94a3b859;display:flex;gap:12px;padding-bottom:8px}.quick-message-app__tabs button{background:0 0;border:none;border-radius:9999px;color:inherit;cursor:pointer;font-weight:600;opacity:.7;padding:8px 20px;transition:background .2s,opacity .2s}.quick-message-app__tabs button.active{background:var(--quick-app-primary);color:var(--quick-app-primary);opacity:1}@supports (color:color-mix(in lab,red,red)){.quick-message-app__tabs button.active{background:var(--quick-app-primary);background:color-mix(in srgb,var(--quick-app-primary)14%,transparent)}}.quick-message-app__content{display:flex;flex-direction:column;overflow:hidden}.quick-message-app__content,.quick-message-app__content quick-message-file,.quick-message-app__content quick-message-image,.quick-message-app__content quick-message-template{flex:1;min-height:0;min-width:0}@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}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@media (forced-colors:active){[type=checkbox]:checked,[type=radio]:checked{appearance:auto}[type=checkbox]:indeterminate{appearance:auto}[type=checkbox]:checked,[type=checkbox]:indeterminate,[type=radio]:checked{appearance:auto}}@media (hover:hover){.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}@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:768px){.quick-message-app__header{align-items:flex-start;flex-direction:row;justify-content:space-between}.quick-message-app__header-text{max-width:480px}}@media (max-width:640px){.quick-message-app__shell{padding:16px}}';const d=class{constructor(i){t(this,i);this.templatesChange=e(this,"templatesChange");this.imagesChange=e(this,"imagesChange");this.filesChange=e(this,"filesChange")}languagePref="en";themeMode="light";templateData;imageLibrary;fileLibrary;businessId;shopId;accessToken;isProduction;timeZone;activeTab="template";templates=[];images=[];files=[];templatesChange;imagesChange;filesChange;connectedCallback(){this.applyLanguage(this.languagePref);this.applyTheme(this.themeMode);this.setBusinessId(this.businessId);this.setShopId(this.shopId);this.setAccessToken(this.accessToken);this.setIsProduction(this.toBoolean(this.isProduction));this.setTimeZone(this.timeZone)}componentWillLoad(){this.templates=this.parseTemplates(this.templateData);this.images=this.parseLibrary(this.imageLibrary);this.files=this.parseLibrary(this.fileLibrary);this.setBusinessId(this.businessId);this.setShopId(this.shopId);this.setAccessToken(this.accessToken);this.setIsProduction(this.toBoolean(this.isProduction));this.setTimeZone(this.timeZone)}handleLanguageChange(t){this.applyLanguage(t)}handleThemeChange(t){this.applyTheme(t)}handleTemplateDataChange(t){this.templates=this.parseTemplates(t)}handleImageLibraryChange(t){this.images=this.parseLibrary(t)}handleFileLibraryChange(t){this.files=this.parseLibrary(t)}handleBusinessIdChange(t){this.setBusinessId(t)}handleShopIdChange(t){this.setShopId(t)}handleAccessTokenChange(t){this.setAccessToken(t)}handleIsProductionChange(t){this.setIsProduction(this.toBoolean(t))}handleTimeZoneChange(t){this.setTimeZone(t)}applyLanguage(t){if(r.language!==t){r.changeLanguage(t)}o.set("language",t);n(t)}applyTheme(t){o.set("theme",t)}setBusinessId(t){o.set("businessId",t||null)}setShopId(t){o.set("shopId",t||null)}setAccessToken(t){o.set("accessToken",t||null)}setIsProduction(t){o.set("isProduction",t)}setTimeZone(t){if(!t||t==="null"){const t=Intl.DateTimeFormat().resolvedOptions().timeZone;o.set("timeZone",t);s(t);return}o.set("timeZone",t);s(t)}toBoolean(t){if(typeof t==="boolean"){return t}if(typeof t==="string"){return t.toLowerCase()==="true"}return false}parseTemplates(t){if(!t){return[]}if(typeof t==="string"){try{const e=JSON.parse(t);return this.cloneTemplates(e)}catch(t){console.warn("[quick-message-app] Failed to parse template data",t);return[]}}return this.cloneTemplates(t)}parseLibrary(t){if(!t){return[]}if(typeof t==="string"){try{const e=JSON.parse(t);return this.cloneLibrary(e)}catch(t){console.warn("[quick-message-app] Failed to parse library data",t);return[]}}return this.cloneLibrary(t)}cloneTemplates(t){return(t||[]).map((t=>{const e=t.contents||[];const i=e.map((t=>{const e=t.menu_list||[];const i=e.map((t=>({...t,buttons:(t.buttons||[]).map((t=>({...t})))})));return{...t,buttons:(t.buttons||[]).map((t=>({...t}))),menu_list:i,menuList:i}}));return{...t,content:i}}))}cloneLibrary(t){return(t||[]).map((t=>({...t,isSelected:t.isSelected??false})))}handleTemplatesChange(t){const e=this.cloneTemplates(t.detail||[]);this.templates=e;this.templatesChange.emit(e)}handleImagesChange(t){const e=this.cloneLibrary(t.detail||[]);this.images=e;this.imagesChange.emit(e)}handleFilesChange(t){const e=this.cloneLibrary(t.detail||[]);this.files=e;this.filesChange.emit(e)}setActiveTab(t){this.activeTab=t}render(){const t=l();const e=o.get("theme");return i(a,{key:"33bde3d431766a4fe61c43b995c62871241eac16",class:`quick-message-app__host z-background-${e} z-text-${e}`},i("div",{key:"c075f624c6dd503ede14bd4c271d65ce9ff9ad26",class:"quick-message-app__shell px-4"},i("header",{key:"eb1847c806e01e639b1e4acb398c046b5aa22627",class:"quick-message-app__header"},i("div",{key:"7f728526df466a7ae564502f90d343661df55753",class:"quick-message-app__header-text"},i("h1",{key:"8d14d0ad86d77439afe657c13bc28fd254d74a4a"},t("quick_message.title")))),i("nav",{key:"49f355d3326a66343a2db6d48c399926994c8ee1",class:"quick-message-app__tabs text-sm"},i("button",{key:"57d195bdac97e6aa227a07b7ed1b2b4e33fc2944",type:"button",class:this.activeTab==="template"?"active":"",onClick:()=>this.setActiveTab("template")},t("quick_message.tab_template")),i("button",{key:"122641f8bc71c21d93d24c3f282f244fc279f6ac",type:"button",class:this.activeTab==="image"?"active":"",onClick:()=>this.setActiveTab("image")},t("image")),i("button",{key:"4f97f9fe3afa5757060b15aeb17340bc8f954f8d",type:"button",class:this.activeTab==="file"?"active":"",onClick:()=>this.setActiveTab("file")},t("file"))),i("section",{key:"076374e93bc7fa0a86013dfb39d4664f9b5a9714",class:"quick-message-app__content"},this.activeTab==="template"&&i("quick-message-template",{key:"711332d421056c2d77c8b80b3ae1de164925f4e8",value:this.templates,onTemplatesChange:t=>this.handleTemplatesChange(t),isMaster:true}),this.activeTab==="image"&&i("quick-message-image",{key:"bfbd68ca36d192e3b9c5a6beec7f862cc6554479",value:this.images,onImagesChange:t=>this.handleImagesChange(t),isMaster:true}),this.activeTab==="file"&&i("quick-message-file",{key:"f669ac01415b58af49337cefdcda1a54c036d2ae",value:this.files,onFilesChange:t=>this.handleFilesChange(t),isMaster:true}))),i("z-dialog",{key:"9b31aa1d39560410d6aa0905c01c3e12e1866c0a"}))}static get watchers(){return{languagePref:["handleLanguageChange"],themeMode:["handleThemeChange"],templateData:["handleTemplateDataChange"],imageLibrary:["handleImageLibraryChange"],fileLibrary:["handleFileLibraryChange"],businessId:["handleBusinessIdChange"],shopId:["handleShopIdChange"],accessToken:["handleAccessTokenChange"],isProduction:["handleIsProductionChange"],timeZone:["handleTimeZoneChange"]}}};d.style=c;export{d as quick_message_app};
|
|
2
|
+
//# sourceMappingURL=p-b3cbf3e3.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["registerInstance","createEvent","h","Host","instance","configStore","setDayjsLocale","setDayjsTimeZone","useTranslation","quickMessageAppCss","QuickMessageAppComponent","constructor","hostRef","this","templatesChange","imagesChange","filesChange","languagePref","themeMode","templateData","imageLibrary","fileLibrary","businessId","shopId","accessToken","isProduction","timeZone","activeTab","templates","images","files","connectedCallback","applyLanguage","applyTheme","setBusinessId","setShopId","setAccessToken","setIsProduction","toBoolean","setTimeZone","componentWillLoad","parseTemplates","parseLibrary","handleLanguageChange","newLang","handleThemeChange","newTheme","handleTemplateDataChange","newValue","handleImageLibraryChange","handleFileLibraryChange","handleBusinessIdChange","handleShopIdChange","handleAccessTokenChange","handleIsProductionChange","handleTimeZoneChange","lang","language","changeLanguage","set","theme","resolved","Intl","DateTimeFormat","resolvedOptions","value","toLowerCase","parsed","JSON","parse","cloneTemplates","error","console","warn","cloneLibrary","map","template","rawContents","contents","normalizedContents","content","rawMenuList","menu_list","menuList","menu","buttons","button","library","item","isSelected","handleTemplatesChange","event","next","detail","emit","handleImagesChange","handleFilesChange","setActiveTab","tab","render","t","get","key","class","type","onClick","onTemplatesChange","isMaster","onImagesChange","onFilesChange","watchers","style"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,MAAY,
|
|
1
|
+
{"version":3,"names":["registerInstance","createEvent","h","Host","instance","configStore","setDayjsLocale","setDayjsTimeZone","useTranslation","quickMessageAppCss","QuickMessageAppComponent","constructor","hostRef","this","templatesChange","imagesChange","filesChange","languagePref","themeMode","templateData","imageLibrary","fileLibrary","businessId","shopId","accessToken","isProduction","timeZone","activeTab","templates","images","files","connectedCallback","applyLanguage","applyTheme","setBusinessId","setShopId","setAccessToken","setIsProduction","toBoolean","setTimeZone","componentWillLoad","parseTemplates","parseLibrary","handleLanguageChange","newLang","handleThemeChange","newTheme","handleTemplateDataChange","newValue","handleImageLibraryChange","handleFileLibraryChange","handleBusinessIdChange","handleShopIdChange","handleAccessTokenChange","handleIsProductionChange","handleTimeZoneChange","lang","language","changeLanguage","set","theme","resolved","Intl","DateTimeFormat","resolvedOptions","value","toLowerCase","parsed","JSON","parse","cloneTemplates","error","console","warn","cloneLibrary","map","template","rawContents","contents","normalizedContents","content","rawMenuList","menu_list","menuList","menu","buttons","button","library","item","isSelected","handleTemplatesChange","event","next","detail","emit","handleImagesChange","handleFilesChange","setActiveTab","tab","render","t","get","key","class","type","onClick","onTemplatesChange","isMaster","onImagesChange","onFilesChange","watchers","style"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAaC,OAAQC,MA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AAE,sBAAuB,CAAEoG,IAAK,2CAA4CrC,MAAOpD,KAAKgB,OAAQ+E,eAAgBjB,GAAS9E,KAAKkF,mBAAmBJ,GAAQgB,SAAU,OAAS9F,KAAKc,YAAc,QAAUzB,EAAE,qBAAsB,CAAEoG,IAAK,2CAA4CrC,MAAOpD,KAAKiB,MAAO+E,cAAelB,GAAS9E,KAAKmF,kBAAkBL,GAAQgB,SAAU,SAAWzG,EAAE,WAAY,CAAEoG,IAAK,6CACx7D,CACA,mBAAWQ,GAAa,MAAO,CAC3B7F,aAAgB,CAAC,wBACjBC,UAAa,CAAC,qBACdC,aAAgB,CAAC,4BACjBC,aAAgB,CAAC,4BACjBC,YAAe,CAAC,2BAChBC,WAAc,CAAC,0BACfC,OAAU,CAAC,sBACXC,YAAe,CAAC,2BAChBC,aAAgB,CAAC,4BACjBC,SAAY,CAAC,wBACd,GAEPhB,EAAyBqG,MAAQtG,SAExBC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-message-app.entry.esm.js","sources":["src/components/quick-message-app/quick-message-app.css?tag=quick-message-app","src/components/quick-message-app/quick-message-app.tsx"],"sourcesContent":[":host,\n.quick-message-app__host {\n display: grid;\n grid-template-rows: auto 1fr;\n grid-template-columns: 1fr;\n width: 100%;\n min-height: var(--quick-message-app-min-height, calc(100vh - 120px));\n max-height: var(--quick-message-app-max-height, calc(100vh - 120px));\n overflow: hidden;\n}\n\n.quick-message-app__shell {\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n min-height: var(--quick-message-app-min-height, calc(100vh - 120px));\n max-height: var(--quick-message-app-max-height, calc(100vh - 120px));\n --quick-app-primary: var(--color-primary);\n --quick-modal-surface: var(--color-background);\n --quick-modal-primary: var(--quick-app-primary);\n --quick-modal-primary-soft: color-mix(in srgb, var(--quick-modal-primary) 14%, transparent);\n --quick-modal-primary-border: color-mix(in srgb, var(--quick-modal-primary) 55%, transparent);\n --quick-modal-primary-shadow: color-mix(in srgb, var(--quick-modal-primary) 22%, transparent);\n --quick-modal-primary-ghost: color-mix(in srgb, var(--quick-modal-primary) 18%, var(--quick-modal-surface));\n}\n\n.quick-message-app__host.z-background-dark .quick-message-app__shell {\n --quick-app-primary: var(--color-primary-dark);\n --quick-modal-surface: var(--color-background-dark);\n}\n\n.quick-message-app__header {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n\n.quick-message-app__header-text h1 {\n margin: 0;\n font-size: 20px;\n font-weight: 600;\n}\n\n.quick-message-app__header-text p {\n margin: 4px 0 0;\n font-size: 14px;\n opacity: 0.7;\n}\n\n.quick-message-app__stats {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n font-size: 12px;\n opacity: 0.8;\n}\n\n.quick-message-app__tabs {\n display: flex;\n gap: 12px;\n border-bottom: 1px solid rgba(148, 163, 184, 0.35);\n padding-bottom: 8px;\n}\n\n.quick-message-app__tabs button {\n background: transparent;\n border: none;\n padding: 8px 20px;\n border-radius: 9999px;\n font-weight: 600;\n cursor: pointer;\n color: inherit;\n opacity: 0.7;\n transition:\n background 0.2s ease,\n opacity 0.2s ease;\n}\n\n.quick-message-app__tabs button.active {\n background: color-mix(in srgb, var(--quick-app-primary) 14%, transparent);\n color: var(--quick-app-primary);\n opacity: 1;\n}\n\n.quick-message-app__content {\n flex: 1;\n min-height: 0;\n min-width: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n.quick-message-app__content quick-message-template,\n.quick-message-app__content quick-message-image,\n.quick-message-app__content quick-message-file {\n flex: 1;\n min-height: 0;\n min-width: 0;\n}\n\n@media (min-width: 768px) {\n .quick-message-app__header {\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n }\n\n .quick-message-app__header-text {\n max-width: 480px;\n }\n}\n\n@media (max-width: 640px) {\n .quick-message-app__shell {\n padding: 16px;\n }\n}\n","import { Component, Event, EventEmitter, Host, Prop, State, Watch, h } from '@stencil/core';\nimport i18n from '../../global/i18n';\nimport { configStore } from '../../store/store';\nimport { QuickMessageLibraryFile, QuickMessageTemplate as QuickMessageTemplateModel } from '../../store/type';\nimport { setDayjsLocale, setDayjsTimeZone } from '../../utils/dayjs';\nimport { useTranslation } from '../../utils/utils';\n\n@Component({\n tag: 'quick-message-app',\n styleUrl: 'quick-message-app.css',\n})\nexport class QuickMessageAppComponent {\n @Prop() languagePref: 'th' | 'en' = 'en';\n @Prop() themeMode: 'dark' | 'light' = 'light';\n @Prop() templateData?: string | QuickMessageTemplateModel[];\n @Prop() imageLibrary?: string | QuickMessageLibraryFile[];\n @Prop() fileLibrary?: string | QuickMessageLibraryFile[];\n @Prop() businessId?: string;\n @Prop() shopId?: string;\n @Prop() accessToken?: string;\n @Prop() isProduction?: string | boolean;\n @Prop() timeZone?: string;\n\n @State() private activeTab: 'template' | 'image' | 'file' = 'template';\n @State() private templates: QuickMessageTemplateModel[] = [];\n @State() private images: QuickMessageLibraryFile[] = [];\n @State() private files: QuickMessageLibraryFile[] = [];\n\n @Event({ bubbles: true, composed: true }) templatesChange!: EventEmitter<QuickMessageTemplateModel[]>;\n @Event({ bubbles: true, composed: true }) imagesChange!: EventEmitter<QuickMessageLibraryFile[]>;\n @Event({ bubbles: true, composed: true }) filesChange!: EventEmitter<QuickMessageLibraryFile[]>;\n\n connectedCallback() {\n this.applyLanguage(this.languagePref);\n this.applyTheme(this.themeMode);\n this.setBusinessId(this.businessId);\n this.setShopId(this.shopId);\n this.setAccessToken(this.accessToken);\n this.setIsProduction(this.toBoolean(this.isProduction));\n this.setTimeZone(this.timeZone);\n }\n\n componentWillLoad() {\n this.templates = this.parseTemplates(this.templateData);\n this.images = this.parseLibrary(this.imageLibrary);\n this.files = this.parseLibrary(this.fileLibrary);\n this.setBusinessId(this.businessId);\n this.setShopId(this.shopId);\n this.setAccessToken(this.accessToken);\n this.setIsProduction(this.toBoolean(this.isProduction));\n this.setTimeZone(this.timeZone);\n }\n\n @Watch('languagePref')\n protected handleLanguageChange(newLang: 'th' | 'en') {\n this.applyLanguage(newLang);\n }\n\n @Watch('themeMode')\n protected handleThemeChange(newTheme: 'dark' | 'light') {\n this.applyTheme(newTheme);\n }\n\n @Watch('templateData')\n protected handleTemplateDataChange(newValue?: string | QuickMessageTemplateModel[]) {\n this.templates = this.parseTemplates(newValue);\n }\n\n @Watch('imageLibrary')\n protected handleImageLibraryChange(newValue?: string | QuickMessageLibraryFile[]) {\n this.images = this.parseLibrary(newValue);\n }\n\n @Watch('fileLibrary')\n protected handleFileLibraryChange(newValue?: string | QuickMessageLibraryFile[]) {\n this.files = this.parseLibrary(newValue);\n }\n\n @Watch('businessId')\n protected handleBusinessIdChange(newValue?: string) {\n this.setBusinessId(newValue);\n }\n\n @Watch('shopId')\n protected handleShopIdChange(newValue?: string) {\n this.setShopId(newValue);\n }\n\n @Watch('accessToken')\n protected handleAccessTokenChange(newValue?: string) {\n this.setAccessToken(newValue);\n }\n\n @Watch('isProduction')\n protected handleIsProductionChange(newValue?: string | boolean) {\n this.setIsProduction(this.toBoolean(newValue));\n }\n\n @Watch('timeZone')\n protected handleTimeZoneChange(newValue?: string) {\n this.setTimeZone(newValue);\n }\n\n private applyLanguage(lang: 'th' | 'en') {\n if (i18n.language !== lang) {\n i18n.changeLanguage(lang);\n }\n configStore.set('language', lang);\n setDayjsLocale(lang);\n }\n\n private applyTheme(theme: 'dark' | 'light') {\n configStore.set('theme', theme);\n }\n\n private setBusinessId(businessId?: string) {\n configStore.set('businessId', businessId || null);\n }\n\n private setShopId(shopId?: string) {\n configStore.set('shopId', shopId || null);\n }\n\n private setAccessToken(accessToken?: string) {\n configStore.set('accessToken', accessToken || null);\n }\n\n private setIsProduction(isProduction: boolean) {\n configStore.set('isProduction', isProduction);\n }\n\n private setTimeZone(timeZone?: string) {\n if (!timeZone || timeZone === 'null') {\n const resolved = Intl.DateTimeFormat().resolvedOptions().timeZone;\n configStore.set('timeZone', resolved);\n setDayjsTimeZone(resolved);\n return;\n }\n\n configStore.set('timeZone', timeZone);\n setDayjsTimeZone(timeZone);\n }\n\n private toBoolean(value?: string | boolean): boolean {\n if (typeof value === 'boolean') {\n return value;\n }\n\n if (typeof value === 'string') {\n return value.toLowerCase() === 'true';\n }\n\n return false;\n }\n\n private parseTemplates(value?: string | QuickMessageTemplateModel[]): QuickMessageTemplateModel[] {\n if (!value) {\n return [];\n }\n\n if (typeof value === 'string') {\n try {\n const parsed = JSON.parse(value) as QuickMessageTemplateModel[];\n return this.cloneTemplates(parsed);\n } catch (error: unknown) {\n console.warn('[quick-message-app] Failed to parse template data', error);\n return [];\n }\n }\n\n return this.cloneTemplates(value);\n }\n\n private parseLibrary(value?: string | QuickMessageLibraryFile[]): QuickMessageLibraryFile[] {\n if (!value) {\n return [];\n }\n\n if (typeof value === 'string') {\n try {\n const parsed = JSON.parse(value) as QuickMessageLibraryFile[];\n return this.cloneLibrary(parsed);\n } catch (error: unknown) {\n console.warn('[quick-message-app] Failed to parse library data', error);\n return [];\n }\n }\n\n return this.cloneLibrary(value);\n }\n\n private cloneTemplates(templates: QuickMessageTemplateModel[]): QuickMessageTemplateModel[] {\n return (templates || []).map(template => {\n const rawContents = template.contents || [];\n\n const normalizedContents = rawContents.map(content => {\n const rawMenuList = content.menu_list || [];\n const menuList = rawMenuList.map(menu => ({\n ...menu,\n buttons: (menu.buttons || []).map(button => ({ ...button })),\n }));\n\n return {\n ...content,\n buttons: (content.buttons || []).map(button => ({ ...button })),\n menu_list: menuList,\n menuList,\n };\n });\n\n return {\n ...template,\n content: normalizedContents,\n };\n });\n }\n\n private cloneLibrary(library: QuickMessageLibraryFile[]): QuickMessageLibraryFile[] {\n return (library || []).map(item => ({\n ...item,\n isSelected: item.isSelected ?? false,\n }));\n }\n\n private handleTemplatesChange(event: CustomEvent<QuickMessageTemplateModel[]>) {\n const next = this.cloneTemplates(event.detail || []);\n this.templates = next;\n this.templatesChange.emit(next);\n }\n\n private handleImagesChange(event: CustomEvent<QuickMessageLibraryFile[]>) {\n const next = this.cloneLibrary(event.detail || []);\n this.images = next;\n this.imagesChange.emit(next);\n }\n\n private handleFilesChange(event: CustomEvent<QuickMessageLibraryFile[]>) {\n const next = this.cloneLibrary(event.detail || []);\n this.files = next;\n this.filesChange.emit(next);\n }\n\n private setActiveTab(tab: 'template' | 'image' | 'file') {\n this.activeTab = tab;\n }\n\n render() {\n const t = useTranslation();\n const theme = configStore.get('theme');\n\n return (\n <Host class={`quick-message-app__host z-background-${theme} z-text-${theme}`}>\n <div class=\"quick-message-app__shell px-4\">\n <header class=\"quick-message-app__header\">\n <div class=\"quick-message-app__header-text\">\n <h1>{t('quick_message.title')}</h1>\n </div>\n </header>\n\n <nav class=\"quick-message-app__tabs text-sm\">\n <button type=\"button\" class={this.activeTab === 'template' ? 'active' : ''} onClick={() => this.setActiveTab('template')}>\n {t('quick_message.tab_template')}\n </button>\n <button type=\"button\" class={this.activeTab === 'image' ? 'active' : ''} onClick={() => this.setActiveTab('image')}>\n {t('image')}\n </button>\n <button type=\"button\" class={this.activeTab === 'file' ? 'active' : ''} onClick={() => this.setActiveTab('file')}>\n {t('file')}\n </button>\n </nav>\n\n <section class=\"quick-message-app__content\">\n {this.activeTab === 'template' && <quick-message-template value={this.templates} onTemplatesChange={event => this.handleTemplatesChange(event)} isMaster={true} />}\n {this.activeTab === 'image' && <quick-message-image value={this.images} onImagesChange={event => this.handleImagesChange(event)} isMaster={true} />}\n {this.activeTab === 'file' && <quick-message-file value={this.files} onFilesChange={event => this.handleFilesChange(event)} isMaster={true} />}\n </section>\n </div>\n <z-dialog />\n </Host>\n );\n }\n}\n"],"names":["i18n"],"mappings":";;;;AAAA,MAAM,kBAAkB,GAAG,um2CAAum2C;;MCWrn2C,wBAAwB,GAAA,MAAA;;;;;;;IAC3B,YAAY,GAAgB,IAAI;IAChC,SAAS,GAAqB,OAAO;AACrC,IAAA,YAAY;AACZ,IAAA,YAAY;AACZ,IAAA,WAAW;AACX,IAAA,UAAU;AACV,IAAA,MAAM;AACN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AAK,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAA,CAAI,CACtI,CACN,EACN,CAAY,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACP;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"quick-message-app.entry.esm.js","sources":["src/components/quick-message-app/quick-message-app.css?tag=quick-message-app","src/components/quick-message-app/quick-message-app.tsx"],"sourcesContent":[":host,\n.quick-message-app__host {\n display: grid;\n grid-template-rows: auto 1fr;\n grid-template-columns: 1fr;\n width: 100%;\n min-height: var(--quick-message-app-min-height, calc(100vh - 120px));\n max-height: var(--quick-message-app-max-height, calc(100vh - 120px));\n overflow: hidden;\n}\n\n.quick-message-app__shell {\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n min-height: var(--quick-message-app-min-height, calc(100vh - 120px));\n max-height: var(--quick-message-app-max-height, calc(100vh - 120px));\n --quick-app-primary: var(--color-primary);\n --quick-modal-surface: var(--color-background);\n --quick-modal-primary: var(--quick-app-primary);\n --quick-modal-primary-soft: color-mix(in srgb, var(--quick-modal-primary) 14%, transparent);\n --quick-modal-primary-border: color-mix(in srgb, var(--quick-modal-primary) 55%, transparent);\n --quick-modal-primary-shadow: color-mix(in srgb, var(--quick-modal-primary) 22%, transparent);\n --quick-modal-primary-ghost: color-mix(in srgb, var(--quick-modal-primary) 18%, var(--quick-modal-surface));\n}\n\n.quick-message-app__host.z-background-dark .quick-message-app__shell {\n --quick-app-primary: var(--color-primary-dark);\n --quick-modal-surface: var(--color-background-dark);\n}\n\n.quick-message-app__header {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n\n.quick-message-app__header-text h1 {\n margin: 0;\n font-size: 20px;\n font-weight: 600;\n}\n\n.quick-message-app__header-text p {\n margin: 4px 0 0;\n font-size: 14px;\n opacity: 0.7;\n}\n\n.quick-message-app__stats {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n font-size: 12px;\n opacity: 0.8;\n}\n\n.quick-message-app__tabs {\n display: flex;\n gap: 12px;\n border-bottom: 1px solid rgba(148, 163, 184, 0.35);\n padding-bottom: 8px;\n}\n\n.quick-message-app__tabs button {\n background: transparent;\n border: none;\n padding: 8px 20px;\n border-radius: 9999px;\n font-weight: 600;\n cursor: pointer;\n color: inherit;\n opacity: 0.7;\n transition:\n background 0.2s ease,\n opacity 0.2s ease;\n}\n\n.quick-message-app__tabs button.active {\n background: color-mix(in srgb, var(--quick-app-primary) 14%, transparent);\n color: var(--quick-app-primary);\n opacity: 1;\n}\n\n.quick-message-app__content {\n flex: 1;\n min-height: 0;\n min-width: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n.quick-message-app__content quick-message-template,\n.quick-message-app__content quick-message-image,\n.quick-message-app__content quick-message-file {\n flex: 1;\n min-height: 0;\n min-width: 0;\n}\n\n@media (min-width: 768px) {\n .quick-message-app__header {\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n }\n\n .quick-message-app__header-text {\n max-width: 480px;\n }\n}\n\n@media (max-width: 640px) {\n .quick-message-app__shell {\n padding: 16px;\n }\n}\n","import { Component, Event, EventEmitter, Host, Prop, State, Watch, h } from '@stencil/core';\nimport i18n from '../../global/i18n';\nimport { configStore } from '../../store/store';\nimport { QuickMessageLibraryFile, QuickMessageTemplate as QuickMessageTemplateModel } from '../../store/type';\nimport { setDayjsLocale, setDayjsTimeZone } from '../../utils/dayjs';\nimport { useTranslation } from '../../utils/utils';\n\n@Component({\n tag: 'quick-message-app',\n styleUrl: 'quick-message-app.css',\n})\nexport class QuickMessageAppComponent {\n @Prop() languagePref: 'th' | 'en' = 'en';\n @Prop() themeMode: 'dark' | 'light' = 'light';\n @Prop() templateData?: string | QuickMessageTemplateModel[];\n @Prop() imageLibrary?: string | QuickMessageLibraryFile[];\n @Prop() fileLibrary?: string | QuickMessageLibraryFile[];\n @Prop() businessId?: string;\n @Prop() shopId?: string;\n @Prop() accessToken?: string;\n @Prop() isProduction?: string | boolean;\n @Prop() timeZone?: string;\n\n @State() private activeTab: 'template' | 'image' | 'file' = 'template';\n @State() private templates: QuickMessageTemplateModel[] = [];\n @State() private images: QuickMessageLibraryFile[] = [];\n @State() private files: QuickMessageLibraryFile[] = [];\n\n @Event({ bubbles: true, composed: true }) templatesChange!: EventEmitter<QuickMessageTemplateModel[]>;\n @Event({ bubbles: true, composed: true }) imagesChange!: EventEmitter<QuickMessageLibraryFile[]>;\n @Event({ bubbles: true, composed: true }) filesChange!: EventEmitter<QuickMessageLibraryFile[]>;\n\n connectedCallback() {\n this.applyLanguage(this.languagePref);\n this.applyTheme(this.themeMode);\n this.setBusinessId(this.businessId);\n this.setShopId(this.shopId);\n this.setAccessToken(this.accessToken);\n this.setIsProduction(this.toBoolean(this.isProduction));\n this.setTimeZone(this.timeZone);\n }\n\n componentWillLoad() {\n this.templates = this.parseTemplates(this.templateData);\n this.images = this.parseLibrary(this.imageLibrary);\n this.files = this.parseLibrary(this.fileLibrary);\n this.setBusinessId(this.businessId);\n this.setShopId(this.shopId);\n this.setAccessToken(this.accessToken);\n this.setIsProduction(this.toBoolean(this.isProduction));\n this.setTimeZone(this.timeZone);\n }\n\n @Watch('languagePref')\n protected handleLanguageChange(newLang: 'th' | 'en') {\n this.applyLanguage(newLang);\n }\n\n @Watch('themeMode')\n protected handleThemeChange(newTheme: 'dark' | 'light') {\n this.applyTheme(newTheme);\n }\n\n @Watch('templateData')\n protected handleTemplateDataChange(newValue?: string | QuickMessageTemplateModel[]) {\n this.templates = this.parseTemplates(newValue);\n }\n\n @Watch('imageLibrary')\n protected handleImageLibraryChange(newValue?: string | QuickMessageLibraryFile[]) {\n this.images = this.parseLibrary(newValue);\n }\n\n @Watch('fileLibrary')\n protected handleFileLibraryChange(newValue?: string | QuickMessageLibraryFile[]) {\n this.files = this.parseLibrary(newValue);\n }\n\n @Watch('businessId')\n protected handleBusinessIdChange(newValue?: string) {\n this.setBusinessId(newValue);\n }\n\n @Watch('shopId')\n protected handleShopIdChange(newValue?: string) {\n this.setShopId(newValue);\n }\n\n @Watch('accessToken')\n protected handleAccessTokenChange(newValue?: string) {\n this.setAccessToken(newValue);\n }\n\n @Watch('isProduction')\n protected handleIsProductionChange(newValue?: string | boolean) {\n this.setIsProduction(this.toBoolean(newValue));\n }\n\n @Watch('timeZone')\n protected handleTimeZoneChange(newValue?: string) {\n this.setTimeZone(newValue);\n }\n\n private applyLanguage(lang: 'th' | 'en') {\n if (i18n.language !== lang) {\n i18n.changeLanguage(lang);\n }\n configStore.set('language', lang);\n setDayjsLocale(lang);\n }\n\n private applyTheme(theme: 'dark' | 'light') {\n configStore.set('theme', theme);\n }\n\n private setBusinessId(businessId?: string) {\n configStore.set('businessId', businessId || null);\n }\n\n private setShopId(shopId?: string) {\n configStore.set('shopId', shopId || null);\n }\n\n private setAccessToken(accessToken?: string) {\n configStore.set('accessToken', accessToken || null);\n }\n\n private setIsProduction(isProduction: boolean) {\n configStore.set('isProduction', isProduction);\n }\n\n private setTimeZone(timeZone?: string) {\n if (!timeZone || timeZone === 'null') {\n const resolved = Intl.DateTimeFormat().resolvedOptions().timeZone;\n configStore.set('timeZone', resolved);\n setDayjsTimeZone(resolved);\n return;\n }\n\n configStore.set('timeZone', timeZone);\n setDayjsTimeZone(timeZone);\n }\n\n private toBoolean(value?: string | boolean): boolean {\n if (typeof value === 'boolean') {\n return value;\n }\n\n if (typeof value === 'string') {\n return value.toLowerCase() === 'true';\n }\n\n return false;\n }\n\n private parseTemplates(value?: string | QuickMessageTemplateModel[]): QuickMessageTemplateModel[] {\n if (!value) {\n return [];\n }\n\n if (typeof value === 'string') {\n try {\n const parsed = JSON.parse(value) as QuickMessageTemplateModel[];\n return this.cloneTemplates(parsed);\n } catch (error: unknown) {\n console.warn('[quick-message-app] Failed to parse template data', error);\n return [];\n }\n }\n\n return this.cloneTemplates(value);\n }\n\n private parseLibrary(value?: string | QuickMessageLibraryFile[]): QuickMessageLibraryFile[] {\n if (!value) {\n return [];\n }\n\n if (typeof value === 'string') {\n try {\n const parsed = JSON.parse(value) as QuickMessageLibraryFile[];\n return this.cloneLibrary(parsed);\n } catch (error: unknown) {\n console.warn('[quick-message-app] Failed to parse library data', error);\n return [];\n }\n }\n\n return this.cloneLibrary(value);\n }\n\n private cloneTemplates(templates: QuickMessageTemplateModel[]): QuickMessageTemplateModel[] {\n return (templates || []).map(template => {\n const rawContents = template.contents || [];\n\n const normalizedContents = rawContents.map(content => {\n const rawMenuList = content.menu_list || [];\n const menuList = rawMenuList.map(menu => ({\n ...menu,\n buttons: (menu.buttons || []).map(button => ({ ...button })),\n }));\n\n return {\n ...content,\n buttons: (content.buttons || []).map(button => ({ ...button })),\n menu_list: menuList,\n menuList,\n };\n });\n\n return {\n ...template,\n content: normalizedContents,\n };\n });\n }\n\n private cloneLibrary(library: QuickMessageLibraryFile[]): QuickMessageLibraryFile[] {\n return (library || []).map(item => ({\n ...item,\n isSelected: item.isSelected ?? false,\n }));\n }\n\n private handleTemplatesChange(event: CustomEvent<QuickMessageTemplateModel[]>) {\n const next = this.cloneTemplates(event.detail || []);\n this.templates = next;\n this.templatesChange.emit(next);\n }\n\n private handleImagesChange(event: CustomEvent<QuickMessageLibraryFile[]>) {\n const next = this.cloneLibrary(event.detail || []);\n this.images = next;\n this.imagesChange.emit(next);\n }\n\n private handleFilesChange(event: CustomEvent<QuickMessageLibraryFile[]>) {\n const next = this.cloneLibrary(event.detail || []);\n this.files = next;\n this.filesChange.emit(next);\n }\n\n private setActiveTab(tab: 'template' | 'image' | 'file') {\n this.activeTab = tab;\n }\n\n render() {\n const t = useTranslation();\n const theme = configStore.get('theme');\n\n return (\n <Host class={`quick-message-app__host z-background-${theme} z-text-${theme}`}>\n <div class=\"quick-message-app__shell px-4\">\n <header class=\"quick-message-app__header\">\n <div class=\"quick-message-app__header-text\">\n <h1>{t('quick_message.title')}</h1>\n </div>\n </header>\n\n <nav class=\"quick-message-app__tabs text-sm\">\n <button type=\"button\" class={this.activeTab === 'template' ? 'active' : ''} onClick={() => this.setActiveTab('template')}>\n {t('quick_message.tab_template')}\n </button>\n <button type=\"button\" class={this.activeTab === 'image' ? 'active' : ''} onClick={() => this.setActiveTab('image')}>\n {t('image')}\n </button>\n <button type=\"button\" class={this.activeTab === 'file' ? 'active' : ''} onClick={() => this.setActiveTab('file')}>\n {t('file')}\n </button>\n </nav>\n\n <section class=\"quick-message-app__content\">\n {this.activeTab === 'template' && <quick-message-template value={this.templates} onTemplatesChange={event => this.handleTemplatesChange(event)} isMaster={true} />}\n {this.activeTab === 'image' && <quick-message-image value={this.images} onImagesChange={event => this.handleImagesChange(event)} isMaster={true} />}\n {this.activeTab === 'file' && <quick-message-file value={this.files} onFilesChange={event => this.handleFilesChange(event)} isMaster={true} />}\n </section>\n </div>\n <z-dialog />\n </Host>\n );\n }\n}\n"],"names":["i18n"],"mappings":";;;;AAAA,MAAM,kBAAkB,GAAG,iv8BAAiv8B;;MCW/v8B,wBAAwB,GAAA,MAAA;;;;;;;IAC3B,YAAY,GAAgB,IAAI;IAChC,SAAS,GAAqB,OAAO;AACrC,IAAA,YAAY;AACZ,IAAA,YAAY;AACZ,IAAA,WAAW;AACX,IAAA,UAAU;AACV,IAAA,MAAM;AACN,IAAA,WAAW;AACX,IAAA,YAAY;AACZ,IAAA,QAAQ;IAEC,SAAS,GAAkC,UAAU;IACrD,SAAS,GAAgC,EAAE;IAC3C,MAAM,GAA8B,EAAE;IACtC,KAAK,GAA8B,EAAE;AAEZ,IAAA,eAAe;AACf,IAAA,YAAY;AACZ,IAAA,WAAW;IAErD,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC;AACrC,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC;AAC/B,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC;AACnC,Q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AAE,OAAO,EAAE,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAC7G,EAAA,CAAC,CAAC,MAAM,CAAC,CACH,CACL,EAEN,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,4BAA4B,EAAA,EACxC,IAAI,CAAC,SAAS,KAAK,UAAU,IAAI,CAAA,CAAA,wBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAwB,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,iBAAiB,EAAE,KAAK,IAAI,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAI,CAAA,EACjK,IAAI,CAAC,SAAS,KAAK,OAAO,IAAI,CAAA,CAAA,qBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAqB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,IAAI,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAI,CAAA,EAClJ,IAAI,CAAC,SAAS,KAAK,MAAM,IAAI,CAAA,CAAA,oBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAoB,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAA,CAAI,CACtI,CACN,EACN,CAAY,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACP;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-DjdYK_gt.js";export{s as setNonce}from"./p-DjdYK_gt.js";import{g as t}from"./p-DQuL1Twl.js";var i=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};i().then((async e=>{await t();return a([["p-
|
|
1
|
+
import{p as e,b as a}from"./p-DjdYK_gt.js";export{s as setNonce}from"./p-DjdYK_gt.js";import{g as t}from"./p-DQuL1Twl.js";var i=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};i().then((async e=>{await t();return a([["p-35a45709",[[256,"chat-app",{languagePref:[1,"language-pref"],themeMode:[1,"theme-mode"],businessId:[1,"business-id"],shopId:[1,"shop-id"],accessToken:[1,"access-token"],isProduction:[1,"is-production"],timeZone:[1,"time-zone"],translationSettings:[16,"translation-settings"],isNotConnected:[1,"is-not-connected"],connectionList:[16,"connection-list"],memberList:[16,"member-list"],nextKey:[32],isLoading:[32]},[[0,"click","handleClick"]],{languagePref:["handleLanguageChange"],themeMode:["handleThemeChange"],businessId:["handleBusinessIdChange"],shopId:["handleShopIdChange"],accessToken:["handleAccessTokenChange"],isProduction:["handleIsProductionChange"],timeZone:["handleTimeZoneChange"],translationSettings:["handleTranslationSettingsChange"],isNotConnected:["handleIsNotConnectedChange"],connectionList:["handleConnectionListChange"],memberList:["handleMemberListChange"]},null,{translationSettings:["deserializeTranslateSettingsArray"],connectionList:["deserializeTConnectionArray"],memberList:["deserializeChannelMemberArray"]}],[256,"message-box",{isInitial:[32],isLoadingTop:[32],isLoadingBottom:[32],isAtBottom:[32],replyTokenInfo:[32],showReplyTokenBanner:[32],visibleRange:[32]},[[0,"click","handleClick"]]],[256,"profile-tabs",{active:[32]}],[256,"search-box",{query:[32],showDialog:[32],isUnRead:[32],filterSet:[32]}],[256,"channel-box",{nextKey:[32],isLoading:[32]}],[256,"chat-input",{value:[32],originalText:[32],images:[32],isLoading:[32],isFileLoading:[32],isImageLoading:[32],isTranslated:[32],isTranslateLoading:[32],showQuickMessageModal:[32],isQuickMessageLoading:[32]},[[16,"focusRequested","onFocusRequested"]]],[260,"profile-info",{isLoading:[32],isEditStatus:[32],statusId:[32],isEditTag:[32],isAddTag:[32],isMerge:[32],isOpenDrawer:[32],tempDrawerUser:[32],mergeIndex:[32],tempUser:[32],activeTabIndex:[32],tagItems:[32],showDialog:[32],associatedUsers:[32],isEditContext:[32],context:[32],isEditSummarizeMessage:[32],summarizeMessageItems:[32],isSyncUserLoading:[32]}],[256,"message-item",{item:[16],replyMessage:[32],isLoading:[32]}],[256,"chat-header",{isPinLoading:[32],isSpamLoading:[32],isReadLoading:[32],isPin:[32],isSpam:[32],isUnRead:[32]}],[256,"profile-history",{isLoading:[32],logs:[32]}],[256,"tag-list",{tags:[16],chatId:[1,"chat-id"],referenceSelector:[1,"reference-selector"],visibleCount:[32]}],[256,"dialog-search",{oldFilter:[16],filter:[32]}],[256,"menu-chat-channel",{referenceSelector:[1,"reference-selector"],isOpen:[32],selected:[32]}],[256,"menu-chat-type",{referenceSelector:[1,"reference-selector"],isOpen:[32],selectedItem:[32]}],[256,"profile-media"],[256,"z-dialog"],[256,"quick-message-modal",{activeTab:[32],templates:[32],images:[32],files:[32]}],[256,"user-info-section",{user:[16],readOnly:[4,"read-only"],isEditStatus:[4,"is-edit-status"],statusId:[1,"status-id"],showDialogBill:[32]}],[256,"message-content",{item:[16],isReply:[4,"is-reply"],seeTranslate:[32],isClamped:[32],showMore:[32]}],[256,"dialog-editor",{dialogType:[1,"dialog-type"],label:[1],field:[1],value:[1],allowEmpty:[4,"allow-empty"],data:[32],error:[32]}],[256,"autocomplete-multiple-select",{fetchItems:[16],selectedIds:[16],referenceSelector:[1,"reference-selector"],allItems:[32],filteredItems:[32],inputValue:[32],showDropdown:[32],loading:[32]}],[256,"checkbox-list",{itemList:[16],selected:[16]}],[260,"summarize-message-section",{user:[16],readOnly:[4,"read-only"],activeTabIndex:[2,"active-tab-index"],isEditSummarizeMessage:[4,"is-edit-summarize-message"],summarizeMessageItems:[16],items:[32]}],[256,"tag-popper",{tags:[16],referenceSelector:[1,"reference-selector"],isOpen:[32]}],[256,"message-media",{item:[16],messageMediaUrl:[32],showDialog:[32],hasError:[32]}],[256,"autocomplete-address",{field:[1],value:[1],selectedValue:[1,"selected-value"],placeholder:[1],referenceSelector:[1,"reference-selector"],allItems:[32],showDropdown:[32],isLoading:[32]}],[256,"autocomplete-select",{type:[1],value:[1],fetchItems:[16],createItem:[16],selectedIds:[16],referenceSelector:[1,"reference-selector"],allItems:[32],filteredItems:[32],inputValue:[32],showDropdown:[32],loading:[32]}],[256,"dialog-bill-editor",{data:[32],error:[32]}],[256,"status-badge",{status:[1],label:[1],padding:[1],borderWidth:[2,"border-width"],radius:[2],color:[1]}],[256,"quick-message-template",{handleClose:[16],value:[1],isMaster:[4,"is-master"],searchTemplate:[32],templates:[32],showAddTemplateDialog:[32],editingTemplate:[32],dialogMode:[32],isLoading:[32],isLoadingMore:[32],isSavingTemplate:[32],deletingTemplateId:[32],templatePendingDelete:[32],totalTemplates:[32],totalPages:[32]},null,{value:["handleValueChange"]}],[256,"dialog-preview-media",{dialogType:[1,"dialog-type"],url:[1],hasError:[32]}],[256,"quick-message-file",{handleClose:[16],value:[1],isMaster:[4,"is-master"],searchFile:[32],files:[32],isLoading:[32],isLoadingMore:[32],isUploading:[32],isDeleting:[32],totalFiles:[32],totalPages:[32],renameTargetId:[32],renameName:[32],renameExtension:[32],isRenaming:[32],openMenuId:[32]},[[4,"click","handleDocumentClick"]],{value:["handleValueChange"]}],[256,"quick-message-image",{handleClose:[16],value:[1],isMaster:[4,"is-master"],searchImage:[32],images:[32],imageDisplayMode:[32],isLoading:[32],isLoadingMore:[32],isUploading:[32],isDeleting:[32],totalImages:[32],totalPages:[32],renameTargetId:[32],renameName:[32],renameExtension:[32],isRenaming:[32],openMenuId:[32]},[[4,"click","handleDocumentClick"]],{value:["handleValueChange"]}],[256,"typography-clamp",{text:[1],textColor:[1,"text-color"],lines:[2],showMore:[32],isClamped:[32]},null,{text:["onTextChange"],lines:["onLinesChange"]}],[256,"quick-message-add-template",{handleClose:[16],handleSave:[16],handleSend:[16],initialTemplate:[16],mode:[1],isSaving:[4,"is-saving"],draftTemplate:[32]},null,{initialTemplate:["handleInitialTemplateChange"]}],[256,"menu-list",{menuItems:[16],position:[1],referenceSelector:[1,"reference-selector"],iconName:[1,"icon-name"],buttonTitle:[1,"button-title"],variant:[1],isOpen:[32]}],[256,"tag-or-status-item",{chatId:[1,"chat-id"],item:[16],expandText:[4,"expand-text"],isOpen:[32]}],[256,"quick-message-button-content",{content:[16],maxLength:[2,"max-length"],maxButtonCount:[2,"max-button-count"],maxButtonNameLength:[2,"max-button-name-length"],placeholder:[1],isShowCreateButtonDialog:[32],createButtonLabel:[32],createButtonAction:[32],createButtonType:[32],editingButtonId:[32]}],[256,"quick-message-image-content",{content:[16],maxFileSize:[2,"max-file-size"],errorMessage:[32]}],[256,"quick-message-menu-list-content",{content:[16],maxMenuList:[2,"max-menu-list"],maxFileSize:[2,"max-file-size"],maxTitleLength:[2,"max-title-length"],maxDescriptionLength:[2,"max-description-length"],maxButtonCount:[2,"max-button-count"],maxButtonNameLength:[2,"max-button-name-length"],isButtonDialogOpen:[32],buttonDialogMenuId:[32],buttonDialogLabel:[32],buttonDialogAction:[32],buttonDialogType:[32],editingButtonId:[32],menuErrors:[32]}],[256,"quick-message-text-content",{content:[16],maxLength:[2,"max-length"],placeholder:[1]}],[256,"quick-message-video-content",{content:[16],videoUrl:[32],isDialogOpen:[32],errorMessage:[32]}],[256,"z-avatar",{pictureUrl:[1,"picture-url"],size:[1],isNotRound:[4,"is-not-round"],hasError:[32]},null,{pictureUrl:["watchPictureUrl"]}]]],["p-b3cbf3e3",[[256,"quick-message-app",{languagePref:[1,"language-pref"],themeMode:[1,"theme-mode"],templateData:[1,"template-data"],imageLibrary:[1,"image-library"],fileLibrary:[1,"file-library"],businessId:[1,"business-id"],shopId:[1,"shop-id"],accessToken:[1,"access-token"],isProduction:[8,"is-production"],timeZone:[1,"time-zone"],activeTab:[32],templates:[32],images:[32],files:[32]},null,{languagePref:["handleLanguageChange"],themeMode:["handleThemeChange"],templateData:["handleTemplateDataChange"],imageLibrary:["handleImageLibraryChange"],fileLibrary:["handleFileLibraryChange"],businessId:["handleBusinessIdChange"],shopId:["handleShopIdChange"],accessToken:["handleAccessTokenChange"],isProduction:["handleIsProductionChange"],timeZone:["handleTimeZoneChange"]}]]]],e)}));
|
|
2
2
|
//# sourceMappingURL=zignal-stencil-library.esm.js.map
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-BAzVPNK5.js","mappings":";;;;;;;;AAcO,MAAM,UAAU,GAAyC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,GAAG,CAAC,EAAE,KAAK,EAAE,KAAI;IACpJ,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,CAAA,0BAAA,EAA6B,KAAK,CAAA,CAAE,EAAG,EAAA,KAAK,CAAS,EAC7E,CACE,CAAA,UAAA,EAAA,EAAA,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,CAA+B,4BAAA,EAAA,KAAK,CAAY,SAAA,EAAA,KAAK,CAAW,QAAA,EAAA,KAAK,EAAE,EAC9E,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,CAAC,CAAM,KAAK,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC/C,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,CAAA,EACD,KAAK,IAAI,CAAG,CAAA,GAAA,EAAA,EAAA,KAAK,EAAC,oBAAoB,IAAE,KAAK,CAAK,CAC/C;AAEV,CAAC;;AC/BD,MAAM,eAAe,GAAG,wzlDAAwzlD;;MCan0lD,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;;;;;;;;;IACf,UAAU,GA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ACT,KAAK,EAAE,WAAW,CAAC,QAAQ,EAC3B,WAAW,EAAE,UAAU,EACvB,WAAW,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,EACzE,iBAAiB,EAAC,0BAA0B,EAC5C,CAAA,CACE,CACG,CACZ,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAC,CAAA,OAAO,qDAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAC,UAAU,EAAC,SAAS,EAAC,IAAA,EAAA,OAAO,EAAE,IAAI,CAAC,YAAY,EAAI,CAAA,EACxF,CAAC,CAAA,OAAO,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAC,IAAA,EAAA,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAA,CAAI,CACzF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","z.object","z\n .string","z.email","z.string"],"sources":["src/components/internal-component/z-input-area.tsx","src/components/dialog-editor/dialog-editor.css?tag=dialog-editor","src/components/dialog-editor/dialog-editor.tsx"],"sourcesContent":["import { FunctionalComponent, h } from '@stencil/core';\nimport { configStore } from '../../store/store';\n\ninterface ZInputAreaProps {\n id?: string;\n label?: string;\n placeholder?: string;\n value?: string;\n onChange?: (value: string) => void;\n autoFocus?: boolean;\n rows?: number;\n error?: string;\n}\n\nexport const ZInputArea: FunctionalComponent<ZInputAreaProps> = ({ id, label, placeholder = '', value = '', onChange, autoFocus, rows = 3, error }) => {\n const theme = configStore.get('theme');\n return (\n <div class=\"mb-2\">\n {label && <label class={`z-input-area-label z-text-${theme}`}>{label}</label>}\n <textarea\n id={id}\n placeholder={placeholder}\n class={`z-input-area-input z-border-${theme} z-paper-${theme} z-text-${theme}`}\n value={value}\n onInput={(e: any) => onChange?.(e.target.value)}\n autoFocus={autoFocus}\n rows={rows}\n />\n {error && <p class=\"z-input-area-error\">{error}</p>}\n </div>\n );\n};\n",":host {\n display: block;\n}\n\n.dialog-editor {\n @apply p-6 rounded-lg shadow-lg max-h-[80vh] overflow-auto\n}\n\n.dialog-editor-title {\n @apply text-lg font-bold mb-6\n}\n\n.dialog-editor-address-wrapper {\n @apply grid grid-cols-2 gap-4\n}\n\n.dialog-editor-action-wrapper {\n @apply flex justify-between items-center mt-6 gap-2\n}","import { Component, Host, Prop, h, Event, EventEmitter, State, Fragment } from '@stencil/core';\nimport { configStore, responsiveStore, userAddressStore } from '../../store/store';\nimport { ZInput } from '../internal-component/z-input';\nimport { ZButton } from '../internal-component/z-button';\nimport { ZInputArea } from '../internal-component/z-input-area';\nimport { z } from 'zod';\nimport { useTranslation } from '../../utils/utils';\nimport { UserAddress } from '../../store/type';\n\n@Component({\n tag: 'dialog-editor',\n styleUrl: 'dialog-editor.css',\n})\nexport class DialogEditor {\n @Prop() dialogType?: 'input' | 'textarea' | 'address' = 'input';\n @Prop() label: string;\n @Prop() field: string;\n @Prop() value?: string | string[] | UserAddress;\n @Prop() allowEmpty?: boolean = false;\n\n @State() data: string | string[] | UserAddress = '';\n @State() error: string | null = null;\n\n @Event() cancel: EventEmitter<void>;\n @Event({ composed: true }) save: EventEmitter<string | string[] | UserAddress>;\n\n async componentWillLoad() {\n if (this.dialogType === 'address' && typeof this.value === 'object' && !Array.isArray(this.value)) {\n const defaultAddress = {\n address: this.value?.address || '',\n province: this.value?.province || '',\n district: this.value?.district || '',\n sub_district: this.value?.sub_district || '',\n zip_code: this.value?.zip_code || '',\n };\n userAddressStore.set('userAddress', defaultAddress);\n } else {\n this.data = this.value || '';\n }\n }\n\n handleResetData = () => {\n if (this.dialogType === 'address') {\n userAddressStore.reset();\n } else {\n this.data = '';\n }\n };\n\n handleCancel = () => {\n this.handleResetData();\n this.cancel.emit();\n };\n\n handleChange = (val: string) => {\n this.data = val;\n };\n\n handleChangeAddress = (value: string, key: keyof UserAddress) => {\n const oldAddress = structuredClone(userAddressStore.get('userAddress'));\n const editAddress = {\n ...oldAddress,\n [key]: value,\n };\n\n switch (key) {\n case 'province':\n editAddress.district = '';\n editAddress.sub_district = '';\n editAddress.zip_code = '';\n break;\n case 'district':\n editAddress.sub_district = '';\n editAddress.zip_code = '';\n break;\n case 'sub_district':\n editAddress.zip_code = '';\n break;\n }\n\n userAddressStore.set('userAddress', editAddress);\n };\n\n handleSubmit = () => {\n const t = useTranslation();\n const schema =\n this.dialogType === 'address'\n ? z.object({\n [this.field]: z.object({\n address: z\n .string()\n .trim()\n .min(1, { message: `${t('please_input')} ${t('address')}` }),\n province: z\n .string()\n .trim()\n .min(1, { message: `${t('please_input')} ${t('province')}` }),\n district: z\n .string()\n .trim()\n .min(1, { message: `${t('please_input')} ${t('district')}` }),\n sub_district: z\n .string()\n .trim()\n .min(1, { message: `${t('please_input')} ${t('sub_district')}` }),\n zip_code: z\n .string()\n .trim()\n .min(1, { message: `${t('please_input')} ${t('zip_code')}` }),\n }),\n })\n : z.object({ [this.field]: this.field.toLowerCase() === 'email' ? z.email() : z.string().trim() });\n\n const values = this.dialogType === 'address' ? userAddressStore.get('userAddress') : this.data;\n\n const validator = schema.safeParse({ [this.field]: values });\n\n if (!validator.success) {\n this.error = validator.error.issues[0].message;\n } else {\n this.error = null;\n this.save.emit(values);\n this.handleResetData();\n }\n };\n\n render() {\n const t = useTranslation();\n const theme = configStore.get('theme');\n const isMobile = responsiveStore.get('isMobile');\n const userAddress = userAddressStore.get('userAddress');\n const disabledSubmit = this.allowEmpty\n ? false\n : this.dialogType === 'address'\n ? userAddress.address === '' || userAddress.province === '' || userAddress.district === '' || userAddress.sub_district === '' || userAddress.zip_code === ''\n : typeof this.data === 'string'\n ? Boolean(this.data.trim())\n : Array.isArray(this.data) && this.data.length === 0;\n\n return (\n <Host>\n <div class={`dialog-editor z-background-${theme} ${isMobile ? 'w-xs' : 'w-xl'}`}>\n <h2 class={`dialog-editor-title z-text-${theme}`}>\n {t('edit')} {this.label}\n </h2>\n\n {this.dialogType === 'input' && typeof this.data === 'string' && (\n <ZInput\n autoFocus\n id={this.field}\n label={this.label}\n placeholder={this.label}\n value={this.data}\n onChange={val => this.handleChange(val)}\n type={this.field.toLowerCase() === 'email' ? 'email' : 'text'}\n error={this.error}\n />\n )}\n\n {this.dialogType === 'textarea' && typeof this.data === 'string' && (\n <div class={`mb-2`}>\n <ZInputArea autoFocus id={this.field} label={this.label} placeholder={this.label} value={this.data} onChange={val => this.handleChange(val)} error={this.error} />\n </div>\n )}\n\n {this.dialogType === 'address' && userAddress && (\n <Fragment>\n <ZInputArea\n autoFocus\n id={this.field}\n label={this.label}\n placeholder={this.label}\n value={userAddress.address}\n onChange={val => this.handleChangeAddress(val, 'address')}\n error={this.error}\n />\n <div class=\"dialog-editor-address-wrapper\">\n <autocomplete-address\n field=\"p\"\n value={userAddress.province}\n placeholder={'province'}\n onSelecting={({ detail }) => this.handleChangeAddress(detail, 'province')}\n referenceSelector=\"profile-address-province\"\n />\n <autocomplete-address\n field=\"a\"\n value={userAddress.district}\n placeholder={'district'}\n onSelecting={({ detail }) => this.handleChangeAddress(detail, 'district')}\n referenceSelector=\"profile-address-district\"\n />\n <autocomplete-address\n field=\"d\"\n value={userAddress.sub_district}\n placeholder={'sub_district'}\n onSelecting={({ detail }) => this.handleChangeAddress(detail, 'sub_district')}\n referenceSelector=\"profile-address-sub_district\"\n />\n <autocomplete-address\n field=\"z\"\n value={userAddress.zip_code}\n placeholder={'zip_code'}\n onSelecting={({ detail }) => this.handleChangeAddress(detail, 'zip_code')}\n referenceSelector=\"profile-address-zip_code\"\n />\n </div>\n </Fragment>\n )}\n\n <div class=\"dialog-editor-action-wrapper\">\n <ZButton label={t('cancel')} variant=\"outlined\" fullWidth onClick={this.handleCancel} />\n <ZButton label={t('save')} fullWidth onClick={this.handleSubmit} disabled={disabledSubmit} />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|