1.2.33 • Published 2 years ago
@tpsengage/hour-parting-scheduler v1.2.33
hour-parting-scheduler
Demo data:
const onChange = (slots: number[], schedule: string) => {
    console.log(slots);
};
const scheduler: IScheduler[] = [{
        startDate: new Date(),
        readOnly: false,
        uuid: "1",
        title: "Global Schedule",
        type: SchedulerType.daily,
        slots: [1617256800, 1617260400, 1617264000, 1617350400],
        onChange: onChange,
        locations: [{
                uuid: "not here",
                name: "name 2",
                restriction: [0, 1, 2, 3, 4, 5, 22, 23],
            },
            {
                uuid: "2",
                name: "name 1",
                restriction: [0, 1, 2, 3, 4, 5, 22, 23],
            },
        ],
    },
    // {
    // startDate: new Date(),
    // readOnly: false,
    // slots: [],
    // title: "Global Schedule",
    // type: SchedulerType.hourly,
    // locations: [
    // {
    // uuid: "not here",
    // name: "name 2",
    // restriction: [0],
    // },
    // {
    // uuid: "2",
    // name: "name 1",
    // restriction: [0, 1, 2, 3, 4],
    // },
    // ],
    // },
];1.2.28
2 years ago
1.2.29
2 years ago
1.2.30
2 years ago
1.2.31
2 years ago
1.2.32
2 years ago
1.2.33
2 years ago
1.2.24
2 years ago
1.2.27
2 years ago
1.2.26
2 years ago
1.2.20
2 years ago
1.2.23
2 years ago
1.2.21
2 years ago
1.2.22
2 years ago
1.2.18
3 years ago
1.2.19
3 years ago
1.2.16
3 years ago
1.2.17
3 years ago
1.2.15
3 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.9
4 years ago
1.2.12
4 years ago
1.2.13
4 years ago
1.2.10
4 years ago
1.2.11
4 years ago
1.2.14
4 years ago
1.1.1
5 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
5 years ago
1.1.0
5 years ago
1.0.0
5 years ago