@react-querybuilder/datetime 8.20.2 → 8.21.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.
Files changed (118) hide show
  1. package/dist/cjs/{getDatetimeRuleProcessorTanStackDB-cmGqMT0Q.js → getDatetimeRuleProcessorTanStackDB-CDEB9coD.js} +22 -19
  2. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-CDEB9coD.js.map +1 -0
  3. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-X6tZv7yV.js +2 -0
  4. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-X6tZv7yV.js.map +1 -0
  5. package/dist/cjs/react-querybuilder_datetime.cjs.development.d.ts +122 -138
  6. package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.d.ts +49 -50
  7. package/dist/cjs/react-querybuilder_datetime.cjs.development.date-fns.js +2 -2
  8. package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.d.ts +49 -50
  9. package/dist/cjs/react-querybuilder_datetime.cjs.development.dayjs.js +2 -2
  10. package/dist/cjs/react-querybuilder_datetime.cjs.development.js +3 -2
  11. package/dist/cjs/react-querybuilder_datetime.cjs.development.js.map +1 -1
  12. package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.d.ts +52 -53
  13. package/dist/cjs/react-querybuilder_datetime.cjs.development.jsdate.js +2 -2
  14. package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.d.ts +49 -50
  15. package/dist/cjs/react-querybuilder_datetime.cjs.development.luxon.js +2 -2
  16. package/dist/cjs/react-querybuilder_datetime.cjs.development.ui.d.ts +100 -114
  17. package/dist/cjs/react-querybuilder_datetime.cjs.development.ui.js +5 -3
  18. package/dist/cjs/react-querybuilder_datetime.cjs.development.ui.js.map +1 -1
  19. package/dist/cjs/react-querybuilder_datetime.cjs.production.d.ts +122 -138
  20. package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.d.ts +49 -50
  21. package/dist/cjs/react-querybuilder_datetime.cjs.production.date-fns.js +1 -1
  22. package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.d.ts +49 -50
  23. package/dist/cjs/react-querybuilder_datetime.cjs.production.dayjs.js +1 -1
  24. package/dist/cjs/react-querybuilder_datetime.cjs.production.js +1 -1
  25. package/dist/cjs/react-querybuilder_datetime.cjs.production.js.map +1 -1
  26. package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.d.ts +52 -53
  27. package/dist/cjs/react-querybuilder_datetime.cjs.production.jsdate.js +1 -1
  28. package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.d.ts +49 -50
  29. package/dist/cjs/react-querybuilder_datetime.cjs.production.luxon.js +1 -1
  30. package/dist/cjs/react-querybuilder_datetime.cjs.production.ui.d.ts +100 -114
  31. package/dist/cjs/react-querybuilder_datetime.cjs.production.ui.js +1 -1
  32. package/dist/cjs/react-querybuilder_datetime.cjs.production.ui.js.map +1 -1
  33. package/dist/cjs/{rqbDateTimeLibraryAPI.jsdate-ioz2B1zh.js → rqbDateTimeLibraryAPI.jsdate-BuSiVdk7.js} +2 -2
  34. package/dist/cjs/{rqbDateTimeLibraryAPI.jsdate-ioz2B1zh.js.map → rqbDateTimeLibraryAPI.jsdate-BuSiVdk7.js.map} +1 -1
  35. package/dist/cjs/{rqbDateTimeLibraryAPI.jsdate-BPEcMhhr.js → rqbDateTimeLibraryAPI.jsdate-C3jJb6ip.js} +2 -2
  36. package/dist/cjs/{rqbDateTimeLibraryAPI.jsdate-BPEcMhhr.js.map → rqbDateTimeLibraryAPI.jsdate-C3jJb6ip.js.map} +1 -1
  37. package/dist/cjs/{types-Di8kFIXV.d.ts → types-BKA1aoY6.d.ts} +82 -73
  38. package/dist/cjs/utils-DdBYGWHZ.js +2 -0
  39. package/dist/cjs/utils-DdBYGWHZ.js.map +1 -0
  40. package/dist/cjs/{utils-DUePrC--.js → utils-_X97pUtk.js} +13 -1
  41. package/dist/cjs/utils-_X97pUtk.js.map +1 -0
  42. package/dist/getDatetimeRuleProcessorTanStackDB-6K1DsuEV.mjs +2 -0
  43. package/dist/getDatetimeRuleProcessorTanStackDB-6K1DsuEV.mjs.map +1 -0
  44. package/dist/{getDatetimeRuleProcessorTanStackDB-BDFJlfJh.js → getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js} +22 -19
  45. package/dist/getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js.map +1 -0
  46. package/dist/{getDatetimeRuleProcessorTanStackDB-B93XaPdB.mjs → getDatetimeRuleProcessorTanStackDB-DR8aYrUa.mjs} +22 -19
  47. package/dist/getDatetimeRuleProcessorTanStackDB-DR8aYrUa.mjs.map +1 -0
  48. package/dist/{objectSpread2-73AKOozq.js → objectSpread2-MqoZ2hSz.js} +13 -7
  49. package/dist/objectSpread2-MqoZ2hSz.js.map +1 -0
  50. package/dist/react-querybuilder_datetime.d.mts +122 -138
  51. package/dist/react-querybuilder_datetime.date-fns.d.mts +49 -50
  52. package/dist/react-querybuilder_datetime.date-fns.mjs +2 -2
  53. package/dist/react-querybuilder_datetime.dayjs.d.mts +49 -50
  54. package/dist/react-querybuilder_datetime.dayjs.mjs +2 -2
  55. package/dist/react-querybuilder_datetime.jsdate.d.mts +52 -53
  56. package/dist/react-querybuilder_datetime.jsdate.mjs +2 -2
  57. package/dist/react-querybuilder_datetime.legacy-esm.d.ts +122 -138
  58. package/dist/react-querybuilder_datetime.legacy-esm.date-fns.d.ts +49 -50
  59. package/dist/react-querybuilder_datetime.legacy-esm.date-fns.js +2 -2
  60. package/dist/react-querybuilder_datetime.legacy-esm.dayjs.d.ts +49 -50
  61. package/dist/react-querybuilder_datetime.legacy-esm.dayjs.js +2 -2
  62. package/dist/react-querybuilder_datetime.legacy-esm.js +3 -2
  63. package/dist/react-querybuilder_datetime.legacy-esm.js.map +1 -1
  64. package/dist/react-querybuilder_datetime.legacy-esm.jsdate.d.ts +52 -53
  65. package/dist/react-querybuilder_datetime.legacy-esm.jsdate.js +2 -2
  66. package/dist/react-querybuilder_datetime.legacy-esm.luxon.d.ts +49 -50
  67. package/dist/react-querybuilder_datetime.legacy-esm.luxon.js +2 -2
  68. package/dist/react-querybuilder_datetime.legacy-esm.ui.d.ts +100 -114
  69. package/dist/react-querybuilder_datetime.legacy-esm.ui.js +7 -5
  70. package/dist/react-querybuilder_datetime.legacy-esm.ui.js.map +1 -1
  71. package/dist/react-querybuilder_datetime.luxon.d.mts +49 -50
  72. package/dist/react-querybuilder_datetime.luxon.mjs +2 -2
  73. package/dist/react-querybuilder_datetime.mjs +3 -2
  74. package/dist/react-querybuilder_datetime.mjs.map +1 -1
  75. package/dist/react-querybuilder_datetime.production.d.mts +122 -138
  76. package/dist/react-querybuilder_datetime.production.date-fns.d.mts +49 -50
  77. package/dist/react-querybuilder_datetime.production.date-fns.mjs +1 -1
  78. package/dist/react-querybuilder_datetime.production.dayjs.d.mts +49 -50
  79. package/dist/react-querybuilder_datetime.production.dayjs.mjs +1 -1
  80. package/dist/react-querybuilder_datetime.production.jsdate.d.mts +52 -53
  81. package/dist/react-querybuilder_datetime.production.jsdate.mjs +1 -1
  82. package/dist/react-querybuilder_datetime.production.luxon.d.mts +49 -50
  83. package/dist/react-querybuilder_datetime.production.luxon.mjs +1 -1
  84. package/dist/react-querybuilder_datetime.production.mjs +1 -1
  85. package/dist/react-querybuilder_datetime.production.mjs.map +1 -1
  86. package/dist/react-querybuilder_datetime.production.ui.d.mts +100 -114
  87. package/dist/react-querybuilder_datetime.production.ui.mjs +1 -1
  88. package/dist/react-querybuilder_datetime.production.ui.mjs.map +1 -1
  89. package/dist/react-querybuilder_datetime.ui.d.mts +100 -114
  90. package/dist/react-querybuilder_datetime.ui.mjs +5 -3
  91. package/dist/react-querybuilder_datetime.ui.mjs.map +1 -1
  92. package/dist/{rqbDateTimeLibraryAPI.jsdate-CpGoQAje.js → rqbDateTimeLibraryAPI.jsdate-COp9qTw_.js} +2 -2
  93. package/dist/{rqbDateTimeLibraryAPI.jsdate-CpGoQAje.js.map → rqbDateTimeLibraryAPI.jsdate-COp9qTw_.js.map} +1 -1
  94. package/dist/{rqbDateTimeLibraryAPI.jsdate-CDOtydFq.mjs → rqbDateTimeLibraryAPI.jsdate-DxBmxW2C.mjs} +2 -2
  95. package/dist/{rqbDateTimeLibraryAPI.jsdate-CDOtydFq.mjs.map → rqbDateTimeLibraryAPI.jsdate-DxBmxW2C.mjs.map} +1 -1
  96. package/dist/{rqbDateTimeLibraryAPI.jsdate-D66yJ1hK.mjs → rqbDateTimeLibraryAPI.jsdate-WHnzblie.mjs} +2 -2
  97. package/dist/{rqbDateTimeLibraryAPI.jsdate-D66yJ1hK.mjs.map → rqbDateTimeLibraryAPI.jsdate-WHnzblie.mjs.map} +1 -1
  98. package/dist/{types-Di8kFIXV.d.mts → types-BKA1aoY6.d.mts} +82 -73
  99. package/dist/{types-Di8kFIXV.d.ts → types-BKA1aoY6.d.ts} +82 -73
  100. package/dist/{utils-BC2SALFm.mjs → utils-BAgUBdyf.mjs} +8 -2
  101. package/dist/utils-BAgUBdyf.mjs.map +1 -0
  102. package/dist/utils-DA8aluCt.mjs +2 -0
  103. package/dist/utils-DA8aluCt.mjs.map +1 -0
  104. package/package.json +16 -16
  105. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-BVNfYaIj.js +0 -2
  106. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-BVNfYaIj.js.map +0 -1
  107. package/dist/cjs/getDatetimeRuleProcessorTanStackDB-cmGqMT0Q.js.map +0 -1
  108. package/dist/cjs/utils-DUePrC--.js.map +0 -1
  109. package/dist/cjs/utils-jkW5R1AA.js +0 -2
  110. package/dist/cjs/utils-jkW5R1AA.js.map +0 -1
  111. package/dist/getDatetimeRuleProcessorTanStackDB-B93XaPdB.mjs.map +0 -1
  112. package/dist/getDatetimeRuleProcessorTanStackDB-BDFJlfJh.js.map +0 -1
  113. package/dist/getDatetimeRuleProcessorTanStackDB-Czg9Fbb8.mjs +0 -2
  114. package/dist/getDatetimeRuleProcessorTanStackDB-Czg9Fbb8.mjs.map +0 -1
  115. package/dist/objectSpread2-73AKOozq.js.map +0 -1
  116. package/dist/utils-BC2SALFm.mjs.map +0 -1
  117. package/dist/utils-VKS8YY2D.mjs +0 -2
  118. package/dist/utils-VKS8YY2D.mjs.map +0 -1
