@elementor/editor-editing-panel 4.0.0-564 → 4.0.0-573
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +171 -1
- package/dist/index.d.ts +171 -1
- package/dist/index.js +838 -872
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +719 -750
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/src/components/section.tsx +1 -2
- package/src/components/style-tab-collapsible-content.tsx +2 -1
- package/src/controls-registry/controls-registry.tsx +3 -0
- package/src/controls-registry/settings-field.tsx +12 -0
- package/src/utils/prop-dependency-utils.ts +4 -1
- package/src/components/collapsible-content.tsx +0 -65
package/dist/index.d.mts
CHANGED
|
@@ -54,7 +54,7 @@ type SettingsFieldProps = {
|
|
|
54
54
|
propDisplayName: string;
|
|
55
55
|
children: react.ReactNode;
|
|
56
56
|
};
|
|
57
|
-
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => react.JSX.Element;
|
|
57
|
+
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => react.JSX.Element | null;
|
|
58
58
|
|
|
59
59
|
declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
|
|
60
60
|
isOverridden?: boolean;
|
|
@@ -1318,6 +1318,176 @@ declare const controlTypes: {
|
|
|
1318
1318
|
key: "html-v2";
|
|
1319
1319
|
};
|
|
1320
1320
|
};
|
|
1321
|
+
readonly email: {
|
|
1322
|
+
readonly component: ControlComponent<() => react.JSX.Element>;
|
|
1323
|
+
readonly layout: "custom";
|
|
1324
|
+
readonly propTypeUtil: {
|
|
1325
|
+
extract: (prop: unknown) => {
|
|
1326
|
+
message?: any;
|
|
1327
|
+
to?: any;
|
|
1328
|
+
subject?: any;
|
|
1329
|
+
from?: any;
|
|
1330
|
+
"meta-data"?: any;
|
|
1331
|
+
"send-as"?: any;
|
|
1332
|
+
"from-name"?: any;
|
|
1333
|
+
"reply-to"?: any;
|
|
1334
|
+
cc?: any;
|
|
1335
|
+
bcc?: any;
|
|
1336
|
+
} | null;
|
|
1337
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"email", {
|
|
1338
|
+
message?: any;
|
|
1339
|
+
to?: any;
|
|
1340
|
+
subject?: any;
|
|
1341
|
+
from?: any;
|
|
1342
|
+
"meta-data"?: any;
|
|
1343
|
+
"send-as"?: any;
|
|
1344
|
+
"from-name"?: any;
|
|
1345
|
+
"reply-to"?: any;
|
|
1346
|
+
cc?: any;
|
|
1347
|
+
bcc?: any;
|
|
1348
|
+
}>;
|
|
1349
|
+
create: {
|
|
1350
|
+
(value: {
|
|
1351
|
+
message?: any;
|
|
1352
|
+
to?: any;
|
|
1353
|
+
subject?: any;
|
|
1354
|
+
from?: any;
|
|
1355
|
+
"meta-data"?: any;
|
|
1356
|
+
"send-as"?: any;
|
|
1357
|
+
"from-name"?: any;
|
|
1358
|
+
"reply-to"?: any;
|
|
1359
|
+
cc?: any;
|
|
1360
|
+
bcc?: any;
|
|
1361
|
+
}): _elementor_editor_props.TransformablePropValue<"email", {
|
|
1362
|
+
message?: any;
|
|
1363
|
+
to?: any;
|
|
1364
|
+
subject?: any;
|
|
1365
|
+
from?: any;
|
|
1366
|
+
"meta-data"?: any;
|
|
1367
|
+
"send-as"?: any;
|
|
1368
|
+
"from-name"?: any;
|
|
1369
|
+
"reply-to"?: any;
|
|
1370
|
+
cc?: any;
|
|
1371
|
+
bcc?: any;
|
|
1372
|
+
}>;
|
|
1373
|
+
(value: {
|
|
1374
|
+
message?: any;
|
|
1375
|
+
to?: any;
|
|
1376
|
+
subject?: any;
|
|
1377
|
+
from?: any;
|
|
1378
|
+
"meta-data"?: any;
|
|
1379
|
+
"send-as"?: any;
|
|
1380
|
+
"from-name"?: any;
|
|
1381
|
+
"reply-to"?: any;
|
|
1382
|
+
cc?: any;
|
|
1383
|
+
bcc?: any;
|
|
1384
|
+
}, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"email", {
|
|
1385
|
+
message?: any;
|
|
1386
|
+
to?: any;
|
|
1387
|
+
subject?: any;
|
|
1388
|
+
from?: any;
|
|
1389
|
+
"meta-data"?: any;
|
|
1390
|
+
"send-as"?: any;
|
|
1391
|
+
"from-name"?: any;
|
|
1392
|
+
"reply-to"?: any;
|
|
1393
|
+
cc?: any;
|
|
1394
|
+
bcc?: any;
|
|
1395
|
+
}>;
|
|
1396
|
+
(value: (prev?: {
|
|
1397
|
+
message?: any;
|
|
1398
|
+
to?: any;
|
|
1399
|
+
subject?: any;
|
|
1400
|
+
from?: any;
|
|
1401
|
+
"meta-data"?: any;
|
|
1402
|
+
"send-as"?: any;
|
|
1403
|
+
"from-name"?: any;
|
|
1404
|
+
"reply-to"?: any;
|
|
1405
|
+
cc?: any;
|
|
1406
|
+
bcc?: any;
|
|
1407
|
+
} | undefined) => {
|
|
1408
|
+
message?: any;
|
|
1409
|
+
to?: any;
|
|
1410
|
+
subject?: any;
|
|
1411
|
+
from?: any;
|
|
1412
|
+
"meta-data"?: any;
|
|
1413
|
+
"send-as"?: any;
|
|
1414
|
+
"from-name"?: any;
|
|
1415
|
+
"reply-to"?: any;
|
|
1416
|
+
cc?: any;
|
|
1417
|
+
bcc?: any;
|
|
1418
|
+
}, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"email", {
|
|
1419
|
+
message?: any;
|
|
1420
|
+
to?: any;
|
|
1421
|
+
subject?: any;
|
|
1422
|
+
from?: any;
|
|
1423
|
+
"meta-data"?: any;
|
|
1424
|
+
"send-as"?: any;
|
|
1425
|
+
"from-name"?: any;
|
|
1426
|
+
"reply-to"?: any;
|
|
1427
|
+
cc?: any;
|
|
1428
|
+
bcc?: any;
|
|
1429
|
+
}>;
|
|
1430
|
+
};
|
|
1431
|
+
schema: zod.ZodObject<{
|
|
1432
|
+
$$type: zod.ZodLiteral<"email">;
|
|
1433
|
+
value: zod.ZodType<{
|
|
1434
|
+
message?: any;
|
|
1435
|
+
to?: any;
|
|
1436
|
+
subject?: any;
|
|
1437
|
+
from?: any;
|
|
1438
|
+
"meta-data"?: any;
|
|
1439
|
+
"send-as"?: any;
|
|
1440
|
+
"from-name"?: any;
|
|
1441
|
+
"reply-to"?: any;
|
|
1442
|
+
cc?: any;
|
|
1443
|
+
bcc?: any;
|
|
1444
|
+
}, zod.ZodTypeDef, {
|
|
1445
|
+
message?: any;
|
|
1446
|
+
to?: any;
|
|
1447
|
+
subject?: any;
|
|
1448
|
+
from?: any;
|
|
1449
|
+
"meta-data"?: any;
|
|
1450
|
+
"send-as"?: any;
|
|
1451
|
+
"from-name"?: any;
|
|
1452
|
+
"reply-to"?: any;
|
|
1453
|
+
cc?: any;
|
|
1454
|
+
bcc?: any;
|
|
1455
|
+
}>;
|
|
1456
|
+
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1457
|
+
}, "strict", zod.ZodTypeAny, {
|
|
1458
|
+
$$type: "email";
|
|
1459
|
+
value: {
|
|
1460
|
+
message?: any;
|
|
1461
|
+
to?: any;
|
|
1462
|
+
subject?: any;
|
|
1463
|
+
from?: any;
|
|
1464
|
+
"meta-data"?: any;
|
|
1465
|
+
"send-as"?: any;
|
|
1466
|
+
"from-name"?: any;
|
|
1467
|
+
"reply-to"?: any;
|
|
1468
|
+
cc?: any;
|
|
1469
|
+
bcc?: any;
|
|
1470
|
+
};
|
|
1471
|
+
disabled?: boolean | undefined;
|
|
1472
|
+
}, {
|
|
1473
|
+
$$type: "email";
|
|
1474
|
+
value: {
|
|
1475
|
+
message?: any;
|
|
1476
|
+
to?: any;
|
|
1477
|
+
subject?: any;
|
|
1478
|
+
from?: any;
|
|
1479
|
+
"meta-data"?: any;
|
|
1480
|
+
"send-as"?: any;
|
|
1481
|
+
"from-name"?: any;
|
|
1482
|
+
"reply-to"?: any;
|
|
1483
|
+
cc?: any;
|
|
1484
|
+
bcc?: any;
|
|
1485
|
+
};
|
|
1486
|
+
disabled?: boolean | undefined;
|
|
1487
|
+
}>;
|
|
1488
|
+
key: "email";
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1321
1491
|
};
|
|
1322
1492
|
type ControlType = keyof typeof controlTypes;
|
|
1323
1493
|
type ControlTypes = {
|
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ type SettingsFieldProps = {
|
|
|
54
54
|
propDisplayName: string;
|
|
55
55
|
children: react.ReactNode;
|
|
56
56
|
};
|
|
57
|
-
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => react.JSX.Element;
|
|
57
|
+
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => react.JSX.Element | null;
|
|
58
58
|
|
|
59
59
|
declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
|
|
60
60
|
isOverridden?: boolean;
|
|
@@ -1318,6 +1318,176 @@ declare const controlTypes: {
|
|
|
1318
1318
|
key: "html-v2";
|
|
1319
1319
|
};
|
|
1320
1320
|
};
|
|
1321
|
+
readonly email: {
|
|
1322
|
+
readonly component: ControlComponent<() => react.JSX.Element>;
|
|
1323
|
+
readonly layout: "custom";
|
|
1324
|
+
readonly propTypeUtil: {
|
|
1325
|
+
extract: (prop: unknown) => {
|
|
1326
|
+
message?: any;
|
|
1327
|
+
to?: any;
|
|
1328
|
+
subject?: any;
|
|
1329
|
+
from?: any;
|
|
1330
|
+
"meta-data"?: any;
|
|
1331
|
+
"send-as"?: any;
|
|
1332
|
+
"from-name"?: any;
|
|
1333
|
+
"reply-to"?: any;
|
|
1334
|
+
cc?: any;
|
|
1335
|
+
bcc?: any;
|
|
1336
|
+
} | null;
|
|
1337
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"email", {
|
|
1338
|
+
message?: any;
|
|
1339
|
+
to?: any;
|
|
1340
|
+
subject?: any;
|
|
1341
|
+
from?: any;
|
|
1342
|
+
"meta-data"?: any;
|
|
1343
|
+
"send-as"?: any;
|
|
1344
|
+
"from-name"?: any;
|
|
1345
|
+
"reply-to"?: any;
|
|
1346
|
+
cc?: any;
|
|
1347
|
+
bcc?: any;
|
|
1348
|
+
}>;
|
|
1349
|
+
create: {
|
|
1350
|
+
(value: {
|
|
1351
|
+
message?: any;
|
|
1352
|
+
to?: any;
|
|
1353
|
+
subject?: any;
|
|
1354
|
+
from?: any;
|
|
1355
|
+
"meta-data"?: any;
|
|
1356
|
+
"send-as"?: any;
|
|
1357
|
+
"from-name"?: any;
|
|
1358
|
+
"reply-to"?: any;
|
|
1359
|
+
cc?: any;
|
|
1360
|
+
bcc?: any;
|
|
1361
|
+
}): _elementor_editor_props.TransformablePropValue<"email", {
|
|
1362
|
+
message?: any;
|
|
1363
|
+
to?: any;
|
|
1364
|
+
subject?: any;
|
|
1365
|
+
from?: any;
|
|
1366
|
+
"meta-data"?: any;
|
|
1367
|
+
"send-as"?: any;
|
|
1368
|
+
"from-name"?: any;
|
|
1369
|
+
"reply-to"?: any;
|
|
1370
|
+
cc?: any;
|
|
1371
|
+
bcc?: any;
|
|
1372
|
+
}>;
|
|
1373
|
+
(value: {
|
|
1374
|
+
message?: any;
|
|
1375
|
+
to?: any;
|
|
1376
|
+
subject?: any;
|
|
1377
|
+
from?: any;
|
|
1378
|
+
"meta-data"?: any;
|
|
1379
|
+
"send-as"?: any;
|
|
1380
|
+
"from-name"?: any;
|
|
1381
|
+
"reply-to"?: any;
|
|
1382
|
+
cc?: any;
|
|
1383
|
+
bcc?: any;
|
|
1384
|
+
}, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"email", {
|
|
1385
|
+
message?: any;
|
|
1386
|
+
to?: any;
|
|
1387
|
+
subject?: any;
|
|
1388
|
+
from?: any;
|
|
1389
|
+
"meta-data"?: any;
|
|
1390
|
+
"send-as"?: any;
|
|
1391
|
+
"from-name"?: any;
|
|
1392
|
+
"reply-to"?: any;
|
|
1393
|
+
cc?: any;
|
|
1394
|
+
bcc?: any;
|
|
1395
|
+
}>;
|
|
1396
|
+
(value: (prev?: {
|
|
1397
|
+
message?: any;
|
|
1398
|
+
to?: any;
|
|
1399
|
+
subject?: any;
|
|
1400
|
+
from?: any;
|
|
1401
|
+
"meta-data"?: any;
|
|
1402
|
+
"send-as"?: any;
|
|
1403
|
+
"from-name"?: any;
|
|
1404
|
+
"reply-to"?: any;
|
|
1405
|
+
cc?: any;
|
|
1406
|
+
bcc?: any;
|
|
1407
|
+
} | undefined) => {
|
|
1408
|
+
message?: any;
|
|
1409
|
+
to?: any;
|
|
1410
|
+
subject?: any;
|
|
1411
|
+
from?: any;
|
|
1412
|
+
"meta-data"?: any;
|
|
1413
|
+
"send-as"?: any;
|
|
1414
|
+
"from-name"?: any;
|
|
1415
|
+
"reply-to"?: any;
|
|
1416
|
+
cc?: any;
|
|
1417
|
+
bcc?: any;
|
|
1418
|
+
}, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"email", {
|
|
1419
|
+
message?: any;
|
|
1420
|
+
to?: any;
|
|
1421
|
+
subject?: any;
|
|
1422
|
+
from?: any;
|
|
1423
|
+
"meta-data"?: any;
|
|
1424
|
+
"send-as"?: any;
|
|
1425
|
+
"from-name"?: any;
|
|
1426
|
+
"reply-to"?: any;
|
|
1427
|
+
cc?: any;
|
|
1428
|
+
bcc?: any;
|
|
1429
|
+
}>;
|
|
1430
|
+
};
|
|
1431
|
+
schema: zod.ZodObject<{
|
|
1432
|
+
$$type: zod.ZodLiteral<"email">;
|
|
1433
|
+
value: zod.ZodType<{
|
|
1434
|
+
message?: any;
|
|
1435
|
+
to?: any;
|
|
1436
|
+
subject?: any;
|
|
1437
|
+
from?: any;
|
|
1438
|
+
"meta-data"?: any;
|
|
1439
|
+
"send-as"?: any;
|
|
1440
|
+
"from-name"?: any;
|
|
1441
|
+
"reply-to"?: any;
|
|
1442
|
+
cc?: any;
|
|
1443
|
+
bcc?: any;
|
|
1444
|
+
}, zod.ZodTypeDef, {
|
|
1445
|
+
message?: any;
|
|
1446
|
+
to?: any;
|
|
1447
|
+
subject?: any;
|
|
1448
|
+
from?: any;
|
|
1449
|
+
"meta-data"?: any;
|
|
1450
|
+
"send-as"?: any;
|
|
1451
|
+
"from-name"?: any;
|
|
1452
|
+
"reply-to"?: any;
|
|
1453
|
+
cc?: any;
|
|
1454
|
+
bcc?: any;
|
|
1455
|
+
}>;
|
|
1456
|
+
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1457
|
+
}, "strict", zod.ZodTypeAny, {
|
|
1458
|
+
$$type: "email";
|
|
1459
|
+
value: {
|
|
1460
|
+
message?: any;
|
|
1461
|
+
to?: any;
|
|
1462
|
+
subject?: any;
|
|
1463
|
+
from?: any;
|
|
1464
|
+
"meta-data"?: any;
|
|
1465
|
+
"send-as"?: any;
|
|
1466
|
+
"from-name"?: any;
|
|
1467
|
+
"reply-to"?: any;
|
|
1468
|
+
cc?: any;
|
|
1469
|
+
bcc?: any;
|
|
1470
|
+
};
|
|
1471
|
+
disabled?: boolean | undefined;
|
|
1472
|
+
}, {
|
|
1473
|
+
$$type: "email";
|
|
1474
|
+
value: {
|
|
1475
|
+
message?: any;
|
|
1476
|
+
to?: any;
|
|
1477
|
+
subject?: any;
|
|
1478
|
+
from?: any;
|
|
1479
|
+
"meta-data"?: any;
|
|
1480
|
+
"send-as"?: any;
|
|
1481
|
+
"from-name"?: any;
|
|
1482
|
+
"reply-to"?: any;
|
|
1483
|
+
cc?: any;
|
|
1484
|
+
bcc?: any;
|
|
1485
|
+
};
|
|
1486
|
+
disabled?: boolean | undefined;
|
|
1487
|
+
}>;
|
|
1488
|
+
key: "email";
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1321
1491
|
};
|
|
1322
1492
|
type ControlType = keyof typeof controlTypes;
|
|
1323
1493
|
type ControlTypes = {
|