easy-email-pro-theme 1.59.3 → 1.59.4

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/lib/index.js CHANGED
@@ -8443,7 +8443,7 @@ const BlockSideBar = ({ height }) => {
8443
8443
  destroyOnHide: true,
8444
8444
  key: "AI-Agent",
8445
8445
  className: "easy-email-pro-block-sidebar-ai-agent",
8446
- title: /* @__PURE__ */ React__default.createElement("div", { className: "easy-email-pro-block-sidebar-ai-agent-title" }, t("AI"))
8446
+ title: /* @__PURE__ */ React__default.createElement("div", { className: "easy-email-pro-block-sidebar-ai-agent-title" }, t("Agent"))
8447
8447
  },
8448
8448
  /* @__PURE__ */ React__default.createElement(
8449
8449
  SharedComponents.FullHeightOverlayScrollbars,
@@ -10070,55 +10070,55 @@ const createLucideIcon = (iconName, iconNode) => {
10070
10070
  * This source code is licensed under the ISC license.
10071
10071
  * See the LICENSE file in the root directory of this source tree.
10072
10072
  */
10073
- const __iconNode$q = [
10073
+ const __iconNode$r = [
10074
10074
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10075
10075
  ["polyline", { points: "12 6 12 12 16 14", key: "68esgv" }]
10076
10076
  ];
10077
- const Clock = createLucideIcon("Clock", __iconNode$q);
10077
+ const Clock = createLucideIcon("Clock", __iconNode$r);
10078
10078
  /**
10079
10079
  * @license lucide-react v0.483.0 - ISC
10080
10080
  *
10081
10081
  * This source code is licensed under the ISC license.
10082
10082
  * See the LICENSE file in the root directory of this source tree.
10083
10083
  */
10084
- const __iconNode$p = [
10084
+ const __iconNode$q = [
10085
10085
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
10086
10086
  ["path", { d: "M12 3v18", key: "108xh3" }]
10087
10087
  ];
10088
- const Columns2 = createLucideIcon("Columns2", __iconNode$p);
10088
+ const Columns2 = createLucideIcon("Columns2", __iconNode$q);
10089
10089
  /**
10090
10090
  * @license lucide-react v0.483.0 - ISC
10091
10091
  *
10092
10092
  * This source code is licensed under the ISC license.
10093
10093
  * See the LICENSE file in the root directory of this source tree.
10094
10094
  */
10095
- const __iconNode$o = [
10095
+ const __iconNode$p = [
10096
10096
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
10097
10097
  ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
10098
10098
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
10099
10099
  ];
10100
- const Ellipsis = createLucideIcon("Ellipsis", __iconNode$o);
10100
+ const Ellipsis = createLucideIcon("Ellipsis", __iconNode$p);
10101
10101
  /**
10102
10102
  * @license lucide-react v0.483.0 - ISC
10103
10103
  *
10104
10104
  * This source code is licensed under the ISC license.
10105
10105
  * See the LICENSE file in the root directory of this source tree.
10106
10106
  */
10107
- const __iconNode$n = [
10107
+ const __iconNode$o = [
10108
10108
  ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
10109
10109
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
10110
10110
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
10111
10111
  ["path", { d: "M16 13H8", key: "t4e002" }],
10112
10112
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
10113
10113
  ];
10114
- const FileText = createLucideIcon("FileText", __iconNode$n);
10114
+ const FileText = createLucideIcon("FileText", __iconNode$o);
10115
10115
  /**
10116
10116
  * @license lucide-react v0.483.0 - ISC
10117
10117
  *
10118
10118
  * This source code is licensed under the ISC license.
10119
10119
  * See the LICENSE file in the root directory of this source tree.
10120
10120
  */
10121
- const __iconNode$m = [
10121
+ const __iconNode$n = [
10122
10122
  ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
10123
10123
  ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
10124
10124
  ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
@@ -10126,151 +10126,151 @@ const __iconNode$m = [
10126
10126
  ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
10127
10127
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
10128
10128
  ];
10129
- const GripVertical = createLucideIcon("GripVertical", __iconNode$m);
10129
+ const GripVertical = createLucideIcon("GripVertical", __iconNode$n);
10130
10130
  /**
10131
10131
  * @license lucide-react v0.483.0 - ISC
10132
10132
  *
10133
10133
  * This source code is licensed under the ISC license.
10134
10134
  * See the LICENSE file in the root directory of this source tree.
10135
10135
  */
10136
- const __iconNode$l = [
10136
+ const __iconNode$m = [
10137
10137
  ["path", { d: "M4 12h8", key: "17cfdx" }],
10138
10138
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
10139
10139
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
10140
10140
  ["path", { d: "m17 12 3-2v8", key: "1hhhft" }]
10141
10141
  ];
10142
- const Heading1 = createLucideIcon("Heading1", __iconNode$l);
10142
+ const Heading1 = createLucideIcon("Heading1", __iconNode$m);
10143
10143
  /**
10144
10144
  * @license lucide-react v0.483.0 - ISC
10145
10145
  *
10146
10146
  * This source code is licensed under the ISC license.
10147
10147
  * See the LICENSE file in the root directory of this source tree.
10148
10148
  */
10149
- const __iconNode$k = [
10149
+ const __iconNode$l = [
10150
10150
  ["path", { d: "M4 12h8", key: "17cfdx" }],
10151
10151
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
10152
10152
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
10153
10153
  ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
10154
10154
  ];
10155
- const Heading2 = createLucideIcon("Heading2", __iconNode$k);
10155
+ const Heading2 = createLucideIcon("Heading2", __iconNode$l);
10156
10156
  /**
10157
10157
  * @license lucide-react v0.483.0 - ISC
10158
10158
  *
10159
10159
  * This source code is licensed under the ISC license.
10160
10160
  * See the LICENSE file in the root directory of this source tree.
10161
10161
  */
10162
- const __iconNode$j = [
10162
+ const __iconNode$k = [
10163
10163
  ["path", { d: "M4 12h8", key: "17cfdx" }],
10164
10164
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
10165
10165
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
10166
10166
  ["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2", key: "68ncm8" }],
10167
10167
  ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
10168
10168
  ];
10169
- const Heading3 = createLucideIcon("Heading3", __iconNode$j);
10169
+ const Heading3 = createLucideIcon("Heading3", __iconNode$k);
10170
10170
  /**
10171
10171
  * @license lucide-react v0.483.0 - ISC
10172
10172
  *
10173
10173
  * This source code is licensed under the ISC license.
10174
10174
  * See the LICENSE file in the root directory of this source tree.
10175
10175
  */
10176
- const __iconNode$i = [
10176
+ const __iconNode$j = [
10177
10177
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
10178
10178
  ["path", { d: "M17 10v3a1 1 0 0 0 1 1h3", key: "tj5zdr" }],
10179
10179
  ["path", { d: "M21 10v8", key: "1kdml4" }],
10180
10180
  ["path", { d: "M4 12h8", key: "17cfdx" }],
10181
10181
  ["path", { d: "M4 18V6", key: "1rz3zl" }]
10182
10182
  ];
10183
- const Heading4 = createLucideIcon("Heading4", __iconNode$i);
10183
+ const Heading4 = createLucideIcon("Heading4", __iconNode$j);
10184
10184
  /**
10185
10185
  * @license lucide-react v0.483.0 - ISC
10186
10186
  *
10187
10187
  * This source code is licensed under the ISC license.
10188
10188
  * See the LICENSE file in the root directory of this source tree.
10189
10189
  */
10190
- const __iconNode$h = [
10190
+ const __iconNode$i = [
10191
10191
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
10192
10192
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
10193
10193
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
10194
10194
  ];
10195
- const Image$5 = createLucideIcon("Image", __iconNode$h);
10195
+ const Image$5 = createLucideIcon("Image", __iconNode$i);
10196
10196
  /**
10197
10197
  * @license lucide-react v0.483.0 - ISC
10198
10198
  *
10199
10199
  * This source code is licensed under the ISC license.
10200
10200
  * See the LICENSE file in the root directory of this source tree.
10201
10201
  */
10202
- const __iconNode$g = [
10202
+ const __iconNode$h = [
10203
10203
  ["rect", { width: "20", height: "20", x: "2", y: "2", rx: "5", ry: "5", key: "2e1cvw" }],
10204
10204
  ["path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z", key: "9exkf1" }],
10205
10205
  ["line", { x1: "17.5", x2: "17.51", y1: "6.5", y2: "6.5", key: "r4j83e" }]
10206
10206
  ];
10207
- const Instagram = createLucideIcon("Instagram", __iconNode$g);
10207
+ const Instagram = createLucideIcon("Instagram", __iconNode$h);
10208
10208
  /**
10209
10209
  * @license lucide-react v0.483.0 - ISC
10210
10210
  *
10211
10211
  * This source code is licensed under the ISC license.
10212
10212
  * See the LICENSE file in the root directory of this source tree.
10213
10213
  */
10214
- const __iconNode$f = [
10214
+ const __iconNode$g = [
10215
10215
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
10216
10216
  ["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
10217
10217
  ["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
10218
10218
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
10219
10219
  ];
10220
- const LayoutGrid = createLucideIcon("LayoutGrid", __iconNode$f);
10220
+ const LayoutGrid = createLucideIcon("LayoutGrid", __iconNode$g);
10221
10221
  /**
10222
10222
  * @license lucide-react v0.483.0 - ISC
10223
10223
  *
10224
10224
  * This source code is licensed under the ISC license.
10225
10225
  * See the LICENSE file in the root directory of this source tree.
10226
10226
  */
10227
- const __iconNode$e = [
10227
+ const __iconNode$f = [
10228
10228
  ["rect", { width: "18", height: "7", x: "3", y: "3", rx: "1", key: "f1a2em" }],
10229
10229
  ["rect", { width: "9", height: "7", x: "3", y: "14", rx: "1", key: "jqznyg" }],
10230
10230
  ["rect", { width: "5", height: "7", x: "16", y: "14", rx: "1", key: "q5h2i8" }]
10231
10231
  ];
10232
- const LayoutTemplate = createLucideIcon("LayoutTemplate", __iconNode$e);
10232
+ const LayoutTemplate = createLucideIcon("LayoutTemplate", __iconNode$f);
10233
10233
  /**
10234
10234
  * @license lucide-react v0.483.0 - ISC
10235
10235
  *
10236
10236
  * This source code is licensed under the ISC license.
10237
10237
  * See the LICENSE file in the root directory of this source tree.
10238
10238
  */
10239
- const __iconNode$d = [
10239
+ const __iconNode$e = [
10240
10240
  ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
10241
10241
  ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
10242
10242
  ];
10243
- const Link$2 = createLucideIcon("Link", __iconNode$d);
10243
+ const Link$2 = createLucideIcon("Link", __iconNode$e);
10244
10244
  /**
10245
10245
  * @license lucide-react v0.483.0 - ISC
10246
10246
  *
10247
10247
  * This source code is licensed under the ISC license.
10248
10248
  * See the LICENSE file in the root directory of this source tree.
10249
10249
  */
10250
- const __iconNode$c = [
10250
+ const __iconNode$d = [
10251
10251
  ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
10252
10252
  ["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
10253
10253
  ];
10254
- const Mail = createLucideIcon("Mail", __iconNode$c);
10254
+ const Mail = createLucideIcon("Mail", __iconNode$d);
10255
10255
  /**
10256
10256
  * @license lucide-react v0.483.0 - ISC
10257
10257
  *
10258
10258
  * This source code is licensed under the ISC license.
10259
10259
  * See the LICENSE file in the root directory of this source tree.
10260
10260
  */
10261
- const __iconNode$b = [
10261
+ const __iconNode$c = [
10262
10262
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
10263
10263
  ["path", { d: "M3 9h18", key: "1pudct" }],
10264
10264
  ["path", { d: "M9 21V9", key: "1oto5p" }]
10265
10265
  ];
10266
- const PanelsTopLeft = createLucideIcon("PanelsTopLeft", __iconNode$b);
10266
+ const PanelsTopLeft = createLucideIcon("PanelsTopLeft", __iconNode$c);
10267
10267
  /**
10268
10268
  * @license lucide-react v0.483.0 - ISC
10269
10269
  *
10270
10270
  * This source code is licensed under the ISC license.
10271
10271
  * See the LICENSE file in the root directory of this source tree.
10272
10272
  */
10273
- const __iconNode$a = [
10273
+ const __iconNode$b = [
10274
10274
  ["rect", { width: "5", height: "5", x: "3", y: "3", rx: "1", key: "1tu5fj" }],
10275
10275
  ["rect", { width: "5", height: "5", x: "16", y: "3", rx: "1", key: "1v8r4q" }],
10276
10276
  ["rect", { width: "5", height: "5", x: "3", y: "16", rx: "1", key: "1x03jg" }],
@@ -10284,51 +10284,51 @@ const __iconNode$a = [
10284
10284
  ["path", { d: "M21 12v.01", key: "1lwtk9" }],
10285
10285
  ["path", { d: "M12 21v-1", key: "1880an" }]
10286
10286
  ];
10287
- const QrCode = createLucideIcon("QrCode", __iconNode$a);
10287
+ const QrCode = createLucideIcon("QrCode", __iconNode$b);
10288
10288
  /**
10289
10289
  * @license lucide-react v0.483.0 - ISC
10290
10290
  *
10291
10291
  * This source code is licensed under the ISC license.
10292
10292
  * See the LICENSE file in the root directory of this source tree.
10293
10293
  */
10294
- const __iconNode$9 = [
10294
+ const __iconNode$a = [
10295
10295
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
10296
10296
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
10297
10297
  ];
10298
- const RotateCcw = createLucideIcon("RotateCcw", __iconNode$9);
10298
+ const RotateCcw = createLucideIcon("RotateCcw", __iconNode$a);
10299
10299
  /**
10300
10300
  * @license lucide-react v0.483.0 - ISC
10301
10301
  *
10302
10302
  * This source code is licensed under the ISC license.
10303
10303
  * See the LICENSE file in the root directory of this source tree.
10304
10304
  */
10305
- const __iconNode$8 = [
10305
+ const __iconNode$9 = [
10306
10306
  ["line", { x1: "3", x2: "21", y1: "12", y2: "12", key: "10d38w" }],
10307
10307
  ["polyline", { points: "8 8 12 4 16 8", key: "zo8t4w" }],
10308
10308
  ["polyline", { points: "16 16 12 20 8 16", key: "1oyrid" }]
10309
10309
  ];
10310
- const SeparatorHorizontal = createLucideIcon("SeparatorHorizontal", __iconNode$8);
10310
+ const SeparatorHorizontal = createLucideIcon("SeparatorHorizontal", __iconNode$9);
10311
10311
  /**
10312
10312
  * @license lucide-react v0.483.0 - ISC
10313
10313
  *
10314
10314
  * This source code is licensed under the ISC license.
10315
10315
  * See the LICENSE file in the root directory of this source tree.
10316
10316
  */
10317
- const __iconNode$7 = [
10317
+ const __iconNode$8 = [
10318
10318
  ["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }],
10319
10319
  ["circle", { cx: "6", cy: "12", r: "3", key: "w7nqdw" }],
10320
10320
  ["circle", { cx: "18", cy: "19", r: "3", key: "1xt0gg" }],
10321
10321
  ["line", { x1: "8.59", x2: "15.42", y1: "13.51", y2: "17.49", key: "47mynk" }],
10322
10322
  ["line", { x1: "15.41", x2: "8.59", y1: "6.51", y2: "10.49", key: "1n3mei" }]
10323
10323
  ];
10324
- const Share2 = createLucideIcon("Share2", __iconNode$7);
10324
+ const Share2 = createLucideIcon("Share2", __iconNode$8);
10325
10325
  /**
10326
10326
  * @license lucide-react v0.483.0 - ISC
10327
10327
  *
10328
10328
  * This source code is licensed under the ISC license.
10329
10329
  * See the LICENSE file in the root directory of this source tree.
10330
10330
  */
10331
- const __iconNode$6 = [
10331
+ const __iconNode$7 = [
10332
10332
  [
10333
10333
  "path",
10334
10334
  {
@@ -10346,42 +10346,56 @@ const __iconNode$6 = [
10346
10346
  ["path", { d: "M21 9v2", key: "p14lih" }],
10347
10347
  ["path", { d: "M3 14v1", key: "vnatye" }]
10348
10348
  ];
10349
- const SquareDashedMousePointer = createLucideIcon("SquareDashedMousePointer", __iconNode$6);
10349
+ const SquareDashedMousePointer = createLucideIcon("SquareDashedMousePointer", __iconNode$7);
10350
10350
  /**
10351
10351
  * @license lucide-react v0.483.0 - ISC
10352
10352
  *
10353
10353
  * This source code is licensed under the ISC license.
10354
10354
  * See the LICENSE file in the root directory of this source tree.
10355
10355
  */
10356
- const __iconNode$5 = [
10356
+ const __iconNode$6 = [
10357
10357
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
10358
10358
  ["path", { d: "M7 8h10", key: "1jw688" }],
10359
10359
  ["path", { d: "M7 12h10", key: "b7w52i" }],
10360
10360
  ["path", { d: "M7 16h10", key: "wp8him" }]
10361
10361
  ];
10362
- const SquareMenu = createLucideIcon("SquareMenu", __iconNode$5);
10362
+ const SquareMenu = createLucideIcon("SquareMenu", __iconNode$6);
10363
10363
  /**
10364
10364
  * @license lucide-react v0.483.0 - ISC
10365
10365
  *
10366
10366
  * This source code is licensed under the ISC license.
10367
10367
  * See the LICENSE file in the root directory of this source tree.
10368
10368
  */
10369
- const __iconNode$4 = [
10369
+ const __iconNode$5 = [
10370
10370
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
10371
10371
  ["path", { d: "M8 12h8", key: "1wcyev" }],
10372
10372
  ["path", { d: "M12 8v8", key: "napkw2" }]
10373
10373
  ];
10374
- const SquarePlus = createLucideIcon("SquarePlus", __iconNode$4);
10374
+ const SquarePlus = createLucideIcon("SquarePlus", __iconNode$5);
10375
10375
  /**
10376
10376
  * @license lucide-react v0.483.0 - ISC
10377
10377
  *
10378
10378
  * This source code is licensed under the ISC license.
10379
10379
  * See the LICENSE file in the root directory of this source tree.
10380
10380
  */
10381
- const __iconNode$3 = [
10381
+ const __iconNode$4 = [
10382
10382
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
10383
10383
  ];
10384
- const Square = createLucideIcon("Square", __iconNode$3);
10384
+ const Square = createLucideIcon("Square", __iconNode$4);
10385
+ /**
10386
+ * @license lucide-react v0.483.0 - ISC
10387
+ *
10388
+ * This source code is licensed under the ISC license.
10389
+ * See the LICENSE file in the root directory of this source tree.
10390
+ */
10391
+ const __iconNode$3 = [
10392
+ ["path", { d: "M3 6h18", key: "d0wm0j" }],
10393
+ ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
10394
+ ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
10395
+ ["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
10396
+ ["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
10397
+ ];
10398
+ const Trash2 = createLucideIcon("Trash2", __iconNode$3);
10385
10399
  /**
10386
10400
  * @license lucide-react v0.483.0 - ISC
10387
10401
  *
@@ -41192,7 +41206,8 @@ function EasyEmailProAiAgent({
41192
41206
  onChooseDecision,
41193
41207
  onCancelDecision,
41194
41208
  onRestoreSnapshot,
41195
- onQuickAction
41209
+ onQuickAction,
41210
+ onClearHistory
41196
41211
  }) {
41197
41212
  var _a;
41198
41213
  assertAiAgentFeatureEnabled();
@@ -41619,7 +41634,7 @@ function EasyEmailProAiAgent({
41619
41634
  }
41620
41635
  }
41621
41636
  }
41622
- ), /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__composer-hint" }, t("Enter to send / Shift + Enter for new line"))), /* @__PURE__ */ React__default.createElement(
41637
+ )), /* @__PURE__ */ React__default.createElement(
41623
41638
  "input",
41624
41639
  {
41625
41640
  ref: inputRef,
@@ -41629,7 +41644,7 @@ function EasyEmailProAiAgent({
41629
41644
  multiple: true,
41630
41645
  onChange: (event) => uploadFiles(event.currentTarget.files)
41631
41646
  }
41632
- ), /* @__PURE__ */ React__default.createElement(
41647
+ ), /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__composer-actions" }, /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__composer-actions-left" }, /* @__PURE__ */ React__default.createElement(
41633
41648
  "button",
41634
41649
  {
41635
41650
  className: "eep-ai-agent__attach",
@@ -41643,6 +41658,35 @@ function EasyEmailProAiAgent({
41643
41658
  },
41644
41659
  /* @__PURE__ */ React__default.createElement(Icon, { name: "attach" })
41645
41660
  ), /* @__PURE__ */ React__default.createElement(
41661
+ Popconfirm,
41662
+ {
41663
+ focusLock: true,
41664
+ title: t("Clear this conversation?"),
41665
+ okText: t("Clear"),
41666
+ cancelText: t("Cancel"),
41667
+ okButtonProps: {
41668
+ status: "danger"
41669
+ },
41670
+ onOk: () => {
41671
+ void (onClearHistory == null ? void 0 : onClearHistory());
41672
+ setDraft("");
41673
+ setAttachments([]);
41674
+ setUploadError("");
41675
+ setQuickActionsExpanded(false);
41676
+ }
41677
+ },
41678
+ /* @__PURE__ */ React__default.createElement(
41679
+ "button",
41680
+ {
41681
+ className: "eep-ai-agent__clear-history",
41682
+ type: "button",
41683
+ disabled,
41684
+ "aria-label": t("Clear conversation"),
41685
+ title: t("Clear conversation")
41686
+ },
41687
+ /* @__PURE__ */ React__default.createElement(Trash2, { size: 15, strokeWidth: 2, "aria-hidden": "true" })
41688
+ )
41689
+ ), /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__composer-hint" }, t("Enter to send / Shift + Enter for new line"))), /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__composer-actions-right" }, /* @__PURE__ */ React__default.createElement(
41646
41690
  "button",
41647
41691
  {
41648
41692
  className: "eep-ai-agent__send",
@@ -41652,7 +41696,7 @@ function EasyEmailProAiAgent({
41652
41696
  "aria-label": t("Send")
41653
41697
  },
41654
41698
  /* @__PURE__ */ React__default.createElement(Icon, { name: "send" })
41655
- ))), previewAttachment ? /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__lightbox", role: "dialog", "aria-modal": "true", onClick: () => setPreviewAttachment(null) }, /* @__PURE__ */ React__default.createElement(
41699
+ ))))), previewAttachment ? /* @__PURE__ */ React__default.createElement("div", { className: "eep-ai-agent__lightbox", role: "dialog", "aria-modal": "true", onClick: () => setPreviewAttachment(null) }, /* @__PURE__ */ React__default.createElement(
41656
41700
  "button",
41657
41701
  {
41658
41702
  className: "eep-ai-agent__lightbox-close",
@@ -42403,6 +42447,19 @@ ${errors.join("\n")}` : toolCallsText(__spreadProps(__spreadValues({}, payload),
42403
42447
  const clearPendingDecision = useCallback(() => {
42404
42448
  setPendingDecision(null);
42405
42449
  }, []);
42450
+ const clearHistory = useCallback(() => {
42451
+ abortStream();
42452
+ activeRunRef.current = null;
42453
+ setPendingDecision(null);
42454
+ setPendingChange(null);
42455
+ setApplyingPendingChange(false);
42456
+ setActivity("");
42457
+ setStatus("ready");
42458
+ commitHistory(
42459
+ () => normalizeHistory(void 0, optionsRef.current.initialMessages),
42460
+ { type: "history.cleared" }
42461
+ );
42462
+ }, [abortStream, commitHistory]);
42406
42463
  const stop = useCallback(() => __async(this, null, function* () {
42407
42464
  abortStream();
42408
42465
  activeRunRef.current = null;
@@ -42425,6 +42482,7 @@ ${errors.join("\n")}` : toolCallsText(__spreadProps(__spreadValues({}, payload),
42425
42482
  applyPendingChange,
42426
42483
  chooseDecision,
42427
42484
  clearPendingDecision,
42485
+ clearHistory,
42428
42486
  restoreSnapshot,
42429
42487
  send,
42430
42488
  stop
@@ -42733,6 +42791,7 @@ function AiAgentPanel({
42733
42791
  onUpload: uploadOverride || editorUpload ? uploadAttachment : void 0,
42734
42792
  onChooseDecision: session.chooseDecision,
42735
42793
  onCancelDecision: session.clearPendingDecision,
42794
+ onClearHistory: session.clearHistory,
42736
42795
  onRestoreSnapshot: (snapshotOptions == null ? void 0 : snapshotOptions.onRestore) ? session.restoreSnapshot : void 0
42737
42796
  }
42738
42797
  );
package/lib/style.css CHANGED
@@ -2600,13 +2600,12 @@ THEMES:
2600
2600
  }
2601
2601
 
2602
2602
  .eep-ai-agent__composer {
2603
- display: grid;
2604
- grid-template-columns: minmax(0, 1fr) 38px 38px;
2603
+ display: flex;
2604
+ flex-direction: column;
2605
2605
  gap: 8px;
2606
- align-items: end;
2607
2606
  border: 1px solid var(--eep-ai-line-strong);
2608
2607
  border-radius: 8px;
2609
- padding: 9px;
2608
+ padding: 10px;
2610
2609
  background: var(--eep-ai-surface);
2611
2610
  box-shadow: var(--eep-ai-shadow);
2612
2611
  }
@@ -2628,7 +2627,7 @@ THEMES:
2628
2627
  resize: none;
2629
2628
  border: 0;
2630
2629
  outline: 0;
2631
- padding: 6px 4px 2px;
2630
+ padding: 4px 4px 0;
2632
2631
  color: var(--eep-ai-text);
2633
2632
  background: transparent;
2634
2633
  font-size: 13px;
@@ -2640,36 +2639,80 @@ THEMES:
2640
2639
  }
2641
2640
 
2642
2641
  .eep-ai-agent__composer-hint {
2643
- padding: 1px 4px 0;
2642
+ min-width: 0;
2644
2643
  color: var(--eep-ai-subtle);
2645
2644
  font-size: 11px;
2646
2645
  line-height: 1.35;
2646
+ overflow: hidden;
2647
+ text-overflow: ellipsis;
2647
2648
  }
2648
2649
 
2649
2650
  .eep-ai-agent__file-input {
2650
2651
  display: none;
2651
2652
  }
2652
2653
 
2654
+ .eep-ai-agent__composer-actions {
2655
+ display: flex;
2656
+ align-items: center;
2657
+ justify-content: space-between;
2658
+ gap: 10px;
2659
+ min-height: 34px;
2660
+ }
2661
+
2662
+ .eep-ai-agent__composer-actions-left,
2663
+ .eep-ai-agent__composer-actions-right {
2664
+ display: flex;
2665
+ align-items: center;
2666
+ min-width: 0;
2667
+ }
2668
+
2669
+ .eep-ai-agent__composer-actions-left {
2670
+ flex: 1 1 auto;
2671
+ gap: 8px;
2672
+ }
2673
+
2674
+ .eep-ai-agent__composer-actions-right {
2675
+ flex: 0 0 auto;
2676
+ justify-content: flex-end;
2677
+ }
2678
+
2653
2679
  .eep-ai-agent__attach,
2680
+ .eep-ai-agent__clear-history,
2654
2681
  .eep-ai-agent__send {
2655
- width: 38px;
2656
- height: 38px;
2682
+ flex: 0 0 auto;
2683
+ width: 34px;
2684
+ height: 34px;
2657
2685
  border-radius: 8px;
2658
2686
  display: grid;
2659
2687
  place-items: center;
2660
2688
  cursor: pointer;
2661
2689
  }
2662
2690
 
2663
- .eep-ai-agent__attach {
2691
+ .eep-ai-agent__attach,
2692
+ .eep-ai-agent__clear-history {
2664
2693
  border: 1px solid var(--eep-ai-line);
2665
2694
  background: var(--eep-ai-surface);
2666
2695
  color: var(--eep-ai-text);
2667
2696
  }
2668
2697
 
2669
- .eep-ai-agent__attach:hover {
2698
+ .eep-ai-agent__attach:hover,
2699
+ .eep-ai-agent__clear-history:hover {
2670
2700
  background: #f4f4f5;
2671
2701
  }
2672
2702
 
2703
+ .eep-ai-agent__clear-history {
2704
+ color: var(--eep-ai-muted);
2705
+ }
2706
+
2707
+ .eep-ai-agent__clear-history:hover {
2708
+ color: var(--eep-ai-text);
2709
+ }
2710
+
2711
+ .eep-ai-agent__clear-history:disabled {
2712
+ cursor: not-allowed;
2713
+ opacity: 0.55;
2714
+ }
2715
+
2673
2716
  .eep-ai-agent__send {
2674
2717
  border: 0;
2675
2718
  background: var(--eep-ai-primary);
@@ -59,6 +59,7 @@ export type EasyEmailProAiAgentProps = {
59
59
  onRestoreVersion?: (version: AiChangeVersion) => void;
60
60
  onStepVersion?: (version: AiChangeVersion, direction: "previous" | "next") => void;
61
61
  onQuickAction?: (action: string) => void | Promise<void>;
62
+ onClearHistory?: () => void | Promise<void>;
62
63
  onClose?: () => void;
63
64
  };
64
- export declare function EasyEmailProAiAgent({ className, messages, activity, disabled, sendDisabled, quickActions, pendingAction, pendingDecision, placeholder, onSend, onUpload, onChooseDecision, onCancelDecision, onRestoreSnapshot, onQuickAction, }: EasyEmailProAiAgentProps): React.JSX.Element;
65
+ export declare function EasyEmailProAiAgent({ className, messages, activity, disabled, sendDisabled, quickActions, pendingAction, pendingDecision, placeholder, onSend, onUpload, onChooseDecision, onCancelDecision, onRestoreSnapshot, onQuickAction, onClearHistory, }: EasyEmailProAiAgentProps): React.JSX.Element;
@@ -25,6 +25,8 @@ export type AiAgentHistoryChange = {
25
25
  type: "message.updated";
26
26
  messageId: string;
27
27
  patch: Partial<AiAgentMessage>;
28
+ } | {
29
+ type: "history.cleared";
28
30
  } | {
29
31
  type: "snapshot.created";
30
32
  snapshot: AiAgentSnapshotMeta;
@@ -71,6 +73,7 @@ export declare function useAiAgentSession(options: UseAiAgentSessionOptions): {
71
73
  applyPendingChange: () => Promise<void>;
72
74
  chooseDecision: (choice: AiDecisionChoice, response: AiDecisionResponsePayload) => Promise<void>;
73
75
  clearPendingDecision: () => void;
76
+ clearHistory: () => void;
74
77
  restoreSnapshot: (snapshotId: string) => Promise<void>;
75
78
  send: (message: string, attachments?: AiAgentAttachment[], decisionResponse?: AiDecisionResponsePayload) => Promise<void>;
76
79
  stop: () => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-theme",
3
- "version": "1.59.3",
3
+ "version": "1.59.4",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"