@beweco/aurora-ui 0.6.29 → 0.6.31

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/index.cjs.js CHANGED
@@ -6104,6 +6104,40 @@ var DrawerFiltersHeader = function (_a) {
6104
6104
  return (jsxRuntime.jsxs("div", { className: "px-6 pt-10", children: [jsxRuntime.jsx(H2, { className: "text-xl font-semibold text-foreground mb-2", children: title }), jsxRuntime.jsx(P, { className: "text-default-500", children: description })] }));
6105
6105
  };
6106
6106
 
6107
+ var NO_YEAR_CLASS = "[&_[data-type='year']]:hidden [&_[data-type='literal']:has(+[data-type='year'])]:hidden";
6108
+ var DayMonthPicker = function (_a) {
6109
+ var value = _a.value, onChange = _a.onChange, translations = _a.translations;
6110
+ var t = __assign({ dayMonthAriaLabel: "Seleccionar mes y día", dayMonthRangeAriaLabel: "Seleccionar rango de mes y día", dayMonthSingleOption: "Día específico", dayMonthRangeOption: "Rango de fechas" }, translations);
6111
+ var _b = React.useState((value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" ? "range" : "single"), mode = _b[0], setMode = _b[1];
6112
+ React.useEffect(function () {
6113
+ setMode((value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" ? "range" : "single");
6114
+ }, [value === null || value === void 0 ? void 0 : value.type]);
6115
+ var handleModeChange = function (newMode) {
6116
+ var nextMode = newMode === "range" ? "range" : "single";
6117
+ setMode(nextMode);
6118
+ if (nextMode === "single") {
6119
+ onChange({ type: "dayMonth", dayMonth: null, dayMonthRange: null });
6120
+ return;
6121
+ }
6122
+ onChange({ type: "dayMonthRange", dayMonth: null, dayMonthRange: null });
6123
+ };
6124
+ var handleSingleChange = function (date) {
6125
+ onChange({
6126
+ type: "dayMonth",
6127
+ dayMonth: date,
6128
+ dayMonthRange: null,
6129
+ });
6130
+ };
6131
+ var handleRangeChange = function (range) {
6132
+ onChange({
6133
+ type: "dayMonthRange",
6134
+ dayMonth: null,
6135
+ dayMonthRange: range,
6136
+ });
6137
+ };
6138
+ return (jsxRuntime.jsxs("div", { className: "w-full flex flex-wrap xs:gap-5 justify-between items-center", children: [jsxRuntime.jsxs(react.RadioGroup, { color: "primary", orientation: "horizontal", size: "sm", value: mode, onValueChange: handleModeChange, children: [jsxRuntime.jsx(react.Radio, { value: "single", children: t.dayMonthSingleOption }), jsxRuntime.jsx(react.Radio, { value: "range", children: t.dayMonthRangeOption })] }), mode === "single" ? (jsxRuntime.jsx(DatePicker, { value: (value === null || value === void 0 ? void 0 : value.type) === "dayMonth" ? value.dayMonth : null, onChange: handleSingleChange, "aria-label": t.dayMonthAriaLabel, endContent: jsxRuntime.jsx(IconComponent, { icon: "solar:calendar-outline" }), className: "w-full md:w-auto md:max-w-40 ".concat(NO_YEAR_CLASS) })) : (jsxRuntime.jsx(DateRangePicker, { value: (value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" ? value.dayMonthRange : null, onChange: handleRangeChange, "aria-label": t.dayMonthRangeAriaLabel, endContent: jsxRuntime.jsx(IconComponent, { icon: "solar:calendar-outline" }), className: "w-full md:w-auto md:max-w-xs ".concat(NO_YEAR_CLASS) }))] }));
6139
+ };
6140
+
6107
6141
  /**
6108
6142
  * RangeFilter component with histogram visualization for range selection.
6109
6143
  */
@@ -6196,6 +6230,7 @@ var FilterSection = function (_a) {
6196
6230
  onToggleExpanded === null || onToggleExpanded === void 0 ? void 0 : onToggleExpanded();
6197
6231
  };
6198
6232
  var hasActiveFilter = function () {
6233
+ var _a, _b, _c, _d;
6199
6234
  if (!value) {
6200
6235
  return false;
6201
6236
  }
@@ -6218,9 +6253,12 @@ var FilterSection = function (_a) {
6218
6253
  value.type &&
6219
6254
  ((value.type === "singleDay" && value.date) ||
6220
6255
  (value.type === "dateRange" &&
6221
- value.dateRange &&
6222
- value.dateRange.start &&
6223
- value.dateRange.end)));
6256
+ ((_a = value.dateRange) === null || _a === void 0 ? void 0 : _a.start) &&
6257
+ ((_b = value.dateRange) === null || _b === void 0 ? void 0 : _b.end)) ||
6258
+ (value.type === "dayMonth" && value.dayMonth) ||
6259
+ (value.type === "dayMonthRange" &&
6260
+ ((_c = value.dayMonthRange) === null || _c === void 0 ? void 0 : _c.start) &&
6261
+ ((_d = value.dayMonthRange) === null || _d === void 0 ? void 0 : _d.end))));
6224
6262
  case "text":
6225
6263
  return value && "value" in value && value.value !== "";
6226
6264
  case "number":
@@ -6233,6 +6271,7 @@ var FilterSection = function (_a) {
6233
6271
  }
6234
6272
  };
6235
6273
  var getActiveFilterCount = function () {
6274
+ var _a, _b, _c, _d;
6236
6275
  if (!value) {
6237
6276
  return 0;
6238
6277
  }
@@ -6256,9 +6295,12 @@ var FilterSection = function (_a) {
6256
6295
  value.type &&
6257
6296
  ((value.type === "singleDay" && value.date) ||
6258
6297
  (value.type === "dateRange" &&
6259
- value.dateRange &&
6260
- value.dateRange.start &&
6261
- value.dateRange.end))
6298
+ ((_a = value.dateRange) === null || _a === void 0 ? void 0 : _a.start) &&
6299
+ ((_b = value.dateRange) === null || _b === void 0 ? void 0 : _b.end)) ||
6300
+ (value.type === "dayMonth" && value.dayMonth) ||
6301
+ (value.type === "dayMonthRange" &&
6302
+ ((_c = value.dayMonthRange) === null || _c === void 0 ? void 0 : _c.start) &&
6303
+ ((_d = value.dayMonthRange) === null || _d === void 0 ? void 0 : _d.end)))
6262
6304
  ? 1
6263
6305
  : 0;
6264
6306
  case "text":
@@ -6283,7 +6325,7 @@ var FilterSection = function (_a) {
6283
6325
  case "range":
6284
6326
  return (jsxRuntime.jsx(RangeFilterComponent, { filter: filter, value: value, onChange: onChange }));
6285
6327
  case "date":
6286
- return (jsxRuntime.jsx(DateFilter, { filter: filter, value: value, onChange: onChange }));
6328
+ return (jsxRuntime.jsx(DateFilter, { filter: filter, value: value, onChange: onChange, translations: translations }));
6287
6329
  case "text":
6288
6330
  return (jsxRuntime.jsx(TextFilter, { filter: filter, value: value, onChange: onChange }));
6289
6331
  case "number":
@@ -6457,7 +6499,29 @@ var RangeFilterComponent = function (_a) {
6457
6499
  // DATE FILTER
6458
6500
  // =========================================================================
6459
6501
  var DateFilter = function (_a) {
6460
- _a.filter; var value = _a.value, onChange = _a.onChange;
6502
+ var filter = _a.filter, value = _a.value, onChange = _a.onChange, translations = _a.translations;
6503
+ if (filter.granularity === "dayMonth") {
6504
+ var rawDayMonth = (value === null || value === void 0 ? void 0 : value.type) === "dayMonth" && value.dayMonth && typeof value.dayMonth !== "string"
6505
+ ? value.dayMonth
6506
+ : null;
6507
+ var rawDayMonthRange = null;
6508
+ if ((value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" &&
6509
+ value.dayMonthRange &&
6510
+ typeof value.dayMonthRange.start !== "string" &&
6511
+ typeof value.dayMonthRange.end !== "string") {
6512
+ rawDayMonthRange = value.dayMonthRange;
6513
+ }
6514
+ var dayMonthValue = (value === null || value === void 0 ? void 0 : value.type) === "dayMonth" || (value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange"
6515
+ ? {
6516
+ type: value.type,
6517
+ dayMonth: value.type === "dayMonth" ? rawDayMonth : null,
6518
+ dayMonthRange: value.type === "dayMonthRange" ? rawDayMonthRange : null,
6519
+ }
6520
+ : null;
6521
+ return (jsxRuntime.jsx(DayMonthPicker, { value: dayMonthValue, onChange: function (v) {
6522
+ return onChange(__assign({ date: null, dateRange: null }, v));
6523
+ }, translations: translations }));
6524
+ }
6461
6525
  var handleDateSelectorChange = function (dateSelectorValue) {
6462
6526
  onChange({
6463
6527
  type: dateSelectorValue.type === exports.HolidayType.SingleDay
@@ -6474,24 +6538,17 @@ var DateFilter = function (_a) {
6474
6538
  : null,
6475
6539
  }
6476
6540
  : null,
6541
+ dayMonth: null,
6542
+ dayMonthRange: null,
6477
6543
  });
6478
6544
  };
6479
- // Convert our internal format to DateSelector format
6480
6545
  var getInitialType = function () {
6481
6546
  if ((value === null || value === void 0 ? void 0 : value.type) === "dateRange") {
6482
6547
  return exports.HolidayType.DateRange;
6483
6548
  }
6484
6549
  return exports.HolidayType.SingleDay;
6485
6550
  };
6486
- // For now, we'll let DateSelector handle its own state
6487
- // The component will reset when the filter value changes
6488
- var getInitialDate = function () {
6489
- return undefined;
6490
- };
6491
- var getInitialDateRange = function () {
6492
- return undefined;
6493
- };
6494
- return (jsxRuntime.jsx(DateSelector, { initialType: getInitialType(), initialDate: getInitialDate(), initialDateRange: getInitialDateRange(), onChange: handleDateSelectorChange, className: "w-full" }));
6551
+ return (jsxRuntime.jsx(DateSelector, { initialType: getInitialType(), initialDate: undefined, initialDateRange: undefined, onChange: handleDateSelectorChange, className: "w-full" }));
6495
6552
  };
6496
6553
  // =========================================================================
6497
6554
  // TEXT FILTER
@@ -6555,6 +6612,7 @@ var DrawerFilters = function (_a) {
6555
6612
  }, [onCancel, onOpenChange]);
6556
6613
  // Apply filters and process values
6557
6614
  var handleApplyFilters = React.useCallback(function () {
6615
+ var _a, _b;
6558
6616
  var processedFilters = {};
6559
6617
  var _loop_1 = function (key, value) {
6560
6618
  if (value === undefined || value === null) {
@@ -6580,6 +6638,32 @@ var DrawerFilters = function (_a) {
6580
6638
  processedFilters[key] =
6581
6639
  "".concat(value.dateRange.start, "-").concat(value.dateRange.end);
6582
6640
  }
6641
+ else if (value.type === "dayMonth" && value.dayMonth) {
6642
+ if (typeof value.dayMonth === "string") {
6643
+ processedFilters[key] = value.dayMonth;
6644
+ }
6645
+ else {
6646
+ // CalendarDate → MM-DD (sin año)
6647
+ var mm = String(value.dayMonth.month).padStart(2, "0");
6648
+ var dd = String(value.dayMonth.day).padStart(2, "0");
6649
+ processedFilters[key] = "".concat(mm, "-").concat(dd);
6650
+ }
6651
+ }
6652
+ else if (value.type === "dayMonthRange" &&
6653
+ ((_a = value.dayMonthRange) === null || _a === void 0 ? void 0 : _a.start) &&
6654
+ ((_b = value.dayMonthRange) === null || _b === void 0 ? void 0 : _b.end)) {
6655
+ var start = value.dayMonthRange.start;
6656
+ var end = value.dayMonthRange.end;
6657
+ if (typeof start !== "string" && typeof end !== "string") {
6658
+ // CalendarDate → MM-DD (sin año)
6659
+ var s = "".concat(String(start.month).padStart(2, "0"), "-").concat(String(start.day).padStart(2, "0"));
6660
+ var e = "".concat(String(end.month).padStart(2, "0"), "-").concat(String(end.day).padStart(2, "0"));
6661
+ processedFilters[key] = "".concat(s, "-").concat(e);
6662
+ }
6663
+ else {
6664
+ processedFilters[key] = "".concat(start, "-").concat(end);
6665
+ }
6666
+ }
6583
6667
  }
6584
6668
  break;
6585
6669
  case "multiselect":
@@ -6612,8 +6696,8 @@ var DrawerFilters = function (_a) {
6612
6696
  }
6613
6697
  };
6614
6698
  // Procesar cada filtro según su tipo
6615
- for (var _i = 0, _a = Object.entries(filterValues); _i < _a.length; _i++) {
6616
- var _b = _a[_i], key = _b[0], value = _b[1];
6699
+ for (var _i = 0, _c = Object.entries(filterValues); _i < _c.length; _i++) {
6700
+ var _d = _c[_i], key = _d[0], value = _d[1];
6617
6701
  _loop_1(key, value);
6618
6702
  }
6619
6703
  onApplyFilters(processedFilters);
package/dist/index.esm.js CHANGED
@@ -6105,6 +6105,40 @@ var DrawerFiltersHeader = function (_a) {
6105
6105
  return (jsxs("div", { className: "px-6 pt-10", children: [jsx(H2, { className: "text-xl font-semibold text-foreground mb-2", children: title }), jsx(P, { className: "text-default-500", children: description })] }));
6106
6106
  };
6107
6107
 
6108
+ var NO_YEAR_CLASS = "[&_[data-type='year']]:hidden [&_[data-type='literal']:has(+[data-type='year'])]:hidden";
6109
+ var DayMonthPicker = function (_a) {
6110
+ var value = _a.value, onChange = _a.onChange, translations = _a.translations;
6111
+ var t = __assign({ dayMonthAriaLabel: "Seleccionar mes y día", dayMonthRangeAriaLabel: "Seleccionar rango de mes y día", dayMonthSingleOption: "Día específico", dayMonthRangeOption: "Rango de fechas" }, translations);
6112
+ var _b = useState((value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" ? "range" : "single"), mode = _b[0], setMode = _b[1];
6113
+ useEffect(function () {
6114
+ setMode((value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" ? "range" : "single");
6115
+ }, [value === null || value === void 0 ? void 0 : value.type]);
6116
+ var handleModeChange = function (newMode) {
6117
+ var nextMode = newMode === "range" ? "range" : "single";
6118
+ setMode(nextMode);
6119
+ if (nextMode === "single") {
6120
+ onChange({ type: "dayMonth", dayMonth: null, dayMonthRange: null });
6121
+ return;
6122
+ }
6123
+ onChange({ type: "dayMonthRange", dayMonth: null, dayMonthRange: null });
6124
+ };
6125
+ var handleSingleChange = function (date) {
6126
+ onChange({
6127
+ type: "dayMonth",
6128
+ dayMonth: date,
6129
+ dayMonthRange: null,
6130
+ });
6131
+ };
6132
+ var handleRangeChange = function (range) {
6133
+ onChange({
6134
+ type: "dayMonthRange",
6135
+ dayMonth: null,
6136
+ dayMonthRange: range,
6137
+ });
6138
+ };
6139
+ return (jsxs("div", { className: "w-full flex flex-wrap xs:gap-5 justify-between items-center", children: [jsxs(RadioGroup, { color: "primary", orientation: "horizontal", size: "sm", value: mode, onValueChange: handleModeChange, children: [jsx(Radio, { value: "single", children: t.dayMonthSingleOption }), jsx(Radio, { value: "range", children: t.dayMonthRangeOption })] }), mode === "single" ? (jsx(DatePicker, { value: (value === null || value === void 0 ? void 0 : value.type) === "dayMonth" ? value.dayMonth : null, onChange: handleSingleChange, "aria-label": t.dayMonthAriaLabel, endContent: jsx(IconComponent, { icon: "solar:calendar-outline" }), className: "w-full md:w-auto md:max-w-40 ".concat(NO_YEAR_CLASS) })) : (jsx(DateRangePicker, { value: (value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" ? value.dayMonthRange : null, onChange: handleRangeChange, "aria-label": t.dayMonthRangeAriaLabel, endContent: jsx(IconComponent, { icon: "solar:calendar-outline" }), className: "w-full md:w-auto md:max-w-xs ".concat(NO_YEAR_CLASS) }))] }));
6140
+ };
6141
+
6108
6142
  /**
6109
6143
  * RangeFilter component with histogram visualization for range selection.
6110
6144
  */
@@ -6197,6 +6231,7 @@ var FilterSection = function (_a) {
6197
6231
  onToggleExpanded === null || onToggleExpanded === void 0 ? void 0 : onToggleExpanded();
6198
6232
  };
6199
6233
  var hasActiveFilter = function () {
6234
+ var _a, _b, _c, _d;
6200
6235
  if (!value) {
6201
6236
  return false;
6202
6237
  }
@@ -6219,9 +6254,12 @@ var FilterSection = function (_a) {
6219
6254
  value.type &&
6220
6255
  ((value.type === "singleDay" && value.date) ||
6221
6256
  (value.type === "dateRange" &&
6222
- value.dateRange &&
6223
- value.dateRange.start &&
6224
- value.dateRange.end)));
6257
+ ((_a = value.dateRange) === null || _a === void 0 ? void 0 : _a.start) &&
6258
+ ((_b = value.dateRange) === null || _b === void 0 ? void 0 : _b.end)) ||
6259
+ (value.type === "dayMonth" && value.dayMonth) ||
6260
+ (value.type === "dayMonthRange" &&
6261
+ ((_c = value.dayMonthRange) === null || _c === void 0 ? void 0 : _c.start) &&
6262
+ ((_d = value.dayMonthRange) === null || _d === void 0 ? void 0 : _d.end))));
6225
6263
  case "text":
6226
6264
  return value && "value" in value && value.value !== "";
6227
6265
  case "number":
@@ -6234,6 +6272,7 @@ var FilterSection = function (_a) {
6234
6272
  }
6235
6273
  };
6236
6274
  var getActiveFilterCount = function () {
6275
+ var _a, _b, _c, _d;
6237
6276
  if (!value) {
6238
6277
  return 0;
6239
6278
  }
@@ -6257,9 +6296,12 @@ var FilterSection = function (_a) {
6257
6296
  value.type &&
6258
6297
  ((value.type === "singleDay" && value.date) ||
6259
6298
  (value.type === "dateRange" &&
6260
- value.dateRange &&
6261
- value.dateRange.start &&
6262
- value.dateRange.end))
6299
+ ((_a = value.dateRange) === null || _a === void 0 ? void 0 : _a.start) &&
6300
+ ((_b = value.dateRange) === null || _b === void 0 ? void 0 : _b.end)) ||
6301
+ (value.type === "dayMonth" && value.dayMonth) ||
6302
+ (value.type === "dayMonthRange" &&
6303
+ ((_c = value.dayMonthRange) === null || _c === void 0 ? void 0 : _c.start) &&
6304
+ ((_d = value.dayMonthRange) === null || _d === void 0 ? void 0 : _d.end)))
6263
6305
  ? 1
6264
6306
  : 0;
6265
6307
  case "text":
@@ -6284,7 +6326,7 @@ var FilterSection = function (_a) {
6284
6326
  case "range":
6285
6327
  return (jsx(RangeFilterComponent, { filter: filter, value: value, onChange: onChange }));
6286
6328
  case "date":
6287
- return (jsx(DateFilter, { filter: filter, value: value, onChange: onChange }));
6329
+ return (jsx(DateFilter, { filter: filter, value: value, onChange: onChange, translations: translations }));
6288
6330
  case "text":
6289
6331
  return (jsx(TextFilter, { filter: filter, value: value, onChange: onChange }));
6290
6332
  case "number":
@@ -6458,7 +6500,29 @@ var RangeFilterComponent = function (_a) {
6458
6500
  // DATE FILTER
6459
6501
  // =========================================================================
6460
6502
  var DateFilter = function (_a) {
6461
- _a.filter; var value = _a.value, onChange = _a.onChange;
6503
+ var filter = _a.filter, value = _a.value, onChange = _a.onChange, translations = _a.translations;
6504
+ if (filter.granularity === "dayMonth") {
6505
+ var rawDayMonth = (value === null || value === void 0 ? void 0 : value.type) === "dayMonth" && value.dayMonth && typeof value.dayMonth !== "string"
6506
+ ? value.dayMonth
6507
+ : null;
6508
+ var rawDayMonthRange = null;
6509
+ if ((value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange" &&
6510
+ value.dayMonthRange &&
6511
+ typeof value.dayMonthRange.start !== "string" &&
6512
+ typeof value.dayMonthRange.end !== "string") {
6513
+ rawDayMonthRange = value.dayMonthRange;
6514
+ }
6515
+ var dayMonthValue = (value === null || value === void 0 ? void 0 : value.type) === "dayMonth" || (value === null || value === void 0 ? void 0 : value.type) === "dayMonthRange"
6516
+ ? {
6517
+ type: value.type,
6518
+ dayMonth: value.type === "dayMonth" ? rawDayMonth : null,
6519
+ dayMonthRange: value.type === "dayMonthRange" ? rawDayMonthRange : null,
6520
+ }
6521
+ : null;
6522
+ return (jsx(DayMonthPicker, { value: dayMonthValue, onChange: function (v) {
6523
+ return onChange(__assign({ date: null, dateRange: null }, v));
6524
+ }, translations: translations }));
6525
+ }
6462
6526
  var handleDateSelectorChange = function (dateSelectorValue) {
6463
6527
  onChange({
6464
6528
  type: dateSelectorValue.type === HolidayType.SingleDay
@@ -6475,24 +6539,17 @@ var DateFilter = function (_a) {
6475
6539
  : null,
6476
6540
  }
6477
6541
  : null,
6542
+ dayMonth: null,
6543
+ dayMonthRange: null,
6478
6544
  });
6479
6545
  };
6480
- // Convert our internal format to DateSelector format
6481
6546
  var getInitialType = function () {
6482
6547
  if ((value === null || value === void 0 ? void 0 : value.type) === "dateRange") {
6483
6548
  return HolidayType.DateRange;
6484
6549
  }
6485
6550
  return HolidayType.SingleDay;
6486
6551
  };
6487
- // For now, we'll let DateSelector handle its own state
6488
- // The component will reset when the filter value changes
6489
- var getInitialDate = function () {
6490
- return undefined;
6491
- };
6492
- var getInitialDateRange = function () {
6493
- return undefined;
6494
- };
6495
- return (jsx(DateSelector, { initialType: getInitialType(), initialDate: getInitialDate(), initialDateRange: getInitialDateRange(), onChange: handleDateSelectorChange, className: "w-full" }));
6552
+ return (jsx(DateSelector, { initialType: getInitialType(), initialDate: undefined, initialDateRange: undefined, onChange: handleDateSelectorChange, className: "w-full" }));
6496
6553
  };
6497
6554
  // =========================================================================
6498
6555
  // TEXT FILTER
@@ -6556,6 +6613,7 @@ var DrawerFilters = function (_a) {
6556
6613
  }, [onCancel, onOpenChange]);
6557
6614
  // Apply filters and process values
6558
6615
  var handleApplyFilters = useCallback(function () {
6616
+ var _a, _b;
6559
6617
  var processedFilters = {};
6560
6618
  var _loop_1 = function (key, value) {
6561
6619
  if (value === undefined || value === null) {
@@ -6581,6 +6639,32 @@ var DrawerFilters = function (_a) {
6581
6639
  processedFilters[key] =
6582
6640
  "".concat(value.dateRange.start, "-").concat(value.dateRange.end);
6583
6641
  }
6642
+ else if (value.type === "dayMonth" && value.dayMonth) {
6643
+ if (typeof value.dayMonth === "string") {
6644
+ processedFilters[key] = value.dayMonth;
6645
+ }
6646
+ else {
6647
+ // CalendarDate → MM-DD (sin año)
6648
+ var mm = String(value.dayMonth.month).padStart(2, "0");
6649
+ var dd = String(value.dayMonth.day).padStart(2, "0");
6650
+ processedFilters[key] = "".concat(mm, "-").concat(dd);
6651
+ }
6652
+ }
6653
+ else if (value.type === "dayMonthRange" &&
6654
+ ((_a = value.dayMonthRange) === null || _a === void 0 ? void 0 : _a.start) &&
6655
+ ((_b = value.dayMonthRange) === null || _b === void 0 ? void 0 : _b.end)) {
6656
+ var start = value.dayMonthRange.start;
6657
+ var end = value.dayMonthRange.end;
6658
+ if (typeof start !== "string" && typeof end !== "string") {
6659
+ // CalendarDate → MM-DD (sin año)
6660
+ var s = "".concat(String(start.month).padStart(2, "0"), "-").concat(String(start.day).padStart(2, "0"));
6661
+ var e = "".concat(String(end.month).padStart(2, "0"), "-").concat(String(end.day).padStart(2, "0"));
6662
+ processedFilters[key] = "".concat(s, "-").concat(e);
6663
+ }
6664
+ else {
6665
+ processedFilters[key] = "".concat(start, "-").concat(end);
6666
+ }
6667
+ }
6584
6668
  }
6585
6669
  break;
6586
6670
  case "multiselect":
@@ -6613,8 +6697,8 @@ var DrawerFilters = function (_a) {
6613
6697
  }
6614
6698
  };
6615
6699
  // Procesar cada filtro según su tipo
6616
- for (var _i = 0, _a = Object.entries(filterValues); _i < _a.length; _i++) {
6617
- var _b = _a[_i], key = _b[0], value = _b[1];
6700
+ for (var _i = 0, _c = Object.entries(filterValues); _i < _c.length; _i++) {
6701
+ var _d = _c[_i], key = _d[0], value = _d[1];
6618
6702
  _loop_1(key, value);
6619
6703
  }
6620
6704
  onApplyFilters(processedFilters);
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer-filters/DrawerFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAEX,kBAAkB,EAOlB,MAAM,uBAAuB,CAAC;AAK/B;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2KtD,CAAC"}
1
+ {"version":3,"file":"DrawerFilters.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer-filters/DrawerFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAEX,kBAAkB,EAOlB,MAAM,uBAAuB,CAAC;AAK/B;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmMtD,CAAC"}
@@ -1,3 +1,5 @@
1
+ import type { RangeValue } from "@heroui/react";
2
+ import type { DateValue } from "@internationalized/date";
1
3
  export type FilterType = "select" | "multiselect" | "range" | "date" | "text" | "number";
2
4
  export interface BaseFilterData {
3
5
  key: string;
@@ -44,6 +46,7 @@ export interface RangeFilterData extends BaseFilterData {
44
46
  }
45
47
  export interface DateFilterData extends BaseFilterData {
46
48
  type: "date";
49
+ granularity?: "full" | "dayMonth";
47
50
  data: {
48
51
  min?: string;
49
52
  max?: string;
@@ -79,6 +82,14 @@ export type DrawerFiltersTranslations = {
79
82
  multiselectMoreLabel?: string;
80
83
  /** Mensaje cuando el buscador no coincide con ninguna opción */
81
84
  multiselectNoResults?: string;
85
+ /** Aria-label del DatePicker en filtros `date` con `granularity: 'dayMonth'` */
86
+ dayMonthAriaLabel?: string;
87
+ /** Aria-label del DateRangePicker en filtros `date` con `granularity: 'dayMonth'` y modo rango */
88
+ dayMonthRangeAriaLabel?: string;
89
+ /** Label del radio "día específico" en modo dayMonth. Default: "Día específico" */
90
+ dayMonthSingleOption?: string;
91
+ /** Label del radio "rango" en modo dayMonth. Default: "Rango de fechas" */
92
+ dayMonthRangeOption?: string;
82
93
  };
83
94
  export interface DrawerFiltersConfig {
84
95
  title: string;
@@ -127,12 +138,17 @@ export interface RangeFilterValue {
127
138
  max: number;
128
139
  }
129
140
  export interface DateFilterValue {
130
- type: "singleDay" | "dateRange";
141
+ type: "singleDay" | "dateRange" | "dayMonth" | "dayMonthRange";
131
142
  date: string | null;
132
143
  dateRange: {
133
144
  start: string | null;
134
145
  end: string | null;
135
146
  } | null;
147
+ dayMonth: string | DateValue | null;
148
+ dayMonthRange: {
149
+ start: string | null;
150
+ end: string | null;
151
+ } | RangeValue<DateValue> | null;
136
152
  }
137
153
  export interface TextFilterValue {
138
154
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerFilters.types.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer-filters/DrawerFilters.types.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,UAAU,GACnB,QAAQ,GACR,aAAa,GACb,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,CAAC;AAEZ,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACvD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,KAAK,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;CACH;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC5D,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,KAAK,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;IACH;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACtD,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,CAA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GACf,iBAAiB,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACtC,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,WAAW,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE;QACV,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;KACnB,GAAG,IAAI,CAAC;CACT;AAED,MAAM,WAAW,eAAe;IAC/B,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB"}
1
+ {"version":3,"file":"DrawerFilters.types.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer-filters/DrawerFilters.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAMzD,MAAM,MAAM,UAAU,GACnB,QAAQ,GACR,aAAa,GACb,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,CAAC;AAEZ,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACvD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,KAAK,CAA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EAAE,MAAM,GAAG,IAAI,CAAC;KACnB,GAAG,IAAI,CAAC;IACT,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IACpC,aAAa,EAAE;QACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;KACnB,GAAG,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,eAAe;IAC/B,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB"}
@@ -0,0 +1,16 @@
1
+ import type { DateValue, RangeValue } from "@heroui/react";
2
+ import type React from "react";
3
+ import type { DrawerFiltersTranslations } from "../DrawerFilters.types";
4
+ interface DayMonthPickerValue {
5
+ type: "dayMonth" | "dayMonthRange";
6
+ dayMonth: DateValue | null;
7
+ dayMonthRange: RangeValue<DateValue> | null;
8
+ }
9
+ interface DayMonthPickerProps {
10
+ value?: DayMonthPickerValue | null;
11
+ onChange: (value: DayMonthPickerValue) => void;
12
+ translations?: DrawerFiltersTranslations;
13
+ }
14
+ export declare const DayMonthPicker: React.FC<DayMonthPickerProps>;
15
+ export {};
16
+ //# sourceMappingURL=DayMonthPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DayMonthPicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer-filters/_internal/DayMonthPicker.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAKxE,UAAU,mBAAmB;IAC5B,IAAI,EAAE,UAAU,GAAG,eAAe,CAAC;IACnC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;CAC5C;AAED,UAAU,mBAAmB;IAC5B,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC/C,YAAY,CAAC,EAAE,yBAAyB,CAAC;CACzC;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+ExD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FilterSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer-filters/_internal/FilterSection.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAIX,kBAAkB,EAWlB,MAAM,wBAAwB,CAAC;AAMhC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiOtD,CAAC"}
1
+ {"version":3,"file":"FilterSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer-filters/_internal/FilterSection.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAIX,kBAAkB,EAWlB,MAAM,wBAAwB,CAAC;AAMhC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwOtD,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { DrawerFilters } from "./DrawerFilters";
2
- export type { DrawerFiltersProps, DrawerFiltersConfig, DrawerFiltersTranslations, FilterData, FilterType, FilterValues, SelectFilterData, MultiSelectFilterData, RangeFilterData, DateFilterData, } from "./DrawerFilters.types";
2
+ export type { DrawerFiltersProps, DrawerFiltersConfig, DrawerFiltersTranslations, FilterData, FilterType, FilterValues, SelectFilterData, MultiSelectFilterData, RangeFilterData, DateFilterData, DateFilterValue, } from "./DrawerFilters.types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer-filters/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,YAAY,EACX,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,GACd,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer-filters/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,YAAY,EACX,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,eAAe,GACf,MAAM,uBAAuB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beweco/aurora-ui",
3
- "version": "0.6.29",
3
+ "version": "0.6.31",
4
4
  "description": "Bewe Aurora UI Component Library",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",