@lab2view/vue-email-editor 0.1.0 → 0.1.2

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.
@@ -1 +1 @@
1
- .ebb-toolbar{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 12px;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0}html[data-theme=dark] .ebb-toolbar{background:#1f2937;border-bottom-color:#374151}.ebb-toolbar__left{display:flex;align-items:center;gap:4px}.ebb-toolbar__group{display:flex;align-items:center;gap:2px}.ebb-toolbar__device-group{display:flex;align-items:center;gap:1px;background:#f3f4f6;border-radius:8px;padding:3px}html[data-theme=dark] .ebb-toolbar__device-group{background:#111827}.ebb-toolbar__device-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:30px;padding:0 10px;border-radius:6px;border:none;background:transparent;color:#6b7280;cursor:pointer;transition:all .15s ease}.ebb-toolbar__device-label{font-size:11px;font-weight:500}.ebb-toolbar__device-btn:hover{color:#374151;background:#0000000a}html[data-theme=dark] .ebb-toolbar__device-btn:hover{color:#e5e7eb;background:#ffffff0f}.ebb-toolbar__device-btn--active{background:#fff;color:var(--ee-primary);box-shadow:0 1px 3px #0000001a}html[data-theme=dark] .ebb-toolbar__device-btn--active{background:#374151;color:var(--ee-primary)}.ebb-toolbar__title{font-size:13px;font-weight:600;color:#374151;letter-spacing:-.01em}html[data-theme=dark] .ebb-toolbar__title{color:#d1d5db}.ebb-toolbar__action-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;background:transparent;color:#6b7280;cursor:pointer;transition:all .15s ease}.ebb-toolbar__action-btn:hover{background:#f3f4f6;color:#111827}html[data-theme=dark] .ebb-toolbar__action-btn:hover{background:#374151;color:#f3f4f6}.ebb-toolbar__action-btn--active{background:#01a8ab1f;color:var(--ee-primary)}.ebb-toolbar__action-btn--disabled{opacity:.35;cursor:default;pointer-events:none}.ebb-toolbar__divider{width:1px;height:20px;background:#e5e7eb;margin:0 6px}html[data-theme=dark] .ebb-toolbar__divider{background:#374151}.ebb-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:5}.ebb-overlay__hover{position:absolute;border:1px dashed color-mix(in srgb,var(--ee-hover) 40%,transparent);pointer-events:none;transition:all .1s ease}.ebb-overlay__selection{position:absolute;border:2px solid var(--ee-selection);pointer-events:none}.ebb-overlay__toolbar{position:absolute;top:-28px;left:0;display:flex;align-items:center;gap:2px;background:var(--ee-primary);border-radius:4px;padding:2px 4px;pointer-events:auto;box-shadow:0 2px 6px #00000026}.ebb-overlay__label{font-size:10px;font-weight:600;color:#fff;padding:0 4px;white-space:nowrap}.ebb-overlay__btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:#fffc;cursor:pointer;border-radius:3px;transition:all .1s ease}.ebb-overlay__btn:hover{background:#fff3;color:#fff}.ebb-overlay__btn--danger:hover{background:#ff00004d}.ebb-overlay__sep{width:1px;height:12px;background:#ffffff40;margin:0 2px}.ebb-overlay__drop-indicator{position:absolute;background:var(--ee-drop-indicator);pointer-events:none;z-index:10;transition:top .08s ease,left .08s ease,width .08s ease;box-shadow:0 0 8px #01a8ab66}.ebb-overlay__drop-indicator-dot{position:absolute;width:8px;height:8px;background:var(--ee-drop-indicator);border:2px solid #ffffff;border-radius:50%;top:50%;transform:translateY(-50%);box-shadow:0 1px 3px #0003}.ebb-overlay__drop-indicator-dot--left{left:-4px}.ebb-overlay__drop-indicator-dot--right{right:-4px}.ebb-overlay__drag-active{position:absolute;top:0;right:0;bottom:0;left:0;border:2px dashed rgba(1,168,171,.25);border-radius:4px;pointer-events:none;animation:ebb-drag-pulse 1.5s ease-in-out infinite}@keyframes ebb-drag-pulse{0%,to{border-color:#01a8ab26}50%{border-color:#01a8ab59}}.ebb-inline-toolbar{display:flex;align-items:center;gap:2px;padding:4px 6px;background:#1f2937;border-radius:8px;box-shadow:0 4px 16px #00000040;-webkit-user-select:none;user-select:none}.ebb-inline-toolbar__btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:#d1d5db;cursor:pointer;border-radius:4px;transition:all .1s ease}.ebb-inline-toolbar__btn:hover{background:#ffffff1a;color:#fff}.ebb-inline-toolbar__btn--active{background:#01a8ab4d;color:var(--ee-primary)}.ebb-inline-toolbar__sep{width:1px;height:18px;background:#374151;margin:0 2px}.ebb-inline-toolbar__color{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;cursor:pointer;color:#d1d5db;position:relative}.ebb-inline-toolbar__color:hover{color:#fff}.ebb-inline-toolbar__color input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%;height:100%}.ebb-inline-editor-wrapper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20}.ebb-inline-editor__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.ebb-inline-editor__toolbar-pos{position:absolute;z-index:2;display:flex;justify-content:center}.ebb-inline-editor{position:absolute;z-index:1;background:#fff;border:2px solid var(--ee-primary);border-radius:4px;overflow:auto;box-shadow:0 4px 16px #00000026}.ebb-inline-editor__content{outline:none;padding:4px 8px;min-height:24px;font-family:Helvetica,Arial,sans-serif;font-size:14px;color:#333;line-height:1.5}.ebb-inline-editor__content p{margin:0}.ebb-inline-editor__content a{color:var(--ee-primary);text-decoration:underline}.ebb-inline-editor__content h1,.ebb-inline-editor__content h2,.ebb-inline-editor__content h3,.ebb-inline-editor__content h4{margin:0;line-height:1.3}.ebb-canvas{flex:1;position:relative;background:#e5e7eb;background-image:radial-gradient(circle,#d1d5db .5px,transparent .5px);background-size:16px 16px;overflow:auto;display:flex;justify-content:center;padding:24px 0}html[data-theme=dark] .ebb-canvas{background-color:#1a1f2e;background-image:radial-gradient(circle,#2d3348 .5px,transparent .5px)}.ebb-canvas__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f9fafb;color:#6b7280;font-size:13px}html[data-theme=dark] .ebb-canvas__loading{background:#111827;color:#9ca3af}.ebb-canvas__spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:var(--ee-primary);border-radius:50%;animation:ebb-spin .8s linear infinite}@keyframes ebb-spin{to{transform:rotate(360deg)}}.ebb-canvas__iframe-wrapper{position:relative;min-height:200px;max-width:100%;flex-shrink:0;transition:width .3s ease;box-shadow:0 1px 4px #00000014,0 4px 16px #0000000f;border-radius:4px;overflow:hidden}html[data-theme=dark] .ebb-canvas__iframe-wrapper{box-shadow:0 1px 4px #0003,0 4px 16px #00000026}.ebb-canvas__iframe{width:100%;height:100%;border:none;background:#fff;display:block}.ebb-canvas__drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;cursor:copy;background:#01a8ab05}.ebb-block-preview{width:100%;height:auto;display:block}.ebb-block-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px 5px;border:1px solid #e5e7eb;border-radius:8px;cursor:grab;transition:all .15s ease;background:#fff}html[data-theme=dark] .ebb-block-card{border-color:#374151;background:#1f2937}.ebb-block-card:hover{border-color:var(--ee-primary);background:#f0fdfd;box-shadow:0 2px 8px #01a8ab1a}html[data-theme=dark] .ebb-block-card:hover{background:#0d3d3e}.ebb-block-card:active{cursor:grabbing;transform:scale(.96)}.ebb-block-card--dragging{opacity:.4;border-color:var(--ee-primary);background:#01a8ab0d;transform:scale(.95)}.ebb-block-card__preview{width:100%;border-radius:4px;overflow:hidden;background:#f9fafb}html[data-theme=dark] .ebb-block-card__preview{background:#111827}.ebb-block-card__label{font-size:10px;font-weight:500;color:#374151;text-align:center;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-theme=dark] .ebb-block-card__label{color:#d1d5db}.ebb-block-category{border-bottom:1px solid #e5e7eb}html[data-theme=dark] .ebb-block-category{border-color:#374151}.ebb-block-category__header{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:none;background:#fafafa;cursor:pointer;font-size:12px;font-weight:600;color:#374151;transition:background .1s ease}html[data-theme=dark] .ebb-block-category__header{color:#d1d5db;background:#111827}.ebb-block-category__header:hover{background:#f3f4f6}html[data-theme=dark] .ebb-block-category__header:hover{background:#1f2937}.ebb-block-category__label{flex:1;text-align:left}.ebb-block-category__count{font-size:10px;font-weight:500;color:#9ca3af;background:#f3f4f6;border-radius:10px;padding:1px 7px}html[data-theme=dark] .ebb-block-category__count{background:#1f2937}.ebb-block-category__chevron{color:#9ca3af}.ebb-block-category__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px 10px 10px}.ebb-block-category__grid--2col{grid-template-columns:repeat(2,1fr)}.ebb-templates-panel{padding:12px}.ebb-templates-panel__header{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#374151;margin-bottom:6px}html[data-theme=dark] .ebb-templates-panel__header{color:#d1d5db}.ebb-templates-panel__hint{font-size:11px;color:#9ca3af;margin:0 0 12px;line-height:1.4}.ebb-templates-panel__grid{display:flex;flex-direction:column;gap:6px}.ebb-template-card{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;cursor:pointer;text-align:left;transition:all .15s ease}html[data-theme=dark] .ebb-template-card{border-color:#374151;background:#1f2937}.ebb-template-card:hover{border-color:var(--ee-primary);background:#f0fdfd;box-shadow:0 2px 8px #01a8ab1a}html[data-theme=dark] .ebb-template-card:hover{background:#0d3d3e;border-color:var(--ee-primary)}.ebb-template-card__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;flex-shrink:0}.ebb-template-card__info{display:flex;flex-direction:column;gap:1px;min-width:0}.ebb-template-card__label{font-size:13px;font-weight:600;color:#333}html[data-theme=dark] .ebb-template-card__label{color:#e5e7eb}.ebb-template-card__desc{font-size:11px;color:#9ca3af}.ebb-confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#00000080;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ebb-confirm-dialog{background:#fff;border-radius:16px;padding:28px 32px 24px;max-width:380px;width:90%;text-align:center;box-shadow:0 20px 60px #0003}html[data-theme=dark] .ebb-confirm-dialog{background:#1f2937;box-shadow:0 20px 60px #00000080}.ebb-confirm-dialog__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;margin-bottom:16px}.ebb-confirm-dialog__title{font-size:16px;font-weight:700;color:#111827;margin:0 0 8px}html[data-theme=dark] .ebb-confirm-dialog__title{color:#f3f4f6}.ebb-confirm-dialog__text{font-size:13px;color:#6b7280;margin:0 0 24px;line-height:1.5}.ebb-confirm-dialog__actions{display:flex;gap:10px;justify-content:center}.ebb-confirm-dialog__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 20px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;border:none;transition:all .15s ease}.ebb-confirm-dialog__btn--cancel{background:#f3f4f6;color:#374151}html[data-theme=dark] .ebb-confirm-dialog__btn--cancel{background:#374151;color:#d1d5db}.ebb-confirm-dialog__btn--cancel:hover{background:#e5e7eb}html[data-theme=dark] .ebb-confirm-dialog__btn--cancel:hover{background:#4b5563}.ebb-confirm-dialog__btn--confirm{background:var(--ee-primary, #01A8AB);color:#fff}.ebb-confirm-dialog__btn--confirm:hover{background:var(--ee-primary-hover, #019193)}.ebb-confirm-fade-enter-active,.ebb-confirm-fade-leave-active{transition:opacity .2s ease}.ebb-confirm-fade-enter-active .ebb-confirm-dialog,.ebb-confirm-fade-leave-active .ebb-confirm-dialog{transition:transform .2s ease}.ebb-confirm-fade-enter-from,.ebb-confirm-fade-leave-to{opacity:0}.ebb-confirm-fade-enter-from .ebb-confirm-dialog,.ebb-confirm-fade-leave-to .ebb-confirm-dialog{transform:scale(.95)}.ebb-blocks-panel{display:flex;flex-direction:column;height:100%}.ebb-blocks-panel__search{display:flex;align-items:center;gap:8px;padding:8px 12px;margin:8px 12px;background:#f3f4f6;border-radius:8px;color:#9ca3af;flex-shrink:0}html[data-theme=dark] .ebb-blocks-panel__search{background:#111827}.ebb-blocks-panel__search-input{flex:1;border:none;background:transparent;font-size:12px;color:#374151;outline:none}html[data-theme=dark] .ebb-blocks-panel__search-input{color:#d1d5db}.ebb-blocks-panel__search-input::placeholder{color:#9ca3af}.ebb-blocks-panel__search-clear{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:#d1d5db;color:#fff;border-radius:50%;cursor:pointer;padding:0}html[data-theme=dark] .ebb-blocks-panel__search-clear{background:#4b5563}.ebb-blocks-panel__list{flex:1;overflow-y:auto;mask-image:linear-gradient(to bottom,black calc(100% - 24px),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,black calc(100% - 24px),transparent 100%)}.ebb-blocks-panel__list::-webkit-scrollbar{width:4px}.ebb-blocks-panel__list::-webkit-scrollbar-track{background:transparent}.ebb-blocks-panel__list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}html[data-theme=dark] .ebb-blocks-panel__list::-webkit-scrollbar-thumb{background:#4b5563}.ebb-blocks-panel__empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;color:#9ca3af;text-align:center}.ebb-blocks-panel__empty p{font-size:12px;margin:0}.ebb-blocks-panel__templates{border-bottom:1px solid #e5e7eb;margin-bottom:4px}html[data-theme=dark] .ebb-blocks-panel__templates{border-bottom-color:#374151}.ebb-blocks-panel__templates-toggle{display:flex;align-items:center;gap:6px;width:100%;padding:10px 12px;font-size:12px;font-weight:600;color:#374151;background:transparent;border:none;cursor:pointer;text-align:left}html[data-theme=dark] .ebb-blocks-panel__templates-toggle{color:#d1d5db}.ebb-blocks-panel__templates-toggle:hover{background:#f9fafb}html[data-theme=dark] .ebb-blocks-panel__templates-toggle:hover{background:#111827}.ebb-prop-group{border-bottom:1px solid #f3f4f6}html[data-theme=dark] .ebb-prop-group{border-bottom-color:#374151}.ebb-prop-group__header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;background:transparent;border:none;cursor:pointer;transition:color .15s}.ebb-prop-group__header:hover{color:#374151}html[data-theme=dark] .ebb-prop-group__header:hover{color:#d1d5db}.ebb-prop-group__body{padding:0 16px 12px;display:flex;flex-direction:column;gap:10px}.ebb-prop-group__field{display:flex;flex-direction:column;gap:4px}.ebb-prop-group__label{font-size:11px;font-weight:500;color:#6b7280}html[data-theme=dark] .ebb-prop-group__label{color:#9ca3af}.ebb-prop-group__text-input{width:100%;padding:6px 8px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;transition:border-color .15s}html[data-theme=dark] .ebb-prop-group__text-input{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-prop-group__text-input:focus{outline:none;border-color:var(--ee-primary);box-shadow:0 0 0 2px #01a8ab1a}.ebb-prop-group__select{width:100%;padding:6px 8px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;cursor:pointer}html[data-theme=dark] .ebb-prop-group__select{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-prop-group__select:focus{outline:none;border-color:var(--ee-primary)}.ebb-prop-group__color{display:flex;gap:6px;align-items:center}.ebb-prop-group__color-input{width:32px;height:32px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;background:none;flex-shrink:0}.ebb-prop-group__number{display:flex;align-items:center;gap:4px}.ebb-prop-group__unit{font-size:11px;color:#9ca3af;flex-shrink:0}.ebb-prop-group__alignment{display:flex;gap:2px}.ebb-prop-group__align-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:28px;border:1px solid #e5e7eb;background:#fff;color:#9ca3af;cursor:pointer;transition:all .15s}.ebb-prop-group__align-btn:first-child{border-radius:6px 0 0 6px}.ebb-prop-group__align-btn:last-child{border-radius:0 6px 6px 0}.ebb-prop-group__align-btn--active{background:#01a8ab1a;border-color:var(--ee-primary);color:var(--ee-primary)}html[data-theme=dark] .ebb-prop-group__align-btn{background:#1f2937;border-color:#374151}html[data-theme=dark] .ebb-prop-group__align-btn--active{background:#01a8ab26;border-color:var(--ee-primary);color:var(--ee-primary)}.ebb-prop-group__toggle-btn{padding:4px 12px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .15s}.ebb-prop-group__toggle-btn--active{background:#01a8ab1a;border-color:var(--ee-primary);color:var(--ee-primary)}.ebb-properties{padding:0}.ebb-properties__header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb}html[data-theme=dark] .ebb-properties__header{background:#111827;border-bottom-color:#374151}.ebb-properties__type{font-size:13px;font-weight:600;color:var(--ee-primary)}.ebb-properties__close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:4px}.ebb-properties__close:hover{background:#f3f4f6;color:#374151}.ebb-properties__content-group{padding:12px 16px;border-bottom:1px solid #f3f4f6}html[data-theme=dark] .ebb-properties__content-group{border-bottom-color:#374151}.ebb-properties__label{display:block;font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}html[data-theme=dark] .ebb-properties__label{color:#9ca3af}.ebb-properties__textarea{width:100%;padding:8px;font-size:12px;font-family:monospace;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;resize:vertical;box-sizing:border-box}html[data-theme=dark] .ebb-properties__textarea{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-properties__textarea:focus{outline:none;border-color:var(--ee-primary);box-shadow:0 0 0 2px #01a8ab1a}.ebb-global-styles{padding:0}.ebb-global-styles__header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb;font-size:13px;font-weight:600;color:var(--ee-primary)}html[data-theme=dark] .ebb-global-styles__header{background:#111827;border-bottom-color:#374151}.ebb-global-styles__section{border-bottom:1px solid #f3f4f6;padding:0}html[data-theme=dark] .ebb-global-styles__section{border-bottom-color:#1f2937}.ebb-global-styles__section-title{display:flex;align-items:center;gap:6px;padding:10px 16px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;background:#fafafa}html[data-theme=dark] .ebb-global-styles__section-title{background:#111827;color:#9ca3af}.ebb-global-styles__field{padding:8px 16px 12px}.ebb-global-styles__label{display:block;font-size:11px;font-weight:600;color:#6b7280;margin-bottom:4px}html[data-theme=dark] .ebb-global-styles__label{color:#9ca3af}.ebb-global-styles__hint{font-size:10px;color:#9ca3af;margin:4px 0 0;line-height:1.4}.ebb-global-styles__input{width:100%;padding:7px 10px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;outline:none;transition:border-color .15s ease}html[data-theme=dark] .ebb-global-styles__input{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-global-styles__input:focus{border-color:var(--ee-primary);box-shadow:0 0 0 2px #01a8ab1a}.ebb-global-styles__input--short{flex:1}.ebb-global-styles__select{width:100%;padding:7px 10px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;outline:none;cursor:pointer}html[data-theme=dark] .ebb-global-styles__select{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-global-styles__select:focus{border-color:var(--ee-primary)}.ebb-global-styles__color-row{display:flex;align-items:center;gap:8px;margin-top:4px}.ebb-global-styles__color-input{width:36px;height:36px;border:2px solid #e5e7eb;border-radius:8px;padding:2px;cursor:pointer;background:transparent;flex-shrink:0}html[data-theme=dark] .ebb-global-styles__color-input{border-color:#374151}.ebb-global-styles__color-input::-webkit-color-swatch-wrapper{padding:0}.ebb-global-styles__color-input::-webkit-color-swatch{border:none;border-radius:4px}.ebb-global-styles__tip{display:flex;align-items:center;gap:8px;padding:16px;color:#9ca3af;font-size:11px;line-height:1.4}.ebb-properties__breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:6px 16px;border-bottom:1px solid #f3f4f6}html[data-theme=dark] .ebb-properties__breadcrumb{border-bottom-color:#374151}.ebb-properties__breadcrumb-sep{font-size:10px;color:#d1d5db}html[data-theme=dark] .ebb-properties__breadcrumb-sep{color:#4b5563}.ebb-properties__breadcrumb-item{font-size:11px;color:#6b7280;background:none;border:none;padding:2px 6px;border-radius:3px;cursor:pointer;transition:all .1s ease}.ebb-properties__breadcrumb-item:hover{background:#f3f4f6;color:#111827}html[data-theme=dark] .ebb-properties__breadcrumb-item:hover{background:#374151;color:#f3f4f6}.ebb-properties__breadcrumb-item--active{color:var(--ee-primary);font-weight:600}.ebb-layers{padding:0}.ebb-layers__header{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:600;color:var(--ee-primary);border-bottom:1px solid var(--ee-border);background:var(--ee-panel-header-bg)}html[data-theme=dark] .ebb-layers__header{background:#111827;border-bottom-color:#374151}.ebb-layers__count{font-size:10px;font-weight:500;color:#9ca3af;background:#f3f4f6;border-radius:10px;padding:1px 7px;margin-left:auto}html[data-theme=dark] .ebb-layers__count{background:#1f2937}.ebb-layers__tree{padding:4px 0}.ebb-layers__node{display:flex;align-items:center;gap:4px;padding:5px 12px 5px 8px;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:background .1s ease;-webkit-user-select:none;user-select:none;border-left:2px solid transparent}html[data-theme=dark] .ebb-layers__node{color:#d1d5db}.ebb-layers__node:hover{background:#f9fafb}html[data-theme=dark] .ebb-layers__node:hover{background:#111827}.ebb-layers__node--hovered{background:#01a8ab0a}.ebb-layers__node--selected{background:#01a8ab14;border-left-color:var(--ee-primary);color:var(--ee-primary)}.ebb-layers__node--selected:hover{background:#01a8ab1f}.ebb-layers__node--indent-1{padding-left:24px}.ebb-layers__node--indent-2{padding-left:40px}.ebb-layers__toggle{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:3px;padding:0;flex-shrink:0}.ebb-layers__toggle:hover{background:#e5e7eb;color:#374151}html[data-theme=dark] .ebb-layers__toggle:hover{background:#374151;color:#d1d5db}.ebb-layers__toggle-spacer{width:16px;flex-shrink:0}.ebb-layers__icon{display:inline-flex;align-items:center;flex-shrink:0}.ebb-layers__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.ebb-layers__actions{display:none;align-items:center;gap:1px;margin-left:auto;flex-shrink:0}.ebb-layers__node:hover .ebb-layers__actions{display:flex}.ebb-layers__action-btn{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:3px;padding:0}.ebb-layers__action-btn:hover{background:#e5e7eb;color:#374151}html[data-theme=dark] .ebb-layers__action-btn:hover{background:#374151;color:#d1d5db}.ebb-layers__action-btn--danger:hover{background:#fee2e2;color:#dc2626}html[data-theme=dark] .ebb-layers__action-btn--danger:hover{background:#450a0a;color:#f87171}.ebb-layers__empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;text-align:center;color:#9ca3af}.ebb-layers__empty p{font-size:12px;margin:0;line-height:1.5}.ebb-sidebar{width:300px;flex-shrink:0;display:flex;flex-direction:column;background:#fff;border-left:1px solid #e5e7eb}html[data-theme=dark] .ebb-sidebar{background:#1f2937;border-left-color:#374151}.ebb-sidebar__tabs{display:flex;border-bottom:1px solid #e5e7eb;flex-shrink:0}html[data-theme=dark] .ebb-sidebar__tabs{border-bottom-color:#374151}.ebb-sidebar__tab{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 0;font-size:12px;font-weight:500;color:#9ca3af;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .15s ease}.ebb-sidebar__tab:hover{color:#374151;background:#f9fafb}html[data-theme=dark] .ebb-sidebar__tab:hover{color:#d1d5db;background:#111827}.ebb-sidebar__tab--active{color:var(--ee-primary);border-bottom-color:var(--ee-primary)}.ebb-sidebar__tab--active:hover{color:var(--ee-primary)}.ebb-sidebar__content{flex:1;overflow-y:auto;overflow-x:hidden}.ebb-sidebar__content::-webkit-scrollbar{width:4px}.ebb-sidebar__content::-webkit-scrollbar-track{background:transparent}.ebb-sidebar__content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.ebb-label{display:block;font-size:14px;font-weight:500;color:var(--ee-text-primary, #374151);margin-bottom:8px}.ebb-label__required{color:var(--ee-error, #ef4444)}.ebb-alert{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border:1px solid #fca5a5;border-radius:8px;background:#fef2f2;color:#991b1b;font-size:13px;margin-bottom:12px}html[data-theme=dark] .ebb-alert{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}.ebb-alert p{margin:4px 0 0;font-size:12px}.ebb-shell{border:1px solid var(--ee-border, #e5e7eb);border-radius:12px;overflow:hidden;background:var(--ee-panel-header-bg, #f9fafb);box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a;display:flex;flex-direction:column;height:calc(100vh - 180px);min-height:500px;font-family:var(--ee-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);font-size:var(--ee-font-size, 13px)}.ebb-shell--fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;height:100vh;border-radius:0;border:none}.ebb-main{display:flex;flex:1;min-height:0;overflow:hidden}.ebb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ebb-sr-only--focusable:focus{position:static;width:auto;height:auto;padding:8px 16px;margin:0;overflow:visible;clip:auto;white-space:normal;background:var(--ee-primary);color:#fff;font-size:13px;font-weight:600;z-index:100}.ebb-code-editor{flex:1;overflow:hidden;background:#282c34}.ebb-code-editor .cm-editor{height:100%}
1
+ .ebb-toolbar{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 12px;background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0}html[data-theme=dark] .ebb-toolbar{background:#1f2937;border-bottom-color:#374151}.ebb-toolbar__left{display:flex;align-items:center;gap:4px}.ebb-toolbar__group{display:flex;align-items:center;gap:2px}.ebb-toolbar__device-group{display:flex;align-items:center;gap:1px;background:#f3f4f6;border-radius:8px;padding:3px}html[data-theme=dark] .ebb-toolbar__device-group{background:#111827}.ebb-toolbar__device-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:30px;padding:0 10px;border-radius:6px;border:none;background:transparent;color:#6b7280;cursor:pointer;transition:all .15s ease}.ebb-toolbar__device-label{font-size:11px;font-weight:500}.ebb-toolbar__device-btn:hover{color:#374151;background:#0000000a}html[data-theme=dark] .ebb-toolbar__device-btn:hover{color:#e5e7eb;background:#ffffff0f}.ebb-toolbar__device-btn--active{background:#fff;color:var(--ee-primary);box-shadow:0 1px 3px #0000001a}html[data-theme=dark] .ebb-toolbar__device-btn--active{background:#374151;color:var(--ee-primary)}.ebb-toolbar__title{font-size:13px;font-weight:600;color:#374151;letter-spacing:-.01em}html[data-theme=dark] .ebb-toolbar__title{color:#d1d5db}.ebb-toolbar__action-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;background:transparent;color:#6b7280;cursor:pointer;transition:all .15s ease}.ebb-toolbar__action-btn:hover{background:#f3f4f6;color:#111827}html[data-theme=dark] .ebb-toolbar__action-btn:hover{background:#374151;color:#f3f4f6}.ebb-toolbar__action-btn--active{background:#01a8ab1f;color:var(--ee-primary)}.ebb-toolbar__action-btn--disabled{opacity:.35;cursor:default;pointer-events:none}.ebb-toolbar__divider{width:1px;height:20px;background:#e5e7eb;margin:0 6px}html[data-theme=dark] .ebb-toolbar__divider{background:#374151}.ebb-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:5}.ebb-overlay__hover{position:absolute;border:1px dashed color-mix(in srgb,var(--ee-hover) 40%,transparent);pointer-events:none;transition:all .1s ease}.ebb-overlay__selection{position:absolute;border:2px solid var(--ee-selection);pointer-events:none}.ebb-overlay__toolbar{position:absolute;top:-28px;left:0;display:flex;align-items:center;gap:2px;background:var(--ee-primary);border-radius:4px;padding:2px 4px;pointer-events:auto;box-shadow:0 2px 6px #00000026}.ebb-overlay__label{font-size:10px;font-weight:600;color:#fff;padding:0 4px;white-space:nowrap}.ebb-overlay__btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:#fffc;cursor:pointer;border-radius:3px;transition:all .1s ease}.ebb-overlay__btn:hover{background:#fff3;color:#fff}.ebb-overlay__btn--danger:hover{background:#ff00004d}.ebb-overlay__drag-handle{cursor:grab;border-right:1px solid rgba(255,255,255,.15);padding-right:4px;margin-right:2px}.ebb-overlay__drag-handle:active{cursor:grabbing}.ebb-overlay__sep{width:1px;height:12px;background:#ffffff40;margin:0 2px}.ebb-overlay__drop-indicator{position:absolute;background:var(--ee-drop-indicator);pointer-events:none;z-index:10;transition:top .1s ease-out,left .1s ease-out,width .1s ease-out,height .1s ease-out;box-shadow:0 0 10px #01a8ab80,0 0 20px #01a8ab33;animation:ebb-drop-glow 1s ease-in-out infinite}@keyframes ebb-drop-glow{0%,to{box-shadow:0 0 8px #01a8ab66,0 0 16px #01a8ab26}50%{box-shadow:0 0 12px #01a8ab99,0 0 24px #01a8ab4d}}.ebb-overlay__drop-indicator-dot{position:absolute;width:8px;height:8px;background:var(--ee-drop-indicator);border:2px solid #ffffff;border-radius:50%;top:50%;transform:translateY(-50%);box-shadow:0 1px 3px #0003}.ebb-overlay__drop-indicator-dot--left{left:-4px}.ebb-overlay__drop-indicator-dot--right{right:-4px}.ebb-overlay__drag-active{position:absolute;top:0;right:0;bottom:0;left:0;border:2px dashed rgba(1,168,171,.25);border-radius:4px;pointer-events:none;animation:ebb-drag-pulse 1.5s ease-in-out infinite}@keyframes ebb-drag-pulse{0%,to{border-color:#01a8ab26}50%{border-color:#01a8ab59}}.ebb-overlay__btn--condition{background:#fbbf244d;color:#fbbf24}.ebb-condition-panel{position:absolute;top:-28px;right:0;transform:translateY(-100%);background:#1f2937;border:1px solid #374151;border-radius:8px;box-shadow:0 8px 24px #00000059;min-width:220px;pointer-events:auto;z-index:20}.ebb-condition-panel__header{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid #374151;font-size:11px;font-weight:600;color:#d1d5db}.ebb-condition-panel__close{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:3px}.ebb-condition-panel__close:hover{background:#ffffff1a;color:#fff}.ebb-condition-panel__body{padding:8px 10px;display:flex;flex-direction:column;gap:4px}.ebb-condition-panel__label{font-size:10px;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em}.ebb-condition-panel__select,.ebb-condition-panel__input{width:100%;padding:5px 8px;font-size:12px;border:1px solid #374151;border-radius:4px;background:#111827;color:#d1d5db;outline:none}.ebb-condition-panel__select:focus,.ebb-condition-panel__input:focus{border-color:var(--ee-primary, #01A8AB)}.ebb-condition-panel__remove{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;padding:6px;border:none;border-top:1px solid #374151;background:transparent;color:#ef4444;font-size:11px;cursor:pointer;border-radius:0 0 8px 8px}.ebb-condition-panel__remove:hover{background:#ef44441a}.ebb-canvas{flex:1;position:relative;background:#e5e7eb;background-image:radial-gradient(circle,#d1d5db .5px,transparent .5px);background-size:16px 16px;overflow:auto;display:flex;justify-content:center;padding:24px 0}html[data-theme=dark] .ebb-canvas{background-color:#1a1f2e;background-image:radial-gradient(circle,#2d3348 .5px,transparent .5px)}.ebb-canvas__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f9fafb;color:#6b7280;font-size:13px}html[data-theme=dark] .ebb-canvas__loading{background:#111827;color:#9ca3af}.ebb-canvas__spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:var(--ee-primary);border-radius:50%;animation:ebb-spin .8s linear infinite}@keyframes ebb-spin{to{transform:rotate(360deg)}}.ebb-canvas__iframe-wrapper{position:relative;min-height:200px;max-width:100%;flex-shrink:0;transition:width .3s ease;box-shadow:0 1px 4px #00000014,0 4px 16px #0000000f;border-radius:4px;overflow:hidden}html[data-theme=dark] .ebb-canvas__iframe-wrapper{box-shadow:0 1px 4px #0003,0 4px 16px #00000026}.ebb-canvas__iframe{width:100%;height:100%;border:none;background:#fff;display:block}.ebb-canvas__drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;cursor:copy;background:#01a8ab05}.ebb-block-preview{width:100%;height:auto;display:block}.ebb-block-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px 5px;border:1px solid #e5e7eb;border-radius:8px;cursor:grab;transition:all .15s ease;background:#fff}html[data-theme=dark] .ebb-block-card{border-color:#374151;background:#1f2937}.ebb-block-card:hover{border-color:var(--ee-primary);background:#f0fdfd;box-shadow:0 2px 8px #01a8ab1a}html[data-theme=dark] .ebb-block-card:hover{background:#0d3d3e}.ebb-block-card:active{cursor:grabbing;transform:scale(.96)}.ebb-block-card--dragging{opacity:.4;border-color:var(--ee-primary);background:#01a8ab0d;transform:scale(.95)}.ebb-block-card__preview{width:100%;border-radius:4px;overflow:hidden;background:#f9fafb}html[data-theme=dark] .ebb-block-card__preview{background:#111827}.ebb-block-card__label{font-size:10px;font-weight:500;color:#374151;text-align:center;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-theme=dark] .ebb-block-card__label{color:#d1d5db}.ebb-block-category{border-bottom:1px solid #e5e7eb}html[data-theme=dark] .ebb-block-category{border-color:#374151}.ebb-block-category__header{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:none;background:#fafafa;cursor:pointer;font-size:12px;font-weight:600;color:#374151;transition:background .1s ease}html[data-theme=dark] .ebb-block-category__header{color:#d1d5db;background:#111827}.ebb-block-category__header:hover{background:#f3f4f6}html[data-theme=dark] .ebb-block-category__header:hover{background:#1f2937}.ebb-block-category__label{flex:1;text-align:left}.ebb-block-category__count{font-size:10px;font-weight:500;color:#9ca3af;background:#f3f4f6;border-radius:10px;padding:1px 7px}html[data-theme=dark] .ebb-block-category__count{background:#1f2937}.ebb-block-category__chevron{color:#9ca3af}.ebb-block-category__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px 10px 10px}.ebb-block-category__grid--2col{grid-template-columns:repeat(2,1fr)}.ebb-templates-panel{padding:12px}.ebb-templates-panel__header{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#374151;margin-bottom:6px}html[data-theme=dark] .ebb-templates-panel__header{color:#d1d5db}.ebb-templates-panel__hint{font-size:11px;color:#9ca3af;margin:0 0 12px;line-height:1.4}.ebb-templates-panel__grid{display:flex;flex-direction:column;gap:6px}.ebb-template-card{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;cursor:pointer;text-align:left;transition:all .15s ease}html[data-theme=dark] .ebb-template-card{border-color:#374151;background:#1f2937}.ebb-template-card:hover{border-color:var(--ee-primary);background:#f0fdfd;box-shadow:0 2px 8px #01a8ab1a}html[data-theme=dark] .ebb-template-card:hover{background:#0d3d3e;border-color:var(--ee-primary)}.ebb-template-card__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;flex-shrink:0}.ebb-template-card__info{display:flex;flex-direction:column;gap:1px;min-width:0}.ebb-template-card__label{font-size:13px;font-weight:600;color:#333}html[data-theme=dark] .ebb-template-card__label{color:#e5e7eb}.ebb-template-card__desc{font-size:11px;color:#9ca3af}.ebb-confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#00000080;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ebb-confirm-dialog{background:#fff;border-radius:16px;padding:28px 32px 24px;max-width:380px;width:90%;text-align:center;box-shadow:0 20px 60px #0003}html[data-theme=dark] .ebb-confirm-dialog{background:#1f2937;box-shadow:0 20px 60px #00000080}.ebb-confirm-dialog__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;margin-bottom:16px}.ebb-confirm-dialog__title{font-size:16px;font-weight:700;color:#111827;margin:0 0 8px}html[data-theme=dark] .ebb-confirm-dialog__title{color:#f3f4f6}.ebb-confirm-dialog__text{font-size:13px;color:#6b7280;margin:0 0 24px;line-height:1.5}.ebb-confirm-dialog__actions{display:flex;gap:10px;justify-content:center}.ebb-confirm-dialog__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 20px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;border:none;transition:all .15s ease}.ebb-confirm-dialog__btn--cancel{background:#f3f4f6;color:#374151}html[data-theme=dark] .ebb-confirm-dialog__btn--cancel{background:#374151;color:#d1d5db}.ebb-confirm-dialog__btn--cancel:hover{background:#e5e7eb}html[data-theme=dark] .ebb-confirm-dialog__btn--cancel:hover{background:#4b5563}.ebb-confirm-dialog__btn--confirm{background:var(--ee-primary, #01A8AB);color:#fff}.ebb-confirm-dialog__btn--confirm:hover{background:var(--ee-primary-hover, #019193)}.ebb-confirm-fade-enter-active,.ebb-confirm-fade-leave-active{transition:opacity .2s ease}.ebb-confirm-fade-enter-active .ebb-confirm-dialog,.ebb-confirm-fade-leave-active .ebb-confirm-dialog{transition:transform .2s ease}.ebb-confirm-fade-enter-from,.ebb-confirm-fade-leave-to{opacity:0}.ebb-confirm-fade-enter-from .ebb-confirm-dialog,.ebb-confirm-fade-leave-to .ebb-confirm-dialog{transform:scale(.95)}.ebb-blocks-panel{display:flex;flex-direction:column;height:100%}.ebb-blocks-panel__search{display:flex;align-items:center;gap:8px;padding:8px 12px;margin:8px 12px;background:#f3f4f6;border-radius:8px;color:#9ca3af;flex-shrink:0}html[data-theme=dark] .ebb-blocks-panel__search{background:#111827}.ebb-blocks-panel__search-input{flex:1;border:none;background:transparent;font-size:12px;color:#374151;outline:none}html[data-theme=dark] .ebb-blocks-panel__search-input{color:#d1d5db}.ebb-blocks-panel__search-input::placeholder{color:#9ca3af}.ebb-blocks-panel__search-clear{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:#d1d5db;color:#fff;border-radius:50%;cursor:pointer;padding:0}html[data-theme=dark] .ebb-blocks-panel__search-clear{background:#4b5563}.ebb-blocks-panel__list{flex:1;overflow-y:auto;mask-image:linear-gradient(to bottom,black calc(100% - 24px),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,black calc(100% - 24px),transparent 100%)}.ebb-blocks-panel__list::-webkit-scrollbar{width:4px}.ebb-blocks-panel__list::-webkit-scrollbar-track{background:transparent}.ebb-blocks-panel__list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}html[data-theme=dark] .ebb-blocks-panel__list::-webkit-scrollbar-thumb{background:#4b5563}.ebb-blocks-panel__empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;color:#9ca3af;text-align:center}.ebb-blocks-panel__empty p{font-size:12px;margin:0}.ebb-blocks-panel__templates{border-bottom:1px solid #e5e7eb;margin-bottom:4px}html[data-theme=dark] .ebb-blocks-panel__templates{border-bottom-color:#374151}.ebb-blocks-panel__templates-toggle{display:flex;align-items:center;gap:6px;width:100%;padding:10px 12px;font-size:12px;font-weight:600;color:#374151;background:transparent;border:none;cursor:pointer;text-align:left}html[data-theme=dark] .ebb-blocks-panel__templates-toggle{color:#d1d5db}.ebb-blocks-panel__templates-toggle:hover{background:#f9fafb}html[data-theme=dark] .ebb-blocks-panel__templates-toggle:hover{background:#111827}.ebb-prop-group{border-bottom:1px solid #f3f4f6}html[data-theme=dark] .ebb-prop-group{border-bottom-color:#374151}.ebb-prop-group__header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;background:transparent;border:none;cursor:pointer;transition:color .15s}.ebb-prop-group__header:hover{color:#374151}html[data-theme=dark] .ebb-prop-group__header:hover{color:#d1d5db}.ebb-prop-group__body{padding:0 16px 12px;display:flex;flex-direction:column;gap:10px}.ebb-prop-group__field{display:flex;flex-direction:column;gap:4px}.ebb-prop-group__label{font-size:11px;font-weight:500;color:#6b7280}html[data-theme=dark] .ebb-prop-group__label{color:#9ca3af}.ebb-prop-group__text-input{width:100%;padding:6px 8px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;transition:border-color .15s}html[data-theme=dark] .ebb-prop-group__text-input{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-prop-group__text-input:focus{outline:none;border-color:var(--ee-primary);box-shadow:0 0 0 2px #01a8ab1a}.ebb-prop-group__select{width:100%;padding:6px 8px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;cursor:pointer}html[data-theme=dark] .ebb-prop-group__select{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-prop-group__select:focus{outline:none;border-color:var(--ee-primary)}.ebb-prop-group__color{display:flex;gap:6px;align-items:center}.ebb-prop-group__color-input{width:32px;height:32px;padding:2px;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;background:none;flex-shrink:0}.ebb-prop-group__number{display:flex;align-items:center;gap:4px}.ebb-prop-group__unit{font-size:11px;color:#9ca3af;flex-shrink:0}.ebb-prop-group__alignment{display:flex;gap:2px}.ebb-prop-group__align-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:28px;border:1px solid #e5e7eb;background:#fff;color:#9ca3af;cursor:pointer;transition:all .15s}.ebb-prop-group__align-btn:first-child{border-radius:6px 0 0 6px}.ebb-prop-group__align-btn:last-child{border-radius:0 6px 6px 0}.ebb-prop-group__align-btn--active{background:#01a8ab1a;border-color:var(--ee-primary);color:var(--ee-primary)}html[data-theme=dark] .ebb-prop-group__align-btn{background:#1f2937;border-color:#374151}html[data-theme=dark] .ebb-prop-group__align-btn--active{background:#01a8ab26;border-color:var(--ee-primary);color:var(--ee-primary)}.ebb-prop-group__toggle-btn{padding:4px 12px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .15s}.ebb-prop-group__toggle-btn--active{background:#01a8ab1a;border-color:var(--ee-primary);color:var(--ee-primary)}.ebb-prop-group__image{display:flex;flex-direction:column;gap:6px}.ebb-prop-group__image-preview{position:relative;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden;background:#f9fafb}html[data-theme=dark] .ebb-prop-group__image-preview{border-color:#374151;background:#1f2937}.ebb-prop-group__image-thumb{display:block;width:100%;max-height:120px;object-fit:contain;background:repeating-conic-gradient(#e5e7eb 0% 25%,transparent 0% 50%) 50% / 12px 12px}html[data-theme=dark] .ebb-prop-group__image-thumb{background:repeating-conic-gradient(#374151 0% 25%,transparent 0% 50%) 50% / 12px 12px}.ebb-prop-group__image-actions{display:flex;gap:4px;padding:4px;justify-content:flex-end;background:#ffffffe6;border-top:1px solid #e5e7eb}html[data-theme=dark] .ebb-prop-group__image-actions{background:#1f2937e6;border-top-color:#374151}.ebb-prop-group__image-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #e5e7eb;border-radius:4px;background:#fff;color:#6b7280;cursor:pointer;transition:all .15s}html[data-theme=dark] .ebb-prop-group__image-btn{background:#1f2937;border-color:#374151;color:#9ca3af}.ebb-prop-group__image-btn:hover{border-color:var(--ee-primary, #01A8AB);color:var(--ee-primary, #01A8AB)}.ebb-prop-group__image-btn--danger:hover{border-color:#ef4444;color:#ef4444}.ebb-prop-group__image-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px 8px;border:2px dashed #d1d5db;border-radius:6px;background:#f9fafb;color:#9ca3af;cursor:pointer;transition:all .2s;text-align:center}html[data-theme=dark] .ebb-prop-group__image-dropzone{border-color:#4b5563;background:#111827;color:#6b7280}.ebb-prop-group__image-dropzone:hover,.ebb-prop-group__image-dropzone--active{border-color:var(--ee-primary, #01A8AB);background:#01a8ab0d;color:var(--ee-primary, #01A8AB)}.ebb-prop-group__image-dropzone--uploading{pointer-events:none;opacity:.7}.ebb-prop-group__image-drop-text{font-size:11px;line-height:1.3}.ebb-prop-group__image-spinner{animation:ebb-spin 1s linear infinite}@keyframes ebb-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ebb-prop-group__image-url{display:flex;gap:4px;align-items:center}.ebb-prop-group__image-url .ebb-prop-group__text-input{flex:1}.ebb-prop-group__image-browse-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .15s}html[data-theme=dark] .ebb-prop-group__image-browse-btn{background:#1f2937;border-color:#374151;color:#9ca3af}.ebb-prop-group__image-browse-btn:hover{border-color:var(--ee-primary, #01A8AB);color:var(--ee-primary, #01A8AB)}.ebb-prop-group__image-error{font-size:11px;color:#ef4444;padding:2px 0}.ebb-properties{padding:0}.ebb-properties__header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb}html[data-theme=dark] .ebb-properties__header{background:#111827;border-bottom-color:#374151}.ebb-properties__type{font-size:13px;font-weight:600;color:var(--ee-primary)}.ebb-properties__close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:4px}.ebb-properties__close:hover{background:#f3f4f6;color:#374151}.ebb-properties__content-group{padding:12px 16px;border-bottom:1px solid #f3f4f6}html[data-theme=dark] .ebb-properties__content-group{border-bottom-color:#374151}.ebb-properties__label{display:block;font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}html[data-theme=dark] .ebb-properties__label{color:#9ca3af}.ebb-properties__textarea{width:100%;padding:8px;font-size:12px;font-family:monospace;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;resize:vertical;box-sizing:border-box}html[data-theme=dark] .ebb-properties__textarea{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-properties__textarea:focus{outline:none;border-color:var(--ee-primary);box-shadow:0 0 0 2px #01a8ab1a}.ebb-global-styles{padding:0}.ebb-global-styles__header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb;font-size:13px;font-weight:600;color:var(--ee-primary)}html[data-theme=dark] .ebb-global-styles__header{background:#111827;border-bottom-color:#374151}.ebb-global-styles__section{border-bottom:1px solid #f3f4f6;padding:0}html[data-theme=dark] .ebb-global-styles__section{border-bottom-color:#1f2937}.ebb-global-styles__section-title{display:flex;align-items:center;gap:6px;padding:10px 16px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;background:#fafafa}html[data-theme=dark] .ebb-global-styles__section-title{background:#111827;color:#9ca3af}.ebb-global-styles__field{padding:8px 16px 12px}.ebb-global-styles__label{display:block;font-size:11px;font-weight:600;color:#6b7280;margin-bottom:4px}html[data-theme=dark] .ebb-global-styles__label{color:#9ca3af}.ebb-global-styles__hint{font-size:10px;color:#9ca3af;margin:4px 0 0;line-height:1.4}.ebb-global-styles__input{width:100%;padding:7px 10px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;outline:none;transition:border-color .15s ease}html[data-theme=dark] .ebb-global-styles__input{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-global-styles__input:focus{border-color:var(--ee-primary);box-shadow:0 0 0 2px #01a8ab1a}.ebb-global-styles__input--short{flex:1}.ebb-global-styles__select{width:100%;padding:7px 10px;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;box-sizing:border-box;outline:none;cursor:pointer}html[data-theme=dark] .ebb-global-styles__select{background:#1f2937;border-color:#374151;color:#d1d5db}.ebb-global-styles__select:focus{border-color:var(--ee-primary)}.ebb-global-styles__color-row{display:flex;align-items:center;gap:8px;margin-top:4px}.ebb-global-styles__color-input{width:36px;height:36px;border:2px solid #e5e7eb;border-radius:8px;padding:2px;cursor:pointer;background:transparent;flex-shrink:0}html[data-theme=dark] .ebb-global-styles__color-input{border-color:#374151}.ebb-global-styles__color-input::-webkit-color-swatch-wrapper{padding:0}.ebb-global-styles__color-input::-webkit-color-swatch{border:none;border-radius:4px}.ebb-global-styles__tip{display:flex;align-items:center;gap:8px;padding:16px;color:#9ca3af;font-size:11px;line-height:1.4}.ebb-properties__breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:6px 16px;border-bottom:1px solid #f3f4f6}html[data-theme=dark] .ebb-properties__breadcrumb{border-bottom-color:#374151}.ebb-properties__breadcrumb-sep{font-size:10px;color:#d1d5db}html[data-theme=dark] .ebb-properties__breadcrumb-sep{color:#4b5563}.ebb-properties__breadcrumb-item{font-size:11px;color:#6b7280;background:none;border:none;padding:2px 6px;border-radius:3px;cursor:pointer;transition:all .1s ease}.ebb-properties__breadcrumb-item:hover{background:#f3f4f6;color:#111827}html[data-theme=dark] .ebb-properties__breadcrumb-item:hover{background:#374151;color:#f3f4f6}.ebb-properties__breadcrumb-item--active{color:var(--ee-primary);font-weight:600}.ebb-layers{padding:0}.ebb-layers__header{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:600;color:var(--ee-primary);border-bottom:1px solid var(--ee-border);background:var(--ee-panel-header-bg)}html[data-theme=dark] .ebb-layers__header{background:#111827;border-bottom-color:#374151}.ebb-layers__count{font-size:10px;font-weight:500;color:#9ca3af;background:#f3f4f6;border-radius:10px;padding:1px 7px;margin-left:auto}html[data-theme=dark] .ebb-layers__count{background:#1f2937}.ebb-layers__tree{padding:4px 0}.ebb-layers__node{display:flex;align-items:center;gap:4px;padding:5px 12px 5px 8px;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:background .1s ease;-webkit-user-select:none;user-select:none;border-left:2px solid transparent}html[data-theme=dark] .ebb-layers__node{color:#d1d5db}.ebb-layers__node:hover{background:#f9fafb}html[data-theme=dark] .ebb-layers__node:hover{background:#111827}.ebb-layers__node--hovered{background:#01a8ab0a}.ebb-layers__node--selected{background:#01a8ab14;border-left-color:var(--ee-primary);color:var(--ee-primary)}.ebb-layers__node--selected:hover{background:#01a8ab1f}.ebb-layers__node--indent-1{padding-left:24px}.ebb-layers__node--indent-2{padding-left:40px}.ebb-layers__toggle{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:3px;padding:0;flex-shrink:0}.ebb-layers__toggle:hover{background:#e5e7eb;color:#374151}html[data-theme=dark] .ebb-layers__toggle:hover{background:#374151;color:#d1d5db}.ebb-layers__toggle-spacer{width:16px;flex-shrink:0}.ebb-layers__icon{display:inline-flex;align-items:center;flex-shrink:0}.ebb-layers__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.ebb-layers__actions{display:none;align-items:center;gap:1px;margin-left:auto;flex-shrink:0}.ebb-layers__node:hover .ebb-layers__actions{display:flex}.ebb-layers__action-btn{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:3px;padding:0}.ebb-layers__action-btn:hover{background:#e5e7eb;color:#374151}html[data-theme=dark] .ebb-layers__action-btn:hover{background:#374151;color:#d1d5db}.ebb-layers__action-btn--danger:hover{background:#fee2e2;color:#dc2626}html[data-theme=dark] .ebb-layers__action-btn--danger:hover{background:#450a0a;color:#f87171}.ebb-layers__empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;text-align:center;color:#9ca3af}.ebb-layers__empty p{font-size:12px;margin:0;line-height:1.5}.ebb-sidebar{width:300px;flex-shrink:0;display:flex;flex-direction:column;background:#fff;border-left:1px solid #e5e7eb}html[data-theme=dark] .ebb-sidebar{background:#1f2937;border-left-color:#374151}.ebb-sidebar__tabs{display:flex;border-bottom:1px solid #e5e7eb;flex-shrink:0}html[data-theme=dark] .ebb-sidebar__tabs{border-bottom-color:#374151}.ebb-sidebar__tab{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 0;font-size:12px;font-weight:500;color:#9ca3af;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .15s ease}.ebb-sidebar__tab:hover{color:#374151;background:#f9fafb}html[data-theme=dark] .ebb-sidebar__tab:hover{color:#d1d5db;background:#111827}.ebb-sidebar__tab--active{color:var(--ee-primary);border-bottom-color:var(--ee-primary)}.ebb-sidebar__tab--active:hover{color:var(--ee-primary)}.ebb-sidebar__content{flex:1;overflow-y:auto;overflow-x:hidden}.ebb-sidebar__content::-webkit-scrollbar{width:4px}.ebb-sidebar__content::-webkit-scrollbar-track{background:transparent}.ebb-sidebar__content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.ebb-label{display:block;font-size:14px;font-weight:500;color:var(--ee-text-primary, #374151);margin-bottom:8px}.ebb-label__required{color:var(--ee-error, #ef4444)}.ebb-alert{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border:1px solid #fca5a5;border-radius:8px;background:#fef2f2;color:#991b1b;font-size:13px;margin-bottom:12px}html[data-theme=dark] .ebb-alert{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}.ebb-alert p{margin:4px 0 0;font-size:12px}.ebb-shell{border:1px solid var(--ee-border, #e5e7eb);border-radius:12px;overflow:hidden;background:var(--ee-panel-header-bg, #f9fafb);box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a;display:flex;flex-direction:column;height:calc(100vh - 180px);min-height:500px;font-family:var(--ee-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);font-size:var(--ee-font-size, 13px)}.ebb-shell--fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;height:100vh;border-radius:0;border:none}.ebb-main{display:flex;flex:1;min-height:0;overflow:hidden}.ebb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ebb-sr-only--focusable:focus{position:static;width:auto;height:auto;padding:8px 16px;margin:0;overflow:visible;clip:auto;white-space:normal;background:var(--ee-primary);color:#fff;font-size:13px;font-weight:600;z-index:100}.ebb-inline-toolbar{display:flex;align-items:center;gap:2px;padding:4px 6px;background:#1f2937;border-radius:8px;box-shadow:0 4px 16px #00000040;-webkit-user-select:none;user-select:none}.ebb-inline-toolbar__btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:#d1d5db;cursor:pointer;border-radius:4px;transition:all .1s ease}.ebb-inline-toolbar__btn:hover{background:#ffffff1a;color:#fff}.ebb-inline-toolbar__btn--active{background:#01a8ab4d;color:var(--ee-primary)}.ebb-inline-toolbar__sep{width:1px;height:18px;background:#374151;margin:0 2px}.ebb-inline-toolbar__color{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;cursor:pointer;color:#d1d5db;position:relative}.ebb-inline-toolbar__color:hover{color:#fff}.ebb-inline-toolbar__color input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%;height:100%}.ebb-inline-toolbar__merge-wrap{position:relative}.ebb-merge-menu{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);min-width:200px;max-height:240px;overflow-y:auto;background:#1f2937;border:1px solid #374151;border-radius:8px;box-shadow:0 8px 24px #00000059;padding:4px;z-index:10}.ebb-merge-menu__category{padding:6px 10px 2px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af}.ebb-merge-menu__item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:6px 10px;border:none;background:transparent;color:#d1d5db;font-size:12px;cursor:pointer;border-radius:4px;text-align:left}.ebb-merge-menu__item:hover{background:#ffffff1a;color:#fff}.ebb-merge-menu__name{flex:1;white-space:nowrap}.ebb-merge-menu__value{font-family:monospace;font-size:10px;color:#6b7280;white-space:nowrap}.ebb-inline-toolbar__ai-wrap{position:relative}.ebb-inline-toolbar__btn--ai{color:#a78bfa}.ebb-inline-toolbar__btn--ai:hover{color:#c4b5fd;background:#a78bfa26}.ebb-inline-toolbar__btn--loading{opacity:.6;cursor:wait;animation:ebb-ai-spin 1s linear infinite}@keyframes ebb-ai-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ebb-ai-menu{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);min-width:180px;background:#1f2937;border:1px solid #374151;border-radius:8px;box-shadow:0 8px 24px #00000059;padding:4px;z-index:10}.ebb-ai-menu__item{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:none;background:transparent;color:#d1d5db;font-size:12px;cursor:pointer;border-radius:4px;text-align:left}.ebb-ai-menu__item:hover{background:#a78bfa26;color:#fff}.ebb-ai-menu__prompt{display:flex;align-items:center;gap:4px;padding:4px;border-top:1px solid #374151;margin-top:4px}.ebb-ai-menu__prompt-input{flex:1;padding:5px 8px;border:1px solid #4b5563;border-radius:4px;background:#111827;color:#e5e7eb;font-size:11px;outline:none}.ebb-ai-menu__prompt-input:focus{border-color:#a78bfa}.ebb-ai-menu__prompt-input::placeholder{color:#6b7280}.ebb-ai-menu__prompt-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:#a78bfa;color:#fff;border-radius:4px;cursor:pointer;flex-shrink:0}.ebb-ai-menu__prompt-btn:hover{background:#8b5cf6}.ebb-ai-menu__prompt-btn:disabled{opacity:.4;cursor:not-allowed}.ebb-inline-editor-wrapper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20}.ebb-inline-editor__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.ebb-inline-editor__toolbar-pos{position:absolute;z-index:2;display:flex;justify-content:center}.ebb-inline-editor{position:absolute;z-index:1;background:#fff;border:2px solid var(--ee-primary);border-radius:4px;overflow:auto;box-shadow:0 4px 16px #00000026}.ebb-inline-editor__content{outline:none;padding:4px 8px;min-height:24px;font-family:Helvetica,Arial,sans-serif;font-size:14px;color:#333;line-height:1.5}.ebb-inline-editor__content p{margin:0}.ebb-inline-editor__content a{color:var(--ee-primary);text-decoration:underline}.ebb-inline-editor__content h1,.ebb-inline-editor__content h2,.ebb-inline-editor__content h3,.ebb-inline-editor__content h4{margin:0;line-height:1.3}.ebb-merge-tag{display:inline-flex;align-items:center;padding:1px 6px;margin:0 1px;background:#01a8ab1f;border:1px solid rgba(1,168,171,.3);border-radius:3px;font-size:.9em;color:var(--ee-primary, #01A8AB);font-weight:500;white-space:nowrap;cursor:default;-webkit-user-select:all;user-select:all;vertical-align:baseline;line-height:1.4}.ebb-merge-tag:hover{background:#01a8ab33;border-color:#01a8ab80}.ebb-merge-tag.ProseMirror-selectednode{outline:2px solid var(--ee-primary, #01A8AB);outline-offset:1px}.ebb-code-editor{flex:1;overflow:hidden;background:#282c34}.ebb-code-editor .cm-editor{height:100%}
@@ -2,6 +2,7 @@ import { Component } from 'vue';
2
2
  import { ComponentOptionsMixin } from 'vue';
3
3
  import { ComponentProvideOptions } from 'vue';
4
4
  import { DefineComponent } from 'vue';
5
+ import { Node as Node_2 } from '@tiptap/core';
5
6
  import { PublicProps } from 'vue';
6
7
  import { Ref } from 'vue';
7
8
 
@@ -14,8 +15,23 @@ declare type __VLS_Props = {
14
15
  required?: boolean;
15
16
  theme?: Partial<ThemeConfig>;
16
17
  plugins?: Plugin_2[];
18
+ onImageUpload?: ImageUploadHandler;
19
+ onBrowseAssets?: BrowseAssetsHandler;
20
+ mergeTags?: MergeTag[];
21
+ aiProvider?: AiProvider;
17
22
  };
18
23
 
24
+ export declare interface AiProvider {
25
+ /** Generate text from a prompt and optional context */
26
+ generateText: (prompt: string, context?: string) => Promise<string>;
27
+ /** Generate subject line suggestions from email content */
28
+ generateSubjectLine?: (emailContent: string) => Promise<string[]>;
29
+ /** Improve existing text with an instruction */
30
+ improveText?: (text: string, instruction: string) => Promise<string>;
31
+ }
32
+
33
+ export declare const AWS_SES_PRESET: EspPreset;
34
+
19
35
  export declare type BlockCategory = string;
20
36
 
21
37
  export declare interface BlockCategoryDefinition {
@@ -39,11 +55,24 @@ export declare interface BlockDefinition {
39
55
  factory: () => EmailNode | EmailNode[];
40
56
  }
41
57
 
58
+ export declare const BREVO_PRESET: EspPreset;
59
+
60
+ export declare type BrowseAssetsHandler = () => Promise<string | null>;
61
+
42
62
  /** Deep clone a subtree, generating fresh IDs for every node. */
43
63
  export declare function cloneSubtree(node: EmailNode): EmailNode;
44
64
 
45
65
  export declare function compileMjml(source: string): Promise<MjmlCompilationResult>;
46
66
 
67
+ export declare interface ConditionalRule {
68
+ /** Merge tag value to check, e.g. "{{plan}}" */
69
+ variable: string;
70
+ /** Comparison operator */
71
+ operator: 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'exists' | 'not_exists';
72
+ /** Value to compare against (not used for exists/not_exists) */
73
+ value?: string;
74
+ }
75
+
47
76
  /** Node types that are structural containers */
48
77
  export declare const CONTAINER_NODE_TYPES: EmailNodeType[];
49
78
 
@@ -294,6 +323,41 @@ export declare interface EditorLabels {
294
323
  section_label: string;
295
324
  column_label: string;
296
325
  empty_canvas_hint: string;
326
+ merge_tags: string;
327
+ merge_tags_empty: string;
328
+ insert_merge_tag: string;
329
+ image_upload: string;
330
+ image_browse: string;
331
+ image_drop_hint: string;
332
+ image_uploading: string;
333
+ image_upload_error: string;
334
+ image_max_size: string;
335
+ image_invalid_type: string;
336
+ image_remove: string;
337
+ image_change: string;
338
+ image_no_preview: string;
339
+ condition: string;
340
+ condition_add: string;
341
+ condition_remove: string;
342
+ condition_variable: string;
343
+ condition_operator: string;
344
+ condition_value: string;
345
+ condition_equals: string;
346
+ condition_not_equals: string;
347
+ condition_contains: string;
348
+ condition_not_contains: string;
349
+ condition_exists: string;
350
+ condition_not_exists: string;
351
+ condition_active: string;
352
+ ai_generate: string;
353
+ ai_improve: string;
354
+ ai_shorten: string;
355
+ ai_expand: string;
356
+ ai_translate: string;
357
+ ai_prompt_placeholder: string;
358
+ ai_loading: string;
359
+ ai_error: string;
360
+ dark_mode_preview: string;
297
361
  loading: string;
298
362
  bold: string;
299
363
  italic: string;
@@ -356,6 +420,10 @@ off: <K extends keyof EditorEventMap>(event: K, handler: (payload: EditorEventMa
356
420
  }>, {
357
421
  label: string;
358
422
  required: boolean;
423
+ mergeTags: MergeTag[];
424
+ aiProvider: AiProvider;
425
+ onImageUpload: ImageUploadHandler;
426
+ onBrowseAssets: BrowseAssetsHandler;
359
427
  theme: Partial<ThemeConfig>;
360
428
  designJson: Record<string, unknown> | null;
361
429
  variables: string[];
@@ -405,10 +473,67 @@ export declare interface EmailNode {
405
473
  children: EmailNode[];
406
474
  /** Inner HTML content — only for mj-text and mj-button */
407
475
  htmlContent?: string;
476
+ /** Optional conditional display rule */
477
+ condition?: ConditionalRule;
408
478
  }
409
479
 
410
480
  export declare type EmailNodeType = 'mj-body' | 'mj-section' | 'mj-column' | 'mj-text' | 'mj-image' | 'mj-button' | 'mj-divider' | 'mj-spacer' | 'mj-social' | 'mj-social-element' | 'mj-hero' | 'mj-raw' | 'mj-wrapper';
411
481
 
482
+ export declare const ESP_PRESETS: Record<string, EspPreset>;
483
+
484
+ export declare interface EspExportOptions {
485
+ /** Map of generic variable names to ESP-specific tag formats */
486
+ mergeTags?: Record<string, string>;
487
+ /** Strip editor-internal CSS classes (ebb-node-*) from output */
488
+ stripEditorClasses?: boolean;
489
+ /** Add ESP-specific meta tags or wrapper HTML */
490
+ wrapHtml?: (html: string) => string;
491
+ }
492
+
493
+ export declare interface EspExportResult {
494
+ /** Final HTML ready for the ESP */
495
+ html: string;
496
+ /** MJML source (useful for debugging) */
497
+ mjml: string;
498
+ /** Any compilation errors */
499
+ errors: Array<{
500
+ line: number;
501
+ message: string;
502
+ }>;
503
+ }
504
+
505
+ export declare interface EspPreset {
506
+ /** ESP identifier */
507
+ id: string;
508
+ /** Display name */
509
+ name: string;
510
+ /** Transform a generic merge tag variable to ESP format */
511
+ transformMergeTag: (variable: string) => string;
512
+ /** Apply ESP-specific post-processing to the HTML */
513
+ postProcess?: (html: string) => string;
514
+ }
515
+
516
+ export declare function exportForAwsSes(document: EmailDocument, options?: EspExportOptions): Promise<EspExportResult>;
517
+
518
+ export declare function exportForBrevo(document: EmailDocument, options?: EspExportOptions): Promise<EspExportResult>;
519
+
520
+ /**
521
+ * Export an email document for a specific ESP.
522
+ *
523
+ * @param document - The email document to export
524
+ * @param preset - An EspPreset object or a string key from ESP_PRESETS
525
+ * @param options - Additional export options
526
+ */
527
+ export declare function exportForEsp(document: EmailDocument, preset: EspPreset | string, options?: EspExportOptions): Promise<EspExportResult>;
528
+
529
+ export declare function exportForMailchimp(document: EmailDocument, options?: EspExportOptions): Promise<EspExportResult>;
530
+
531
+ export declare function exportForPostmark(document: EmailDocument, options?: EspExportOptions): Promise<EspExportResult>;
532
+
533
+ export declare function exportForResend(document: EmailDocument, options?: EspExportOptions): Promise<EspExportResult>;
534
+
535
+ export declare function exportForSendGrid(document: EmailDocument, options?: EspExportOptions): Promise<EspExportResult>;
536
+
412
537
  /** Find a node by ID in the tree. Returns null if not found. */
413
538
  export declare function findNode(root: EmailNode, nodeId: NodeId): EmailNode | null;
414
539
 
@@ -417,9 +542,33 @@ export declare function findParent(root: EmailNode, nodeId: NodeId): EmailNode |
417
542
 
418
543
  export declare const FR_LABELS: EditorLabels;
419
544
 
545
+ export declare type ImageUploadHandler = (file: File) => Promise<ImageUploadResult>;
546
+
547
+ export declare interface ImageUploadResult {
548
+ /** The URL of the uploaded image */
549
+ url: string;
550
+ }
551
+
420
552
  /** Type guard for detecting new editor format vs old GrapesJS */
421
553
  export declare function isNewEditorJson(data: unknown): data is EmailDesignJson;
422
554
 
555
+ export declare const MAILCHIMP_PRESET: EspPreset;
556
+
557
+ export declare interface MergeTag {
558
+ /** Display name, e.g. "First Name" */
559
+ name: string;
560
+ /** Template value inserted into HTML, e.g. "{{first_name}}" */
561
+ value: string;
562
+ /** Optional category for grouping, e.g. "Contact" */
563
+ category?: string;
564
+ }
565
+
566
+ export declare const MergeTagExtension: Node_2<MergeTagOptions, any>;
567
+
568
+ declare interface MergeTagOptions {
569
+ HTMLAttributes: Record<string, unknown>;
570
+ }
571
+
423
572
  export declare interface MjmlCompilationResult {
424
573
  html: string;
425
574
  errors: MjmlError[];
@@ -457,6 +606,8 @@ export declare interface PluginContext {
457
606
  labels: Ref<EditorLabels>;
458
607
  }
459
608
 
609
+ export declare const POSTMARK_PRESET: EspPreset;
610
+
460
611
  declare interface PropertyDefinition_2 {
461
612
  /** The MJML attribute name */
462
613
  key: string;
@@ -484,9 +635,13 @@ export declare type PropertyType = 'text' | 'number' | 'color' | 'select' | 'pad
484
635
  /** Remove a node from the tree by ID. Returns true if removed. */
485
636
  export declare function removeNode(root: EmailNode, nodeId: NodeId): boolean;
486
637
 
638
+ export declare const RESEND_PRESET: EspPreset;
639
+
487
640
  /** Node types that are self-closing (no children, no htmlContent) */
488
641
  export declare const SELF_CLOSING_NODE_TYPES: EmailNodeType[];
489
642
 
643
+ export declare const SENDGRID_PRESET: EspPreset;
644
+
490
645
  export declare interface SidebarPanel {
491
646
  id: string;
492
647
  label: string;
@@ -495,9 +650,27 @@ export declare interface SidebarPanel {
495
650
  order?: number;
496
651
  }
497
652
 
653
+ export declare const STARTER_TEMPLATES: StarterTemplate[];
654
+
655
+ export declare interface StarterTemplate {
656
+ id: string;
657
+ label: string;
658
+ description: string;
659
+ icon: string;
660
+ /** Color accent for the template card */
661
+ color: string;
662
+ /** Template category for filtering */
663
+ category: TemplateCategory;
664
+ /** Search/filter tags */
665
+ tags: string[];
666
+ factory: () => EmailDocument;
667
+ }
668
+
498
669
  /** All static blocks (layout + content + composite) */
499
670
  export declare const STATIC_BLOCKS: BlockDefinition[];
500
671
 
672
+ declare type TemplateCategory = 'marketing' | 'transactionnel' | 'engagement' | 'evenement' | 'industrie';
673
+
501
674
  export declare interface ThemeConfig {
502
675
  primaryColor?: string;
503
676
  primaryHover?: string;
@@ -538,3 +711,15 @@ export declare interface ToolbarAction {
538
711
  }
539
712
 
540
713
  export { }
714
+
715
+
716
+ declare module '@tiptap/core' {
717
+ interface Commands<ReturnType> {
718
+ mergeTag: {
719
+ insertMergeTag: (attrs: {
720
+ label: string;
721
+ value: string;
722
+ }) => ReturnType;
723
+ };
724
+ }
725
+ }
@@ -1,32 +1,48 @@
1
- import { C as s, a as t, D as r, c as o, _ as c, F as E, S as m, e as S, f as T, g as i, h as n, i as N, j as _, l as d, n as l, o as D, p as L, q as u, r as C, t as O, u as p, d as A, v as f, w as F, x as j, m as v, y as B, z as I } from "./index-CJIiXHwY.js";
1
+ import { A as s, B as E, C as r, c as o, D as t, e as S, f as T, g as c, F as _, h as m, M as P, P as R, R as i, S as n, i as p, j as N, k as d, l as A, n as D, o as F, p as L, q as l, r as x, s as M, t as O, u, v as C, w as I, x as B, y as f, d as v, z as g, G as j, H as G, I as H, J as w, K, L as U, N as Y, O as h, Q as k, m as J, T as W, U as b } from "./index-Cplw1OsP.js";
2
2
  export {
3
- s as CONTAINER_NODE_TYPES,
4
- t as CONTENT_NODE_TYPES,
5
- r as DEFAULT_LABELS,
6
- o as DEFAULT_THEME,
3
+ s as AWS_SES_PRESET,
4
+ E as BREVO_PRESET,
5
+ r as CONTAINER_NODE_TYPES,
6
+ o as CONTENT_NODE_TYPES,
7
+ t as DEFAULT_LABELS,
8
+ S as DEFAULT_THEME,
9
+ T as ESP_PRESETS,
7
10
  c as EmailEditor,
8
- E as FR_LABELS,
9
- m as SELF_CLOSING_NODE_TYPES,
10
- S as STATIC_BLOCKS,
11
- T as cloneSubtree,
12
- i as compileMjml,
13
- n as createButton,
14
- N as createColumn,
15
- _ as createDefaultDocument,
16
- d as createDivider,
17
- l as createHero,
18
- D as createImage,
19
- L as createSection,
20
- u as createSocial,
21
- C as createSpacer,
22
- O as createText,
23
- p as createWrapper,
24
- A as documentToMjml,
25
- f as findNode,
26
- F as findParent,
27
- j as isNewEditorJson,
28
- v as mjmlToDocument,
29
- B as moveNode,
30
- I as removeNode
11
+ _ as FR_LABELS,
12
+ m as MAILCHIMP_PRESET,
13
+ P as MergeTagExtension,
14
+ R as POSTMARK_PRESET,
15
+ i as RESEND_PRESET,
16
+ n as SELF_CLOSING_NODE_TYPES,
17
+ p as SENDGRID_PRESET,
18
+ N as STARTER_TEMPLATES,
19
+ d as STATIC_BLOCKS,
20
+ A as cloneSubtree,
21
+ D as compileMjml,
22
+ F as createButton,
23
+ L as createColumn,
24
+ l as createDefaultDocument,
25
+ x as createDivider,
26
+ M as createHero,
27
+ O as createImage,
28
+ u as createSection,
29
+ C as createSocial,
30
+ I as createSpacer,
31
+ B as createText,
32
+ f as createWrapper,
33
+ v as documentToMjml,
34
+ g as exportForAwsSes,
35
+ j as exportForBrevo,
36
+ G as exportForEsp,
37
+ H as exportForMailchimp,
38
+ w as exportForPostmark,
39
+ K as exportForResend,
40
+ U as exportForSendGrid,
41
+ Y as findNode,
42
+ h as findParent,
43
+ k as isNewEditorJson,
44
+ J as mjmlToDocument,
45
+ W as moveNode,
46
+ b as removeNode
31
47
  };
32
48
  //# sourceMappingURL=email-editor.js.map