@react-querybuilder/datetime 8.20.1 → 8.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +9 -3
  2. package/dist/cjs/{getDatetimeRuleProcessorTanStackDB-CL79A1_x.js → getDatetimeRuleProcessorTanStackDB-CDEB9coD.js} +88 -218
  3. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-CDEB9coD.js.map +1 -0
  4. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-X6tZv7yV.js +2 -0
  5. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-X6tZv7yV.js.map +1 -0
  6. package/dist/cjs/react-querybuilder_datetime.cjs.development.d.ts +124 -260
  7. package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.d.ts +50 -51
  8. package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.js +3 -2
  9. package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.js.map +1 -1
  10. package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.d.ts +50 -51
  11. package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.js +53 -26
  12. package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.js.map +1 -1
  13. package/dist/cjs/react-querybuilder_datetime.cjs.development.js +11 -467
  14. package/dist/cjs/react-querybuilder_datetime.cjs.development.js.map +1 -1
  15. package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.d.ts +53 -54
  16. package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.js +26 -144
  17. package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.js.map +1 -1
  18. package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.d.ts +50 -51
  19. package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.js +3 -2
  20. package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.js.map +1 -1
  21. package/dist/cjs/react-querybuilder_datetime.cjs.development.ui.d.ts +214 -0
  22. package/dist/cjs/react-querybuilder_datetime.cjs.development.ui.js +466 -0
  23. package/dist/cjs/react-querybuilder_datetime.cjs.development.ui.js.map +1 -0
  24. package/dist/cjs/react-querybuilder_datetime.cjs.production.d.ts +124 -260
  25. package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.d.ts +50 -51
  26. package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.js +1 -1
  27. package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.js.map +1 -1
  28. package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.d.ts +50 -51
  29. package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.js +1 -1
  30. package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.js.map +1 -1
  31. package/dist/cjs/react-querybuilder_datetime.cjs.production.js +1 -1
  32. package/dist/cjs/react-querybuilder_datetime.cjs.production.js.map +1 -1
  33. package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.d.ts +53 -54
  34. package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.js +1 -1
  35. package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.js.map +1 -1
  36. package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.d.ts +50 -51
  37. package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.js +1 -1
  38. package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.js.map +1 -1
  39. package/dist/cjs/react-querybuilder_datetime.cjs.production.ui.d.ts +214 -0
  40. package/dist/cjs/react-querybuilder_datetime.cjs.production.ui.js +2 -0
  41. package/dist/cjs/react-querybuilder_datetime.cjs.production.ui.js.map +1 -0
  42. package/dist/cjs/rolldown-runtime-CMqjfN_6.js +1 -0
  43. package/dist/cjs/rolldown-runtime-D6vf50IK.js +28 -0
  44. package/dist/cjs/rqbDateTimeLibraryAPI.jsdate-BuSiVdk7.js +2 -0
  45. package/dist/cjs/rqbDateTimeLibraryAPI.jsdate-BuSiVdk7.js.map +1 -0
  46. package/dist/cjs/rqbDateTimeLibraryAPI.jsdate-C3jJb6ip.js +128 -0
  47. package/dist/cjs/rqbDateTimeLibraryAPI.jsdate-C3jJb6ip.js.map +1 -0
  48. package/dist/cjs/types-BKA1aoY6.d.ts +174 -0
  49. package/dist/cjs/ui.d.ts +1 -0
  50. package/dist/cjs/ui.js +6 -0
  51. package/dist/cjs/utils-DdBYGWHZ.js +2 -0
  52. package/dist/cjs/utils-DdBYGWHZ.js.map +1 -0
  53. package/dist/cjs/utils-_X97pUtk.js +166 -0
  54. package/dist/cjs/utils-_X97pUtk.js.map +1 -0
  55. package/dist/getDatetimeRuleProcessorTanStackDB-6K1DsuEV.mjs +2 -0
  56. package/dist/getDatetimeRuleProcessorTanStackDB-6K1DsuEV.mjs.map +1 -0
  57. package/dist/{getDatetimeRuleProcessorTanStackDB-BL8mbdbl.js → getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js} +24 -198
  58. package/dist/getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js.map +1 -0
  59. package/dist/{getDatetimeRuleProcessorTanStackDB-BcOC-o2A.mjs → getDatetimeRuleProcessorTanStackDB-DR8aYrUa.mjs} +24 -124
  60. package/dist/getDatetimeRuleProcessorTanStackDB-DR8aYrUa.mjs.map +1 -0
  61. package/dist/objectSpread2-MqoZ2hSz.js +187 -0
  62. package/dist/objectSpread2-MqoZ2hSz.js.map +1 -0
  63. package/dist/react-querybuilder_datetime.d.mts +124 -260
  64. package/dist/react-querybuilder_datetime.date-fns.d.mts +50 -51
  65. package/dist/react-querybuilder_datetime.date-fns.mjs +2 -1
  66. package/dist/react-querybuilder_datetime.date-fns.mjs.map +1 -1
  67. package/dist/react-querybuilder_datetime.dayjs.d.mts +50 -51
  68. package/dist/react-querybuilder_datetime.dayjs.mjs +27 -2
  69. package/dist/react-querybuilder_datetime.dayjs.mjs.map +1 -1
  70. package/dist/react-querybuilder_datetime.jsdate.d.mts +53 -54
  71. package/dist/react-querybuilder_datetime.jsdate.mjs +2 -120
  72. package/dist/react-querybuilder_datetime.jsdate.mjs.map +1 -1
  73. package/dist/react-querybuilder_datetime.legacy-esm.d.ts +124 -260
  74. package/dist/react-querybuilder_datetime.legacy-esm.date-fns.d.ts +50 -51
  75. package/dist/react-querybuilder_datetime.legacy-esm.date-fns.js +2 -1
  76. package/dist/react-querybuilder_datetime.legacy-esm.date-fns.js.map +1 -1
  77. package/dist/react-querybuilder_datetime.legacy-esm.dayjs.d.ts +50 -51
  78. package/dist/react-querybuilder_datetime.legacy-esm.dayjs.js +27 -2
  79. package/dist/react-querybuilder_datetime.legacy-esm.dayjs.js.map +1 -1
  80. package/dist/react-querybuilder_datetime.legacy-esm.js +5 -449
  81. package/dist/react-querybuilder_datetime.legacy-esm.js.map +1 -1
  82. package/dist/react-querybuilder_datetime.legacy-esm.jsdate.d.ts +53 -54
  83. package/dist/react-querybuilder_datetime.legacy-esm.jsdate.js +2 -120
  84. package/dist/react-querybuilder_datetime.legacy-esm.jsdate.js.map +1 -1
  85. package/dist/react-querybuilder_datetime.legacy-esm.luxon.d.ts +50 -51
  86. package/dist/react-querybuilder_datetime.legacy-esm.luxon.js +2 -1
  87. package/dist/react-querybuilder_datetime.legacy-esm.luxon.js.map +1 -1
  88. package/dist/react-querybuilder_datetime.legacy-esm.ui.d.ts +214 -0
  89. package/dist/react-querybuilder_datetime.legacy-esm.ui.js +453 -0
  90. package/dist/react-querybuilder_datetime.legacy-esm.ui.js.map +1 -0
  91. package/dist/react-querybuilder_datetime.luxon.d.mts +50 -51
  92. package/dist/react-querybuilder_datetime.luxon.mjs +2 -1
  93. package/dist/react-querybuilder_datetime.luxon.mjs.map +1 -1
  94. package/dist/react-querybuilder_datetime.mjs +5 -446
  95. package/dist/react-querybuilder_datetime.mjs.map +1 -1
  96. package/dist/react-querybuilder_datetime.production.d.mts +124 -260
  97. package/dist/react-querybuilder_datetime.production.date-fns.d.mts +50 -51
  98. package/dist/react-querybuilder_datetime.production.date-fns.mjs +1 -1
  99. package/dist/react-querybuilder_datetime.production.date-fns.mjs.map +1 -1
  100. package/dist/react-querybuilder_datetime.production.dayjs.d.mts +50 -51
  101. package/dist/react-querybuilder_datetime.production.dayjs.mjs +1 -1
  102. package/dist/react-querybuilder_datetime.production.dayjs.mjs.map +1 -1
  103. package/dist/react-querybuilder_datetime.production.jsdate.d.mts +53 -54
  104. package/dist/react-querybuilder_datetime.production.jsdate.mjs +1 -1
  105. package/dist/react-querybuilder_datetime.production.jsdate.mjs.map +1 -1
  106. package/dist/react-querybuilder_datetime.production.luxon.d.mts +50 -51
  107. package/dist/react-querybuilder_datetime.production.luxon.mjs +1 -1
  108. package/dist/react-querybuilder_datetime.production.luxon.mjs.map +1 -1
  109. package/dist/react-querybuilder_datetime.production.mjs +1 -1
  110. package/dist/react-querybuilder_datetime.production.mjs.map +1 -1
  111. package/dist/react-querybuilder_datetime.production.ui.d.mts +214 -0
  112. package/dist/react-querybuilder_datetime.production.ui.mjs +2 -0
  113. package/dist/react-querybuilder_datetime.production.ui.mjs.map +1 -0
  114. package/dist/react-querybuilder_datetime.ui.d.mts +214 -0
  115. package/dist/react-querybuilder_datetime.ui.mjs +450 -0
  116. package/dist/react-querybuilder_datetime.ui.mjs.map +1 -0
  117. package/dist/rqbDateTimeLibraryAPI.jsdate-COp9qTw_.js +123 -0
  118. package/dist/rqbDateTimeLibraryAPI.jsdate-COp9qTw_.js.map +1 -0
  119. package/dist/rqbDateTimeLibraryAPI.jsdate-DxBmxW2C.mjs +2 -0
  120. package/dist/rqbDateTimeLibraryAPI.jsdate-DxBmxW2C.mjs.map +1 -0
  121. package/dist/rqbDateTimeLibraryAPI.jsdate-WHnzblie.mjs +123 -0
  122. package/dist/rqbDateTimeLibraryAPI.jsdate-WHnzblie.mjs.map +1 -0
  123. package/dist/types-BKA1aoY6.d.mts +174 -0
  124. package/dist/types-BKA1aoY6.d.ts +174 -0
  125. package/dist/utils-BAgUBdyf.mjs +113 -0
  126. package/dist/utils-BAgUBdyf.mjs.map +1 -0
  127. package/dist/utils-DA8aluCt.mjs +2 -0
  128. package/dist/utils-DA8aluCt.mjs.map +1 -0
  129. package/package.json +36 -17
  130. package/ui/package.json +4 -0
  131. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-CL79A1_x.js.map +0 -1
  132. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-DgUg_arY.js +0 -2
  133. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-DgUg_arY.js.map +0 -1
  134. package/dist/cjs/rqbDateTimeLibraryAPI.dayjs-BfILPx88.js +0 -2
  135. package/dist/cjs/rqbDateTimeLibraryAPI.dayjs-BfILPx88.js.map +0 -1
  136. package/dist/cjs/rqbDateTimeLibraryAPI.dayjs-CzLh_zi9.js +0 -63
  137. package/dist/cjs/rqbDateTimeLibraryAPI.dayjs-CzLh_zi9.js.map +0 -1
  138. package/dist/cjs/types-XYMw0jFT.d.ts +0 -265
  139. package/dist/getDatetimeRuleProcessorTanStackDB-BL8mbdbl.js.map +0 -1
  140. package/dist/getDatetimeRuleProcessorTanStackDB-BcOC-o2A.mjs.map +0 -1
  141. package/dist/getDatetimeRuleProcessorTanStackDB-Dloxv6k2.mjs +0 -2
  142. package/dist/getDatetimeRuleProcessorTanStackDB-Dloxv6k2.mjs.map +0 -1
  143. package/dist/rqbDateTimeLibraryAPI.dayjs-BW7faYFD.mjs +0 -29
  144. package/dist/rqbDateTimeLibraryAPI.dayjs-BW7faYFD.mjs.map +0 -1
  145. package/dist/rqbDateTimeLibraryAPI.dayjs-BoX90aqZ.mjs +0 -2
  146. package/dist/rqbDateTimeLibraryAPI.dayjs-BoX90aqZ.mjs.map +0 -1
  147. package/dist/rqbDateTimeLibraryAPI.dayjs-Da4VXvFM.js +0 -29
  148. package/dist/rqbDateTimeLibraryAPI.dayjs-Da4VXvFM.js.map +0 -1
  149. package/dist/types-CdjHqQ0k.d.mts +0 -265
  150. package/dist/types-CdjHqQ0k.d.ts +0 -265
