Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-querybuilder/native

Package Overview
Dependencies
Maintainers
0
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-querybuilder/native - npm Package Compare versions

Comparing version 8.0.0 to 8.1.0

26

dist/cjs/react-querybuilder_native.cjs.development.js

@@ -900,6 +900,6 @@ "use strict";

var t3;
if ($[2] !== props || $[3] !== controlElements) {
if ($[2] !== controlElements || $[3] !== props) {
t3 = _objectSpread10(_objectSpread10({}, props), {}, { controlElements });
$[2] = props;
$[3] = controlElements;
$[2] = controlElements;
$[3] = props;
$[4] = t3;

@@ -912,14 +912,14 @@ } else {

var t4;
if ($[5] !== qb.rootGroup || $[6] !== qb.combinatorPropObject || $[7] !== qb.translations || $[8] !== qb.schema || $[9] !== qb.actions || $[10] !== qb.rootGroupDisabled || $[11] !== qb.queryDisabled || $[12] !== qb.rqbContext || $[13] !== props.context || $[14] !== RuleGroupComponent) {
if ($[5] !== RuleGroupComponent || $[6] !== props.context || $[7] !== qb.actions || $[8] !== qb.combinatorPropObject || $[9] !== qb.queryDisabled || $[10] !== qb.rootGroup || $[11] !== qb.rootGroupDisabled || $[12] !== qb.rqbContext || $[13] !== qb.schema || $[14] !== qb.translations) {
t4 = (0, import_jsx_runtime11.jsx)(import_react_querybuilder9.QueryBuilderContext.Provider, { value: qb.rqbContext, children: (0, import_jsx_runtime11.jsx)(RuleGroupComponent, _objectSpread10(_objectSpread10({ ruleGroup: qb.rootGroup }, qb.combinatorPropObject), {}, { path: rootPath, translations: qb.translations, schema: qb.schema, actions: qb.actions, id: qb.rootGroup.id, disabled: qb.rootGroupDisabled, parentDisabled: qb.queryDisabled, context: props.context })) });
$[5] = qb.rootGroup;
$[6] = qb.combinatorPropObject;
$[7] = qb.translations;
$[8] = qb.schema;
$[9] = qb.actions;
$[10] = qb.rootGroupDisabled;
$[11] = qb.queryDisabled;
$[5] = RuleGroupComponent;
$[6] = props.context;
$[7] = qb.actions;
$[8] = qb.combinatorPropObject;
$[9] = qb.queryDisabled;
$[10] = qb.rootGroup;
$[11] = qb.rootGroupDisabled;
$[12] = qb.rqbContext;
$[13] = props.context;
$[14] = RuleGroupComponent;
$[13] = qb.schema;
$[14] = qb.translations;
$[15] = t4;

@@ -926,0 +926,0 @@ } else {

@@ -1,2 +0,2 @@

"use strict";var gt=Object.create;var ve=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var St=Object.getOwnPropertyNames;var jt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var wt=(t,e)=>{for(var r in e)ve(t,r,{get:e[r],enumerable:!0})},$e=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of St(e))!Pt.call(t,n)&&n!==r&&ve(t,n,{get:()=>e[n],enumerable:!(o=Ot(e,n))||o.enumerable});return t};var Be=(t,e,r)=>(r=t!=null?gt(jt(t)):{},$e(e||!t||!t.__esModule?ve(r,"default",{value:t,enumerable:!0}):r,t)),Dt=t=>$e(ve({},"__esModule",{value:!0}),t);var br={};wt(br,{NativeActionElement:()=>g,NativeInlineCombinator:()=>Ce,NativeNotToggle:()=>Te,NativeShiftActions:()=>_e,NativeValueEditor:()=>re,NativeValueEditorWeb:()=>Ge,NativeValueSelector:()=>E,NativeValueSelectorWeb:()=>x,QueryBuilderNative:()=>vr,RuleGroupNative:()=>Ae,RuleNative:()=>Ve,defaultNativeControlElements:()=>je,defaultNativeSelectStyles:()=>v,defaultNativeStyles:()=>c,defaultNativeWebControlElements:()=>ir});module.exports=Dt(br);var be=require("react/jsx-runtime"),Q=require("react-native");var ke=require("react-native");function Y(t){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(t)}function Re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Ke(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Re(Object(r),!0).forEach(function(o){Nt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Nt(t,e,r){return(e=Et(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Et(t){var e=xt(t,"string");return Y(e)=="symbol"?e:e+""}function xt(t,e){if(Y(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Y(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var v={selector:{borderRadius:4,borderWidth:1,height:32,width:100,paddingLeft:4},option:{}},Ct={actionElement:{borderWidth:1,borderRadius:4,height:32,padding:8,paddingBottom:4,paddingTop:4},actionElementText:{},combinatorOption:v.option,combinatorSelector:v.selector,dragHandle:{},fieldOption:v.option,fieldSelector:v.selector,inlineCombinator:{},notToggle:{flexDirection:"row"},notToggleLabel:{},notToggleSwitch:{},operatorOption:v.option,operatorSelector:v.selector,rule:{flexDirection:"row",gap:10,alignItems:"center"},ruleGroup:{backgroundColor:"rgba(0, 75, 183, 0.2)",borderColor:"#8081a2",borderRadius:4,borderWidth:1,padding:10,gap:10},ruleGroupBody:{gap:10},ruleGroupHeader:{flexDirection:"row",gap:10,alignItems:"center"},shiftActions:{flexDirection:"column"},value:Ke(Ke({},v.selector),{},{width:150}),valueEditorOption:v.option,valueEditorSelector:v.selector,valueEditorSwitch:{},valueList:{flexDirection:"row"},valueSourceOption:v.option,valueSourceSelector:v.selector},c=ke.StyleSheet.create(Ct);var g=function(e){var r,o=e.handleOnClick,n=e.label,a=e.disabled,u=e.disabledTranslation,l=e.testID,i=e.schema;return(0,be.jsx)(Q.Pressable,{testID:l,disabled:a&&!u,onPress:function(p){return o()},children:(0,be.jsx)(Q.View,{style:c.actionElement,children:(0,be.jsx)(Q.Text,{style:c.actionElementText,children:"".concat(u&&a?(r=u.label)!==null&&r!==void 0?r:"":n??"")})})})};var Ee=require("react/jsx-runtime"),Me=require("react"),de=require("react-native"),xe=require("react-querybuilder");function Z(t){"@babel/helpers - typeof";return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(t)}var Tt=["component","path"];function Le(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function We(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Le(Object(r),!0).forEach(function(o){_t(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Le(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function _t(t,e,r){return(e=Gt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gt(t){var e=At(t,"string");return Z(e)=="symbol"?e:e+""}function At(t,e){if(Z(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Z(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function It(t,e){if(t==null)return{};var r,o,n=Vt(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Vt(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.includes(o))continue;r[o]=t[o]}return r}var Ce=function(e){var r,o=e.component,n=e.path,a=It(e,Tt),u=(0,Me.useMemo)(function(){var l;return{inlineCombinator:de.StyleSheet.flatten([c.inlineCombinator,(l=a.schema.styles)===null||l===void 0?void 0:l.inlineCombinator])}},[(r=a.schema.styles)===null||r===void 0?void 0:r.inlineCombinator]);return(0,Ee.jsx)(de.View,{style:u.inlineCombinator,testID:xe.TestID.inlineCombinator,children:(0,Ee.jsx)(o,We(We({},a),{},{path:n,testID:xe.TestID.combinators}))},"no-dnd")};var z=require("react/jsx-runtime"),He=require("react"),S=require("react-native");var Te=function(e){var r,o,n,a=e.handleOnChange,u=e.label,l=e.checked,i=e.disabled,s=e.schema,p=e.testID,O=(0,He.useMemo)(function(){var d,P,m;return{notToggle:S.StyleSheet.flatten([c.notToggle,(d=s.styles)===null||d===void 0?void 0:d.notToggle]),notToggleLabel:S.StyleSheet.flatten([c.notToggleLabel,(P=s.styles)===null||P===void 0?void 0:P.notToggleLabel]),notToggleSwitch:S.StyleSheet.flatten([c.notToggleSwitch,(m=s.styles)===null||m===void 0?void 0:m.notToggleSwitch])}},[(r=s.styles)===null||r===void 0?void 0:r.notToggle,(o=s.styles)===null||o===void 0?void 0:o.notToggleLabel,(n=s.styles)===null||n===void 0?void 0:n.notToggleSwitch]);return(0,z.jsxs)(S.View,{style:O.notToggle,testID:p,children:[(0,z.jsx)(S.Text,{style:O.notToggleLabel,children:u}),(0,z.jsx)(S.Switch,{style:O.notToggleSwitch,disabled:i,value:l,onValueChange:function(P){return a(P)}})]})};var ee=require("react/jsx-runtime"),Qe=Be(require("react")),$=require("react-native");var _e=function(e){var r=e.shiftUp,o=e.shiftDown,n=e.shiftUpDisabled,a=e.shiftDownDisabled,u=e.disabled,l=e.labels,i=e.testID,s=e.schema.styles,p=Qe.useMemo(function(){return{shiftActions:$.StyleSheet.flatten([c.shiftActions,s?.shiftActions])}},[s?.shiftActions]);return(0,ee.jsxs)($.View,{testID:i,style:p.shiftActions,children:[(0,ee.jsx)($.Button,{disabled:u||n,onPress:r,accessibilityLabel:l?.shiftUp,title:l?.shiftUp}),(0,ee.jsx)($.Button,{disabled:u||a,onPress:o,accessibilityLabel:l?.shiftDown,title:l?.shiftDown})]})};var N=require("react/jsx-runtime"),Ue=require("react"),h=require("react-native"),q=require("react-querybuilder");function te(t){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}var $t=["operator","value","handleOnChange","title","className","type","inputType","values","listsAsArrays","fieldData","disabled","separator","testID","selectorComponent"];function qe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function he(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qe(Object(r),!0).forEach(function(o){Bt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qe(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Bt(t,e,r){return(e=Rt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rt(t){var e=Kt(t,"string");return te(e)=="symbol"?e:e+""}function Kt(t,e){if(te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(te(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function kt(t,e){if(t==null)return{};var r,o,n=Lt(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Lt(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.includes(o))continue;r[o]=t[o]}return r}var re=function(e){var r,o,n,a,u=e.operator,l=e.value,i=e.handleOnChange,s=e.title,p=e.className,O=e.type,d=O===void 0?"text":O,P=e.inputType,m=P===void 0?"text":P,pe=e.values,R=pe===void 0?[]:pe,fe=e.listsAsArrays,f=e.fieldData,_=e.disabled,me=e.separator,we=me===void 0?null:me,G=e.testID,ye=e.selectorComponent,K=ye===void 0?e.schema.controls.valueSelector:ye,k=kt(e,$t),w=(0,Ue.useMemo)(function(){var D,y,V;return{value:h.StyleSheet.flatten([c.value,(D=e.schema.styles)===null||D===void 0?void 0:D.value]),valueEditorSwitch:h.StyleSheet.flatten([c.valueEditorSwitch,(y=e.schema.styles)===null||y===void 0?void 0:y.valueEditorSwitch]),valueList:h.StyleSheet.flatten([c.valueList,(V=e.schema.styles)===null||V===void 0?void 0:V.valueList])}},[(r=e.schema.styles)===null||r===void 0?void 0:r.value,(o=e.schema.styles)===null||o===void 0?void 0:o.valueEditorSwitch,(n=e.schema.styles)===null||n===void 0?void 0:n.valueList]),A=(0,q.useValueEditor)(e),L=A.valueAsArray,W=A.multiValueHandler,X=A.parseNumberMethod;if(u==="null"||u==="notNull")return null;var I=(a=f?.placeholder)!==null&&a!==void 0?a:"",M=["in","notIn"].includes(u)?"text":m==="number"?"decimal":m??"text";if((u==="between"||u==="notBetween")&&(d==="select"||d==="text")){var H=["from","to"].map(function(D,y){var V;if(d==="text"){var De;return(0,N.jsx)(h.TextInput,{style:w.value,inputMode:M,placeholder:I,value:(De=L[y])!==null&&De!==void 0?De:"",onChangeText:function(Ne){return W(Ne,y)}},D)}return(0,N.jsx)(K,he(he({},k),{},{handleOnChange:function(Ne){return W(Ne,y)},className:p,disabled:_,value:(V=L[y])!==null&&V!==void 0?V:(0,q.getFirstOption)(R),options:R,listsAsArrays:fe}),D)});return(0,N.jsxs)(h.View,{testID:G,style:w.valueList,children:[H[0],we,H[1]]})}switch(d){case"select":case"multiselect":return(0,N.jsx)(K,he(he({},k),{},{testID:G,className:p,title:s,handleOnChange:i,disabled:_,value:l,options:R,multiple:d==="multiselect",listsAsArrays:fe}));case"textarea":return(0,N.jsx)(h.TextInput,{testID:G,style:w.value,placeholder:I,value:l,onChangeText:function(y){return i(y)}});case"switch":case"checkbox":return(0,N.jsx)(h.Switch,{testID:G,style:w.valueEditorSwitch,disabled:_,value:!!l,onValueChange:function(y){return i(y)}})}return(0,N.jsx)(h.TextInput,{testID:G,style:w.value,inputMode:M,placeholder:I,value:l,onChangeText:function(y){return i((0,q.parseNumber)(y,{parseNumbers:X}))}})};var et=require("react/jsx-runtime");var Ye=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),Je=require("react"),b=require("react-native"),j=require("react-querybuilder");var E=function(e){var r,o,n,a,u,l,i,s,p,O,d=e.handleOnChange,P=e.options,m=e.value,pe=e.disabled,R=e.multiple,fe=e.listsAsArrays,f=e.schema,_=e.testID,me=(0,Je.useMemo)(function(){switch(_){case j.TestID.combinators:{var K,k;return{selector:b.StyleSheet.flatten([c.combinatorSelector,(K=f.styles)===null||K===void 0?void 0:K.combinatorSelector]),option:b.StyleSheet.flatten([c.combinatorOption,(k=f.styles)===null||k===void 0?void 0:k.combinatorOption])}}case j.TestID.fields:{var w,A;return{selector:b.StyleSheet.flatten([c.fieldSelector,(w=f.styles)===null||w===void 0?void 0:w.fieldSelector]),option:b.StyleSheet.flatten([c.fieldOption,(A=f.styles)===null||A===void 0?void 0:A.fieldOption])}}case j.TestID.operators:{var L,W;return{selector:b.StyleSheet.flatten([c.operatorSelector,(L=f.styles)===null||L===void 0?void 0:L.operatorSelector]),option:b.StyleSheet.flatten([c.operatorOption,(W=f.styles)===null||W===void 0?void 0:W.operatorOption])}}case j.TestID.valueSourceSelector:{var X,I;return{selector:b.StyleSheet.flatten([c.valueSourceSelector,(X=f.styles)===null||X===void 0?void 0:X.valueSourceSelector]),option:b.StyleSheet.flatten([c.valueSourceOption,(I=f.styles)===null||I===void 0?void 0:I.valueSourceOption])}}case j.TestID.valueEditor:{var M,H;return{selector:b.StyleSheet.flatten([c.valueEditorSelector,(M=f.styles)===null||M===void 0?void 0:M.valueEditorSelector]),option:b.StyleSheet.flatten([c.valueEditorOption,(H=f.styles)===null||H===void 0?void 0:H.valueEditorOption])}}default:}return b.StyleSheet.create(v)},[(r=f.styles)===null||r===void 0?void 0:r.combinatorOption,(o=f.styles)===null||o===void 0?void 0:o.combinatorSelector,(n=f.styles)===null||n===void 0?void 0:n.fieldOption,(a=f.styles)===null||a===void 0?void 0:a.fieldSelector,(u=f.styles)===null||u===void 0?void 0:u.operatorOption,(l=f.styles)===null||l===void 0?void 0:l.operatorSelector,(i=f.styles)===null||i===void 0?void 0:i.valueEditorOption,(s=f.styles)===null||s===void 0?void 0:s.valueEditorSelector,(p=f.styles)===null||p===void 0?void 0:p.valueSourceOption,(O=f.styles)===null||O===void 0?void 0:O.valueSourceSelector,_]),we=(0,j.useValueSelector)({handleOnChange:d,listsAsArrays:fe,multiple:R,value:m}),G=we.onChange,ye=R&&Array.isArray(m)?(0,j.joinWith)(m,","):m;return(0,Fe.jsx)(b.TextInput,{testID:_,"aria-disabled":pe,style:me.selector,value:ye,onChangeText:G})};function oe(t){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(t)}function Xe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Wt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xe(Object(r),!0).forEach(function(o){Mt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Mt(t,e,r){return(e=Ht(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ht(t){var e=Qt(t,"string");return oe(e)=="symbol"?e:e+""}function Qt(t,e){if(oe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(oe(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var x=function(e){return(0,Ye.jsx)(E,Wt({},e))};function ne(t){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(t)}function Ze(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function ze(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ze(Object(r),!0).forEach(function(o){qt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function qt(t,e,r){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ut(t){var e=Ft(t,"string");return ne(e)=="symbol"?e:e+""}function Ft(t,e){if(ne(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ne(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ge=function(e){return(0,et.jsx)(re,ze(ze({},e),{},{selectorComponent:x}))};var rt=Be(require("react")),tt=Symbol.for("react.memo_cache_sentinel");function ge(t){return rt.useMemo(function(){for(var e=Array.from({length:t}),r=0;r<t;r++)e[r]=tt;return e[tt]=!0,e},[])}var ce=require("react/jsx-runtime"),oo=require("react"),J=require("react-querybuilder"),dt=require("react-redux");var ct=require("react"),Se=require("react-querybuilder");var B=require("react/jsx-runtime"),it=require("react"),C=require("react-native"),T=require("react-querybuilder");function ie(t){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(t)}function ot(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function nt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ot(Object(r),!0).forEach(function(o){Jt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Jt(t,e,r){return(e=Xt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Xt(t){var e=Yt(t,"string");return ie(e)=="symbol"?e:e+""}function Yt(t,e){if(ie(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ie(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ae=function(e){var r,o,n,a=(0,T.useRuleGroup)(e),u=a.schema,l=(0,it.useMemo)(function(){var i,s,p;return{ruleGroup:C.StyleSheet.flatten([c.ruleGroup,(i=u.styles)===null||i===void 0?void 0:i.ruleGroup]),ruleGroupHeader:C.StyleSheet.flatten([c.ruleGroupHeader,(s=u.styles)===null||s===void 0?void 0:s.ruleGroupHeader]),ruleGroupBody:C.StyleSheet.flatten([c.ruleGroupBody,(p=u.styles)===null||p===void 0?void 0:p.ruleGroupBody])}},[(r=u.styles)===null||r===void 0?void 0:r.ruleGroup,(o=u.styles)===null||o===void 0?void 0:o.ruleGroupBody,(n=u.styles)===null||n===void 0?void 0:n.ruleGroupHeader]);return(0,B.jsxs)(C.View,{style:l.ruleGroup,testID:T.TestID.ruleGroup,children:[(0,B.jsx)(C.View,{style:l.ruleGroupHeader,children:(0,B.jsx)(T.RuleGroupHeaderComponents,nt({},a))}),(0,B.jsx)(C.View,{style:l.ruleGroupBody,children:(0,B.jsx)(T.RuleGroupBodyComponents,nt({},a))})]})};var Ie=require("react/jsx-runtime"),ut=require("react"),Oe=require("react-native"),U=require("react-querybuilder");function le(t){"@babel/helpers - typeof";return le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(t)}function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Zt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lt(Object(r),!0).forEach(function(o){zt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function zt(t,e,r){return(e=er(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function er(t){var e=tr(t,"string");return le(e)=="symbol"?e:e+""}function tr(t,e){if(le(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(le(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ve=function(e){var r,o=(0,U.useRule)(e),n=o.schema,a=(0,ut.useMemo)(function(){var u;return{rule:Oe.StyleSheet.flatten([c.rule,(u=n.styles)===null||u===void 0?void 0:u.rule])}},[(r=n.styles)===null||r===void 0?void 0:r.rule]);return(0,Ie.jsx)(Oe.View,{style:a.rule,testID:U.TestID.rule,children:(0,Ie.jsx)(U.RuleComponents,Zt({},o))})};function ue(t){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(t)}function at(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function st(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?at(Object(r),!0).forEach(function(o){rr(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function rr(t,e,r){return(e=or(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function or(t){var e=nr(t,"string");return ue(e)=="symbol"?e:e+""}function nr(t,e){if(ue(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ue(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var je={actionElement:g,addGroupAction:g,addRuleAction:g,cloneGroupAction:g,cloneRuleAction:g,combinatorSelector:E,dragHandle:(0,ct.forwardRef)(function(){return null}),fieldSelector:E,inlineCombinator:Ce,lockGroupAction:g,lockRuleAction:g,notToggle:Te,operatorSelector:E,removeGroupAction:g,removeRuleAction:g,rule:Ve,ruleGroup:Ae,ruleGroupBodyElements:Se.RuleGroupBodyComponents,ruleGroupHeaderElements:Se.RuleGroupHeaderComponents,shiftActions:_e,valueEditor:re,valueSelector:E,valueSourceSelector:E},ir=st(st({},je),{},{combinatorSelector:x,fieldSelector:x,operatorSelector:x,valueEditor:Ge,valueSelector:x,valueSourceSelector:x});var zr=require("react"),ft=require("react-native"),mt=require("react-querybuilder"),yt=require("react-querybuilder");function ae(t){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(t)}function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Pe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pt(Object(r),!0).forEach(function(o){lr(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function lr(t,e,r){return(e=ur(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ur(t){var e=ar(t,"string");return ae(e)=="symbol"?e:e+""}function ar(t,e){if(ae(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ae(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var vt=function(e){return sr(e,(0,mt.useQueryBuilderSetup)(e))},sr=function(e,r){var o=ge(8),n=(0,yt.useQueryBuilderSchema)(e,r),a,u;if(o[0]!==e.styles){var l;u=ft.StyleSheet.create((l=e.styles)!==null&&l!==void 0?l:{}),o[0]=e.styles,o[1]=u}else u=o[1];a=u;var i=a,s;o[2]!==n.schema||o[3]!==i?(s=Pe(Pe({},n.schema),{},{styles:i}),o[2]=n.schema,o[3]=i,o[4]=s):s=o[4];var p;return o[5]!==n||o[6]!==s?(p=Pe(Pe({},n),{},{schema:s}),o[5]=n,o[6]=s,o[7]=p):p=o[7],p};function se(t){"@babel/helpers - typeof";return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},se(t)}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bt(Object(r),!0).forEach(function(o){cr(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function cr(t,e,r){return(e=pr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pr(t){var e=fr(t,"string");return se(e)=="symbol"?e:e+""}function fr(t,e){if(se(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(se(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var mr=[],yr=function(e){var r=ge(16),o=e.props,n,a;r[0]!==o.controlElements?(a=F(F({},je),o.controlElements),r[0]=o.controlElements,r[1]=a):a=r[1],n=a;var u=n,l;r[2]!==o||r[3]!==u?(l=F(F({},o),{},{controlElements:u}),r[2]=o,r[3]=u,r[4]=l):l=r[4];var i=vt(l),s=i.schema.controls.ruleGroup,p;return r[5]!==i.rootGroup||r[6]!==i.combinatorPropObject||r[7]!==i.translations||r[8]!==i.schema||r[9]!==i.actions||r[10]!==i.rootGroupDisabled||r[11]!==i.queryDisabled||r[12]!==i.rqbContext||r[13]!==o.context||r[14]!==s?(p=(0,ce.jsx)(J.QueryBuilderContext.Provider,{value:i.rqbContext,children:(0,ce.jsx)(s,F(F({ruleGroup:i.rootGroup},i.combinatorPropObject),{},{path:mr,translations:i.translations,schema:i.schema,actions:i.actions,id:i.rootGroup.id,disabled:i.rootGroupDisabled,parentDisabled:i.queryDisabled,context:o.context}))}),r[5]=i.rootGroup,r[6]=i.combinatorPropObject,r[7]=i.translations,r[8]=i.schema,r[9]=i.actions,r[10]=i.rootGroupDisabled,r[11]=i.queryDisabled,r[12]=i.rqbContext,r[13]=o.context,r[14]=s,r[15]=p):p=r[15],p},vr=function(e){return(0,ce.jsx)(dt.Provider,{context:J.QueryBuilderStateContext,store:J.queryBuilderStore,children:(0,ce.jsx)(yr,{props:e})})};0&&(module.exports={NativeActionElement,NativeInlineCombinator,NativeNotToggle,NativeShiftActions,NativeValueEditor,NativeValueEditorWeb,NativeValueSelector,NativeValueSelectorWeb,QueryBuilderNative,RuleGroupNative,RuleNative,defaultNativeControlElements,defaultNativeSelectStyles,defaultNativeStyles,defaultNativeWebControlElements});
"use strict";var gt=Object.create;var ve=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var St=Object.getOwnPropertyNames;var jt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var wt=(t,e)=>{for(var r in e)ve(t,r,{get:e[r],enumerable:!0})},$e=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of St(e))!Pt.call(t,n)&&n!==r&&ve(t,n,{get:()=>e[n],enumerable:!(o=Ot(e,n))||o.enumerable});return t};var Be=(t,e,r)=>(r=t!=null?gt(jt(t)):{},$e(e||!t||!t.__esModule?ve(r,"default",{value:t,enumerable:!0}):r,t)),Dt=t=>$e(ve({},"__esModule",{value:!0}),t);var br={};wt(br,{NativeActionElement:()=>g,NativeInlineCombinator:()=>Ce,NativeNotToggle:()=>Te,NativeShiftActions:()=>_e,NativeValueEditor:()=>re,NativeValueEditorWeb:()=>Ge,NativeValueSelector:()=>E,NativeValueSelectorWeb:()=>x,QueryBuilderNative:()=>vr,RuleGroupNative:()=>Ae,RuleNative:()=>Ve,defaultNativeControlElements:()=>je,defaultNativeSelectStyles:()=>v,defaultNativeStyles:()=>c,defaultNativeWebControlElements:()=>ir});module.exports=Dt(br);var be=require("react/jsx-runtime"),Q=require("react-native");var ke=require("react-native");function Y(t){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(t)}function Re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Ke(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Re(Object(r),!0).forEach(function(o){Nt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Nt(t,e,r){return(e=Et(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Et(t){var e=xt(t,"string");return Y(e)=="symbol"?e:e+""}function xt(t,e){if(Y(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Y(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var v={selector:{borderRadius:4,borderWidth:1,height:32,width:100,paddingLeft:4},option:{}},Ct={actionElement:{borderWidth:1,borderRadius:4,height:32,padding:8,paddingBottom:4,paddingTop:4},actionElementText:{},combinatorOption:v.option,combinatorSelector:v.selector,dragHandle:{},fieldOption:v.option,fieldSelector:v.selector,inlineCombinator:{},notToggle:{flexDirection:"row"},notToggleLabel:{},notToggleSwitch:{},operatorOption:v.option,operatorSelector:v.selector,rule:{flexDirection:"row",gap:10,alignItems:"center"},ruleGroup:{backgroundColor:"rgba(0, 75, 183, 0.2)",borderColor:"#8081a2",borderRadius:4,borderWidth:1,padding:10,gap:10},ruleGroupBody:{gap:10},ruleGroupHeader:{flexDirection:"row",gap:10,alignItems:"center"},shiftActions:{flexDirection:"column"},value:Ke(Ke({},v.selector),{},{width:150}),valueEditorOption:v.option,valueEditorSelector:v.selector,valueEditorSwitch:{},valueList:{flexDirection:"row"},valueSourceOption:v.option,valueSourceSelector:v.selector},c=ke.StyleSheet.create(Ct);var g=function(e){var r,o=e.handleOnClick,n=e.label,a=e.disabled,u=e.disabledTranslation,l=e.testID,i=e.schema;return(0,be.jsx)(Q.Pressable,{testID:l,disabled:a&&!u,onPress:function(p){return o()},children:(0,be.jsx)(Q.View,{style:c.actionElement,children:(0,be.jsx)(Q.Text,{style:c.actionElementText,children:"".concat(u&&a?(r=u.label)!==null&&r!==void 0?r:"":n??"")})})})};var Ee=require("react/jsx-runtime"),Me=require("react"),de=require("react-native"),xe=require("react-querybuilder");function Z(t){"@babel/helpers - typeof";return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(t)}var Tt=["component","path"];function Le(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function We(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Le(Object(r),!0).forEach(function(o){_t(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Le(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function _t(t,e,r){return(e=Gt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gt(t){var e=At(t,"string");return Z(e)=="symbol"?e:e+""}function At(t,e){if(Z(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Z(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function It(t,e){if(t==null)return{};var r,o,n=Vt(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Vt(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.includes(o))continue;r[o]=t[o]}return r}var Ce=function(e){var r,o=e.component,n=e.path,a=It(e,Tt),u=(0,Me.useMemo)(function(){var l;return{inlineCombinator:de.StyleSheet.flatten([c.inlineCombinator,(l=a.schema.styles)===null||l===void 0?void 0:l.inlineCombinator])}},[(r=a.schema.styles)===null||r===void 0?void 0:r.inlineCombinator]);return(0,Ee.jsx)(de.View,{style:u.inlineCombinator,testID:xe.TestID.inlineCombinator,children:(0,Ee.jsx)(o,We(We({},a),{},{path:n,testID:xe.TestID.combinators}))},"no-dnd")};var z=require("react/jsx-runtime"),He=require("react"),S=require("react-native");var Te=function(e){var r,o,n,a=e.handleOnChange,u=e.label,l=e.checked,i=e.disabled,s=e.schema,p=e.testID,O=(0,He.useMemo)(function(){var d,P,m;return{notToggle:S.StyleSheet.flatten([c.notToggle,(d=s.styles)===null||d===void 0?void 0:d.notToggle]),notToggleLabel:S.StyleSheet.flatten([c.notToggleLabel,(P=s.styles)===null||P===void 0?void 0:P.notToggleLabel]),notToggleSwitch:S.StyleSheet.flatten([c.notToggleSwitch,(m=s.styles)===null||m===void 0?void 0:m.notToggleSwitch])}},[(r=s.styles)===null||r===void 0?void 0:r.notToggle,(o=s.styles)===null||o===void 0?void 0:o.notToggleLabel,(n=s.styles)===null||n===void 0?void 0:n.notToggleSwitch]);return(0,z.jsxs)(S.View,{style:O.notToggle,testID:p,children:[(0,z.jsx)(S.Text,{style:O.notToggleLabel,children:u}),(0,z.jsx)(S.Switch,{style:O.notToggleSwitch,disabled:i,value:l,onValueChange:function(P){return a(P)}})]})};var ee=require("react/jsx-runtime"),Qe=Be(require("react")),$=require("react-native");var _e=function(e){var r=e.shiftUp,o=e.shiftDown,n=e.shiftUpDisabled,a=e.shiftDownDisabled,u=e.disabled,l=e.labels,i=e.testID,s=e.schema.styles,p=Qe.useMemo(function(){return{shiftActions:$.StyleSheet.flatten([c.shiftActions,s?.shiftActions])}},[s?.shiftActions]);return(0,ee.jsxs)($.View,{testID:i,style:p.shiftActions,children:[(0,ee.jsx)($.Button,{disabled:u||n,onPress:r,accessibilityLabel:l?.shiftUp,title:l?.shiftUp}),(0,ee.jsx)($.Button,{disabled:u||a,onPress:o,accessibilityLabel:l?.shiftDown,title:l?.shiftDown})]})};var N=require("react/jsx-runtime"),Ue=require("react"),h=require("react-native"),q=require("react-querybuilder");function te(t){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}var $t=["operator","value","handleOnChange","title","className","type","inputType","values","listsAsArrays","fieldData","disabled","separator","testID","selectorComponent"];function qe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function he(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qe(Object(r),!0).forEach(function(o){Bt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qe(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Bt(t,e,r){return(e=Rt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rt(t){var e=Kt(t,"string");return te(e)=="symbol"?e:e+""}function Kt(t,e){if(te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(te(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function kt(t,e){if(t==null)return{};var r,o,n=Lt(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Lt(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.includes(o))continue;r[o]=t[o]}return r}var re=function(e){var r,o,n,a,u=e.operator,l=e.value,i=e.handleOnChange,s=e.title,p=e.className,O=e.type,d=O===void 0?"text":O,P=e.inputType,m=P===void 0?"text":P,pe=e.values,R=pe===void 0?[]:pe,fe=e.listsAsArrays,f=e.fieldData,_=e.disabled,me=e.separator,we=me===void 0?null:me,G=e.testID,ye=e.selectorComponent,K=ye===void 0?e.schema.controls.valueSelector:ye,k=kt(e,$t),w=(0,Ue.useMemo)(function(){var D,y,V;return{value:h.StyleSheet.flatten([c.value,(D=e.schema.styles)===null||D===void 0?void 0:D.value]),valueEditorSwitch:h.StyleSheet.flatten([c.valueEditorSwitch,(y=e.schema.styles)===null||y===void 0?void 0:y.valueEditorSwitch]),valueList:h.StyleSheet.flatten([c.valueList,(V=e.schema.styles)===null||V===void 0?void 0:V.valueList])}},[(r=e.schema.styles)===null||r===void 0?void 0:r.value,(o=e.schema.styles)===null||o===void 0?void 0:o.valueEditorSwitch,(n=e.schema.styles)===null||n===void 0?void 0:n.valueList]),A=(0,q.useValueEditor)(e),L=A.valueAsArray,W=A.multiValueHandler,X=A.parseNumberMethod;if(u==="null"||u==="notNull")return null;var I=(a=f?.placeholder)!==null&&a!==void 0?a:"",M=["in","notIn"].includes(u)?"text":m==="number"?"decimal":m??"text";if((u==="between"||u==="notBetween")&&(d==="select"||d==="text")){var H=["from","to"].map(function(D,y){var V;if(d==="text"){var De;return(0,N.jsx)(h.TextInput,{style:w.value,inputMode:M,placeholder:I,value:(De=L[y])!==null&&De!==void 0?De:"",onChangeText:function(Ne){return W(Ne,y)}},D)}return(0,N.jsx)(K,he(he({},k),{},{handleOnChange:function(Ne){return W(Ne,y)},className:p,disabled:_,value:(V=L[y])!==null&&V!==void 0?V:(0,q.getFirstOption)(R),options:R,listsAsArrays:fe}),D)});return(0,N.jsxs)(h.View,{testID:G,style:w.valueList,children:[H[0],we,H[1]]})}switch(d){case"select":case"multiselect":return(0,N.jsx)(K,he(he({},k),{},{testID:G,className:p,title:s,handleOnChange:i,disabled:_,value:l,options:R,multiple:d==="multiselect",listsAsArrays:fe}));case"textarea":return(0,N.jsx)(h.TextInput,{testID:G,style:w.value,placeholder:I,value:l,onChangeText:function(y){return i(y)}});case"switch":case"checkbox":return(0,N.jsx)(h.Switch,{testID:G,style:w.valueEditorSwitch,disabled:_,value:!!l,onValueChange:function(y){return i(y)}})}return(0,N.jsx)(h.TextInput,{testID:G,style:w.value,inputMode:M,placeholder:I,value:l,onChangeText:function(y){return i((0,q.parseNumber)(y,{parseNumbers:X}))}})};var et=require("react/jsx-runtime");var Ye=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),Je=require("react"),b=require("react-native"),j=require("react-querybuilder");var E=function(e){var r,o,n,a,u,l,i,s,p,O,d=e.handleOnChange,P=e.options,m=e.value,pe=e.disabled,R=e.multiple,fe=e.listsAsArrays,f=e.schema,_=e.testID,me=(0,Je.useMemo)(function(){switch(_){case j.TestID.combinators:{var K,k;return{selector:b.StyleSheet.flatten([c.combinatorSelector,(K=f.styles)===null||K===void 0?void 0:K.combinatorSelector]),option:b.StyleSheet.flatten([c.combinatorOption,(k=f.styles)===null||k===void 0?void 0:k.combinatorOption])}}case j.TestID.fields:{var w,A;return{selector:b.StyleSheet.flatten([c.fieldSelector,(w=f.styles)===null||w===void 0?void 0:w.fieldSelector]),option:b.StyleSheet.flatten([c.fieldOption,(A=f.styles)===null||A===void 0?void 0:A.fieldOption])}}case j.TestID.operators:{var L,W;return{selector:b.StyleSheet.flatten([c.operatorSelector,(L=f.styles)===null||L===void 0?void 0:L.operatorSelector]),option:b.StyleSheet.flatten([c.operatorOption,(W=f.styles)===null||W===void 0?void 0:W.operatorOption])}}case j.TestID.valueSourceSelector:{var X,I;return{selector:b.StyleSheet.flatten([c.valueSourceSelector,(X=f.styles)===null||X===void 0?void 0:X.valueSourceSelector]),option:b.StyleSheet.flatten([c.valueSourceOption,(I=f.styles)===null||I===void 0?void 0:I.valueSourceOption])}}case j.TestID.valueEditor:{var M,H;return{selector:b.StyleSheet.flatten([c.valueEditorSelector,(M=f.styles)===null||M===void 0?void 0:M.valueEditorSelector]),option:b.StyleSheet.flatten([c.valueEditorOption,(H=f.styles)===null||H===void 0?void 0:H.valueEditorOption])}}default:}return b.StyleSheet.create(v)},[(r=f.styles)===null||r===void 0?void 0:r.combinatorOption,(o=f.styles)===null||o===void 0?void 0:o.combinatorSelector,(n=f.styles)===null||n===void 0?void 0:n.fieldOption,(a=f.styles)===null||a===void 0?void 0:a.fieldSelector,(u=f.styles)===null||u===void 0?void 0:u.operatorOption,(l=f.styles)===null||l===void 0?void 0:l.operatorSelector,(i=f.styles)===null||i===void 0?void 0:i.valueEditorOption,(s=f.styles)===null||s===void 0?void 0:s.valueEditorSelector,(p=f.styles)===null||p===void 0?void 0:p.valueSourceOption,(O=f.styles)===null||O===void 0?void 0:O.valueSourceSelector,_]),we=(0,j.useValueSelector)({handleOnChange:d,listsAsArrays:fe,multiple:R,value:m}),G=we.onChange,ye=R&&Array.isArray(m)?(0,j.joinWith)(m,","):m;return(0,Fe.jsx)(b.TextInput,{testID:_,"aria-disabled":pe,style:me.selector,value:ye,onChangeText:G})};function oe(t){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(t)}function Xe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Wt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xe(Object(r),!0).forEach(function(o){Mt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Mt(t,e,r){return(e=Ht(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ht(t){var e=Qt(t,"string");return oe(e)=="symbol"?e:e+""}function Qt(t,e){if(oe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(oe(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var x=function(e){return(0,Ye.jsx)(E,Wt({},e))};function ne(t){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(t)}function Ze(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function ze(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ze(Object(r),!0).forEach(function(o){qt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function qt(t,e,r){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ut(t){var e=Ft(t,"string");return ne(e)=="symbol"?e:e+""}function Ft(t,e){if(ne(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ne(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ge=function(e){return(0,et.jsx)(re,ze(ze({},e),{},{selectorComponent:x}))};var rt=Be(require("react")),tt=Symbol.for("react.memo_cache_sentinel");function ge(t){return rt.useMemo(function(){for(var e=Array.from({length:t}),r=0;r<t;r++)e[r]=tt;return e[tt]=!0,e},[])}var ce=require("react/jsx-runtime"),oo=require("react"),J=require("react-querybuilder"),dt=require("react-redux");var ct=require("react"),Se=require("react-querybuilder");var B=require("react/jsx-runtime"),it=require("react"),C=require("react-native"),T=require("react-querybuilder");function ie(t){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(t)}function ot(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function nt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ot(Object(r),!0).forEach(function(o){Jt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function Jt(t,e,r){return(e=Xt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Xt(t){var e=Yt(t,"string");return ie(e)=="symbol"?e:e+""}function Yt(t,e){if(ie(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ie(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ae=function(e){var r,o,n,a=(0,T.useRuleGroup)(e),u=a.schema,l=(0,it.useMemo)(function(){var i,s,p;return{ruleGroup:C.StyleSheet.flatten([c.ruleGroup,(i=u.styles)===null||i===void 0?void 0:i.ruleGroup]),ruleGroupHeader:C.StyleSheet.flatten([c.ruleGroupHeader,(s=u.styles)===null||s===void 0?void 0:s.ruleGroupHeader]),ruleGroupBody:C.StyleSheet.flatten([c.ruleGroupBody,(p=u.styles)===null||p===void 0?void 0:p.ruleGroupBody])}},[(r=u.styles)===null||r===void 0?void 0:r.ruleGroup,(o=u.styles)===null||o===void 0?void 0:o.ruleGroupBody,(n=u.styles)===null||n===void 0?void 0:n.ruleGroupHeader]);return(0,B.jsxs)(C.View,{style:l.ruleGroup,testID:T.TestID.ruleGroup,children:[(0,B.jsx)(C.View,{style:l.ruleGroupHeader,children:(0,B.jsx)(T.RuleGroupHeaderComponents,nt({},a))}),(0,B.jsx)(C.View,{style:l.ruleGroupBody,children:(0,B.jsx)(T.RuleGroupBodyComponents,nt({},a))})]})};var Ie=require("react/jsx-runtime"),ut=require("react"),Oe=require("react-native"),U=require("react-querybuilder");function le(t){"@babel/helpers - typeof";return le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(t)}function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Zt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lt(Object(r),!0).forEach(function(o){zt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function zt(t,e,r){return(e=er(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function er(t){var e=tr(t,"string");return le(e)=="symbol"?e:e+""}function tr(t,e){if(le(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(le(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ve=function(e){var r,o=(0,U.useRule)(e),n=o.schema,a=(0,ut.useMemo)(function(){var u;return{rule:Oe.StyleSheet.flatten([c.rule,(u=n.styles)===null||u===void 0?void 0:u.rule])}},[(r=n.styles)===null||r===void 0?void 0:r.rule]);return(0,Ie.jsx)(Oe.View,{style:a.rule,testID:U.TestID.rule,children:(0,Ie.jsx)(U.RuleComponents,Zt({},o))})};function ue(t){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(t)}function at(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function st(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?at(Object(r),!0).forEach(function(o){rr(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function rr(t,e,r){return(e=or(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function or(t){var e=nr(t,"string");return ue(e)=="symbol"?e:e+""}function nr(t,e){if(ue(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ue(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var je={actionElement:g,addGroupAction:g,addRuleAction:g,cloneGroupAction:g,cloneRuleAction:g,combinatorSelector:E,dragHandle:(0,ct.forwardRef)(function(){return null}),fieldSelector:E,inlineCombinator:Ce,lockGroupAction:g,lockRuleAction:g,notToggle:Te,operatorSelector:E,removeGroupAction:g,removeRuleAction:g,rule:Ve,ruleGroup:Ae,ruleGroupBodyElements:Se.RuleGroupBodyComponents,ruleGroupHeaderElements:Se.RuleGroupHeaderComponents,shiftActions:_e,valueEditor:re,valueSelector:E,valueSourceSelector:E},ir=st(st({},je),{},{combinatorSelector:x,fieldSelector:x,operatorSelector:x,valueEditor:Ge,valueSelector:x,valueSourceSelector:x});var zr=require("react"),ft=require("react-native"),mt=require("react-querybuilder"),yt=require("react-querybuilder");function ae(t){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(t)}function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Pe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pt(Object(r),!0).forEach(function(o){lr(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function lr(t,e,r){return(e=ur(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ur(t){var e=ar(t,"string");return ae(e)=="symbol"?e:e+""}function ar(t,e){if(ae(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ae(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var vt=function(e){return sr(e,(0,mt.useQueryBuilderSetup)(e))},sr=function(e,r){var o=ge(8),n=(0,yt.useQueryBuilderSchema)(e,r),a,u;if(o[0]!==e.styles){var l;u=ft.StyleSheet.create((l=e.styles)!==null&&l!==void 0?l:{}),o[0]=e.styles,o[1]=u}else u=o[1];a=u;var i=a,s;o[2]!==n.schema||o[3]!==i?(s=Pe(Pe({},n.schema),{},{styles:i}),o[2]=n.schema,o[3]=i,o[4]=s):s=o[4];var p;return o[5]!==n||o[6]!==s?(p=Pe(Pe({},n),{},{schema:s}),o[5]=n,o[6]=s,o[7]=p):p=o[7],p};function se(t){"@babel/helpers - typeof";return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},se(t)}function bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bt(Object(r),!0).forEach(function(o){cr(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function cr(t,e,r){return(e=pr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pr(t){var e=fr(t,"string");return se(e)=="symbol"?e:e+""}function fr(t,e){if(se(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(se(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var mr=[],yr=function(e){var r=ge(16),o=e.props,n,a;r[0]!==o.controlElements?(a=F(F({},je),o.controlElements),r[0]=o.controlElements,r[1]=a):a=r[1],n=a;var u=n,l;r[2]!==u||r[3]!==o?(l=F(F({},o),{},{controlElements:u}),r[2]=u,r[3]=o,r[4]=l):l=r[4];var i=vt(l),s=i.schema.controls.ruleGroup,p;return r[5]!==s||r[6]!==o.context||r[7]!==i.actions||r[8]!==i.combinatorPropObject||r[9]!==i.queryDisabled||r[10]!==i.rootGroup||r[11]!==i.rootGroupDisabled||r[12]!==i.rqbContext||r[13]!==i.schema||r[14]!==i.translations?(p=(0,ce.jsx)(J.QueryBuilderContext.Provider,{value:i.rqbContext,children:(0,ce.jsx)(s,F(F({ruleGroup:i.rootGroup},i.combinatorPropObject),{},{path:mr,translations:i.translations,schema:i.schema,actions:i.actions,id:i.rootGroup.id,disabled:i.rootGroupDisabled,parentDisabled:i.queryDisabled,context:o.context}))}),r[5]=s,r[6]=o.context,r[7]=i.actions,r[8]=i.combinatorPropObject,r[9]=i.queryDisabled,r[10]=i.rootGroup,r[11]=i.rootGroupDisabled,r[12]=i.rqbContext,r[13]=i.schema,r[14]=i.translations,r[15]=p):p=r[15],p},vr=function(e){return(0,ce.jsx)(dt.Provider,{context:J.QueryBuilderStateContext,store:J.queryBuilderStore,children:(0,ce.jsx)(yr,{props:e})})};0&&(module.exports={NativeActionElement,NativeInlineCombinator,NativeNotToggle,NativeShiftActions,NativeValueEditor,NativeValueEditorWeb,NativeValueSelector,NativeValueSelectorWeb,QueryBuilderNative,RuleGroupNative,RuleNative,defaultNativeControlElements,defaultNativeSelectStyles,defaultNativeStyles,defaultNativeWebControlElements});
//# sourceMappingURL=react-querybuilder_native.cjs.production.js.map
import * as React from "react";
import type { FullCombinator, FullField, FullOperator, RuleGroupTypeAny } from "react-querybuilder";
import type { QueryBuilderNativeProps } from "../types";
/**
* An implementation of react-querybuilder for React Native.
*/
export declare const QueryBuilderNative: <

@@ -5,0 +8,0 @@ RG extends RuleGroupTypeAny,

{
"name": "@react-querybuilder/native",
"description": "React Native components for react-querybuilder",
"version": "8.0.0",
"version": "8.1.0",
"publishConfig": {

@@ -49,4 +49,4 @@ "access": "public"

"scripts": {
"start": "bunx --bun vite",
"build": "bunx --bun tsup",
"start": "vite",
"build": "bun --bun tsup",
"typecheck": "tsc --noEmit",

@@ -58,24 +58,24 @@ "typecheck:watch": "tsc --noEmit --watch"

"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.8.1",
"@types/react": "^18.3.12",
"@types/react-test-renderer": "^18.3.0",
"@vitejs/plugin-react": "^4.3.3",
"babel-plugin-syntax-hermes-parser": "^0.25.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native": "~0.76.1",
"@testing-library/react-native": "^13.0.0",
"@types/react": "^19.0.4",
"@types/react-test-renderer": "^19.0.0",
"@vitejs/plugin-react": "^4.3.4",
"babel-plugin-syntax-hermes-parser": "^0.26.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-native": "~0.76.6",
"react-native-web": "~0.19.13",
"react-querybuilder": "8.0.0",
"react-redux": "^9.1.2",
"react-test-renderer": "^18.3.1",
"rollup-plugin-visualizer": "^5.12.0",
"typescript": "^5.6.3",
"vite": "^5.4.10"
"react-querybuilder": "8.1.0",
"react-redux": "^9.2.0",
"react-test-renderer": "^19.0.0",
"rollup-plugin-visualizer": "^5.14.0",
"typescript": "^5.7.3",
"vite": "^6.0.7"
},
"peerDependencies": {
"react": ">=18",
"react-querybuilder": "8.0.0",
"react-querybuilder": "8.1.0",
"react-redux": "^9.1.0"
},
"gitHead": "604b597904b3e1ef60da70af97ff7dd0b70a9bd8"
"gitHead": "b0a9b58ceb51d06ab786e573da748b7babfebf96"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc