{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "gantt-holidays",
  "framework": "javascript",
  "type": "registry:component",
  "component": "Gantt",
  "variant": "holidays",
  "dependencies": [
    "@syncfusion/ej2-gantt"
  ],
  "description": "Gantt chart sample highlighting holidays, non-working days, and resource scheduling.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/javascript/llms.txt",
    "skillPack": "syncfusion/javascript-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/javascript/gantt-holidays.md"
  },
  "files": [
    {
      "target": "src/components/gantt-holidays/gantt.html",
      "content": "<div class=\"control-section\">\n    <div class=\"content-wrapper\">\n        <div id=\"container\">\n        </div>\n    </div>\n</div>\n"
    },
    {
      "target": "src/components/gantt-holidays/gantt.ts",
      "content": "import { Gantt, Selection, DayMarkers } from '@syncfusion/ej2-gantt';\nimport { projectNewData } from '../datasource/gantt-data';\n/**\n * Holidays Gantt sample\n */\n\nGantt.Inject(Selection, DayMarkers);\n\nexport function initHolidaysGantt(): void {\n    let gantt: Gantt = new Gantt(\n        {\n            dataSource: projectNewData,\n            height: '650px',\n            rowHeight: 46,\n            taskbarHeight: 25,\n            highlightWeekends: true,\n            taskFields: {\n                id: 'TaskID',\n                name: 'TaskName',\n                startDate: 'StartDate',\n                endDate: 'EndDate',\n                duration: 'Duration',\n                progress: 'Progress',\n                dependency: 'Predecessor',\n                parentID: 'ParentId'\n            },\n            treeColumnIndex: 1,\n            columns: [\n                { field: 'TaskID', visible: false , width: 80 },\n                { field: 'TaskName', headerText: 'Name', width: 280 },\n                { field: 'StartDate' },\n                { field: 'EndDate' },\n                { field: 'Duration' },\n                { field: 'Predecessor' },\n                { field: 'Progress' }\n            ],\n            labelSettings: {\n                rightLabel: 'TaskName'\n            },\n            splitterSettings: {\n                columnIndex: 1\n            },\n            holidays: [\n                {\n                    from: new Date('03/28/2025'),\n                    to: new Date('03/28/2025'),\n                    label: 'Good Friday'\n                },\n                {\n                    from: new Date('03/30/2025'),\n                    to: new Date('03/30/2025'),\n                    label: 'Easter Sunday'\n                }, \n                {\n                    from: new Date('05/26/2025'),\n                    to: new Date('05/26/2025'),\n                    label: 'Memorial Day'\n                }, \n                {\n                    from: new Date('07/04/2025'),\n                    to: new Date('07/04/2025'),\n                    label: 'Independence Day'\n                }, \n            ],\n            projectStartDate: new Date('03/25/2025'),\n            projectEndDate: new Date('07/20/2025')\n        });\n    gantt.appendTo('#container');\n}\n"
    }
  ]
}