@almadar/ui 4.51.15 → 4.51.16

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.
@@ -25441,7 +25441,6 @@ function useDataDnd(args) {
25441
25441
  const raw = it[dndItemIdField];
25442
25442
  return raw ?? `__idx_${idx}`;
25443
25443
  }),
25444
- // eslint-disable-next-line react-hooks/exhaustive-deps
25445
25444
  [itemIdsSignature]
25446
25445
  );
25447
25446
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -27035,7 +27034,16 @@ var init_FilterGroup = __esm({
27035
27034
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
27036
27035
  }
27037
27036
  )
27038
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
27037
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
27038
+ Input,
27039
+ {
27040
+ value: selectedValues[filter.field] || "",
27041
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
27042
+ placeholder: filter.label,
27043
+ clearable: true,
27044
+ onClear: () => handleFilterSelect(filter.field, null)
27045
+ }
27046
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
27039
27047
  Select,
27040
27048
  {
27041
27049
  value: selectedValues[filter.field] || "all",
@@ -27102,7 +27110,17 @@ var init_FilterGroup = __esm({
27102
27110
  className: "text-sm min-w-[100px]"
27103
27111
  }
27104
27112
  )
27105
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
27113
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
27114
+ Input,
27115
+ {
27116
+ value: selectedValues[filter.field] || "",
27117
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
27118
+ placeholder: filter.label,
27119
+ clearable: true,
27120
+ onClear: () => handleFilterSelect(filter.field, null),
27121
+ className: "text-sm"
27122
+ }
27123
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
27106
27124
  Select,
27107
27125
  {
27108
27126
  value: selectedValues[filter.field] || "all",
@@ -27207,7 +27225,17 @@ var init_FilterGroup = __esm({
27207
27225
  className: "min-w-[130px]"
27208
27226
  }
27209
27227
  )
27210
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
27228
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
27229
+ Input,
27230
+ {
27231
+ value: selectedValues[filter.field] || "",
27232
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
27233
+ placeholder: filter.label,
27234
+ clearable: true,
27235
+ onClear: () => handleFilterSelect(filter.field, null),
27236
+ className: "min-w-[160px]"
27237
+ }
27238
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
27211
27239
  Select,
27212
27240
  {
27213
27241
  value: selectedValues[filter.field] || "all",
package/dist/avl/index.js CHANGED
@@ -25395,7 +25395,6 @@ function useDataDnd(args) {
25395
25395
  const raw = it[dndItemIdField];
25396
25396
  return raw ?? `__idx_${idx}`;
25397
25397
  }),
25398
- // eslint-disable-next-line react-hooks/exhaustive-deps
25399
25398
  [itemIdsSignature]
25400
25399
  );
25401
25400
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -26989,7 +26988,16 @@ var init_FilterGroup = __esm({
26989
26988
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
26990
26989
  }
26991
26990
  )
26992
- ] }) : /* @__PURE__ */ jsx(
26991
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
26992
+ Input,
26993
+ {
26994
+ value: selectedValues[filter.field] || "",
26995
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
26996
+ placeholder: filter.label,
26997
+ clearable: true,
26998
+ onClear: () => handleFilterSelect(filter.field, null)
26999
+ }
27000
+ ) : /* @__PURE__ */ jsx(
26993
27001
  Select,
26994
27002
  {
26995
27003
  value: selectedValues[filter.field] || "all",
@@ -27056,7 +27064,17 @@ var init_FilterGroup = __esm({
27056
27064
  className: "text-sm min-w-[100px]"
27057
27065
  }
27058
27066
  )
27059
- ] }) : /* @__PURE__ */ jsx(
27067
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
27068
+ Input,
27069
+ {
27070
+ value: selectedValues[filter.field] || "",
27071
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
27072
+ placeholder: filter.label,
27073
+ clearable: true,
27074
+ onClear: () => handleFilterSelect(filter.field, null),
27075
+ className: "text-sm"
27076
+ }
27077
+ ) : /* @__PURE__ */ jsx(
27060
27078
  Select,
27061
27079
  {
27062
27080
  value: selectedValues[filter.field] || "all",
@@ -27161,7 +27179,17 @@ var init_FilterGroup = __esm({
27161
27179
  className: "min-w-[130px]"
27162
27180
  }
27163
27181
  )
27164
- ] }) : /* @__PURE__ */ jsx(
27182
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
27183
+ Input,
27184
+ {
27185
+ value: selectedValues[filter.field] || "",
27186
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
27187
+ placeholder: filter.label,
27188
+ clearable: true,
27189
+ onClear: () => handleFilterSelect(filter.field, null),
27190
+ className: "min-w-[160px]"
27191
+ }
27192
+ ) : /* @__PURE__ */ jsx(
27165
27193
  Select,
27166
27194
  {
27167
27195
  value: selectedValues[filter.field] || "all",
@@ -20608,7 +20608,6 @@ function useDataDnd(args) {
20608
20608
  const raw = it[dndItemIdField];
20609
20609
  return raw ?? `__idx_${idx}`;
20610
20610
  }),
20611
- // eslint-disable-next-line react-hooks/exhaustive-deps
20612
20611
  [itemIdsSignature]
20613
20612
  );
