@mhmo91/schmancy 0.4.70 → 0.4.72
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/ai/context.md +2 -3
- package/ai/directives.md +1 -1
- package/dist/ai/context.md +2 -3
- package/dist/ai/directives.md +1 -1
- package/dist/{animated-text-CMITbL1U.js → animated-text-CBOMltQE.js} +3 -3
- package/dist/{animated-text-CMITbL1U.js.map → animated-text-CBOMltQE.js.map} +1 -1
- package/dist/{animated-text-DefVTtAq.cjs → animated-text-rE-SkQgz.cjs} +2 -2
- package/dist/{animated-text-DefVTtAq.cjs.map → animated-text-rE-SkQgz.cjs.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-CVnJvyK0.js → area.component-C86pi_TT.js} +3 -3
- package/dist/{area.component-CVnJvyK0.js.map → area.component-C86pi_TT.js.map} +1 -1
- package/dist/{area.component-CxVp3gZp.cjs → area.component-nX_dCv4R.cjs} +2 -2
- package/dist/{area.component-CxVp3gZp.cjs.map → area.component-nX_dCv4R.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-DTm45vy3.js → autocomplete-BAcf_l63.js} +3 -3
- package/dist/{autocomplete-DTm45vy3.js.map → autocomplete-BAcf_l63.js.map} +1 -1
- package/dist/{autocomplete-DZgp2iwf.cjs → autocomplete-CuO8ztL4.cjs} +2 -2
- package/dist/{autocomplete-DZgp2iwf.cjs.map → autocomplete-CuO8ztL4.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-Cp3pBHJ0.js → avatar-D3gNBale.js} +50 -50
- package/dist/{avatar-Cp3pBHJ0.js.map → avatar-D3gNBale.js.map} +1 -1
- package/dist/{avatar-Dexe_o7K.cjs → avatar-N3BODeY1.cjs} +2 -2
- package/dist/{avatar-Dexe_o7K.cjs.map → avatar-N3BODeY1.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DiWtHOng.js → boat-BQoWbDxu.js} +2 -2
- package/dist/{boat-DiWtHOng.js.map → boat-BQoWbDxu.js.map} +1 -1
- package/dist/{boat-DTLpjckT.cjs → boat-CWXlAq65.cjs} +2 -2
- package/dist/{boat-DTLpjckT.cjs.map → boat-CWXlAq65.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-CatOf2np.js → checkbox-DBO-neG5.js} +2 -2
- package/dist/{checkbox-CatOf2np.js.map → checkbox-DBO-neG5.js.map} +1 -1
- package/dist/{checkbox-DIbnOfL2.cjs → checkbox-DIYmuPtk.cjs} +2 -2
- package/dist/{checkbox-DIbnOfL2.cjs.map → checkbox-DIYmuPtk.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-DtPe3B90.cjs → chips-BYE5hQQr.cjs} +2 -2
- package/dist/{chips-DtPe3B90.cjs.map → chips-BYE5hQQr.cjs.map} +1 -1
- package/dist/{chips-zrYIeivA.js → chips-C_7proIN.js} +3 -3
- package/dist/{chips-zrYIeivA.js.map → chips-C_7proIN.js.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-CnfzlCWq.js → code-preview-CQ-EAz9F.js} +2 -2
- package/dist/{code-preview-CnfzlCWq.js.map → code-preview-CQ-EAz9F.js.map} +1 -1
- package/dist/{code-preview-DMIT_oTX.cjs → code-preview-CzcyBpl-.cjs} +2 -2
- package/dist/{code-preview-DMIT_oTX.cjs.map → code-preview-CzcyBpl-.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-CAAjykaN.cjs → date-range-DCghMsV8.cjs} +2 -2
- package/dist/{date-range-CAAjykaN.cjs.map → date-range-DCghMsV8.cjs.map} +1 -1
- package/dist/{date-range-alXAlxtp.js → date-range-WqwMEh16.js} +4 -4
- package/dist/{date-range-alXAlxtp.js.map → date-range-WqwMEh16.js.map} +1 -1
- package/dist/{date-range-inline-GGJ-b5Ji.js → date-range-inline-JgIiOHQM.js} +3 -3
- package/dist/{date-range-inline-GGJ-b5Ji.js.map → date-range-inline-JgIiOHQM.js.map} +1 -1
- package/dist/{date-range-inline-DCYLf0py.cjs → date-range-inline-Z0ASWN4I.cjs} +2 -2
- package/dist/{date-range-inline-DCYLf0py.cjs.map → date-range-inline-Z0ASWN4I.cjs.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-DnJcmVMd.cjs → delay-Ew4cphs1.cjs} +2 -2
- package/dist/{delay-DnJcmVMd.cjs.map → delay-Ew4cphs1.cjs.map} +1 -1
- package/dist/{delay-BX1HD8i5.js → delay-LnWlFwkK.js} +2 -2
- package/dist/{delay-BX1HD8i5.js.map → delay-LnWlFwkK.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-DJdIO2Op.js → details-BVEV0hUx.js} +2 -2
- package/dist/{details-DJdIO2Op.js.map → details-BVEV0hUx.js.map} +1 -1
- package/dist/{details-B-SW_Fin.cjs → details-C01m-iWQ.cjs} +2 -2
- package/dist/{details-B-SW_Fin.cjs.map → details-C01m-iWQ.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-DBlOSail.cjs → dialog-content-BFmy9Sbo.cjs} +2 -2
- package/dist/{dialog-content-DBlOSail.cjs.map → dialog-content-BFmy9Sbo.cjs.map} +1 -1
- package/dist/{dialog-content-CDfCvaaL.js → dialog-content-B_w_iJyW.js} +4 -4
- package/dist/{dialog-content-CDfCvaaL.js.map → dialog-content-B_w_iJyW.js.map} +1 -1
- package/dist/{dialog-service-C4ko20zk.cjs → dialog-service-DS-aEjlX.cjs} +2 -2
- package/dist/{dialog-service-C4ko20zk.cjs.map → dialog-service-DS-aEjlX.cjs.map} +1 -1
- package/dist/{dialog-service-DoKaWw88.js → dialog-service-DwJ_7FB3.js} +2 -2
- package/dist/{dialog-service-DoKaWw88.js.map → dialog-service-DwJ_7FB3.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +2 -2
- package/dist/{divider-xwxPJtAX.cjs → divider-BWG6TAr2.cjs} +2 -2
- package/dist/{divider-xwxPJtAX.cjs.map → divider-BWG6TAr2.cjs.map} +1 -1
- package/dist/{divider-TH_rknPx.js → divider-FkKYlJY3.js} +3 -3
- package/dist/{divider-TH_rknPx.js.map → divider-FkKYlJY3.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-CSwcyUQ9.js → dropdown-content-BStJGihR.js} +3 -3
- package/dist/{dropdown-content-CSwcyUQ9.js.map → dropdown-content-BStJGihR.js.map} +1 -1
- package/dist/{dropdown-content-BdHciywm.cjs → dropdown-content-m1aSF-Oh.cjs} +2 -2
- package/dist/{dropdown-content-BdHciywm.cjs.map → dropdown-content-m1aSF-Oh.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-B9F9tbTi.cjs → email-recipients-CbZNnzoj.cjs} +90 -231
- package/dist/email-recipients-CbZNnzoj.cjs.map +1 -0
- package/dist/{email-recipients-BH3-shuO.js → email-recipients-CpghUhQ1.js} +86 -234
- package/dist/email-recipients-CpghUhQ1.js.map +1 -0
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-DpTCuZUb.cjs → flex-BNVtJlgu.cjs} +2 -2
- package/dist/{flex-DpTCuZUb.cjs.map → flex-BNVtJlgu.cjs.map} +1 -1
- package/dist/{flex-D8gAI_hG.js → flex-C6yj5Sxi.js} +2 -2
- package/dist/{flex-D8gAI_hG.js.map → flex-C6yj5Sxi.js.map} +1 -1
- package/dist/{form-BZjCPbr9.js → form-C85Qev2L.js} +2 -2
- package/dist/{form-BZjCPbr9.js.map → form-C85Qev2L.js.map} +1 -1
- package/dist/{form-CVRfikGe.cjs → form-ns7c4fcj.cjs} +2 -2
- package/dist/{form-CVRfikGe.cjs.map → form-ns7c4fcj.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-OMhAnwUx.cjs → formField.mixin-B3CXBJKX.cjs} +2 -2
- package/dist/{formField.mixin-OMhAnwUx.cjs.map → formField.mixin-B3CXBJKX.cjs.map} +1 -1
- package/dist/{formField.mixin-Ljb1niLU.js → formField.mixin-CKb_MTS7.js} +2 -2
- package/dist/{formField.mixin-Ljb1niLU.js.map → formField.mixin-CKb_MTS7.js.map} +1 -1
- package/dist/{icon-P0BSH_XX.js → icon-DKPLcbdu.js} +2 -2
- package/dist/{icon-P0BSH_XX.js.map → icon-DKPLcbdu.js.map} +1 -1
- package/dist/{icon-DX0oxbGd.cjs → icon-DUstfLaC.cjs} +2 -2
- package/dist/{icon-DX0oxbGd.cjs.map → icon-DUstfLaC.cjs.map} +1 -1
- package/dist/{icon-button-CHc7Bgkr.js → icon-button-CIkRej0r.js} +3 -3
- package/dist/{icon-button-CHc7Bgkr.js.map → icon-button-CIkRej0r.js.map} +1 -1
- package/dist/{icon-button-GkluRkNE.cjs → icon-button-DiRex-eZ.cjs} +2 -2
- package/dist/{icon-button-GkluRkNE.cjs.map → icon-button-DiRex-eZ.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +49 -49
- package/dist/{input-qI9CER23.cjs → input-B7MqsI2h.cjs} +2 -2
- package/dist/{input-qI9CER23.cjs.map → input-B7MqsI2h.cjs.map} +1 -1
- package/dist/{input-BxzFCM0j.js → input-DODcsAZu.js} +3 -3
- package/dist/{input-BxzFCM0j.js.map → input-DODcsAZu.js.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-CD6Ue96E.js → list-Cx6tpiFE.js} +2 -2
- package/dist/{list-CD6Ue96E.js.map → list-Cx6tpiFE.js.map} +1 -1
- package/dist/{list-BBCV7EZh.cjs → list-DxduK4sb.cjs} +2 -2
- package/dist/{list-BBCV7EZh.cjs.map → list-DxduK4sb.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-D8xYT3dQ.cjs → litElement.mixin-B12Y4mEr.cjs} +2 -2
- package/dist/{litElement.mixin-D8xYT3dQ.cjs.map → litElement.mixin-B12Y4mEr.cjs.map} +1 -1
- package/dist/{litElement.mixin-BSsJVIyj.js → litElement.mixin-BZ8iGvPl.js} +2 -2
- package/dist/{litElement.mixin-BSsJVIyj.js.map → litElement.mixin-BZ8iGvPl.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-D637QcQS.js → map-dT8yp1iK.js} +2 -2
- package/dist/{map-D637QcQS.js.map → map-dT8yp1iK.js.map} +1 -1
- package/dist/{map-CVeIZTSC.cjs → map-sgCf8pYD.cjs} +2 -2
- package/dist/{map-CVeIZTSC.cjs.map → map-sgCf8pYD.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CXv34EUE.js → media-CgH0D5rY.js} +2 -2
- package/dist/{media-CXv34EUE.js.map → media-CgH0D5rY.js.map} +1 -1
- package/dist/{media-ng9D3LV4.cjs → media-CwjupDLj.cjs} +2 -2
- package/dist/{media-ng9D3LV4.cjs.map → media-CwjupDLj.cjs.map} +1 -1
- package/dist/{menu-BKqFx_Sg.cjs → menu-X25Q7tpY.cjs} +2 -2
- package/dist/{menu-BKqFx_Sg.cjs.map → menu-X25Q7tpY.cjs.map} +1 -1
- package/dist/{menu-B5aEANFb.js → menu-oZRtmhVd.js} +3 -3
- package/dist/{menu-B5aEANFb.js.map → menu-oZRtmhVd.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{notification-service-BL_SA5r6.cjs → notification-service-kLTt3JtW.cjs} +2 -2
- package/dist/{notification-service-BL_SA5r6.cjs.map → notification-service-kLTt3JtW.cjs.map} +1 -1
- package/dist/{notification-service-BO0LiH62.js → notification-service-y0T4rXdS.js} +4 -4
- package/dist/{notification-service-BO0LiH62.js.map → notification-service-y0T4rXdS.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-sR_wpqSL.js → notify-BnjvURrc.js} +2 -2
- package/dist/{notify-sR_wpqSL.js.map → notify-BnjvURrc.js.map} +1 -1
- package/dist/{notify-DiIsT6_U.cjs → notify-EGStToeW.cjs} +2 -2
- package/dist/{notify-DiIsT6_U.cjs.map → notify-EGStToeW.cjs.map} +1 -1
- package/dist/{option-Wdzvm3xE.js → option-CD1NSUXu.js} +2 -2
- package/dist/{option-Wdzvm3xE.js.map → option-CD1NSUXu.js.map} +1 -1
- package/dist/{option-Bna3I9yk.cjs → option-D4_WBCWz.cjs} +2 -2
- package/dist/{option-Bna3I9yk.cjs.map → option-D4_WBCWz.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-D_F0Qk8m.cjs → payment-card-form-96Rw6cLf.cjs} +2 -2
- package/dist/{payment-card-form-D_F0Qk8m.cjs.map → payment-card-form-96Rw6cLf.cjs.map} +1 -1
- package/dist/{payment-card-form-BanESqh4.js → payment-card-form-lWlhuDb3.js} +3 -3
- package/dist/{payment-card-form-BanESqh4.js.map → payment-card-form-lWlhuDb3.js.map} +1 -1
- package/dist/{progress-DWUvgJRQ.cjs → progress-BkxGzGOm.cjs} +2 -2
- package/dist/{progress-DWUvgJRQ.cjs.map → progress-BkxGzGOm.cjs.map} +1 -1
- package/dist/{progress-lCHm-5Qd.js → progress-DGk9tC4y.js} +2 -2
- package/dist/{progress-lCHm-5Qd.js.map → progress-DGk9tC4y.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-CXX8rL5Z.js → radio-button-DHM38A7h.js} +3 -3
- package/dist/{radio-button-CXX8rL5Z.js.map → radio-button-DHM38A7h.js.map} +1 -1
- package/dist/{radio-button-BgvPoY5w.cjs → radio-button-w9ZxzEPa.cjs} +2 -2
- package/dist/{radio-button-BgvPoY5w.cjs.map → radio-button-w9ZxzEPa.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-WmpbfnAv.cjs → schmancy-steps-container-CPSL_8H0.cjs} +2 -2
- package/dist/{schmancy-steps-container-WmpbfnAv.cjs.map → schmancy-steps-container-CPSL_8H0.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-dAv2AQ1o.js → schmancy-steps-container-WYO4SOrb.js} +2 -2
- package/dist/{schmancy-steps-container-dAv2AQ1o.js.map → schmancy-steps-container-WYO4SOrb.js.map} +1 -1
- package/dist/{select-C4ysSiyb.cjs → select-CxCcgqW_.cjs} +2 -2
- package/dist/{select-C4ysSiyb.cjs.map → select-CxCcgqW_.cjs.map} +1 -1
- package/dist/{select-BFHRO7D1.js → select-bDAzyQOZ.js} +3 -3
- package/dist/{select-BFHRO7D1.js.map → select-bDAzyQOZ.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-BrWQNETX.cjs → sheet-Bm0ukLXt.cjs} +2 -2
- package/dist/{sheet-BrWQNETX.cjs.map → sheet-Bm0ukLXt.cjs.map} +1 -1
- package/dist/{sheet-Bm7AdMAf.js → sheet-pO6PmiAf.js} +4 -4
- package/dist/{sheet-Bm7AdMAf.js.map → sheet-pO6PmiAf.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{sheet.service-DGYkGKzX.cjs → sheet.service-DV9xNhS8.cjs} +2 -2
- package/dist/{sheet.service-DGYkGKzX.cjs.map → sheet.service-DV9xNhS8.cjs.map} +1 -1
- package/dist/{sheet.service-CgKnOzZN.js → sheet.service-ieSXeqCj.js} +2 -2
- package/dist/{sheet.service-CgKnOzZN.js.map → sheet.service-ieSXeqCj.js.map} +1 -1
- package/dist/{slider-zzIaOtVV.cjs → slider-BwXXp74f.cjs} +2 -2
- package/dist/{slider-zzIaOtVV.cjs.map → slider-BwXXp74f.cjs.map} +1 -1
- package/dist/{slider-DtMki7JS.js → slider-CxZGMYF-.js} +3 -3
- package/dist/{slider-DtMki7JS.js.map → slider-CxZGMYF-.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-yQpcUe1F.js → spinner-b3VWC6It.js} +2 -2
- package/dist/{spinner-yQpcUe1F.js.map → spinner-b3VWC6It.js.map} +1 -1
- package/dist/{spinner-DpiguU2b.cjs → spinner-nN77H00p.cjs} +2 -2
- package/dist/{spinner-DpiguU2b.cjs.map → spinner-nN77H00p.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-uQy_g3S3.js → surface-C2WjztRc.js} +2 -2
- package/dist/{surface-uQy_g3S3.js.map → surface-C2WjztRc.js.map} +1 -1
- package/dist/{surface-BQkqeqQL.cjs → surface-Cm8zYK5d.cjs} +2 -2
- package/dist/{surface-BQkqeqQL.cjs.map → surface-Cm8zYK5d.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-P5rTnqC_.cjs → table-BfhuaB9J.cjs} +2 -2
- package/dist/{table-P5rTnqC_.cjs.map → table-BfhuaB9J.cjs.map} +1 -1
- package/dist/{table-D_NfwO-r.js → table-Dp7npAuy.js} +2 -2
- package/dist/{table-D_NfwO-r.js.map → table-Dp7npAuy.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-BdJ2pRM4.cjs → tabs-compatibility-CA-wWRoe.cjs} +2 -2
- package/dist/{tabs-compatibility-BdJ2pRM4.cjs.map → tabs-compatibility-CA-wWRoe.cjs.map} +1 -1
- package/dist/{tabs-compatibility-8_k_UM2J.js → tabs-compatibility-U4cq8X3I.js} +2 -2
- package/dist/{tabs-compatibility-8_k_UM2J.js.map → tabs-compatibility-U4cq8X3I.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-BlZIIaOE.cjs +2 -0
- package/dist/{tailwind.mixin-BFHdirqy.cjs.map → tailwind.mixin-BlZIIaOE.cjs.map} +1 -1
- package/dist/tailwind.mixin-D2DVHS9V.js +43 -0
- package/dist/{tailwind.mixin-C3MkWn0v.js.map → tailwind.mixin-D2DVHS9V.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-BIa-VJgn.js → textarea-BRNj3tvi.js} +2 -2
- package/dist/{textarea-BIa-VJgn.js.map → textarea-BRNj3tvi.js.map} +1 -1
- package/dist/{textarea-d0QK9I_W.cjs → textarea-CxZKoXaU.cjs} +2 -2
- package/dist/{textarea-d0QK9I_W.cjs.map → textarea-CxZKoXaU.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-2R4gqt1Z.cjs → theme-button-MrIoOFEB.cjs} +2 -2
- package/dist/{theme-button-2R4gqt1Z.cjs.map → theme-button-MrIoOFEB.cjs.map} +1 -1
- package/dist/{theme-button-BXkmh4nn.js → theme-button-N_Wt3bos.js} +2 -2
- package/dist/{theme-button-BXkmh4nn.js.map → theme-button-N_Wt3bos.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-Cta_ZGr5.js → theme.component-6VfET_t-.js} +2 -2
- package/dist/{theme.component-Cta_ZGr5.js.map → theme.component-6VfET_t-.js.map} +1 -1
- package/dist/{theme.component-DHuNvHEP.cjs → theme.component-B_EubPsq.cjs} +2 -2
- package/dist/{theme.component-DHuNvHEP.cjs.map → theme.component-B_EubPsq.cjs.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-DZMzss0f.cjs → timezone-BVd9UEba.cjs} +2 -2
- package/dist/{timezone-DZMzss0f.cjs.map → timezone-BVd9UEba.cjs.map} +1 -1
- package/dist/{timezone-DLuRf9_q.js → timezone-DR_4m9Cc.js} +3 -3
- package/dist/{timezone-DLuRf9_q.js.map → timezone-DR_4m9Cc.js.map} +1 -1
- package/dist/{tooltip-BbSE2kUb.js → tooltip-BpPHc8Wr.js} +2 -2
- package/dist/{tooltip-BbSE2kUb.js.map → tooltip-BpPHc8Wr.js.map} +1 -1
- package/dist/{tooltip-CK-XmbzO.cjs → tooltip-DOQVLRaH.cjs} +2 -2
- package/dist/{tooltip-CK-XmbzO.cjs.map → tooltip-DOQVLRaH.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-COFL10bn.cjs → tree-BANkyLn7.cjs} +2 -2
- package/dist/{tree-COFL10bn.cjs.map → tree-BANkyLn7.cjs.map} +1 -1
- package/dist/{tree-DQJIF5Zw.js → tree-C5zu8wXc.js} +2 -2
- package/dist/{tree-DQJIF5Zw.js.map → tree-C5zu8wXc.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-DWfh9dQx.js → typewriter-CdztqkoR.js} +4 -4
- package/dist/{typewriter-DWfh9dQx.js.map → typewriter-CdztqkoR.js.map} +1 -1
- package/dist/{typewriter-DTuH_jfH.cjs → typewriter-DS0D0UZM.cjs} +2 -2
- package/dist/{typewriter-DTuH_jfH.cjs.map → typewriter-DS0D0UZM.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-CVIqatrO.cjs → typography-C8vZfuLF.cjs} +2 -2
- package/dist/{typography-CVIqatrO.cjs.map → typography-C8vZfuLF.cjs.map} +1 -1
- package/dist/{typography-CbfOMwD6.js → typography-o9FJ6Lzo.js} +2 -2
- package/dist/{typography-CbfOMwD6.js.map → typography-o9FJ6Lzo.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/mailbox/email-template-picker.d.ts +4 -14
- package/dist/email-recipients-B9F9tbTi.cjs.map +0 -1
- package/dist/email-recipients-BH3-shuO.js.map +0 -1
- package/dist/tailwind.mixin-BFHdirqy.cjs +0 -2
- package/dist/tailwind.mixin-C3MkWn0v.js +0 -43
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "rxjs";
|
|
2
2
|
import "lit/directives/class-map.js";
|
|
3
3
|
import "lit/directives/style-map.js";
|
|
4
|
-
import { $ as A } from "./litElement.mixin-
|
|
5
|
-
import { T as P } from "./tailwind.mixin-
|
|
6
|
-
import { property as
|
|
4
|
+
import { $ as A } from "./litElement.mixin-BZ8iGvPl.js";
|
|
5
|
+
import { T as P } from "./tailwind.mixin-D2DVHS9V.js";
|
|
6
|
+
import { property as h, state as y, customElement as C } from "lit/decorators.js";
|
|
7
7
|
import { css as D, html as c } from "lit";
|
|
8
|
-
import { when as
|
|
8
|
+
import { when as d } from "lit/directives/when.js";
|
|
9
9
|
import { createRef as T, ref as E } from "lit/directives/ref.js";
|
|
10
10
|
import { repeat as I } from "lit/directives/repeat.js";
|
|
11
|
-
import { $ as v } from "./notification-service-
|
|
12
|
-
import "./dialog-content-
|
|
13
|
-
import { $ as L } from "./dialog-service-
|
|
14
|
-
import { s as j } from "./sheet.service-
|
|
15
|
-
var F = Object.defineProperty,
|
|
16
|
-
for (var a, n = i > 1 ? void 0 : i ?
|
|
11
|
+
import { $ as v } from "./notification-service-y0T4rXdS.js";
|
|
12
|
+
import "./dialog-content-B_w_iJyW.js";
|
|
13
|
+
import { $ as L } from "./dialog-service-DwJ_7FB3.js";
|
|
14
|
+
import { s as j } from "./sheet.service-ieSXeqCj.js";
|
|
15
|
+
var F = Object.defineProperty, O = Object.getOwnPropertyDescriptor, u = (e, t, s, i) => {
|
|
16
|
+
for (var a, n = i > 1 ? void 0 : i ? O(t, s) : t, r = e.length - 1; r >= 0; r--) (a = e[r]) && (n = (i ? a(t, s, n) : a(n)) || n);
|
|
17
17
|
return i && n && F(t, s, n), n;
|
|
18
18
|
};
|
|
19
|
-
let
|
|
19
|
+
let m = class extends A(D`
|
|
20
20
|
:host {
|
|
21
21
|
display: block;
|
|
22
22
|
height: 100%;
|
|
@@ -127,7 +127,7 @@ let y = class extends A(D`
|
|
|
127
127
|
<schmancy-typography type="body" token="sm" class="font-medium">
|
|
128
128
|
${this.selectedRecipients.length} recipient${this.selectedRecipients.length === 1 ? "" : "s"} selected
|
|
129
129
|
</schmancy-typography>
|
|
130
|
-
${
|
|
130
|
+
${d(this.attachments.length > 0, () => c`
|
|
131
131
|
<schmancy-typography type="body" token="xs">
|
|
132
132
|
${this.attachments.length} attachment${this.attachments.length === 1 ? "" : "s"}
|
|
133
133
|
</schmancy-typography>
|
|
@@ -170,8 +170,8 @@ let y = class extends A(D`
|
|
|
170
170
|
`;
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
|
-
u([
|
|
174
|
-
var
|
|
173
|
+
u([h({ type: Object })], m.prototype, "config", 2), u([h({ type: Array })], m.prototype, "templates", 2), u([h({ type: Array })], m.prototype, "importSources", 2), u([h({ type: Boolean })], m.prototype, "disabled", 2), u([h({ type: String })], m.prototype, "recipientsTitle", 2), u([h({ type: String })], m.prototype, "recipientsEmptyTitle", 2), u([h({ type: String })], m.prototype, "recipientsEmptyMessage", 2), u([h({ type: Boolean })], m.prototype, "enableCsvImport", 2), u([h({ type: Boolean })], m.prototype, "enableDragDrop", 2), u([y()], m.prototype, "recipients", 2), u([y()], m.prototype, "selectedRecipients", 2), u([y()], m.prototype, "subject", 2), u([y()], m.prototype, "body", 2), u([y()], m.prototype, "templateId", 2), u([y()], m.prototype, "attachments", 2), u([y()], m.prototype, "isSending", 2), m = u([C("schmancy-mailbox")], m);
|
|
174
|
+
var B = Object.getOwnPropertyDescriptor;
|
|
175
175
|
let z = class extends P() {
|
|
176
176
|
constructor() {
|
|
177
177
|
super(...arguments), this.layouts = [{ id: "columns-2", icon: "view_week", label: "2 Col" }, { id: "columns-3", icon: "view_column", label: "3 Col" }, { id: "sidebar-left", icon: "view_sidebar", label: "Left" }, { id: "sidebar-right", icon: "view_sidebar", label: "Right", flipped: !0 }, { id: "image-row", icon: "collections", label: "Images" }];
|
|
@@ -202,32 +202,28 @@ let z = class extends P() {
|
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
z = ((e, t, s, i) => {
|
|
205
|
-
for (var a, n = i > 1 ? void 0 : i ?
|
|
205
|
+
for (var a, n = i > 1 ? void 0 : i ? B(t, s) : t, r = e.length - 1; r >= 0; r--) (a = e[r]) && (n = a(n) || n);
|
|
206
206
|
return n;
|
|
207
|
-
})([
|
|
208
|
-
var M = Object.defineProperty, H = Object.getOwnPropertyDescriptor,
|
|
207
|
+
})([C("schmancy-email-layout-selector")], z);
|
|
208
|
+
var M = Object.defineProperty, H = Object.getOwnPropertyDescriptor, R = (e, t, s, i) => {
|
|
209
209
|
for (var a, n = i > 1 ? void 0 : i ? H(t, s) : t, r = e.length - 1; r >= 0; r--) (a = e[r]) && (n = (i ? a(t, s, n) : a(n)) || n);
|
|
210
210
|
return i && n && M(t, s, n), n;
|
|
211
211
|
};
|
|
212
|
-
let
|
|
212
|
+
let k = class extends A(D`
|
|
213
213
|
:host {
|
|
214
214
|
display: block;
|
|
215
215
|
}
|
|
216
216
|
`) {
|
|
217
217
|
constructor() {
|
|
218
|
-
super(...arguments), this.templates = [], this.searchQuery = "", this.
|
|
218
|
+
super(...arguments), this.templates = [], this.searchQuery = "", this.filteredTemplates = [], this.selectedCategory = "all", this.handleSearch = (e) => {
|
|
219
219
|
const t = e.target;
|
|
220
220
|
this.searchQuery = t.value;
|
|
221
221
|
}, this.handleCategorySelect = (e) => {
|
|
222
222
|
this.selectedCategory = e, this.updateFilteredTemplates();
|
|
223
223
|
}, this.selectTemplate = (e) => {
|
|
224
|
-
this.
|
|
225
|
-
}, this.confirmSelection = () => {
|
|
226
|
-
this.selectedTemplate && (this.dispatchEvent(new CustomEvent("template-selected", { detail: this.selectedTemplate, bubbles: !0, composed: !0 })), j.dismiss());
|
|
224
|
+
this.dispatchEvent(new CustomEvent("template-selected", { detail: e, bubbles: !0, composed: !0 })), j.dismiss();
|
|
227
225
|
}, this.close = () => {
|
|
228
226
|
j.dismiss();
|
|
229
|
-
}, this.backToList = () => {
|
|
230
|
-
this.showPreview = !1, this.selectedTemplate = null;
|
|
231
227
|
};
|
|
232
228
|
}
|
|
233
229
|
connectedCallback() {
|
|
@@ -256,11 +252,9 @@ let $ = class extends A(D`
|
|
|
256
252
|
<!-- Header -->
|
|
257
253
|
<div class="flex items-center justify-between px-6 py-4 border-b border-outline-variant">
|
|
258
254
|
<div class="flex items-center gap-3">
|
|
259
|
-
<schmancy-icon size="24px" class="text-primary">
|
|
260
|
-
${this.showPreview ? "preview" : "mail"}
|
|
261
|
-
</schmancy-icon>
|
|
255
|
+
<schmancy-icon size="24px" class="text-primary">mail</schmancy-icon>
|
|
262
256
|
<schmancy-typography type="headline" token="md">
|
|
263
|
-
|
|
257
|
+
Choose Email Template
|
|
264
258
|
</schmancy-typography>
|
|
265
259
|
</div>
|
|
266
260
|
<schmancy-button
|
|
@@ -274,39 +268,7 @@ let $ = class extends A(D`
|
|
|
274
268
|
|
|
275
269
|
<!-- Body -->
|
|
276
270
|
<div class="flex-1 flex flex-col overflow-hidden">
|
|
277
|
-
${
|
|
278
|
-
</div>
|
|
279
|
-
|
|
280
|
-
<!-- Footer -->
|
|
281
|
-
<div class="flex justify-between px-6 py-4 border-t border-outline-variant bg-surface-containerLow">
|
|
282
|
-
${h(this.showPreview, () => c`
|
|
283
|
-
<schmancy-button
|
|
284
|
-
variant="outlined"
|
|
285
|
-
@click=${this.backToList}
|
|
286
|
-
class="px-6 py-3"
|
|
287
|
-
>
|
|
288
|
-
<schmancy-icon slot="prefix">arrow_back</schmancy-icon>
|
|
289
|
-
Back to Templates
|
|
290
|
-
</schmancy-button>
|
|
291
|
-
<schmancy-button
|
|
292
|
-
variant="filled"
|
|
293
|
-
@click=${this.confirmSelection}
|
|
294
|
-
class="px-8 py-3 bg-primary text-primary-on shadow-md hover:shadow-lg transition-shadow"
|
|
295
|
-
>
|
|
296
|
-
<schmancy-icon slot="prefix">check_circle</schmancy-icon>
|
|
297
|
-
Use This Template
|
|
298
|
-
</schmancy-button>
|
|
299
|
-
`, () => c`
|
|
300
|
-
<div class="flex gap-3">
|
|
301
|
-
<schmancy-button
|
|
302
|
-
variant="text"
|
|
303
|
-
@click=${this.close}
|
|
304
|
-
class="px-6 py-3"
|
|
305
|
-
>
|
|
306
|
-
Cancel
|
|
307
|
-
</schmancy-button>
|
|
308
|
-
</div>
|
|
309
|
-
`)}
|
|
271
|
+
${this.renderTemplateList()}
|
|
310
272
|
</div>
|
|
311
273
|
</div>
|
|
312
274
|
`;
|
|
@@ -319,13 +281,13 @@ let $ = class extends A(D`
|
|
|
319
281
|
<!-- Search Input -->
|
|
320
282
|
<schmancy-input
|
|
321
283
|
type="search"
|
|
322
|
-
placeholder="Search templates
|
|
284
|
+
placeholder="Search templates..."
|
|
323
285
|
.value=${this.searchQuery}
|
|
324
286
|
@input=${this.handleSearch}
|
|
325
287
|
class="w-full"
|
|
326
288
|
>
|
|
327
289
|
<schmancy-icon slot="prefix" size="20px" class="text-surface-onVariant">search</schmancy-icon>
|
|
328
|
-
${
|
|
290
|
+
${d(this.searchQuery, () => c`
|
|
329
291
|
<schmancy-button
|
|
330
292
|
slot="suffix"
|
|
331
293
|
variant="text"
|
|
@@ -340,7 +302,7 @@ let $ = class extends A(D`
|
|
|
340
302
|
</schmancy-input>
|
|
341
303
|
|
|
342
304
|
<!-- Category Filter -->
|
|
343
|
-
${
|
|
305
|
+
${d(this.categories.length > 1, () => c`
|
|
344
306
|
<div class="flex gap-2 flex-wrap">
|
|
345
307
|
${I(this.categories, (e) => e, (e) => c`
|
|
346
308
|
<schmancy-chip
|
|
@@ -355,62 +317,50 @@ let $ = class extends A(D`
|
|
|
355
317
|
</div>
|
|
356
318
|
</div>
|
|
357
319
|
|
|
358
|
-
<!-- Template List -->
|
|
320
|
+
<!-- Template List with Previews -->
|
|
359
321
|
<div class="flex-1 overflow-y-auto px-6 py-6">
|
|
360
|
-
${
|
|
361
|
-
<div class="space-y-
|
|
322
|
+
${d(this.filteredTemplates.length > 0, () => c`
|
|
323
|
+
<div class="space-y-6">
|
|
362
324
|
${I(this.filteredTemplates, (e) => e.id, (e) => c`
|
|
363
325
|
<schmancy-surface
|
|
364
326
|
type="containerLow"
|
|
365
327
|
elevation="1"
|
|
366
328
|
rounded="all"
|
|
367
|
-
class="group cursor-pointer hover:elevation-3 transition-all duration-200
|
|
329
|
+
class="group cursor-pointer hover:elevation-3 transition-all duration-200 overflow-hidden"
|
|
368
330
|
@click=${() => this.selectTemplate(e)}
|
|
369
331
|
>
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
<div class="flex
|
|
374
|
-
<schmancy-typography type="title" token="md" class="font-semibold leading-tight">
|
|
332
|
+
<!-- Template Header -->
|
|
333
|
+
<div class="p-4 border-b border-outline-variant">
|
|
334
|
+
<div class="flex items-start justify-between">
|
|
335
|
+
<div class="flex-1">
|
|
336
|
+
<schmancy-typography type="title" token="md" class="font-semibold leading-tight mb-1">
|
|
375
337
|
${e.name}
|
|
376
338
|
</schmancy-typography>
|
|
377
|
-
${
|
|
378
|
-
<schmancy-chip class="bg-primary text-primary-on text-xs">
|
|
379
|
-
<schmancy-icon slot="prefix" size="12px">star</schmancy-icon>
|
|
380
|
-
Default
|
|
381
|
-
</schmancy-chip>
|
|
382
|
-
`)}
|
|
383
|
-
</div>
|
|
384
|
-
|
|
385
|
-
<!-- Category Badge -->
|
|
386
|
-
${h(e.category, () => c`
|
|
387
|
-
<div class="mb-2">
|
|
339
|
+
${d(e.category, () => c`
|
|
388
340
|
<schmancy-chip class="text-xs border border-outline">
|
|
389
341
|
${e.category}
|
|
390
342
|
</schmancy-chip>
|
|
391
|
-
</div>
|
|
392
|
-
`)}
|
|
393
|
-
|
|
394
|
-
<!-- Description -->
|
|
395
|
-
${h(e.description, () => c`
|
|
396
|
-
<schmancy-typography type="body" token="sm" class="text-surface-onVariant leading-relaxed">
|
|
397
|
-
${e.description}
|
|
398
|
-
</schmancy-typography>
|
|
399
|
-
`, () => c`
|
|
400
|
-
<schmancy-typography type="body" token="sm" class="text-surface-onVariant opacity-60 italic">
|
|
401
|
-
No description available
|
|
402
|
-
</schmancy-typography>
|
|
403
343
|
`)}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
344
|
+
</div>
|
|
345
|
+
<schmancy-button
|
|
346
|
+
variant="filled"
|
|
347
|
+
size="sm"
|
|
348
|
+
class="opacity-0 group-hover:opacity-100 transition-opacity"
|
|
349
|
+
>
|
|
350
|
+
Use This
|
|
411
351
|
</schmancy-button>
|
|
412
352
|
</div>
|
|
413
353
|
</div>
|
|
354
|
+
|
|
355
|
+
<!-- Email Preview -->
|
|
356
|
+
<div class="p-4 bg-surface">
|
|
357
|
+
<schmancy-email-viewer
|
|
358
|
+
subject=${e.subject}
|
|
359
|
+
body=${e.body}
|
|
360
|
+
mode="desktop"
|
|
361
|
+
class="max-h-96 overflow-y-auto"
|
|
362
|
+
></schmancy-email-viewer>
|
|
363
|
+
</div>
|
|
414
364
|
</schmancy-surface>
|
|
415
365
|
`)}
|
|
416
366
|
</div>
|
|
@@ -425,9 +375,9 @@ let $ = class extends A(D`
|
|
|
425
375
|
<schmancy-typography type="body" token="md" class="text-surface-onVariant mb-6 max-w-md">
|
|
426
376
|
${this.searchQuery ? `No templates match your search for "${this.searchQuery}"` : this.selectedCategory !== "all" ? `No templates found in the "${this.selectedCategory}" category` : "Start by creating your first email template"}
|
|
427
377
|
</schmancy-typography>
|
|
428
|
-
${
|
|
378
|
+
${d(this.searchQuery || this.selectedCategory !== "all", () => c`
|
|
429
379
|
<div class="flex gap-3">
|
|
430
|
-
${
|
|
380
|
+
${d(this.searchQuery, () => c`
|
|
431
381
|
<schmancy-button
|
|
432
382
|
variant="outlined"
|
|
433
383
|
@click=${() => {
|
|
@@ -438,7 +388,7 @@ let $ = class extends A(D`
|
|
|
438
388
|
Clear Search
|
|
439
389
|
</schmancy-button>
|
|
440
390
|
`)}
|
|
441
|
-
${
|
|
391
|
+
${d(this.selectedCategory !== "all", () => c`
|
|
442
392
|
<schmancy-button
|
|
443
393
|
variant="filled"
|
|
444
394
|
@click=${() => this.handleCategorySelect("all")}
|
|
@@ -454,109 +404,11 @@ let $ = class extends A(D`
|
|
|
454
404
|
</div>
|
|
455
405
|
`;
|
|
456
406
|
}
|
|
457
|
-
renderPreview() {
|
|
458
|
-
return this.selectedTemplate ? c`
|
|
459
|
-
<div class="flex-1 overflow-y-auto">
|
|
460
|
-
<!-- Template Header Section -->
|
|
461
|
-
<div class="px-6 py-6 border-b border-outline-variant bg-surface-containerLow">
|
|
462
|
-
<div class="flex items-start gap-6">
|
|
463
|
-
<!-- Template Thumbnail -->
|
|
464
|
-
${h(this.selectedTemplate.thumbnail, () => c`
|
|
465
|
-
<div class="flex-shrink-0">
|
|
466
|
-
<schmancy-surface elevation="2" rounded="all" class="overflow-hidden w-32 h-24">
|
|
467
|
-
<img
|
|
468
|
-
src=${this.selectedTemplate.thumbnail}
|
|
469
|
-
alt=${this.selectedTemplate.name}
|
|
470
|
-
class="w-full h-full object-cover"
|
|
471
|
-
/>
|
|
472
|
-
</schmancy-surface>
|
|
473
|
-
</div>
|
|
474
|
-
`, () => c`
|
|
475
|
-
<div class="flex-shrink-0">
|
|
476
|
-
<schmancy-surface elevation="1" rounded="all" class="w-32 h-24 bg-gradient-to-br from-surface-container to-surface-containerLow flex items-center justify-center">
|
|
477
|
-
<schmancy-icon size="32px" class="text-surface-onVariant opacity-40">mail</schmancy-icon>
|
|
478
|
-
</schmancy-surface>
|
|
479
|
-
</div>
|
|
480
|
-
`)}
|
|
481
|
-
|
|
482
|
-
<!-- Template Info -->
|
|
483
|
-
<div class="flex-1">
|
|
484
|
-
<div class="flex items-start justify-between mb-3">
|
|
485
|
-
<schmancy-typography type="headline" token="lg" class="font-semibold">
|
|
486
|
-
${this.selectedTemplate.name}
|
|
487
|
-
</schmancy-typography>
|
|
488
|
-
${h(this.selectedTemplate.isDefault, () => c`
|
|
489
|
-
<schmancy-chip class="bg-primary text-primary-on">
|
|
490
|
-
<schmancy-icon slot="prefix" size="12px">star</schmancy-icon>
|
|
491
|
-
Default
|
|
492
|
-
</schmancy-chip>
|
|
493
|
-
`)}
|
|
494
|
-
</div>
|
|
495
|
-
|
|
496
|
-
<div class="flex flex-wrap gap-2 mb-3">
|
|
497
|
-
${h(this.selectedTemplate.category, () => c`
|
|
498
|
-
<schmancy-chip class="border border-outline">
|
|
499
|
-
<schmancy-icon slot="prefix" size="12px">category</schmancy-icon>
|
|
500
|
-
${this.selectedTemplate.category}
|
|
501
|
-
</schmancy-chip>
|
|
502
|
-
`)}
|
|
503
|
-
${h(this.selectedTemplate.createdAt, () => c`
|
|
504
|
-
<schmancy-chip class="border border-outline">
|
|
505
|
-
<schmancy-icon slot="prefix" size="12px">schedule</schmancy-icon>
|
|
506
|
-
Created ${new Date(this.selectedTemplate.createdAt).toLocaleDateString()}
|
|
507
|
-
</schmancy-chip>
|
|
508
|
-
`)}
|
|
509
|
-
</div>
|
|
510
|
-
|
|
511
|
-
${h(this.selectedTemplate.description, () => c`
|
|
512
|
-
<schmancy-typography type="body" token="md" class="text-surface-onVariant leading-relaxed">
|
|
513
|
-
${this.selectedTemplate.description}
|
|
514
|
-
</schmancy-typography>
|
|
515
|
-
`)}
|
|
516
|
-
</div>
|
|
517
|
-
</div>
|
|
518
|
-
</div>
|
|
519
|
-
|
|
520
|
-
<!-- Template Content -->
|
|
521
|
-
<div class="px-6 py-6 space-y-8">
|
|
522
|
-
<!-- Subject Preview -->
|
|
523
|
-
<div>
|
|
524
|
-
<div class="flex items-center gap-2 mb-4">
|
|
525
|
-
<schmancy-icon size="20px" class="text-primary">subject</schmancy-icon>
|
|
526
|
-
<schmancy-typography type="title" token="md" class="text-primary">
|
|
527
|
-
Subject Line
|
|
528
|
-
</schmancy-typography>
|
|
529
|
-
</div>
|
|
530
|
-
<schmancy-surface elevation="1" type="surface" class="p-4 border-l-4 border-primary">
|
|
531
|
-
<schmancy-typography type="body" token="md" class="font-medium">
|
|
532
|
-
${this.selectedTemplate.subject}
|
|
533
|
-
</schmancy-typography>
|
|
534
|
-
</schmancy-surface>
|
|
535
|
-
</div>
|
|
536
|
-
|
|
537
|
-
<!-- Body Preview -->
|
|
538
|
-
<div>
|
|
539
|
-
<div class="flex items-center gap-2 mb-4">
|
|
540
|
-
<schmancy-icon size="20px" class="text-primary">article</schmancy-icon>
|
|
541
|
-
<schmancy-typography type="title" token="md" class="text-primary">
|
|
542
|
-
Email Preview
|
|
543
|
-
</schmancy-typography>
|
|
544
|
-
</div>
|
|
545
|
-
<schmancy-email-viewer
|
|
546
|
-
subject=${this.selectedTemplate.subject}
|
|
547
|
-
body=${this.selectedTemplate.body}
|
|
548
|
-
mode="desktop"
|
|
549
|
-
></schmancy-email-viewer>
|
|
550
|
-
</div>
|
|
551
|
-
</div>
|
|
552
|
-
</div>
|
|
553
|
-
` : null;
|
|
554
|
-
}
|
|
555
407
|
};
|
|
556
|
-
|
|
557
|
-
var
|
|
558
|
-
for (var a, n = i > 1 ? void 0 : i ?
|
|
559
|
-
return i && n &&
|
|
408
|
+
R([h({ type: Array })], k.prototype, "templates", 2), R([y()], k.prototype, "searchQuery", 2), R([y()], k.prototype, "filteredTemplates", 2), R([y()], k.prototype, "selectedCategory", 2), k = R([C("schmancy-email-template-picker")], k);
|
|
409
|
+
var U = Object.defineProperty, V = Object.getOwnPropertyDescriptor, x = (e, t, s, i) => {
|
|
410
|
+
for (var a, n = i > 1 ? void 0 : i ? V(t, s) : t, r = e.length - 1; r >= 0; r--) (a = e[r]) && (n = (i ? a(t, s, n) : a(n)) || n);
|
|
411
|
+
return i && n && U(t, s, n), n;
|
|
560
412
|
};
|
|
561
413
|
let b = class extends A(D`
|
|
562
414
|
:host {
|
|
@@ -598,7 +450,7 @@ let b = class extends A(D`
|
|
|
598
450
|
></schmancy-email-layout-selector>
|
|
599
451
|
`);
|
|
600
452
|
}, this.openTemplatePicker = () => {
|
|
601
|
-
const e = new
|
|
453
|
+
const e = new k();
|
|
602
454
|
e.templates = this.templates, e.addEventListener("template-selected", this.handleTemplateSelected), j.open({ component: e, title: "Choose Email Template" });
|
|
603
455
|
}, this.handleTemplateSelected = (e) => {
|
|
604
456
|
const t = e.detail;
|
|
@@ -729,8 +581,8 @@ Your primary content goes here. This area takes up most of the width while the s
|
|
|
729
581
|
this.body = l, this.dispatchChange(), this.updateComplete.then(() => {
|
|
730
582
|
const p = this.bodyTextAreaRef.value?.shadowRoot?.querySelector("textarea");
|
|
731
583
|
if (p) {
|
|
732
|
-
const
|
|
733
|
-
p.setSelectionRange(
|
|
584
|
+
const S = r + n.length;
|
|
585
|
+
p.setSelectionRange(S, S), p.focus();
|
|
734
586
|
}
|
|
735
587
|
});
|
|
736
588
|
}, this.handleFileChange = (e) => {
|
|
@@ -1102,7 +954,7 @@ The Fulfillment Team` }];
|
|
|
1102
954
|
?disabled=${this.disabled || this.isUploading}
|
|
1103
955
|
@click=${() => this.imageInputRef.value?.click()}
|
|
1104
956
|
>
|
|
1105
|
-
${
|
|
957
|
+
${d(this.isUploading, () => c`<schmancy-progress size="sm" class="w-4 h-4"></schmancy-progress>`, () => c`<schmancy-icon>image</schmancy-icon>`)}
|
|
1106
958
|
</schmancy-icon-button>
|
|
1107
959
|
<schmancy-icon-button
|
|
1108
960
|
size="sm"
|
|
@@ -1147,7 +999,7 @@ Tab key inserts 2 spaces for better formatting."
|
|
|
1147
999
|
></schmancy-textarea>
|
|
1148
1000
|
|
|
1149
1001
|
<!-- Upload Progress Overlay -->
|
|
1150
|
-
${
|
|
1002
|
+
${d(this.isUploading, () => c`
|
|
1151
1003
|
<div class="absolute top-3 right-3 z-10">
|
|
1152
1004
|
<schmancy-surface type="container" rounded="all" class="p-2">
|
|
1153
1005
|
<div class="flex items-center gap-2">
|
|
@@ -1169,7 +1021,7 @@ Tab key inserts 2 spaces for better formatting."
|
|
|
1169
1021
|
</div>
|
|
1170
1022
|
|
|
1171
1023
|
<!-- Attachments Display (if any) -->
|
|
1172
|
-
${
|
|
1024
|
+
${d(this.attachments.length > 0, () => c`
|
|
1173
1025
|
<div class="space-y-2">
|
|
1174
1026
|
<schmancy-typography type="label" token="sm" class="flex items-center gap-2">
|
|
1175
1027
|
<schmancy-icon size="16px">attach_file</schmancy-icon>
|
|
@@ -1215,8 +1067,8 @@ Tab key inserts 2 spaces for better formatting."
|
|
|
1215
1067
|
`;
|
|
1216
1068
|
}
|
|
1217
1069
|
};
|
|
1218
|
-
x([
|
|
1219
|
-
var W = Object.defineProperty, N = Object.getOwnPropertyDescriptor,
|
|
1070
|
+
x([h({ type: String })], b.prototype, "subject", 2), x([h({ type: String })], b.prototype, "body", 2), x([h({ type: Boolean })], b.prototype, "disabled", 2), x([h({ type: Array })], b.prototype, "attachments", 2), x([h({ type: Object })], b.prototype, "config", 2), x([h({ type: Array })], b.prototype, "templates", 2), x([y()], b.prototype, "dragOver", 2), x([y()], b.prototype, "isUploading", 2), b = x([C("schmancy-email-editor")], b);
|
|
1071
|
+
var W = Object.defineProperty, N = Object.getOwnPropertyDescriptor, $ = (e, t, s, i) => {
|
|
1220
1072
|
for (var a, n = i > 1 ? void 0 : i ? N(t, s) : t, r = e.length - 1; r >= 0; r--) (a = e[r]) && (n = (i ? a(t, s, n) : a(n)) || n);
|
|
1221
1073
|
return i && n && W(t, s, n), n;
|
|
1222
1074
|
};
|
|
@@ -1333,8 +1185,8 @@ let w = class extends A(D`
|
|
|
1333
1185
|
let t = e;
|
|
1334
1186
|
return t = this.parseLayoutBlocks(t), t = t.replace(/:::images\s+(row|grid(?:=\d+)?)\n((?:!\[.*?\]\(.*?\)(?:\{.*?\})?\s*\n?)*?):::/g, "[Multiple Images - View in web browser]"), t = t.replace(/!\[([^\]]*)\]\(([^)]+)\)(?:\{([^}]+)\})?/g, (s, i, a, n) => {
|
|
1335
1187
|
const r = this.parseImageAttributes(n), { imgStyle: o, imgWidth: l, imgHeight: p } = this.generateImageStyles(r, !1);
|
|
1336
|
-
let
|
|
1337
|
-
return l && (
|
|
1188
|
+
let S = `<img src="${a}" alt="${i || "Image"}" style="${o}" border="0"`;
|
|
1189
|
+
return l && (S += ` width="${l}"`), p && (S += ` height="${p}"`), S += ">", `<table cellpadding="0" cellspacing="0" border="0" style="margin: 16px 0;"><tr><td>${S}</td></tr></table>`;
|
|
1338
1190
|
}), t = t.replace(/\n\n/g, '</p><p style="margin: 0 0 16px 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.6; color: #333333;">').replace(/\n/g, "<br>").replace(/\*\*(.*?)\*\*/g, '<strong style="font-weight: bold;">$1</strong>').replace(/\*(.*?)\*/g, '<em style="font-style: italic;">$1</em>').replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2" style="color: #0066cc; text-decoration: underline;">$1</a>').replace(/^# (.*$)/gim, '<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin: 24px 0 16px 0;"><tr><td><h1 style="margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #1a1a1a;">$1</h1></td></tr></table>').replace(/^\* (.*$)/gim, '<li style="margin: 4px 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333333;">$1</li>').replace(/^\d+\. (.*$)/gim, '<li style="margin: 4px 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #333333;">$1</li>').replace(/^---$/gim, '<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin: 24px 0;"><tr><td style="border-top: 1px solid #e0e0e0; height: 1px; line-height: 1px;"> </td></tr></table>'), t = t.replace(/(<li[^>]*>.*?<\/li>(?:\s*<li[^>]*>.*?<\/li>)*)/gs, (s) => {
|
|
1339
1191
|
const i = /^\d+\./.test(s.replace(/<[^>]*>/g, "")), a = i ? "ol" : "ul";
|
|
1340
1192
|
return `<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><${a} style="margin: 16px 0; padding: 0 0 0 20px; font-family: Arial, Helvetica, sans-serif;">${s}</${a}></td></tr></table>`;
|
|
@@ -1457,8 +1309,8 @@ let w = class extends A(D`
|
|
|
1457
1309
|
|
|
1458
1310
|
<!-- Email Body Content -->
|
|
1459
1311
|
<div class="flex-1 overflow-y-auto min-h-0">
|
|
1460
|
-
${
|
|
1461
|
-
${
|
|
1312
|
+
${d(this.body, () => c`
|
|
1313
|
+
${d(this.viewMode === "html", () => c`
|
|
1462
1314
|
<div class="p-6 bg-white" style="color: #333; line-height: 1.6; font-family: system-ui, -apple-system, sans-serif; font-size: 14px;">
|
|
1463
1315
|
<div .innerHTML=${e}></div>
|
|
1464
1316
|
</div>
|
|
@@ -1484,7 +1336,7 @@ let w = class extends A(D`
|
|
|
1484
1336
|
</div>
|
|
1485
1337
|
|
|
1486
1338
|
<!-- Attachments Section -->
|
|
1487
|
-
${
|
|
1339
|
+
${d(this.attachments.length > 0, () => c`
|
|
1488
1340
|
<div class="flex-shrink-0 p-4 border-t border-outline-variant bg-surface-containerLowest">
|
|
1489
1341
|
<div class="space-y-3">
|
|
1490
1342
|
<!-- Attachments Header -->
|
|
@@ -1525,7 +1377,7 @@ let w = class extends A(D`
|
|
|
1525
1377
|
</div>
|
|
1526
1378
|
|
|
1527
1379
|
<!-- Preview Stats -->
|
|
1528
|
-
${
|
|
1380
|
+
${d(this.body, () => c`
|
|
1529
1381
|
<div class="flex-shrink-0">
|
|
1530
1382
|
<schmancy-surface type="container" rounded="all" class="p-3">
|
|
1531
1383
|
<div class="flex items-center justify-center gap-6 text-center">
|
|
@@ -1546,7 +1398,7 @@ let w = class extends A(D`
|
|
|
1546
1398
|
${this.body.trim() ? this.body.trim().split(/\s+/).length : 0}
|
|
1547
1399
|
</schmancy-typography>
|
|
1548
1400
|
</div>
|
|
1549
|
-
${
|
|
1401
|
+
${d(this.attachments.length > 0, () => c`
|
|
1550
1402
|
<div class="w-px h-8 bg-outline-variant"></div>
|
|
1551
1403
|
<div>
|
|
1552
1404
|
<schmancy-typography type="body" token="xs" class="text-surface-onVariant">
|
|
@@ -1567,7 +1419,7 @@ let w = class extends A(D`
|
|
|
1567
1419
|
`;
|
|
1568
1420
|
}
|
|
1569
1421
|
};
|
|
1570
|
-
|
|
1422
|
+
$([h({ type: String })], w.prototype, "subject", 2), $([h({ type: String })], w.prototype, "body", 2), $([h({ type: Array })], w.prototype, "attachments", 2), $([h({ type: Array })], w.prototype, "recipients", 2), $([h({ type: String })], w.prototype, "fromAddress", 2), $([h({ type: String })], w.prototype, "toAddress", 2), $([y()], w.prototype, "viewMode", 2), w = $([C("schmancy-email-viewer")], w);
|
|
1571
1423
|
var Q = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, f = (e, t, s, i) => {
|
|
1572
1424
|
for (var a, n = i > 1 ? void 0 : i ? _(t, s) : t, r = e.length - 1; r >= 0; r--) (a = e[r]) && (n = (i ? a(t, s, n) : a(n)) || n);
|
|
1573
1425
|
return i && n && Q(t, s, n), n;
|
|
@@ -1699,7 +1551,7 @@ let g = class extends A(D`
|
|
|
1699
1551
|
renderBoatLayout() {
|
|
1700
1552
|
return c`
|
|
1701
1553
|
<!-- Hidden file input for CSV import -->
|
|
1702
|
-
${
|
|
1554
|
+
${d(this.enableCsvImport, () => c`
|
|
1703
1555
|
<input
|
|
1704
1556
|
type="file"
|
|
1705
1557
|
accept=".csv"
|
|
@@ -1720,7 +1572,7 @@ let g = class extends A(D`
|
|
|
1720
1572
|
<schmancy-typography type="title" token="md" class="font-semibold">
|
|
1721
1573
|
${this.title}
|
|
1722
1574
|
</schmancy-typography>
|
|
1723
|
-
${
|
|
1575
|
+
${d(this.recipients.length > 0, () => c`
|
|
1724
1576
|
<schmancy-badge>
|
|
1725
1577
|
${this.localSelectedRecipients.size}/${this.recipients.length}
|
|
1726
1578
|
</schmancy-badge>
|
|
@@ -1746,7 +1598,7 @@ let g = class extends A(D`
|
|
|
1746
1598
|
@input=${this.handleSearchInput}
|
|
1747
1599
|
class="flex-1"
|
|
1748
1600
|
>
|
|
1749
|
-
${
|
|
1601
|
+
${d(this.searchQuery, () => c`
|
|
1750
1602
|
<schmancy-button
|
|
1751
1603
|
slot="suffix"
|
|
1752
1604
|
variant="text"
|
|
@@ -1757,7 +1609,7 @@ let g = class extends A(D`
|
|
|
1757
1609
|
`)}
|
|
1758
1610
|
</schmancy-input>
|
|
1759
1611
|
|
|
1760
|
-
${
|
|
1612
|
+
${d(this.enableCsvImport, () => c`
|
|
1761
1613
|
<schmancy-button
|
|
1762
1614
|
variant="outlined"
|
|
1763
1615
|
@click=${this.handleImportFromCSV}
|
|
@@ -1769,7 +1621,7 @@ let g = class extends A(D`
|
|
|
1769
1621
|
`)}
|
|
1770
1622
|
</div>
|
|
1771
1623
|
|
|
1772
|
-
${
|
|
1624
|
+
${d(this.recipients.length > 0, () => c`
|
|
1773
1625
|
<!-- Bulk Actions -->
|
|
1774
1626
|
<div class="px-4 pb-4">
|
|
1775
1627
|
<div class="flex items-center gap-3">
|
|
@@ -1802,7 +1654,7 @@ let g = class extends A(D`
|
|
|
1802
1654
|
|
|
1803
1655
|
<!-- Recipients List -->
|
|
1804
1656
|
<div class="flex-1 overflow-y-auto px-4 pb-4">
|
|
1805
|
-
${
|
|
1657
|
+
${d(this.filteredRecipients.length > 0, () => c`
|
|
1806
1658
|
<div class="flex flex-wrap gap-3">
|
|
1807
1659
|
${I(this.filteredRecipients, (e) => e, (e) => c`
|
|
1808
1660
|
<schmancy-button
|
|
@@ -1851,7 +1703,7 @@ let g = class extends A(D`
|
|
|
1851
1703
|
`)}
|
|
1852
1704
|
|
|
1853
1705
|
<!-- Drag Overlay -->
|
|
1854
|
-
${
|
|
1706
|
+
${d(this.dragOver && this.enableDragDrop, () => c`
|
|
1855
1707
|
<div
|
|
1856
1708
|
class="absolute inset-4 flex items-center justify-center border-2 border-dashed border-primary rounded-lg z-10"
|
|
1857
1709
|
@dragover=${(e) => {
|
|
@@ -1871,12 +1723,12 @@ let g = class extends A(D`
|
|
|
1871
1723
|
`;
|
|
1872
1724
|
}
|
|
1873
1725
|
};
|
|
1874
|
-
f([
|
|
1726
|
+
f([h({ type: Boolean })], g.prototype, "disabled", 2), f([h({ type: Array })], g.prototype, "recipients", 2), f([h({ type: Array })], g.prototype, "selectedRecipients", 2), f([h({ type: Boolean })], g.prototype, "enableCsvImport", 2), f([h({ type: Boolean })], g.prototype, "enableDragDrop", 2), f([h({ type: String })], g.prototype, "title", 2), f([h({ type: String })], g.prototype, "emptyStateTitle", 2), f([h({ type: String })], g.prototype, "emptyStateMessage", 2), f([h({ type: Object })], g.prototype, "csvParser", 2), f([y()], g.prototype, "dragOver", 2), f([y()], g.prototype, "localSelectedRecipients", 2), f([y()], g.prototype, "searchQuery", 2), f([y()], g.prototype, "filteredRecipients", 2), f([y()], g.prototype, "boatState", 2), g = f([C("schmancy-email-recipients")], g);
|
|
1875
1727
|
export {
|
|
1876
|
-
|
|
1728
|
+
m as S,
|
|
1877
1729
|
b as a,
|
|
1878
1730
|
w as b,
|
|
1879
1731
|
g as c,
|
|
1880
1732
|
z as d
|
|
1881
1733
|
};
|
|
1882
|
-
//# sourceMappingURL=email-recipients-
|
|
1734
|
+
//# sourceMappingURL=email-recipients-CpghUhQ1.js.map
|