@@ -1,104 +1,103 @@
1
- import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-Di8kFIXV.js";
1
+ import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-BKA1aoY6.js";
2
2
  import { RuleProcessor, ValueProcessorByRule } from "@react-querybuilder/core";
3
-
4
3
  //#region src/rqbDateTimeLibraryAPI.dayjs.d.ts
5
4
  /**
6
- * {@link RQBDateTimeLibraryAPI} for Day.js
7
- */
5
+ * {@link RQBDateTimeLibraryAPI} for Day.js
6
+ */
8
7
  declare const rqbDateTimeLibraryAPI: RQBDateTimeLibraryAPI;
9
8
  //#endregion
10
9
  //#region src/index.dayjs.d.ts
11
10
  /**
12
- * Custom JsonLogic date/time operations using Day.js
13
- */
11
+ * Custom JsonLogic date/time operations using Day.js
12
+ */
14
13
  declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
15
14
  /**
16
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using Day.js
17
- */
15
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using Day.js
16
+ */
18
17
  declare const datetimeRuleProcessorSQL: RuleProcessor;
19
18
  /**
20
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using Day.js
21
- */
19
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using Day.js
20
+ */
22
21
  declare const datetimeValueProcessorANSI: ValueProcessorByRule;
23
22
  /**
24
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using Day.js
25
- */
23
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using Day.js
24
+ */
26
25
  declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