20614
20613
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -22210,7 +22209,16 @@ var init_FilterGroup = __esm({
22210
22209
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
22211
22210
  }
22212
22211
  )
22213
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
22212
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
22213
+ exports.Input,
22214
+ {
22215
+ value: selectedValues[filter.field] || "",
22216
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
22217
+ placeholder: filter.label,
22218
+ clearable: true,
22219
+ onClear: () => handleFilterSelect(filter.field, null)
22220
+ }
22221
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
22214
22222
  exports.Select,
22215
22223
  {
22216
22224
  value: selectedValues[filter.field] || "all",
@@ -22277,7 +22285,17 @@ var init_FilterGroup = __esm({
22277
22285
  className: "text-sm min-w-[100px]"
22278
22286
  }
22279
22287
  )
22280
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
22288
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
22289
+ exports.Input,
22290
+ {
22291
+ value: selectedValues[filter.field] || "",
22292
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
22293
+ placeholder: filter.label,
22294
+ clearable: true,
22295
+ onClear: () => handleFilterSelect(filter.field, null),
22296
+ className: "text-sm"
22297
+ }
22298
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
22281
22299
  exports.Select,
22282
22300
  {
22283
22301
  value: selectedValues[filter.field] || "all",
@@ -22382,7 +22400,17 @@ var init_FilterGroup = __esm({
22382
22400
  className: "min-w-[130px]"
22383
22401
  }
22384
22402
  )
22385
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
22403
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
22404
+ exports.Input,
22405
+ {
22406
+ value: selectedValues[filter.field] || "",
22407
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
22408
+ placeholder: filter.label,
22409
+ clearable: true,
22410
+ onClear: () => handleFilterSelect(filter.field, null),
22411
+ className: "min-w-[160px]"
22412
+ }
22413
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
22386
22414
  exports.Select,
22387
22415
  {
22388
22416
  value: selectedValues[filter.field] || "all",
@@ -20562,7 +20562,6 @@ function useDataDnd(args) {
20562
20562
  const raw = it[dndItemIdField];
20563
20563
  return raw ?? `__idx_${idx}`;
20564
20564
  }),
20565
- // eslint-disable-next-line react-hooks/exhaustive-deps
20566
20565
  [itemIdsSignature]
20567
20566
  );
20568
20567
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -22164,7 +22163,16 @@ var init_FilterGroup = __esm({
22164
22163
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
22165
22164
  }
22166
22165
  )
22167
- ] }) : /* @__PURE__ */ jsx(
22166
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
22167
+ Input,
22168
+ {
22169
+ value: selectedValues[filter.field] || "",
22170
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
22171
+ placeholder: filter.label,
22172
+ clearable: true,
22173
+ onClear: () => handleFilterSelect(filter.field, null)
22174
+ }
22175
+ ) : /* @__PURE__ */ jsx(
22168
22176
  Select,
22169
22177
  {
22170
22178
  value: selectedValues[filter.field] || "all",
@@ -22231,7 +22239,17 @@ var init_FilterGroup = __esm({
22231
22239
  className: "text-sm min-w-[100px]"
22232
22240
  }
22233
22241
  )
22234
- ] }) : /* @__PURE__ */ jsx(
22242
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
22243
+ Input,
22244
+ {
22245
+ value: selectedValues[filter.field] || "",
22246
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
22247
+ placeholder: filter.label,
22248
+ clearable: true,
22249
+ onClear: () => handleFilterSelect(filter.field, null),
22250
+ className: "text-sm"
22251
+ }
22252
+ ) : /* @__PURE__ */ jsx(
22235
22253
  Select,
22236
22254
  {
22237
22255
  value: selectedValues[filter.field] || "all",
@@ -22336,7 +22354,17 @@ var init_FilterGroup = __esm({
22336
22354
  className: "min-w-[130px]"
22337
22355
  }
22338
22356
  )
22339
- ] }) : /* @__PURE__ */ jsx(
22357
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
22358
+ Input,
22359
+ {
22360
+ value: selectedValues[filter.field] || "",
22361
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
22362
+ placeholder: filter.label,
22363
+ clearable: true,
22364
+ onClear: () => handleFilterSelect(filter.field, null),
22365
+ className: "min-w-[160px]"
22366
+ }
22367
+ ) : /* @__PURE__ */ jsx(
22340
22368
  Select,
22341
22369
  {
22342
22370
  value: selectedValues[filter.field] || "all",
@@ -21853,7 +21853,6 @@ function useDataDnd(args) {
21853
21853
  const raw = it[dndItemIdField];
21854
21854
  return raw ?? `__idx_${idx}`;
21855
21855
  }),
21856
- // eslint-disable-next-line react-hooks/exhaustive-deps
21857
21856
  [itemIdsSignature]
21858
21857
  );
