gantt-lib 0.118.2 → 0.119.0

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.js CHANGED
@@ -3137,13 +3137,13 @@ var TaskRow = import_react3.default.memo(
3137
3137
  (currentEndDate.getTime() - currentStartDate.getTime()) / (1e3 * 60 * 60 * 24)
3138
3138
  ) + 1;
3139
3139
  const getChildCountLabel = (count) => {
3140
- if (count === 1) return "1 \u0437\u0430\u0434\u0430\u0447\u0430";
3140
+ if (count === 1) return "1 \u0440\u0430\u0431\u043E\u0442\u0430";
3141
3141
  const lastTwoDigits = count % 100;
3142
3142
  const lastDigit = count % 10;
3143
- if (lastTwoDigits >= 11 && lastTwoDigits <= 14) return `${count} \u0437\u0430\u0434\u0430\u0447`;
3144
- if (lastDigit === 1) return `${count} \u0437\u0430\u0434\u0430\u0447\u0430`;
3145
- if (lastDigit >= 2 && lastDigit <= 4) return `${count} \u0437\u0430\u0434\u0430\u0447\u0438`;
3146
- return `${count} \u0437\u0430\u0434\u0430\u0447`;
3143
+ if (lastTwoDigits >= 11 && lastTwoDigits <= 14) return `${count} \u0440\u0430\u0431\u043E\u0442`;
3144
+ if (lastDigit === 1) return `${count} \u0440\u0430\u0431\u043E\u0442\u0430`;
3145
+ if (lastDigit >= 2 && lastDigit <= 4) return `${count} \u0440\u0430\u0431\u043E\u0442\u044B`;
3146
+ return `${count} \u0440\u0430\u0431\u043E\u0442`;
3147
3147
  };
3148
3148
  const estimatedTextWidth = isParent ? 120 : durationDays >= 10 ? 76 : 62;
3149
3149
  const showProgressInside = !milestone && progressWidth > 0 && displayWidth > estimatedTextWidth;
@@ -6017,7 +6017,7 @@ var TaskListRow = import_react11.default.memo(
6017
6017
  {
6018
6018
  type: "checkbox",
6019
6019
  className: "gantt-tl-selection-checkbox",
6020
- "aria-label": `\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 ${taskNumber ? `${taskNumber}. ` : ""}${task.name}`,
6020
+ "aria-label": `\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 ${taskNumber ? `${taskNumber}. ` : ""}${task.name}`,
6021
6021
  checked: isTaskSelected,
6022
6022
  onChange: (event) => onTaskSelectionChange?.(task.id, event.target.checked)
6023
6023
  }
@@ -6262,14 +6262,14 @@ var TaskListRow = import_react11.default.memo(
6262
6262
  });
6263
6263
  const newTask = {
6264
6264
  id: crypto.randomUUID(),
6265
- name: "\u041D\u043E\u0432\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430",
6265
+ name: "\u041D\u043E\u0432\u0430\u044F \u0440\u0430\u0431\u043E\u0442\u0430",
6266
6266
  startDate: range.startDate,
6267
6267
  endDate: range.endDate,
6268
6268
  parentId: task.parentId
6269
6269
  };
6270
6270
  onInsertAfter(task.id, newTask);
6271
6271
  },
6272
- "aria-label": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u043F\u043E\u0441\u043B\u0435 \u044D\u0442\u043E\u0439",
6272
+ "aria-label": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 \u043F\u043E\u0441\u043B\u0435 \u044D\u0442\u043E\u0439",
6273
6273
  children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PlusIcon, {})
6274
6274
  }
6275
6275
  ),
@@ -6431,7 +6431,7 @@ var TaskListRow = import_react11.default.memo(
6431
6431
  },
6432
6432
  children: [
6433
6433
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(TrashIcon, {}),
6434
- "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"
6434
+ "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443"
6435
6435
  ]
6436
6436
  }
6437
6437
  )
@@ -7297,7 +7297,7 @@ var SelectAllCheckbox = ({
7297
7297
  ref,
7298
7298
  type: "checkbox",
7299
7299
  className: "gantt-tl-selection-checkbox",
7300
- "aria-label": "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435 \u0432\u0438\u0434\u0438\u043C\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",
7300
+ "aria-label": "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435 \u0432\u0438\u0434\u0438\u043C\u044B\u0435 \u0440\u0430\u0431\u043E\u0442\u044B",
7301
7301
  checked,
7302
7302
  onChange: (event) => onChange(event.target.checked),
7303
7303
  onClick: (event) => event.stopPropagation()
@@ -8378,7 +8378,7 @@ var TaskList = ({
8378
8378
  handleDrop(visibleTasks.length, e);
8379
8379
  },
8380
8380
  type: "button",
8381
- children: "+ \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"
8381
+ children: "+ \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443"
8382
8382
  }
8383
8383
  )
8384
8384
  ] })