mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 09:41:17 +00:00
chore: update frontend build for v1.1.83 [skip ci]
This commit is contained in:
12
web/admin-spa/node_modules/dayjs/esm/plugin/weekday/index.d.ts
generated
vendored
Normal file
12
web/admin-spa/node_modules/dayjs/esm/plugin/weekday/index.d.ts
generated
vendored
Normal 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
web/admin-spa/node_modules/dayjs/esm/plugin/weekday/index.js
generated
vendored
Normal file
15
web/admin-spa/node_modules/dayjs/esm/plugin/weekday/index.js
generated
vendored
Normal 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');
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user