@elementor/editor-editing-panel 4.2.0-855 → 4.2.0-857
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 +123 -0
- package/dist/index.d.ts +123 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/controls-registry/controls-registry.tsx +7 -0
package/dist/index.d.mts
CHANGED
|
@@ -1082,6 +1082,129 @@ declare const controlTypes: {
|
|
|
1082
1082
|
key: string;
|
|
1083
1083
|
};
|
|
1084
1084
|
};
|
|
1085
|
+
readonly 'query-filter-repeater': {
|
|
1086
|
+
readonly component: ControlComponent<({ allowedKeys, keyConfig, label, chipsPlaceholder, }: {
|
|
1087
|
+
allowedKeys: string[];
|
|
1088
|
+
keyConfig: Record<string, _elementor_editor_props.QueryFilterKeyConfig>;
|
|
1089
|
+
label?: string;
|
|
1090
|
+
chipsPlaceholder?: string;
|
|
1091
|
+
}) => react.JSX.Element>;
|
|
1092
|
+
readonly layout: "full";
|
|
1093
|
+
readonly propTypeUtil: {
|
|
1094
|
+
extract: (prop: unknown) => {
|
|
1095
|
+
$$type: "query-filter";
|
|
1096
|
+
value: {
|
|
1097
|
+
values?: any;
|
|
1098
|
+
key?: any;
|
|
1099
|
+
};
|
|
1100
|
+
disabled?: boolean | undefined;
|
|
1101
|
+
}[] | null;
|
|
1102
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<string, {
|
|
1103
|
+
$$type: "query-filter";
|
|
1104
|
+
value: {
|
|
1105
|
+
values?: any;
|
|
1106
|
+
key?: any;
|
|
1107
|
+
};
|
|
1108
|
+
disabled?: boolean | undefined;
|
|
1109
|
+
}[]>;
|
|
1110
|
+
create: {
|
|
1111
|
+
(value: {
|
|
1112
|
+
$$type: "query-filter";
|
|
1113
|
+
value: {
|
|
1114
|
+
values?: any;
|
|
1115
|
+
key?: any;
|
|
1116
|
+
};
|
|
1117
|
+
disabled?: boolean | undefined;
|
|
1118
|
+
}[]): _elementor_editor_props.TransformablePropValue<string, {
|
|
1119
|
+
$$type: "query-filter";
|
|
1120
|
+
value: {
|
|
1121
|
+
values?: any;
|
|
1122
|
+
key?: any;
|
|
1123
|
+
};
|
|
1124
|
+
disabled?: boolean | undefined;
|
|
1125
|
+
}[]>;
|
|
1126
|
+
(value: {
|
|
1127
|
+
$$type: "query-filter";
|
|
1128
|
+
value: {
|
|
1129
|
+
values?: any;
|
|
1130
|
+
key?: any;
|
|
1131
|
+
};
|
|
1132
|
+
disabled?: boolean | undefined;
|
|
1133
|
+
}[], createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
1134
|
+
$$type: "query-filter";
|
|
1135
|
+
value: {
|
|
1136
|
+
values?: any;
|
|
1137
|
+
key?: any;
|
|
1138
|
+
};
|
|
1139
|
+
disabled?: boolean | undefined;
|
|
1140
|
+
}[]>;
|
|
1141
|
+
(value: (prev?: {
|
|
1142
|
+
$$type: "query-filter";
|
|
1143
|
+
value: {
|
|
1144
|
+
values?: any;
|
|
1145
|
+
key?: any;
|
|
1146
|
+
};
|
|
1147
|
+
disabled?: boolean | undefined;
|
|
1148
|
+
}[] | undefined) => {
|
|
1149
|
+
$$type: "query-filter";
|
|
1150
|
+
value: {
|
|
1151
|
+
values?: any;
|
|
1152
|
+
key?: any;
|
|
1153
|
+
};
|
|
1154
|
+
disabled?: boolean | undefined;
|
|
1155
|
+
}[], createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
1156
|
+
$$type: "query-filter";
|
|
1157
|
+
value: {
|
|
1158
|
+
values?: any;
|
|
1159
|
+
key?: any;
|
|
1160
|
+
};
|
|
1161
|
+
disabled?: boolean | undefined;
|
|
1162
|
+
}[]>;
|
|
1163
|
+
};
|
|
1164
|
+
schema: zod.ZodObject<{
|
|
1165
|
+
$$type: zod.ZodLiteral<string>;
|
|
1166
|
+
value: zod.ZodType<{
|
|
1167
|
+
$$type: "query-filter";
|
|
1168
|
+
value: {
|
|
1169
|
+
values?: any;
|
|
1170
|
+
key?: any;
|
|
1171
|
+
};
|
|
1172
|
+
disabled?: boolean | undefined;
|
|
1173
|
+
}[], zod.ZodTypeDef, {
|
|
1174
|
+
$$type: "query-filter";
|
|
1175
|
+
value: {
|
|
1176
|
+
values?: any;
|
|
1177
|
+
key?: any;
|
|
1178
|
+
};
|
|
1179
|
+
disabled?: boolean | undefined;
|
|
1180
|
+
}[]>;
|
|
1181
|
+
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1182
|
+
}, "strict", zod.ZodTypeAny, {
|
|
1183
|
+
$$type: string;
|
|
1184
|
+
value: {
|
|
1185
|
+
$$type: "query-filter";
|
|
1186
|
+
value: {
|
|
1187
|
+
values?: any;
|
|
1188
|
+
key?: any;
|
|
1189
|
+
};
|
|
1190
|
+
disabled?: boolean | undefined;
|
|
1191
|
+
}[];
|
|
1192
|
+
disabled?: boolean | undefined;
|
|
1193
|
+
}, {
|
|
1194
|
+
$$type: string;
|
|
1195
|
+
value: {
|
|
1196
|
+
$$type: "query-filter";
|
|
1197
|
+
value: {
|
|
1198
|
+
values?: any;
|
|
1199
|
+
key?: any;
|
|
1200
|
+
};
|
|
1201
|
+
disabled?: boolean | undefined;
|
|
1202
|
+
}[];
|
|
1203
|
+
disabled?: boolean | undefined;
|
|
1204
|
+
}>;
|
|
1205
|
+
key: string;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1085
1208
|
readonly url: {
|
|
1086
1209
|
readonly component: ControlComponent<({ placeholder: propPlaceholder, ariaLabel }: {
|
|
1087
1210
|
placeholder?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1082,6 +1082,129 @@ declare const controlTypes: {
|
|
|
1082
1082
|
key: string;
|
|
1083
1083
|
};
|
|
1084
1084
|
};
|
|
1085
|
+
readonly 'query-filter-repeater': {
|
|
1086
|
+
readonly component: ControlComponent<({ allowedKeys, keyConfig, label, chipsPlaceholder, }: {
|
|
1087
|
+
allowedKeys: string[];
|
|
1088
|
+
keyConfig: Record<string, _elementor_editor_props.QueryFilterKeyConfig>;
|
|
1089
|
+
label?: string;
|
|
1090
|
+
chipsPlaceholder?: string;
|
|
1091
|
+
}) => react.JSX.Element>;
|
|
1092
|
+
readonly layout: "full";
|
|
1093
|
+
readonly propTypeUtil: {
|
|
1094
|
+
extract: (prop: unknown) => {
|
|
1095
|
+
$$type: "query-filter";
|
|
1096
|
+
value: {
|
|
1097
|
+
values?: any;
|
|
1098
|
+
key?: any;
|
|
1099
|
+
};
|
|
1100
|
+
disabled?: boolean | undefined;
|
|
1101
|
+
}[] | null;
|
|
1102
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<string, {
|
|
1103
|
+
$$type: "query-filter";
|
|
1104
|
+
value: {
|
|
1105
|
+
values?: any;
|
|
1106
|
+
key?: any;
|
|
1107
|
+
};
|
|
1108
|
+
disabled?: boolean | undefined;
|
|
1109
|
+
}[]>;
|
|
1110
|
+
create: {
|
|
1111
|
+
(value: {
|
|
1112
|
+
$$type: "query-filter";
|
|
1113
|
+
value: {
|
|
1114
|
+
values?: any;
|
|
1115
|
+
key?: any;
|
|
1116
|
+
};
|
|
1117
|
+
disabled?: boolean | undefined;
|
|
1118
|
+
}[]): _elementor_editor_props.TransformablePropValue<string, {
|
|
1119
|
+
$$type: "query-filter";
|
|
1120
|
+
value: {
|
|
1121
|
+
values?: any;
|
|
1122
|
+
key?: any;
|
|
1123
|
+
};
|
|
1124
|
+
disabled?: boolean | undefined;
|
|
1125
|
+
}[]>;
|
|
1126
|
+
(value: {
|
|
1127
|
+
$$type: "query-filter";
|
|
1128
|
+
value: {
|
|
1129
|
+
values?: any;
|
|
1130
|
+
key?: any;
|
|
1131
|
+
};
|
|
1132
|
+
disabled?: boolean | undefined;
|
|
1133
|
+
}[], createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
1134
|
+
$$type: "query-filter";
|
|
1135
|
+
value: {
|
|
1136
|
+
values?: any;
|
|
1137
|
+
key?: any;
|
|
1138
|
+
};
|
|
1139
|
+
disabled?: boolean | undefined;
|
|
1140
|
+
}[]>;
|
|
1141
|
+
(value: (prev?: {
|
|
1142
|
+
$$type: "query-filter";
|
|
1143
|
+
value: {
|
|
1144
|
+
values?: any;
|
|
1145
|
+
key?: any;
|
|
1146
|
+
};
|
|
1147
|
+
disabled?: boolean | undefined;
|
|
1148
|
+
}[] | undefined) => {
|
|
1149
|
+
$$type: "query-filter";
|
|
1150
|
+
value: {
|
|
1151
|
+
values?: any;
|
|
1152
|
+
key?: any;
|
|
1153
|
+
};
|
|
1154
|
+
disabled?: boolean | undefined;
|
|
1155
|
+
}[], createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<string, {
|
|
1156
|
+
$$type: "query-filter";
|
|
1157
|
+
value: {
|
|
1158
|
+
values?: any;
|
|
1159
|
+
key?: any;
|
|
1160
|
+
};
|
|
1161
|
+
disabled?: boolean | undefined;
|
|
1162
|
+
}[]>;
|
|
1163
|
+
};
|
|
1164
|
+
schema: zod.ZodObject<{
|
|
1165
|
+
$$type: zod.ZodLiteral<string>;
|
|
1166
|
+
value: zod.ZodType<{
|
|
1167
|
+
$$type: "query-filter";
|
|
1168
|
+
value: {
|
|
1169
|
+
values?: any;
|
|
1170
|
+
key?: any;
|
|
1171
|
+
};
|
|
1172
|
+
disabled?: boolean | undefined;
|
|
1173
|
+
}[], zod.ZodTypeDef, {
|
|
1174
|
+
$$type: "query-filter";
|
|
1175
|
+
value: {
|
|
1176
|
+
values?: any;
|
|
1177
|
+
key?: any;
|
|
1178
|
+
};
|
|
1179
|
+
disabled?: boolean | undefined;
|
|
1180
|
+
}[]>;
|
|
1181
|
+
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1182
|
+
}, "strict", zod.ZodTypeAny, {
|
|
1183
|
+
$$type: string;
|
|
1184
|
+
value: {
|
|
1185
|
+
$$type: "query-filter";
|
|
1186
|
+
value: {
|
|
1187
|
+
values?: any;
|
|
1188
|
+
key?: any;
|
|
1189
|
+
};
|
|
1190
|
+
disabled?: boolean | undefined;
|
|
1191
|
+
}[];
|
|
1192
|
+
disabled?: boolean | undefined;
|
|
1193
|
+
}, {
|
|
1194
|
+
$$type: string;
|
|
1195
|
+
value: {
|
|
1196
|
+
$$type: "query-filter";
|
|
1197
|
+
value: {
|
|
1198
|
+
values?: any;
|
|
1199
|
+
key?: any;
|
|
1200
|
+
};
|
|
1201
|
+
disabled?: boolean | undefined;
|
|
1202
|
+
}[];
|
|
1203
|
+
disabled?: boolean | undefined;
|
|
1204
|
+
}>;
|
|
1205
|
+
key: string;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1085
1208
|
readonly url: {
|
|
1086
1209
|
readonly component: ControlComponent<({ placeholder: propPlaceholder, ariaLabel }: {
|
|
1087
1210
|
placeholder?: string;
|
package/dist/index.js
CHANGED
|
@@ -2057,6 +2057,11 @@ var controlTypes = {
|
|
|
2057
2057
|
link: { component: import_editor_controls.LinkControl, layout: "custom", propTypeUtil: import_editor_props4.linkPropTypeUtil },
|
|
2058
2058
|
query: { component: import_editor_controls.QueryControl, layout: "full", propTypeUtil: import_editor_props4.queryPropTypeUtil },
|
|
2059
2059
|
"query-chips": { component: import_editor_controls.QueryChipsControl, layout: "full", propTypeUtil: queryArrayPropTypeUtil },
|
|
2060
|
+
"query-filter-repeater": {
|
|
2061
|
+
component: import_editor_controls.QueryFilterRepeaterControl,
|
|
2062
|
+
layout: "full",
|
|
2063
|
+
propTypeUtil: import_editor_props4.queryFilterArrayPropTypeUtil
|
|
2064
|
+
},
|
|
2060
2065
|
url: { component: import_editor_controls.UrlControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
2061
2066
|
switch: { component: import_editor_controls.SwitchControl, layout: "two-columns", propTypeUtil: import_editor_props4.booleanPropTypeUtil },
|
|
2062
2067
|
number: { component: import_editor_controls.NumberControl, layout: "two-columns", propTypeUtil: import_editor_props4.numberPropTypeUtil },
|