@elementor/editor-props 4.2.0-856 → 4.2.0-858
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 +187 -1
- package/dist/index.d.ts +187 -1
- package/dist/index.js +78 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +76 -60
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/prop-types/index.ts +1 -0
- package/src/prop-types/query-filter.ts +28 -0
package/dist/index.d.mts
CHANGED
|
@@ -3295,6 +3295,192 @@ declare const queryPropTypeUtil: {
|
|
|
3295
3295
|
};
|
|
3296
3296
|
type QueryPropValue = z.infer<typeof queryPropTypeUtil.schema>;
|
|
3297
3297
|
|
|
3298
|
+
declare const queryFilterPropTypeUtil: {
|
|
3299
|
+
extract: (prop: unknown) => {
|
|
3300
|
+
values?: any;
|
|
3301
|
+
key?: any;
|
|
3302
|
+
} | null;
|
|
3303
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"query-filter", {
|
|
3304
|
+
values?: any;
|
|
3305
|
+
key?: any;
|
|
3306
|
+
}>;
|
|
3307
|
+
create: {
|
|
3308
|
+
(value: {
|
|
3309
|
+
values?: any;
|
|
3310
|
+
key?: any;
|
|
3311
|
+
}): TransformablePropValue$1<"query-filter", {
|
|
3312
|
+
values?: any;
|
|
3313
|
+
key?: any;
|
|
3314
|
+
}>;
|
|
3315
|
+
(value: {
|
|
3316
|
+
values?: any;
|
|
3317
|
+
key?: any;
|
|
3318
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"query-filter", {
|
|
3319
|
+
values?: any;
|
|
3320
|
+
key?: any;
|
|
3321
|
+
}>;
|
|
3322
|
+
(value: (prev?: {
|
|
3323
|
+
values?: any;
|
|
3324
|
+
key?: any;
|
|
3325
|
+
} | undefined) => {
|
|
3326
|
+
values?: any;
|
|
3327
|
+
key?: any;
|
|
3328
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"query-filter", {
|
|
3329
|
+
values?: any;
|
|
3330
|
+
key?: any;
|
|
3331
|
+
}>;
|
|
3332
|
+
};
|
|
3333
|
+
schema: z.ZodObject<{
|
|
3334
|
+
$$type: z.ZodLiteral<"query-filter">;
|
|
3335
|
+
value: z.ZodType<{
|
|
3336
|
+
values?: any;
|
|
3337
|
+
key?: any;
|
|
3338
|
+
}, z.ZodTypeDef, {
|
|
3339
|
+
values?: any;
|
|
3340
|
+
key?: any;
|
|
3341
|
+
}>;
|
|
3342
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3343
|
+
}, "strict", z.ZodTypeAny, {
|
|
3344
|
+
$$type: "query-filter";
|
|
3345
|
+
value: {
|
|
3346
|
+
values?: any;
|
|
3347
|
+
key?: any;
|
|
3348
|
+
};
|
|
3349
|
+
disabled?: boolean | undefined;
|
|
3350
|
+
}, {
|
|
3351
|
+
$$type: "query-filter";
|
|
3352
|
+
value: {
|
|
3353
|
+
values?: any;
|
|
3354
|
+
key?: any;
|
|
3355
|
+
};
|
|
3356
|
+
disabled?: boolean | undefined;
|
|
3357
|
+
}>;
|
|
3358
|
+
key: "query-filter";
|
|
3359
|
+
};
|
|
3360
|
+
type QueryFilterPropValue = z.infer<typeof queryFilterPropTypeUtil.schema>;
|
|
3361
|
+
declare const queryFilterArrayPropTypeUtil: {
|
|
3362
|
+
extract: (prop: unknown) => {
|
|
3363
|
+
$$type: "query-filter";
|
|
3364
|
+
value: {
|
|
3365
|
+
values?: any;
|
|
3366
|
+
key?: any;
|
|
3367
|
+
};
|
|
3368
|
+
disabled?: boolean | undefined;
|
|
3369
|
+
}[] | null;
|
|
3370
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<string, {
|
|
3371
|
+
$$type: "query-filter";
|
|
3372
|
+
value: {
|
|
3373
|
+
values?: any;
|
|
3374
|
+
key?: any;
|
|
3375
|
+
};
|
|
3376
|
+
disabled?: boolean | undefined;
|
|
3377
|
+
}[]>;
|
|
3378
|
+
create: {
|
|
3379
|
+
(value: {
|
|
3380
|
+
$$type: "query-filter";
|
|
3381
|
+
value: {
|
|
3382
|
+
values?: any;
|
|
3383
|
+
key?: any;
|
|
3384
|
+
};
|
|
3385
|
+
disabled?: boolean | undefined;
|
|
3386
|
+
}[]): TransformablePropValue$1<string, {
|
|
3387
|
+
$$type: "query-filter";
|
|
3388
|
+
value: {
|
|
3389
|
+
values?: any;
|
|
3390
|
+
key?: any;
|
|
3391
|
+
};
|
|
3392
|
+
disabled?: boolean | undefined;
|
|
3393
|
+
}[]>;
|
|
3394
|
+
(value: {
|
|
3395
|
+
$$type: "query-filter";
|
|
3396
|
+
value: {
|
|
3397
|
+
values?: any;
|
|
3398
|
+
key?: any;
|
|
3399
|
+
};
|
|
3400
|
+
disabled?: boolean | undefined;
|
|
3401
|
+
}[], createOptions?: CreateOptions): TransformablePropValue$1<string, {
|
|
3402
|
+
$$type: "query-filter";
|
|
3403
|
+
value: {
|
|
3404
|
+
values?: any;
|
|
3405
|
+
key?: any;
|
|
3406
|
+
};
|
|
3407
|
+
disabled?: boolean | undefined;
|
|
3408
|
+
}[]>;
|
|
3409
|
+
(value: (prev?: {
|
|
3410
|
+
$$type: "query-filter";
|
|
3411
|
+
value: {
|
|
3412
|
+
values?: any;
|
|
3413
|
+
key?: any;
|
|
3414
|
+
};
|
|
3415
|
+
disabled?: boolean | undefined;
|
|
3416
|
+
}[] | undefined) => {
|
|
3417
|
+
$$type: "query-filter";
|
|
3418
|
+
value: {
|
|
3419
|
+
values?: any;
|
|
3420
|
+
key?: any;
|
|
3421
|
+
};
|
|
3422
|
+
disabled?: boolean | undefined;
|
|
3423
|
+
}[], createOptions: CreateOptions): TransformablePropValue$1<string, {
|
|
3424
|
+
$$type: "query-filter";
|
|
3425
|
+
value: {
|
|
3426
|
+
values?: any;
|
|
3427
|
+
key?: any;
|
|
3428
|
+
};
|
|
3429
|
+
disabled?: boolean | undefined;
|
|
3430
|
+
}[]>;
|
|
3431
|
+
};
|
|
3432
|
+
schema: z.ZodObject<{
|
|
3433
|
+
$$type: z.ZodLiteral<string>;
|
|
3434
|
+
value: z.ZodType<{
|
|
3435
|
+
$$type: "query-filter";
|
|
3436
|
+
value: {
|
|
3437
|
+
values?: any;
|
|
3438
|
+
key?: any;
|
|
3439
|
+
};
|
|
3440
|
+
disabled?: boolean | undefined;
|
|
3441
|
+
}[], z.ZodTypeDef, {
|
|
3442
|
+
$$type: "query-filter";
|
|
3443
|
+
value: {
|
|
3444
|
+
values?: any;
|
|
3445
|
+
key?: any;
|
|
3446
|
+
};
|
|
3447
|
+
disabled?: boolean | undefined;
|
|
3448
|
+
}[]>;
|
|
3449
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3450
|
+
}, "strict", z.ZodTypeAny, {
|
|
3451
|
+
$$type: string;
|
|
3452
|
+
value: {
|
|
3453
|
+
$$type: "query-filter";
|
|
3454
|
+
value: {
|
|
3455
|
+
values?: any;
|
|
3456
|
+
key?: any;
|
|
3457
|
+
};
|
|
3458
|
+
disabled?: boolean | undefined;
|
|
3459
|
+
}[];
|
|
3460
|
+
disabled?: boolean | undefined;
|
|
3461
|
+
}, {
|
|
3462
|
+
$$type: string;
|
|
3463
|
+
value: {
|
|
3464
|
+
$$type: "query-filter";
|
|
3465
|
+
value: {
|
|
3466
|
+
values?: any;
|
|
3467
|
+
key?: any;
|
|
3468
|
+
};
|
|
3469
|
+
disabled?: boolean | undefined;
|
|
3470
|
+
}[];
|
|
3471
|
+
disabled?: boolean | undefined;
|
|
3472
|
+
}>;
|
|
3473
|
+
key: string;
|
|
3474
|
+
};
|
|
3475
|
+
type QueryFilterKeyConfig = {
|
|
3476
|
+
label: string;
|
|
3477
|
+
queryEndpoint?: {
|
|
3478
|
+
url: string;
|
|
3479
|
+
params?: Record<string, unknown>;
|
|
3480
|
+
} | null;
|
|
3481
|
+
chipsPlaceholder?: string;
|
|
3482
|
+
};
|
|
3483
|
+
|
|
3298
3484
|
declare const htmlPropTypeUtil: {
|
|
3299
3485
|
extract: (prop: unknown) => string | null;
|
|
3300
3486
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"html", string | null>;
|
|
@@ -7253,4 +7439,4 @@ declare const Schema: {
|
|
|
7253
7439
|
removeIntention: typeof removeIntention;
|
|
7254
7440
|
};
|
|
7255
7441
|
|
|
7256
|
-
export { type AnyTransformable, type ArrayPropType, type ArrayPropValue, type BackdropFilterItemPropValue, type BackdropFilterPropValue, type BackgroundColorOverlayPropValue, type BackgroundGradientOverlayPropValue, type BackgroundImageOverlayPropValue, type BackgroundImagePositionOffsetPropValue, type BackgroundImageSizeScalePropValue, type BackgroundOverlayImagePropType, type BackgroundOverlayItemPropValue, type BackgroundOverlayPropType, type BackgroundOverlayPropValue, type BackgroundPropValue, type BooleanPropValue, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, CLASSES_PROP_KEY, type ChildElement, type ClassesPropValue, type ColorPropValue, type ColorStopPropValue, type CreateOptions, type DateRangePropValue, type DateStringPropValue, DateTimePropTypeUtil, type DateTimePropValue, type Dependency, type DependencyOperator, type DependencyTerm, type DimensionsPropValue, type DropShadowFilterPropValue, type EmailPropValue, type ExtractValueOptions, type FilterItemPropValue, type FilterPropValue, type FlexPropValue, type GradientColorStopPropValue, type HtmlPropValue, type HtmlV2PropValue, type HtmlV2Value, type HtmlV3PropValue, type HtmlV3Value, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type JsonSchema7, type KeyValuePropValue, type LayoutDirectionPropValue, type LinkPropValue, type MoveTransformPropValue, type NumberPropValue, type NumberRangePropValue, type ObjectPropType, type ObjectPropValue, type OverridableTransformable, type ParseResult, type PerspectiveOriginPropValue, type PlainPropType, type PlainPropValue, type PositionPropTypeValue, type PropKey, type PropType, type PropTypeKey, type PropTypeUtil, type PropValue, type Props, type PropsSchema, type QueryPropValue, type RotateTransformPropValue, type ScaleTransformPropValue, Schema, type SelectionSizePropValue, type ShadowPropValue, type SizePropValue, type SkewTransformPropValue, type SpanPropValue, type StringArrayPropValue, type StringPropValue, type StrokePropValue, type SvgSrcPropValue, type TimeRangePropValue, type TimeStringPropValue, type TransformFunctionsItemPropValue, type TransformFunctionsPropValue, type TransformOriginPropValue, type TransformPropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, type VideoAttachmentIdPropValue, type VideoSrcPropValue, backdropFilterPropTypeUtil, backgroundColorOverlayPropTypeUtil, backgroundGradientOverlayPropTypeUtil, backgroundImageOverlayPropTypeUtil, backgroundImagePositionOffsetPropTypeUtil, backgroundImageSizeScalePropTypeUtil, backgroundOverlayItem, backgroundOverlayPropTypeUtil, backgroundPropTypeUtil, blurFilterPropTypeUtil, booleanPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorPropTypeUtil, colorStopPropTypeUtil, colorToneFilterPropTypeUtil, createArrayPropUtils, createPropUtils, cssFilterFunctionPropUtil, dateRangePropTypeUtil, dateStringPropTypeUtil, dimensionsPropTypeUtil, dropShadowFilterPropTypeUtil, emailPropTypeUtil, evaluateTerm, extractValue, filterEmptyValues, filterPropTypeUtil, flexPropTypeUtil, getPropSchemaFromCache, gradientColorStopPropTypeUtil, htmlPropTypeUtil, htmlV2PropTypeUtil, htmlV3PropTypeUtil, hueRotateFilterPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, intensityFilterPropTypeUtil, isDependency, isDependencyMet, isEmpty, isOverridable, isTransformable, keyValuePropTypeUtil, layoutDirectionPropTypeUtil, linkPropTypeUtil, mergeProps, moveTransformPropTypeUtil, numberPropTypeUtil, numberRangePropTypeUtil, parseHtmlChildren, perspectiveOriginPropTypeUtil, positionPropTypeUtil, queryPropTypeUtil, rewrapOverridableValue, rotateTransformPropTypeUtil, scaleTransformPropTypeUtil, selectionSizePropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, skewTransformPropTypeUtil, spanPropTypeUtil, stringArrayPropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, svgSrcPropTypeUtil, timeRangePropTypeUtil, timeStringPropTypeUtil, transformFunctionsPropTypeUtil, transformOriginPropTypeUtil, transformPropTypeUtil, urlPropTypeUtil, videoAttachmentIdPropType, videoSrcPropTypeUtil };
|
|
7442
|
+
export { type AnyTransformable, type ArrayPropType, type ArrayPropValue, type BackdropFilterItemPropValue, type BackdropFilterPropValue, type BackgroundColorOverlayPropValue, type BackgroundGradientOverlayPropValue, type BackgroundImageOverlayPropValue, type BackgroundImagePositionOffsetPropValue, type BackgroundImageSizeScalePropValue, type BackgroundOverlayImagePropType, type BackgroundOverlayItemPropValue, type BackgroundOverlayPropType, type BackgroundOverlayPropValue, type BackgroundPropValue, type BooleanPropValue, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, CLASSES_PROP_KEY, type ChildElement, type ClassesPropValue, type ColorPropValue, type ColorStopPropValue, type CreateOptions, type DateRangePropValue, type DateStringPropValue, DateTimePropTypeUtil, type DateTimePropValue, type Dependency, type DependencyOperator, type DependencyTerm, type DimensionsPropValue, type DropShadowFilterPropValue, type EmailPropValue, type ExtractValueOptions, type FilterItemPropValue, type FilterPropValue, type FlexPropValue, type GradientColorStopPropValue, type HtmlPropValue, type HtmlV2PropValue, type HtmlV2Value, type HtmlV3PropValue, type HtmlV3Value, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type JsonSchema7, type KeyValuePropValue, type LayoutDirectionPropValue, type LinkPropValue, type MoveTransformPropValue, type NumberPropValue, type NumberRangePropValue, type ObjectPropType, type ObjectPropValue, type OverridableTransformable, type ParseResult, type PerspectiveOriginPropValue, type PlainPropType, type PlainPropValue, type PositionPropTypeValue, type PropKey, type PropType, type PropTypeKey, type PropTypeUtil, type PropValue, type Props, type PropsSchema, type QueryFilterKeyConfig, type QueryFilterPropValue, type QueryPropValue, type RotateTransformPropValue, type ScaleTransformPropValue, Schema, type SelectionSizePropValue, type ShadowPropValue, type SizePropValue, type SkewTransformPropValue, type SpanPropValue, type StringArrayPropValue, type StringPropValue, type StrokePropValue, type SvgSrcPropValue, type TimeRangePropValue, type TimeStringPropValue, type TransformFunctionsItemPropValue, type TransformFunctionsPropValue, type TransformOriginPropValue, type TransformPropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, type VideoAttachmentIdPropValue, type VideoSrcPropValue, backdropFilterPropTypeUtil, backgroundColorOverlayPropTypeUtil, backgroundGradientOverlayPropTypeUtil, backgroundImageOverlayPropTypeUtil, backgroundImagePositionOffsetPropTypeUtil, backgroundImageSizeScalePropTypeUtil, backgroundOverlayItem, backgroundOverlayPropTypeUtil, backgroundPropTypeUtil, blurFilterPropTypeUtil, booleanPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorPropTypeUtil, colorStopPropTypeUtil, colorToneFilterPropTypeUtil, createArrayPropUtils, createPropUtils, cssFilterFunctionPropUtil, dateRangePropTypeUtil, dateStringPropTypeUtil, dimensionsPropTypeUtil, dropShadowFilterPropTypeUtil, emailPropTypeUtil, evaluateTerm, extractValue, filterEmptyValues, filterPropTypeUtil, flexPropTypeUtil, getPropSchemaFromCache, gradientColorStopPropTypeUtil, htmlPropTypeUtil, htmlV2PropTypeUtil, htmlV3PropTypeUtil, hueRotateFilterPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, intensityFilterPropTypeUtil, isDependency, isDependencyMet, isEmpty, isOverridable, isTransformable, keyValuePropTypeUtil, layoutDirectionPropTypeUtil, linkPropTypeUtil, mergeProps, moveTransformPropTypeUtil, numberPropTypeUtil, numberRangePropTypeUtil, parseHtmlChildren, perspectiveOriginPropTypeUtil, positionPropTypeUtil, queryFilterArrayPropTypeUtil, queryFilterPropTypeUtil, queryPropTypeUtil, rewrapOverridableValue, rotateTransformPropTypeUtil, scaleTransformPropTypeUtil, selectionSizePropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, skewTransformPropTypeUtil, spanPropTypeUtil, stringArrayPropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, svgSrcPropTypeUtil, timeRangePropTypeUtil, timeStringPropTypeUtil, transformFunctionsPropTypeUtil, transformOriginPropTypeUtil, transformPropTypeUtil, urlPropTypeUtil, videoAttachmentIdPropType, videoSrcPropTypeUtil };
|
package/dist/index.d.ts
CHANGED
|
@@ -3295,6 +3295,192 @@ declare const queryPropTypeUtil: {
|
|
|
3295
3295
|
};
|
|
3296
3296
|
type QueryPropValue = z.infer<typeof queryPropTypeUtil.schema>;
|
|
3297
3297
|
|
|
3298
|
+
declare const queryFilterPropTypeUtil: {
|
|
3299
|
+
extract: (prop: unknown) => {
|
|
3300
|
+
values?: any;
|
|
3301
|
+
key?: any;
|
|
3302
|
+
} | null;
|
|
3303
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"query-filter", {
|
|
3304
|
+
values?: any;
|
|
3305
|
+
key?: any;
|
|
3306
|
+
}>;
|
|
3307
|
+
create: {
|
|
3308
|
+
(value: {
|
|
3309
|
+
values?: any;
|
|
3310
|
+
key?: any;
|
|
3311
|
+
}): TransformablePropValue$1<"query-filter", {
|
|
3312
|
+
values?: any;
|
|
3313
|
+
key?: any;
|
|
3314
|
+
}>;
|
|
3315
|
+
(value: {
|
|
3316
|
+
values?: any;
|
|
3317
|
+
key?: any;
|
|
3318
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"query-filter", {
|
|
3319
|
+
values?: any;
|
|
3320
|
+
key?: any;
|
|
3321
|
+
}>;
|
|
3322
|
+
(value: (prev?: {
|
|
3323
|
+
values?: any;
|
|
3324
|
+
key?: any;
|
|
3325
|
+
} | undefined) => {
|
|
3326
|
+
values?: any;
|
|
3327
|
+
key?: any;
|
|
3328
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"query-filter", {
|
|
3329
|
+
values?: any;
|
|
3330
|
+
key?: any;
|
|
3331
|
+
}>;
|
|
3332
|
+
};
|
|
3333
|
+
schema: z.ZodObject<{
|
|
3334
|
+
$$type: z.ZodLiteral<"query-filter">;
|
|
3335
|
+
value: z.ZodType<{
|
|
3336
|
+
values?: any;
|
|
3337
|
+
key?: any;
|
|
3338
|
+
}, z.ZodTypeDef, {
|
|
3339
|
+
values?: any;
|
|
3340
|
+
key?: any;
|
|
3341
|
+
}>;
|
|
3342
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3343
|
+
}, "strict", z.ZodTypeAny, {
|
|
3344
|
+
$$type: "query-filter";
|
|
3345
|
+
value: {
|
|
3346
|
+
values?: any;
|
|
3347
|
+
key?: any;
|
|
3348
|
+
};
|
|
3349
|
+
disabled?: boolean | undefined;
|
|
3350
|
+
}, {
|
|
3351
|
+
$$type: "query-filter";
|
|
3352
|
+
value: {
|
|
3353
|
+
values?: any;
|
|
3354
|
+
key?: any;
|
|
3355
|
+
};
|
|
3356
|
+
disabled?: boolean | undefined;
|
|
3357
|
+
}>;
|
|
3358
|
+
key: "query-filter";
|
|
3359
|
+
};
|
|
3360
|
+
type QueryFilterPropValue = z.infer<typeof queryFilterPropTypeUtil.schema>;
|
|
3361
|
+
declare const queryFilterArrayPropTypeUtil: {
|
|
3362
|
+
extract: (prop: unknown) => {
|
|
3363
|
+
$$type: "query-filter";
|
|
3364
|
+
value: {
|
|
3365
|
+
values?: any;
|
|
3366
|
+
key?: any;
|
|
3367
|
+
};
|
|
3368
|
+
disabled?: boolean | undefined;
|
|
3369
|
+
}[] | null;
|
|
3370
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<string, {
|
|
3371
|
+
$$type: "query-filter";
|
|
3372
|
+
value: {
|
|
3373
|
+
values?: any;
|
|
3374
|
+
key?: any;
|
|
3375
|
+
};
|
|
3376
|
+
disabled?: boolean | undefined;
|
|
3377
|
+
}[]>;
|
|
3378
|
+
create: {
|
|
3379
|
+
(value: {
|
|
3380
|
+
$$type: "query-filter";
|
|
3381
|
+
value: {
|
|
3382
|
+
values?: any;
|
|
3383
|
+
key?: any;
|
|
3384
|
+
};
|
|
3385
|
+
disabled?: boolean | undefined;
|
|
3386
|
+
}[]): TransformablePropValue$1<string, {
|
|
3387
|
+
$$type: "query-filter";
|
|
3388
|
+
value: {
|
|
3389
|
+
values?: any;
|
|
3390
|
+
key?: any;
|
|
3391
|
+
};
|
|
3392
|
+
disabled?: boolean | undefined;
|
|
3393
|
+
}[]>;
|
|
3394
|
+
(value: {
|
|
3395
|
+
$$type: "query-filter";
|
|
3396
|
+
value: {
|
|
3397
|
+
values?: any;
|
|
3398
|
+
key?: any;
|
|
3399
|
+
};
|
|
3400
|
+
disabled?: boolean | undefined;
|
|
3401
|
+
}[], createOptions?: CreateOptions): TransformablePropValue$1<string, {
|
|
3402
|
+
$$type: "query-filter";
|
|
3403
|
+
value: {
|
|
3404
|
+
values?: any;
|
|
3405
|
+
key?: any;
|
|
3406
|
+
};
|
|
3407
|
+
disabled?: boolean | undefined;
|
|
3408
|
+
}[]>;
|
|
3409
|
+
(value: (prev?: {
|
|
3410
|
+
$$type: "query-filter";
|
|
3411
|
+
value: {
|
|
3412
|
+
values?: any;
|
|
3413
|
+
key?: any;
|
|
3414
|
+
};
|
|
3415
|
+
disabled?: boolean | undefined;
|
|
3416
|
+
}[] | undefined) => {
|
|
3417
|
+
$$type: "query-filter";
|
|
3418
|
+
value: {
|
|
3419
|
+
values?: any;
|
|
3420
|
+
key?: any;
|
|
3421
|
+
};
|
|
3422
|
+
disabled?: boolean | undefined;
|
|
3423
|
+
}[], createOptions: CreateOptions): TransformablePropValue$1<string, {
|
|
3424
|
+
$$type: "query-filter";
|
|
3425
|
+
value: {
|
|
3426
|
+
values?: any;
|
|
3427
|
+
key?: any;
|
|
3428
|
+
};
|
|
3429
|
+
disabled?: boolean | undefined;
|
|
3430
|
+
}[]>;
|
|
3431
|
+
};
|
|
3432
|
+
schema: z.ZodObject<{
|
|
3433
|
+
$$type: z.ZodLiteral<string>;
|
|
3434
|
+
value: z.ZodType<{
|
|
3435
|
+
$$type: "query-filter";
|
|
3436
|
+
value: {
|
|
3437
|
+
values?: any;
|
|
3438
|
+
key?: any;
|
|
3439
|
+
};
|
|
3440
|
+
disabled?: boolean | undefined;
|
|
3441
|
+
}[], z.ZodTypeDef, {
|
|
3442
|
+
$$type: "query-filter";
|
|
3443
|
+
value: {
|
|
3444
|
+
values?: any;
|
|
3445
|
+
key?: any;
|
|
3446
|
+
};
|
|
3447
|
+
disabled?: boolean | undefined;
|
|
3448
|
+
}[]>;
|
|
3449
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3450
|
+
}, "strict", z.ZodTypeAny, {
|
|
3451
|
+
$$type: string;
|
|
3452
|
+
value: {
|
|
3453
|
+
$$type: "query-filter";
|
|
3454
|
+
value: {
|
|
3455
|
+
values?: any;
|
|
3456
|
+
key?: any;
|
|
3457
|
+
};
|
|
3458
|
+
disabled?: boolean | undefined;
|
|
3459
|
+
}[];
|
|
3460
|
+
disabled?: boolean | undefined;
|
|
3461
|
+
}, {
|
|
3462
|
+
$$type: string;
|
|
3463
|
+
value: {
|
|
3464
|
+
$$type: "query-filter";
|
|
3465
|
+
value: {
|
|
3466
|
+
values?: any;
|
|
3467
|
+
key?: any;
|
|
3468
|
+
};
|
|
3469
|
+
disabled?: boolean | undefined;
|
|
3470
|
+
}[];
|
|
3471
|
+
disabled?: boolean | undefined;
|
|
3472
|
+
}>;
|
|
3473
|
+
key: string;
|
|
3474
|
+
};
|
|
3475
|
+
type QueryFilterKeyConfig = {
|
|
3476
|
+
label: string;
|
|
3477
|
+
queryEndpoint?: {
|
|
3478
|
+
url: string;
|
|
3479
|
+
params?: Record<string, unknown>;
|
|
3480
|
+
} | null;
|
|
3481
|
+
chipsPlaceholder?: string;
|
|
3482
|
+
};
|
|
3483
|
+
|
|
3298
3484
|
declare const htmlPropTypeUtil: {
|
|
3299
3485
|
extract: (prop: unknown) => string | null;
|
|
3300
3486
|
isValid: (prop: unknown) => prop is TransformablePropValue$1<"html", string | null>;
|
|
@@ -7253,4 +7439,4 @@ declare const Schema: {
|
|
|
7253
7439
|
removeIntention: typeof removeIntention;
|
|
7254
7440
|
};
|
|
7255
7441
|
|
|
7256
|
-
export { type AnyTransformable, type ArrayPropType, type ArrayPropValue, type BackdropFilterItemPropValue, type BackdropFilterPropValue, type BackgroundColorOverlayPropValue, type BackgroundGradientOverlayPropValue, type BackgroundImageOverlayPropValue, type BackgroundImagePositionOffsetPropValue, type BackgroundImageSizeScalePropValue, type BackgroundOverlayImagePropType, type BackgroundOverlayItemPropValue, type BackgroundOverlayPropType, type BackgroundOverlayPropValue, type BackgroundPropValue, type BooleanPropValue, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, CLASSES_PROP_KEY, type ChildElement, type ClassesPropValue, type ColorPropValue, type ColorStopPropValue, type CreateOptions, type DateRangePropValue, type DateStringPropValue, DateTimePropTypeUtil, type DateTimePropValue, type Dependency, type DependencyOperator, type DependencyTerm, type DimensionsPropValue, type DropShadowFilterPropValue, type EmailPropValue, type ExtractValueOptions, type FilterItemPropValue, type FilterPropValue, type FlexPropValue, type GradientColorStopPropValue, type HtmlPropValue, type HtmlV2PropValue, type HtmlV2Value, type HtmlV3PropValue, type HtmlV3Value, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type JsonSchema7, type KeyValuePropValue, type LayoutDirectionPropValue, type LinkPropValue, type MoveTransformPropValue, type NumberPropValue, type NumberRangePropValue, type ObjectPropType, type ObjectPropValue, type OverridableTransformable, type ParseResult, type PerspectiveOriginPropValue, type PlainPropType, type PlainPropValue, type PositionPropTypeValue, type PropKey, type PropType, type PropTypeKey, type PropTypeUtil, type PropValue, type Props, type PropsSchema, type QueryPropValue, type RotateTransformPropValue, type ScaleTransformPropValue, Schema, type SelectionSizePropValue, type ShadowPropValue, type SizePropValue, type SkewTransformPropValue, type SpanPropValue, type StringArrayPropValue, type StringPropValue, type StrokePropValue, type SvgSrcPropValue, type TimeRangePropValue, type TimeStringPropValue, type TransformFunctionsItemPropValue, type TransformFunctionsPropValue, type TransformOriginPropValue, type TransformPropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, type VideoAttachmentIdPropValue, type VideoSrcPropValue, backdropFilterPropTypeUtil, backgroundColorOverlayPropTypeUtil, backgroundGradientOverlayPropTypeUtil, backgroundImageOverlayPropTypeUtil, backgroundImagePositionOffsetPropTypeUtil, backgroundImageSizeScalePropTypeUtil, backgroundOverlayItem, backgroundOverlayPropTypeUtil, backgroundPropTypeUtil, blurFilterPropTypeUtil, booleanPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorPropTypeUtil, colorStopPropTypeUtil, colorToneFilterPropTypeUtil, createArrayPropUtils, createPropUtils, cssFilterFunctionPropUtil, dateRangePropTypeUtil, dateStringPropTypeUtil, dimensionsPropTypeUtil, dropShadowFilterPropTypeUtil, emailPropTypeUtil, evaluateTerm, extractValue, filterEmptyValues, filterPropTypeUtil, flexPropTypeUtil, getPropSchemaFromCache, gradientColorStopPropTypeUtil, htmlPropTypeUtil, htmlV2PropTypeUtil, htmlV3PropTypeUtil, hueRotateFilterPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, intensityFilterPropTypeUtil, isDependency, isDependencyMet, isEmpty, isOverridable, isTransformable, keyValuePropTypeUtil, layoutDirectionPropTypeUtil, linkPropTypeUtil, mergeProps, moveTransformPropTypeUtil, numberPropTypeUtil, numberRangePropTypeUtil, parseHtmlChildren, perspectiveOriginPropTypeUtil, positionPropTypeUtil, queryPropTypeUtil, rewrapOverridableValue, rotateTransformPropTypeUtil, scaleTransformPropTypeUtil, selectionSizePropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, skewTransformPropTypeUtil, spanPropTypeUtil, stringArrayPropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, svgSrcPropTypeUtil, timeRangePropTypeUtil, timeStringPropTypeUtil, transformFunctionsPropTypeUtil, transformOriginPropTypeUtil, transformPropTypeUtil, urlPropTypeUtil, videoAttachmentIdPropType, videoSrcPropTypeUtil };
|
|
7442
|
+
export { type AnyTransformable, type ArrayPropType, type ArrayPropValue, type BackdropFilterItemPropValue, type BackdropFilterPropValue, type BackgroundColorOverlayPropValue, type BackgroundGradientOverlayPropValue, type BackgroundImageOverlayPropValue, type BackgroundImagePositionOffsetPropValue, type BackgroundImageSizeScalePropValue, type BackgroundOverlayImagePropType, type BackgroundOverlayItemPropValue, type BackgroundOverlayPropType, type BackgroundOverlayPropValue, type BackgroundPropValue, type BooleanPropValue, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, CLASSES_PROP_KEY, type ChildElement, type ClassesPropValue, type ColorPropValue, type ColorStopPropValue, type CreateOptions, type DateRangePropValue, type DateStringPropValue, DateTimePropTypeUtil, type DateTimePropValue, type Dependency, type DependencyOperator, type DependencyTerm, type DimensionsPropValue, type DropShadowFilterPropValue, type EmailPropValue, type ExtractValueOptions, type FilterItemPropValue, type FilterPropValue, type FlexPropValue, type GradientColorStopPropValue, type HtmlPropValue, type HtmlV2PropValue, type HtmlV2Value, type HtmlV3PropValue, type HtmlV3Value, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type JsonSchema7, type KeyValuePropValue, type LayoutDirectionPropValue, type LinkPropValue, type MoveTransformPropValue, type NumberPropValue, type NumberRangePropValue, type ObjectPropType, type ObjectPropValue, type OverridableTransformable, type ParseResult, type PerspectiveOriginPropValue, type PlainPropType, type PlainPropValue, type PositionPropTypeValue, type PropKey, type PropType, type PropTypeKey, type PropTypeUtil, type PropValue, type Props, type PropsSchema, type QueryFilterKeyConfig, type QueryFilterPropValue, type QueryPropValue, type RotateTransformPropValue, type ScaleTransformPropValue, Schema, type SelectionSizePropValue, type ShadowPropValue, type SizePropValue, type SkewTransformPropValue, type SpanPropValue, type StringArrayPropValue, type StringPropValue, type StrokePropValue, type SvgSrcPropValue, type TimeRangePropValue, type TimeStringPropValue, type TransformFunctionsItemPropValue, type TransformFunctionsPropValue, type TransformOriginPropValue, type TransformPropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, type VideoAttachmentIdPropValue, type VideoSrcPropValue, backdropFilterPropTypeUtil, backgroundColorOverlayPropTypeUtil, backgroundGradientOverlayPropTypeUtil, backgroundImageOverlayPropTypeUtil, backgroundImagePositionOffsetPropTypeUtil, backgroundImageSizeScalePropTypeUtil, backgroundOverlayItem, backgroundOverlayPropTypeUtil, backgroundPropTypeUtil, blurFilterPropTypeUtil, booleanPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorPropTypeUtil, colorStopPropTypeUtil, colorToneFilterPropTypeUtil, createArrayPropUtils, createPropUtils, cssFilterFunctionPropUtil, dateRangePropTypeUtil, dateStringPropTypeUtil, dimensionsPropTypeUtil, dropShadowFilterPropTypeUtil, emailPropTypeUtil, evaluateTerm, extractValue, filterEmptyValues, filterPropTypeUtil, flexPropTypeUtil, getPropSchemaFromCache, gradientColorStopPropTypeUtil, htmlPropTypeUtil, htmlV2PropTypeUtil, htmlV3PropTypeUtil, hueRotateFilterPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, intensityFilterPropTypeUtil, isDependency, isDependencyMet, isEmpty, isOverridable, isTransformable, keyValuePropTypeUtil, layoutDirectionPropTypeUtil, linkPropTypeUtil, mergeProps, moveTransformPropTypeUtil, numberPropTypeUtil, numberRangePropTypeUtil, parseHtmlChildren, perspectiveOriginPropTypeUtil, positionPropTypeUtil, queryFilterArrayPropTypeUtil, queryFilterPropTypeUtil, queryPropTypeUtil, rewrapOverridableValue, rotateTransformPropTypeUtil, scaleTransformPropTypeUtil, selectionSizePropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, skewTransformPropTypeUtil, spanPropTypeUtil, stringArrayPropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, svgSrcPropTypeUtil, timeRangePropTypeUtil, timeStringPropTypeUtil, transformFunctionsPropTypeUtil, transformOriginPropTypeUtil, transformPropTypeUtil, urlPropTypeUtil, videoAttachmentIdPropType, videoSrcPropTypeUtil };
|