21859
21858
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -23447,7 +23446,16 @@ var init_FilterGroup = __esm({
23447
23446
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
23448
23447
  }
23449
23448
  )
23450
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
23449
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
23450
+ Input,
23451
+ {
23452
+ value: selectedValues[filter.field] || "",
23453
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23454
+ placeholder: filter.label,
23455
+ clearable: true,
23456
+ onClear: () => handleFilterSelect(filter.field, null)
23457
+ }
23458
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23451
23459
  Select,
23452
23460
  {
23453
23461
  value: selectedValues[filter.field] || "all",
@@ -23514,7 +23522,17 @@ var init_FilterGroup = __esm({
23514
23522
  className: "text-sm min-w-[100px]"
23515
23523
  }
23516
23524
  )
23517
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
23525
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
23526
+ Input,
23527
+ {
23528
+ value: selectedValues[filter.field] || "",
23529
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23530
+ placeholder: filter.label,
23531
+ clearable: true,
23532
+ onClear: () => handleFilterSelect(filter.field, null),
23533
+ className: "text-sm"
23534
+ }
23535
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23518
23536
  Select,
23519
23537
  {
23520
23538
  value: selectedValues[filter.field] || "all",
@@ -23619,7 +23637,17 @@ var init_FilterGroup = __esm({
23619
23637
  className: "min-w-[130px]"
23620
23638
  }
23621
23639
  )
23622
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
23640
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
23641
+ Input,
23642
+ {
23643
+ value: selectedValues[filter.field] || "",
23644
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23645
+ placeholder: filter.label,
23646
+ clearable: true,
23647
+ onClear: () => handleFilterSelect(filter.field, null),
23648
+ className: "min-w-[160px]"
23649
+ }
23650
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23623
23651
  Select,
23624
23652
  {
23625
23653
  value: selectedValues[filter.field] || "all",
@@ -21807,7 +21807,6 @@ function useDataDnd(args) {
21807
21807
  const raw = it[dndItemIdField];
21808
21808
  return raw ?? `__idx_${idx}`;
21809
21809
  }),
21810
- // eslint-disable-next-line react-hooks/exhaustive-deps
21811
21810
  [itemIdsSignature]
21812
21811
  );
21813
21812
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -23401,7 +23400,16 @@ var init_FilterGroup = __esm({
23401
23400
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
23402
23401
  }
23403
23402
  )
23404
- ] }) : /* @__PURE__ */ jsx(
23403
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
23404
+ Input,
23405
+ {
23406
+ value: selectedValues[filter.field] || "",
23407
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23408
+ placeholder: filter.label,
23409
+ clearable: true,
23410
+ onClear: () => handleFilterSelect(filter.field, null)
23411
+ }
23412
+ ) : /* @__PURE__ */ jsx(
23405
23413
  Select,
23406
23414
  {
23407
23415
  value: selectedValues[filter.field] || "all",
@@ -23468,7 +23476,17 @@ var init_FilterGroup = __esm({
23468
23476
  className: "text-sm min-w-[100px]"
23469
23477
  }
23470
23478
  )
23471
- ] }) : /* @__PURE__ */ jsx(
23479
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
23480
+ Input,
23481
+ {
23482
+ value: selectedValues[filter.field] || "",
23483
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23484
+ placeholder: filter.label,
23485
+ clearable: true,
23486
+ onClear: () => handleFilterSelect(filter.field, null),
23487
+ className: "text-sm"
23488
+ }
23489
+ ) : /* @__PURE__ */ jsx(
23472
23490
  Select,
23473
23491
  {
23474
23492
  value: selectedValues[filter.field] || "all",
@@ -23573,7 +23591,17 @@ var init_FilterGroup = __esm({
23573
23591
  className: "min-w-[130px]"
23574
23592
  }
23575
23593
  )
23576
- ] }) : /* @__PURE__ */ jsx(
23594
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
23595
+ Input,
23596
+ {
23597
+ value: selectedValues[filter.field] || "",
23598
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23599
+ placeholder: filter.label,
23600
+ clearable: true,
23601
+ onClear: () => handleFilterSelect(filter.field, null),
23602
+ className: "min-w-[160px]"
23603
+ }
23604
+ ) : /* @__PURE__ */ jsx(
23577
23605
  Select,
23578
23606
  {
23579
23607
  value: selectedValues[filter.field] || "all",
@@ -21622,7 +21622,6 @@ function useDataDnd(args) {
21622
21622
  const raw = it[dndItemIdField];
21623
21623
  return raw ?? `__idx_${idx}`;
21624
21624
  }),
21625
- // eslint-disable-next-line react-hooks/exhaustive-deps
21626
21625
  [itemIdsSignature]
21627
21626
  );