27
26
  /**
28
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using Day.js
29
- */
27
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using Day.js
28
+ */
30
29
  declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
31
30
  /**
32
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using Day.js
33
- */
31
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using Day.js
32
+ */
34
33
  declare const datetimeValueProcessorOracle: ValueProcessorByRule;
35
34
  /**
36
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using Day.js
37
- */
35
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using Day.js
36
+ */
38
37
  declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
39
38
  /**
40
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using Day.js
41
- */
39
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using Day.js
40
+ */
42
41
  declare const datetimeRuleProcessorCEL: ValueProcessorByRule;
43
42
  /**
44
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using Day.js
45
- */
43
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using Day.js
44
+ */
46
45
  declare const datetimeRuleProcessorJSONata: RuleProcessor;
47
46
  /**
48
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using Day.js
49
- */
47
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using Day.js
48
+ */
50
49
  declare const datetimeRuleProcessorMongoDBQuery: ValueProcessorByRule;
51
50
  /**
52
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using Day.js
53
- */
51
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using Day.js
52
+ */
54
53
  declare const datetimeRuleProcessorNL: ValueProcessorByRule;
55
54
  /**
56
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using Day.js
57
- */
55
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using Day.js
56
+ */
58
57
  declare const datetimeRuleProcessorCypher: ValueProcessorByRule;
59
58
  /**
60
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using Day.js
61
- */
59
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using Day.js
60
+ */
62
61
  declare const datetimeRuleProcessorSPARQL: ValueProcessorByRule;
63
62
  /**
64
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "parameterized"/"parameterized_named" formats using Day.js
65
- */
63
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "parameterized"/"parameterized_named" formats using Day.js
64
+ */
66
65
  declare const datetimeRuleProcessorParameterized: RuleProcessor;
67
66
  /**
68
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "spel" format using Day.js
69
- */
67
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "spel" format using Day.js
68
+ */
70
69
  declare const datetimeRuleProcessorSpEL: RuleProcessor;
71
70
  /**
72
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "ldap" format using Day.js
73
- */
71
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "ldap" format using Day.js
72
+ */
74
73
  declare const datetimeRuleProcessorLDAP: RuleProcessor;
75
74
  /**
76
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "gremlin" format using Day.js
77
- */
75
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "gremlin" format using Day.js
76
+ */
78
77
  declare const datetimeRuleProcessorGremlin: RuleProcessor;
79
78
  /**
80
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "prisma" format using Day.js
81
- */
79
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "prisma" format using Day.js
80
+ */
82
81
  declare const datetimeRuleProcessorPrisma: RuleProcessor;
83
82
  /**
84
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sequelize" format using Day.js
85
- */
83
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sequelize" format using Day.js
84
+ */
86
85
  declare const datetimeRuleProcessorSequelize: RuleProcessor;
87
86
  /**
88
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "drizzle" format using Day.js
89
- */
87
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "drizzle" format using Day.js
88
+ */
90
89
  declare const datetimeRuleProcessorDrizzle: RuleProcessor;
91
90
  /**
92
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "elasticsearch" format using Day.js
93
- */
91
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "elasticsearch" format using Day.js
92
+ */
94
93
  declare const datetimeRuleProcessorElasticSearch: RuleProcessor;
