@elementor/editor-props 4.3.0-1055 → 4.3.0-1057
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 +26 -26
- package/dist/index.d.ts +26 -26
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/prop-types/video-src.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1094,99 +1094,99 @@ type VideoAttachmentIdPropValue = z.infer<typeof videoAttachmentIdPropType.schem
|
|
|
1094
1094
|
|
|
1095
1095
|
declare const videoSrcPropTypeUtil: {
|
|
1096
1096
|
extract: (prop: unknown) => {
|
|
1097
|
-
url: null;
|
|
1098
1097
|
id?: any;
|
|
1098
|
+
url?: null | undefined;
|
|
1099
1099
|
} | {
|
|
1100
|
-
id
|
|
1100
|
+
id?: null | undefined;
|
|
1101
1101
|
url?: any;
|
|
1102
1102
|
} | null;
|
|
1103
1103
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"video-src", {
|
|
1104
|
-
url: null;
|
|
1105
1104
|
id?: any;
|
|
1105
|
+
url?: null | undefined;
|
|
1106
1106
|
} | {
|
|
1107
|
-
id
|
|
1107
|
+
id?: null | undefined;
|
|
1108
1108
|
url?: any;
|
|
1109
1109
|
}>;
|
|
1110
1110
|
create: {
|
|
1111
1111
|
(value: {
|
|
1112
|
-
url: null;
|
|
1113
1112
|
id?: any;
|
|
1113
|
+
url?: null | undefined;
|
|
1114
1114
|
} | {
|
|
1115
|
-
id
|
|
1115
|
+
id?: null | undefined;
|
|
1116
1116
|
url?: any;
|
|
1117
1117
|
}): TransformablePropValue$1<"video-src", {
|
|
1118
|
-
url: null;
|
|
1119
1118
|
id?: any;
|
|
1119
|
+
url?: null | undefined;
|
|
1120
1120
|
} | {
|
|
1121
|
-
id
|
|
1121
|
+
id?: null | undefined;
|
|
1122
1122
|
url?: any;
|
|
1123
1123
|
}>;
|
|
1124
1124
|
(value: {
|
|
1125
|
-
url: null;
|
|
1126
1125
|
id?: any;
|
|
1126
|
+
url?: null | undefined;
|
|
1127
1127
|
} | {
|
|
1128
|
-
id
|
|
1128
|
+
id?: null | undefined;
|
|
1129
1129
|
url?: any;
|
|
1130
1130
|
}, createOptions?: CreateOptions): TransformablePropValue$1<"video-src", {
|
|
1131
|
-
url: null;
|
|
1132
1131
|
id?: any;
|
|
1132
|
+
url?: null | undefined;
|
|
1133
1133
|
} | {
|
|
1134
|
-
id
|
|
1134
|
+
id?: null | undefined;
|
|
1135
1135
|
url?: any;
|
|
1136
1136
|
}>;
|
|
1137
1137
|
(value: (prev?: {
|
|
1138
|
-
url: null;
|
|
1139
1138
|
id?: any;
|
|
1139
|
+
url?: null | undefined;
|
|
1140
1140
|
} | {
|
|
1141
|
-
id
|
|
1141
|
+
id?: null | undefined;
|
|
1142
1142
|
url?: any;
|
|
1143
1143
|
} | undefined) => {
|
|
1144
|
-
url: null;
|
|
1145
1144
|
id?: any;
|
|
1145
|
+
url?: null | undefined;
|
|
1146
1146
|
} | {
|
|
1147
|
-
id
|
|
1147
|
+
id?: null | undefined;
|
|
1148
1148
|
url?: any;
|
|
1149
1149
|
}, createOptions: CreateOptions): TransformablePropValue$1<"video-src", {
|
|
1150
|
-
url: null;
|
|
1151
1150
|
id?: any;
|
|
1151
|
+
url?: null | undefined;
|
|
1152
1152
|
} | {
|
|
1153
|
-
id
|
|
1153
|
+
id?: null | undefined;
|
|
1154
1154
|
url?: any;
|
|
1155
1155
|
}>;
|
|
1156
1156
|
};
|
|
1157
1157
|
schema: z.ZodObject<{
|
|
1158
1158
|
$$type: z.ZodLiteral<"video-src">;
|
|
1159
1159
|
value: z.ZodType<{
|
|
1160
|
-
url: null;
|
|
1161
1160
|
id?: any;
|
|
1161
|
+
url?: null | undefined;
|
|
1162
1162
|
} | {
|
|
1163
|
-
id
|
|
1163
|
+
id?: null | undefined;
|
|
1164
1164
|
url?: any;
|
|
1165
1165
|
}, z.ZodTypeDef, {
|
|
1166
|
-
url: null;
|
|
1167
1166
|
id?: any;
|
|
1167
|
+
url?: null | undefined;
|
|
1168
1168
|
} | {
|
|
1169
|
-
id
|
|
1169
|
+
id?: null | undefined;
|
|
1170
1170
|
url?: any;
|
|
1171
1171
|
}>;
|
|
1172
1172
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1173
1173
|
}, "strict", z.ZodTypeAny, {
|
|
1174
1174
|
$$type: "video-src";
|
|
1175
1175
|
value: {
|
|
1176
|
-
url: null;
|
|
1177
1176
|
id?: any;
|
|
1177
|
+
url?: null | undefined;
|
|
1178
1178
|
} | {
|
|
1179
|
-
id
|
|
1179
|
+
id?: null | undefined;
|
|
1180
1180
|
url?: any;
|
|
1181
1181
|
};
|
|
1182
1182
|
disabled?: boolean | undefined;
|
|
1183
1183
|
}, {
|
|
1184
1184
|
$$type: "video-src";
|
|
1185
1185
|
value: {
|
|
1186
|
-
url: null;
|
|
1187
1186
|
id?: any;
|
|
1187
|
+
url?: null | undefined;
|
|
1188
1188
|
} | {
|
|
1189
|
-
id
|
|
1189
|
+
id?: null | undefined;
|
|
1190
1190
|
url?: any;
|
|
1191
1191
|
};
|
|
1192
1192
|
disabled?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1094,99 +1094,99 @@ type VideoAttachmentIdPropValue = z.infer<typeof videoAttachmentIdPropType.schem
|
|
|
1094
1094
|
|
|
1095
1095
|
declare const videoSrcPropTypeUtil: {
|
|
1096
1096
|
extract: (prop: unknown) => {
|
|
1097
|
-
url: null;
|
|
1098
1097
|
id?: any;
|
|
1098
|
+
url?: null | undefined;
|
|
1099
1099
|
} | {
|
|
1100
|
-
id
|
|
1100
|
+
id?: null | undefined;
|
|
1101
1101
|
url?: any;
|
|
1102
1102
|
} | null;
|
|
1103
1103
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"video-src", {
|
|
1104
|
-
url: null;
|
|
1105
1104
|
id?: any;
|
|
1105
|
+
url?: null | undefined;
|
|
1106
1106
|
} | {
|
|
1107
|
-
id
|
|
1107
|
+
id?: null | undefined;
|
|
1108
1108
|
url?: any;
|
|
1109
1109
|
}>;
|
|
1110
1110
|
create: {
|
|
1111
1111
|
(value: {
|
|
1112
|
-
url: null;
|
|
1113
1112
|
id?: any;
|
|
1113
|
+
url?: null | undefined;
|
|
1114
1114
|
} | {
|
|
1115
|
-
id
|
|
1115
|
+
id?: null | undefined;
|
|
1116
1116
|
url?: any;
|
|
1117
1117
|
}): TransformablePropValue$1<"video-src", {
|
|
1118
|
-
url: null;
|
|
1119
1118
|
id?: any;
|
|
1119
|
+
url?: null | undefined;
|
|
1120
1120
|
} | {
|
|
1121
|
-
id
|
|
1121
|
+
id?: null | undefined;
|
|
1122
1122
|
url?: any;
|
|
1123
1123
|
}>;
|
|
1124
1124
|
(value: {
|
|
1125
|
-
url: null;
|
|
1126
1125
|
id?: any;
|
|
1126
|
+
url?: null | undefined;
|
|
1127
1127
|
} | {
|
|
1128
|
-
id
|
|
1128
|
+
id?: null | undefined;
|
|
1129
1129
|
url?: any;
|
|
1130
1130
|
}, createOptions?: CreateOptions): TransformablePropValue$1<"video-src", {
|
|
1131
|
-
url: null;
|
|
1132
1131
|
id?: any;
|
|
1132
|
+
url?: null | undefined;
|
|
1133
1133
|
} | {
|
|
1134
|
-
id
|
|
1134
|
+
id?: null | undefined;
|
|
1135
1135
|
url?: any;
|
|
1136
1136
|
}>;
|
|
1137
1137
|
(value: (prev?: {
|
|
1138
|
-
url: null;
|
|
1139
1138
|
id?: any;
|
|
1139
|
+
url?: null | undefined;
|
|
1140
1140
|
} | {
|
|
1141
|
-
id
|
|
1141
|
+
id?: null | undefined;
|
|
1142
1142
|
url?: any;
|
|
1143
1143
|
} | undefined) => {
|
|
1144
|
-
url: null;
|
|
1145
1144
|
id?: any;
|
|
1145
|
+
url?: null | undefined;
|
|
1146
1146
|
} | {
|
|
1147
|
-
id
|
|
1147
|
+
id?: null | undefined;
|
|
1148
1148
|
url?: any;
|
|
1149
1149
|
}, createOptions: CreateOptions): TransformablePropValue$1<"video-src", {
|
|
1150
|
-
url: null;
|
|
1151
1150
|
id?: any;
|
|
1151
|
+
url?: null | undefined;
|
|
1152
1152
|
} | {
|
|
1153
|
-
id
|
|
1153
|
+
id?: null | undefined;
|
|
1154
1154
|
url?: any;
|
|
1155
1155
|
}>;
|
|
1156
1156
|
};
|
|
1157
1157
|
schema: z.ZodObject<{
|
|
1158
1158
|
$$type: z.ZodLiteral<"video-src">;
|
|
1159
1159
|
value: z.ZodType<{
|
|
1160
|
-
url: null;
|
|
1161
1160
|
id?: any;
|
|
1161
|
+
url?: null | undefined;
|
|
1162
1162
|
} | {
|
|
1163
|
-
id
|
|
1163
|
+
id?: null | undefined;
|
|
1164
1164
|
url?: any;
|
|
1165
1165
|
}, z.ZodTypeDef, {
|
|
1166
|
-
url: null;
|
|
1167
1166
|
id?: any;
|
|
1167
|
+
url?: null | undefined;
|
|
1168
1168
|
} | {
|
|
1169
|
-
id
|
|
1169
|
+
id?: null | undefined;
|
|
1170
1170
|
url?: any;
|
|
1171
1171
|
}>;
|
|
1172
1172
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1173
1173
|
}, "strict", z.ZodTypeAny, {
|
|
1174
1174
|
$$type: "video-src";
|
|
1175
1175
|
value: {
|
|
1176
|
-
url: null;
|
|
1177
1176
|
id?: any;
|
|
1177
|
+
url?: null | undefined;
|
|
1178
1178
|
} | {
|
|
1179
|
-
id
|
|
1179
|
+
id?: null | undefined;
|
|
1180
1180
|
url?: any;
|
|
1181
1181
|
};
|
|
1182
1182
|
disabled?: boolean | undefined;
|
|
1183
1183
|
}, {
|
|
1184
1184
|
$$type: "video-src";
|
|
1185
1185
|
value: {
|
|
1186
|
-
url: null;
|
|
1187
1186
|
id?: any;
|
|
1187
|
+
url?: null | undefined;
|
|
1188
1188
|
} | {
|
|
1189
|
-
id
|
|
1189
|
+
id?: null | undefined;
|
|
1190
1190
|
url?: any;
|
|
1191
1191
|
};
|
|
1192
1192
|
disabled?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -308,10 +308,10 @@ var videoSrcPropTypeUtil = createPropUtils(
|
|
|
308
308
|
"video-src",
|
|
309
309
|
import_schema16.z.strictObject({
|
|
310
310
|
id: unknownChildrenSchema,
|
|
311
|
-
url: import_schema16.z.null()
|
|
311
|
+
url: import_schema16.z.literal(null).optional()
|
|
312
312
|
}).or(
|
|
313
313
|
import_schema16.z.strictObject({
|
|
314
|
-
id: import_schema16.z.null(),
|
|
314
|
+
id: import_schema16.z.literal(null).optional(),
|
|
315
315
|
url: unknownChildrenSchema
|
|
316
316
|
})
|
|
317
317
|
)
|