apexgantt 3.4.1 → 3.6.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/.github/workflows/publish.yml +7 -2
- package/apexgantt.es.min.js +7 -1
- package/apexgantt.min.js +2 -2
- package/package.json +5 -1
|
@@ -5,6 +5,10 @@ on:
|
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
id-token: write
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
8
12
|
jobs:
|
|
9
13
|
publish:
|
|
10
14
|
runs-on: ubuntu-latest
|
|
@@ -13,8 +17,9 @@ jobs:
|
|
|
13
17
|
- uses: actions/setup-node@v4
|
|
14
18
|
with:
|
|
15
19
|
node-version: "20"
|
|
16
|
-
registry-url: "https://registry.npmjs.org"
|
|
20
|
+
registry-url: "https://registry.npmjs.org"
|
|
21
|
+
|
|
17
22
|
- run: npm install
|
|
18
|
-
- run: npm publish
|
|
23
|
+
- run: npm publish --provenance
|
|
19
24
|
env:
|
|
20
25
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/apexgantt.es.min.js
CHANGED
|
@@ -14079,7 +14079,13 @@ function getTaskTextByColumn(task, columnKey, inputDateFormat) {
|
|
|
14079
14079
|
return taskColumnValue;
|
|
14080
14080
|
}
|
|
14081
14081
|
function getTaskRowElement(context, taskId) {
|
|
14082
|
-
|
|
14082
|
+
const chartInstanceId = context.getInstanceId();
|
|
14083
|
+
const selector = `.tasks-container .tasks-data-row[data-taskid="${taskId}"][data-chart-instance="${chartInstanceId}"]`;
|
|
14084
|
+
const element = context.querySelector(selector);
|
|
14085
|
+
if (!element) {
|
|
14086
|
+
console.warn(`[${chartInstanceId}] Task row element not found for task: ${taskId}`);
|
|
14087
|
+
}
|
|
14088
|
+
return element;
|
|
14083
14089
|
}
|
|
14084
14090
|
function getRowBackgroundColor(index, rowBackgroundColors) {
|
|
14085
14091
|
if (!(rowBackgroundColors == null ? void 0 : rowBackgroundColors.length))
|