@elementor/editor-editing-panel 4.4.0-beta1 → 4.4.0-beta2

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 CHANGED
@@ -1186,6 +1186,80 @@ declare const controlTypes: {
1186
1186
  key: string;
1187
1187
  };
1188
1188
  };
1189
+ readonly 'query-select': {
1190
+ readonly component: ControlComponent<(props: {
1191
+ queryOptions: {
1192
+ params: Record<string, unknown>;
1193
+ url: string;
1194
+ };
1195
+ placeholder?: string;
1196
+ minInputLength?: number;
1197
+ ariaLabel?: string;
1198
+ }) => react.JSX.Element>;
1199
+ readonly layout: "full";
1200
+ readonly propTypeUtil: {
1201
+ extract: (prop: unknown) => {
1202
+ id?: any;
1203
+ label?: any;
1204
+ } | null;
1205
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"query", {
1206
+ id?: any;
1207
+ label?: any;
1208
+ }>;
1209
+ create: {
1210
+ (value: {
1211
+ id?: any;
1212
+ label?: any;
1213
+ }): _elementor_editor_props.TransformablePropValue<"query", {
1214
+ id?: any;
1215
+ label?: any;
1216
+ }>;
1217
+ (value: {
1218
+ id?: any;
1219
+ label?: any;
1220
+ }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"query", {
1221
+ id?: any;
1222
+ label?: any;
1223
+ }>;
1224
+ (value: (prev?: {
1225
+ id?: any;
1226
+ label?: any;
1227
+ } | undefined) => {
1228
+ id?: any;
1229
+ label?: any;
1230
+ }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"query", {
1231
+ id?: any;
1232
+ label?: any;
1233
+ }>;
1234
+ };
1235
+ schema: zod.ZodObject<{
1236
+ $$type: zod.ZodLiteral<"query">;
1237
+ value: zod.ZodType<{
1238
+ id?: any;
1239
+ label?: any;
1240
+ }, zod.ZodTypeDef, {
1241
+ id?: any;
1242
+ label?: any;
1243
+ }>;
1244
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
1245
+ }, "strict", zod.ZodTypeAny, {
1246
+ $$type: "query";
1247
+ value: {
1248
+ id?: any;
1249
+ label?: any;
1250
+ };
1251
+ disabled?: boolean | undefined;
1252
+ }, {
1253
+ $$type: "query";
1254
+ value: {
1255
+ id?: any;
1256
+ label?: any;
1257
+ };
1258
+ disabled?: boolean | undefined;
1259
+ }>;
1260
+ key: "query";
1261
+ };
1262
+ };
1189
1263
  readonly 'query-filter-repeater': {
1190
1264
  readonly component: ControlComponent<({ allowedKeys, keyConfig, label, chipsPlaceholder, }: {
1191
1265
  allowedKeys: string[];
package/dist/index.d.ts CHANGED
@@ -1186,6 +1186,80 @@ declare const controlTypes: {
1186
1186
  key: string;
1187
1187
  };
1188
1188
  };
1189
+ readonly 'query-select': {
1190
+ readonly component: ControlComponent<(props: {
1191
+ queryOptions: {
1192
+ params: Record<string, unknown>;
1193
+ url: string;
1194
+ };
1195
+ placeholder?: string;
1196
+ minInputLength?: number;
1197
+ ariaLabel?: string;
1198
+ }) => react.JSX.Element>;
1199
+ readonly layout: "full";
1200
+ readonly propTypeUtil: {
1201
+ extract: (prop: unknown) => {
1202
+ id?: any;
1203
+ label?: any;
1204
+ } | null;
1205
+ isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"query", {
1206
+ id?: any;
1207
+ label?: any;
1208
+ }>;
1209
+ create: {
1210
+ (value: {
1211
+ id?: any;
1212
+ label?: any;
1213
+ }): _elementor_editor_props.TransformablePropValue<"query", {
1214
+ id?: any;
1215
+ label?: any;
1216
+ }>;
1217
+ (value: {
1218
+ id?: any;
1219
+ label?: any;
1220
+ }, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"query", {
1221
+ id?: any;
1222
+ label?: any;
1223
+ }>;
1224
+ (value: (prev?: {
1225
+ id?: any;
1226
+ label?: any;
1227
+ } | undefined) => {
1228
+ id?: any;
1229
+ label?: any;
1230
+ }, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"query", {
1231
+ id?: any;
1232
+ label?: any;
1233
+ }>;
1234
+ };
1235
+ schema: zod.ZodObject<{
1236
+ $$type: zod.ZodLiteral<"query">;
1237
+ value: zod.ZodType<{
1238
+ id?: any;
1239
+ label?: any;
1240
+ }, zod.ZodTypeDef, {
1241
+ id?: any;
1242
+ label?: any;
1243
+ }>;
1244
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
1245
+ }, "strict", zod.ZodTypeAny, {
1246
+ $$type: "query";
1247
+ value: {
1248
+ id?: any;
1249
+ label?: any;
1250
+ };
1251
+ disabled?: boolean | undefined;
1252
+ }, {
1253
+ $$type: "query";
1254
+ value: {
1255
+ id?: any;
1256
+ label?: any;
1257
+ };
1258
+ disabled?: boolean | undefined;
1259
+ }>;
1260
+ key: "query";
1261
+ };
1262
+ };
1189
1263
  readonly 'query-filter-repeater': {
1190
1264
  readonly component: ControlComponent<({ allowedKeys, keyConfig, label, chipsPlaceholder, }: {
1191
1265
  allowedKeys: string[];
package/dist/index.js CHANGED
@@ -2495,6 +2495,7 @@ var controlTypes = {
2495
2495
  link: { component: import_editor_controls2.LinkControl, layout: "custom", propTypeUtil: import_editor_props6.linkPropTypeUtil },
2496
2496
  query: { component: import_editor_controls2.QueryControl, layout: "full", propTypeUtil: import_editor_props6.queryPropTypeUtil },
2497
2497
  "query-chips": { component: import_editor_controls2.QueryChipsControl, layout: "full", propTypeUtil: queryArrayPropTypeUtil },
2498
+ "query-select": { component: import_editor_controls2.QuerySelectControl, layout: "full", propTypeUtil: import_editor_props6.queryPropTypeUtil },
2498
2499
  "query-filter-repeater": {
2499
2500
  component: import_editor_controls2.QueryFilterRepeaterControl,
2500
2501
  layout: "full",