@react-querybuilder/datetime 8.8.4 → 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 +12 -11
- 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 +12 -11
- package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.development.js +5 -4
- 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 +10 -10
- 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 +12 -11
- 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 -1
- 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 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.js.map +1 -1
- package/dist/cjs/react-querybuilder_datetime.cjs.production.js +1 -1
- 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 -1
- 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 -1
- 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-CutYTD23.js → getDatetimeRuleProcessorSQL-CN80oEFK.js} +23 -29
- package/dist/getDatetimeRuleProcessorSQL-CN80oEFK.js.map +1 -0
- package/dist/{getDatetimeRuleProcessorSQL-CocyaiI5.mjs → getDatetimeRuleProcessorSQL-KYRPP9qd.mjs} +17 -23
- 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 +10 -10
- 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 +10 -10
- 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 +10 -10
- 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 +10 -10
- 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 +10 -10
- package/dist/react-querybuilder_datetime.legacy-esm.dayjs.js.map +1 -1
- package/dist/react-querybuilder_datetime.legacy-esm.js +4 -4
- 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 +11 -11
- 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 +10 -10
- 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 +10 -10
- package/dist/react-querybuilder_datetime.luxon.mjs.map +1 -1
- package/dist/react-querybuilder_datetime.mjs +3 -3
- 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 -1
- 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 -1
- 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 +23 -23
- package/dist/cjs/getDatetimeRuleProcessorSQL-npwUe9aM.js +0 -2
- package/dist/cjs/getDatetimeRuleProcessorSQL-npwUe9aM.js.map +0 -1
- package/dist/getDatetimeRuleProcessorSQL-CocyaiI5.mjs.map +0 -1
- package/dist/getDatetimeRuleProcessorSQL-CutYTD23.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,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;
|
|
@@ -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 "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.mjs";
|
|
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.mjs";
|
|
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.mjs";
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./datetimeRuleProcessorJsonLogic.mjs";
|
|
2
|
-
export * from "./getDatetimeJsonLogicOperations.mjs";
|
|
3
|
-
export * from "./getDatetimeRuleProcessorCEL.mjs";
|
|
4
|
-
export * from "./getDatetimeRuleProcessorJSONata.mjs";
|
|
5
|
-
export * from "./getDatetimeRuleProcessorMongoDBQuery.mjs";
|
|
6
|
-
export * from "./getDatetimeRuleProcessorNL.mjs";
|
|
7
|
-
export * from "./getDatetimeRuleProcessorSQL.mjs";
|
|
8
|
-
export * from "./types.mjs";
|
|
@@ -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.mjs";
|
|
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.mjs";
|
|
@@ -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.mjs";
|
|
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.mjs";
|
|
@@ -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.mjs";
|
|
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.mjs";
|
|
@@ -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.mjs";
|
|
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.mjs";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RQBDateTimeLibraryAPI } from "./types.mjs";
|
|
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;
|