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.mjs CHANGED
@@ -2994,13 +2994,13 @@ var TaskRow = React2.memo(
2994
2994
  (currentEndDate.getTime() - currentStartDate.getTime()) / (1e3 * 60 * 60 * 24)
2995
2995
  ) + 1;
2996
2996
  const getChildCountLabel = (count) => {
2997
- if (count === 1) return "1 \u0437\u0430\u0434\u0430\u0447\u0430";
2997
+ if (count === 1) return "1 \u0440\u0430\u0431\u043E\u0442\u0430";
2998
2998
  const lastTwoDigits = count % 100;
2999
2999
  const lastDigit = count % 10;
3000
- if (lastTwoDigits >= 11 && lastTwoDigits <= 14) return `${count} \u0437\u0430\u0434\u0430\u0447`;
3001
- if (lastDigit === 1) return `${count} \u0437\u0430\u0434\u0430\u0447\u0430`;
3002
- if (lastDigit >= 2 && lastDigit <= 4) return `${count} \u0437\u0430\u0434\u0430\u0447\u0438`;
3003
- return `${count} \u0437\u0430\u0434\u0430\u0447`;
3000
+ if (lastTwoDigits >= 11 && lastTwoDigits <= 14) return `${count} \u0440\u0430\u0431\u043E\u0442`;
3001
+ if (lastDigit === 1) return `${count} \u0440\u0430\u0431\u043E\u0442\u0430`;
3002
+ if (lastDigit >= 2 && lastDigit <= 4) return `${count} \u0440\u0430\u0431\u043E\u0442\u044B`;
3003
+ return `${count} \u0440\u0430\u0431\u043E\u0442`;
3004
3004
  };
3005
3005
  const estimatedTextWidth = isParent ? 120 : durationDays >= 10 ? 76 : 62;
3006
3006
  const showProgressInside = !milestone && progressWidth > 0 && displayWidth > estimatedTextWidth;
@@ -5898,7 +5898,7 @@ var TaskListRow = React10.memo(
5898
5898
  {
5899
5899
  type: "checkbox",
5900
5900
  className: "gantt-tl-selection-checkbox",
5901
- "aria-label": `\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 ${taskNumber ? `${taskNumber}. ` : ""}${task.name}`,
5901
+ "aria-label": `\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 ${taskNumber ? `${taskNumber}. ` : ""}${task.name}`,
5902
5902
  checked: isTaskSelected,
5903
5903
  onChange: (event) => onTaskSelectionChange?.(task.id, event.target.checked)
5904
5904
  }
@@ -6143,14 +6143,14 @@ var TaskListRow = React10.memo(
6143
6143
  });
6144
6144
  const newTask = {
6145
6145
  id: crypto.randomUUID(),
6146
- name: "\u041D\u043E\u0432\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430",
6146
+ name: "\u041D\u043E\u0432\u0430\u044F \u0440\u0430\u0431\u043E\u0442\u0430",
6147
6147
  startDate: range.startDate,
6148
6148
  endDate: range.endDate,
6149
6149
  parentId: task.parentId
6150
6150
  };
6151
6151
  onInsertAfter(task.id, newTask);
6152
6152
  },
6153
- "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",
6153
+ "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",
6154
6154
  children: /* @__PURE__ */ jsx13(PlusIcon, {})
6155
6155
  }
6156
6156
  ),
@@ -6312,7 +6312,7 @@ var TaskListRow = React10.memo(
6312
6312
  },
6313
6313
  children: [
6314
6314
  /* @__PURE__ */ jsx13(TrashIcon, {}),
6315
- "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"
6315
+ "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443"
6316
6316
  ]
6317
6317
  }
6318
6318
  )
@@ -7178,7 +7178,7 @@ var SelectAllCheckbox = ({
7178
7178
  ref,
7179
7179
  type: "checkbox",
7180
7180
  className: "gantt-tl-selection-checkbox",
7181
- "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",
7181
+ "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",
7182
7182
  checked,
7183
7183
  onChange: (event) => onChange(event.target.checked),
7184
7184
  onClick: (event) => event.stopPropagation()
@@ -8259,7 +8259,7 @@ var TaskList = ({
8259
8259
  handleDrop(visibleTasks.length, e);
8260
8260
  },
8261
8261
  type: "button",
8262
- children: "+ \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"
8262
+ children: "+ \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443"
8263
8263
  }
8264
8264
  )
8265
8265
  ] })