@@ -1,340 +1,204 @@
1
- import { C as RelativeDateTimeUnit, S as RelativeDateTimeTruncationUnit, T as RelativeOperatorMap, _ as RelativeDateTimeAnchor, a as RQBJsonLogicDateAfter, b as RelativeDateTimeModeController, c as RQBJsonLogicDateIn, d as RQBJsonLogicDateNotOn, f as RQBJsonLogicDateOn, g as RQBJsonLogicDateTimeOperations, h as RQBJsonLogicDateRelative, i as RQBDateTimeLibraryAPI, l as RQBJsonLogicDateNotBetween, m as RQBJsonLogicDateOnOrBefore, n as IsDateFieldFunction, o as RQBJsonLogicDateBefore, p as RQBJsonLogicDateOnOrAfter, r as RQBDateTimeJsonLogic, s as RQBJsonLogicDateBetween, t as IsDateField, u as RQBJsonLogicDateNotIn, v as RelativeDateTimeEditorConfig, w as RelativeDateTimeValue, x as RelativeDateTimeToggleLabels, y as RelativeDateTimeModeControlProps } from "./types-XYMw0jFT.js";
2
- import { ExportOperatorMap, FullOperator, FullOption, QueryBuilderContextProvider, RuleProcessor, ValueEditorProps, ValueProcessorByRule } from "react-querybuilder";
3
- import * as React from "react";
4
-
1
+ import { _ as RelativeDateTimeAnchor, a as RQBJsonLogicDateAfter, b as RelativeDateTimeValue, c as RQBJsonLogicDateIn, d as RQBJsonLogicDateNotOn, f as RQBJsonLogicDateOn, g as RQBJsonLogicDateTimeOperations, h as RQBJsonLogicDateRelative, i as RQBDateTimeLibraryAPI, l as RQBJsonLogicDateNotBetween, m as RQBJsonLogicDateOnOrBefore, n as IsDateFieldFunction, o as RQBJsonLogicDateBefore, p as RQBJsonLogicDateOnOrAfter, r as RQBDateTimeJsonLogic, s as RQBJsonLogicDateBetween, t as IsDateField, u as RQBJsonLogicDateNotIn, v as RelativeDateTimeTruncationUnit, y as RelativeDateTimeUnit } from "./types-BKA1aoY6.js";
2
+ import { ExportOperatorMap, RuleProcessor, ValueProcessorByRule } from "@react-querybuilder/core";
5
3
  //#region src/datetimeRuleProcessorJsonLogic.d.ts