21628
21627
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -23152,7 +23151,16 @@ var init_FilterGroup = __esm({
23152
23151
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
23153
23152
  }
23154
23153
  )
23155
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
23154
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
23155
+ Input,
23156
+ {
23157
+ value: selectedValues[filter.field] || "",
23158
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23159
+ placeholder: filter.label,
23160
+ clearable: true,
23161
+ onClear: () => handleFilterSelect(filter.field, null)
23162
+ }
23163
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23156
23164
  Select,
23157
23165
  {
23158
23166
  value: selectedValues[filter.field] || "all",
@@ -23219,7 +23227,17 @@ var init_FilterGroup = __esm({
23219
23227
  className: "text-sm min-w-[100px]"
23220
23228
  }
23221
23229
  )
23222
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
23230
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
23231
+ Input,
23232
+ {
23233
+ value: selectedValues[filter.field] || "",
23234
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23235
+ placeholder: filter.label,
23236
+ clearable: true,
23237
+ onClear: () => handleFilterSelect(filter.field, null),
23238
+ className: "text-sm"
23239
+ }
23240
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23223
23241
  Select,
23224
23242
  {
23225
23243
  value: selectedValues[filter.field] || "all",
@@ -23324,7 +23342,17 @@ var init_FilterGroup = __esm({
23324
23342
  className: "min-w-[130px]"
23325
23343
  }
23326
23344
  )
23327
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(
23345
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsxRuntime.jsx(
23346
+ Input,
23347
+ {
23348
+ value: selectedValues[filter.field] || "",
23349
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23350
+ placeholder: filter.label,
23351
+ clearable: true,
23352
+ onClear: () => handleFilterSelect(filter.field, null),
23353
+ className: "min-w-[160px]"
23354
+ }
23355
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23328
23356
  Select,
23329
23357
  {
23330
23358
  value: selectedValues[filter.field] || "all",
@@ -21576,7 +21576,6 @@ function useDataDnd(args) {
21576
21576
  const raw = it[dndItemIdField];
21577
21577
  return raw ?? `__idx_${idx}`;
21578
21578
  }),
21579
- // eslint-disable-next-line react-hooks/exhaustive-deps
21580
21579
  [itemIdsSignature]
21581
21580
  );
21582
21581
  const itemsContentSig = items.map((it, idx) => String(it[dndItemIdField] ?? `__${idx}`)).join("|");
@@ -23106,7 +23105,16 @@ var init_FilterGroup = __esm({
23106
23105
  onClear: () => handleFilterSelect(`${filter.field}_to`, null)
23107
23106
  }
23108
23107
  )
23109
- ] }) : /* @__PURE__ */ jsx(
23108
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
23109
+ Input,
23110
+ {
23111
+ value: selectedValues[filter.field] || "",
23112
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23113
+ placeholder: filter.label,
23114
+ clearable: true,
23115
+ onClear: () => handleFilterSelect(filter.field, null)
23116
+ }
23117
+ ) : /* @__PURE__ */ jsx(
23110
23118
  Select,
23111
23119
  {
23112
23120
  value: selectedValues[filter.field] || "all",
@@ -23173,7 +23181,17 @@ var init_FilterGroup = __esm({
23173
23181
  className: "text-sm min-w-[100px]"
23174
23182
  }
23175
23183
  )
23176
- ] }) : /* @__PURE__ */ jsx(
23184
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
23185
+ Input,
23186
+ {
23187
+ value: selectedValues[filter.field] || "",
23188
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23189
+ placeholder: filter.label,
23190
+ clearable: true,
23191
+ onClear: () => handleFilterSelect(filter.field, null),
23192
+ className: "text-sm"
23193
+ }
23194
+ ) : /* @__PURE__ */ jsx(
23177
23195
  Select,
23178
23196
  {
23179
23197
  value: selectedValues[filter.field] || "all",
@@ -23278,7 +23296,17 @@ var init_FilterGroup = __esm({
23278
23296
  className: "min-w-[130px]"
23279
23297
  }
23280
23298
  )
23281
- ] }) : /* @__PURE__ */ jsx(
23299
+ ] }) : resolveFilterType(filter) === "text" ? /* @__PURE__ */ jsx(
23300
+ Input,
23301
+ {
23302
+ value: selectedValues[filter.field] || "",
23303
+ onChange: (e) => handleFilterSelect(filter.field, e.target.value || null),
23304
+ placeholder: filter.label,
23305
+ clearable: true,
23306
+ onClear: () => handleFilterSelect(filter.field, null),
23307
+ className: "min-w-[160px]"
23308
+ }
23309
+ ) : /* @__PURE__ */ jsx(
23282
23310
  Select,
23283
23311
  {
23284
23312
  value: selectedValues[filter.field] || "all",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.51.15",
3
+ "version": "4.51.16",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [