@ram_28/kf-ai-sdk 1.0.19 → 1.0.21
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/README.md +45 -12
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/datetime.d.ts +59 -10
- package/dist/api/datetime.d.ts.map +1 -1
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.mjs +43 -21
- package/dist/api.types.d.ts +2 -1
- package/dist/api.types.d.ts.map +1 -1
- package/dist/auth/AuthProvider.d.ts.map +1 -1
- package/dist/auth.cjs +1 -1
- package/dist/auth.mjs +34 -34
- package/dist/base-types.d.ts +1 -1
- package/dist/base-types.d.ts.map +1 -1
- package/dist/client-BIkaIr2y.js +217 -0
- package/dist/client-DxjRcEtN.cjs +1 -0
- package/dist/components/hooks/useFilter/types.d.ts +14 -11
- package/dist/components/hooks/useFilter/types.d.ts.map +1 -1
- package/dist/components/hooks/useFilter/useFilter.d.ts +1 -1
- package/dist/components/hooks/useFilter/useFilter.d.ts.map +1 -1
- package/dist/components/hooks/useForm/apiClient.d.ts +45 -4
- package/dist/components/hooks/useForm/apiClient.d.ts.map +1 -1
- package/dist/components/hooks/useForm/useForm.d.ts.map +1 -1
- package/dist/components/hooks/useKanban/types.d.ts +5 -22
- package/dist/components/hooks/useKanban/types.d.ts.map +1 -1
- package/dist/components/hooks/useKanban/useKanban.d.ts.map +1 -1
- package/dist/components/hooks/useTable/types.d.ts +19 -31
- package/dist/components/hooks/useTable/types.d.ts.map +1 -1
- package/dist/components/hooks/useTable/useTable.d.ts.map +1 -1
- package/dist/error-handling-CAoD0Kwb.cjs +1 -0
- package/dist/error-handling-CrhTtD88.js +14 -0
- package/dist/filter.cjs +1 -1
- package/dist/filter.mjs +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.mjs +736 -750
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/kanban.cjs +2 -2
- package/dist/kanban.mjs +333 -323
- package/dist/{metadata-0lZAfuTP.cjs → metadata-Bz8zJqC1.cjs} +1 -1
- package/dist/{metadata-B88D_pVS.js → metadata-VbQzyD2C.js} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.mjs +113 -96
- package/dist/table.types.d.ts +1 -1
- package/dist/table.types.d.ts.map +1 -1
- package/dist/types/base-fields.d.ts +71 -17
- package/dist/types/base-fields.d.ts.map +1 -1
- package/dist/types/common.d.ts +26 -18
- package/dist/types/common.d.ts.map +1 -1
- package/dist/useFilter-DzpP_ag0.cjs +1 -0
- package/dist/useFilter-H5bgAZQF.js +120 -0
- package/dist/utils/api/buildListOptions.d.ts +43 -0
- package/dist/utils/api/buildListOptions.d.ts.map +1 -0
- package/dist/utils/api/index.d.ts +2 -0
- package/dist/utils/api/index.d.ts.map +1 -0
- package/dist/utils/error-handling.d.ts +41 -0
- package/dist/utils/error-handling.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/docs/QUICK_REFERENCE.md +142 -420
- package/docs/useAuth.md +52 -340
- package/docs/useFilter.md +858 -162
- package/docs/useForm.md +712 -501
- package/docs/useKanban.md +534 -279
- package/docs/useTable.md +725 -214
- package/package.json +1 -1
- package/sdk/api/client.ts +3 -41
- package/sdk/api/datetime.ts +98 -14
- package/sdk/api/index.ts +12 -6
- package/sdk/api.ts +6 -3
- package/sdk/api.types.ts +3 -4
- package/sdk/auth/AuthProvider.tsx +22 -24
- package/sdk/base-types.ts +2 -0
- package/sdk/components/hooks/useFilter/types.ts +14 -11
- package/sdk/components/hooks/useFilter/useFilter.ts +20 -18
- package/sdk/components/hooks/useForm/apiClient.ts +120 -5
- package/sdk/components/hooks/useForm/useForm.ts +97 -61
- package/sdk/components/hooks/useKanban/types.ts +7 -23
- package/sdk/components/hooks/useKanban/useKanban.ts +54 -18
- package/sdk/components/hooks/useTable/types.ts +26 -32
- package/sdk/components/hooks/useTable/useTable.llm.txt +8 -22
- package/sdk/components/hooks/useTable/useTable.ts +70 -25
- package/sdk/index.ts +157 -10
- package/sdk/table.types.ts +3 -0
- package/sdk/types/base-fields.ts +71 -17
- package/sdk/types/common.ts +33 -19
- package/sdk/utils/api/buildListOptions.ts +120 -0
- package/sdk/utils/api/index.ts +2 -0
- package/sdk/utils/error-handling.ts +150 -0
- package/sdk/utils/index.ts +6 -0
- package/dist/client-DgtkT50N.cjs +0 -1
- package/dist/client-V-WzUb8H.js +0 -237
- package/dist/useFilter-Dofowpr_.cjs +0 -1
- package/dist/useFilter-Dv-mr9QW.js +0 -117
package/dist/client-V-WzUb8H.js
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
let o = {
|
|
2
|
-
baseUrl: "",
|
|
3
|
-
headers: {
|
|
4
|
-
"Content-Type": "application/json"
|
|
5
|
-
}
|
|
6
|
-
};
|
|
7
|
-
function u(e) {
|
|
8
|
-
o.baseUrl = e;
|
|
9
|
-
}
|
|
10
|
-
function h(e) {
|
|
11
|
-
o.headers = { ...o.headers, ...e };
|
|
12
|
-
}
|
|
13
|
-
function d() {
|
|
14
|
-
return { ...o.headers };
|
|
15
|
-
}
|
|
16
|
-
function w() {
|
|
17
|
-
return o.baseUrl || "";
|
|
18
|
-
}
|
|
19
|
-
function i(e) {
|
|
20
|
-
if (e == null)
|
|
21
|
-
return e;
|
|
22
|
-
if (Array.isArray(e))
|
|
23
|
-
return e.map((s) => i(s));
|
|
24
|
-
if (typeof e == "object") {
|
|
25
|
-
if ("$__dt__" in e)
|
|
26
|
-
return new Date(e.$__dt__ * 1e3);
|
|
27
|
-
if ("$__d__" in e)
|
|
28
|
-
return new Date(e.$__d__);
|
|
29
|
-
const s = {};
|
|
30
|
-
for (const [n, t] of Object.entries(e))
|
|
31
|
-
s[n] = i(t);
|
|
32
|
-
return s;
|
|
33
|
-
}
|
|
34
|
-
return e;
|
|
35
|
-
}
|
|
36
|
-
function y(e) {
|
|
37
|
-
const s = o.baseUrl, n = o.headers;
|
|
38
|
-
return {
|
|
39
|
-
async get(t) {
|
|
40
|
-
const r = await fetch(`${s}/api/app/${e}/${t}/read`, {
|
|
41
|
-
method: "GET",
|
|
42
|
-
headers: n
|
|
43
|
-
});
|
|
44
|
-
if (!r.ok)
|
|
45
|
-
throw new Error(`Failed to get ${e} ${t}: ${r.statusText}`);
|
|
46
|
-
const a = await r.json();
|
|
47
|
-
return i(a.Data);
|
|
48
|
-
},
|
|
49
|
-
async create(t) {
|
|
50
|
-
const r = await fetch(`${s}/api/app/${e}/create`, {
|
|
51
|
-
method: "POST",
|
|
52
|
-
headers: n,
|
|
53
|
-
body: JSON.stringify(t)
|
|
54
|
-
});
|
|
55
|
-
if (!r.ok)
|
|
56
|
-
throw new Error(`Failed to create ${e}: ${r.statusText}`);
|
|
57
|
-
return r.json();
|
|
58
|
-
},
|
|
59
|
-
async update(t, r) {
|
|
60
|
-
const a = await fetch(`${s}/api/app/${e}/${t}/update`, {
|
|
61
|
-
method: "POST",
|
|
62
|
-
headers: n,
|
|
63
|
-
body: JSON.stringify(r)
|
|
64
|
-
});
|
|
65
|
-
if (!a.ok)
|
|
66
|
-
throw new Error(
|
|
67
|
-
`Failed to update ${e} ${t}: ${a.statusText}`
|
|
68
|
-
);
|
|
69
|
-
return a.json();
|
|
70
|
-
},
|
|
71
|
-
async delete(t) {
|
|
72
|
-
const r = await fetch(`${s}/api/app/${e}/${t}/delete`, {
|
|
73
|
-
method: "DELETE",
|
|
74
|
-
headers: n
|
|
75
|
-
});
|
|
76
|
-
if (!r.ok)
|
|
77
|
-
throw new Error(
|
|
78
|
-
`Failed to delete ${e} ${t}: ${r.statusText}`
|
|
79
|
-
);
|
|
80
|
-
return r.json();
|
|
81
|
-
},
|
|
82
|
-
async list(t) {
|
|
83
|
-
const r = {
|
|
84
|
-
Type: "List",
|
|
85
|
-
...t
|
|
86
|
-
}, a = await fetch(`${s}/api/app/${e}/list`, {
|
|
87
|
-
method: "POST",
|
|
88
|
-
headers: n,
|
|
89
|
-
body: JSON.stringify(r)
|
|
90
|
-
});
|
|
91
|
-
if (!a.ok)
|
|
92
|
-
throw new Error(`Failed to list ${e}: ${a.statusText}`);
|
|
93
|
-
return {
|
|
94
|
-
Data: (await a.json()).Data.map((f) => i(f))
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
async count(t) {
|
|
98
|
-
var p, $;
|
|
99
|
-
const r = {
|
|
100
|
-
Type: "Metric",
|
|
101
|
-
GroupBy: [],
|
|
102
|
-
Metric: [{ Field: "_id", Type: "Count" }],
|
|
103
|
-
...(t == null ? void 0 : t.Filter) && { Filter: t.Filter }
|
|
104
|
-
}, a = await fetch(`${s}/api/app/${e}/metric`, {
|
|
105
|
-
method: "POST",
|
|
106
|
-
headers: n,
|
|
107
|
-
body: JSON.stringify(r)
|
|
108
|
-
});
|
|
109
|
-
if (!a.ok)
|
|
110
|
-
throw new Error(`Failed to count ${e}: ${a.statusText}`);
|
|
111
|
-
return { Count: (($ = (p = (await a.json()).Data) == null ? void 0 : p[0]) == null ? void 0 : $.count__id) ?? 0 };
|
|
112
|
-
},
|
|
113
|
-
// ============================================================
|
|
114
|
-
// DRAFT/INTERACTIVE OPERATIONS
|
|
115
|
-
// ============================================================
|
|
116
|
-
async draft(t) {
|
|
117
|
-
const r = await fetch(`${s}/api/app/${e}/draft`, {
|
|
118
|
-
method: "POST",
|
|
119
|
-
headers: n,
|
|
120
|
-
body: JSON.stringify(t)
|
|
121
|
-
});
|
|
122
|
-
if (!r.ok)
|
|
123
|
-
throw new Error(
|
|
124
|
-
`Failed to create draft for ${e}: ${r.statusText}`
|
|
125
|
-
);
|
|
126
|
-
return r.json();
|
|
127
|
-
},
|
|
128
|
-
async draftUpdate(t, r) {
|
|
129
|
-
const a = await fetch(`${s}/api/app/${e}/${t}/draft`, {
|
|
130
|
-
method: "POST",
|
|
131
|
-
headers: n,
|
|
132
|
-
body: JSON.stringify(r)
|
|
133
|
-
});
|
|
134
|
-
if (!a.ok)
|
|
135
|
-
throw new Error(
|
|
136
|
-
`Failed to update draft for ${e} ${t}: ${a.statusText}`
|
|
137
|
-
);
|
|
138
|
-
return a.json();
|
|
139
|
-
},
|
|
140
|
-
async draftPatch(t, r) {
|
|
141
|
-
const a = await fetch(`${s}/api/app/${e}/${t}/draft`, {
|
|
142
|
-
method: "PATCH",
|
|
143
|
-
headers: n,
|
|
144
|
-
body: JSON.stringify(r)
|
|
145
|
-
});
|
|
146
|
-
if (!a.ok)
|
|
147
|
-
throw new Error(
|
|
148
|
-
`Failed to patch draft for ${e} ${t}: ${a.statusText}`
|
|
149
|
-
);
|
|
150
|
-
return a.json();
|
|
151
|
-
},
|
|
152
|
-
async draftInteraction(t) {
|
|
153
|
-
const r = await fetch(`${s}/api/app/${e}/draft`, {
|
|
154
|
-
method: "PATCH",
|
|
155
|
-
headers: n,
|
|
156
|
-
body: JSON.stringify(t)
|
|
157
|
-
});
|
|
158
|
-
if (!r.ok)
|
|
159
|
-
throw new Error(
|
|
160
|
-
`Failed to create interactive draft for ${e}: ${r.statusText}`
|
|
161
|
-
);
|
|
162
|
-
const a = await r.json();
|
|
163
|
-
return {
|
|
164
|
-
...a.Data,
|
|
165
|
-
_id: a.Data._id
|
|
166
|
-
};
|
|
167
|
-
},
|
|
168
|
-
// ============================================================
|
|
169
|
-
// QUERY OPERATIONS
|
|
170
|
-
// ============================================================
|
|
171
|
-
async metric(t) {
|
|
172
|
-
const r = {
|
|
173
|
-
Type: "Metric",
|
|
174
|
-
...t
|
|
175
|
-
}, a = await fetch(`${s}/api/app/${e}/metric`, {
|
|
176
|
-
method: "POST",
|
|
177
|
-
headers: n,
|
|
178
|
-
body: JSON.stringify(r)
|
|
179
|
-
});
|
|
180
|
-
if (!a.ok)
|
|
181
|
-
throw new Error(
|
|
182
|
-
`Failed to get metrics for ${e}: ${a.statusText}`
|
|
183
|
-
);
|
|
184
|
-
return a.json();
|
|
185
|
-
},
|
|
186
|
-
async pivot(t) {
|
|
187
|
-
const r = {
|
|
188
|
-
Type: "Pivot",
|
|
189
|
-
...t
|
|
190
|
-
}, a = await fetch(`${s}/api/app/${e}/pivot`, {
|
|
191
|
-
method: "POST",
|
|
192
|
-
headers: n,
|
|
193
|
-
body: JSON.stringify(r)
|
|
194
|
-
});
|
|
195
|
-
if (!a.ok)
|
|
196
|
-
throw new Error(
|
|
197
|
-
`Failed to get pivot data for ${e}: ${a.statusText}`
|
|
198
|
-
);
|
|
199
|
-
return a.json();
|
|
200
|
-
},
|
|
201
|
-
// ============================================================
|
|
202
|
-
// METADATA OPERATIONS
|
|
203
|
-
// ============================================================
|
|
204
|
-
async fields() {
|
|
205
|
-
const t = await fetch(`${s}/api/app/${e}/fields`, {
|
|
206
|
-
method: "GET",
|
|
207
|
-
headers: n
|
|
208
|
-
});
|
|
209
|
-
if (!t.ok)
|
|
210
|
-
throw new Error(
|
|
211
|
-
`Failed to get fields for ${e}: ${t.statusText}`
|
|
212
|
-
);
|
|
213
|
-
return t.json();
|
|
214
|
-
},
|
|
215
|
-
async fetchField(t, r) {
|
|
216
|
-
const a = await fetch(
|
|
217
|
-
`${s}/api/app/${e}/${t}/field/${r}/fetch`,
|
|
218
|
-
{
|
|
219
|
-
method: "GET",
|
|
220
|
-
headers: n
|
|
221
|
-
}
|
|
222
|
-
);
|
|
223
|
-
if (!a.ok)
|
|
224
|
-
throw new Error(
|
|
225
|
-
`Failed to fetch field ${r} for ${e}: ${a.statusText}`
|
|
226
|
-
);
|
|
227
|
-
return (await a.json()).Data;
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
export {
|
|
232
|
-
y as a,
|
|
233
|
-
h as b,
|
|
234
|
-
w as c,
|
|
235
|
-
d as g,
|
|
236
|
-
u as s
|
|
237
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const u=require("react"),d=r=>"Condition"in r,R=r=>"LHSField"in r;let _=0;const l=()=>`filter_${Date.now()}_${++_}`,$=r=>r.id?r:{...r,id:l()},k=r=>r.map(o=>{const n=$(o);return d(n)?{...n,Condition:k(n.Condition)}:n}),O=r=>r.map(o=>{if(d(o)){const{id:b,...C}=o;return{...C,Condition:O(o.Condition)}}const{id:n,...t}=o;return t}),h=(r,o)=>{for(const n of r){if(n.id===o)return n;if(d(n)){const t=h(n.Condition,o);if(t)return t}}},f=(r,o,n)=>r.map(t=>t.id===o?n(t):d(t)?{...t,Condition:f(t.Condition,o,n)}:t),G=(r,o)=>r.filter(n=>n.id!==o).map(n=>d(n)?{...n,Condition:G(n.Condition,o)}:n),p=(r,o,n)=>r.map(t=>t.id===o&&d(t)?{...t,Condition:[...t.Condition,n]}:d(t)?{...t,Condition:p(t.Condition,o,n)}:t);function q(r={}){const[o,n]=u.useState(()=>k(r.initialConditions||[])),[t,b]=u.useState(r.initialOperator||"And"),C=u.useMemo(()=>{if(o.length!==0)return{Operator:t,Condition:O(o)}},[o,t]),g=o.length>0,v=u.useCallback((i,s)=>{const c=l(),e={...i,id:c};return n(s?a=>p(a,s,e):a=>[...a,e]),c},[]),F=u.useCallback((i,s)=>{const c=l(),e={id:c,Operator:i,Condition:[]};return n(s?a=>p(a,s,e):a=>[...a,e]),c},[]),I=u.useCallback((i,s)=>{n(c=>f(c,i,e=>d(e)?e:{...e,...s}))},[]),S=u.useCallback((i,s)=>{n(c=>f(c,i,e=>d(e)?{...e,Operator:s}:e))},[]),w=u.useCallback(i=>{n(s=>G(s,i))},[]),T=u.useCallback(i=>h(o,i),[o]),y=u.useCallback(()=>{n([])},[]),A=u.useCallback(i=>{b(i)},[]);return{operator:t,items:o,payload:C,hasConditions:g,addCondition:v,addConditionGroup:F,updateCondition:I,updateGroupOperator:S,removeCondition:w,getCondition:T,clearAllConditions:y,setRootOperator:A}}exports.isCondition=R;exports.isConditionGroup=d;exports.useFilter=q;
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { useState as h, useMemo as k, useCallback as c } from "react";
|
|
2
|
-
const u = (t) => "Condition" in t, H = (t) => "LHSField" in t;
|
|
3
|
-
let x = 0;
|
|
4
|
-
const f = () => `filter_${Date.now()}_${++x}`, B = (t) => t.id ? t : { ...t, id: f() }, g = (t) => t.map((o) => {
|
|
5
|
-
const n = B(o);
|
|
6
|
-
return u(n) ? {
|
|
7
|
-
...n,
|
|
8
|
-
Condition: g(n.Condition)
|
|
9
|
-
} : n;
|
|
10
|
-
}), v = (t) => t.map((o) => {
|
|
11
|
-
if (u(o)) {
|
|
12
|
-
const { id: O, ...C } = o;
|
|
13
|
-
return {
|
|
14
|
-
...C,
|
|
15
|
-
Condition: v(o.Condition)
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
const { id: n, ...r } = o;
|
|
19
|
-
return r;
|
|
20
|
-
}), G = (t, o) => {
|
|
21
|
-
for (const n of t) {
|
|
22
|
-
if (n.id === o)
|
|
23
|
-
return n;
|
|
24
|
-
if (u(n)) {
|
|
25
|
-
const r = G(n.Condition, o);
|
|
26
|
-
if (r) return r;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}, p = (t, o, n) => t.map((r) => r.id === o ? n(r) : u(r) ? {
|
|
30
|
-
...r,
|
|
31
|
-
Condition: p(r.Condition, o, n)
|
|
32
|
-
} : r), I = (t, o) => t.filter((n) => n.id !== o).map((n) => u(n) ? {
|
|
33
|
-
...n,
|
|
34
|
-
Condition: I(n.Condition, o)
|
|
35
|
-
} : n), l = (t, o, n) => t.map((r) => r.id === o && u(r) ? {
|
|
36
|
-
...r,
|
|
37
|
-
Condition: [...r.Condition, n]
|
|
38
|
-
} : u(r) ? {
|
|
39
|
-
...r,
|
|
40
|
-
Condition: l(r.Condition, o, n)
|
|
41
|
-
} : r);
|
|
42
|
-
function L(t = {}) {
|
|
43
|
-
const [o, n] = h(
|
|
44
|
-
() => g(t.initialConditions || [])
|
|
45
|
-
), [r, O] = h(
|
|
46
|
-
t.initialOperator || "And"
|
|
47
|
-
), C = k(() => {
|
|
48
|
-
if (o.length !== 0)
|
|
49
|
-
return {
|
|
50
|
-
Operator: r,
|
|
51
|
-
Condition: v(o)
|
|
52
|
-
};
|
|
53
|
-
}, [o, r]), w = o.length > 0, F = c(
|
|
54
|
-
(i, s) => {
|
|
55
|
-
const d = f(), e = { ...i, id: d };
|
|
56
|
-
return n(s ? (a) => l(a, s, e) : (a) => [...a, e]), d;
|
|
57
|
-
},
|
|
58
|
-
[]
|
|
59
|
-
), S = c(
|
|
60
|
-
(i, s) => {
|
|
61
|
-
const d = f(), e = {
|
|
62
|
-
id: d,
|
|
63
|
-
Operator: i,
|
|
64
|
-
Condition: []
|
|
65
|
-
};
|
|
66
|
-
return n(s ? (a) => l(a, s, e) : (a) => [...a, e]), d;
|
|
67
|
-
},
|
|
68
|
-
[]
|
|
69
|
-
), T = c(
|
|
70
|
-
(i, s) => {
|
|
71
|
-
n(
|
|
72
|
-
(d) => p(d, i, (e) => u(e) ? e : { ...e, ...s })
|
|
73
|
-
);
|
|
74
|
-
},
|
|
75
|
-
[]
|
|
76
|
-
), y = c(
|
|
77
|
-
(i, s) => {
|
|
78
|
-
n(
|
|
79
|
-
(d) => p(d, i, (e) => u(e) ? { ...e, Operator: s } : e)
|
|
80
|
-
);
|
|
81
|
-
},
|
|
82
|
-
[]
|
|
83
|
-
), A = c((i) => {
|
|
84
|
-
n((s) => I(s, i));
|
|
85
|
-
}, []), _ = c(
|
|
86
|
-
(i) => G(o, i),
|
|
87
|
-
[o]
|
|
88
|
-
), $ = c(() => {
|
|
89
|
-
n([]);
|
|
90
|
-
}, []), b = c((i) => {
|
|
91
|
-
O(i);
|
|
92
|
-
}, []);
|
|
93
|
-
return {
|
|
94
|
-
// State
|
|
95
|
-
operator: r,
|
|
96
|
-
items: o,
|
|
97
|
-
payload: C,
|
|
98
|
-
hasConditions: w,
|
|
99
|
-
// Add operations
|
|
100
|
-
addCondition: F,
|
|
101
|
-
addConditionGroup: S,
|
|
102
|
-
// Update operations
|
|
103
|
-
updateCondition: T,
|
|
104
|
-
updateGroupOperator: y,
|
|
105
|
-
// Remove & access
|
|
106
|
-
removeCondition: A,
|
|
107
|
-
getCondition: _,
|
|
108
|
-
// Utility
|
|
109
|
-
clearAllConditions: $,
|
|
110
|
-
setRootOperator: b
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
export {
|
|
114
|
-
u as a,
|
|
115
|
-
H as i,
|
|
116
|
-
L as u
|
|
117
|
-
};
|