6
4
  /**
7
- * Date/time rule processor for use by {@link @react-querybuilder/core!formatQuery formatQuery}
8
- * with the "jsonlogic" format.
9
- *
10
- * Note: Unlike other date/time rule processors from this library, this function does
11
- * not require a date/time library API. Instead, the date/time library API is used by
12
- * {@link getDatetimeJsonLogicOperations} during the evaluation process.
13
- */
5
+ * Date/time rule processor for use by {@link @react-querybuilder/core!formatQuery formatQuery}
6
+ * with the "jsonlogic" format.
7
+ *
8
+ * Note: Unlike other date/time rule processors from this library, this function does
9
+ * not require a date/time library API. Instead, the date/time library API is used by
10
+ * {@link getDatetimeJsonLogicOperations} during the evaluation process.
11
+ */
14
12
  declare const datetimeRuleProcessorJsonLogic: RuleProcessor;
15
13
  //#endregion
16
14
  //#region src/getDatetimeJsonLogicOperations.d.ts
17
15
  /**
18
- * Custom operations for use with JsonLogic objects generated by
19
- * {@link datetimeRuleProcessorJsonLogic}.
20
- */
16
+ * Custom operations for use with JsonLogic objects generated by
17
+ * {@link datetimeRuleProcessorJsonLogic}.
18
+ */
21
19
  declare const getDatetimeJsonLogicOperations: (apiFns: RQBDateTimeLibraryAPI) => RQBJsonLogicDateTimeOperations;
22
20
  //#endregion
23
21
  //#region src/getDatetimeRuleProcessorCEL.d.ts
24
22
  /**
25
- * Generates a rule processor with date/time features for use by
26
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "cel" format.
27
- */
23
+ * Generates a rule processor with date/time features for use by
24
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "cel" format.
25
+ */
28
26
  declare const getDatetimeRuleProcessorCEL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
29
27
  //#endregion
30
28
  //#region src/getDatetimeRuleProcessorCypher.d.ts
31
29
  /**
32
- * Generates a rule processor with date/time features for use by
33
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "cypher" or "gql" format.
34
- *
35
- * Supports:
36
- * - Standard comparison operators (`=`, `!=`, `<`, `>`, `<=`, `>=`)
37
- * - Range operators (between, notBetween, in, notIn)
38
- * - Duration math via custom operators: `olderThanDuration` and `withinDuration`
39
- * (e.g., value `"P30D"` → `datetime() - field > duration('P30D')`)
40
- */
30
+ * Generates a rule processor with date/time features for use by
31
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "cypher" or "gql" format.
32
+ *
33
+ * Supports:
34
+ * - Standard comparison operators (`=`, `!=`, `<`, `>`, `<=`, `>=`)
35
+ * - Range operators (between, notBetween, in, notIn)
36
+ * - Duration math via custom operators: `olderThanDuration` and `withinDuration`
37
+ * (e.g., value `"P30D"` → `datetime() - field > duration('P30D')`)
38
+ */
41
39
  declare const getDatetimeRuleProcessorCypher: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