95
94
  /**
96
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "tanstack_db" format using Day.js
97
- */
95
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "tanstack_db" format using Day.js
96
+ */
98
97
  declare const datetimeRuleProcessorTanStackDB: RuleProcessor;
99
98
  /**
100
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for (deprecated) "mongodb" format using Day.js
101
- */
99
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for (deprecated) "mongodb" format using Day.js
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 };
@@ -1,5 +1,5 @@
1
- import { r as isISOStringDateOnly } from "./objectSpread2-73AKOozq.js";
2
- import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BDFJlfJh.js";
1
+ import { r as isISOStringDateOnly } from "./objectSpread2-MqoZ2hSz.js";
2
+ import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js";
3
3
  import dayjs from "dayjs";
4
4
  //#region src/rqbDateTimeLibraryAPI.dayjs.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { c as resolveDatetimeOperator, i as isRelativeDateTimeValue, n as isDateOnlyDatatype, s as processIsDateField } from "./objectSpread2-73AKOozq.js";
2
- import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, m as defaultDateTimeNLOperatorMap, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, p as datetimeValueProcessorNL, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BDFJlfJh.js";
1
+ import { a as isRelativeDateTimeValue, c as processIsDateField, l as resolveDatetimeOperator, n as isDateOnlyDatatype } from "./objectSpread2-MqoZ2hSz.js";
2
+ import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, m as defaultDateTimeNLOperatorMap, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, p as datetimeValueProcessorNL, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js";
3
3
  import { defaultRuleProcessorJsonLogic, toArray } from "@react-querybuilder/core";
4
4
  //#region src/datetimeRuleProcessorJsonLogic.ts
