This commit is contained in:
2025-09-24 20:35:15 +08:00
parent 39679f7330
commit 8a458ff0a4
12033 changed files with 1537546 additions and 13292 deletions

12
admin/node_modules/dayjs/esm/plugin/weekday/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,12 @@
import { PluginFunc } from 'dayjs/esm'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs/esm' {
interface Dayjs {
weekday(): number
weekday(value: number): Dayjs
}
}

15
admin/node_modules/dayjs/esm/plugin/weekday/index.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
export default (function (o, c) {
var proto = c.prototype;
proto.weekday = function (input) {
var weekStart = this.$locale().weekStart || 0;
var $W = this.$W;
var weekday = ($W < weekStart ? $W + 7 : $W) - weekStart;
if (this.$utils().u(input)) {
return weekday;
}
return this.subtract(weekday, 'day').add(input, 'day');
};
});