42
40
  //#endregion
43
41
  //#region src/getDatetimeRuleProcessorDrizzle.d.ts
44
42
  /**
45
- * Generates a rule processor with date/time features for use by
46
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "drizzle" format.
47
- * Relative values are materialized and all date/time values are converted to `Date`
48
- * objects (Drizzle column operators compare against native `Date` values).
49
- */
43
+ * Generates a rule processor with date/time features for use by
44
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "drizzle" format.
45
+ * Relative values are materialized and all date/time values are converted to `Date`
46
+ * objects (Drizzle column operators compare against native `Date` values).
47
+ */
50
48
  declare const getDatetimeRuleProcessorDrizzle: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
51
49
  //#endregion
52
50
  //#region src/getDatetimeRuleProcessorElasticSearch.d.ts
53
51
  /**
54
- * Generates a rule processor with date/time features for use by
55
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "elasticsearch" format.
56
- * Relative values are materialized to concrete ISO 8601 strings (ElasticSearch has no
57
- * symbolic relative form); absolute values pass through.
58
- */
52
+ * Generates a rule processor with date/time features for use by
53
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "elasticsearch" format.
54
+ * Relative values are materialized to concrete ISO 8601 strings (ElasticSearch has no
55
+ * symbolic relative form); absolute values pass through.
56
+ */
59
57
  declare const getDatetimeRuleProcessorElasticSearch: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
60
58
  //#endregion
61
59
  //#region src/getDatetimeRuleProcessorGremlin.d.ts
62
60
  /**
63
- * Generates a rule processor with date/time features for use by
64
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "gremlin" format.
65
- * Relative values are materialized to concrete ISO 8601 strings (Gremlin has no symbolic
66
- * relative form); absolute values pass through.
67
- */
61
+ * Generates a rule processor with date/time features for use by
62
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "gremlin" format.
63
+ * Relative values are materialized to concrete ISO 8601 strings (Gremlin has no symbolic
64
+ * relative form); absolute values pass through.
65
+ */
68
66
  declare const getDatetimeRuleProcessorGremlin: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
69
67
  //#endregion
70
68
  //#region src/getDatetimeRuleProcessorJSONata.d.ts
71
69
  /**
72
- * Generates a rule processor with date/time features for use by
73
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "jsonata" format.
74
- */
70
+ * Generates a rule processor with date/time features for use by
71
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "jsonata" format.
72
+ */
75
73
  declare const getDatetimeRuleProcessorJSONata: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
76
74
  //#endregion
77
75
  //#region src/getDatetimeRuleProcessorLDAP.d.ts
78
76
  /**
79
- * Generates a rule processor with date/time features for use by
80
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "ldap" format.
81
- * Relative values are materialized to concrete ISO 8601 strings (LDAP has no symbolic
82
- * relative form); absolute values pass through.
83
- */
77
+ * Generates a rule processor with date/time features for use by
78
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "ldap" format.
79
+ * Relative values are materialized to concrete ISO 8601 strings (LDAP has no symbolic
80
+ * relative form); absolute values pass through.
81
+ */
84
82
  declare const getDatetimeRuleProcessorLDAP: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
85
83
  //#endregion
86
84
  //#region src/getDatetimeRuleProcessorMongoDB.d.ts
87
85
  /**
88
- * Generates a rule processor with date/time features for use by
89
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the (deprecated) "mongodb"
90
- * format. Delegates to the "mongodb_query" date/time processor and serializes the result;
91
- * `Date` values serialize to ISO 8601 strings.
92
- */
86
+ * Generates a rule processor with date/time features for use by
87
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the (deprecated) "mongodb"
88
+ * format. Delegates to the "mongodb_query" date/time processor and serializes the result;
89
+ * `Date` values serialize to ISO 8601 strings.
90
+ */
93
91
  declare const getDatetimeRuleProcessorMongoDB: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
94
92
  //#endregion
95
93
  //#region src/getDatetimeRuleProcessorMongoDBQuery.d.ts
96
94
  /**
97
- * Generates a rule processor with date/time features for use by
98
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "mongodb_query" format.
99
- */
95
+ * Generates a rule processor with date/time features for use by
96
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "mongodb_query" format.
97
+ */
100
98
  declare const getDatetimeRuleProcessorMongoDBQuery: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
101
99
  //#endregion
102
100
  //#region src/getDatetimeRuleProcessorNL.d.ts
103
101
  declare const defaultDateTimeNLOperatorMap: ExportOperatorMap;
104
102
  /**
105
- * Generates a value processor with date/time features for use by
106
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "natural_language" format.
107
- */
103
+ * Generates a value processor with date/time features for use by
104
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "natural_language" format.
105
+ */
108
106
  declare const datetimeValueProcessorNL: ValueProcessorByRule;
109
107
  /**
110
- * Generates a rule processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
111
- * the "natural_language" format.
112
- */
108
+ * Generates a rule processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
109
+ * the "natural_language" format.
110
+ */
113
111
  declare const getDatetimeRuleProcessorNL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
114
112
  //#endregion
115
113
  //#region src/getDatetimeRuleProcessorParameterized.d.ts
116
114
  /**
117
- * Generates a rule processor with date/time features for use by
118
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "parameterized" and
119
- * "parameterized_named" formats. Relative values are materialized to concrete ISO 8601
120
- * strings (these formats have no symbolic relative form); absolute values pass through.
121
- */
115
+ * Generates a rule processor with date/time features for use by
116
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "parameterized" and
117
+ * "parameterized_named" formats. Relative values are materialized to concrete ISO 8601
118
+ * strings (these formats have no symbolic relative form); absolute values pass through.
119
+ */
122
120
  declare const getDatetimeRuleProcessorParameterized: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