5
5
  const dateOperationMap = {
@@ -26,6 +26,7 @@ const datetimeRuleProcessorJsonLogic = (rule, options) => {
26
26
  var _opts$context, _opts$fieldData;
27
27
  const opts = options !== null && options !== void 0 ? options : /* v8 ignore start -- @preserve */ {};
28
28
  if (!processIsDateField((_opts$context = opts.context) === null || _opts$context === void 0 ? void 0 : _opts$context.isDateField, rule, opts)) return defaultRuleProcessorJsonLogic(rule, opts);
29
+ if (rule.valueSource === "parameter") return defaultRuleProcessorJsonLogic(rule, opts);
29
30
  const { field, value, valueSource } = rule;
30
31
  const operator = resolveDatetimeOperator(rule, opts);
31
32
  const valueIsField = valueSource === "field";
@@ -1 +1 @@
1
- {"version":3,"file":"react-querybuilder_datetime.legacy-esm.js","names":[],"sources":["../src/datetimeRuleProcessorJsonLogic.ts"],"sourcesContent":["import type { DefaultOperatorName, JsonLogicVar, RuleProcessor } from '@react-querybuilder/core';\nimport { defaultRuleProcessorJsonLogic, toArray } from '@react-querybuilder/core';\nimport type { RQBJsonLogicDateRelative, RQBDateTimeJsonLogic } from './types';\nimport {\n isDateOnlyDatatype,\n isRelativeDateTimeValue,\n processIsDateField,\n resolveDatetimeOperator,\n} from './utils';\n\nconst dateOperationMap = {\n '!=': 'dateNotOn',\n '<': 'dateBefore',\n '<=': 'dateOnOrBefore',\n '=': 'dateOn',\n '>': 'dateAfter',\n '>=': 'dateOnOrAfter',\n between: 'dateBetween',\n in: 'dateIn',\n notBetween: 'dateNotBetween',\n notIn: 'dateNotIn',\n} as const satisfies Partial<Record<DefaultOperatorName, string>>;\n\n/**\n * Date/time rule processor for use by {@link @react-querybuilder/core!formatQuery formatQuery}\n * with the \"jsonlogic\" format.\n *\n * Note: Unlike other date/time rule processors from this library, this function does\n * not require a date/time library API. Instead, the date/time library API is used by\n * {@link getDatetimeJsonLogicOperations} during the evaluation process.\n */\nexport const datetimeRuleProcessorJsonLogic: RuleProcessor = (\n rule,\n options\n): RQBDateTimeJsonLogic => {\n const opts = options ?? /* v8 ignore start -- @preserve */ {} /* v8 ignore stop -- @preserve */;\n\n if (!processIsDateField(opts.context?.isDateField, rule, opts)) {\n return defaultRuleProcessorJsonLogic(rule, opts);\n }\n\n const { field, value, valueSource } = rule;\n const operator = resolveDatetimeOperator(rule, opts);\n const valueIsField = valueSource === 'field';\n const fieldObject: JsonLogicVar = { var: field };\n const dateOnly = isDateOnlyDatatype(opts?.fieldData?.datatype);\n // Relative values stay \"live\": emit a `dateRelative` op resolved at evaluation time.\n // Field-source values are field names and render as `var` references.\n const renderValue = (v: unknown) => {\n if (valueIsField) return { var: `${v}` };\n if (isRelativeDateTimeValue(v)) {\n return {\n dateRelative: [v.anchor, v.offset, v.unit, dateOnly],\n } as RQBJsonLogicDateRelative;\n }\n return v as string;\n };\n\n switch (operator) {\n case '<':\n case '<=':\n case '=':\n case '!=':\n case '>':\n case '>=':\n return {\n [dateOperationMap[operator]]: [fieldObject, renderValue(value)],\n } as RQBDateTimeJsonLogic;\n\n case 'in':\n case 'notIn': {\n const valueAsArray = (Array.isArray(value) ? value : toArray(value)).map(renderValue);\n return { [dateOperationMap[operator]]: [fieldObject, valueAsArray] } as RQBDateTimeJsonLogic;\n }\n\n case 'between':\n case 'notBetween': {\n const valueAsArray = (Array.isArray(value) ? value : toArray(value)).map(renderValue);\n\n if (valueAsArray.length < 2) return false;\n\n return {\n [dateOperationMap[operator]]: [valueAsArray[0], fieldObject, valueAsArray[1]],\n } as RQBDateTimeJsonLogic;\n }\n }\n\n return defaultRuleProcessorJsonLogic(rule, options);\n};\n"],"mappings":";;;;AAUA,MAAM,mBAAmB;CACvB,MAAM;CACN,KAAK;CACL,MAAM;CACN,KAAK;CACL,KAAK;CACL,MAAM;CACN,SAAS;CACT,IAAI;CACJ,YAAY;CACZ,OAAO;AACT;;;;;;;;;AAUA,MAAa,kCACX,MACA,YACyB;;CACzB,MAAM,OAAO,YAAA,QAAA,YAAA,KAAA,IAAA,8CAA8C,CAAC;CAE5D,IAAI,CAAC,oBAAA,gBAAmB,KAAK,aAAA,QAAA,kBAAA,KAAA,IAAA,KAAA,IAAA,cAAS,aAAa,MAAM,IAAI,GAC3D,OAAO,8BAA8B,MAAM,IAAI;CAGjD,MAAM,EAAE,OAAO,OAAO,gBAAgB;CACtC,MAAM,WAAW,wBAAwB,MAAM,IAAI;CACnD,MAAM,eAAe,gBAAgB;CACrC,MAAM,cAA4B,EAAE,KAAK,MAAM;CAC/C,MAAM,WAAW,mBAAA,SAAA,QAAA,SAAA,KAAA,MAAA,kBAAmB,KAAM,eAAA,QAAA,oBAAA,KAAA,IAAA,KAAA,IAAA,gBAAW,QAAQ;CAG7D,MAAM,eAAe,MAAe;EAClC,IAAI,cAAc,OAAO,EAAE,KAAK,GAAG,IAAI;EACvC,IAAI,wBAAwB,CAAC,GAC3B,OAAO,EACL,cAAc;GAAC,EAAE;GAAQ,EAAE;GAAQ,EAAE;GAAM;EAAQ,EACrD;EAEF,OAAO;CACT;CAEA,QAAQ,UAAR;EACE,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK,MACH,OAAO,GACJ,iBAAiB,YAAY,CAAC,aAAa,YAAY,KAAK,CAAC,EAChE;EAEF,KAAK;EACL,KAAK,SAAS;GACZ,MAAM,gBAAgB,MAAM,QAAQ,KAAK,IAAI,QAAQ,QAAQ,KAAK,EAAA,CAAG,IAAI,WAAW;GACpF,OAAO,GAAG,iBAAiB,YAAY,CAAC,aAAa,YAAY,EAAE;EACrE;EAEA,KAAK;EACL,KAAK,cAAc;GACjB,MAAM,gBAAgB,MAAM,QAAQ,KAAK,IAAI,QAAQ,QAAQ,KAAK,EAAA,CAAG,IAAI,WAAW;GAEpF,IAAI,aAAa,SAAS,GAAG,OAAO;GAEpC,OAAO,GACJ,iBAAiB,YAAY;IAAC,aAAa;IAAI;IAAa,aAAa;GAAE,EAC9E;EACF;CACF;CAEA,OAAO,8BAA8B,MAAM,OAAO;AACpD"}
1
+ {"version":3,"file":"react-querybuilder_datetime.legacy-esm.js","names":[],"sources":["../src/datetimeRuleProcessorJsonLogic.ts"],"sourcesContent":["import type { DefaultOperatorName, JsonLogicVar, RuleProcessor } from '@react-querybuilder/core';\nimport { defaultRuleProcessorJsonLogic, toArray } from '@react-querybuilder/core';\nimport type { RQBDateTimeJsonLogic } from './types';\nimport {\n isDateOnlyDatatype,\n isRelativeDateTimeValue,\n processIsDateField,\n resolveDatetimeOperator,\n} from './utils';\n\nconst dateOperationMap = {\n '!=': 'dateNotOn',\n '<': 'dateBefore',\n '<=': 'dateOnOrBefore',\n '=': 'dateOn',\n '>': 'dateAfter',\n '>=': 'dateOnOrAfter',\n between: 'dateBetween',\n in: 'dateIn',\n notBetween: 'dateNotBetween',\n notIn: 'dateNotIn',\n} as const satisfies Partial<Record<DefaultOperatorName, string>>;\n\n/**\n * Date/time rule processor for use by {@link @react-querybuilder/core!formatQuery formatQuery}\n * with the \"jsonlogic\" format.\n *\n * Note: Unlike other date/time rule processors from this library, this function does\n * not require a date/time library API. Instead, the date/time library API is used by\n * {@link getDatetimeJsonLogicOperations} during the evaluation process.\n */\nexport const datetimeRuleProcessorJsonLogic: RuleProcessor = (\n rule,\n options\n): RQBDateTimeJsonLogic => {\n const opts = options ?? /* v8 ignore start -- @preserve */ {}; /* v8 ignore stop -- @preserve */\n\n if (!processIsDateField(opts.context?.isDateField, rule, opts)) {\n return defaultRuleProcessorJsonLogic(rule, opts);\n }\n\n // Parameter references are named placeholders (not dates); delegate to the core default,\n // which emits the name as a literal (paradigm B).\n if (rule.valueSource === 'parameter') {\n return defaultRuleProcessorJsonLogic(rule, opts);\n }\n\n const { field, value, valueSource } = rule;\n const operator = resolveDatetimeOperator(rule, opts);\n const valueIsField = valueSource === 'field';\n const fieldObject: JsonLogicVar = { var: field };\n const dateOnly = isDateOnlyDatatype(opts?.fieldData?.datatype);\n // Relative values stay \"live\": emit a `dateRelative` op resolved at evaluation time.\n // Field-source values are field names and render as `var` references.\n const renderValue = (v: unknown) => {\n if (valueIsField) return { var: `${v}` };\n if (isRelativeDateTimeValue(v)) {\n return {\n dateRelative: [v.anchor, v.offset, v.unit, dateOnly],\n };\n }\n return v as string;\n };\n\n switch (operator) {\n case '<':\n case '<=':\n case '=':\n case '!=':\n case '>':\n case '>=':\n return {\n [dateOperationMap[operator]]: [fieldObject, renderValue(value)],\n } as RQBDateTimeJsonLogic;\n\n case 'in':\n case 'notIn': {\n const valueAsArray = (Array.isArray(value) ? value : toArray(value)).map(renderValue);\n return { [dateOperationMap[operator]]: [fieldObject, valueAsArray] } as RQBDateTimeJsonLogic;\n }\n\n case 'between':\n case 'notBetween': {\n const valueAsArray = (Array.isArray(value) ? value : toArray(value)).map(renderValue);\n\n if (valueAsArray.length < 2) return false;\n\n return {\n [dateOperationMap[operator]]: [valueAsArray[0], fieldObject, valueAsArray[1]],\n } as RQBDateTimeJsonLogic;\n }\n }\n\n return defaultRuleProcessorJsonLogic(rule, options);\n};\n"],"mappings":";;;;AAUA,MAAM,mBAAmB;CACvB,MAAM;CACN,KAAK;CACL,MAAM;CACN,KAAK;CACL,KAAK;CACL,MAAM;CACN,SAAS;CACT,IAAI;CACJ,YAAY;CACZ,OAAO;AACT;;;;;;;;;AAUA,MAAa,kCACX,MACA,YACyB;;CACzB,MAAM,OAAO,YAAA,QAAA,YAAA,KAAA,IAAA,8CAA8C,CAAC;CAE5D,IAAI,CAAC,oBAAA,gBAAmB,KAAK,aAAA,QAAA,kBAAA,KAAA,IAAA,KAAA,IAAA,cAAS,aAAa,MAAM,IAAI,GAC3D,OAAO,8BAA8B,MAAM,IAAI;CAKjD,IAAI,KAAK,gBAAgB,aACvB,OAAO,8BAA8B,MAAM,IAAI;CAGjD,MAAM,EAAE,OAAO,OAAO,gBAAgB;CACtC,MAAM,WAAW,wBAAwB,MAAM,IAAI;CACnD,MAAM,eAAe,gBAAgB;CACrC,MAAM,cAA4B,EAAE,KAAK,MAAM;CAC/C,MAAM,WAAW,mBAAA,SAAA,QAAA,SAAA,KAAA,MAAA,kBAAmB,KAAM,eAAA,QAAA,oBAAA,KAAA,IAAA,KAAA,IAAA,gBAAW,QAAQ;CAG7D,MAAM,eAAe,MAAe;EAClC,IAAI,cAAc,OAAO,EAAE,KAAK,GAAG,IAAI;EACvC,IAAI,wBAAwB,CAAC,GAC3B,OAAO,EACL,cAAc;GAAC,EAAE;GAAQ,EAAE;GAAQ,EAAE;GAAM;EAAQ,EACrD;EAEF,OAAO;CACT;CAEA,QAAQ,UAAR;EACE,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK,MACH,OAAO,GACJ,iBAAiB,YAAY,CAAC,aAAa,YAAY,KAAK,CAAC,EAChE;EAEF,KAAK;EACL,KAAK,SAAS;GACZ,MAAM,gBAAgB,MAAM,QAAQ,KAAK,IAAI,QAAQ,QAAQ,KAAK,EAAA,CAAG,IAAI,WAAW;GACpF,OAAO,GAAG,iBAAiB,YAAY,CAAC,aAAa,YAAY,EAAE;EACrE;EAEA,KAAK;EACL,KAAK,cAAc;GACjB,MAAM,gBAAgB,MAAM,QAAQ,KAAK,IAAI,QAAQ,QAAQ,KAAK,EAAA,CAAG,IAAI,WAAW;GAEpF,IAAI,aAAa,SAAS,GAAG,OAAO;GAEpC,OAAO,GACJ,iBAAiB,YAAY;IAAC,aAAa;IAAI;IAAa,aAAa;GAAE,EAC9E;EACF;CACF;CAEA,OAAO,8BAA8B,MAAM,OAAO;AACpD"}
@@ -1,107 +1,106 @@
1
- import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-Di8kFIXV.js";
1
+ import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-BKA1aoY6.js";
2
2
  import { RuleProcessor, ValueProcessorByRule } from "@react-querybuilder/core";
3
-
4
3
  //#region src/rqbDateTimeLibraryAPI.jsdate.d.ts
5
4
  /**
6
- * {@link RQBDateTimeLibraryAPI} for JavaScript `Date`
7
- *
8
- * @deprecated This API will not be removed, but we recommend using one of the other
9
- * {@link RQBDateTimeLibraryAPI}s based on a popular library instead.
10
- */
5
+ * {@link RQBDateTimeLibraryAPI} for JavaScript `Date`
6
+ *
7
+ * @deprecated This API will not be removed, but we recommend using one of the other
8
+ * {@link RQBDateTimeLibraryAPI}s based on a popular library instead.
9
+ */
11
10
  declare const rqbDateTimeLibraryAPI: RQBDateTimeLibraryAPI;
12
11
  //#endregion
13
12
  //#region src/index.jsdate.d.ts
14
13
  /**
15
- * Custom JsonLogic date/time operations using JavaScript `Date`.
16
- */
14
+ * Custom JsonLogic date/time operations using JavaScript `Date`.
15
+ */
17
16
  declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
18
17
  /**
19
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using JavaScript `Date`
20
- */
18
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using JavaScript `Date`
19
+ */
21
20
  declare const datetimeRuleProcessorSQL: RuleProcessor;
22
21
  /**
23
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using JavaScript `Date`
24
- */
22
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using JavaScript `Date`
23
+ */
25
24
  declare const datetimeValueProcessorANSI: ValueProcessorByRule;
26
25
  /**
27
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using JavaScript `Date`
28
- */
26
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using JavaScript `Date`
27
+ */
29
28
  declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
30
29
  /**
31
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using JavaScript `Date`
32
- */
30
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using JavaScript `Date`
31
+ */
33
32
  declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
34
33
  /**
35
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using JavaScript `Date`
36
- */
34
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using JavaScript `Date`
35
+ */
37
36
  declare const datetimeValueProcessorOracle: ValueProcessorByRule;
38
37
  /**
39
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using JavaScript `Date`
40
- */
38
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using JavaScript `Date`
39
+ */
41
40
  declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
42
41
  /**
43
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using JavaScript `Date`
44
- */
42
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using JavaScript `Date`
43
+ */
45
44
  declare const datetimeRuleProcessorCEL: RuleProcessor;
46
45
  /**
47
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using JavaScript `Date`
48
- */
46
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using JavaScript `Date`
47
+ */
49
48
  declare const datetimeRuleProcessorJSONata: RuleProcessor;
50
49
  /**
51
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using JavaScript `Date`
52
- */
50
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using JavaScript `Date`
51
+ */
53
52
  declare const datetimeRuleProcessorMongoDBQuery: RuleProcessor;
54
53
  /**
55
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using JavaScript `Date`
56
- */
54
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using JavaScript `Date`
55
+ */
57
56
  declare const datetimeRuleProcessorNL: ValueProcessorByRule;
58
57
  /**
59
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using JavaScript `Date`
60
- */
58
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using JavaScript `Date`
59
+ */
61
60
  declare const datetimeRuleProcessorCypher: RuleProcessor;
62
61
  /**
63
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using JavaScript `Date`
64
- */
62
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using JavaScript `Date`
63
+ */
65
64
  declare const datetimeRuleProcessorSPARQL: RuleProcessor;
66
65
  /**
67
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "parameterized"/"parameterized_named" formats
68
- */
66
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "parameterized"/"parameterized_named" formats
67
+ */
69
68
  declare const datetimeRuleProcessorParameterized: RuleProcessor;
70
69
  /**
71
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "spel" format
72
- */
70
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "spel" format
71
+ */
73
72
  declare const datetimeRuleProcessorSpEL: RuleProcessor;
74
73
  /**
75
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "ldap" format
76
- */
74
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "ldap" format
75
+ */
77
76
  declare const datetimeRuleProcessorLDAP: RuleProcessor;
78
77
  /**
79
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "gremlin" format
80
- */
78
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "gremlin" format
79
+ */
81
80
  declare const datetimeRuleProcessorGremlin: RuleProcessor;
82
81
  /**
83
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "prisma" format
84
- */
82
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "prisma" format
83
+ */
85
84
  declare const datetimeRuleProcessorPrisma: RuleProcessor;
86
85
  /**
87
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sequelize" format
88
- */
86
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sequelize" format
87
+ */
89
88
  declare const datetimeRuleProcessorSequelize: RuleProcessor;
90
89
  /**
91
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "drizzle" format
92
- */
90
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "drizzle" format
91
+ */
93
92
  declare const datetimeRuleProcessorDrizzle: RuleProcessor;
94
93
  /**
95
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "elasticsearch" format
96
- */
94
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "elasticsearch" format
95
+ */
97
96
  declare const datetimeRuleProcessorElasticSearch: RuleProcessor;
98
97
  /**
99
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "tanstack_db" format
100
- */
98
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "tanstack_db" format
99
+ */
101
100
  declare const datetimeRuleProcessorTanStackDB: RuleProcessor;
102
101
  /**
103
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for (deprecated) "mongodb" format
104
- */
102
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for (deprecated) "mongodb" format
103
+ */
105
104
  declare const datetimeRuleProcessorMongoDB: RuleProcessor;
106
105
  //#endregion
107
106
  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 };
@@ -1,5 +1,5 @@
1
- import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BDFJlfJh.js";
2
- import { t as rqbDateTimeLibraryAPI } from "./rqbDateTimeLibraryAPI.jsdate-CpGoQAje.js";
1
+ import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js";
2
+ import { t as rqbDateTimeLibraryAPI } from "./rqbDateTimeLibraryAPI.jsdate-COp9qTw_.js";
3
3
  //#region src/index.jsdate.ts
4
4
  /**
5
5
  * Custom JsonLogic date/time operations using JavaScript `Date`.
@@ -1,104 +1,103 @@
1
- import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-Di8kFIXV.js";
1
+ import { g as RQBJsonLogicDateTimeOperations, i as RQBDateTimeLibraryAPI } from "./types-BKA1aoY6.js";
2
2
  import { RuleProcessor, ValueProcessorByRule } from "@react-querybuilder/core";
3
-
4
3
  //#region src/rqbDateTimeLibraryAPI.luxon.d.ts
5
4
  /**
6
- * {@link RQBDateTimeLibraryAPI} for Luxon
7
- */
5
+ * {@link RQBDateTimeLibraryAPI} for Luxon
6
+ */
8
7
  declare const rqbDateTimeLibraryAPI: RQBDateTimeLibraryAPI;
9
8
  //#endregion
10
9
  //#region src/index.luxon.d.ts
11
10
  /**
12
- * Custom JsonLogic date/time operations using Luxon
13
- */
11
+ * Custom JsonLogic date/time operations using Luxon
12
+ */
14
13
  declare const jsonLogicDateTimeOperations: RQBJsonLogicDateTimeOperations;
15
14
  /**
16
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using Luxon
17
- */
15
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sql" format using Luxon
16
+ */
18
17
  declare const datetimeRuleProcessorSQL: RuleProcessor;
19
18
  /**
20
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using Luxon
21
- */
19
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("ansi" preset) using Luxon
20
+ */
22
21
  declare const datetimeValueProcessorANSI: ValueProcessorByRule;
23
22
  /**
24
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using Luxon
25
- */
23
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mssql" preset) using Luxon
24
+ */
26
25
  declare const datetimeValueProcessorMSSQL: ValueProcessorByRule;
27
26
  /**
28
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using Luxon
29
- */
27
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("mysql" preset) using Luxon
28
+ */
30
29
  declare const datetimeValueProcessorMySQL: ValueProcessorByRule;
31
30
  /**
32
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using Luxon
33
- */
31
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("oracle" preset) using Luxon
32
+ */
34
33
  declare const datetimeValueProcessorOracle: ValueProcessorByRule;
35
34
  /**
36
- * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using Luxon
37
- */
35
+ * {@link @react-querybuilder/core!formatQuery formatQuery} value processor for "sql" format ("postgresql" preset) using Luxon
36
+ */
38
37
  declare const datetimeValueProcessorPostgreSQL: ValueProcessorByRule;
39
38
  /**
40
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using Luxon
41
- */
39
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cel" format using Luxon
40
+ */
42
41
  declare const datetimeRuleProcessorCEL: ValueProcessorByRule;
43
42
  /**
44
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using Luxon
45
- */
43
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "jsonata" format using Luxon
44
+ */
46
45
  declare const datetimeRuleProcessorJSONata: RuleProcessor;
47
46
  /**
48
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using Luxon
49
- */
47
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "mongodb_query" format using Luxon
48
+ */
50
49
  declare const datetimeRuleProcessorMongoDBQuery: ValueProcessorByRule;
51
50
  /**
52
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using Luxon
53
- */
51
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "natural_language" format using Luxon
52
+ */
54
53
  declare const datetimeRuleProcessorNL: ValueProcessorByRule;
55
54
  /**
56
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using Luxon
57
- */
55
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "cypher"/"gql" format using Luxon
56
+ */
58
57
  declare const datetimeRuleProcessorCypher: ValueProcessorByRule;
59
58
  /**
60
- * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using Luxon
61
- */
59
+ * {@link @react-querybuilder/core!formatQuery formatQuery} rule processor for "sparql" format using Luxon
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 };
@@ -1,5 +1,5 @@
1
- import { r as isISOStringDateOnly } from "./objectSpread2-73AKOozq.js";
2
- import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BDFJlfJh.js";
1
+ import { r as isISOStringDateOnly } from "./objectSpread2-MqoZ2hSz.js";
2
+ import { C as getDatetimeRuleProcessorCypher, S as getDatetimeRuleProcessorDrizzle, T as getDatetimeJsonLogicOperations, _ as getDatetimeRuleProcessorMongoDBQuery, a as getDatetimeValueProcessorMySQL, b as getDatetimeRuleProcessorGremlin, c as getDatetimeRuleProcessorSpEL, d as getDatetimeRuleProcessorPrisma, f as getDatetimeRuleProcessorParameterized, g as getDatetimeRuleProcessorMongoDB, h as getDatetimeRuleProcessorNL, i as getDatetimeValueProcessorMSSQL, l as getDatetimeRuleProcessorSPARQL, n as getDatetimeRuleProcessorSQL, o as getDatetimeValueProcessorOracle, r as getDatetimeValueProcessorANSI, s as getDatetimeValueProcessorPostgreSQL, t as getDatetimeRuleProcessorTanStackDB, u as getDatetimeRuleProcessorSequelize, v as getDatetimeRuleProcessorLDAP, w as getDatetimeRuleProcessorCEL, x as getDatetimeRuleProcessorElasticSearch, y as getDatetimeRuleProcessorJSONata } from "./getDatetimeRuleProcessorTanStackDB-BrSD2e9G.js";
3
3
  import { DateTime } from "luxon";
4
4
  //#region src/rqbDateTimeLibraryAPI.luxon.ts
5
5
  const toDateTime = (a) => typeof a === "string" ? DateTime.fromISO(a) : DateTime.fromJSDate(a);