react-semaphor 0.1.537 → 0.1.539
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +352 -341
- package/dist/assistant-context/index.js +10 -0
- package/dist/assistant-protocol/index.js +104 -0
- package/dist/brand-studio/index.js +35 -31
- package/dist/briefings/index.js +46 -45
- package/dist/chunks/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/chunks/add-to-dashboard-CxtTfISD.js +56 -0
- package/dist/chunks/aggregate-table-row-presentation-BjK9YfMI.js +979 -0
- package/dist/chunks/analytics-base-schemas-BFAoRlkU.js +472 -0
- package/dist/chunks/apply-dashboard-operations-C-iahGka.js +402 -0
- package/dist/chunks/assistant-chat-DgiSuFT4.js +8083 -0
- package/dist/chunks/availability-Bp5Gfu1I.js +44 -0
- package/dist/chunks/{bookmark-state-B-I9BDD0.js → bookmark-state-k7y5SNGf.js} +9 -9
- package/dist/chunks/{braces-8TRlDwDw.js → braces-o9UiRQes.js} +1 -1
- package/dist/chunks/calculated-field-identity-DcBS2NPP.js +2161 -0
- package/dist/chunks/calendar-day-equality-Bpl15IBo.js +487 -0
- package/dist/chunks/class-utils-Df1OVOT1.js +2315 -0
- package/dist/chunks/{field-dependencies-CpRUwr9J.js → common-types-CUf03Htv.js} +65 -58
- package/dist/chunks/context-HD9usB1P.js +349 -0
- package/dist/chunks/conversation-sQiWYUOb.js +16 -0
- package/dist/chunks/csv-utils-GUfKyT1J.js +56 -0
- package/dist/chunks/custom-visual-inputs-BrUOIwln.js +3288 -0
- package/dist/chunks/{dashboard-briefing-launcher-A2uVpHCp.js → dashboard-briefing-launcher-Bl3gCeBR.js} +580 -556
- package/dist/chunks/{dashboard-controls-DxTuVis_.js → dashboard-controls-0EX0HiJt.js} +683 -686
- package/dist/chunks/{common-types-g7yS12Cg.js → dashboard-filter-value-compatibility-D95O4nd7.js} +18 -24
- package/dist/chunks/dashboard-json-6X_2BDiL.js +69 -0
- package/dist/chunks/{dashboard-BPJo-Fnd.js → dashboard-y5BwcvzT.js} +1 -1
- package/dist/chunks/document-dashboard-inputs-BrYYlRVo.js +10678 -0
- package/dist/chunks/document-sheet-utils-C1eEldxs.js +1076 -0
- package/dist/chunks/{edit-dashboard-visual-ByV0OwSp.js → edit-dashboard-visual-Bzchfgga.js} +4744 -4746
- package/dist/chunks/editor-draft-sync-BN5qYHPF.js +15 -0
- package/dist/chunks/filter-value-text-BhWugPWE.js +163 -0
- package/dist/chunks/index-CqMiAkay.js +3164 -0
- package/dist/chunks/index-CuHybtft.js +51 -0
- package/dist/chunks/layout-grid-Bgzth8vd.js +16 -0
- package/dist/chunks/{matrix-analytical-definition-CgBTD6H8.js → matrix-analytical-definition-bcprSe4u.js} +1 -1
- package/dist/chunks/{matrix-card-CAdizkUl.js → matrix-card-CJn1hB5V.js} +13 -12
- package/dist/chunks/matrix-definition-DQDI2okF.js +206 -0
- package/dist/chunks/{matrix-formatter-DJCk8Znf.js → matrix-formatter-DQ8avoIQ.js} +648 -457
- package/dist/chunks/matrix-member-presentation-BNPSDKBG.js +105 -0
- package/dist/chunks/{matrix-operation-contract-BKupLHXL.js → matrix-operation-contract-B8PBF1Gd.js} +134 -133
- package/dist/chunks/{metric-comparison-BKHyvnAy.js → metric-comparison-CojWeLqx.js} +1 -1
- package/dist/chunks/{palette-Cp1hqZtm.js → palette-D10o_yYX.js} +1 -1
- package/dist/chunks/pivot-header-presentation-MkcKnjn3.js +42 -0
- package/dist/chunks/{pivot-result-identity-Bs4tLtLo.js → pivot-result-identity-D6hhcRXi.js} +1 -1
- package/dist/chunks/pivot-result-lifecycle-8qCDmpKc.js +804 -0
- package/dist/chunks/raw-temporal-D61lr48Y.js +1464 -0
- package/dist/chunks/{raw-temporal-contract-mLFS-9wk.js → raw-temporal-contract-C51YG48G.js} +1 -1
- package/dist/chunks/report-preferences-dialog-CWhSbc5_.js +1808 -0
- package/dist/chunks/{report-runtime-context-CG_I0PPW.js → report-runtime-context-B984Nq1E.js} +8 -7
- package/dist/chunks/save-CfJpQQ68.js +21 -0
- package/dist/chunks/saved-dashboard-context-Dqve2jlB.js +566 -0
- package/dist/chunks/{selection-reducer-CiDEtmAq.js → selection-reducer-vKIb_jS6.js} +2 -2
- package/dist/chunks/{semaphor-ready-indicator-CHu1L-lo.js → semaphor-ready-indicator-ldcwmLoY.js} +65803 -62954
- package/dist/chunks/{shelf-drop-preview-context-i-H6DFyU.js → shelf-drop-preview-context-BWxunXTq.js} +199 -196
- package/dist/chunks/{source-entity-resolution-C-oNyYMp.js → source-entity-resolution-CVA1a85c.js} +8 -8
- package/dist/chunks/switch-CvItuC1Q.js +8199 -0
- package/dist/chunks/{temporal-bucket-DlFuhCnT.js → temporal-bucket-D8JF7zKz.js} +86 -71
- package/dist/chunks/{temporal-bucket-contract-D2OuaVZ7.js → temporal-bucket-contract-DaOajRC7.js} +1 -1
- package/dist/chunks/{token-types-DtSJOUjh.js → token-types-bxUxXDX2.js} +1 -1
- package/dist/chunks/{upload-CAIpsti1.js → upload-BFX7apKV.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-Bj63WwHc.js → use-create-flow-overlay-state-RHgzVfcz.js} +331 -339
- package/dist/chunks/{validators-DMSH81OM.js → validators-Ej1DdCXa.js} +1050 -1510
- package/dist/chunks/visual-choice-JiJ-_3bi.js +204 -0
- package/dist/chunks/x-4f5U2XwU.js +100 -0
- package/dist/chunks/{zoned-wall-clock-1qlWCE20.js → zoned-wall-clock-MulfA26h.js} +2 -2
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +823 -661
- package/dist/data-app-sdk/index.js +32 -30
- package/dist/data-app-sdk-adapters/index.js +23 -22
- package/dist/data-app-sdk-validation/index.js +23 -22
- package/dist/format-utils/index.js +173 -168
- package/dist/index.js +267 -258
- package/dist/layouts/index.js +236 -24
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/assistant-context.d.ts +2 -0
- package/dist/types/assistant-protocol.d.ts +2 -0
- package/dist/types/components/assistant/assistant-entry-points.d.ts +18 -0
- package/dist/types/components/assistant/assistant-provider.d.ts +19 -0
- package/dist/types/components/assistant/assistant-store.d.ts +52 -0
- package/dist/types/components/assistant/use-assistant.d.ts +38 -0
- package/dist/types/components/index.d.ts +5 -1
- package/dist/types/components/surfboard/filter/types.d.ts +5 -2
- package/dist/types/index.js +50 -51
- package/dist/types/lib/api/invalidate-token.d.ts +7 -0
- package/dist/types/lib/charts/cartesian-fields.d.ts +64 -0
- package/dist/types/lib/charts/types.d.ts +7 -0
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +14 -2
- package/dist/types/lib/dashboard-inputs/dashboard-input-target-context.d.ts +5 -6
- package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +8 -3
- package/dist/types/lib/dashboard-inputs/resolve-dashboard-input-context.d.ts +11 -6
- package/dist/types/lib/dashboard-pagination/dashboard-card-pagination.d.ts +7 -0
- package/dist/types/lib/dashboard-viewer/compatibility-input-storage.d.ts +79 -0
- package/dist/types/lib/dashboard-viewer/viewer-state.d.ts +3 -2
- package/dist/types/lib/document/document-table-data-policy.d.ts +15 -0
- package/dist/types/lib/filter-values/filter-mode.d.ts +22 -0
- package/dist/types/lib/hooks/use-calendar-context.d.ts +5 -0
- package/dist/types/lib/hooks/use-filter-option-browse.d.ts +5 -0
- package/dist/types/lib/hooks/use-text-filter.d.ts +9 -0
- package/dist/types/lib/print/print-inputs.d.ts +4 -2
- package/dist/types/lib/query-context/build-card-query-context.d.ts +12 -4
- package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +93 -0
- package/dist/types/lib/query-context/card-server-request.d.ts +72 -0
- package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +7 -0
- package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +56 -0
- package/dist/types/lib/query-context/document-section-card-query.d.ts +45 -0
- package/dist/types/lib/query-context/resolve-runtime-card-filters.d.ts +17 -2
- package/dist/types/lib/stores/dashboard-store.d.ts +34 -11
- package/dist/types/lib/stores/editor-store.d.ts +4 -2
- package/dist/types/lib/types/token-types.d.ts +11 -0
- package/dist/types/lib/utils/card-type-change.d.ts +30 -0
- package/dist/types/lib/utils/comparison-window-caption.d.ts +12 -0
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +13 -2
- package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +74 -0
- package/dist/types/shared/analytics-protocol/contracts.d.ts +3 -0
- package/dist/types/shared/analytics-protocol/filter-field-ownership.d.ts +43 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +3 -0
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/visual-choice.d.ts +75 -0
- package/dist/types/shared/assistant-context/index.d.ts +9 -0
- package/dist/types/shared/assistant-context/project-context.d.ts +55 -0
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +130 -0
- package/dist/types/shared/assistant-protocol/add-to-dashboard.d.ts +17 -0
- package/dist/types/shared/assistant-protocol/artifact.d.ts +63 -0
- package/dist/types/shared/assistant-protocol/availability.d.ts +39 -0
- package/dist/types/shared/assistant-protocol/context.d.ts +952 -0
- package/dist/types/shared/assistant-protocol/conversation.d.ts +38 -0
- package/dist/types/shared/assistant-protocol/index.d.ts +16 -0
- package/dist/types/shared/assistant-protocol/limits.d.ts +53 -0
- package/dist/types/shared/assistant-protocol/parts.d.ts +140 -0
- package/dist/types/shared/assistant-protocol/request.d.ts +77 -0
- package/dist/types/shared/assistant-protocol/sources.d.ts +27 -0
- package/dist/types/shared/assistant-protocol/token-config.d.ts +32 -0
- package/dist/types/shared/assistant-protocol/transcript.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +112 -0
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +1794 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/new-card.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/resolved-primary-date-field-validation.d.ts +16 -0
- package/dist/types/shared/format-utils/filter-detail.d.ts +70 -0
- package/dist/types/shared/format-utils/filter-value-text.d.ts +15 -0
- package/dist/types/shared/format-utils/index.d.ts +3 -0
- package/dist/types/shared/format-utils/raw-temporal.d.ts +7 -0
- package/dist/types/shared/format-utils/temporal-bucket.d.ts +7 -0
- package/dist/types/shared/layouts/frame-layouts.d.ts +23 -0
- package/dist/types/shared/layouts/index.d.ts +1 -0
- package/package.json +12 -2
- package/dist/chunks/calculated-field-identity-BptYhyOP.js +0 -1326
- package/dist/chunks/calendar-day-equality-BRjN1S9h.js +0 -383
- package/dist/chunks/card-config-utils-BOM1dxCk.js +0 -1150
- package/dist/chunks/constants-DNWVy8Y3.js +0 -9
- package/dist/chunks/dashboard-json-B1dEQu98.js +0 -65
- package/dist/chunks/field-aggregations-CoLzYHeL.js +0 -1229
- package/dist/chunks/index-DTcTAGGM.js +0 -4101
- package/dist/chunks/matrix-continuation-C4sRcjZU.js +0 -72
- package/dist/chunks/matrix-control-sources-DTqcA2_L.js +0 -636
- package/dist/chunks/matrix-definition-D9iShKZI.js +0 -87
- package/dist/chunks/matrix-member-presentation-Ct8GuxHt.js +0 -209
- package/dist/chunks/numeric-presentation-CWu3gunq.js +0 -537
- package/dist/chunks/pivot-header-presentation-CHs2GFrM.js +0 -753
- package/dist/chunks/pivot-result-lifecycle-DQz_gjGu.js +0 -789
- package/dist/chunks/raw-temporal-iMXRK-Qz.js +0 -930
- package/dist/chunks/report-preferences-dialog-DXPjteCU.js +0 -1623
- package/dist/chunks/save-kO6cIaob.js +0 -34
- package/dist/chunks/semantic-format-DiqYeKwU.js +0 -192
- package/dist/chunks/switch-DO8a0EfJ.js +0 -25004
- package/dist/chunks/temporal-input-presentation-BD7YNUzu.js +0 -195
- package/dist/chunks/x-CXDkqdur.js +0 -149
- package/dist/types/lib/class-utils.d.ts +0 -2
- package/dist/types/lib/document/document-input-runtime.d.ts +0 -26
- package/dist/types/lib/utils.d.ts +0 -51
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { z as y, A as N } from "./validators-Ej1DdCXa.js";
|
|
2
|
+
import { g as k } from "./zoned-wall-clock-MulfA26h.js";
|
|
3
|
+
import { s as D } from "./raw-temporal-D61lr48Y.js";
|
|
4
|
+
import { d as T, p as L } from "./temporal-bucket-D8JF7zKz.js";
|
|
5
|
+
const d = { kind: "plain" }, g = { kind: "temporal" }, O = {
|
|
6
|
+
"=": "=",
|
|
7
|
+
"!=": "!=",
|
|
8
|
+
">": ">",
|
|
9
|
+
">=": ">=",
|
|
10
|
+
"<": "<",
|
|
11
|
+
"<=": "<=",
|
|
12
|
+
in: "in",
|
|
13
|
+
"not in": "not in",
|
|
14
|
+
between: "between",
|
|
15
|
+
"not between": "not between",
|
|
16
|
+
contains: "contains (ignoring case)",
|
|
17
|
+
startsWith: "starts with (ignoring case)",
|
|
18
|
+
endsWith: "ends with (ignoring case)",
|
|
19
|
+
like: "matches the LIKE pattern (ignoring case)",
|
|
20
|
+
"not like": "does not match the LIKE pattern (ignoring case)",
|
|
21
|
+
isNull: "is empty",
|
|
22
|
+
isNotNull: "is not empty"
|
|
23
|
+
}, S = { between: "in", "not between": "not in" };
|
|
24
|
+
function V(t, n = {}) {
|
|
25
|
+
const { operator: e, values: i, reading: r } = t, o = r.kind === "bucket" ? `${t.subject} (${T(r.bucket)})` : t.subject, s = O[e], u = t.shownAs ? ` (shown as ${JSON.stringify(t.shownAs)})` : "", c = (a, f = 0) => ({ text: a, omittedValues: f });
|
|
26
|
+
if (e === "isNull" || e === "isNotNull") return c(`${o} ${s}`);
|
|
27
|
+
if (t.latestValue)
|
|
28
|
+
return c(`${o} ${s} the latest value of this field (resolved at run time)`);
|
|
29
|
+
if (e === "between" || e === "not between") {
|
|
30
|
+
const a = i.length === 2 ? A(i[0], i[1], r, n.timeZone) : void 0;
|
|
31
|
+
if (t.relative)
|
|
32
|
+
return c(`${o} ${S[e]} ${R(t.relative, a)}`);
|
|
33
|
+
if (a) {
|
|
34
|
+
const f = a.wholeDaysIn ? ` (whole days in ${a.wholeDaysIn})` : "";
|
|
35
|
+
return c(`${o} ${s} ${a.from} and ${a.to}${f}${u}`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return e === "in" || e === "not in" || i.length !== 1 ? c(
|
|
39
|
+
`${o} ${s} (${I(i, r, n.maxListedValues)})${u}`,
|
|
40
|
+
b(i.length, n.maxListedValues)
|
|
41
|
+
) : c(`${o} ${s} ${l(i[0], r)}${u}`);
|
|
42
|
+
}
|
|
43
|
+
function W(t, n = {}) {
|
|
44
|
+
return t == null ? { text: "no value", omittedValues: 0 } : Array.isArray(t) ? {
|
|
45
|
+
text: I(t, d, n.maxListedValues),
|
|
46
|
+
omittedValues: b(t.length, n.maxListedValues)
|
|
47
|
+
} : { text: l(t), omittedValues: 0 };
|
|
48
|
+
}
|
|
49
|
+
function l(t, n = d) {
|
|
50
|
+
if (n.kind !== "plain") {
|
|
51
|
+
const e = p(t, n);
|
|
52
|
+
if (e !== void 0) return e;
|
|
53
|
+
}
|
|
54
|
+
return t instanceof Date ? p(t, g) ?? JSON.stringify(String(t)) : t === void 0 ? "null" : typeof t == "number" || typeof t == "boolean" || t === null ? String(t) : JSON.stringify(t) ?? String(t);
|
|
55
|
+
}
|
|
56
|
+
function I(t, n = d, e = Number.POSITIVE_INFINITY) {
|
|
57
|
+
const i = t.slice(0, Number.isFinite(e) ? e : void 0).map((o) => l(o, n)).join(", "), r = b(t.length, e);
|
|
58
|
+
return r > 0 ? `${i}, and ${r} more values` : i;
|
|
59
|
+
}
|
|
60
|
+
function b(t, n = Number.POSITIVE_INFINITY) {
|
|
61
|
+
return Math.max(0, t - n);
|
|
62
|
+
}
|
|
63
|
+
function m(t) {
|
|
64
|
+
if (t instanceof Date)
|
|
65
|
+
return Number.isNaN(t.getTime()) ? void 0 : { kind: "instant", instant: t };
|
|
66
|
+
if (typeof t != "string") return;
|
|
67
|
+
const n = D(t);
|
|
68
|
+
return n === "instant" ? { kind: n, instant: new Date(t) } : n ? { kind: n, text: t } : void 0;
|
|
69
|
+
}
|
|
70
|
+
function p(t, n) {
|
|
71
|
+
if (n.kind === "bucket")
|
|
72
|
+
return typeof t == "string" && L(t, n.bucket).ok ? t : void 0;
|
|
73
|
+
const e = m(t);
|
|
74
|
+
if (e)
|
|
75
|
+
return e.kind === "instant" ? e.instant.toISOString() : e.text;
|
|
76
|
+
}
|
|
77
|
+
function A(t, n, e, i) {
|
|
78
|
+
const r = e.kind === "temporal" ? m(t) : void 0, o = e.kind === "temporal" ? m(n) : void 0;
|
|
79
|
+
if (i && (r == null ? void 0 : r.kind) === "instant" && (o == null ? void 0 : o.kind) === "instant") {
|
|
80
|
+
const s = w(r.instant, i), u = w(o.instant, i);
|
|
81
|
+
if (s && u && s.time === "00:00:00" && r.instant.getUTCMilliseconds() === 0 && u.time === "23:59:59" && [0, 999].includes(o.instant.getUTCMilliseconds()))
|
|
82
|
+
return { from: s.date, to: u.date, wholeDaysIn: i };
|
|
83
|
+
}
|
|
84
|
+
return { from: l(t, e), to: l(n, e) };
|
|
85
|
+
}
|
|
86
|
+
function w(t, n) {
|
|
87
|
+
try {
|
|
88
|
+
const e = Object.fromEntries(
|
|
89
|
+
new Intl.DateTimeFormat("en-CA", {
|
|
90
|
+
timeZone: n,
|
|
91
|
+
year: "numeric",
|
|
92
|
+
month: "2-digit",
|
|
93
|
+
day: "2-digit",
|
|
94
|
+
hour: "2-digit",
|
|
95
|
+
minute: "2-digit",
|
|
96
|
+
second: "2-digit",
|
|
97
|
+
hourCycle: "h23"
|
|
98
|
+
}).formatToParts(t).map((i) => [i.type, i.value])
|
|
99
|
+
);
|
|
100
|
+
return {
|
|
101
|
+
date: `${e.year}-${e.month}-${e.day}`,
|
|
102
|
+
time: `${e.hour}:${e.minute}:${e.second}`
|
|
103
|
+
};
|
|
104
|
+
} catch {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
const $ = (t, n) => `${t} ${n}${Math.abs(t) === 1 ? "" : "s"}`;
|
|
109
|
+
function h(t, n) {
|
|
110
|
+
return t === 0 ? `the current ${n}` : t < 0 ? `${$(-t, n)} before the current one` : `${$(t, n)} after the current one`;
|
|
111
|
+
}
|
|
112
|
+
function F(t) {
|
|
113
|
+
switch (t.mode) {
|
|
114
|
+
case "last": {
|
|
115
|
+
const n = $(t.n, t.unit);
|
|
116
|
+
return y(t) ? t.complete ? `the ${n} before the ${t.unit} of the latest date in the data, whole ${t.unit}s only` : `the last ${n}, up to the latest date in the data` : t.complete ? `the ${n} before the current ${t.unit}, whole ${t.unit}s only` : `the last ${n}, up to now`;
|
|
117
|
+
}
|
|
118
|
+
case "this":
|
|
119
|
+
return t.boundary === "first_day" ? "the first day of the current month" : t.boundary === "last_day" ? "the last day of the current month" : t.toDate ? `the current ${t.unit} up to now` : `the whole current ${t.unit}`;
|
|
120
|
+
case "previous":
|
|
121
|
+
return `the ${t.unit} before the current one`;
|
|
122
|
+
case "between":
|
|
123
|
+
return t.from === t.to ? h(t.from, t.unit) : `from ${h(t.from, t.unit)} through ${h(t.to, t.unit)}`;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
function R(t, n) {
|
|
127
|
+
const e = k(t), i = n && !y(t) ? `; last resolved here as ${n.from} to ${n.to}${n.wholeDaysIn ? `, whole days in ${n.wholeDaysIn}` : ""}` : "";
|
|
128
|
+
return `${e ? `${JSON.stringify(e)} ` : ""}(relative window: ${F(t)}; resolved again at run time${i})`;
|
|
129
|
+
}
|
|
130
|
+
const E = {
|
|
131
|
+
"=": "=",
|
|
132
|
+
"!=": "!=",
|
|
133
|
+
">": ">",
|
|
134
|
+
">=": ">=",
|
|
135
|
+
"<": "<",
|
|
136
|
+
"<=": "<=",
|
|
137
|
+
in: "in",
|
|
138
|
+
"not in": "not in",
|
|
139
|
+
like: "like",
|
|
140
|
+
"not like": "not like",
|
|
141
|
+
between: "between",
|
|
142
|
+
"not between": "not between",
|
|
143
|
+
"is null": "isNull",
|
|
144
|
+
"is not null": "isNotNull"
|
|
145
|
+
};
|
|
146
|
+
function M(t, n, e = {}) {
|
|
147
|
+
const i = t.valueType === "date";
|
|
148
|
+
return V({
|
|
149
|
+
subject: n,
|
|
150
|
+
operator: E[t.operation],
|
|
151
|
+
values: t.values,
|
|
152
|
+
reading: i ? g : d,
|
|
153
|
+
...i ? { relative: N(t.relativeMeta) } : {}
|
|
154
|
+
}, e);
|
|
155
|
+
}
|
|
156
|
+
export {
|
|
157
|
+
d as P,
|
|
158
|
+
g as T,
|
|
159
|
+
V as a,
|
|
160
|
+
W as b,
|
|
161
|
+
M as d,
|
|
162
|
+
b as o
|
|
163
|
+
};
|