@xpyjs/gantt-core 0.0.1-alpha.0 → 0.0.1-alpha.2
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/package.json +15 -16
- package/dist/style.css +0 -1
- package/dist/x-gantt.js +0 -5793
- package/dist/x-gantt.umd.cjs +0 -18
- package/types/GanttContext.d.ts +0 -33
- package/types/XGantt.d.ts +0 -243
- package/types/event/index.d.ts +0 -65
- package/types/index.d.ts +0 -12
- package/types/logo.d.ts +0 -2
- package/types/models/Task.d.ts +0 -67
- package/types/rendering/RenderScheduler.d.ts +0 -93
- package/types/rendering/Renderer.d.ts +0 -51
- package/types/rendering/chart/ChartBody.d.ts +0 -102
- package/types/rendering/chart/ChartGrid.d.ts +0 -37
- package/types/rendering/chart/ChartHeader.d.ts +0 -54
- package/types/rendering/chart/ChartHoliday.d.ts +0 -38
- package/types/rendering/chart/ChartLink.d.ts +0 -85
- package/types/rendering/chart/ChartRow.d.ts +0 -17
- package/types/rendering/chart/ChartSlider.d.ts +0 -54
- package/types/rendering/chart/ChartToday.d.ts +0 -31
- package/types/rendering/chart/ChartWeekend.d.ts +0 -43
- package/types/rendering/chart/Pattern.d.ts +0 -19
- package/types/rendering/chart/index.d.ts +0 -33
- package/types/rendering/other/GuideLine.d.ts +0 -50
- package/types/rendering/other/MiddleResizeLine.d.ts +0 -14
- package/types/rendering/scrollbar/index.d.ts +0 -131
- package/types/rendering/table/Checkbox.d.ts +0 -39
- package/types/rendering/table/TableBody.d.ts +0 -25
- package/types/rendering/table/TableCell.d.ts +0 -43
- package/types/rendering/table/TableHeader.d.ts +0 -13
- package/types/rendering/table/TableHeaderCell.d.ts +0 -20
- package/types/rendering/table/TableHeaderGroup.d.ts +0 -15
- package/types/rendering/table/TableRow.d.ts +0 -57
- package/types/rendering/table/index.d.ts +0 -15
- package/types/store/ColumnManager.d.ts +0 -75
- package/types/store/DataManager.d.ts +0 -119
- package/types/store/OptionManager.d.ts +0 -11
- package/types/store/TimeAxis.d.ts +0 -88
- package/types/store/index.d.ts +0 -21
- package/types/types/chart.d.ts +0 -59
- package/types/types/event.d.ts +0 -21
- package/types/types/global.d.ts +0 -9
- package/types/types/index.d.ts +0 -21
- package/types/types/link.d.ts +0 -23
- package/types/types/options.d.ts +0 -552
- package/types/types/render.d.ts +0 -26
- package/types/types/styles.d.ts +0 -37
- package/types/types/table.d.ts +0 -134
- package/types/utils/color.d.ts +0 -148
- package/types/utils/helpers.d.ts +0 -43
- package/types/utils/id.d.ts +0 -1
- package/types/utils/logger.d.ts +0 -88
- package/types/utils/size.d.ts +0 -7
- package/types/utils/time.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpyjs/gantt-core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.1-alpha.
|
|
4
|
+
"version": "0.0.1-alpha.2",
|
|
5
5
|
"description": "A powerful and flexible Gantt chart component library for modern web applications with TypeScript support",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/x-gantt.umd.cjs",
|
|
@@ -23,19 +23,6 @@
|
|
|
23
23
|
"README.md",
|
|
24
24
|
"LICENSE"
|
|
25
25
|
],
|
|
26
|
-
"scripts": {
|
|
27
|
-
"dev": "vite build --watch",
|
|
28
|
-
"build": "npm run build:lib && npm run build:types",
|
|
29
|
-
"build:lib": "vite build",
|
|
30
|
-
"build:types": "rimraf types && tsc && npm run copy:types",
|
|
31
|
-
"copy:types": "node scripts/build-types.js",
|
|
32
|
-
"preview": "vite preview",
|
|
33
|
-
"test": "vitest",
|
|
34
|
-
"test:coverage": "vitest run --coverage",
|
|
35
|
-
"clean": "rimraf dist types",
|
|
36
|
-
"prepublishOnly": "npm run clean && npm run build && vitest --watch=false",
|
|
37
|
-
"publish": "npm publish"
|
|
38
|
-
},
|
|
39
26
|
"dependencies": {
|
|
40
27
|
"dayjs": "^1.11.11",
|
|
41
28
|
"konva": "^9.3.6",
|
|
@@ -74,5 +61,17 @@
|
|
|
74
61
|
"sideEffects": [
|
|
75
62
|
"**/*.css",
|
|
76
63
|
"**/*.scss"
|
|
77
|
-
]
|
|
78
|
-
|
|
64
|
+
],
|
|
65
|
+
"scripts": {
|
|
66
|
+
"dev": "vite build --watch",
|
|
67
|
+
"build": "npm run build:lib && npm run build:types",
|
|
68
|
+
"build:lib": "vite build",
|
|
69
|
+
"build:types": "rimraf types && tsc && npm run copy:types",
|
|
70
|
+
"copy:types": "node scripts/build-types.js",
|
|
71
|
+
"preview": "vite preview",
|
|
72
|
+
"test": "vitest",
|
|
73
|
+
"test:coverage": "vitest run --coverage",
|
|
74
|
+
"clean": "rimraf dist types",
|
|
75
|
+
"release": "pnpm publish --access public"
|
|
76
|
+
}
|
|
77
|
+
}
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.x-gantt{--x-gantt-border-color: #e5e5e5}.x-gantt-table-container{flex-shrink:0;box-sizing:border-box;height:100%;overflow:hidden;display:flex;flex-direction:column;width:100%}.x-gantt-table-header{flex-shrink:0;box-sizing:border-box;border-bottom:1px solid var(--x-gantt-border-color)!important;display:flex;flex-direction:row;overflow:hidden;position:relative;flex-wrap:nowrap}.x-gantt-table-header .x-gantt-table-header-cell{position:relative;box-sizing:border-box;overflow:hidden;font-weight:var(--x-gantt-header-font-weight);flex-shrink:0;padding:0 8px}.x-gantt-table-header .x-gantt-table-header-cell.border{border-right:1px solid var(--x-gantt-border-color)!important}.x-gantt-table-header .x-gantt-table-header-cell .x-gantt-column-resize-handle{transition:background-color .2s ease}.x-gantt-table-header .x-gantt-table-header-cell .x-gantt-column-resize-handle:hover{background-color:#0000001a!important}.x-gantt-table-header>div:last-child.x-gantt-table-header-group.border>.x-gantt-table-header-cell.border{border-right:none}.x-gantt-table-header>div:last-child .x-gantt-table-header-group.border>.x-gantt-table-header-cell.border{border-right:none}.x-gantt-table-header>div:last-child.x-gantt-table-header-cell.border{border-right:none}.x-gantt-table-header-group{display:flex;flex-direction:column;box-sizing:border-box}.x-gantt-table-header-group>.x-gantt-table-header-cell{border-bottom:1px solid var(--x-gantt-border-color)!important}.x-gantt-table-header-group>.x-gantt-table-header-cell>.x-gantt-table-header-title{text-align:center}.x-gantt-table-header-children{display:flex;flex-direction:row}.x-gantt-table-body{flex:1;overflow:hidden;box-sizing:border-box;position:relative;width:100%;height:100%}.x-gantt-table-row{box-sizing:border-box}.x-gantt-table-row.hover>.x-gantt-table-cell{background-color:var(--x-gantt-row-hover-color, rgba(0, 0, 0, .05))!important}.x-gantt-table-row.selected>.x-gantt-table-cell{background-color:var(--x-gantt-row-selected-color, rgba(0, 0, 0, .1))!important}.x-gantt-table-cell{box-sizing:border-box;display:inline-block;border-bottom:1px solid var(--x-gantt-border-color)!important;padding:var(--x-gantt-cell-padding, 4px 8px)}.x-gantt-table-cell .x-gantt-table-cell__content{box-sizing:border-box}.x-gantt-table-cell.border{border-right:1px solid var(--x-gantt-border-color)!important}.x-gantt-content-wrapper{width:100%;height:100%;scrollbar-width:none}.x-gantt-content-wrapper::-webkit-scrollbar{display:none}.gantt-scrollbar{position:absolute;z-index:10;opacity:0;transition:opacity .2s ease-in-out;pointer-events:none}.gantt-scrollbar.visible{opacity:1;pointer-events:auto}.gantt-scrollbar-thumb{position:absolute;cursor:pointer;transition:background-color .2s ease-in-out,height .1s ease-out,width .1s ease-out,transform .05s linear}.gantt-scrollbar-vertical{top:0;right:0;bottom:0}.gantt-scrollbar-vertical .gantt-scrollbar-thumb-vertical{top:0;left:0;right:0}.gantt-scrollbar-horizontal{left:0;bottom:0;right:0}.gantt-scrollbar-horizontal .gantt-scrollbar-thumb-horizontal{left:0;top:0;bottom:0}.x-gantt-checkbox{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--x-gantt-border-color);border-radius:3px;cursor:pointer;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.x-gantt-checkbox:focus{outline:none}.x-gantt-checkbox:focus-visible{outline:none}.x-gantt-checkbox__icon svg{transition:all .15s ease-in-out}.x-gantt-checkbox:hover{border-color:var(--x-gantt-primary-color)}.x-gantt{width:100%;height:100%;display:flex;box-sizing:border-box;flex-wrap:nowrap;padding:0;margin:0;overflow:hidden;position:relative}.x-gantt.border{border:1px solid var(--x-gantt-border-color)}
|