@geovi/the-datagrid 0.1.1 → 0.1.2
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 +47 -1253
- package/dist/BoolEditor.cjs +1 -1
- package/dist/BoolEditor.js +235 -222
- package/dist/DateEditor.cjs +1 -1
- package/dist/DateEditor.js +297 -273
- package/dist/DateFilter.cjs +1 -1
- package/dist/DateFilter.js +65 -63
- package/dist/NumberFilter.cjs +1 -1
- package/dist/NumberFilter.js +104 -102
- package/dist/NumericEditor.cjs +1 -1
- package/dist/NumericEditor.js +296 -277
- package/dist/SelectEditor.cjs +42 -0
- package/dist/SelectEditor.js +6703 -0
- package/dist/StringFilter.cjs +1 -1
- package/dist/StringFilter.js +121 -119
- package/dist/TextEditor.cjs +2 -0
- package/dist/TextEditor.js +2972 -0
- package/dist/base.css +1 -1
- package/dist/community-package-manifest.json +3 -1
- package/dist/components/ui/input.d.ts +2 -0
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/editors/BoolEditor.d.ts +1 -1
- package/dist/editors/BoolEditor.d.ts.map +1 -1
- package/dist/editors/DateEditor.d.ts +1 -1
- package/dist/editors/DateEditor.d.ts.map +1 -1
- package/dist/editors/NumericEditor.d.ts +1 -1
- package/dist/editors/NumericEditor.d.ts.map +1 -1
- package/dist/editors/SelectEditor.d.ts +27 -0
- package/dist/editors/SelectEditor.d.ts.map +1 -0
- package/dist/editors/TextEditor.d.ts +27 -0
- package/dist/editors/TextEditor.d.ts.map +1 -0
- package/dist/editors/editorTypes.d.ts +24 -0
- package/dist/editors/editorTypes.d.ts.map +1 -1
- package/dist/editors/index.d.ts +5 -0
- package/dist/editors/index.d.ts.map +1 -1
- package/dist/grid/ReactDataGrid.d.ts.map +1 -1
- package/dist/grid/components/GridBody.d.ts.map +1 -1
- package/dist/grid/components/GridContextMenuLayer.d.ts.map +1 -1
- package/dist/grid/hooks/useGridEditing.d.ts.map +1 -1
- package/dist/grid/menuRuntime.d.ts +27 -0
- package/dist/grid/menuRuntime.d.ts.map +1 -0
- package/dist/index.cjs +13 -13
- package/dist/index.css +1 -1
- package/dist/index.js +9435 -9164
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/style/theme/amber-dark/index.css +1 -1
- package/dist/style/theme/amber-light/index.css +1 -1
- package/dist/style/theme/blue-dark/index.css +1 -1
- package/dist/style/theme/blue-light/index.css +1 -1
- package/dist/style/theme/default-dark/index.css +1 -1
- package/dist/style/theme/default-light/index.css +1 -1
- package/dist/style/theme/green-dark/index.css +1 -1
- package/dist/style/theme/green-light/index.css +1 -1
- package/dist/style/theme/pink-dark/index.css +1 -1
- package/dist/style/theme/pink-light/index.css +1 -1
- package/dist/toolbar/RDGToolbar.d.ts.map +1 -1
- package/dist/toolbar/icons.d.ts +0 -2
- package/dist/toolbar/icons.d.ts.map +1 -1
- package/dist/toolbar/runtime.d.ts +7 -0
- package/dist/toolbar/runtime.d.ts.map +1 -1
- package/dist/toolbar.css +1 -1
- package/dist/toolbar.js +548 -651
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +20 -2
package/dist/StringFilter.js
CHANGED
|
@@ -60,13 +60,13 @@ const Xe = (e, o) => {
|
|
|
60
60
|
getClassGroupId: (a) => {
|
|
61
61
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
62
62
|
return Ze(a);
|
|
63
|
-
const p = a.split(te),
|
|
64
|
-
return Ee(p,
|
|
63
|
+
const p = a.split(te), l = p[0] === "" && p.length > 1 ? 1 : 0;
|
|
64
|
+
return Ee(p, l, o);
|
|
65
65
|
},
|
|
66
66
|
getConflictingClassGroupIds: (a, p) => {
|
|
67
67
|
if (p) {
|
|
68
|
-
const
|
|
69
|
-
return
|
|
68
|
+
const l = t[a], f = r[a];
|
|
69
|
+
return l ? f ? Xe(f, l) : l : f || we;
|
|
70
70
|
}
|
|
71
71
|
return r[a] || we;
|
|
72
72
|
}
|
|
@@ -74,16 +74,16 @@ const Xe = (e, o) => {
|
|
|
74
74
|
}, Ee = (e, o, r) => {
|
|
75
75
|
if (e.length - o === 0)
|
|
76
76
|
return r.classGroupId;
|
|
77
|
-
const i = e[o],
|
|
78
|
-
if (
|
|
79
|
-
const f = Ee(e, o + 1,
|
|
77
|
+
const i = e[o], c = r.nextPart.get(i);
|
|
78
|
+
if (c) {
|
|
79
|
+
const f = Ee(e, o + 1, c);
|
|
80
80
|
if (f) return f;
|
|
81
81
|
}
|
|
82
82
|
const a = r.validators;
|
|
83
83
|
if (a === null)
|
|
84
84
|
return;
|
|
85
|
-
const p = o === 0 ? e.join(te) : e.slice(o).join(te),
|
|
86
|
-
for (let f = 0; f <
|
|
85
|
+
const p = o === 0 ? e.join(te) : e.slice(o).join(te), l = a.length;
|
|
86
|
+
for (let f = 0; f < l; f++) {
|
|
87
87
|
const b = a[f];
|
|
88
88
|
if (b.validator(p))
|
|
89
89
|
return b.classGroupId;
|
|
@@ -106,8 +106,8 @@ const Xe = (e, o) => {
|
|
|
106
106
|
return r;
|
|
107
107
|
}, ce = (e, o, r, t) => {
|
|
108
108
|
const i = e.length;
|
|
109
|
-
for (let
|
|
110
|
-
const a = e[
|
|
109
|
+
for (let c = 0; c < i; c++) {
|
|
110
|
+
const a = e[c];
|
|
111
111
|
ot(a, o, r, t);
|
|
112
112
|
}
|
|
113
113
|
}, ot = (e, o, r, t) => {
|
|
@@ -130,16 +130,16 @@ const Xe = (e, o) => {
|
|
|
130
130
|
}
|
|
131
131
|
o.validators === null && (o.validators = []), o.validators.push(Je(r, e));
|
|
132
132
|
}, st = (e, o, r, t) => {
|
|
133
|
-
const i = Object.entries(e),
|
|
134
|
-
for (let a = 0; a <
|
|
135
|
-
const [p,
|
|
136
|
-
ce(
|
|
133
|
+
const i = Object.entries(e), c = i.length;
|
|
134
|
+
for (let a = 0; a < c; a++) {
|
|
135
|
+
const [p, l] = i[a];
|
|
136
|
+
ce(l, Te(o, p), r, t);
|
|
137
137
|
}
|
|
138
138
|
}, Te = (e, o) => {
|
|
139
139
|
let r = e;
|
|
140
140
|
const t = o.split(te), i = t.length;
|
|
141
|
-
for (let
|
|
142
|
-
const a = t[
|
|
141
|
+
for (let c = 0; c < i; c++) {
|
|
142
|
+
const a = t[c];
|
|
143
143
|
let p = r.nextPart.get(a);
|
|
144
144
|
p || (p = Pe(), r.nextPart.set(a, p)), r = p;
|
|
145
145
|
}
|
|
@@ -153,19 +153,19 @@ const Xe = (e, o) => {
|
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
let o = 0, r = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
156
|
-
const i = (
|
|
157
|
-
r[
|
|
156
|
+
const i = (c, a) => {
|
|
157
|
+
r[c] = a, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
|
|
158
158
|
};
|
|
159
159
|
return {
|
|
160
|
-
get(
|
|
161
|
-
let a = r[
|
|
160
|
+
get(c) {
|
|
161
|
+
let a = r[c];
|
|
162
162
|
if (a !== void 0)
|
|
163
163
|
return a;
|
|
164
|
-
if ((a = t[
|
|
165
|
-
return i(
|
|
164
|
+
if ((a = t[c]) !== void 0)
|
|
165
|
+
return i(c, a), a;
|
|
166
166
|
},
|
|
167
|
-
set(
|
|
168
|
-
|
|
167
|
+
set(c, a) {
|
|
168
|
+
c in r ? r[c] = a : i(c, a);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}, ie = "!", ke = ":", lt = [], ye = (e, o, r, t, i) => ({
|
|
@@ -180,14 +180,14 @@ const Xe = (e, o) => {
|
|
|
180
180
|
experimentalParseClassName: r
|
|
181
181
|
} = e;
|
|
182
182
|
let t = (i) => {
|
|
183
|
-
const
|
|
184
|
-
let a = 0, p = 0,
|
|
183
|
+
const c = [];
|
|
184
|
+
let a = 0, p = 0, l = 0, f;
|
|
185
185
|
const b = i.length;
|
|
186
186
|
for (let v = 0; v < b; v++) {
|
|
187
187
|
const C = i[v];
|
|
188
188
|
if (a === 0 && p === 0) {
|
|
189
189
|
if (C === ke) {
|
|
190
|
-
|
|
190
|
+
c.push(i.slice(l, v)), l = v + 1;
|
|
191
191
|
continue;
|
|
192
192
|
}
|
|
193
193
|
if (C === "/") {
|
|
@@ -197,26 +197,26 @@ const Xe = (e, o) => {
|
|
|
197
197
|
}
|
|
198
198
|
C === "[" ? a++ : C === "]" ? a-- : C === "(" ? p++ : C === ")" && p--;
|
|
199
199
|
}
|
|
200
|
-
const k =
|
|
201
|
-
let y = k,
|
|
202
|
-
k.endsWith(ie) ? (y = k.slice(0, -1),
|
|
200
|
+
const k = c.length === 0 ? i : i.slice(l);
|
|
201
|
+
let y = k, R = !1;
|
|
202
|
+
k.endsWith(ie) ? (y = k.slice(0, -1), R = !0) : (
|
|
203
203
|
/**
|
|
204
204
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
205
205
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
206
206
|
*/
|
|
207
|
-
k.startsWith(ie) && (y = k.slice(1),
|
|
207
|
+
k.startsWith(ie) && (y = k.slice(1), R = !0)
|
|
208
208
|
);
|
|
209
|
-
const
|
|
210
|
-
return ye(
|
|
209
|
+
const P = f && f > l ? f - l : void 0;
|
|
210
|
+
return ye(c, R, y, P);
|
|
211
211
|
};
|
|
212
212
|
if (o) {
|
|
213
|
-
const i = o + ke,
|
|
214
|
-
t = (a) => a.startsWith(i) ?
|
|
213
|
+
const i = o + ke, c = t;
|
|
214
|
+
t = (a) => a.startsWith(i) ? c(a.slice(i.length)) : ye(lt, !1, a, void 0, !0);
|
|
215
215
|
}
|
|
216
216
|
if (r) {
|
|
217
217
|
const i = t;
|
|
218
|
-
t = (
|
|
219
|
-
className:
|
|
218
|
+
t = (c) => r({
|
|
219
|
+
className: c,
|
|
220
220
|
parseClassName: i
|
|
221
221
|
});
|
|
222
222
|
}
|
|
@@ -228,9 +228,9 @@ const Xe = (e, o) => {
|
|
|
228
228
|
}), (r) => {
|
|
229
229
|
const t = [];
|
|
230
230
|
let i = [];
|
|
231
|
-
for (let
|
|
232
|
-
const a = r[
|
|
233
|
-
p ||
|
|
231
|
+
for (let c = 0; c < r.length; c++) {
|
|
232
|
+
const a = r[c], p = a[0] === "[", l = o.has(a);
|
|
233
|
+
p || l ? (i.length > 0 && (i.sort(), t.push(...i), i = []), t.push(a)) : i.push(a);
|
|
234
234
|
}
|
|
235
235
|
return i.length > 0 && (i.sort(), t.push(...i)), t;
|
|
236
236
|
};
|
|
@@ -244,45 +244,45 @@ const Xe = (e, o) => {
|
|
|
244
244
|
parseClassName: r,
|
|
245
245
|
getClassGroupId: t,
|
|
246
246
|
getConflictingClassGroupIds: i,
|
|
247
|
-
sortModifiers:
|
|
247
|
+
sortModifiers: c
|
|
248
248
|
} = o, a = [], p = e.trim().split(ut);
|
|
249
|
-
let
|
|
249
|
+
let l = "";
|
|
250
250
|
for (let f = p.length - 1; f >= 0; f -= 1) {
|
|
251
251
|
const b = p[f], {
|
|
252
252
|
isExternal: k,
|
|
253
253
|
modifiers: y,
|
|
254
|
-
hasImportantModifier:
|
|
255
|
-
baseClassName:
|
|
254
|
+
hasImportantModifier: R,
|
|
255
|
+
baseClassName: P,
|
|
256
256
|
maybePostfixModifierPosition: v
|
|
257
257
|
} = r(b);
|
|
258
258
|
if (k) {
|
|
259
|
-
|
|
259
|
+
l = b + (l.length > 0 ? " " + l : l);
|
|
260
260
|
continue;
|
|
261
261
|
}
|
|
262
|
-
let C = !!v,
|
|
263
|
-
if (!
|
|
262
|
+
let C = !!v, I = t(C ? P.substring(0, v) : P);
|
|
263
|
+
if (!I) {
|
|
264
264
|
if (!C) {
|
|
265
|
-
|
|
265
|
+
l = b + (l.length > 0 ? " " + l : l);
|
|
266
266
|
continue;
|
|
267
267
|
}
|
|
268
|
-
if (
|
|
269
|
-
|
|
268
|
+
if (I = t(P), !I) {
|
|
269
|
+
l = b + (l.length > 0 ? " " + l : l);
|
|
270
270
|
continue;
|
|
271
271
|
}
|
|
272
272
|
C = !1;
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const E = y.length === 0 ? "" : y.length === 1 ? y[0] : c(y).join(":"), N = R ? E + ie : E, G = N + I;
|
|
275
275
|
if (a.indexOf(G) > -1)
|
|
276
276
|
continue;
|
|
277
277
|
a.push(G);
|
|
278
|
-
const V = i(
|
|
278
|
+
const V = i(I, C);
|
|
279
279
|
for (let S = 0; S < V.length; ++S) {
|
|
280
280
|
const F = V[S];
|
|
281
281
|
a.push(N + F);
|
|
282
282
|
}
|
|
283
|
-
|
|
283
|
+
l = b + (l.length > 0 ? " " + l : l);
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return l;
|
|
286
286
|
}, ft = (...e) => {
|
|
287
287
|
let o = 0, r, t, i = "";
|
|
288
288
|
for (; o < e.length; )
|
|
@@ -296,18 +296,18 @@ const Xe = (e, o) => {
|
|
|
296
296
|
e[t] && (o = Me(e[t])) && (r && (r += " "), r += o);
|
|
297
297
|
return r;
|
|
298
298
|
}, gt = (e, ...o) => {
|
|
299
|
-
let r, t, i,
|
|
300
|
-
const a = (
|
|
299
|
+
let r, t, i, c;
|
|
300
|
+
const a = (l) => {
|
|
301
301
|
const f = o.reduce((b, k) => k(b), e());
|
|
302
|
-
return r = mt(f), t = r.cache.get, i = r.cache.set,
|
|
303
|
-
}, p = (
|
|
304
|
-
const f = t(
|
|
302
|
+
return r = mt(f), t = r.cache.get, i = r.cache.set, c = p, p(l);
|
|
303
|
+
}, p = (l) => {
|
|
304
|
+
const f = t(l);
|
|
305
305
|
if (f)
|
|
306
306
|
return f;
|
|
307
|
-
const b = pt(
|
|
308
|
-
return i(
|
|
307
|
+
const b = pt(l, r);
|
|
308
|
+
return i(l, b), b;
|
|
309
309
|
};
|
|
310
|
-
return
|
|
310
|
+
return c = a, (...l) => c(ft(...l));
|
|
311
311
|
}, bt = [], x = (e) => {
|
|
312
312
|
const o = (r) => r[e] || bt;
|
|
313
313
|
return o.isThemeGetter = !0, o;
|
|
@@ -323,7 +323,7 @@ const Xe = (e, o) => {
|
|
|
323
323
|
const t = Ge.exec(e);
|
|
324
324
|
return t ? t[1] ? o(t[1]) : r : !1;
|
|
325
325
|
}, Fe = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", Oe = (e) => e === "length" || e === "size" || e === "bg-size", je = (e) => e === "length", Nt = (e) => e === "number", Gt = (e) => e === "family-name", _e = (e) => e === "shadow", Vt = () => {
|
|
326
|
-
const e = x("color"), o = x("font"), r = x("text"), t = x("font-weight"), i = x("tracking"),
|
|
326
|
+
const e = x("color"), o = x("font"), r = x("text"), t = x("font-weight"), i = x("tracking"), c = x("leading"), a = x("breakpoint"), p = x("container"), l = x("spacing"), f = x("radius"), b = x("shadow"), k = x("inset-shadow"), y = x("text-shadow"), R = x("drop-shadow"), P = x("blur"), v = x("perspective"), C = x("aspect"), I = x("ease"), E = x("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
|
|
327
327
|
"center",
|
|
328
328
|
"top",
|
|
329
329
|
"bottom",
|
|
@@ -341,7 +341,7 @@ const Xe = (e, o) => {
|
|
|
341
341
|
"bottom-left",
|
|
342
342
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
343
343
|
"left-bottom"
|
|
344
|
-
], V = () => [...G(), s, n], S = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], m = () => [s, n,
|
|
344
|
+
], V = () => [...G(), s, n], S = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], m = () => [s, n, l], h = () => [B, "full", "auto", ...m()], L = () => [O, "none", "subgrid", s, n], de = () => ["auto", {
|
|
345
345
|
span: ["full", O, s, n]
|
|
346
346
|
}, O, s, n], H = () => [O, "auto", s, n], me = () => ["auto", "min", "max", "fr", s, n], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], D = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], T = () => ["auto", ...m()], j = () => [B, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, s, n], ue = () => [...G(), Ce, ve, {
|
|
347
347
|
position: [s, n]
|
|
@@ -357,11 +357,11 @@ const Xe = (e, o) => {
|
|
|
357
357
|
f,
|
|
358
358
|
s,
|
|
359
359
|
n
|
|
360
|
-
],
|
|
360
|
+
], A = () => ["", u, U, _], q = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => [u, se, Ce, ve], be = () => [
|
|
361
361
|
// Deprecated since Tailwind CSS v4.0.0
|
|
362
362
|
"",
|
|
363
363
|
"none",
|
|
364
|
-
|
|
364
|
+
P,
|
|
365
365
|
s,
|
|
366
366
|
n
|
|
367
367
|
], X = () => ["none", u, s, n], J = () => ["none", u, s, n], ne = () => [u, s, n], K = () => [B, "full", ...m()];
|
|
@@ -1141,7 +1141,7 @@ const Xe = (e, o) => {
|
|
|
1141
1141
|
leading: [{
|
|
1142
1142
|
leading: [
|
|
1143
1143
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1144
|
-
|
|
1144
|
+
c,
|
|
1145
1145
|
...m()
|
|
1146
1146
|
]
|
|
1147
1147
|
}],
|
|
@@ -1507,70 +1507,70 @@ const Xe = (e, o) => {
|
|
|
1507
1507
|
* @see https://tailwindcss.com/docs/border-width
|
|
1508
1508
|
*/
|
|
1509
1509
|
"border-w": [{
|
|
1510
|
-
border:
|
|
1510
|
+
border: A()
|
|
1511
1511
|
}],
|
|
1512
1512
|
/**
|
|
1513
1513
|
* Border Width X
|
|
1514
1514
|
* @see https://tailwindcss.com/docs/border-width
|
|
1515
1515
|
*/
|
|
1516
1516
|
"border-w-x": [{
|
|
1517
|
-
"border-x":
|
|
1517
|
+
"border-x": A()
|
|
1518
1518
|
}],
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Border Width Y
|
|
1521
1521
|
* @see https://tailwindcss.com/docs/border-width
|
|
1522
1522
|
*/
|
|
1523
1523
|
"border-w-y": [{
|
|
1524
|
-
"border-y":
|
|
1524
|
+
"border-y": A()
|
|
1525
1525
|
}],
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Border Width Start
|
|
1528
1528
|
* @see https://tailwindcss.com/docs/border-width
|
|
1529
1529
|
*/
|
|
1530
1530
|
"border-w-s": [{
|
|
1531
|
-
"border-s":
|
|
1531
|
+
"border-s": A()
|
|
1532
1532
|
}],
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Border Width End
|
|
1535
1535
|
* @see https://tailwindcss.com/docs/border-width
|
|
1536
1536
|
*/
|
|
1537
1537
|
"border-w-e": [{
|
|
1538
|
-
"border-e":
|
|
1538
|
+
"border-e": A()
|
|
1539
1539
|
}],
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Border Width Top
|
|
1542
1542
|
* @see https://tailwindcss.com/docs/border-width
|
|
1543
1543
|
*/
|
|
1544
1544
|
"border-w-t": [{
|
|
1545
|
-
"border-t":
|
|
1545
|
+
"border-t": A()
|
|
1546
1546
|
}],
|
|
1547
1547
|
/**
|
|
1548
1548
|
* Border Width Right
|
|
1549
1549
|
* @see https://tailwindcss.com/docs/border-width
|
|
1550
1550
|
*/
|
|
1551
1551
|
"border-w-r": [{
|
|
1552
|
-
"border-r":
|
|
1552
|
+
"border-r": A()
|
|
1553
1553
|
}],
|
|
1554
1554
|
/**
|
|
1555
1555
|
* Border Width Bottom
|
|
1556
1556
|
* @see https://tailwindcss.com/docs/border-width
|
|
1557
1557
|
*/
|
|
1558
1558
|
"border-w-b": [{
|
|
1559
|
-
"border-b":
|
|
1559
|
+
"border-b": A()
|
|
1560
1560
|
}],
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Border Width Left
|
|
1563
1563
|
* @see https://tailwindcss.com/docs/border-width
|
|
1564
1564
|
*/
|
|
1565
1565
|
"border-w-l": [{
|
|
1566
|
-
"border-l":
|
|
1566
|
+
"border-l": A()
|
|
1567
1567
|
}],
|
|
1568
1568
|
/**
|
|
1569
1569
|
* Divide Width X
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1571
1571
|
*/
|
|
1572
1572
|
"divide-x": [{
|
|
1573
|
-
"divide-x":
|
|
1573
|
+
"divide-x": A()
|
|
1574
1574
|
}],
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Divide Width X Reverse
|
|
@@ -1582,7 +1582,7 @@ const Xe = (e, o) => {
|
|
|
1582
1582
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1583
1583
|
*/
|
|
1584
1584
|
"divide-y": [{
|
|
1585
|
-
"divide-y":
|
|
1585
|
+
"divide-y": A()
|
|
1586
1586
|
}],
|
|
1587
1587
|
/**
|
|
1588
1588
|
* Divide Width Y Reverse
|
|
@@ -1744,7 +1744,7 @@ const Xe = (e, o) => {
|
|
|
1744
1744
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1745
1745
|
*/
|
|
1746
1746
|
"ring-w": [{
|
|
1747
|
-
ring:
|
|
1747
|
+
ring: A()
|
|
1748
1748
|
}],
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Ring Width Inset
|
|
@@ -1783,7 +1783,7 @@ const Xe = (e, o) => {
|
|
|
1783
1783
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1784
1784
|
*/
|
|
1785
1785
|
"inset-ring-w": [{
|
|
1786
|
-
"inset-ring":
|
|
1786
|
+
"inset-ring": A()
|
|
1787
1787
|
}],
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Inset Ring Color
|
|
@@ -2069,7 +2069,7 @@ const Xe = (e, o) => {
|
|
|
2069
2069
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2070
2070
|
"",
|
|
2071
2071
|
"none",
|
|
2072
|
-
|
|
2072
|
+
R,
|
|
2073
2073
|
Z,
|
|
2074
2074
|
Q
|
|
2075
2075
|
]
|
|
@@ -2266,7 +2266,7 @@ const Xe = (e, o) => {
|
|
|
2266
2266
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2267
2267
|
*/
|
|
2268
2268
|
ease: [{
|
|
2269
|
-
ease: ["linear", "initial",
|
|
2269
|
+
ease: ["linear", "initial", I, s, n]
|
|
2270
2270
|
}],
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Transition Delay
|
|
@@ -2280,7 +2280,7 @@ const Xe = (e, o) => {
|
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/animation
|
|
2281
2281
|
*/
|
|
2282
2282
|
animate: [{
|
|
2283
|
-
animate: ["none",
|
|
2283
|
+
animate: ["none", E, s, n]
|
|
2284
2284
|
}],
|
|
2285
2285
|
// ------------------
|
|
2286
2286
|
// --- Transforms ---
|
|
@@ -2818,46 +2818,48 @@ const De = Re(
|
|
|
2818
2818
|
({
|
|
2819
2819
|
className: e,
|
|
2820
2820
|
inputClassName: o,
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2821
|
+
endAdornment: r,
|
|
2822
|
+
type: t,
|
|
2823
|
+
onFocus: i,
|
|
2824
|
+
onBlur: c,
|
|
2825
|
+
disabled: a,
|
|
2826
|
+
style: p,
|
|
2827
|
+
...l
|
|
2828
|
+
}, f) => {
|
|
2829
|
+
const b = Dt(), [k, y] = Ae(!1);
|
|
2829
2830
|
return /* @__PURE__ */ ee(
|
|
2830
2831
|
"div",
|
|
2831
2832
|
{
|
|
2832
2833
|
className: le(
|
|
2833
2834
|
"flex h-9 w-full items-center rounded-md border bg-[var(--tdg-input-bg,var(--background))] px-3 py-1 text-[var(--tdg-input-color,var(--foreground))] shadow-sm transition-colors [border-color:var(--tdg-input-border-color,var(--input))] hover:[border-color:var(--tdg-input-border-color-hover,var(--ring))] focus-within:ring-1 focus-within:ring-ring focus-within:[border-color:var(--tdg-input-border-color-focus,var(--ring))] disabled:cursor-not-allowed disabled:opacity-50",
|
|
2834
2835
|
"inovua-react-toolkit-text-input",
|
|
2835
|
-
`inovua-react-toolkit-text-input--theme-${
|
|
2836
|
-
|
|
2837
|
-
|
|
2836
|
+
`inovua-react-toolkit-text-input--theme-${b}`,
|
|
2837
|
+
a ? "inovua-react-toolkit-text-input--disabled" : "",
|
|
2838
|
+
k ? "inovua-react-toolkit-text-input--focused" : "",
|
|
2838
2839
|
e
|
|
2839
2840
|
),
|
|
2840
|
-
style:
|
|
2841
|
+
style: p
|
|
2841
2842
|
},
|
|
2842
2843
|
/* @__PURE__ */ ee(
|
|
2843
2844
|
"input",
|
|
2844
2845
|
{
|
|
2845
|
-
type:
|
|
2846
|
+
type: t,
|
|
2846
2847
|
className: le(
|
|
2847
2848
|
"inovua-react-toolkit-text-input__input m-0 min-w-0 flex-1 appearance-none rounded-none border-0 bg-transparent p-0 text-base text-[var(--tdg-input-color,var(--foreground))] shadow-none outline-none [font:inherit] [line-height:inherit] file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground md:text-sm",
|
|
2848
2849
|
o
|
|
2849
2850
|
),
|
|
2850
|
-
ref:
|
|
2851
|
-
disabled:
|
|
2852
|
-
onFocus: (
|
|
2853
|
-
|
|
2851
|
+
ref: f,
|
|
2852
|
+
disabled: a,
|
|
2853
|
+
onFocus: (R) => {
|
|
2854
|
+
y(!0), i?.(R);
|
|
2854
2855
|
},
|
|
2855
|
-
onBlur: (
|
|
2856
|
-
|
|
2856
|
+
onBlur: (R) => {
|
|
2857
|
+
y(!1), c?.(R);
|
|
2857
2858
|
},
|
|
2858
|
-
...
|
|
2859
|
+
...l
|
|
2859
2860
|
}
|
|
2860
|
-
)
|
|
2861
|
+
),
|
|
2862
|
+
r
|
|
2861
2863
|
);
|
|
2862
2864
|
}
|
|
2863
2865
|
);
|
|
@@ -2877,46 +2879,46 @@ const Wt = Re(
|
|
|
2877
2879
|
const {
|
|
2878
2880
|
filterValue: t,
|
|
2879
2881
|
value: i,
|
|
2880
|
-
onChange:
|
|
2882
|
+
onChange: c,
|
|
2881
2883
|
filterDelay: a = 0,
|
|
2882
2884
|
readOnly: p,
|
|
2883
|
-
disabled:
|
|
2885
|
+
disabled: l,
|
|
2884
2886
|
style: f,
|
|
2885
2887
|
className: b,
|
|
2886
2888
|
rtl: k,
|
|
2887
2889
|
placeholder: y,
|
|
2888
|
-
inputRef:
|
|
2889
|
-
render:
|
|
2890
|
-
} = o, v = i !== void 0 ? i : t?.value, [C,
|
|
2890
|
+
inputRef: R,
|
|
2891
|
+
render: P
|
|
2892
|
+
} = o, v = i !== void 0 ? i : t?.value, [C, I] = Ae(v ?? ""), E = xe(null), N = xe(null), G = t?.filterEditorProps && typeof t.filterEditorProps == "object" ? t.filterEditorProps : {}, V = typeof o.filterEditorProps == "function" ? o.filterEditorProps(o) : o.filterEditorProps ?? {}, S = {
|
|
2891
2893
|
...G,
|
|
2892
2894
|
...V
|
|
2893
2895
|
};
|
|
2894
2896
|
he(() => {
|
|
2895
|
-
|
|
2897
|
+
I(v ?? "");
|
|
2896
2898
|
}, [v]), He(
|
|
2897
2899
|
r,
|
|
2898
2900
|
() => ({
|
|
2899
2901
|
getInputRef: () => N.current,
|
|
2900
|
-
setValue: (h) =>
|
|
2902
|
+
setValue: (h) => I(h ?? "")
|
|
2901
2903
|
}),
|
|
2902
2904
|
[]
|
|
2903
2905
|
), he(
|
|
2904
2906
|
() => () => {
|
|
2905
|
-
|
|
2907
|
+
E.current && clearTimeout(E.current);
|
|
2906
2908
|
},
|
|
2907
2909
|
[]
|
|
2908
2910
|
);
|
|
2909
2911
|
const F = Ue(
|
|
2910
2912
|
(h) => {
|
|
2911
|
-
|
|
2913
|
+
c?.(Bt(t, h, "string"));
|
|
2912
2914
|
},
|
|
2913
|
-
[t,
|
|
2915
|
+
[t, c]
|
|
2914
2916
|
), m = /* @__PURE__ */ ee(
|
|
2915
2917
|
De,
|
|
2916
2918
|
{
|
|
2917
2919
|
...S,
|
|
2918
2920
|
ref: (h) => {
|
|
2919
|
-
N.current = h, ze(
|
|
2921
|
+
N.current = h, ze(R, h), ze(
|
|
2920
2922
|
S.ref,
|
|
2921
2923
|
h
|
|
2922
2924
|
);
|
|
@@ -2924,7 +2926,7 @@ const Wt = Re(
|
|
|
2924
2926
|
type: "text",
|
|
2925
2927
|
value: C,
|
|
2926
2928
|
readOnly: p,
|
|
2927
|
-
disabled:
|
|
2929
|
+
disabled: l,
|
|
2928
2930
|
dir: k ? "rtl" : "ltr",
|
|
2929
2931
|
placeholder: S.placeholder ?? y,
|
|
2930
2932
|
className: le("h-8 w-full", S.className, b),
|
|
@@ -2933,14 +2935,14 @@ const Wt = Re(
|
|
|
2933
2935
|
onChange: (h) => {
|
|
2934
2936
|
S.onChange?.(h);
|
|
2935
2937
|
const L = h.target.value;
|
|
2936
|
-
|
|
2938
|
+
I(L), E.current && clearTimeout(E.current), a > 0 ? E.current = setTimeout(
|
|
2937
2939
|
() => F(L === "" ? null : L),
|
|
2938
2940
|
a
|
|
2939
2941
|
) : F(L === "" ? null : L);
|
|
2940
2942
|
}
|
|
2941
2943
|
}
|
|
2942
2944
|
);
|
|
2943
|
-
return /* @__PURE__ */ ee(We, null,
|
|
2945
|
+
return /* @__PURE__ */ ee(We, null, P ? P(m) : m);
|
|
2944
2946
|
}
|
|
2945
2947
|
);
|
|
2946
2948
|
Wt.displayName = "StringFilter";
|