@plasmicpkgs/plasmic-rich-components 1.0.150 → 1.0.152

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.
@@ -1386,14 +1386,9 @@ function useSortedFilteredData(data, columns) {
1386
1386
  };
1387
1387
  }
1388
1388
  function deriveRowKey(data, rowKey) {
1389
- var _a;
1390
1389
  if (rowKey) {
1391
1390
  return rowKey;
1392
1391
  }
1393
- const schema = data == null ? void 0 : data.schema;
1394
- if (schema) {
1395
- return (_a = schema.fields[0]) == null ? void 0 : _a.id;
1396
- }
1397
1392
  return void 0;
1398
1393
  }
1399
1394
  function deriveKeyOfRow(row, rowKey) {
@@ -2725,8 +2720,13 @@ var __objRest = (source, exclude) => {
2725
2720
  dayjs.extend(weekday);
2726
2721
  dayjs.extend(localeData);
2727
2722
  function getEventFullDate(date) {
2728
- var _a;
2729
- return ((_a = parseDate(date)) == null ? void 0 : _a.toISOString()) || void 0;
2723
+ const parsed = parseDate(date);
2724
+ if (!parsed)
2725
+ return void 0;
2726
+ const yyyy = parsed.getFullYear();
2727
+ const mm = (parsed.getMonth() + 1).toString().padStart(2, "0");
2728
+ const dd = parsed.getDate().toString().padStart(2, "0");
2729
+ return `${yyyy}-${mm}-${dd}`;
2730
2730
  }
2731
2731
  function getEventMonthYear(date) {
2732
2732
  var _a;