@react-querybuilder/bootstrap 8.13.0 → 8.14.0
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/cjs/react-querybuilder_bootstrap.cjs.development.d.ts +17 -17
- package/dist/cjs/react-querybuilder_bootstrap.cjs.production.d.ts +17 -17
- package/dist/react-querybuilder_bootstrap.d.mts +17 -17
- package/dist/react-querybuilder_bootstrap.legacy-esm.d.ts +17 -17
- package/dist/react-querybuilder_bootstrap.legacy-esm.js +5 -5
- package/dist/react-querybuilder_bootstrap.production.d.mts +17 -17
- package/package.json +9 -9
|
@@ -969,7 +969,7 @@ type StringUnionToFullOptionArray<Op extends string> = Array<Op extends unknown
|
|
|
969
969
|
*
|
|
970
970
|
* @group Option Lists
|
|
971
971
|
*/
|
|
972
|
-
type GetOptionIdentifierType<Opt
|
|
972
|
+
type GetOptionIdentifierType<Opt extends BaseOption> = Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string;
|
|
973
973
|
/**
|
|
974
974
|
* Adds an `unknown` index property to an interface.
|
|
975
975
|
*/
|
|
@@ -1018,7 +1018,7 @@ type FlexibleOption<N extends string = string> = Simplify<WithUnknownIndex<Requi
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @group Option Lists
|
|
1020
1020
|
*/
|
|
1021
|
-
type ToFlexibleOption<Opt
|
|
1021
|
+
type ToFlexibleOption<Opt extends BaseOption | string> = WithUnknownIndex<RequireAtLeastOne<Opt extends string ? FlexibleOption<Opt> : Opt, "name" | "value">>;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* A generic {@link Option} requiring both `name` _and_ `value` properties.
|
|
1024
1024
|
* Props that extend {@link OptionList} accept {@link BaseOption}, but
|
|
@@ -1046,45 +1046,45 @@ type BaseFullOption<N extends string = string> = Simplify<SetRequired<BaseOption
|
|
|
1046
1046
|
*
|
|
1047
1047
|
* @group Option Lists
|
|
1048
1048
|
*/
|
|
1049
|
-
type ToFullOption<Opt
|
|
1049
|
+
type ToFullOption<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt : Opt extends BaseOption<infer IdentifierType> ? WithUnknownIndex<Opt & FullOption<IdentifierType>> : never;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* A group of {@link Option}s, usually within an {@link OptionList}.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @group Option Lists
|
|
1054
1054
|
*/
|
|
1055
|
-
interface OptionGroup<Opt
|
|
1055
|
+
interface OptionGroup<Opt extends BaseOption = FlexibleOption> {
|
|
1056
1056
|
label: string;
|
|
1057
|
-
options: WithUnknownIndex<Opt
|
|
1057
|
+
options: WithUnknownIndex<Opt>[];
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* A group of {@link BaseOption}s, usually within a {@link FlexibleOptionList}.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @group Option Lists
|
|
1063
1063
|
*/
|
|
1064
|
-
type FlexibleOptionGroup<Opt
|
|
1064
|
+
type FlexibleOptionGroup<Opt extends BaseOption | string = BaseOption> = {
|
|
1065
1065
|
label: string;
|
|
1066
|
-
options: (Opt
|
|
1066
|
+
options: (Opt extends BaseFullOption ? Opt : ToFlexibleOption<Opt>)[];
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Either an array of {@link Option}s or an array of {@link OptionGroup}s.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @group Option Lists
|
|
1072
1072
|
*/
|
|
1073
|
-
type OptionList<Opt
|
|
1073
|
+
type OptionList<Opt extends Option = Option> = Opt[] | OptionGroup<Opt>[];
|
|
1074
1074
|
/**
|
|
1075
1075
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1076
1076
|
* may use either `name` or `value` as the primary identifier.
|
|
1077
1077
|
*
|
|
1078
1078
|
* @group Option Lists
|
|
1079
1079
|
*/
|
|
1080
|
-
type FlexibleOptionList<Opt
|
|
1080
|
+
type FlexibleOptionList<Opt extends BaseOption> = ToFlexibleOption<Opt>[] | FlexibleOptionGroup<ToFlexibleOption<Opt>>[];
|
|
1081
1081
|
/**
|
|
1082
1082
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1083
1083
|
* may use either `name` or `value` as the primary identifier.
|
|
1084
1084
|
*
|
|
1085
1085
|
* @group Option Lists
|
|
1086
1086
|
*/
|
|
1087
|
-
type FlexibleOptionListProp<Opt
|
|
1087
|
+
type FlexibleOptionListProp<Opt extends BaseOption> = (ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>)[] | FlexibleOptionGroup<ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>>[];
|
|
1088
1088
|
/**
|
|
1089
1089
|
* An array of options or option groups, like {@link OptionList}, but using
|
|
1090
1090
|
* {@link FullOption} instead of {@link Option}. This means that every member is
|
|
@@ -1092,7 +1092,7 @@ type FlexibleOptionListProp<Opt$1 extends BaseOption> = (ToFlexibleOption<Opt$1>
|
|
|
1092
1092
|
*
|
|
1093
1093
|
* @group Option Lists
|
|
1094
1094
|
*/
|
|
1095
|
-
type FullOptionList<Opt
|
|
1095
|
+
type FullOptionList<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt[] | OptionGroup<Opt>[] : ToFullOption<Opt>[] | OptionGroup<ToFullOption<Opt>>[];
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Map of option identifiers to their respective {@link Option}.
|
|
1098
1098
|
*
|
|
@@ -1260,17 +1260,17 @@ type ValueChangeEventHandler = (value?: any, context?: any) => void;
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Base for all Field types/interfaces.
|
|
1262
1262
|
*/
|
|
1263
|
-
interface BaseFullField<FieldName extends string = string, OperatorName
|
|
1263
|
+
interface BaseFullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> extends WithOptionalClassName<BaseFullOption<FieldName>> {
|
|
1264
1264
|
id?: string;
|
|
1265
|
-
operators?: FlexibleOptionList<OperatorObj> | OperatorName
|
|
1266
|
-
valueEditorType?: ValueEditorType | ((operator: OperatorName
|
|
1267
|
-
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName
|
|
1265
|
+
operators?: FlexibleOptionList<OperatorObj> | OperatorName[] | FlexibleOption<OperatorName>[] | (OperatorName | FlexibleOption<OperatorName>)[];
|
|
1266
|
+
valueEditorType?: ValueEditorType | ((operator: OperatorName) => ValueEditorType);
|
|
1267
|
+
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName) => ValueSources | ValueSourceFlexibleOptions);
|
|
1268
1268
|
inputType?: InputType | null;
|
|
1269
1269
|
values?: FlexibleOptionList<ValueObj>;
|
|
1270
1270
|
matchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[];
|
|
1271
1271
|
/** Properties of items in the value. */
|
|
1272
1272
|
subproperties?: FlexibleOptionList<FullField>;
|
|
1273
|
-
defaultOperator?: OperatorName
|
|
1273
|
+
defaultOperator?: OperatorName;
|
|
1274
1274
|
defaultValue?: any;
|
|
1275
1275
|
placeholder?: string;
|
|
1276
1276
|
validator?: RuleValidator;
|
|
@@ -1288,7 +1288,7 @@ interface BaseFullField<FieldName extends string = string, OperatorName$1 extend
|
|
|
1288
1288
|
*
|
|
1289
1289
|
* @group Option Lists
|
|
1290
1290
|
*/
|
|
1291
|
-
type FullField<FieldName extends string = string, OperatorName
|
|
1291
|
+
type FullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> = Simplify<FullOption<FieldName> & BaseFullField<FieldName, OperatorName, ValueName, OperatorObj, ValueObj>>;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Allowed values of the {@link FullOperator} property `arity`. A value of `"unary"` or
|
|
1294
1294
|
* a number less than two will cause the default {@link react-querybuilder!ValueEditor ValueEditor} to render `null`.
|
|
@@ -969,7 +969,7 @@ type StringUnionToFullOptionArray<Op extends string> = Array<Op extends unknown
|
|
|
969
969
|
*
|
|
970
970
|
* @group Option Lists
|
|
971
971
|
*/
|
|
972
|
-
type GetOptionIdentifierType<Opt
|
|
972
|
+
type GetOptionIdentifierType<Opt extends BaseOption> = Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string;
|
|
973
973
|
/**
|
|
974
974
|
* Adds an `unknown` index property to an interface.
|
|
975
975
|
*/
|
|
@@ -1018,7 +1018,7 @@ type FlexibleOption<N extends string = string> = Simplify<WithUnknownIndex<Requi
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @group Option Lists
|
|
1020
1020
|
*/
|
|
1021
|
-
type ToFlexibleOption<Opt
|
|
1021
|
+
type ToFlexibleOption<Opt extends BaseOption | string> = WithUnknownIndex<RequireAtLeastOne<Opt extends string ? FlexibleOption<Opt> : Opt, "name" | "value">>;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* A generic {@link Option} requiring both `name` _and_ `value` properties.
|
|
1024
1024
|
* Props that extend {@link OptionList} accept {@link BaseOption}, but
|
|
@@ -1046,45 +1046,45 @@ type BaseFullOption<N extends string = string> = Simplify<SetRequired<BaseOption
|
|
|
1046
1046
|
*
|
|
1047
1047
|
* @group Option Lists
|
|
1048
1048
|
*/
|
|
1049
|
-
type ToFullOption<Opt
|
|
1049
|
+
type ToFullOption<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt : Opt extends BaseOption<infer IdentifierType> ? WithUnknownIndex<Opt & FullOption<IdentifierType>> : never;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* A group of {@link Option}s, usually within an {@link OptionList}.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @group Option Lists
|
|
1054
1054
|
*/
|
|
1055
|
-
interface OptionGroup<Opt
|
|
1055
|
+
interface OptionGroup<Opt extends BaseOption = FlexibleOption> {
|
|
1056
1056
|
label: string;
|
|
1057
|
-
options: WithUnknownIndex<Opt
|
|
1057
|
+
options: WithUnknownIndex<Opt>[];
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* A group of {@link BaseOption}s, usually within a {@link FlexibleOptionList}.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @group Option Lists
|
|
1063
1063
|
*/
|
|
1064
|
-
type FlexibleOptionGroup<Opt
|
|
1064
|
+
type FlexibleOptionGroup<Opt extends BaseOption | string = BaseOption> = {
|
|
1065
1065
|
label: string;
|
|
1066
|
-
options: (Opt
|
|
1066
|
+
options: (Opt extends BaseFullOption ? Opt : ToFlexibleOption<Opt>)[];
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Either an array of {@link Option}s or an array of {@link OptionGroup}s.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @group Option Lists
|
|
1072
1072
|
*/
|
|
1073
|
-
type OptionList<Opt
|
|
1073
|
+
type OptionList<Opt extends Option = Option> = Opt[] | OptionGroup<Opt>[];
|
|
1074
1074
|
/**
|
|
1075
1075
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1076
1076
|
* may use either `name` or `value` as the primary identifier.
|
|
1077
1077
|
*
|
|
1078
1078
|
* @group Option Lists
|
|
1079
1079
|
*/
|
|
1080
|
-
type FlexibleOptionList<Opt
|
|
1080
|
+
type FlexibleOptionList<Opt extends BaseOption> = ToFlexibleOption<Opt>[] | FlexibleOptionGroup<ToFlexibleOption<Opt>>[];
|
|
1081
1081
|
/**
|
|
1082
1082
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1083
1083
|
* may use either `name` or `value` as the primary identifier.
|
|
1084
1084
|
*
|
|
1085
1085
|
* @group Option Lists
|
|
1086
1086
|
*/
|
|
1087
|
-
type FlexibleOptionListProp<Opt
|
|
1087
|
+
type FlexibleOptionListProp<Opt extends BaseOption> = (ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>)[] | FlexibleOptionGroup<ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>>[];
|
|
1088
1088
|
/**
|
|
1089
1089
|
* An array of options or option groups, like {@link OptionList}, but using
|
|
1090
1090
|
* {@link FullOption} instead of {@link Option}. This means that every member is
|
|
@@ -1092,7 +1092,7 @@ type FlexibleOptionListProp<Opt$1 extends BaseOption> = (ToFlexibleOption<Opt$1>
|
|
|
1092
1092
|
*
|
|
1093
1093
|
* @group Option Lists
|
|
1094
1094
|
*/
|
|
1095
|
-
type FullOptionList<Opt
|
|
1095
|
+
type FullOptionList<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt[] | OptionGroup<Opt>[] : ToFullOption<Opt>[] | OptionGroup<ToFullOption<Opt>>[];
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Map of option identifiers to their respective {@link Option}.
|
|
1098
1098
|
*
|
|
@@ -1260,17 +1260,17 @@ type ValueChangeEventHandler = (value?: any, context?: any) => void;
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Base for all Field types/interfaces.
|
|
1262
1262
|
*/
|
|
1263
|
-
interface BaseFullField<FieldName extends string = string, OperatorName
|
|
1263
|
+
interface BaseFullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> extends WithOptionalClassName<BaseFullOption<FieldName>> {
|
|
1264
1264
|
id?: string;
|
|
1265
|
-
operators?: FlexibleOptionList<OperatorObj> | OperatorName
|
|
1266
|
-
valueEditorType?: ValueEditorType | ((operator: OperatorName
|
|
1267
|
-
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName
|
|
1265
|
+
operators?: FlexibleOptionList<OperatorObj> | OperatorName[] | FlexibleOption<OperatorName>[] | (OperatorName | FlexibleOption<OperatorName>)[];
|
|
1266
|
+
valueEditorType?: ValueEditorType | ((operator: OperatorName) => ValueEditorType);
|
|
1267
|
+
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName) => ValueSources | ValueSourceFlexibleOptions);
|
|
1268
1268
|
inputType?: InputType | null;
|
|
1269
1269
|
values?: FlexibleOptionList<ValueObj>;
|
|
1270
1270
|
matchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[];
|
|
1271
1271
|
/** Properties of items in the value. */
|
|
1272
1272
|
subproperties?: FlexibleOptionList<FullField>;
|
|
1273
|
-
defaultOperator?: OperatorName
|
|
1273
|
+
defaultOperator?: OperatorName;
|
|
1274
1274
|
defaultValue?: any;
|
|
1275
1275
|
placeholder?: string;
|
|
1276
1276
|
validator?: RuleValidator;
|
|
@@ -1288,7 +1288,7 @@ interface BaseFullField<FieldName extends string = string, OperatorName$1 extend
|
|
|
1288
1288
|
*
|
|
1289
1289
|
* @group Option Lists
|
|
1290
1290
|
*/
|
|
1291
|
-
type FullField<FieldName extends string = string, OperatorName
|
|
1291
|
+
type FullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> = Simplify<FullOption<FieldName> & BaseFullField<FieldName, OperatorName, ValueName, OperatorObj, ValueObj>>;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Allowed values of the {@link FullOperator} property `arity`. A value of `"unary"` or
|
|
1294
1294
|
* a number less than two will cause the default {@link react-querybuilder!ValueEditor ValueEditor} to render `null`.
|
|
@@ -969,7 +969,7 @@ type StringUnionToFullOptionArray<Op extends string> = Array<Op extends unknown
|
|
|
969
969
|
*
|
|
970
970
|
* @group Option Lists
|
|
971
971
|
*/
|
|
972
|
-
type GetOptionIdentifierType<Opt
|
|
972
|
+
type GetOptionIdentifierType<Opt extends BaseOption> = Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string;
|
|
973
973
|
/**
|
|
974
974
|
* Adds an `unknown` index property to an interface.
|
|
975
975
|
*/
|
|
@@ -1018,7 +1018,7 @@ type FlexibleOption<N extends string = string> = Simplify<WithUnknownIndex<Requi
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @group Option Lists
|
|
1020
1020
|
*/
|
|
1021
|
-
type ToFlexibleOption<Opt
|
|
1021
|
+
type ToFlexibleOption<Opt extends BaseOption | string> = WithUnknownIndex<RequireAtLeastOne<Opt extends string ? FlexibleOption<Opt> : Opt, "name" | "value">>;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* A generic {@link Option} requiring both `name` _and_ `value` properties.
|
|
1024
1024
|
* Props that extend {@link OptionList} accept {@link BaseOption}, but
|
|
@@ -1046,45 +1046,45 @@ type BaseFullOption<N extends string = string> = Simplify<SetRequired<BaseOption
|
|
|
1046
1046
|
*
|
|
1047
1047
|
* @group Option Lists
|
|
1048
1048
|
*/
|
|
1049
|
-
type ToFullOption<Opt
|
|
1049
|
+
type ToFullOption<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt : Opt extends BaseOption<infer IdentifierType> ? WithUnknownIndex<Opt & FullOption<IdentifierType>> : never;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* A group of {@link Option}s, usually within an {@link OptionList}.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @group Option Lists
|
|
1054
1054
|
*/
|
|
1055
|
-
interface OptionGroup<Opt
|
|
1055
|
+
interface OptionGroup<Opt extends BaseOption = FlexibleOption> {
|
|
1056
1056
|
label: string;
|
|
1057
|
-
options: WithUnknownIndex<Opt
|
|
1057
|
+
options: WithUnknownIndex<Opt>[];
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* A group of {@link BaseOption}s, usually within a {@link FlexibleOptionList}.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @group Option Lists
|
|
1063
1063
|
*/
|
|
1064
|
-
type FlexibleOptionGroup<Opt
|
|
1064
|
+
type FlexibleOptionGroup<Opt extends BaseOption | string = BaseOption> = {
|
|
1065
1065
|
label: string;
|
|
1066
|
-
options: (Opt
|
|
1066
|
+
options: (Opt extends BaseFullOption ? Opt : ToFlexibleOption<Opt>)[];
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Either an array of {@link Option}s or an array of {@link OptionGroup}s.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @group Option Lists
|
|
1072
1072
|
*/
|
|
1073
|
-
type OptionList<Opt
|
|
1073
|
+
type OptionList<Opt extends Option = Option> = Opt[] | OptionGroup<Opt>[];
|
|
1074
1074
|
/**
|
|
1075
1075
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1076
1076
|
* may use either `name` or `value` as the primary identifier.
|
|
1077
1077
|
*
|
|
1078
1078
|
* @group Option Lists
|
|
1079
1079
|
*/
|
|
1080
|
-
type FlexibleOptionList<Opt
|
|
1080
|
+
type FlexibleOptionList<Opt extends BaseOption> = ToFlexibleOption<Opt>[] | FlexibleOptionGroup<ToFlexibleOption<Opt>>[];
|
|
1081
1081
|
/**
|
|
1082
1082
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1083
1083
|
* may use either `name` or `value` as the primary identifier.
|
|
1084
1084
|
*
|
|
1085
1085
|
* @group Option Lists
|
|
1086
1086
|
*/
|
|
1087
|
-
type FlexibleOptionListProp<Opt
|
|
1087
|
+
type FlexibleOptionListProp<Opt extends BaseOption> = (ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>)[] | FlexibleOptionGroup<ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>>[];
|
|
1088
1088
|
/**
|
|
1089
1089
|
* An array of options or option groups, like {@link OptionList}, but using
|
|
1090
1090
|
* {@link FullOption} instead of {@link Option}. This means that every member is
|
|
@@ -1092,7 +1092,7 @@ type FlexibleOptionListProp<Opt$1 extends BaseOption> = (ToFlexibleOption<Opt$1>
|
|
|
1092
1092
|
*
|
|
1093
1093
|
* @group Option Lists
|
|
1094
1094
|
*/
|
|
1095
|
-
type FullOptionList<Opt
|
|
1095
|
+
type FullOptionList<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt[] | OptionGroup<Opt>[] : ToFullOption<Opt>[] | OptionGroup<ToFullOption<Opt>>[];
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Map of option identifiers to their respective {@link Option}.
|
|
1098
1098
|
*
|
|
@@ -1260,17 +1260,17 @@ type ValueChangeEventHandler = (value?: any, context?: any) => void;
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Base for all Field types/interfaces.
|
|
1262
1262
|
*/
|
|
1263
|
-
interface BaseFullField<FieldName extends string = string, OperatorName
|
|
1263
|
+
interface BaseFullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> extends WithOptionalClassName<BaseFullOption<FieldName>> {
|
|
1264
1264
|
id?: string;
|
|
1265
|
-
operators?: FlexibleOptionList<OperatorObj> | OperatorName
|
|
1266
|
-
valueEditorType?: ValueEditorType | ((operator: OperatorName
|
|
1267
|
-
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName
|
|
1265
|
+
operators?: FlexibleOptionList<OperatorObj> | OperatorName[] | FlexibleOption<OperatorName>[] | (OperatorName | FlexibleOption<OperatorName>)[];
|
|
1266
|
+
valueEditorType?: ValueEditorType | ((operator: OperatorName) => ValueEditorType);
|
|
1267
|
+
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName) => ValueSources | ValueSourceFlexibleOptions);
|
|
1268
1268
|
inputType?: InputType | null;
|
|
1269
1269
|
values?: FlexibleOptionList<ValueObj>;
|
|
1270
1270
|
matchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[];
|
|
1271
1271
|
/** Properties of items in the value. */
|
|
1272
1272
|
subproperties?: FlexibleOptionList<FullField>;
|
|
1273
|
-
defaultOperator?: OperatorName
|
|
1273
|
+
defaultOperator?: OperatorName;
|
|
1274
1274
|
defaultValue?: any;
|
|
1275
1275
|
placeholder?: string;
|
|
1276
1276
|
validator?: RuleValidator;
|
|
@@ -1288,7 +1288,7 @@ interface BaseFullField<FieldName extends string = string, OperatorName$1 extend
|
|
|
1288
1288
|
*
|
|
1289
1289
|
* @group Option Lists
|
|
1290
1290
|
*/
|
|
1291
|
-
type FullField<FieldName extends string = string, OperatorName
|
|
1291
|
+
type FullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> = Simplify<FullOption<FieldName> & BaseFullField<FieldName, OperatorName, ValueName, OperatorObj, ValueObj>>;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Allowed values of the {@link FullOperator} property `arity`. A value of `"unary"` or
|
|
1294
1294
|
* a number less than two will cause the default {@link react-querybuilder!ValueEditor ValueEditor} to render `null`.
|
|
@@ -969,7 +969,7 @@ type StringUnionToFullOptionArray<Op extends string> = Array<Op extends unknown
|
|
|
969
969
|
*
|
|
970
970
|
* @group Option Lists
|
|
971
971
|
*/
|
|
972
|
-
type GetOptionIdentifierType<Opt
|
|
972
|
+
type GetOptionIdentifierType<Opt extends BaseOption> = Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string;
|
|
973
973
|
/**
|
|
974
974
|
* Adds an `unknown` index property to an interface.
|
|
975
975
|
*/
|
|
@@ -1018,7 +1018,7 @@ type FlexibleOption<N extends string = string> = Simplify<WithUnknownIndex<Requi
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @group Option Lists
|
|
1020
1020
|
*/
|
|
1021
|
-
type ToFlexibleOption<Opt
|
|
1021
|
+
type ToFlexibleOption<Opt extends BaseOption | string> = WithUnknownIndex<RequireAtLeastOne<Opt extends string ? FlexibleOption<Opt> : Opt, "name" | "value">>;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* A generic {@link Option} requiring both `name` _and_ `value` properties.
|
|
1024
1024
|
* Props that extend {@link OptionList} accept {@link BaseOption}, but
|
|
@@ -1046,45 +1046,45 @@ type BaseFullOption<N extends string = string> = Simplify<SetRequired<BaseOption
|
|
|
1046
1046
|
*
|
|
1047
1047
|
* @group Option Lists
|
|
1048
1048
|
*/
|
|
1049
|
-
type ToFullOption<Opt
|
|
1049
|
+
type ToFullOption<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt : Opt extends BaseOption<infer IdentifierType> ? WithUnknownIndex<Opt & FullOption<IdentifierType>> : never;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* A group of {@link Option}s, usually within an {@link OptionList}.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @group Option Lists
|
|
1054
1054
|
*/
|
|
1055
|
-
interface OptionGroup<Opt
|
|
1055
|
+
interface OptionGroup<Opt extends BaseOption = FlexibleOption> {
|
|
1056
1056
|
label: string;
|
|
1057
|
-
options: WithUnknownIndex<Opt
|
|
1057
|
+
options: WithUnknownIndex<Opt>[];
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* A group of {@link BaseOption}s, usually within a {@link FlexibleOptionList}.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @group Option Lists
|
|
1063
1063
|
*/
|
|
1064
|
-
type FlexibleOptionGroup<Opt
|
|
1064
|
+
type FlexibleOptionGroup<Opt extends BaseOption | string = BaseOption> = {
|
|
1065
1065
|
label: string;
|
|
1066
|
-
options: (Opt
|
|
1066
|
+
options: (Opt extends BaseFullOption ? Opt : ToFlexibleOption<Opt>)[];
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Either an array of {@link Option}s or an array of {@link OptionGroup}s.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @group Option Lists
|
|
1072
1072
|
*/
|
|
1073
|
-
type OptionList<Opt
|
|
1073
|
+
type OptionList<Opt extends Option = Option> = Opt[] | OptionGroup<Opt>[];
|
|
1074
1074
|
/**
|
|
1075
1075
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1076
1076
|
* may use either `name` or `value` as the primary identifier.
|
|
1077
1077
|
*
|
|
1078
1078
|
* @group Option Lists
|
|
1079
1079
|
*/
|
|
1080
|
-
type FlexibleOptionList<Opt
|
|
1080
|
+
type FlexibleOptionList<Opt extends BaseOption> = ToFlexibleOption<Opt>[] | FlexibleOptionGroup<ToFlexibleOption<Opt>>[];
|
|
1081
1081
|
/**
|
|
1082
1082
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1083
1083
|
* may use either `name` or `value` as the primary identifier.
|
|
1084
1084
|
*
|
|
1085
1085
|
* @group Option Lists
|
|
1086
1086
|
*/
|
|
1087
|
-
type FlexibleOptionListProp<Opt
|
|
1087
|
+
type FlexibleOptionListProp<Opt extends BaseOption> = (ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>)[] | FlexibleOptionGroup<ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>>[];
|
|
1088
1088
|
/**
|
|
1089
1089
|
* An array of options or option groups, like {@link OptionList}, but using
|
|
1090
1090
|
* {@link FullOption} instead of {@link Option}. This means that every member is
|
|
@@ -1092,7 +1092,7 @@ type FlexibleOptionListProp<Opt$1 extends BaseOption> = (ToFlexibleOption<Opt$1>
|
|
|
1092
1092
|
*
|
|
1093
1093
|
* @group Option Lists
|
|
1094
1094
|
*/
|
|
1095
|
-
type FullOptionList<Opt
|
|
1095
|
+
type FullOptionList<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt[] | OptionGroup<Opt>[] : ToFullOption<Opt>[] | OptionGroup<ToFullOption<Opt>>[];
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Map of option identifiers to their respective {@link Option}.
|
|
1098
1098
|
*
|
|
@@ -1260,17 +1260,17 @@ type ValueChangeEventHandler = (value?: any, context?: any) => void;
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Base for all Field types/interfaces.
|
|
1262
1262
|
*/
|
|
1263
|
-
interface BaseFullField<FieldName extends string = string, OperatorName
|
|
1263
|
+
interface BaseFullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> extends WithOptionalClassName<BaseFullOption<FieldName>> {
|
|
1264
1264
|
id?: string;
|
|
1265
|
-
operators?: FlexibleOptionList<OperatorObj> | OperatorName
|
|
1266
|
-
valueEditorType?: ValueEditorType | ((operator: OperatorName
|
|
1267
|
-
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName
|
|
1265
|
+
operators?: FlexibleOptionList<OperatorObj> | OperatorName[] | FlexibleOption<OperatorName>[] | (OperatorName | FlexibleOption<OperatorName>)[];
|
|
1266
|
+
valueEditorType?: ValueEditorType | ((operator: OperatorName) => ValueEditorType);
|
|
1267
|
+
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName) => ValueSources | ValueSourceFlexibleOptions);
|
|
1268
1268
|
inputType?: InputType | null;
|
|
1269
1269
|
values?: FlexibleOptionList<ValueObj>;
|
|
1270
1270
|
matchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[];
|
|
1271
1271
|
/** Properties of items in the value. */
|
|
1272
1272
|
subproperties?: FlexibleOptionList<FullField>;
|
|
1273
|
-
defaultOperator?: OperatorName
|
|
1273
|
+
defaultOperator?: OperatorName;
|
|
1274
1274
|
defaultValue?: any;
|
|
1275
1275
|
placeholder?: string;
|
|
1276
1276
|
validator?: RuleValidator;
|
|
@@ -1288,7 +1288,7 @@ interface BaseFullField<FieldName extends string = string, OperatorName$1 extend
|
|
|
1288
1288
|
*
|
|
1289
1289
|
* @group Option Lists
|
|
1290
1290
|
*/
|
|
1291
|
-
type FullField<FieldName extends string = string, OperatorName
|
|
1291
|
+
type FullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> = Simplify<FullOption<FieldName> & BaseFullField<FieldName, OperatorName, ValueName, OperatorObj, ValueObj>>;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Allowed values of the {@link FullOperator} property `arity`. A value of `"unary"` or
|
|
1294
1294
|
* a number less than two will cause the default {@link react-querybuilder!ValueEditor ValueEditor} to render `null`.
|
|
@@ -23,7 +23,7 @@ const BootstrapNotToggle = ({ className, handleOnChange, title, label, checked,
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region \0@oxc-project+runtime@0.
|
|
26
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/typeof.js
|
|
27
27
|
function _typeof(o) {
|
|
28
28
|
"@babel/helpers - typeof";
|
|
29
29
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
|
@@ -34,7 +34,7 @@ function _typeof(o) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region \0@oxc-project+runtime@0.
|
|
37
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/toPrimitive.js
|
|
38
38
|
function toPrimitive(t, r) {
|
|
39
39
|
if ("object" != _typeof(t) || !t) return t;
|
|
40
40
|
var e = t[Symbol.toPrimitive];
|
|
@@ -47,14 +47,14 @@ function toPrimitive(t, r) {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
//#endregion
|
|
50
|
-
//#region \0@oxc-project+runtime@0.
|
|
50
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/toPropertyKey.js
|
|
51
51
|
function toPropertyKey(t) {
|
|
52
52
|
var i = toPrimitive(t, "string");
|
|
53
53
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region \0@oxc-project+runtime@0.
|
|
57
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/defineProperty.js
|
|
58
58
|
function _defineProperty(e, r, t) {
|
|
59
59
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
60
60
|
value: t,
|
|
@@ -65,7 +65,7 @@ function _defineProperty(e, r, t) {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region \0@oxc-project+runtime@0.
|
|
68
|
+
//#region \0@oxc-project+runtime@0.103.0/helpers/objectSpread2.js
|
|
69
69
|
function ownKeys(e, r) {
|
|
70
70
|
var t = Object.keys(e);
|
|
71
71
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -969,7 +969,7 @@ type StringUnionToFullOptionArray<Op extends string> = Array<Op extends unknown
|
|
|
969
969
|
*
|
|
970
970
|
* @group Option Lists
|
|
971
971
|
*/
|
|
972
|
-
type GetOptionIdentifierType<Opt
|
|
972
|
+
type GetOptionIdentifierType<Opt extends BaseOption> = Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string;
|
|
973
973
|
/**
|
|
974
974
|
* Adds an `unknown` index property to an interface.
|
|
975
975
|
*/
|
|
@@ -1018,7 +1018,7 @@ type FlexibleOption<N extends string = string> = Simplify<WithUnknownIndex<Requi
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @group Option Lists
|
|
1020
1020
|
*/
|
|
1021
|
-
type ToFlexibleOption<Opt
|
|
1021
|
+
type ToFlexibleOption<Opt extends BaseOption | string> = WithUnknownIndex<RequireAtLeastOne<Opt extends string ? FlexibleOption<Opt> : Opt, "name" | "value">>;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* A generic {@link Option} requiring both `name` _and_ `value` properties.
|
|
1024
1024
|
* Props that extend {@link OptionList} accept {@link BaseOption}, but
|
|
@@ -1046,45 +1046,45 @@ type BaseFullOption<N extends string = string> = Simplify<SetRequired<BaseOption
|
|
|
1046
1046
|
*
|
|
1047
1047
|
* @group Option Lists
|
|
1048
1048
|
*/
|
|
1049
|
-
type ToFullOption<Opt
|
|
1049
|
+
type ToFullOption<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt : Opt extends BaseOption<infer IdentifierType> ? WithUnknownIndex<Opt & FullOption<IdentifierType>> : never;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* A group of {@link Option}s, usually within an {@link OptionList}.
|
|
1052
1052
|
*
|
|
1053
1053
|
* @group Option Lists
|
|
1054
1054
|
*/
|
|
1055
|
-
interface OptionGroup<Opt
|
|
1055
|
+
interface OptionGroup<Opt extends BaseOption = FlexibleOption> {
|
|
1056
1056
|
label: string;
|
|
1057
|
-
options: WithUnknownIndex<Opt
|
|
1057
|
+
options: WithUnknownIndex<Opt>[];
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
1060
|
* A group of {@link BaseOption}s, usually within a {@link FlexibleOptionList}.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @group Option Lists
|
|
1063
1063
|
*/
|
|
1064
|
-
type FlexibleOptionGroup<Opt
|
|
1064
|
+
type FlexibleOptionGroup<Opt extends BaseOption | string = BaseOption> = {
|
|
1065
1065
|
label: string;
|
|
1066
|
-
options: (Opt
|
|
1066
|
+
options: (Opt extends BaseFullOption ? Opt : ToFlexibleOption<Opt>)[];
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Either an array of {@link Option}s or an array of {@link OptionGroup}s.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @group Option Lists
|
|
1072
1072
|
*/
|
|
1073
|
-
type OptionList<Opt
|
|
1073
|
+
type OptionList<Opt extends Option = Option> = Opt[] | OptionGroup<Opt>[];
|
|
1074
1074
|
/**
|
|
1075
1075
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1076
1076
|
* may use either `name` or `value` as the primary identifier.
|
|
1077
1077
|
*
|
|
1078
1078
|
* @group Option Lists
|
|
1079
1079
|
*/
|
|
1080
|
-
type FlexibleOptionList<Opt
|
|
1080
|
+
type FlexibleOptionList<Opt extends BaseOption> = ToFlexibleOption<Opt>[] | FlexibleOptionGroup<ToFlexibleOption<Opt>>[];
|
|
1081
1081
|
/**
|
|
1082
1082
|
* An array of options or option groups, like {@link OptionList} but the option type
|
|
1083
1083
|
* may use either `name` or `value` as the primary identifier.
|
|
1084
1084
|
*
|
|
1085
1085
|
* @group Option Lists
|
|
1086
1086
|
*/
|
|
1087
|
-
type FlexibleOptionListProp<Opt
|
|
1087
|
+
type FlexibleOptionListProp<Opt extends BaseOption> = (ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>)[] | FlexibleOptionGroup<ToFlexibleOption<Opt> | GetOptionIdentifierType<Opt>>[];
|
|
1088
1088
|
/**
|
|
1089
1089
|
* An array of options or option groups, like {@link OptionList}, but using
|
|
1090
1090
|
* {@link FullOption} instead of {@link Option}. This means that every member is
|
|
@@ -1092,7 +1092,7 @@ type FlexibleOptionListProp<Opt$1 extends BaseOption> = (ToFlexibleOption<Opt$1>
|
|
|
1092
1092
|
*
|
|
1093
1093
|
* @group Option Lists
|
|
1094
1094
|
*/
|
|
1095
|
-
type FullOptionList<Opt
|
|
1095
|
+
type FullOptionList<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt[] | OptionGroup<Opt>[] : ToFullOption<Opt>[] | OptionGroup<ToFullOption<Opt>>[];
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Map of option identifiers to their respective {@link Option}.
|
|
1098
1098
|
*
|
|
@@ -1260,17 +1260,17 @@ type ValueChangeEventHandler = (value?: any, context?: any) => void;
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Base for all Field types/interfaces.
|
|
1262
1262
|
*/
|
|
1263
|
-
interface BaseFullField<FieldName extends string = string, OperatorName
|
|
1263
|
+
interface BaseFullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> extends WithOptionalClassName<BaseFullOption<FieldName>> {
|
|
1264
1264
|
id?: string;
|
|
1265
|
-
operators?: FlexibleOptionList<OperatorObj> | OperatorName
|
|
1266
|
-
valueEditorType?: ValueEditorType | ((operator: OperatorName
|
|
1267
|
-
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName
|
|
1265
|
+
operators?: FlexibleOptionList<OperatorObj> | OperatorName[] | FlexibleOption<OperatorName>[] | (OperatorName | FlexibleOption<OperatorName>)[];
|
|
1266
|
+
valueEditorType?: ValueEditorType | ((operator: OperatorName) => ValueEditorType);
|
|
1267
|
+
valueSources?: ValueSources | ValueSourceFlexibleOptions | ((operator: OperatorName) => ValueSources | ValueSourceFlexibleOptions);
|
|
1268
1268
|
inputType?: InputType | null;
|
|
1269
1269
|
values?: FlexibleOptionList<ValueObj>;
|
|
1270
1270
|
matchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[];
|
|
1271
1271
|
/** Properties of items in the value. */
|
|
1272
1272
|
subproperties?: FlexibleOptionList<FullField>;
|
|
1273
|
-
defaultOperator?: OperatorName
|
|
1273
|
+
defaultOperator?: OperatorName;
|
|
1274
1274
|
defaultValue?: any;
|
|
1275
1275
|
placeholder?: string;
|
|
1276
1276
|
validator?: RuleValidator;
|
|
@@ -1288,7 +1288,7 @@ interface BaseFullField<FieldName extends string = string, OperatorName$1 extend
|
|
|
1288
1288
|
*
|
|
1289
1289
|
* @group Option Lists
|
|
1290
1290
|
*/
|
|
1291
|
-
type FullField<FieldName extends string = string, OperatorName
|
|
1291
|
+
type FullField<FieldName extends string = string, OperatorName extends string = string, ValueName extends string = string, OperatorObj extends FullOption = FullOption<OperatorName>, ValueObj extends FullOption = FullOption<ValueName>> = Simplify<FullOption<FieldName> & BaseFullField<FieldName, OperatorName, ValueName, OperatorObj, ValueObj>>;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Allowed values of the {@link FullOperator} property `arity`. A value of `"unary"` or
|
|
1294
1294
|
* a number less than two will cause the default {@link react-querybuilder!ValueEditor ValueEditor} to render `null`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-querybuilder/bootstrap",
|
|
3
3
|
"description": "Custom Bootstrap components for react-querybuilder",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.14.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -53,23 +53,23 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@popperjs/core": "^2.11.8",
|
|
55
55
|
"@testing-library/dom": "^10.4.1",
|
|
56
|
-
"@testing-library/react": "^16.3.
|
|
56
|
+
"@testing-library/react": "^16.3.1",
|
|
57
57
|
"@types/react": "^19.2.7",
|
|
58
|
-
"@vitejs/plugin-react": "^5.1.
|
|
58
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
59
59
|
"bootstrap": "^5.3.8",
|
|
60
60
|
"bootstrap-icons": "^1.13.1",
|
|
61
|
-
"react": "^19.2.
|
|
62
|
-
"react-dom": "^19.2.
|
|
63
|
-
"react-querybuilder": "8.
|
|
61
|
+
"react": "^19.2.3",
|
|
62
|
+
"react-dom": "^19.2.3",
|
|
63
|
+
"react-querybuilder": "8.14.0",
|
|
64
64
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
65
65
|
"typescript": "^5.9.3",
|
|
66
|
-
"vite": "^7.
|
|
66
|
+
"vite": "^7.3.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"bootstrap": ">=5",
|
|
70
70
|
"bootstrap-icons": ">=1.7.0",
|
|
71
71
|
"react": ">=18",
|
|
72
|
-
"react-querybuilder": "8.
|
|
72
|
+
"react-querybuilder": "8.14.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "efdb45ff71a9fa11dde3b5ebe0990a48de0dfa7f"
|
|
75
75
|
}
|