@mhmo91/schmancy 0.4.68 → 0.4.69
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/{animated-text-DC6DoZFp.cjs → animated-text-Bm1G50ol.cjs} +2 -2
- package/dist/{animated-text-DC6DoZFp.cjs.map → animated-text-Bm1G50ol.cjs.map} +1 -1
- package/dist/{animated-text-DWROCNAc.js → animated-text-DhaihRNU.js} +3 -3
- package/dist/{animated-text-DWROCNAc.js.map → animated-text-DhaihRNU.js.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-vZfDiNZy.js → area.component-Cybfl9fo.js} +10 -10
- package/dist/{area.component-vZfDiNZy.js.map → area.component-Cybfl9fo.js.map} +1 -1
- package/dist/{area.component-tnIDc9kT.cjs → area.component-e7ccHmOi.cjs} +2 -2
- package/dist/{area.component-tnIDc9kT.cjs.map → area.component-e7ccHmOi.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-D-68OyCe.js → autocomplete-CHPr_eII.js} +3 -3
- package/dist/{autocomplete-D-68OyCe.js.map → autocomplete-CHPr_eII.js.map} +1 -1
- package/dist/{autocomplete-C5fz6X5-.cjs → autocomplete-DhRURo6G.cjs} +2 -2
- package/dist/{autocomplete-C5fz6X5-.cjs.map → autocomplete-DhRURo6G.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-DbWoxALg.js → avatar-B3rxuPbq.js} +62 -61
- package/dist/{avatar-DbWoxALg.js.map → avatar-B3rxuPbq.js.map} +1 -1
- package/dist/{avatar-f1s6Rri7.cjs → avatar-BREyQJqy.cjs} +2 -2
- package/dist/{avatar-f1s6Rri7.cjs.map → avatar-BREyQJqy.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DA_B_UOn.js → boat-Ch2Dn8n_.js} +2 -2
- package/dist/{boat-DA_B_UOn.js.map → boat-Ch2Dn8n_.js.map} +1 -1
- package/dist/{boat-DeMH4PII.cjs → boat-IQenN8zy.cjs} +2 -2
- package/dist/{boat-DeMH4PII.cjs.map → boat-IQenN8zy.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-iwkV_VZd.js → checkbox-DTtOgNWH.js} +2 -2
- package/dist/{checkbox-iwkV_VZd.js.map → checkbox-DTtOgNWH.js.map} +1 -1
- package/dist/{checkbox-d6KUhyv1.cjs → checkbox-EV_8e4Q9.cjs} +2 -2
- package/dist/{checkbox-d6KUhyv1.cjs.map → checkbox-EV_8e4Q9.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-BXYlvuv1.cjs → chips-D9bYHkvu.cjs} +2 -2
- package/dist/{chips-BXYlvuv1.cjs.map → chips-D9bYHkvu.cjs.map} +1 -1
- package/dist/{chips--CHI-PBC.js → chips-xlNsY8Dl.js} +3 -3
- package/dist/{chips--CHI-PBC.js.map → chips-xlNsY8Dl.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-DaI_YMOB.cjs → code-preview-CC_QZwlB.cjs} +2 -2
- package/dist/{code-preview-DaI_YMOB.cjs.map → code-preview-CC_QZwlB.cjs.map} +1 -1
- package/dist/{code-preview-CLWEbiLF.js → code-preview-Dy4fNmOI.js} +2 -2
- package/dist/{code-preview-CLWEbiLF.js.map → code-preview-Dy4fNmOI.js.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-lT3ch0CJ.js → date-range-CEhn7Gvg.js} +4 -4
- package/dist/{date-range-lT3ch0CJ.js.map → date-range-CEhn7Gvg.js.map} +1 -1
- package/dist/{date-range-CHWNwZmy.cjs → date-range-XTs2K2Rp.cjs} +2 -2
- package/dist/{date-range-CHWNwZmy.cjs.map → date-range-XTs2K2Rp.cjs.map} +1 -1
- package/dist/{date-range-inline-eCsAJVSI.cjs → date-range-inline-BW6v6aDq.cjs} +2 -2
- package/dist/{date-range-inline-eCsAJVSI.cjs.map → date-range-inline-BW6v6aDq.cjs.map} +1 -1
- package/dist/{date-range-inline-BrblUJWk.js → date-range-inline-D-F8YwDL.js} +3 -3
- package/dist/{date-range-inline-BrblUJWk.js.map → date-range-inline-D-F8YwDL.js.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-CN1qSEKQ.cjs → delay-BYwpzSYY.cjs} +2 -2
- package/dist/{delay-CN1qSEKQ.cjs.map → delay-BYwpzSYY.cjs.map} +1 -1
- package/dist/{delay-DF3m820G.js → delay-CqcMq7V3.js} +12 -12
- package/dist/{delay-DF3m820G.js.map → delay-CqcMq7V3.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-WlWNEznx.cjs → details-C9Vr2c8F.cjs} +2 -2
- package/dist/{details-WlWNEznx.cjs.map → details-C9Vr2c8F.cjs.map} +1 -1
- package/dist/{details-B0TayDAR.js → details-gxjy3noS.js} +2 -2
- package/dist/{details-B0TayDAR.js.map → details-gxjy3noS.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-Bu-1wPol.js → dialog-content-CJ21oAff.js} +4 -4
- package/dist/{dialog-content-Bu-1wPol.js.map → dialog-content-CJ21oAff.js.map} +1 -1
- package/dist/{dialog-content-DxSr-3n2.cjs → dialog-content-DfXB0r6A.cjs} +2 -2
- package/dist/{dialog-content-DxSr-3n2.cjs.map → dialog-content-DfXB0r6A.cjs.map} +1 -1
- package/dist/dialog-service-ClZa-7cE.cjs +2 -0
- package/dist/dialog-service-ClZa-7cE.cjs.map +1 -0
- package/dist/dialog-service-Dwnyl4Gg.js +141 -0
- package/dist/dialog-service-Dwnyl4Gg.js.map +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +2 -2
- package/dist/{divider-DMelIbAX.js → divider-Dw3OYKoH.js} +3 -3
- package/dist/{divider-DMelIbAX.js.map → divider-Dw3OYKoH.js.map} +1 -1
- package/dist/{divider-6-gngn50.cjs → divider-ZX6UG8fE.cjs} +2 -2
- package/dist/{divider-6-gngn50.cjs.map → divider-ZX6UG8fE.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-CWyaIopS.js → dropdown-content-QWlP1OxV.js} +3 -3
- package/dist/{dropdown-content-CWyaIopS.js.map → dropdown-content-QWlP1OxV.js.map} +1 -1
- package/dist/{dropdown-content-DQgspBt5.cjs → dropdown-content-ULdb1NeW.cjs} +2 -2
- package/dist/{dropdown-content-DQgspBt5.cjs.map → dropdown-content-ULdb1NeW.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/email-recipients-DQ36ickQ.js +1358 -0
- package/dist/email-recipients-DQ36ickQ.js.map +1 -0
- package/dist/email-recipients-H9HVkFvE.cjs +851 -0
- package/dist/email-recipients-H9HVkFvE.cjs.map +1 -0
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-CPva0jtS.js → flex-Cam0G_h7.js} +2 -2
- package/dist/{flex-CPva0jtS.js.map → flex-Cam0G_h7.js.map} +1 -1
- package/dist/{flex-uUxnTzlw.cjs → flex-DEiJ9fDk.cjs} +2 -2
- package/dist/{flex-uUxnTzlw.cjs.map → flex-DEiJ9fDk.cjs.map} +1 -1
- package/dist/{form-DPXb7Fad.cjs → form-B87v130C.cjs} +2 -2
- package/dist/{form-DPXb7Fad.cjs.map → form-B87v130C.cjs.map} +1 -1
- package/dist/{form-zJGrEXrf.js → form-EPO5N6pI.js} +2 -2
- package/dist/{form-zJGrEXrf.js.map → form-EPO5N6pI.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-CfRnxkkt.js → formField.mixin-B6XjIwKN.js} +2 -2
- package/dist/{formField.mixin-CfRnxkkt.js.map → formField.mixin-B6XjIwKN.js.map} +1 -1
- package/dist/{formField.mixin-DWGkWIQa.cjs → formField.mixin-Dpx2Zk8-.cjs} +2 -2
- package/dist/{formField.mixin-DWGkWIQa.cjs.map → formField.mixin-Dpx2Zk8-.cjs.map} +1 -1
- package/dist/{icon-DZYFOov6.js → icon-C6CXTo3Z.js} +2 -2
- package/dist/{icon-DZYFOov6.js.map → icon-C6CXTo3Z.js.map} +1 -1
- package/dist/{icon-YYb239jY.cjs → icon-MrlToWLJ.cjs} +2 -2
- package/dist/{icon-YYb239jY.cjs.map → icon-MrlToWLJ.cjs.map} +1 -1
- package/dist/{icon-button-Yrq8D9rB.cjs → icon-button-BwAStx3H.cjs} +2 -2
- package/dist/{icon-button-Yrq8D9rB.cjs.map → icon-button-BwAStx3H.cjs.map} +1 -1
- package/dist/{icon-button-DeFeauMH.js → icon-button-Csj8jwj8.js} +3 -3
- package/dist/{icon-button-DeFeauMH.js.map → icon-button-Csj8jwj8.js.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 +171 -165
- package/dist/index.js.map +1 -1
- package/dist/{input-BsMQq8Or.js → input-B9PDbNB9.js} +3 -3
- package/dist/{input-BsMQq8Or.js.map → input-B9PDbNB9.js.map} +1 -1
- package/dist/{input-BX4VAA8U.cjs → input-D4L413yG.cjs} +2 -2
- package/dist/{input-BX4VAA8U.cjs.map → input-D4L413yG.cjs.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-D9HxZJmG.js → list-Cdd7ht2E.js} +2 -2
- package/dist/{list-D9HxZJmG.js.map → list-Cdd7ht2E.js.map} +1 -1
- package/dist/{list-Bww4Iiey.cjs → list-DLUbjS69.cjs} +2 -2
- package/dist/{list-Bww4Iiey.cjs.map → list-DLUbjS69.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CLjCvtPx.js → litElement.mixin-BYVS1wwl.js} +2 -2
- package/dist/{litElement.mixin-CLjCvtPx.js.map → litElement.mixin-BYVS1wwl.js.map} +1 -1
- package/dist/{litElement.mixin-C98sb2sB.cjs → litElement.mixin-CbFQ2uxn.cjs} +2 -2
- package/dist/{litElement.mixin-C98sb2sB.cjs.map → litElement.mixin-CbFQ2uxn.cjs.map} +1 -1
- package/dist/mailbox.cjs +2 -0
- package/dist/mailbox.cjs.map +1 -0
- package/dist/mailbox.js +9 -0
- package/dist/mailbox.js.map +1 -0
- package/dist/{map-1mMvYo0I.js → map-DmjQ1Izx.js} +2 -2
- package/dist/{map-1mMvYo0I.js.map → map-DmjQ1Izx.js.map} +1 -1
- package/dist/{map-CZEpXVR1.cjs → map-DxUajvGo.cjs} +2 -2
- package/dist/{map-CZEpXVR1.cjs.map → map-DxUajvGo.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-Dq-o2otE.cjs → media-DCIVM-cE.cjs} +2 -2
- package/dist/{media-Dq-o2otE.cjs.map → media-DCIVM-cE.cjs.map} +1 -1
- package/dist/{media-CGPGcf2N.js → media-DPurU9FS.js} +2 -2
- package/dist/{media-CGPGcf2N.js.map → media-DPurU9FS.js.map} +1 -1
- package/dist/{menu-Bl0w5kB_.cjs → menu-CIObvZ7n.cjs} +2 -2
- package/dist/{menu-Bl0w5kB_.cjs.map → menu-CIObvZ7n.cjs.map} +1 -1
- package/dist/{menu-DrrQkRZL.js → menu-CwRGjbC-.js} +3 -3
- package/dist/{menu-DrrQkRZL.js.map → menu-CwRGjbC-.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/netlify.toml +366 -0
- package/dist/{notification-service-BE2zvE-H.cjs → notification-service-BMnjQVrQ.cjs} +2 -2
- package/dist/{notification-service-BE2zvE-H.cjs.map → notification-service-BMnjQVrQ.cjs.map} +1 -1
- package/dist/{notification-service-DNKVvHBY.js → notification-service-DypTYarw.js} +4 -4
- package/dist/{notification-service-DNKVvHBY.js.map → notification-service-DypTYarw.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-DMUxXGK4.cjs → notify-CqCSy8Ek.cjs} +2 -2
- package/dist/{notify-DMUxXGK4.cjs.map → notify-CqCSy8Ek.cjs.map} +1 -1
- package/dist/{notify-BrKEcp4z.js → notify-DUMaApt7.js} +2 -2
- package/dist/{notify-BrKEcp4z.js.map → notify-DUMaApt7.js.map} +1 -1
- package/dist/{option-CugRKlmM.cjs → option-BuN5MSy7.cjs} +2 -2
- package/dist/{option-CugRKlmM.cjs.map → option-BuN5MSy7.cjs.map} +1 -1
- package/dist/{option-Ds5MbbtW.js → option-CvjLp3CB.js} +2 -2
- package/dist/{option-Ds5MbbtW.js.map → option-CvjLp3CB.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-DagrNF-H.cjs → payment-card-form-C9VN_H07.cjs} +2 -2
- package/dist/{payment-card-form-DagrNF-H.cjs.map → payment-card-form-C9VN_H07.cjs.map} +1 -1
- package/dist/{payment-card-form-BUQze-h_.js → payment-card-form-CFDdmSH2.js} +3 -3
- package/dist/{payment-card-form-BUQze-h_.js.map → payment-card-form-CFDdmSH2.js.map} +1 -1
- package/dist/{progress-CMR28yUw.js → progress-BeOOCcPN.js} +2 -2
- package/dist/{progress-CMR28yUw.js.map → progress-BeOOCcPN.js.map} +1 -1
- package/dist/{progress-C9_S0erz.cjs → progress-C-6ieScw.cjs} +2 -2
- package/dist/{progress-C9_S0erz.cjs.map → progress-C-6ieScw.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-CdvyPFKn.cjs → radio-button-Bi4ywYhW.cjs} +2 -2
- package/dist/{radio-button-CdvyPFKn.cjs.map → radio-button-Bi4ywYhW.cjs.map} +1 -1
- package/dist/{radio-button-DKSwDv7G.js → radio-button-D6zvMVQb.js} +3 -3
- package/dist/{radio-button-DKSwDv7G.js.map → radio-button-D6zvMVQb.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-o660nlUA.js → schmancy-steps-container-CfDatUf8.js} +2 -2
- package/dist/{schmancy-steps-container-o660nlUA.js.map → schmancy-steps-container-CfDatUf8.js.map} +1 -1
- package/dist/{schmancy-steps-container-CsU-IwKt.cjs → schmancy-steps-container-i8rqaPet.cjs} +2 -2
- package/dist/{schmancy-steps-container-CsU-IwKt.cjs.map → schmancy-steps-container-i8rqaPet.cjs.map} +1 -1
- package/dist/{select-Cpxpfm_m.cjs → select-BPkJhj-o.cjs} +2 -2
- package/dist/{select-Cpxpfm_m.cjs.map → select-BPkJhj-o.cjs.map} +1 -1
- package/dist/{select-ukml9TYC.js → select-X7b74OI8.js} +3 -3
- package/dist/{select-ukml9TYC.js.map → select-X7b74OI8.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-3VDjNIQO.cjs → sheet-BBT4JQ3Z.cjs} +2 -2
- package/dist/{sheet-3VDjNIQO.cjs.map → sheet-BBT4JQ3Z.cjs.map} +1 -1
- package/dist/{sheet-C944d0EG.js → sheet-DvCIJGFo.js} +4 -4
- package/dist/{sheet-C944d0EG.js.map → sheet-DvCIJGFo.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-DVSSKagG.cjs → slider-DWO4L_qC.cjs} +2 -2
- package/dist/{slider-DVSSKagG.cjs.map → slider-DWO4L_qC.cjs.map} +1 -1
- package/dist/{slider-BhxlOVWT.js → slider-py-bz6Vv.js} +3 -3
- package/dist/{slider-BhxlOVWT.js.map → slider-py-bz6Vv.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-B4O46fTH.js → spinner-DpmMO5_E.js} +2 -2
- package/dist/{spinner-B4O46fTH.js.map → spinner-DpmMO5_E.js.map} +1 -1
- package/dist/{spinner-3kZLS7Cb.cjs → spinner-Dv1WJaIf.cjs} +2 -2
- package/dist/{spinner-3kZLS7Cb.cjs.map → spinner-Dv1WJaIf.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-BvaQlBsM.cjs → surface-Bn4-n1lT.cjs} +2 -2
- package/dist/{surface-BvaQlBsM.cjs.map → surface-Bn4-n1lT.cjs.map} +1 -1
- package/dist/{surface-C8u1VYhL.js → surface-CFNIITaq.js} +2 -2
- package/dist/{surface-C8u1VYhL.js.map → surface-CFNIITaq.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CyDat8c8.cjs → table-A_oEWQzm.cjs} +2 -2
- package/dist/{table-CyDat8c8.cjs.map → table-A_oEWQzm.cjs.map} +1 -1
- package/dist/{table-CFz1b1sP.js → table-DNUpAcQk.js} +2 -2
- package/dist/{table-CFz1b1sP.js.map → table-DNUpAcQk.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-lvrpa0sC.js → tabs-compatibility-Bxoz71f7.js} +2 -2
- package/dist/{tabs-compatibility-lvrpa0sC.js.map → tabs-compatibility-Bxoz71f7.js.map} +1 -1
- package/dist/{tabs-compatibility-BuochlXo.cjs → tabs-compatibility-DNVqDoQh.cjs} +2 -2
- package/dist/{tabs-compatibility-BuochlXo.cjs.map → tabs-compatibility-DNVqDoQh.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-BU9fMdfc.cjs +2 -0
- package/dist/{tailwind.mixin-BxmzUuoy.cjs.map → tailwind.mixin-BU9fMdfc.cjs.map} +1 -1
- package/dist/tailwind.mixin-Bpgmqass.js +43 -0
- package/dist/{tailwind.mixin-2JxfkZ8s.js.map → tailwind.mixin-Bpgmqass.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-D3TB4zVT.js → textarea-BE5TqYmx.js} +15 -12
- package/dist/textarea-BE5TqYmx.js.map +1 -0
- package/dist/{textarea-BwGtA0J3.cjs → textarea-DTlpsJ-V.cjs} +4 -4
- package/dist/textarea-DTlpsJ-V.cjs.map +1 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-Dy8-BFPF.js → theme-button-BsojGTM7.js} +2 -2
- package/dist/{theme-button-Dy8-BFPF.js.map → theme-button-BsojGTM7.js.map} +1 -1
- package/dist/{theme-button-UYtArDID.cjs → theme-button-DG8sPYM-.cjs} +2 -2
- package/dist/{theme-button-UYtArDID.cjs.map → theme-button-DG8sPYM-.cjs.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-MAXMwTCm.js → theme.component-BG4oCMuV.js} +4 -4
- package/dist/{theme.component-MAXMwTCm.js.map → theme.component-BG4oCMuV.js.map} +1 -1
- package/dist/{theme.component-CSyghlYl.cjs → theme.component-D7TpDD6q.cjs} +3 -3
- package/dist/{theme.component-CSyghlYl.cjs.map → theme.component-D7TpDD6q.cjs.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-Dw9OZuMM.js → timezone-DtsS7reI.js} +3 -3
- package/dist/{timezone-Dw9OZuMM.js.map → timezone-DtsS7reI.js.map} +1 -1
- package/dist/{timezone-TZYuQZP6.cjs → timezone-dc6VVlU0.cjs} +2 -2
- package/dist/{timezone-TZYuQZP6.cjs.map → timezone-dc6VVlU0.cjs.map} +1 -1
- package/dist/{tooltip-FihkwDY8.js → tooltip-C5C8KN_9.js} +2 -2
- package/dist/{tooltip-FihkwDY8.js.map → tooltip-C5C8KN_9.js.map} +1 -1
- package/dist/{tooltip-BBE_guBn.cjs → tooltip-CA2yHZN6.cjs} +2 -2
- package/dist/{tooltip-BBE_guBn.cjs.map → tooltip-CA2yHZN6.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-CMkehhmo.cjs → tree-D7CAcAHa.cjs} +2 -2
- package/dist/{tree-CMkehhmo.cjs.map → tree-D7CAcAHa.cjs.map} +1 -1
- package/dist/{tree-BT_APHcb.js → tree-jBMmDqPl.js} +2 -2
- package/dist/{tree-BT_APHcb.js.map → tree-jBMmDqPl.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-DGb13Ag4.cjs → typewriter-BMfjokvJ.cjs} +2 -2
- package/dist/{typewriter-DGb13Ag4.cjs.map → typewriter-BMfjokvJ.cjs.map} +1 -1
- package/dist/{typewriter-Dl1yTspy.js → typewriter-DDgmwo1Z.js} +7 -7
- package/dist/{typewriter-Dl1yTspy.js.map → typewriter-DDgmwo1Z.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-BSpj-MU6.cjs → typography-CeAzj0Al.cjs} +2 -2
- package/dist/{typography-BSpj-MU6.cjs.map → typography-CeAzj0Al.cjs.map} +1 -1
- package/dist/{typography-CardnZ_o.js → typography-D0JH1nwp.js} +2 -2
- package/dist/{typography-CardnZ_o.js.map → typography-D0JH1nwp.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/index.d.ts +1 -0
- package/types/src/mailbox/email-editor.d.ts +103 -0
- package/types/src/mailbox/email-layout-selector.d.ts +19 -0
- package/types/src/mailbox/email-recipients.d.ts +118 -0
- package/types/src/mailbox/email-viewer.d.ts +86 -0
- package/types/src/mailbox/index.d.ts +12 -0
- package/types/src/mailbox/mailbox.d.ts +82 -0
- package/types/src/mailbox/types.d.ts +174 -0
- package/types/src/textarea/textarea.d.ts +2 -2
- package/dist/dialog-service-DGfyRhia.js +0 -135
- package/dist/dialog-service-DGfyRhia.js.map +0 -1
- package/dist/dialog-service-mkcNUT8P.cjs +0 -2
- package/dist/dialog-service-mkcNUT8P.cjs.map +0 -1
- package/dist/tailwind.mixin-2JxfkZ8s.js +0 -43
- package/dist/tailwind.mixin-BxmzUuoy.cjs +0 -2
- package/dist/textarea-BwGtA0J3.cjs.map +0 -1
- package/dist/textarea-D3TB4zVT.js.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const SchmancyEmailLayoutSelector_base: import("@mixins/index").Constructor<CustomElementConstructor> & import("@mixins/index").Constructor<import("@mixins/index").ITailwindElementMixin> & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
|
|
2
|
+
/**
|
|
3
|
+
* Email layout selector component for choosing email templates
|
|
4
|
+
*
|
|
5
|
+
* Simple horizontal row of 5 layout options using Schmancy components only.
|
|
6
|
+
*
|
|
7
|
+
* @fires layout-select - When a layout is selected with {detail: {layout: string}}
|
|
8
|
+
*/
|
|
9
|
+
export declare class SchmancyEmailLayoutSelector extends SchmancyEmailLayoutSelector_base {
|
|
10
|
+
private layouts;
|
|
11
|
+
private selectLayout;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'schmancy-email-layout-selector': SchmancyEmailLayoutSelector;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CSV parser interface (optional dependency)
|
|
3
|
+
* Can be provided via global window object or imported
|
|
4
|
+
*/
|
|
5
|
+
interface CSVParser {
|
|
6
|
+
parse(csvContent: string, config: any): {
|
|
7
|
+
data: any[];
|
|
8
|
+
meta: {
|
|
9
|
+
fields?: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const SchmancyEmailRecipients_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
|
|
14
|
+
/**
|
|
15
|
+
* Email recipients management component with floating boat interface
|
|
16
|
+
*
|
|
17
|
+
* Features:
|
|
18
|
+
* - Floating boat UI that can be minimized/expanded
|
|
19
|
+
* - CSV import with drag & drop
|
|
20
|
+
* - Multiple import sources (configurable)
|
|
21
|
+
* - Bulk selection and management
|
|
22
|
+
* - Search and filtering
|
|
23
|
+
* - Email validation
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <schmancy-email-recipients
|
|
28
|
+
* .recipients=${['user1@example.com', 'user2@example.com']}
|
|
29
|
+
* @emails-imported=${handleEmailsImported}
|
|
30
|
+
* ></schmancy-email-recipients>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class SchmancyEmailRecipients extends SchmancyEmailRecipients_base {
|
|
34
|
+
/** Disable all interactions */
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
/** All available recipients */
|
|
37
|
+
recipients: string[];
|
|
38
|
+
/** Currently selected recipients */
|
|
39
|
+
selectedRecipients: string[];
|
|
40
|
+
/** Enable CSV import functionality */
|
|
41
|
+
enableCsvImport: boolean;
|
|
42
|
+
/** Enable drag and drop for files */
|
|
43
|
+
enableDragDrop: boolean;
|
|
44
|
+
/** Panel title */
|
|
45
|
+
title: string;
|
|
46
|
+
/** Empty state title */
|
|
47
|
+
emptyStateTitle: string;
|
|
48
|
+
/** Empty state message */
|
|
49
|
+
emptyStateMessage: string;
|
|
50
|
+
/** CSV parser function (optional) */
|
|
51
|
+
csvParser?: CSVParser;
|
|
52
|
+
/** Internal state */
|
|
53
|
+
private dragOver;
|
|
54
|
+
private localSelectedRecipients;
|
|
55
|
+
private searchQuery;
|
|
56
|
+
private filteredRecipients;
|
|
57
|
+
private boatState;
|
|
58
|
+
/** File input reference */
|
|
59
|
+
private fileInputRef;
|
|
60
|
+
connectedCallback(): void;
|
|
61
|
+
private handleEmailsImported;
|
|
62
|
+
updated(changedProperties: Map<string, any>): void;
|
|
63
|
+
/** Handle CSV import trigger */
|
|
64
|
+
private handleImportFromCSV;
|
|
65
|
+
/** Handle file selection */
|
|
66
|
+
private handleFileSelect;
|
|
67
|
+
/** Handle drag and drop */
|
|
68
|
+
private handleDrop;
|
|
69
|
+
/** Process CSV file */
|
|
70
|
+
private processCSVFile;
|
|
71
|
+
/** Parse CSV content */
|
|
72
|
+
private parseCSV;
|
|
73
|
+
/** Simple CSV parsing fallback */
|
|
74
|
+
private simpleCSVParse;
|
|
75
|
+
/** Validate email format */
|
|
76
|
+
private isValidEmail;
|
|
77
|
+
/** Toggle recipient selection */
|
|
78
|
+
private toggleRecipientSelection;
|
|
79
|
+
/** Select all filtered recipients */
|
|
80
|
+
private selectAll;
|
|
81
|
+
/** Clear all selections */
|
|
82
|
+
private selectNone;
|
|
83
|
+
/** Remove individual recipient */
|
|
84
|
+
private removeRecipient;
|
|
85
|
+
/** Clear all recipients */
|
|
86
|
+
private clearAll;
|
|
87
|
+
/** Update filtered recipients based on search */
|
|
88
|
+
private updateFilteredRecipients;
|
|
89
|
+
/** Handle search input */
|
|
90
|
+
private handleSearchInput;
|
|
91
|
+
/** Clear search query */
|
|
92
|
+
private clearSearch;
|
|
93
|
+
/** Dispatch selection change event */
|
|
94
|
+
private dispatchSelectionChange;
|
|
95
|
+
/** Handle boat state changes */
|
|
96
|
+
private handleBoatStateChange;
|
|
97
|
+
/** Add recipients programmatically */
|
|
98
|
+
addRecipients(emails: string[]): void;
|
|
99
|
+
/** Show boat */
|
|
100
|
+
showBoat(): void;
|
|
101
|
+
/** Hide boat */
|
|
102
|
+
hideBoat(): void;
|
|
103
|
+
/** Expand boat */
|
|
104
|
+
expandBoat(): void;
|
|
105
|
+
/** Toggle boat state */
|
|
106
|
+
toggleBoat(): void;
|
|
107
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
108
|
+
/** Render floating boat layout */
|
|
109
|
+
private renderBoatLayout;
|
|
110
|
+
/** Render boat content */
|
|
111
|
+
private renderBoatContent;
|
|
112
|
+
}
|
|
113
|
+
declare global {
|
|
114
|
+
interface HTMLElementTagNameMap {
|
|
115
|
+
'schmancy-email-recipients': SchmancyEmailRecipients;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { EmailAttachment } from './types';
|
|
2
|
+
declare const SchmancyEmailViewer_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
|
|
3
|
+
/**
|
|
4
|
+
* Email viewer component showing formatted HTML and plain text versions
|
|
5
|
+
*
|
|
6
|
+
* Features:
|
|
7
|
+
* - HTML and plain text preview modes
|
|
8
|
+
* - Email client-compatible styling
|
|
9
|
+
* - Layout parsing (columns, sidebars, image rows)
|
|
10
|
+
* - Markdown to HTML conversion
|
|
11
|
+
* - Attachment display
|
|
12
|
+
* - Email header simulation
|
|
13
|
+
* - Character/word statistics
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <schmancy-email-viewer
|
|
18
|
+
* subject="Welcome!"
|
|
19
|
+
* body="**Hello** world"
|
|
20
|
+
* .attachments=${attachments}
|
|
21
|
+
* .recipients=${['user@example.com']}
|
|
22
|
+
* ></schmancy-email-viewer>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class SchmancyEmailViewer extends SchmancyEmailViewer_base {
|
|
26
|
+
/** Email subject */
|
|
27
|
+
subject: string;
|
|
28
|
+
/** Email body content (markdown) */
|
|
29
|
+
body: string;
|
|
30
|
+
/** Email attachments */
|
|
31
|
+
attachments: EmailAttachment[];
|
|
32
|
+
/** Selected recipients for preview */
|
|
33
|
+
recipients: string[];
|
|
34
|
+
/** From address for preview */
|
|
35
|
+
fromAddress: string;
|
|
36
|
+
/** To address for preview (uses first recipient if not provided) */
|
|
37
|
+
toAddress: string;
|
|
38
|
+
/** Current view mode */
|
|
39
|
+
private viewMode;
|
|
40
|
+
/**
|
|
41
|
+
* Parse layout blocks (:::layout type) and convert to email-safe table layouts
|
|
42
|
+
*/
|
|
43
|
+
private parseLayoutBlocks;
|
|
44
|
+
/**
|
|
45
|
+
* Parse columns layout (2 or 3 columns)
|
|
46
|
+
*/
|
|
47
|
+
private parseColumnsLayout;
|
|
48
|
+
/**
|
|
49
|
+
* Parse sidebar layout (left or right sidebar)
|
|
50
|
+
*/
|
|
51
|
+
private parseSidebarLayout;
|
|
52
|
+
/**
|
|
53
|
+
* Parse image row layout
|
|
54
|
+
*/
|
|
55
|
+
private parseImageRowLayout;
|
|
56
|
+
/**
|
|
57
|
+
* Parse image attributes from markdown syntax
|
|
58
|
+
*/
|
|
59
|
+
private parseImageAttributes;
|
|
60
|
+
/**
|
|
61
|
+
* Generate email-safe image styles based on attributes
|
|
62
|
+
*/
|
|
63
|
+
private generateImageStyles;
|
|
64
|
+
/**
|
|
65
|
+
* Parse basic markdown within layout content (simplified version)
|
|
66
|
+
*/
|
|
67
|
+
private parseBasicMarkdown;
|
|
68
|
+
/**
|
|
69
|
+
* Email-compliant HTML generator for email clients (Gmail, Outlook, Apple Mail)
|
|
70
|
+
* Uses table-based layouts with inline styles only - no CSS classes or modern features
|
|
71
|
+
*/
|
|
72
|
+
private parseExtendedMarkdown;
|
|
73
|
+
/**
|
|
74
|
+
* Convert markdown to plain text for plain text preview
|
|
75
|
+
*/
|
|
76
|
+
private convertToPlainText;
|
|
77
|
+
/** Format file size for display */
|
|
78
|
+
private formatFileSize;
|
|
79
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
80
|
+
}
|
|
81
|
+
declare global {
|
|
82
|
+
interface HTMLElementTagNameMap {
|
|
83
|
+
'schmancy-email-viewer': SchmancyEmailViewer;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schmancy Mailbox Components
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive email composition and management system
|
|
5
|
+
*/
|
|
6
|
+
export * from './types';
|
|
7
|
+
export { SchmancyMailbox } from './mailbox';
|
|
8
|
+
export { SchmancyEmailEditor } from './email-editor';
|
|
9
|
+
export { SchmancyEmailViewer } from './email-viewer';
|
|
10
|
+
export { SchmancyEmailRecipients } from './email-recipients';
|
|
11
|
+
export { SchmancyEmailLayoutSelector } from './email-layout-selector';
|
|
12
|
+
export type { EmailTemplate, EmailAttachment, EmailComposeConfig, SendEmailRequest, SendEmailResponse, ImportSource, EmailCampaign, EmailRecipient, MailboxState, CurrentComposeState, BoatState, EmailPreviewMode } from './types';
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { EmailTemplate, EmailComposeConfig, ImportSource } from './types';
|
|
2
|
+
declare const SchmancyMailbox_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
|
|
3
|
+
/**
|
|
4
|
+
* Main mailbox component that orchestrates the entire email composition flow
|
|
5
|
+
*
|
|
6
|
+
* Features:
|
|
7
|
+
* - Responsive layout with composer and preview panels
|
|
8
|
+
* - Recipients management with floating boat interface
|
|
9
|
+
* - Template selection and content editing
|
|
10
|
+
* - Attachment handling
|
|
11
|
+
* - Email validation and sending
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <schmancy-mailbox
|
|
16
|
+
* .config=${{ sendEndpoint: '/api/send-email' }}
|
|
17
|
+
* .templates=${emailTemplates}
|
|
18
|
+
* .importSources=${recipientSources}
|
|
19
|
+
* ></schmancy-mailbox>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare class SchmancyMailbox extends SchmancyMailbox_base {
|
|
23
|
+
/** Configuration for endpoints and handlers */
|
|
24
|
+
config: EmailComposeConfig;
|
|
25
|
+
/** Available email templates */
|
|
26
|
+
templates: EmailTemplate[];
|
|
27
|
+
/** Import sources for recipients panel */
|
|
28
|
+
importSources: ImportSource[];
|
|
29
|
+
/** Disable all interactions */
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
/** Recipients panel title */
|
|
32
|
+
recipientsTitle: string;
|
|
33
|
+
/** Empty state title for recipients */
|
|
34
|
+
recipientsEmptyTitle: string;
|
|
35
|
+
/** Empty state message for recipients */
|
|
36
|
+
recipientsEmptyMessage: string;
|
|
37
|
+
/** Enable CSV import functionality */
|
|
38
|
+
enableCsvImport: boolean;
|
|
39
|
+
/** Enable drag and drop for files */
|
|
40
|
+
enableDragDrop: boolean;
|
|
41
|
+
/** Email composition state */
|
|
42
|
+
private recipients;
|
|
43
|
+
private selectedRecipients;
|
|
44
|
+
private subject;
|
|
45
|
+
private body;
|
|
46
|
+
private templateId;
|
|
47
|
+
private attachments;
|
|
48
|
+
private isSending;
|
|
49
|
+
connectedCallback(): void;
|
|
50
|
+
updated(changedProperties: Map<string, any>): void;
|
|
51
|
+
/** Handle emails imported from various sources */
|
|
52
|
+
private handleEmailsImported;
|
|
53
|
+
/** Handle individual recipient removal */
|
|
54
|
+
private handleRecipientRemoved;
|
|
55
|
+
/** Handle clearing all recipients */
|
|
56
|
+
private handleRecipientsCleared;
|
|
57
|
+
/** Handle recipient selection changes */
|
|
58
|
+
private handleSelectionChanged;
|
|
59
|
+
/** Handle composer content changes */
|
|
60
|
+
private handleEditorChange;
|
|
61
|
+
/** Handle email sending */
|
|
62
|
+
private handleSend;
|
|
63
|
+
/** Add recipients programmatically */
|
|
64
|
+
addRecipients(emails: string[]): void;
|
|
65
|
+
/** Set email subject */
|
|
66
|
+
setSubject(subject: string): void;
|
|
67
|
+
/** Set email body */
|
|
68
|
+
setBody(body: string): void;
|
|
69
|
+
/** Set selected template */
|
|
70
|
+
setTemplate(templateId: string | null): void;
|
|
71
|
+
/** Clear all compose data */
|
|
72
|
+
clearCompose(): void;
|
|
73
|
+
/** Set sending state */
|
|
74
|
+
setSending(sending: boolean): void;
|
|
75
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
76
|
+
}
|
|
77
|
+
declare global {
|
|
78
|
+
interface HTMLElementTagNameMap {
|
|
79
|
+
'schmancy-mailbox': SchmancyMailbox;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export {};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mailbox component types and interfaces
|
|
3
|
+
* Extracted from funkhaus-events and generalized for reusability
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Email template definition
|
|
7
|
+
*/
|
|
8
|
+
export interface EmailTemplate {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
subject: string;
|
|
12
|
+
body: string;
|
|
13
|
+
isDefault?: boolean;
|
|
14
|
+
createdAt?: Date | string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Email attachment definition
|
|
18
|
+
*/
|
|
19
|
+
export interface EmailAttachment {
|
|
20
|
+
id: string;
|
|
21
|
+
file: File;
|
|
22
|
+
name: string;
|
|
23
|
+
size: number;
|
|
24
|
+
type: string;
|
|
25
|
+
url?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Configuration for email composer component
|
|
29
|
+
*/
|
|
30
|
+
export interface EmailComposeConfig {
|
|
31
|
+
/** Endpoint for sending emails */
|
|
32
|
+
sendEndpoint?: string;
|
|
33
|
+
/** Endpoint for fetching templates */
|
|
34
|
+
templatesEndpoint?: string;
|
|
35
|
+
/** Endpoint for uploading files */
|
|
36
|
+
uploadEndpoint?: string;
|
|
37
|
+
/** Function to authenticate requests */
|
|
38
|
+
authenticateRequest?: (request: RequestInit) => RequestInit;
|
|
39
|
+
/** Custom upload handler for attachments */
|
|
40
|
+
uploadHandler?: (file: File) => Promise<string>;
|
|
41
|
+
/** Custom image upload handler */
|
|
42
|
+
imageUploadHandler?: (file: File) => Promise<string>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Email send request structure
|
|
46
|
+
*/
|
|
47
|
+
export interface SendEmailRequest {
|
|
48
|
+
recipients: string[];
|
|
49
|
+
subject: string;
|
|
50
|
+
body: string;
|
|
51
|
+
attachments: EmailAttachment[];
|
|
52
|
+
templateId?: string | null;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Email send response structure
|
|
56
|
+
*/
|
|
57
|
+
export interface SendEmailResponse {
|
|
58
|
+
success: boolean;
|
|
59
|
+
message: string;
|
|
60
|
+
campaignId?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Import source definition for recipients panel
|
|
64
|
+
*/
|
|
65
|
+
export interface ImportSource {
|
|
66
|
+
id: string;
|
|
67
|
+
label: string;
|
|
68
|
+
icon: string;
|
|
69
|
+
handler: () => void;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* CSV parsing result
|
|
73
|
+
*/
|
|
74
|
+
export interface CsvParseResult {
|
|
75
|
+
validEmails: string[];
|
|
76
|
+
invalidEmails: string[];
|
|
77
|
+
totalRows: number;
|
|
78
|
+
duplicates: string[];
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Email recipient status
|
|
82
|
+
*/
|
|
83
|
+
export type EmailRecipientStatus = 'pending' | 'sent' | 'failed';
|
|
84
|
+
/**
|
|
85
|
+
* Email recipient definition
|
|
86
|
+
*/
|
|
87
|
+
export interface EmailRecipient {
|
|
88
|
+
email: string;
|
|
89
|
+
name?: string;
|
|
90
|
+
status: EmailRecipientStatus;
|
|
91
|
+
error?: string;
|
|
92
|
+
sentAt?: Date | string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Email campaign definition
|
|
96
|
+
*/
|
|
97
|
+
export interface EmailCampaign {
|
|
98
|
+
id?: string;
|
|
99
|
+
subject: string;
|
|
100
|
+
body: string;
|
|
101
|
+
plainText?: string;
|
|
102
|
+
recipients: EmailRecipient[];
|
|
103
|
+
status: 'draft' | 'sent' | 'failed' | 'sending';
|
|
104
|
+
createdAt?: Date | string;
|
|
105
|
+
sentAt?: Date | string;
|
|
106
|
+
createdBy?: string;
|
|
107
|
+
templateId?: string;
|
|
108
|
+
attachments?: EmailAttachment[];
|
|
109
|
+
stats?: {
|
|
110
|
+
totalRecipients: number;
|
|
111
|
+
sent: number;
|
|
112
|
+
failed: number;
|
|
113
|
+
batches?: number;
|
|
114
|
+
retries?: number;
|
|
115
|
+
opened?: number;
|
|
116
|
+
clicked?: number;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Mailbox state for context management
|
|
121
|
+
*/
|
|
122
|
+
export interface MailboxState {
|
|
123
|
+
campaigns: EmailCampaign[];
|
|
124
|
+
templates: EmailTemplate[];
|
|
125
|
+
loading: boolean;
|
|
126
|
+
error: string | null;
|
|
127
|
+
currentCampaign: Partial<EmailCampaign> | null;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Current compose state for context management
|
|
131
|
+
*/
|
|
132
|
+
export interface CurrentComposeState {
|
|
133
|
+
selectedEmails: string[];
|
|
134
|
+
subject: string;
|
|
135
|
+
body: string;
|
|
136
|
+
templateId: string | null;
|
|
137
|
+
attachments: EmailAttachment[];
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Email compose events
|
|
141
|
+
*/
|
|
142
|
+
export type EmailComposeEvents = {
|
|
143
|
+
'emails-imported': CustomEvent<{
|
|
144
|
+
emails: string[];
|
|
145
|
+
source: string;
|
|
146
|
+
}>;
|
|
147
|
+
'recipient-removed': CustomEvent<{
|
|
148
|
+
email: string;
|
|
149
|
+
}>;
|
|
150
|
+
'recipients-cleared': CustomEvent<{}>;
|
|
151
|
+
'selection-changed': CustomEvent<{
|
|
152
|
+
selectedEmails: string[];
|
|
153
|
+
}>;
|
|
154
|
+
'compose-changed': CustomEvent<{
|
|
155
|
+
subject: string;
|
|
156
|
+
body: string;
|
|
157
|
+
templateId: string | null;
|
|
158
|
+
attachments: EmailAttachment[];
|
|
159
|
+
}>;
|
|
160
|
+
'send-email': CustomEvent<{
|
|
161
|
+
request: SendEmailRequest;
|
|
162
|
+
}>;
|
|
163
|
+
'send-error': CustomEvent<{
|
|
164
|
+
error: string;
|
|
165
|
+
}>;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Boat state options for recipients panel
|
|
169
|
+
*/
|
|
170
|
+
export type BoatState = 'hidden' | 'minimized' | 'expanded';
|
|
171
|
+
/**
|
|
172
|
+
* Email preview view modes
|
|
173
|
+
*/
|
|
174
|
+
export type EmailPreviewMode = 'html' | 'plaintext';
|
|
@@ -80,7 +80,7 @@ export default class SchmancyTextarea extends SchmancyTextarea_base {
|
|
|
80
80
|
* Automatically adjusts height based on content.
|
|
81
81
|
* @attr autoHeight
|
|
82
82
|
* @type {boolean}
|
|
83
|
-
* @default
|
|
83
|
+
* @default true
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
86
|
autoHeight: boolean;
|
|
@@ -88,7 +88,7 @@ export default class SchmancyTextarea extends SchmancyTextarea_base {
|
|
|
88
88
|
* Controls whether the textarea can be resized by the user.
|
|
89
89
|
* @attr resize
|
|
90
90
|
* @type {'none' | 'vertical' | 'horizontal' | 'both'}
|
|
91
|
-
* @default '
|
|
91
|
+
* @default 'vertical'
|
|
92
92
|
* @public
|
|
93
93
|
*/
|
|
94
94
|
resize: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { render as p } from "lit";
|
|
2
|
-
import { Subject as w, switchMap as m, forkJoin as C, fromEvent as h, of as d, takeUntil as u, timer as f, map as g, defaultIfEmpty as v, tap as l, take as E } from "rxjs";
|
|
3
|
-
import { T as y, a as x } from "./theme.component-MAXMwTCm.js";
|
|
4
|
-
const b = "are-you-there-dialog", D = "yes-dialog-here", r = class r {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.activeDialogs = [], this.activeRawDialogs = [], this.dialogSubject = new w(), this.dismissSubject = new w(), this.setupDialogOpeningLogic(), this.setupDialogDismissLogic();
|
|
7
|
-
}
|
|
8
|
-
static getInstance() {
|
|
9
|
-
return r.instance || (r.instance = new r()), r.instance;
|
|
10
|
-
}
|
|
11
|
-
setupDialogOpeningLogic() {
|
|
12
|
-
this.dialogSubject.pipe(m((t) => C([h(window, D).pipe(u(f(100)), g((e) => e.detail), v(void 0)), d(t).pipe(l(() => {
|
|
13
|
-
const e = t.type === "confirm" ? `confirm-dialog-${Date.now()}-${Math.random().toString(36).substring(2, 9)}` : `dialog-${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;
|
|
14
|
-
window.dispatchEvent(new CustomEvent(b, { detail: { uid: e }, bubbles: !0, composed: !0 })), t.uid = e;
|
|
15
|
-
}))])), m(([t, e]) => {
|
|
16
|
-
let n, i;
|
|
17
|
-
return t?.dialog ? (n = t.dialog, i = n.parentElement, d({ dialog: n, target: e, targetContainer: i })) : t?.theme ? (i = t.theme, d({ dialog: null, target: e, targetContainer: i })) : e.options.targetContainer ? (i = e.options.targetContainer, d({ dialog: null, target: e, targetContainer: i })) : (window.dispatchEvent(new CustomEvent(y)), h(window, x).pipe(E(1), u(f(100)), g((o) => o.detail.theme), v(void 0), g((o) => ({ dialog: null, target: e, targetContainer: o || document.body }))));
|
|
18
|
-
}), l(({ dialog: t, target: e, targetContainer: n }) => {
|
|
19
|
-
t || ((t = e.type === "confirm" ? document.createElement("confirm-dialog") : document.createElement("schmancy-dialog")).setAttribute("uid", e.uid), n.appendChild(t));
|
|
20
|
-
}), g(({ dialog: t, target: e, targetContainer: n }) => (t || (t = n.querySelector(`[uid="${e.uid}"]`)), { dialog: t, target: e, targetContainer: n })), l(({ dialog: t, target: e }) => {
|
|
21
|
-
if (e.type === "confirm") {
|
|
22
|
-
const n = t, i = e.options;
|
|
23
|
-
if (i.title && (n.title = i.title), i.subtitle && (n.subtitle = i.subtitle), i.message && (n.message = i.message), i.confirmText && (n.confirmText = i.confirmText), i.cancelText && (n.cancelText = i.cancelText), i.variant && (n.variant = i.variant), i.confirmColor && (n.confirmColor = i.confirmColor), i.width && n.style.setProperty("--dialog-width", i.width), i.content) {
|
|
24
|
-
const o = document.createElement("div");
|
|
25
|
-
if (o.slot = "content", typeof i.content == "function") {
|
|
26
|
-
const s = i.content();
|
|
27
|
-
s instanceof HTMLElement ? o.appendChild(s) : p(s, o);
|
|
28
|
-
} else i.content instanceof HTMLElement ? o.appendChild(i.content) : p(i.content, o);
|
|
29
|
-
n.appendChild(o);
|
|
30
|
-
}
|
|
31
|
-
this.activeDialogs.push(n);
|
|
32
|
-
} else {
|
|
33
|
-
if (e.content) {
|
|
34
|
-
const n = document.createElement("div");
|
|
35
|
-
if (n.style.height = "100%", n.style.width = "100%", n.classList.add("schmancy-dialog-content-container"), typeof e.content == "function") {
|
|
36
|
-
const i = e.content();
|
|
37
|
-
i instanceof HTMLElement ? n.appendChild(i) : p(i, n);
|
|
38
|
-
} else e.content instanceof HTMLElement ? n.appendChild(e.content) : p(e.content, n);
|
|
39
|
-
t.appendChild(n);
|
|
40
|
-
}
|
|
41
|
-
e.options.width && t.style.setProperty("--dialog-width", e.options.width), this.activeRawDialogs.push(t);
|
|
42
|
-
}
|
|
43
|
-
}), l(({ dialog: t, target: e }) => {
|
|
44
|
-
const n = e.options.position || this.getCenteredPosition();
|
|
45
|
-
if (t.show(n).then((i) => {
|
|
46
|
-
if (e.resolve && e.resolve(i), e.type === "confirm") {
|
|
47
|
-
const o = this.activeDialogs.indexOf(t);
|
|
48
|
-
o !== -1 && this.activeDialogs.splice(o, 1);
|
|
49
|
-
const s = t.querySelector('[slot="content"]');
|
|
50
|
-
s && t.removeChild(s);
|
|
51
|
-
} else {
|
|
52
|
-
const o = this.activeRawDialogs.indexOf(t);
|
|
53
|
-
o !== -1 && this.activeRawDialogs.splice(o, 1);
|
|
54
|
-
const s = t.querySelector(".schmancy-dialog-content-container");
|
|
55
|
-
s && s.parentNode && s.parentNode.removeChild(s);
|
|
56
|
-
}
|
|
57
|
-
t.parentElement && t.parentElement.removeChild(t);
|
|
58
|
-
}).catch((i) => {
|
|
59
|
-
e.reject && e.reject(i);
|
|
60
|
-
}), e.options.onConfirm) {
|
|
61
|
-
const i = (o) => {
|
|
62
|
-
e.options.onConfirm(), t.removeEventListener("confirm", i);
|
|
63
|
-
};
|
|
64
|
-
t.addEventListener("confirm", i);
|
|
65
|
-
}
|
|
66
|
-
if (e.options.onCancel) {
|
|
67
|
-
const i = (o) => {
|
|
68
|
-
e.options.onCancel(), t.removeEventListener("cancel", i);
|
|
69
|
-
};
|
|
70
|
-
t.addEventListener("cancel", i);
|
|
71
|
-
}
|
|
72
|
-
})).subscribe();
|
|
73
|
-
}
|
|
74
|
-
setupDialogDismissLogic() {
|
|
75
|
-
this.dismissSubject.pipe(m((t) => C([h(window, D).pipe(u(f(100)), g((e) => e.detail), v(void 0)), d(t).pipe(l(() => {
|
|
76
|
-
window.dispatchEvent(new CustomEvent(b, { detail: { uid: t }, bubbles: !0, composed: !0 }));
|
|
77
|
-
}))])), l(([t]) => {
|
|
78
|
-
if (t?.dialog) {
|
|
79
|
-
t.dialog.hide(!1);
|
|
80
|
-
const e = this.activeDialogs.indexOf(t.dialog);
|
|
81
|
-
e !== -1 && this.activeDialogs.splice(e, 1);
|
|
82
|
-
const n = this.activeRawDialogs.indexOf(t.dialog);
|
|
83
|
-
n !== -1 && this.activeRawDialogs.splice(n, 1), t.dialog.parentElement && t.dialog.parentElement.removeChild(t.dialog);
|
|
84
|
-
}
|
|
85
|
-
})).subscribe();
|
|
86
|
-
}
|
|
87
|
-
confirm(t) {
|
|
88
|
-
return new Promise((e, n) => {
|
|
89
|
-
const i = { ...r.DEFAULT_OPTIONS, ...t };
|
|
90
|
-
i.position || (i.position = this.getCenteredPosition());
|
|
91
|
-
const o = { options: i, type: "confirm", content: i.content, resolve: e, reject: n };
|
|
92
|
-
this.dialogSubject.next(o);
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
component(t, e = {}) {
|
|
96
|
-
return new Promise((n, i) => {
|
|
97
|
-
e.position || (e.position = this.getCenteredPosition());
|
|
98
|
-
const o = { options: e, type: "component", content: t, resolve: n, reject: i };
|
|
99
|
-
this.dialogSubject.next(o);
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
dismiss() {
|
|
103
|
-
if (this.activeRawDialogs.length > 0) {
|
|
104
|
-
const t = this.activeRawDialogs[this.activeRawDialogs.length - 1].getAttribute("uid");
|
|
105
|
-
if (t) return this.dismissSubject.next(t), !0;
|
|
106
|
-
}
|
|
107
|
-
if (this.activeDialogs.length > 0) {
|
|
108
|
-
const t = this.activeDialogs[this.activeDialogs.length - 1].getAttribute("uid");
|
|
109
|
-
if (t) return this.dismissSubject.next(t), !0;
|
|
110
|
-
}
|
|
111
|
-
return !1;
|
|
112
|
-
}
|
|
113
|
-
close() {
|
|
114
|
-
return this.dismiss();
|
|
115
|
-
}
|
|
116
|
-
ask(t, e) {
|
|
117
|
-
return this.confirm({ message: t, position: e });
|
|
118
|
-
}
|
|
119
|
-
danger(t) {
|
|
120
|
-
return this.confirm({ ...t, variant: "danger" });
|
|
121
|
-
}
|
|
122
|
-
getCenteredPosition() {
|
|
123
|
-
return { x: window.innerWidth / 2, y: window.innerHeight / 2 };
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
r.DEFAULT_OPTIONS = { title: void 0, subtitle: void 0, confirmText: void 0, cancelText: void 0, variant: "default", width: "360px" };
|
|
127
|
-
let c = r;
|
|
128
|
-
const j = { confirm: (a) => c.getInstance().confirm(a), ask: (a, t) => c.getInstance().ask(a, t), danger: (a) => c.getInstance().danger(a), component: (a, t) => c.getInstance().component(a, t), simple: (a, t) => c.getInstance().component(a, t), dismiss: () => c.getInstance().dismiss(), close: () => c.getInstance().close() };
|
|
129
|
-
export {
|
|
130
|
-
j as $,
|
|
131
|
-
c as D,
|
|
132
|
-
b as a,
|
|
133
|
-
D as b
|
|
134
|
-
};
|
|
135
|
-
//# sourceMappingURL=dialog-service-DGfyRhia.js.map
|