@react-querybuilder/datetime 8.8.3 → 8.9.1
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/date-fns.d.ts +1 -0
- package/dist/cjs/dayjs.d.ts +1 -0
- package/dist/cjs/getDatetimeRuleProcessorSQL-D95jgDK6.js +2 -0
- package/dist/cjs/getDatetimeRuleProcessorSQL-D95jgDK6.js.map +1 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/jsdate.d.ts +1 -0
- package/dist/cjs/luxon.d.ts +1 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.development.d.ts +108 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.d.ts +53 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.js +82 -775
- package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.d.ts +53 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.js +76 -785
- package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.development.js +125 -934
- package/dist/cjs/react-querybuilder_datetime.cjs.development.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.d.ts +56 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.js +113 -834
- package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.d.ts +53 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.js +78 -779
- package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.d.ts +108 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.d.ts +53 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.js +1 -6
- package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.d.ts +53 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.js +1 -6
- package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.js +1 -7
- package/dist/cjs/react-querybuilder_datetime.cjs.production.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.d.ts +56 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.js +1 -7
- package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.d.ts +53 -0
- package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.js +1 -6
- package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.js.map +1 -1
- package/dist/cjs/types-QCQUGVZa.d.ts +1694 -0
- package/dist/getDatetimeRuleProcessorSQL-CN80oEFK.js +386 -0
- package/dist/getDatetimeRuleProcessorSQL-CN80oEFK.js.map +1 -0
- package/dist/getDatetimeRuleProcessorSQL-KYRPP9qd.mjs +367 -0
- package/dist/getDatetimeRuleProcessorSQL-KYRPP9qd.mjs.map +1 -0
- package/dist/react-querybuilder_datetime.d.mts +108 -0
- package/dist/react-querybuilder_datetime.date-fns.d.mts +53 -0
- package/dist/react-querybuilder_datetime.date-fns.mjs +72 -57
- package/dist/react-querybuilder_datetime.date-fns.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.dayjs.d.mts +53 -0
- package/dist/react-querybuilder_datetime.dayjs.mjs +66 -57
- package/dist/react-querybuilder_datetime.dayjs.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.jsdate.d.mts +56 -0
- package/dist/react-querybuilder_datetime.jsdate.mjs +102 -114
- package/dist/react-querybuilder_datetime.jsdate.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.legacy-esm.d.ts +108 -0
- package/dist/react-querybuilder_datetime.legacy-esm.date-fns.d.ts +53 -0
- package/dist/react-querybuilder_datetime.legacy-esm.date-fns.js +72 -57
- package/dist/react-querybuilder_datetime.legacy-esm.date-fns.js.map +1 -1
- package/dist/react-querybuilder_datetime.legacy-esm.dayjs.d.ts +53 -0
- package/dist/react-querybuilder_datetime.legacy-esm.dayjs.js +66 -57
- package/dist/react-querybuilder_datetime.legacy-esm.dayjs.js.map +1 -1
- package/dist/react-querybuilder_datetime.legacy-esm.js +113 -215
- package/dist/react-querybuilder_datetime.legacy-esm.js.map +1 -1
- package/dist/react-querybuilder_datetime.legacy-esm.jsdate.d.ts +56 -0
- package/dist/react-querybuilder_datetime.legacy-esm.jsdate.js +102 -114
- package/dist/react-querybuilder_datetime.legacy-esm.jsdate.js.map +1 -1
- package/dist/react-querybuilder_datetime.legacy-esm.luxon.d.ts +53 -0
- package/dist/react-querybuilder_datetime.legacy-esm.luxon.js +68 -61
- package/dist/react-querybuilder_datetime.legacy-esm.luxon.js.map +1 -1
- package/dist/react-querybuilder_datetime.luxon.d.mts +53 -0
- package/dist/react-querybuilder_datetime.luxon.mjs +68 -61
- package/dist/react-querybuilder_datetime.luxon.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.mjs +112 -215
- package/dist/react-querybuilder_datetime.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.production.d.mts +108 -0
- package/dist/react-querybuilder_datetime.production.date-fns.d.mts +53 -0
- package/dist/react-querybuilder_datetime.production.date-fns.mjs +1 -1
- package/dist/react-querybuilder_datetime.production.date-fns.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.production.dayjs.d.mts +53 -0
- package/dist/react-querybuilder_datetime.production.dayjs.mjs +1 -1
- package/dist/react-querybuilder_datetime.production.dayjs.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.production.jsdate.d.mts +56 -0
- package/dist/react-querybuilder_datetime.production.jsdate.mjs +1 -2
- package/dist/react-querybuilder_datetime.production.jsdate.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.production.luxon.d.mts +53 -0
- package/dist/react-querybuilder_datetime.production.luxon.mjs +1 -1
- package/dist/react-querybuilder_datetime.production.luxon.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.production.mjs +1 -2
- package/dist/react-querybuilder_datetime.production.mjs.map +1 -1
- package/dist/types-CDEkL2M_.d.mts +1694 -0
- package/dist/types-EgfSemtR.d.ts +1694 -0
- package/package.json +24 -24
- package/dist/chunk-SLTJVKUE.mjs +0 -7
- package/dist/chunk-SLTJVKUE.mjs.map +0 -1
- package/dist/chunk-ZLH5EH6W.mjs +0 -713
- package/dist/chunk-ZLH5EH6W.mjs.map +0 -1
- package/dist/chunk-ZS6AX35I.js +0 -738
- package/dist/chunk-ZS6AX35I.js.map +0 -1
- package/dist/types/QueryBuilderDateTime.d.ts +0 -4
- package/dist/types/datetimeRuleProcessorJsonLogic.d.ts +0 -10
- package/dist/types/getDatetimeJsonLogicOperations.d.ts +0 -6
- package/dist/types/getDatetimeRuleProcessorCEL.d.ts +0 -7
- package/dist/types/getDatetimeRuleProcessorJSONata.d.ts +0 -7
- package/dist/types/getDatetimeRuleProcessorMongoDBQuery.d.ts +0 -7
- package/dist/types/getDatetimeRuleProcessorNL.d.ts +0 -13
- package/dist/types/getDatetimeRuleProcessorSQL.d.ts +0 -32
- package/dist/types/index.d.ts +0 -8
- package/dist/types/index.date-fns.d.ts +0 -48
- package/dist/types/index.dayjs.d.ts +0 -48
- package/dist/types/index.jsdate.d.ts +0 -48
- package/dist/types/index.luxon.d.ts +0 -48
- package/dist/types/rqbDateTimeLibraryAPI.date-fns.d.ts +0 -5
- package/dist/types/rqbDateTimeLibraryAPI.dayjs.d.ts +0 -5
- package/dist/types/rqbDateTimeLibraryAPI.jsdate.d.ts +0 -8
- package/dist/types/rqbDateTimeLibraryAPI.luxon.d.ts +0 -5
- package/dist/types/types.d.ts +0 -111
- package/dist/types/utils.d.ts +0 -5
- package/dist/types-esm/QueryBuilderDateTime.d.mts +0 -4
- package/dist/types-esm/datetimeRuleProcessorJsonLogic.d.mts +0 -10
- package/dist/types-esm/getDatetimeJsonLogicOperations.d.mts +0 -6
- package/dist/types-esm/getDatetimeRuleProcessorCEL.d.mts +0 -7
- package/dist/types-esm/getDatetimeRuleProcessorJSONata.d.mts +0 -7
- package/dist/types-esm/getDatetimeRuleProcessorMongoDBQuery.d.mts +0 -7
- package/dist/types-esm/getDatetimeRuleProcessorNL.d.mts +0 -13
- package/dist/types-esm/getDatetimeRuleProcessorSQL.d.mts +0 -32
- package/dist/types-esm/index.d.mts +0 -8
- package/dist/types-esm/index.date-fns.d.mts +0 -48
- package/dist/types-esm/index.dayjs.d.mts +0 -48
- package/dist/types-esm/index.jsdate.d.mts +0 -48
- package/dist/types-esm/index.luxon.d.mts +0 -48
- package/dist/types-esm/rqbDateTimeLibraryAPI.date-fns.d.mts +0 -5
- package/dist/types-esm/rqbDateTimeLibraryAPI.dayjs.d.mts +0 -5
- package/dist/types-esm/rqbDateTimeLibraryAPI.jsdate.d.mts +0 -8
- package/dist/types-esm/rqbDateTimeLibraryAPI.luxon.d.mts +0 -5
- package/dist/types-esm/types.d.mts +0 -111
- package/dist/types-esm/utils.d.mts +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/getDatetimeJsonLogicOperations.ts","../src/getDatetimeRuleProcessorCEL.ts","../src/utils.ts","../src/getDatetimeRuleProcessorMongoDBQuery.ts","../src/getDatetimeRuleProcessorNL.ts","../src/getDatetimeRuleProcessorSQL.ts"],"sourcesContent":["export var getDatetimeJsonLogicOperations=function getDatetimeJsonLogicOperations(_ref){var isAfter=_ref.isAfter,isBefore=_ref.isBefore,isSame=_ref.isSame;return{dateAfter:function dateAfter(a,b){return isAfter(a,b);},dateBefore:function dateBefore(a,b){return isBefore(a,b);},dateBetween:function dateBetween(a,b,c){return isSame(b,a)||isSame(b,c)||isAfter(b,a)&&isBefore(b,c)||isAfter(b,c)&&isBefore(b,a);},dateNotBetween:function dateNotBetween(a,b,c){return!isSame(b,a)&&!isSame(b,c)&&(isBefore(a,c)&&(isBefore(b,a)||isAfter(b,c))||isAfter(a,c)&&(isBefore(b,c)||isAfter(b,a)));},dateIn:function dateIn(a,b){return b.some(function(v){return isSame(a,v);});},dateNotIn:function dateNotIn(a,b){return b.every(function(v){return!isSame(a,v);});},dateNotOn:function dateNotOn(a,b){return!isSame(a,b);},dateOn:function dateOn(a,b){return isSame(a,b);},dateOnOrAfter:function dateOnOrAfter(a,b){return isAfter(a,b)||isSame(a,b);},dateOnOrBefore:function dateOnOrBefore(a,b){return isBefore(a,b)||isSame(a,b);}};};","function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _unsupportedIterableToArray(r,a){if(r){if(\"string\"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return\"Object\"===t&&r.constructor&&(t=r.constructor.name),\"Map\"===t||\"Set\"===t?Array.from(r):\"Arguments\"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t[\"return\"]&&(u=t[\"return\"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{defaultRuleProcessorCEL,lc,toArray}from\"react-querybuilder\";import{processIsDateField}from\"./utils\";var shouldNegate=function shouldNegate(op){return /^(does)?not/i.test(op);};export var getDatetimeRuleProcessorCEL=function getDatetimeRuleProcessorCEL(apiFns){return function(rule,options){var opts=options!=null?options:(/* istanbul ignore next */{});var _opts$context=opts.context,context=_opts$context===void 0?{}:_opts$context;if(rule.valueSource===\"field\"||!processIsDateField(context.isDateField,rule,opts)){return defaultRuleProcessorCEL(rule,opts);}var ts=function ts(d){return\"timestamp(\\\"\".concat(apiFns.toISOString(d),\"\\\")\");};var operatorTL=lc(rule.operator.replace(/^=$/,\"==\"));switch(operatorTL){case\"<\":case\"<=\":case\"==\":case\"!=\":case\">\":case\">=\":return\"\".concat(rule.field,\" \").concat(operatorTL,\" \").concat(ts(rule.value));}var valueAsArray=toArray(rule.value,{retainEmptyStrings:false});var valueAsDateArray=valueAsArray.map(function(v){return apiFns.toDate(v);}).filter(function(dateVal){return apiFns.isValid(dateVal);});switch(operatorTL){case\"in\":case\"notin\":{if(valueAsDateArray.length===0)return\"\";var _ref=shouldNegate(operatorTL)?[\"!(\",\")\"]:[\"\",\"\"],_ref2=_slicedToArray(_ref,2),prefix=_ref2[0],suffix=_ref2[1];return\"\".concat(prefix).concat(rule.field,\" in [\").concat(valueAsDateArray.map(function(val){return ts(val);}).join(\", \"),\"]\").concat(suffix);}case\"between\":case\"notbetween\":{if(valueAsDateArray.length<2)return\"\";var _valueAsDateArray=_slicedToArray(valueAsDateArray,2),first=_valueAsDateArray[0],second=_valueAsDateArray[1];var _ref3=apiFns.isBefore(first,second)?[first,second]:[second,first],_ref4=_slicedToArray(_ref3,2),firstDate=_ref4[0],secondDate=_ref4[1];return operatorTL===\"between\"?\"(\".concat(rule.field,\" >= \").concat(ts(firstDate),\" && \").concat(rule.field,\" <= \").concat(ts(secondDate),\")\"):\"(\".concat(rule.field,\" < \").concat(ts(firstDate),\" || \").concat(rule.field,\" > \").concat(ts(secondDate),\")\");}}return defaultRuleProcessorCEL(rule,opts);};};","function _typeof(o){\"@babel/helpers - typeof\";return _typeof=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&\"function\"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?\"symbol\":typeof o;},_typeof(o);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _unsupportedIterableToArray(r,a){if(r){if(\"string\"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return\"Object\"===t&&r.constructor&&(t=r.constructor.name),\"Map\"===t||\"Set\"===t?Array.from(r):\"Arguments\"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t[\"return\"]&&(u=t[\"return\"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}export var isISOStringDateOnly=function isISOStringDateOnly(date){return typeof date===\"string\"&&/^\\d{4}-\\d{2}-\\d{2}$/.test(date);};export var defaultIsDateField=function defaultIsDateField(){for(var _len=arguments.length,_ref=new Array(_len),_key=0;_key<_len;_key++){_ref[_key]=arguments[_key];}var rule=_ref[0],opts=_ref[1];var _a;return rule.operator!==\"contains\"&&rule.operator!==\"beginsWith\"&&rule.operator!==\"endsWith\"&&rule.operator!==\"doesNotContain\"&&rule.operator!==\"doesNotBeginWith\"&&rule.operator!==\"doesNotEndWith\"&&rule.operator!==\"null\"&&rule.operator!==\"notNull\"&&/^(?:date|datetime|datetimeoffset|timestamp)\\b/i.test((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a.datatype);};export var processIsDateField=function processIsDateField(isDateField){for(var _len2=arguments.length,_ref2=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++){_ref2[_key2-1]=arguments[_key2];}var rule=_ref2[0],opts=_ref2[1];if(typeof isDateField===\"boolean\"){return isDateField;}if(typeof isDateField===\"function\"){return isDateField(rule,opts);}if(Array.isArray(isDateField)){return isDateField.some(function(condition){return Object.entries(condition).every(function(_ref3){var _ref4=_slicedToArray(_ref3,2),key=_ref4[0],value=_ref4[1];var _a;return((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a[key])===value;});});}if(_typeof(isDateField)===\"object\"){return Object.entries(isDateField).every(function(_ref5){var _ref6=_slicedToArray(_ref5,2),key=_ref6[0],value=_ref6[1];var _a;return((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a[key])===value;});}return defaultIsDateField(rule,opts);};","function _typeof(o){\"@babel/helpers - typeof\";return _typeof=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&\"function\"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?\"symbol\":typeof o;},_typeof(o);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _unsupportedIterableToArray(r,a){if(r){if(\"string\"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return\"Object\"===t&&r.constructor&&(t=r.constructor.name),\"Map\"===t||\"Set\"===t?Array.from(r):\"Arguments\"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t[\"return\"]&&(u=t[\"return\"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,\"string\");return\"symbol\"==_typeof(i)?i:i+\"\";}function _toPrimitive(t,r){if(\"object\"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||\"default\");if(\"object\"!=_typeof(i))return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return(\"string\"===r?String:Number)(t);}import{defaultRuleProcessorMongoDBQuery,mongoOperators,toArray}from\"react-querybuilder\";import{processIsDateField}from\"./utils\";export var getDatetimeRuleProcessorMongoDBQuery=function getDatetimeRuleProcessorMongoDBQuery(apiFns){return function(rule,options){var _a;var opts=options!=null?options:(/* istanbul ignore next */{});var field=rule.field,operator=rule.operator,value=rule.value,valueSource=rule.valueSource;if(valueSource===\"field\"||!processIsDateField((_a=opts.context)==null?void 0:_a.isDateField,rule,opts)){return defaultRuleProcessorMongoDBQuery(rule,opts);}if(operator===\"=\"){return _defineProperty({},field,apiFns.toDate(value));}switch(operator){case\"<\":case\"<=\":case\"!=\":case\">\":case\">=\":return _defineProperty({},field,_defineProperty({},mongoOperators[operator],apiFns.toDate(value)));}var valueAsArray=toArray(rule.value,{retainEmptyStrings:false});var valueAsDateArray=valueAsArray.map(function(v){return apiFns.toDate(v);}).filter(function(dateVal){return apiFns.isValid(dateVal);});switch(operator){case\"in\":case\"notIn\":return _defineProperty({},field,_defineProperty({},mongoOperators[operator],valueAsDateArray));case\"between\":case\"notBetween\":{if(valueAsDateArray.length<2)return\"\";var _valueAsDateArray=_slicedToArray(valueAsDateArray,2),first=_valueAsDateArray[0],second=_valueAsDateArray[1];var orderedArray=apiFns.isBefore(first,second)?[first,second]:[second,first];return operator===\"between\"?_defineProperty({},field,{$gte:orderedArray[0],$lte:orderedArray[1]}):{$or:[_defineProperty({},field,{$lt:orderedArray[0]}),_defineProperty({},field,{$gt:orderedArray[1]})]};}}return defaultRuleProcessorMongoDBQuery(rule,opts);};};","function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _iterableToArrayLimit(r,l){var t=null==r?null:\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t[\"return\"]&&(u=t[\"return\"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _createForOfIteratorHelper(r,e){var t=\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&\"number\"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t[\"return\"]||t[\"return\"]();}finally{if(u)throw o;}}};}function _unsupportedIterableToArray(r,a){if(r){if(\"string\"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return\"Object\"===t&&r.constructor&&(t=r.constructor.name),\"Map\"===t||\"Set\"===t?Array.from(r):\"Arguments\"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}var __defProp=Object.defineProperty;var __defProps=Object.defineProperties;var __getOwnPropDescs=Object.getOwnPropertyDescriptors;var __getOwnPropSymbols=Object.getOwnPropertySymbols;var __hasOwnProp=Object.prototype.hasOwnProperty;var __propIsEnum=Object.prototype.propertyIsEnumerable;var __defNormalProp=function __defNormalProp(obj,key,value){return key in obj?__defProp(obj,key,{enumerable:true,configurable:true,writable:true,value:value}):obj[key]=value;};var __spreadValues=function __spreadValues(a,b){for(var prop in b||(b={}))if(__hasOwnProp.call(b,prop))__defNormalProp(a,prop,b[prop]);if(__getOwnPropSymbols){var _iterator=_createForOfIteratorHelper(__getOwnPropSymbols(b)),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var prop=_step.value;if(__propIsEnum.call(b,prop))__defNormalProp(a,prop,b[prop]);}}catch(err){_iterator.e(err);}finally{_iterator.f();}}return a;};var __spreadProps=function __spreadProps(a,b){return __defProps(a,__getOwnPropDescs(b));};import{defaultOperatorProcessorNL,defaultRuleProcessorNL,getQuotedFieldName,lc,normalizeConstituentWordOrder,toArray}from\"react-querybuilder\";import{isISOStringDateOnly,processIsDateField}from\"./utils\";export var defaultDateTimeNLOperatorMap={// '=': 'is',\n// '!=': 'is not',\n\"<\":\"is before\",\">\":\"is after\",\"<=\":\"is on or before\",\">=\":\"is on or after\",\"in\":[\"is one of the dates\",\"is the same as a date in\"],notin:[\"is not one of the dates\",\"is not the same as any date in\"],between:[\"is between\",\"is between the dates in\"],notbetween:[\"is not between\",\"is not between the dates in\"]};export var datetimeValueProcessorNL=function datetimeValueProcessorNL(rule,opts){var _a,_b,_c,_d,_e;if(isISOStringDateOnly((_a=opts==null?void 0:opts.context)==null?void 0:_a.originalValue)){return new Intl.DateTimeFormat((_b=opts==null?void 0:opts.context)==null?void 0:_b.locales,__spreadValues({dateStyle:\"full\"},(_c=opts==null?void 0:opts.context)==null?void 0:_c.dateFormat)).format(rule.value);}return new Intl.DateTimeFormat((_d=opts==null?void 0:opts.context)==null?void 0:_d.locales,__spreadValues({dateStyle:\"full\",timeStyle:\"long\"},(_e=opts==null?void 0:opts.context)==null?void 0:_e.dateTimeFormat)).format(rule.value);};export var getDatetimeRuleProcessorNL=function getDatetimeRuleProcessorNL(apiFns){return function(rule,options){var _a,_b,_c,_d;var opts=options!=null?options:(/* istanbul ignore next */{});var operatorLowerCase=lc(rule.operator);var finalValue=\"\";var fieldData=opts.fieldData,_opts$quoteFieldNames=opts.quoteFieldNamesWith,quoteFieldNamesWith=_opts$quoteFieldNames===void 0?[\"\",\"\"]:_opts$quoteFieldNames,_opts$fieldIdentifier=opts.fieldIdentifierSeparator,fieldIdentifierSeparator=_opts$fieldIdentifier===void 0?\"\":_opts$fieldIdentifier,_opts$operatorProcess=opts.operatorProcessor,operatorProcessor=_opts$operatorProcess===void 0?defaultOperatorProcessorNL:_opts$operatorProcess,_opts$wordOrder=opts.wordOrder,wordOrder=_opts$wordOrder===void 0?\"SVO\":_opts$wordOrder,_opts$context=opts.context,context=_opts$context===void 0?{}:_opts$context,_opts$operatorMap=opts.operatorMap,operatorMap=_opts$operatorMap===void 0?defaultDateTimeNLOperatorMap:_opts$operatorMap;if(!processIsDateField(context.isDateField,rule,opts)){return defaultRuleProcessorNL(rule,opts);}if(rule.valueSource===\"field\"){return defaultRuleProcessorNL(rule,__spreadProps(__spreadValues({},opts),{operatorMap:defaultDateTimeNLOperatorMap}));}if((operatorLowerCase===\"in\"||operatorLowerCase===\"notin\"||operatorLowerCase===\"between\"||operatorLowerCase===\"notbetween\")&&!rule.value){return\"\";}var valueAsArray=toArray(rule.value,{retainEmptyStrings:false});var valueAsDateArray=valueAsArray.map(function(v){return[v,apiFns.toDate(v)];}).filter(function(v){return apiFns.isValid(v[1]);});switch(operatorLowerCase){case\"in\":case\"notin\":{if(valueAsDateArray.length===0)return\"\";finalValue=\"(\".concat(valueAsDateArray.map(function(value){return datetimeValueProcessorNL({field:rule.field,operator:\"=\",value:value[1]},__spreadProps(__spreadValues({},opts),{context:__spreadProps(__spreadValues({},context),{originalValue:value[0]})}));}).join(\", \"),\")\");}break;case\"between\":case\"notbetween\":{if(valueAsDateArray.length<2)return\"\";var _valueAsDateArray=_slicedToArray(valueAsDateArray,2),first=_valueAsDateArray[0],second=_valueAsDateArray[1];var orderedArray=apiFns.isBefore(first[1],second[1])?[first,second]:[second,first];finalValue=orderedArray.map(function(_ref){var _ref2=_slicedToArray(_ref,2),originalValue=_ref2[0],value=_ref2[1];return datetimeValueProcessorNL({field:rule.field,operator:\"=\",value:value},__spreadProps(__spreadValues({},opts),{context:__spreadProps(__spreadValues({},context),{originalValue:originalValue})}));}).join(\" \".concat((_b=(_a=opts.translations)==null?void 0:_a.and)!=null?_b:\"and\",\" \"));}break;default:{var _ref3=(_c=valueAsDateArray[0])!=null?_c:[\"\",\"\"],_ref4=_slicedToArray(_ref3,2),originalValue=_ref4[0],value=_ref4[1];finalValue=originalValue?datetimeValueProcessorNL({field:rule.field,operator:\"=\",value:value},__spreadProps(__spreadValues({},opts),{context:__spreadProps(__spreadValues({},context),{originalValue:originalValue})})):\"\";}}var processedField=getQuotedFieldName((_d=fieldData==null?void 0:fieldData.label)!=null?_d:rule.field,{quoteFieldNamesWith:quoteFieldNamesWith,fieldIdentifierSeparator:fieldIdentifierSeparator});var processedOperator=operatorProcessor(rule,__spreadProps(__spreadValues({},opts),{operatorMap:__spreadValues(__spreadValues({},defaultDateTimeNLOperatorMap),operatorMap)}));var wordOrderMap={S:processedField,V:processedOperator,O:finalValue};return normalizeConstituentWordOrder(wordOrder).map(function(term){return\"\".concat(wordOrderMap[term]);}).join(\" \").trim();};};","function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}function _iterableToArrayLimit(r,l){var t=null==r?null:\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t[\"return\"]&&(u=t[\"return\"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _createForOfIteratorHelper(r,e){var t=\"undefined\"!=typeof Symbol&&r[Symbol.iterator]||r[\"@@iterator\"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&\"number\"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t[\"return\"]||t[\"return\"]();}finally{if(u)throw o;}}};}function _unsupportedIterableToArray(r,a){if(r){if(\"string\"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return\"Object\"===t&&r.constructor&&(t=r.constructor.name),\"Map\"===t||\"Set\"===t?Array.from(r):\"Arguments\"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}var __defProp=Object.defineProperty;var __defProps=Object.defineProperties;var __getOwnPropDescs=Object.getOwnPropertyDescriptors;var __getOwnPropSymbols=Object.getOwnPropertySymbols;var __hasOwnProp=Object.prototype.hasOwnProperty;var __propIsEnum=Object.prototype.propertyIsEnumerable;var __defNormalProp=function __defNormalProp(obj,key,value){return key in obj?__defProp(obj,key,{enumerable:true,configurable:true,writable:true,value:value}):obj[key]=value;};var __spreadValues=function __spreadValues(a,b){for(var prop in b||(b={}))if(__hasOwnProp.call(b,prop))__defNormalProp(a,prop,b[prop]);if(__getOwnPropSymbols){var _iterator=_createForOfIteratorHelper(__getOwnPropSymbols(b)),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var prop=_step.value;if(__propIsEnum.call(b,prop))__defNormalProp(a,prop,b[prop]);}}catch(err){_iterator.e(err);}finally{_iterator.f();}}return a;};var __spreadProps=function __spreadProps(a,b){return __defProps(a,__getOwnPropDescs(b));};import{defaultRuleProcessorSQL,defaultValueProcessorByRule,getQuotedFieldName,lc,mapSQLOperator,toArray}from\"react-querybuilder\";import{isISOStringDateOnly,processIsDateField}from\"./utils\";export var getDatetimeValueProcessorANSI=function getDatetimeValueProcessorANSI(_ref){var toISOStringDateOnly=_ref.toISOStringDateOnly,toISOString=_ref.toISOString;return function(rule,opts){var _a;if(isISOStringDateOnly((_a=opts==null?void 0:opts.context)==null?void 0:_a.originalValue)){return defaultValueProcessorByRule(__spreadProps(__spreadValues({},rule),{value:toISOStringDateOnly(rule.value)}),opts);}return defaultValueProcessorByRule(__spreadProps(__spreadValues({},rule),{value:toISOString(rule.value)}),opts);};};export var getDatetimeValueProcessorMSSQL=function getDatetimeValueProcessorMSSQL(_ref2){var toISOStringDateOnly=_ref2.toISOStringDateOnly,toISOString=_ref2.toISOString;return function(rule,opts){var _a;var datatype=/^(?:small)?datetime/i.test((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a.datatype)?\"datetimeoffset\":\"date\";var value=datatype===\"datetimeoffset\"?toISOString(rule.value):toISOStringDateOnly(rule.value);return defaultValueProcessorByRule(__spreadProps(__spreadValues({},rule),{value:value}),__spreadProps(__spreadValues({},opts),{wrapValueWith:[\"cast(\",\" as \".concat(datatype,\")\")]}));};};export var getDatetimeValueProcessorMySQL=function getDatetimeValueProcessorMySQL(_ref3){var toISOStringDateOnly=_ref3.toISOStringDateOnly,toISOString=_ref3.toISOString;return function(rule,opts){var _a;var datatype=/^(?:datetime|timestamp)/i.test((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a.datatype)?\"datetime\":\"date\";var value=datatype===\"datetime\"?toISOString(rule.value):toISOStringDateOnly(rule.value);return defaultValueProcessorByRule(__spreadProps(__spreadValues({},rule),{value:value}),__spreadProps(__spreadValues({},opts),{wrapValueWith:[\"cast(\",\" as \".concat(datatype,\")\")]}));};};export var getDatetimeValueProcessorOracle=function getDatetimeValueProcessorOracle(_ref4){var toISOStringDateOnly=_ref4.toISOStringDateOnly,toISOString=_ref4.toISOString;return function(rule,opts){var _a;var datatype=/^timestamp/i.test((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a.datatype)?\"timestamp\":\"date\";var value=datatype===\"timestamp\"?toISOString(rule.value).replaceAll(\"T\",\" \").replace(\"Z\",\" UTC\"):toISOStringDateOnly(rule.value);return defaultValueProcessorByRule(__spreadProps(__spreadValues({},rule),{value:value}),__spreadProps(__spreadValues({},opts),{wrapValueWith:[datatype,\"\"]}));};};export var getDatetimeValueProcessorPostgreSQL=function getDatetimeValueProcessorPostgreSQL(_ref5){var toISOStringDateOnly=_ref5.toISOStringDateOnly,toISOString=_ref5.toISOString;return function(rule,opts){var _a;var datatype=/^timestamp/i.test((_a=opts==null?void 0:opts.fieldData)==null?void 0:_a.datatype)?\"timestamp\":\"date\";var value=datatype===\"timestamp\"?toISOString(rule.value):toISOStringDateOnly(rule.value);return defaultValueProcessorByRule(__spreadProps(__spreadValues({},rule),{value:value}),__spreadProps(__spreadValues({},opts),{wrapValueWith:[datatype,\"\"]}));};};var presetToValueProcessorMap={ansi:getDatetimeValueProcessorANSI,mssql:getDatetimeValueProcessorMSSQL,mysql:getDatetimeValueProcessorMySQL,oracle:getDatetimeValueProcessorOracle,postgresql:getDatetimeValueProcessorPostgreSQL,sqlite:getDatetimeValueProcessorANSI};export var getDatetimeRuleProcessorSQL=function getDatetimeRuleProcessorSQL(apiFns){return function(rule,options){var _a;var opts=options!=null?options:(/* istanbul ignore next */{});var operator=mapSQLOperator(rule.operator);var operatorLowerCase=lc(operator);var _opts$quoteFieldNames=opts.quoteFieldNamesWith,quoteFieldNamesWith=_opts$quoteFieldNames===void 0?[\"\",\"\"]:_opts$quoteFieldNames,_opts$fieldIdentifier=opts.fieldIdentifierSeparator,fieldIdentifierSeparator=_opts$fieldIdentifier===void 0?\"\":_opts$fieldIdentifier,_opts$context=opts.context,context=_opts$context===void 0?{}:_opts$context;var finalValue=\"\";if(rule.valueSource===\"field\"||!processIsDateField(context.isDateField,rule,opts)){return defaultRuleProcessorSQL(rule,opts);}var valueProcessor=presetToValueProcessorMap[opts.preset](apiFns);var valueAsArray=toArray(rule.value,{retainEmptyStrings:false});var valueAsDateArray=valueAsArray.map(function(v){return[v,apiFns.toDate(v)];}).filter(function(v){return apiFns.isValid(v[1]);});switch(operatorLowerCase){case\"in\":case\"not in\":{if(valueAsDateArray.length===0)return\"\";finalValue=\"(\".concat(valueAsDateArray.map(function(value){return valueProcessor({field:rule.field,operator:\"=\",value:value[1]},__spreadProps(__spreadValues({},opts),{context:{originalValue:value[0]}}));}).join(\", \"),\")\");}break;case\"between\":case\"not between\":{if(valueAsDateArray.length<2)return\"\";var _valueAsDateArray=_slicedToArray(valueAsDateArray,2),first=_valueAsDateArray[0],second=_valueAsDateArray[1];var orderedArray=apiFns.isBefore(first[1],second[1])?[first,second]:[second,first];finalValue=orderedArray.map(function(_ref6){var _ref7=_slicedToArray(_ref6,2),originalValue=_ref7[0],value=_ref7[1];return valueProcessor({field:rule.field,operator:\"=\",value:value},__spreadProps(__spreadValues({},opts),{context:{originalValue:originalValue}}));}).join(\" and \");}break;default:{var _ref8=(_a=valueAsDateArray[0])!=null?_a:[\"\",\"\"],_ref9=_slicedToArray(_ref8,2),originalValue=_ref9[0],value=_ref9[1];finalValue=valueProcessor({field:rule.field,operator:\"=\",value:value},__spreadProps(__spreadValues({},opts),{context:{originalValue:originalValue}}));}}return\"\".concat(getQuotedFieldName(rule.field,{quoteFieldNamesWith:quoteFieldNamesWith,fieldIdentifierSeparator:fieldIdentifierSeparator}),\" \").concat(operator,\" \").concat(finalValue).trim();};};"],"mappings":";AAAO,IAAI,iCAA+B,SAASA,gCAA+B,MAAK;AAAC,MAAI,UAAQ,KAAK,SAAQ,WAAS,KAAK,UAAS,SAAO,KAAK;AAAO,SAAM,EAAC,WAAU,SAAS,UAAU,GAAE,GAAE;AAAC,WAAO,QAAQ,GAAE,CAAC;AAAA,EAAE,GAAE,YAAW,SAAS,WAAW,GAAE,GAAE;AAAC,WAAO,SAAS,GAAE,CAAC;AAAA,EAAE,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AC,cAA2B,EAAC,CAAC,CAAC;AAAA,MAAE;AAAA,IAAC;AAAC,WAAM,GAAG,OAAOY,oBAAmB,KAAK,OAAM,EAAC,qBAAwC,yBAAiD,CAAC,GAAE,GAAG,EAAE,OAAO,UAAS,GAAG,EAAE,OAAO,UAAU,EAAE,KAAK;AAAA,EAAE;AAAE;","names":["getDatetimeJsonLogicOperations","o","r","isISOStringDateOnly","defaultIsDateField","processIsDateField","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_arrayLikeToArray","r","shouldNegate","getDatetimeRuleProcessorCEL","ts","toArray","_typeof","o","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_arrayLikeToArray","r","getDatetimeRuleProcessorMongoDBQuery","toArray","lc","toArray","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","r","F","e","_arrayLikeToArray","__defNormalProp","__spreadValues","__spreadProps","datetimeValueProcessorNL","getDatetimeRuleProcessorNL","lc","toArray","value","originalValue","getQuotedFieldName","lc","toArray","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","r","_createForOfIteratorHelper","F","e","_arrayLikeToArray","__defProp","__defProps","__getOwnPropDescs","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","__spreadValues","__spreadProps","getDatetimeValueProcessorANSI","getDatetimeValueProcessorMSSQL","getDatetimeValueProcessorMySQL","getDatetimeValueProcessorOracle","getDatetimeValueProcessorPostgreSQL","getDatetimeRuleProcessorSQL","lc","toArray","value","originalValue","getQuotedFieldName"]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { QueryBuilderContextProvider, ValueEditorProps } from "react-querybuilder";
|
|
3
|
-
export declare const DateTimeValueEditor: (props: ValueEditorProps) => React.JSX.Element;
|
|
4
|
-
export declare const QueryBuilderDateTime: QueryBuilderContextProvider;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
/**
|
|
3
|
-
* Date/time rule processor for use by {@link react-querybuilder!index.formatQuery formatQuery}
|
|
4
|
-
* with the "jsonlogic" format.
|
|
5
|
-
*
|
|
6
|
-
* Note: Unlike other date/time rule processors from this library, this function does
|
|
7
|
-
* not require a date/time library API. Instead, the date/time library API is used by
|
|
8
|
-
* {@link getDatetimeJsonLogicOperations} during the evaluation process.
|
|
9
|
-
*/
|
|
10
|
-
export declare const datetimeRuleProcessorJsonLogic: RuleProcessor;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { RQBDateTimeLibraryAPI, RQBJsonLogicDateTimeOperations } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Custom operations for use with JsonLogic objects generated by
|
|
4
|
-
* {@link datetimeRuleProcessorJsonLogic}.
|
|
5
|
-
*/
|
|
6
|
-
export declare const getDatetimeJsonLogicOperations: ({ isAfter, isBefore, isSame }: RQBDateTimeLibraryAPI) => RQBJsonLogicDateTimeOperations;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
import type { RQBDateTimeLibraryAPI } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Generates a rule processor with date/time features for use by
|
|
5
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} with the "cel" format.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getDatetimeRuleProcessorCEL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
import type { RQBDateTimeLibraryAPI } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Generates a rule processor with date/time features for use by
|
|
5
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} with the "jsonata" format.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getDatetimeRuleProcessorJSONata: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
import type { RQBDateTimeLibraryAPI } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Generates a rule processor with date/time features for use by
|
|
5
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} with the "mongodb_query" format.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getDatetimeRuleProcessorMongoDBQuery: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ExportOperatorMap, RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
|
|
2
|
-
import type { RQBDateTimeLibraryAPI } from "./types";
|
|
3
|
-
export declare const defaultDateTimeNLOperatorMap: ExportOperatorMap;
|
|
4
|
-
/**
|
|
5
|
-
* Generates a value processor with date/time features for use by
|
|
6
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} with the "natural_language" format.
|
|
7
|
-
*/
|
|
8
|
-
export declare const datetimeValueProcessorNL: ValueProcessorByRule;
|
|
9
|
-
/**
|
|
10
|
-
* Generates a rule processor with date/time features for use by {@link react-querybuilder!index.formatQuery formatQuery} with
|
|
11
|
-
* the "natural_language" format.
|
|
12
|
-
*/
|
|
13
|
-
export declare const getDatetimeRuleProcessorNL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
|
|
2
|
-
import type { RQBDateTimeLibraryAPI } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Generates a value processor with date/time features for use by
|
|
5
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} with the "sql" format and "ansi" preset.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getDatetimeValueProcessorANSI: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
|
|
8
|
-
/**
|
|
9
|
-
* Generates a value processor with date/time features for use by {@link react-querybuilder!index.formatQuery formatQuery} with
|
|
10
|
-
* the "sql" format and "mssql" preset.
|
|
11
|
-
*/
|
|
12
|
-
export declare const getDatetimeValueProcessorMSSQL: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
|
|
13
|
-
/**
|
|
14
|
-
* Generates a value processor with date/time features for use by {@link react-querybuilder!index.formatQuery formatQuery} with
|
|
15
|
-
* the "sql" format and "mysql" preset.
|
|
16
|
-
*/
|
|
17
|
-
export declare const getDatetimeValueProcessorMySQL: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
|
|
18
|
-
/**
|
|
19
|
-
* Generates a value processor with date/time features for use by {@link react-querybuilder!index.formatQuery formatQuery} with
|
|
20
|
-
* the "sql" format and "oracle" preset.
|
|
21
|
-
*/
|
|
22
|
-
export declare const getDatetimeValueProcessorOracle: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
|
|
23
|
-
/**
|
|
24
|
-
* Generates a value processor with date/time features for use by {@link react-querybuilder!index.formatQuery formatQuery} with
|
|
25
|
-
* the "sql" format and "postgresql" preset.
|
|
26
|
-
*/
|
|
27
|
-
export declare const getDatetimeValueProcessorPostgreSQL: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
|
|
28
|
-
/**
|
|
29
|
-
* Generates a rule processor with date/time features for use by {@link react-querybuilder!index.formatQuery formatQuery} with
|
|
30
|
-
* the "sql" format.
|
|
31
|
-
*/
|
|
32
|
-
export declare const getDatetimeRuleProcessorSQL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./datetimeRuleProcessorJsonLogic";
|
|
2
|
-
export * from "./getDatetimeJsonLogicOperations";
|
|
3
|
-
export * from "./getDatetimeRuleProcessorCEL";
|
|
4
|
-
export * from "./getDatetimeRuleProcessorJSONata";
|
|
5
|
-
export * from "./getDatetimeRuleProcessorMongoDBQuery";
|
|
6
|
-
export * from "./getDatetimeRuleProcessorNL";
|
|
7
|
-
export * from "./getDatetimeRuleProcessorSQL";
|
|
8
|
-
export * from "./types";
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Import from `"@react-querybuilder/datetime/date-fns"` for enhanced date/time support using [date-fns](https://date-fns.org/).
|
|
3
|
-
*
|
|
4
|
-
* @module date-fns
|
|
5
|
-
*/
|
|
6
|
-
import type { RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
|
|
7
|
-
import type { RQBJsonLogicDateTimeOperations } from "./types";
|
|
8
|
-
/**
|
|
9
|
-
* Custom JsonLogic date/time operations using date-fns
|
|
10
|
-
*/
|
|
11
|
-
export declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
|
|
12
|
-
/**
|
|
13
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "sql" format using date-fns
|
|
14
|
-
*/
|
|
15
|
-
export declare const datetimeRuleProcessorSQL: RuleProcessor;
|
|
16
|
-
/**
|
|
17
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using date-fns
|
|
18
|
-
*/
|
|
19
|
-
export declare const datetimeValueProcessorANSI: ValueProcessorByRule;
|
|
20
|
-
/**
|
|
21
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using date-fns
|
|
22
|
-
*/
|
|
23
|
-
export declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
|
|
24
|
-
/**
|
|
25
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using date-fns
|
|
26
|
-
*/
|
|
27
|
-
export declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
|
|
28
|
-
/**
|
|
29
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using date-fns
|
|
30
|
-
*/
|
|
31
|
-
export declare const datetimeValueProcessorOracle: ValueProcessorByRule;
|
|
32
|
-
/**
|
|
33
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using date-fns
|
|
34
|
-
*/
|
|
35
|
-
export declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
|
|
36
|
-
/**
|
|
37
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "cel" format using date-fns
|
|
38
|
-
*/
|
|
39
|
-
export declare const datetimeRuleProcessorCEL: ValueProcessorByRule;
|
|
40
|
-
/**
|
|
41
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "mongodb_query" format using date-fns
|
|
42
|
-
*/
|
|
43
|
-
export declare const datetimeRuleProcessorMongoDBQuery: ValueProcessorByRule;
|
|
44
|
-
/**
|
|
45
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "natural_language" format using date-fns
|
|
46
|
-
*/
|
|
47
|
-
export declare const datetimeRuleProcessorNL: ValueProcessorByRule;
|
|
48
|
-
export * from "./rqbDateTimeLibraryAPI.date-fns";
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Import from `"@react-querybuilder/datetime/dayjs"` for enhanced date/time support using [Day.js](https://day.js.org/).
|
|
3
|
-
*
|
|
4
|
-
* @module dayjs
|
|
5
|
-
*/
|
|
6
|
-
import type { RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
|
|
7
|
-
import type { RQBJsonLogicDateTimeOperations } from "./types";
|
|
8
|
-
/**
|
|
9
|
-
* Custom JsonLogic date/time operations using Day.js
|
|
10
|
-
*/
|
|
11
|
-
export declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
|
|
12
|
-
/**
|
|
13
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "sql" format using Day.js
|
|
14
|
-
*/
|
|
15
|
-
export declare const datetimeRuleProcessorSQL: RuleProcessor;
|
|
16
|
-
/**
|
|
17
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using Day.js
|
|
18
|
-
*/
|
|
19
|
-
export declare const datetimeValueProcessorANSI: ValueProcessorByRule;
|
|
20
|
-
/**
|
|
21
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using Day.js
|
|
22
|
-
*/
|
|
23
|
-
export declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
|
|
24
|
-
/**
|
|
25
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using Day.js
|
|
26
|
-
*/
|
|
27
|
-
export declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
|
|
28
|
-
/**
|
|
29
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using Day.js
|
|
30
|
-
*/
|
|
31
|
-
export declare const datetimeValueProcessorOracle: ValueProcessorByRule;
|
|
32
|
-
/**
|
|
33
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using Day.js
|
|
34
|
-
*/
|
|
35
|
-
export declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
|
|
36
|
-
/**
|
|
37
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "cel" format using Day.js
|
|
38
|
-
*/
|
|
39
|
-
export declare const datetimeRuleProcessorCEL: ValueProcessorByRule;
|
|
40
|
-
/**
|
|
41
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "mongodb_query" format using Day.js
|
|
42
|
-
*/
|
|
43
|
-
export declare const datetimeRuleProcessorMongoDBQuery: ValueProcessorByRule;
|
|
44
|
-
/**
|
|
45
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "natural_language" format using Day.js
|
|
46
|
-
*/
|
|
47
|
-
export declare const datetimeRuleProcessorNL: ValueProcessorByRule;
|
|
48
|
-
export * from "./rqbDateTimeLibraryAPI.dayjs";
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Import from `"@react-querybuilder/datetime/jsdate"` for enhanced date/time support using a custom JavaScript `Date`-based library.
|
|
3
|
-
*
|
|
4
|
-
* @module jsdate
|
|
5
|
-
*/
|
|
6
|
-
import type { RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
|
|
7
|
-
import type { RQBJsonLogicDateTimeOperations } from "./types";
|
|
8
|
-
/**
|
|
9
|
-
* Custom JsonLogic date/time operations using JavaScript `Date`.
|
|
10
|
-
*/
|
|
11
|
-
export declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
|
|
12
|
-
/**
|
|
13
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "sql" format using JavaScript `Date`
|
|
14
|
-
*/
|
|
15
|
-
export declare const datetimeRuleProcessorSQL: RuleProcessor;
|
|
16
|
-
/**
|
|
17
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using JavaScript `Date`
|
|
18
|
-
*/
|
|
19
|
-
export declare const datetimeValueProcessorANSI: ValueProcessorByRule;
|
|
20
|
-
/**
|
|
21
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using JavaScript `Date`
|
|
22
|
-
*/
|
|
23
|
-
export declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
|
|
24
|
-
/**
|
|
25
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using JavaScript `Date`
|
|
26
|
-
*/
|
|
27
|
-
export declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
|
|
28
|
-
/**
|
|
29
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using JavaScript `Date`
|
|
30
|
-
*/
|
|
31
|
-
export declare const datetimeValueProcessorOracle: ValueProcessorByRule;
|
|
32
|
-
/**
|
|
33
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using JavaScript `Date`
|
|
34
|
-
*/
|
|
35
|
-
export declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
|
|
36
|
-
/**
|
|
37
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "cel" format using JavaScript `Date`
|
|
38
|
-
*/
|
|
39
|
-
export declare const datetimeRuleProcessorCEL: RuleProcessor;
|
|
40
|
-
/**
|
|
41
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "mongodb_query" format using JavaScript `Date`
|
|
42
|
-
*/
|
|
43
|
-
export declare const datetimeRuleProcessorMongoDBQuery: RuleProcessor;
|
|
44
|
-
/**
|
|
45
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "natural_language" format using JavaScript `Date`
|
|
46
|
-
*/
|
|
47
|
-
export declare const datetimeRuleProcessorNL: ValueProcessorByRule;
|
|
48
|
-
export * from "./rqbDateTimeLibraryAPI.jsdate";
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Import from `"@react-querybuilder/datetime/luxon"` for enhanced date/time support using [Luxon](https://moment.github.io/luxon/).
|
|
3
|
-
*
|
|
4
|
-
* @module luxon
|
|
5
|
-
*/
|
|
6
|
-
import type { RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
|
|
7
|
-
import type { RQBJsonLogicDateTimeOperations } from "./types";
|
|
8
|
-
/**
|
|
9
|
-
* Custom JsonLogic date/time operations using Luxon
|
|
10
|
-
*/
|
|
11
|
-
export declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
|
|
12
|
-
/**
|
|
13
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "sql" format using Luxon
|
|
14
|
-
*/
|
|
15
|
-
export declare const datetimeRuleProcessorSQL: RuleProcessor;
|
|
16
|
-
/**
|
|
17
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using Luxon
|
|
18
|
-
*/
|
|
19
|
-
export declare const datetimeValueProcessorANSI: ValueProcessorByRule;
|
|
20
|
-
/**
|
|
21
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using Luxon
|
|
22
|
-
*/
|
|
23
|
-
export declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
|
|
24
|
-
/**
|
|
25
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using Luxon
|
|
26
|
-
*/
|
|
27
|
-
export declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
|
|
28
|
-
/**
|
|
29
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using Luxon
|
|
30
|
-
*/
|
|
31
|
-
export declare const datetimeValueProcessorOracle: ValueProcessorByRule;
|
|
32
|
-
/**
|
|
33
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using Luxon
|
|
34
|
-
*/
|
|
35
|
-
export declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
|
|
36
|
-
/**
|
|
37
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "cel" format using Luxon
|
|
38
|
-
*/
|
|
39
|
-
export declare const datetimeRuleProcessorCEL: ValueProcessorByRule;
|
|
40
|
-
/**
|
|
41
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "mongodb_query" format using Luxon
|
|
42
|
-
*/
|
|
43
|
-
export declare const datetimeRuleProcessorMongoDBQuery: ValueProcessorByRule;
|
|
44
|
-
/**
|
|
45
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} rule processor for "natural_language" format using Luxon
|
|
46
|
-
*/
|
|
47
|
-
export declare const datetimeRuleProcessorNL: ValueProcessorByRule;
|
|
48
|
-
export * from "./rqbDateTimeLibraryAPI.luxon";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RQBDateTimeLibraryAPI } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* {@link RQBDateTimeLibraryAPI} for JavaScript `Date`
|
|
4
|
-
*
|
|
5
|
-
* @deprecated This API will not be removed, but we recommend using one of the other
|
|
6
|
-
* {@link RQBDateTimeLibraryAPI}s based on a popular library instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare const rqbDateTimeLibraryAPI: RQBDateTimeLibraryAPI;
|
package/dist/types/types.d.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import type { RulesLogic } from "json-logic-js";
|
|
2
|
-
import type { RQBJsonLogic, RuleProcessor } from "react-querybuilder";
|
|
3
|
-
export interface RQBJsonLogicDateBetween {
|
|
4
|
-
dateBetween: [RQBJsonLogic, RQBJsonLogic, RQBJsonLogic];
|
|
5
|
-
}
|
|
6
|
-
export interface RQBJsonLogicDateNotBetween {
|
|
7
|
-
dateNotBetween: [RQBJsonLogic, RQBJsonLogic, RQBJsonLogic];
|
|
8
|
-
}
|
|
9
|
-
export interface RQBJsonLogicDateIn {
|
|
10
|
-
dateIn: [RQBJsonLogic, RQBJsonLogic[]];
|
|
11
|
-
}
|
|
12
|
-
export interface RQBJsonLogicDateNotIn {
|
|
13
|
-
dateNotIn: [RQBJsonLogic, RQBJsonLogic[]];
|
|
14
|
-
}
|
|
15
|
-
export interface RQBJsonLogicDateBefore {
|
|
16
|
-
dateBefore: [RQBJsonLogic, RQBJsonLogic, ...RQBJsonLogic[]];
|
|
17
|
-
}
|
|
18
|
-
export interface RQBJsonLogicDateOnOrBefore {
|
|
19
|
-
dateOnOrBefore: [RQBJsonLogic, RQBJsonLogic, ...RQBJsonLogic[]];
|
|
20
|
-
}
|
|
21
|
-
export interface RQBJsonLogicDateOn {
|
|
22
|
-
dateOn: [RQBJsonLogic, RQBJsonLogic, ...RQBJsonLogic[]];
|
|
23
|
-
}
|
|
24
|
-
export interface RQBJsonLogicDateNotOn {
|
|
25
|
-
dateNotOn: [RQBJsonLogic, RQBJsonLogic, ...RQBJsonLogic[]];
|
|
26
|
-
}
|
|
27
|
-
export interface RQBJsonLogicDateAfter {
|
|
28
|
-
dateAfter: [RQBJsonLogic, RQBJsonLogic, ...RQBJsonLogic[]];
|
|
29
|
-
}
|
|
30
|
-
export interface RQBJsonLogicDateOnOrAfter {
|
|
31
|
-
dateOnOrAfter: [RQBJsonLogic, RQBJsonLogic, ...RQBJsonLogic[]];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* JsonLogic rule object with additional operators generated by
|
|
35
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} and accepted by
|
|
36
|
-
* {@link react-querybuilder!parseJsonLogic.parseJsonLogic parseJsonLogic}.
|
|
37
|
-
*/
|
|
38
|
-
export type RQBDateTimeJsonLogic = RQBJsonLogic | RulesLogic<RQBJsonLogicDateAfter | RQBJsonLogicDateBefore | RQBJsonLogicDateBetween | RQBJsonLogicDateIn | RQBJsonLogicDateNotBetween | RQBJsonLogicDateNotIn | RQBJsonLogicDateNotOn | RQBJsonLogicDateOn | RQBJsonLogicDateOnOrAfter | RQBJsonLogicDateOnOrBefore>;
|
|
39
|
-
type DateOrString = string | Date;
|
|
40
|
-
export interface RQBDateTimeLibraryAPI {
|
|
41
|
-
/**
|
|
42
|
-
* Formats a date as a string.
|
|
43
|
-
*/
|
|
44
|
-
format: (d: DateOrString, fmt: string) => string;
|
|
45
|
-
/**
|
|
46
|
-
* Formats a date as an ISO 8601 string, only including
|
|
47
|
-
* the year, month, and day ('YYYY-MM-DD').
|
|
48
|
-
*/
|
|
49
|
-
toISOStringDateOnly: (d: DateOrString) => string;
|
|
50
|
-
/**
|
|
51
|
-
* Determines whether the first date is after the second date.
|
|
52
|
-
*/
|
|
53
|
-
isAfter: (a: DateOrString, b: DateOrString) => boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Determines whether the first date is before the second date.
|
|
56
|
-
*/
|
|
57
|
-
isBefore: (a: DateOrString, b: DateOrString) => boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Determines whether the first date is the same as the second date.
|
|
60
|
-
*
|
|
61
|
-
* If either the first date or the second date is a string in the
|
|
62
|
-
* format 'YYYY-MM-DD', then the dates will only be compared at
|
|
63
|
-
* the date level (no time component). Otherwise, they will be
|
|
64
|
-
* compared to the millisecond.
|
|
65
|
-
*/
|
|
66
|
-
isSame: (a: DateOrString, b: DateOrString) => boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Determines whether the date is either a valid `Date` object or an
|
|
69
|
-
* ISO 8601-formatted string representing a valid date.
|
|
70
|
-
*/
|
|
71
|
-
isValid: (d: DateOrString) => boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Converts a string to a `Date` object or returns a valid `Date` as is.
|
|
74
|
-
*/
|
|
75
|
-
toDate: (d: DateOrString) => Date;
|
|
76
|
-
/**
|
|
77
|
-
* Converts a `Date` or ISO 8601-formatted string into a full ISO 8601 UTC
|
|
78
|
-
* string, in the format 'YYYY-MM-DDTHH:mm:ss.SSSZ' (the "T" and "Z" are
|
|
79
|
-
* static; other parts represent standard time units, increasing in precision
|
|
80
|
-
* from left to right).
|
|
81
|
-
*/
|
|
82
|
-
toISOString: (d: DateOrString) => string;
|
|
83
|
-
}
|
|
84
|
-
type FnDateDate = (a: DateOrString, b: DateOrString) => boolean;
|
|
85
|
-
type FnDateArrayOfDates = (a: DateOrString, b: DateOrString[]) => boolean;
|
|
86
|
-
type FnDateDateDate = (a: DateOrString, b: DateOrString, c: DateOrString) => boolean;
|
|
87
|
-
export type RQBJsonLogicDateTimeOperations = {
|
|
88
|
-
/** Determines if the first date is after the second date. */
|
|
89
|
-
dateAfter: FnDateDate;
|
|
90
|
-
/** Determines if the first date is before the second date. */
|
|
91
|
-
dateBefore: FnDateDate;
|
|
92
|
-
/** Determines if the second date is between the first and third dates (inclusive). */
|
|
93
|
-
dateBetween: FnDateDateDate;
|
|
94
|
-
/** Determines if the first date is one of the values in the array of dates. */
|
|
95
|
-
dateIn: FnDateArrayOfDates;
|
|
96
|
-
/** Determines if the second date is not between the first and third dates. */
|
|
97
|
-
dateNotBetween: FnDateDateDate;
|
|
98
|
-
/** Determines if the first date is not one of the values in the array of dates. */
|
|
99
|
-
dateNotIn: FnDateArrayOfDates;
|
|
100
|
-
/** Determines if the first date is not the same as the second date. */
|
|
101
|
-
dateNotOn: FnDateDate;
|
|
102
|
-
/** Determines if the first date is the same as the second date (at the level of least precision between the two). */
|
|
103
|
-
dateOn: FnDateDate;
|
|
104
|
-
/** Determines if the first date is either the same as the second date or after it. */
|
|
105
|
-
dateOnOrAfter: FnDateDate;
|
|
106
|
-
/** Determines if the first date is either the same as the second date or before it. */
|
|
107
|
-
dateOnOrBefore: FnDateDate;
|
|
108
|
-
};
|
|
109
|
-
export type IsDateFieldFunction = (...[rule, opts]: Parameters<RuleProcessor>) => boolean;
|
|
110
|
-
export type IsDateField = IsDateFieldFunction | Record<string, unknown> | Record<string, unknown>[] | boolean | undefined;
|
|
111
|
-
export {};
|
package/dist/types/utils.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
import type { IsDateField, IsDateFieldFunction } from "./types";
|
|
3
|
-
export declare const isISOStringDateOnly: (date: unknown) => date is `${number}${number}${number}${number}-${number}${number}-${number}${number}`;
|
|
4
|
-
export declare const defaultIsDateField: IsDateFieldFunction;
|
|
5
|
-
export declare const processIsDateField: (isDateField: IsDateField, ...[rule, opts]: Parameters<RuleProcessor>) => boolean;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { QueryBuilderContextProvider, ValueEditorProps } from "react-querybuilder";
|
|
3
|
-
export declare const DateTimeValueEditor: (props: ValueEditorProps) => React.JSX.Element;
|
|
4
|
-
export declare const QueryBuilderDateTime: QueryBuilderContextProvider;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
/**
|
|
3
|
-
* Date/time rule processor for use by {@link react-querybuilder!index.formatQuery formatQuery}
|
|
4
|
-
* with the "jsonlogic" format.
|
|
5
|
-
*
|
|
6
|
-
* Note: Unlike other date/time rule processors from this library, this function does
|
|
7
|
-
* not require a date/time library API. Instead, the date/time library API is used by
|
|
8
|
-
* {@link getDatetimeJsonLogicOperations} during the evaluation process.
|
|
9
|
-
*/
|
|
10
|
-
export declare const datetimeRuleProcessorJsonLogic: RuleProcessor;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { RQBDateTimeLibraryAPI, RQBJsonLogicDateTimeOperations } from "./types.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* Custom operations for use with JsonLogic objects generated by
|
|
4
|
-
* {@link datetimeRuleProcessorJsonLogic}.
|
|
5
|
-
*/
|
|
6
|
-
export declare const getDatetimeJsonLogicOperations: ({ isAfter, isBefore, isSame }: RQBDateTimeLibraryAPI) => RQBJsonLogicDateTimeOperations;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { RuleProcessor } from "react-querybuilder";
|
|
2
|
-
import type { RQBDateTimeLibraryAPI } from "./types.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Generates a rule processor with date/time features for use by
|
|
5
|
-
* {@link react-querybuilder!index.formatQuery formatQuery} with the "cel" format.
|
|
6
|
-
*/
|
|
7
|
-
export declare const getDatetimeRuleProcessorCEL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
|