123
121
  //#endregion
124
122
  //#region src/getDatetimeRuleProcessorPrisma.d.ts
125
123
  /**
126
- * Generates a rule processor with date/time features for use by
127
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "prisma" format.
128
- * Relative values are materialized and all date/time values are converted to `Date`
129
- * objects (Prisma's `where` clauses use native `Date` values for date columns).
130
- */
124
+ * Generates a rule processor with date/time features for use by
125
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "prisma" format.
126
+ * Relative values are materialized and all date/time values are converted to `Date`
127
+ * objects (Prisma's `where` clauses use native `Date` values for date columns).
128
+ */
131
129
  declare const getDatetimeRuleProcessorPrisma: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
132
130
  //#endregion
133
131
  //#region src/getDatetimeRuleProcessorSequelize.d.ts
134
132
  /**
135
- * Generates a rule processor with date/time features for use by
136
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "sequelize" format.
137
- * Relative values are materialized and all date/time values are converted to `Date`
138
- * objects (Sequelize `where` clauses use native `Date` values for date columns).
139
- */
133
+ * Generates a rule processor with date/time features for use by
134
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "sequelize" format.
135
+ * Relative values are materialized and all date/time values are converted to `Date`
136
+ * objects (Sequelize `where` clauses use native `Date` values for date columns).
137
+ */
140
138
  declare const getDatetimeRuleProcessorSequelize: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
141
139
  //#endregion
142
140
  //#region src/getDatetimeRuleProcessorSPARQL.d.ts
143
141
  /**
144
- * Generates a rule processor with date/time features for use by
145
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "sparql" format.
146
- *
147
- * Supports:
148
- * - Standard comparison operators (`=`, `!=`, `<`, `>`, `<=`, `>=`)
149
- * - Range operators (between, notBetween, in, notIn)
150
- * - Duration math via custom operators: `olderThanDuration` and `withinDuration`
151
- * (e.g., value `"P30D"` → `NOW() - ?field > "P30D"^^xsd:duration`)
152
- */
142
+ * Generates a rule processor with date/time features for use by
143
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "sparql" format.
144
+ *
145
+ * Supports:
146
+ * - Standard comparison operators (`=`, `!=`, `<`, `>`, `<=`, `>=`)
147
+ * - Range operators (between, notBetween, in, notIn)
148
+ * - Duration math via custom operators: `olderThanDuration` and `withinDuration`
149
+ * (e.g., value `"P30D"` → `NOW() - ?field > "P30D"^^xsd:duration`)
150
+ */
153
151
  declare const getDatetimeRuleProcessorSPARQL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
154
152
  //#endregion
155
153
  //#region src/getDatetimeRuleProcessorSpEL.d.ts
156
154
  /**
157
- * Generates a rule processor with date/time features for use by
158
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "spel" format.
159
- * Relative values are materialized to concrete ISO 8601 strings (SpEL has no symbolic
160
- * relative form); absolute values pass through.
161
- */
155
+ * Generates a rule processor with date/time features for use by
156
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "spel" format.
157
+ * Relative values are materialized to concrete ISO 8601 strings (SpEL has no symbolic
158
+ * relative form); absolute values pass through.
159
+ */
162
160
  declare const getDatetimeRuleProcessorSpEL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
163
161
  //#endregion
164
162
  //#region src/getDatetimeRuleProcessorSQL.d.ts
165
163
  /**
166
- * Generates a value processor with date/time features for use by
167
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "sql" format and "ansi" preset.
168
- */
169
- declare const getDatetimeValueProcessorANSI: ({
170
- toISOStringDateOnly,
171
- toISOString
172
- }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
173
- /**
174
- * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
175
- * the "sql" format and "mssql" preset.
176
- */
177
- declare const getDatetimeValueProcessorMSSQL: ({
178
- toISOStringDateOnly,
179
- toISOString
180
- }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
181
- /**
182
- * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
183
- * the "sql" format and "mysql" preset.
184
- */
185
- declare const getDatetimeValueProcessorMySQL: ({
186
- toISOStringDateOnly,
187
- toISOString
188
- }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
189
- /**
190
- * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
191
- * the "sql" format and "oracle" preset.
192
- */
193
- declare const getDatetimeValueProcessorOracle: ({
194
- toISOStringDateOnly,
195
- toISOString
196
- }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
197
- /**
198
- * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
199
- * the "sql" format and "postgresql" preset.
200
- */
201
- declare const getDatetimeValueProcessorPostgreSQL: ({
202
- toISOStringDateOnly,
203
- toISOString
204
- }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
205
- /**
206
- * Generates a rule processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
207
- * the "sql" format.
208
- */
164
+ * Generates a value processor with date/time features for use by
165
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "sql" format and "ansi" preset.
166
+ */
167
+ declare const getDatetimeValueProcessorANSI: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
168
+ /**
169
+ * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
170
+ * the "sql" format and "mssql" preset.
171
+ */
172
+ declare const getDatetimeValueProcessorMSSQL: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
173
+ /**
174
+ * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
175
+ * the "sql" format and "mysql" preset.
176
+ */
177
+ declare const getDatetimeValueProcessorMySQL: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
178
+ /**
179
+ * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
180
+ * the "sql" format and "oracle" preset.
181
+ */
182
+ declare const getDatetimeValueProcessorOracle: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
183
+ /**
184
+ * Generates a value processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
185
+ * the "sql" format and "postgresql" preset.
186
+ */
187
+ declare const getDatetimeValueProcessorPostgreSQL: ({ toISOStringDateOnly, toISOString }: RQBDateTimeLibraryAPI) => ValueProcessorByRule;
188
+ /**
189
+ * Generates a rule processor with date/time features for use by {@link @react-querybuilder/core!formatQuery formatQuery} with
190
+ * the "sql" format.
191
+ */
209
192
  declare const getDatetimeRuleProcessorSQL: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
210
193
  //#endregion
211
194
  //#region src/getDatetimeRuleProcessorTanStackDB.d.ts
212
195
  /**
213
- * Generates a rule processor with date/time features for use by
214
- * {@link @react-querybuilder/core!formatQuery formatQuery} with the "tanstack_db" format.
215
- * Relative values are materialized and all date/time values are converted to `Date`
216
- * objects (TanStack DB collection filters compare against native `Date` values).
217
- */
196
+ * Generates a rule processor with date/time features for use by
197
+ * {@link @react-querybuilder/core!formatQuery formatQuery} with the "tanstack_db" format.
198
+ * Relative values are materialized and all date/time values are converted to `Date`
199
+ * objects (TanStack DB collection filters compare against native `Date` values).
200
+ */
218
201
  declare const getDatetimeRuleProcessorTanStackDB: (apiFns: RQBDateTimeLibraryAPI) => RuleProcessor;
219
202
  //#endregion
220
- //#region src/QueryBuilderDateTime.d.ts
221
- declare const DateTimeValueEditor: (props: ValueEditorProps) => React.JSX.Element;
222
- declare const QueryBuilderDateTimeContext: QueryBuilderContextProvider;
223
- /** Props for {@link QueryBuilderDateTime}: {@link RelativeDateTimeEditorConfig} plus children. */
224
- interface QueryBuilderDateTimeProps extends RelativeDateTimeEditorConfig {
225
- children?: React.ReactNode;
226
- }
227
- /**
228
- * Context provider enabling date/time features for a wrapped
229
- * {@link react-querybuilder!QueryBuilder QueryBuilder}: renders the relative-capable
230
- * {@link RelativeDateTimeValueEditor} for date/time fields, and accepts optional
231
- * {@link RelativeDateTimeEditorConfig} props (mode controller, anchor/unit options, and
232
- * toggle labels). With no props it provides the zero-config toggle experience.
233
- *
234
- * @group Components
235
- */
236
- declare const QueryBuilderDateTime: ({
237
- children,
238
- modeController,
239
- anchors,
240
- units,
241
- toggleLabels,
242
- dateTimeAPI
243
- }: QueryBuilderDateTimeProps) => React.JSX.Element;
244
- //#endregion
245
- //#region src/relativeDateTimeConstants.d.ts
246
- /**
247
- * Class name applied to the absolute/relative mode toggle button. Package-local (not part
248
- * of the core `standardClassnames`) to avoid coupling core to this extension.
249
- */
250
- declare const relativeDateTimeToggleClassName = "rule-value-dateTimeRelative-toggle";
251
- /** Default value applied when switching a rule to relative mode. */
252
- declare const defaultRelativeDateTimeValue: RelativeDateTimeValue;
253
- /** Default anchor (reference-point) options for the relative date/time editor. */
254
- declare const defaultRelativeDateTimeAnchors: FullOption<RelativeDateTimeAnchor>[];
255
- /** Default unit options for the relative date/time editor. */
256
- declare const defaultRelativeDateTimeUnits: FullOption<RelativeDateTimeUnit>[];
257
- /** Default labels/content for the absolute/relative mode toggle. */
258
- declare const defaultRelativeDateTimeToggleLabels: Required<RelativeDateTimeToggleLabels>;
259
- //#endregion
260
- //#region src/RelativeDateTimeConfigContext.d.ts
261
- /** Fully-resolved relative date/time editor config (no optional fields). */
262
- interface ResolvedRelativeDateTimeConfig {
263
- modeController: RelativeDateTimeModeController;
264
- anchors: FullOption<RelativeDateTimeAnchor>[];
265
- units: FullOption<RelativeDateTimeUnit>[];
266
- toggleLabels: Required<RelativeDateTimeToggleLabels>;
267
- dateTimeAPI: RQBDateTimeLibraryAPI;
268
- }
269
- /**
270
- * Carries {@link RelativeDateTimeEditorConfig} to the {@link RelativeDateTimeValueEditor}.
271
- * Provided by {@link QueryBuilderDateTime}; defaults apply when no provider is present.
272
- */
273
- declare const RelativeDateTimeConfigContext: React.Context<RelativeDateTimeEditorConfig>;
274
- /** Reads the relative date/time editor config from context, merged with defaults. */
275
- declare const useRelativeDateTimeConfig: () => ResolvedRelativeDateTimeConfig;
276
- //#endregion
277
- //#region src/relativeDateTimeModeControllers.d.ts
278
- /**
279
- * Compact absolute/relative toggle rendered by {@link toggleModeController}. A
280
- * `role="switch"` button whose default glyph is supplied by CSS (keyed on
281
- * `aria-checked`); override via the `toggleLabels` config.
282
- *
283
- * @group Components
284
- */
285
- declare const RelativeDateTimeModeToggle: ({
286
- isRelative,
287
- setMode,
288
- disabled,
289
- className,
290
- labels
291
- }: RelativeDateTimeModeControlProps) => React.JSX.Element;
292
- /**
293
- * Zero-config default {@link RelativeDateTimeModeController}: derives the mode from the
294
- * value shape and renders a compact toggle button to switch between absolute and
295
- * relative entry.
296
- */
297
- declare const toggleModeController: RelativeDateTimeModeController;
298
- /**
299
- * Builds an operator-driven {@link RelativeDateTimeModeController} that derives the mode
300
- * from the rule's operator. Pass the operator name(s) (or a predicate) that should put the
301
- * editor in relative mode. No toggle is rendered — the operator selector is the mode
302
- * affordance.
303
- *
304
- * NOTE: the chosen operators only signal _mode_; the rule's value remains a
305
- * {@link RelativeDateTimeValue}. For these operators to export correctly, map each one to a
306
- * real comparison operator via `context.relativeOperatorMap` when calling `formatQuery`
307
- * (e.g. `{ relativeEq: '=' }`). See the documentation.
308
- */
309
- declare const createOperatorModeController: (relativeOperators: string[] | ((operator: string) => boolean)) => RelativeDateTimeModeController;
310
- interface FieldWithOperators {
311
- operators?: FullOperator[];
312
- [key: string]: unknown;
313
- }
314
- /**
315
- * Appends the given `operators` to each field's `operators` list, so the operator-driven
316
- * controller (see {@link createOperatorModeController}) has an operator to switch into
317
- * relative mode. Fields without an explicit `operators` list fall back to the core
318
- * `defaultOperators`.
319
- */
320
- declare const withRelativeOperators: <F extends FieldWithOperators>(fields: F[], operators: FullOperator[]) => F[];
321
- //#endregion
322
- //#region src/RelativeDateTimeValueEditor.d.ts
323
- /**
324
- * Value editor with support for {@link RelativeDateTimeValue relative date/time values}
325
- * (e.g. "three months ago" or "the beginning of this year"). How the user switches
326
- * between absolute and relative modes is delegated to a pluggable
327
- * {@link RelativeDateTimeModeController} (default: a compact toggle), supplied via
328
- * {@link QueryBuilderDateTime}. In relative mode it renders anchor + signed offset + unit
329
- * selectors; the unit selector is hidden when the offset is `0`.
330
- *
331
- * For the `between`/`notBetween` operators it renders two independent value editors (each
332
- * with its own mode affordance) and stores the bounds as a two-element array, so the from
333
- * and to bounds can independently be absolute or relative.
334
- *
335
- * @group Components
336
- */
337
- declare const RelativeDateTimeValueEditor: (props: ValueEditorProps) => React.JSX.Element;
338
- //#endregion
339
- export { DateTimeValueEditor, IsDateField, IsDateFieldFunction, QueryBuilderDateTime, QueryBuilderDateTimeContext, QueryBuilderDateTimeProps, RQBDateTimeJsonLogic, RQBDateTimeLibraryAPI, RQBJsonLogicDateAfter, RQBJsonLogicDateBefore, RQBJsonLogicDateBetween, RQBJsonLogicDateIn, RQBJsonLogicDateNotBetween, RQBJsonLogicDateNotIn, RQBJsonLogicDateNotOn, RQBJsonLogicDateOn, RQBJsonLogicDateOnOrAfter, RQBJsonLogicDateOnOrBefore, RQBJsonLogicDateRelative, RQBJsonLogicDateTimeOperations, RelativeDateTimeAnchor, RelativeDateTimeConfigContext, RelativeDateTimeEditorConfig, RelativeDateTimeModeControlProps, RelativeDateTimeModeController, RelativeDateTimeModeToggle, RelativeDateTimeToggleLabels, RelativeDateTimeTruncationUnit, RelativeDateTimeUnit, RelativeDateTimeValue, RelativeDateTimeValueEditor, RelativeOperatorMap, ResolvedRelativeDateTimeConfig, createOperatorModeController, datetimeRuleProcessorJsonLogic, datetimeValueProcessorNL, defaultDateTimeNLOperatorMap, defaultRelativeDateTimeAnchors, defaultRelativeDateTimeToggleLabels, defaultRelativeDateTimeUnits, defaultRelativeDateTimeValue, getDatetimeJsonLogicOperations, getDatetimeRuleProcessorCEL, getDatetimeRuleProcessorCypher, getDatetimeRuleProcessorDrizzle, getDatetimeRuleProcessorElasticSearch, getDatetimeRuleProcessorGremlin, getDatetimeRuleProcessorJSONata, getDatetimeRuleProcessorLDAP, getDatetimeRuleProcessorMongoDB, getDatetimeRuleProcessorMongoDBQuery, getDatetimeRuleProcessorNL, getDatetimeRuleProcessorParameterized, getDatetimeRuleProcessorPrisma, getDatetimeRuleProcessorSPARQL, getDatetimeRuleProcessorSQL, getDatetimeRuleProcessorSequelize, getDatetimeRuleProcessorSpEL, getDatetimeRuleProcessorTanStackDB, getDatetimeValueProcessorANSI, getDatetimeValueProcessorMSSQL, getDatetimeValueProcessorMySQL, getDatetimeValueProcessorOracle, getDatetimeValueProcessorPostgreSQL, relativeDateTimeToggleClassName, toggleModeController, useRelativeDateTimeConfig, withRelativeOperators };
203
+ export { IsDateField, IsDateFieldFunction, RQBDateTimeJsonLogic, RQBDateTimeLibraryAPI, RQBJsonLogicDateAfter, RQBJsonLogicDateBefore, RQBJsonLogicDateBetween, RQBJsonLogicDateIn, RQBJsonLogicDateNotBetween, RQBJsonLogicDateNotIn, RQBJsonLogicDateNotOn, RQBJsonLogicDateOn, RQBJsonLogicDateOnOrAfter, RQBJsonLogicDateOnOrBefore, RQBJsonLogicDateRelative, RQBJsonLogicDateTimeOperations, RelativeDateTimeAnchor, RelativeDateTimeTruncationUnit, RelativeDateTimeUnit, RelativeDateTimeValue, datetimeRuleProcessorJsonLogic, datetimeValueProcessorNL, defaultDateTimeNLOperatorMap, getDatetimeJsonLogicOperations, getDatetimeRuleProcessorCEL, getDatetimeRuleProcessorCypher, getDatetimeRuleProcessorDrizzle, getDatetimeRuleProcessorElasticSearch, getDatetimeRuleProcessorGremlin, getDatetimeRuleProcessorJSONata, getDatetimeRuleProcessorLDAP, getDatetimeRuleProcessorMongoDB, getDatetimeRuleProcessorMongoDBQuery, getDatetimeRuleProcessorNL, getDatetimeRuleProcessorParameterized, getDatetimeRuleProcessorPrisma, getDatetimeRuleProcessorSPARQL, getDatetimeRuleProcessorSQL, getDatetimeRuleProcessorSequelize, getDatetimeRuleProcessorSpEL, getDatetimeRuleProcessorTanStackDB, getDatetimeValueProcessorANSI, getDatetimeValueProcessorMSSQL, getDatetimeValueProcessorMySQL, getDatetimeValueProcessorOracle, getDatetimeValueProcessorPostgreSQL };
340
204
  //# sourceMappingURL=react-querybuilder_datetime.cjs.development.d.ts.map
@@ -1,104 +1,103 @@
1
- import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-XYMw0jFT.js";
2
- import { RuleProcessor, ValueProcessorByRule } from "react-querybuilder";
3
-
1
+ import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-BKA1aoY6.js";
2
+ import { RuleProcessor, ValueProcessorByRule } from "@react-querybuilder/core";
4
3
  //#region src/rqbDateTimeLibraryAPI.date-fns.d.ts
5
4
  /**
6
- * {@link RQBDateTimeLibraryAPI} for date-fns
7
- */
5
+ * {@link RQBDateTimeLibraryAPI} for date-fns
6
+ */
8
7
  declare const rqbDateTimeLibraryAPI: RQBDateTimeLibraryAPI;
9
8
  //#endregion
10
9
  //#region src/index.date-fns.d.ts
11
10
  /**
12
- * Custom JsonLogic date/time operations using date-fns
13
- */
11
+ * Custom JsonLogic date/time operations using date-fns
12
+ */
14
13
  declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
15
14
  /**
16
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using date-fns
17
- */
15
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using date-fns
16
+ */
18
17
  declare const datetimeRuleProcessorSQL: RuleProcessor;
19
18
  /**
20
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using date-fns
21
- */
19
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using date-fns
20
+ */
22
21
  declare const datetimeValueProcessorANSI: ValueProcessorByRule;
23
22
  /**
24
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using date-fns
25
- */
23
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using date-fns
24
+ */
26
25
  declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
27
26
  /**
28
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using date-fns
29
- */
27
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using date-fns
28
+ */
30
29
  declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
31
30
  /**
32
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using date-fns
33
- */
31
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using date-fns
32
+ */
34
33
  declare const datetimeValueProcessorOracle: ValueProcessorByRule;
35
34
  /**
36
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using date-fns
37
- */
35
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using date-fns
36
+ */
38
37
  declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
39
38
  /**
40
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using date-fns
41
- */
39
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using date-fns
40
+ */
42
41
  declare const datetimeRuleProcessorCEL: ValueProcessorByRule;
43
42
  /**
44
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using date-fns
45
- */
43
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using date-fns
44
+ */
46
45
  declare const datetimeRuleProcessorJSONata: RuleProcessor;
47
46
  /**
48
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using date-fns
49
- */
47
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using date-fns
48
+ */
50
49
  declare const datetimeRuleProcessorMongoDBQuery: ValueProcessorByRule;
51
50
  /**
52
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using date-fns
53
- */
51
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using date-fns
52
+ */
54
53
  declare const datetimeRuleProcessorNL: ValueProcessorByRule;
55
54
  /**
56
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using date-fns
57
- */
55
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using date-fns
56
+ */
58
57
  declare const datetimeRuleProcessorCypher: ValueProcessorByRule;
59
58
  /**
60
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using date-fns
61
- */
59
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using date-fns
60
+ */
62
61
  declare const datetimeRuleProcessorSPARQL: ValueProcessorByRule;
63
62
  /**
64
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "parameterized"/"parameterized_named" formats
65
- */
63
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "parameterized"/"parameterized_named" formats
64
+ */
66
65
  declare const datetimeRuleProcessorParameterized: RuleProcessor;
67
66
  /**
68
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "spel" format
69
- */
67
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "spel" format
68
+ */
70
69
  declare const datetimeRuleProcessorSpEL: RuleProcessor;
71
70
  /**
72
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "ldap" format
73
- */
71
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "ldap" format
72
+ */
74
73
  declare const datetimeRuleProcessorLDAP: RuleProcessor;
75
74
  /**
76
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "gremlin" format
77
- */
75
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "gremlin" format
76
+ */
78
77
  declare const datetimeRuleProcessorGremlin: RuleProcessor;
79
78
  /**
80
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "prisma" format
81
- */
79
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "prisma" format
80
+ */
82
81
  declare const datetimeRuleProcessorPrisma: RuleProcessor;
83
82
  /**
84
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sequelize" format
85
- */
83
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sequelize" format
84
+ */
86
85
  declare const datetimeRuleProcessorSequelize: RuleProcessor;
87
86
  /**
88
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "drizzle" format
89
- */
87
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "drizzle" format
88
+ */
90
89
  declare const datetimeRuleProcessorDrizzle: RuleProcessor;
91
90
  /**
92
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "elasticsearch" format
93
- */
91
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "elasticsearch" format
92
+ */
94
93
  declare const datetimeRuleProcessorElasticSearch: RuleProcessor;
95
94
  /**
96
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "tanstack_db" format
97
- */
95
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "tanstack_db" format
96
+ */
98
97
  declare const datetimeRuleProcessorTanStackDB: RuleProcessor;
99
98
  /**
100
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for (deprecated) "mongodb" format
101
- */
99
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for (deprecated) "mongodb" format
100
+ */
102
101
  declare const datetimeRuleProcessorMongoDB: RuleProcessor;
103
102
  //#endregion
104
103
  export { datetimeRuleProcessorCEL, datetimeRuleProcessorCypher, datetimeRuleProcessorDrizzle, datetimeRuleProcessorElasticSearch, datetimeRuleProcessorGremlin, datetimeRuleProcessorJSONata, datetimeRuleProcessorLDAP, datetimeRuleProcessorMongoDB, datetimeRuleProcessorMongoDBQuery, datetimeRuleProcessorNL, datetimeRuleProcessorParameterized, datetimeRuleProcessorPrisma, datetimeRuleProcessorSPARQL, datetimeRuleProcessorSQL, datetimeRuleProcessorSequelize, datetimeRuleProcessorSpEL, datetimeRuleProcessorTanStackDB, datetimeValueProcessorANSI, datetimeValueProcessorMSSQL, datetimeValueProcessorMySQL, datetimeValueProcessorOracle, datetimeValueProcessorPostgreSQL, jsonLogicDateTimeOperations, rqbDateTimeLibraryAPI };