makula-schedule 1.1.8 → 2.0.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/README.md +1 -3
- package/dist/components/HeaderView.js +120 -113
- package/dist/components/ResourceEvents.js +36 -1
- package/dist/components/ResourceView.js +35 -20
- package/dist/components/SchedulerData.js +26 -59
- package/dist/components/index.js +38 -16
- package/dist/config/i18n.js +80 -0
- package/dist/config/scheduler.js +13 -0
- package/dist/css/style.css +9148 -3
- package/dist/index.d.ts +5 -1
- package/dist/index.js +26 -1
- package/package.json +14 -13
package/dist/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ export interface CustomResourceCellProps<EventType extends EventItem = EventItem
|
|
|
137
137
|
item: ResourceEvent<EventType, ResourceType>;
|
|
138
138
|
indents: React.ReactNode[];
|
|
139
139
|
slotClickedFunc?: (schedulerData: SchedulerData<EventType>, slot: ResourceEvent<EventType, ResourceType>) => void;
|
|
140
|
-
|
|
140
|
+
handleToggleExpand: (item: ResourceEvent<EventType, ResourceType>) => void;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
export interface AddMorePopoverProps<EventType extends EventItem = EventItem> {
|
|
@@ -415,6 +415,10 @@ export interface SchedulerDataConfig {
|
|
|
415
415
|
minuteStep?: number;
|
|
416
416
|
views?: View[];
|
|
417
417
|
responsiveByParent?: boolean;
|
|
418
|
+
showWeekNumber?: boolean;
|
|
419
|
+
weekNumberRowHeight?: number;
|
|
420
|
+
weekNumberLabel?: string;
|
|
421
|
+
headerBorderColor?: string;
|
|
418
422
|
}
|
|
419
423
|
|
|
420
424
|
export enum SummaryPos {
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,30 @@ Object.defineProperty(exports, "ViewType", {
|
|
|
69
69
|
return _index.ViewType;
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
|
+
Object.defineProperty(exports, "getDefaultLabels", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _i18n.getDefaultLabels;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "getLabel", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function get() {
|
|
81
|
+
return _i18n.getLabel;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "resetLabelsProvider", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function get() {
|
|
87
|
+
return _i18n.resetLabelsProvider;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "setLabelsProvider", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _i18n.setLabelsProvider;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
72
96
|
Object.defineProperty(exports, "wrapperFun", {
|
|
73
97
|
enumerable: true,
|
|
74
98
|
get: function get() {
|
|
@@ -76,4 +100,5 @@ Object.defineProperty(exports, "wrapperFun", {
|
|
|
76
100
|
}
|
|
77
101
|
});
|
|
78
102
|
require("./css/style.css");
|
|
79
|
-
var _index = require("./components/index");
|
|
103
|
+
var _index = require("./components/index");
|
|
104
|
+
var _i18n = require("./config/i18n");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "makula-schedule",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React. Seamlessly integrate this modern browser-compatible component into your applications to effectively manage time, appointments, and resources. With drag-and-drop functionality, interactive UI, and granular views, react-big-schedule empowers users to effortlessly schedule and allocate resources with precision. Enhance productivity and streamline your workflow with this React-based solution, designed to optimize time management and simplify calendar-based operations. Perfect for applications requiring advanced scheduling capabilities, react-big-schedule offers a seamless and intuitive experience for managing appointments, resource allocation, and time slots. Unlock the potential of your React projects with react-big-schedule and revolutionize the way you handle scheduling and resource planning. It is the updated version of react-big-scheduler",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-big-schedule",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"url": "https://github.com/Makula-Technology-GmbH/makula-scheduler/issues"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
|
+
"access": "public",
|
|
52
53
|
"registry": "https://registry.npmjs.org/"
|
|
53
54
|
},
|
|
54
55
|
"scripts": {
|
|
@@ -69,43 +70,43 @@
|
|
|
69
70
|
"antd": "^4.24.0",
|
|
70
71
|
"dayjs": "^1.11.19",
|
|
71
72
|
"prop-types": "^15.8.1",
|
|
72
|
-
"react
|
|
73
|
-
"
|
|
74
|
-
"react": "^
|
|
75
|
-
"
|
|
73
|
+
"react": "^19.2.4",
|
|
74
|
+
"react-dom": "^19.2.4",
|
|
75
|
+
"react-router-dom": "^7.13.0",
|
|
76
|
+
"rrule": "^2.8.1"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
78
79
|
"react-dnd": ">=14.0.0",
|
|
79
80
|
"react-dnd-html5-backend": ">=14.0.0"
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
|
-
"@babel/cli": "^7.28.
|
|
83
|
+
"@babel/cli": "^7.28.6",
|
|
83
84
|
"@babel/core": "^7.28.5",
|
|
84
|
-
"@babel/eslint-parser": "^7.28.
|
|
85
|
-
"@babel/preset-env": "^7.
|
|
85
|
+
"@babel/eslint-parser": "^7.28.6",
|
|
86
|
+
"@babel/preset-env": "^7.29.0",
|
|
86
87
|
"@babel/preset-react": "^7.28.5",
|
|
87
88
|
"babel-loader": "^10.0.0",
|
|
88
89
|
"copy-webpack-plugin": "^13.0.1",
|
|
89
|
-
"css-loader": "^7.1.
|
|
90
|
+
"css-loader": "^7.1.3",
|
|
90
91
|
"eslint": "^9.39.2",
|
|
91
92
|
"eslint-config-prettier": "^10.1.8",
|
|
92
93
|
"eslint-plugin-import": "^2.32.0",
|
|
93
94
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
94
|
-
"eslint-plugin-prettier": "^5.5.
|
|
95
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
95
96
|
"eslint-plugin-react": "^7.37.5",
|
|
96
97
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
97
98
|
"eslint-webpack-plugin": "^5.0.2",
|
|
98
99
|
"fs-extra": "^11.3.3",
|
|
99
100
|
"glob-all": "^3.3.1",
|
|
100
|
-
"html-webpack-plugin": "^5.6.
|
|
101
|
+
"html-webpack-plugin": "^5.6.6",
|
|
101
102
|
"mini-css-extract-plugin": "^2.9.4",
|
|
102
103
|
"postcss": "^8.5.6",
|
|
103
104
|
"postcss-loader": "^8.2.0",
|
|
104
|
-
"prettier": "^3.
|
|
105
|
+
"prettier": "^3.8.0",
|
|
105
106
|
"purgecss-webpack-plugin": "^8.0.0",
|
|
106
107
|
"style-loader": "^4.0.0",
|
|
107
108
|
"webpack": "^5.104.1",
|
|
108
109
|
"webpack-cli": "^6.0.1",
|
|
109
|
-
"webpack-dev-server": "^5.2.
|
|
110
|
+
"webpack-dev-server": "^5.2.3"
|
|
110
111
|
}
|
|
111
112
|
}
|