@yh-ui/components 0.1.25 → 0.1.27
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/dist/ai-artifacts/src/ai-artifacts.vue +1 -1
- package/dist/ai-bubble/src/ai-bubble.vue +2 -2
- package/dist/ai-code-block/src/ai-code-block.vue +1 -1
- package/dist/ai-mention/index.d.ts +0 -1
- package/dist/ai-mention/src/ai-mention.vue +24 -9
- package/dist/ai-mention/src/ai-mention.vue.d.ts +1 -1
- package/dist/ai-thought-chain/src/ai-thought-chain.vue +1 -1
- package/dist/calendar/index.d.ts +84 -612
- package/dist/calendar/src/calendar.vue +3 -3
- package/dist/calendar/src/calendar.vue.d.ts +43 -220
- package/dist/date-picker/src/date-picker.vue +1 -1
- package/dist/date-picker/src/date-table.vue +1 -1
- package/dist/date-picker/src/month-table.vue +1 -1
- package/dist/date-picker/src/panel-utils.cjs +13 -13
- package/dist/date-picker/src/panel-utils.d.ts +1 -1
- package/dist/date-picker/src/panel-utils.mjs +13 -13
- package/dist/date-picker/src/quarter-table.vue +1 -1
- package/dist/date-picker/src/year-table.vue +1 -1
- package/dist/dayjs.cjs +11 -0
- package/dist/dayjs.d.ts +4 -0
- package/dist/dayjs.mjs +3 -0
- package/dist/form/src/form-schema.vue +13 -14
- package/dist/gantt-chart/src/gantt-chart.vue +7 -15
- package/dist/gantt-chart/src/gantt-chart.vue.d.ts +1 -1
- package/dist/highlight.cjs +34 -0
- package/dist/highlight.d.ts +13 -0
- package/dist/highlight.mjs +54 -0
- package/dist/image/src/image-viewer.vue +48 -26
- package/dist/image/src/image.vue +7 -5
- package/dist/markdown-it.cjs +11 -0
- package/dist/markdown-it.d.ts +2 -0
- package/dist/markdown-it.mjs +3 -0
- package/dist/menu/src/menu.vue +5 -5
- package/dist/transfer/index.cjs +9 -3
- package/dist/transfer/index.mjs +9 -3
- package/dist/typography/src/paragraph.vue +9 -2
- package/dist/upload/src/upload.vue +5 -4
- package/dist/viewerjs.cjs +11 -0
- package/dist/viewerjs.d.ts +2 -0
- package/dist/viewerjs.mjs +3 -0
- package/package.json +6 -6
package/dist/calendar/index.d.ts
CHANGED
|
@@ -135,24 +135,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
135
135
|
};
|
|
136
136
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
137
137
|
get: (unit: import("dayjs").UnitType) => number;
|
|
138
|
-
add:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
subtract: {
|
|
143
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
144
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
145
|
-
};
|
|
146
|
-
startOf: {
|
|
147
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
148
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
149
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
150
|
-
};
|
|
151
|
-
endOf: {
|
|
152
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
153
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
154
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
155
|
-
};
|
|
138
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
139
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
140
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
141
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
156
142
|
format: (template?: string) => string;
|
|
157
143
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
158
144
|
valueOf: () => number;
|
|
@@ -163,43 +149,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
163
149
|
toISOString: () => string;
|
|
164
150
|
toString: () => string;
|
|
165
151
|
utcOffset: () => number;
|
|
166
|
-
isBefore:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
170
|
-
};
|
|
171
|
-
isSame: {
|
|
172
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
173
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
174
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
175
|
-
};
|
|
176
|
-
isAfter: {
|
|
177
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
178
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
179
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
180
|
-
};
|
|
152
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
153
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
154
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
181
155
|
locale: {
|
|
182
156
|
(): string;
|
|
183
157
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
184
158
|
};
|
|
185
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
186
|
-
week: {
|
|
187
|
-
(): number;
|
|
188
|
-
(value: number): import("dayjs").Dayjs;
|
|
189
|
-
};
|
|
190
|
-
isoWeekYear: () => number;
|
|
191
|
-
isoWeek: {
|
|
192
|
-
(): number;
|
|
193
|
-
(value: number): import("dayjs").Dayjs;
|
|
194
|
-
};
|
|
195
|
-
isoWeekday: {
|
|
196
|
-
(): number;
|
|
197
|
-
(value: number): import("dayjs").Dayjs;
|
|
198
|
-
};
|
|
199
|
-
quarter: {
|
|
200
|
-
(): number;
|
|
201
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
202
|
-
};
|
|
203
159
|
}, import("dayjs").Dayjs | {
|
|
204
160
|
clone: () => import("dayjs").Dayjs;
|
|
205
161
|
isValid: () => boolean;
|
|
@@ -237,24 +193,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
237
193
|
};
|
|
238
194
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
239
195
|
get: (unit: import("dayjs").UnitType) => number;
|
|
240
|
-
add:
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
subtract: {
|
|
245
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
246
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
247
|
-
};
|
|
248
|
-
startOf: {
|
|
249
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
250
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
251
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
252
|
-
};
|
|
253
|
-
endOf: {
|
|
254
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
255
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
256
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
257
|
-
};
|
|
196
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
197
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
198
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
199
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
258
200
|
format: (template?: string) => string;
|
|
259
201
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
260
202
|
valueOf: () => number;
|
|
@@ -265,43 +207,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
265
207
|
toISOString: () => string;
|
|
266
208
|
toString: () => string;
|
|
267
209
|
utcOffset: () => number;
|
|
268
|
-
isBefore:
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
272
|
-
};
|
|
273
|
-
isSame: {
|
|
274
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
275
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
276
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
277
|
-
};
|
|
278
|
-
isAfter: {
|
|
279
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
280
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
281
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
282
|
-
};
|
|
210
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
211
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
212
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
283
213
|
locale: {
|
|
284
214
|
(): string;
|
|
285
215
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
286
216
|
};
|
|
287
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
288
|
-
week: {
|
|
289
|
-
(): number;
|
|
290
|
-
(value: number): import("dayjs").Dayjs;
|
|
291
|
-
};
|
|
292
|
-
isoWeekYear: () => number;
|
|
293
|
-
isoWeek: {
|
|
294
|
-
(): number;
|
|
295
|
-
(value: number): import("dayjs").Dayjs;
|
|
296
|
-
};
|
|
297
|
-
isoWeekday: {
|
|
298
|
-
(): number;
|
|
299
|
-
(value: number): import("dayjs").Dayjs;
|
|
300
|
-
};
|
|
301
|
-
quarter: {
|
|
302
|
-
(): number;
|
|
303
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
304
|
-
};
|
|
305
217
|
}>;
|
|
306
218
|
selectedDate: import("vue").Ref<{
|
|
307
219
|
clone: () => import("dayjs").Dayjs;
|
|
@@ -340,24 +252,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
340
252
|
};
|
|
341
253
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
342
254
|
get: (unit: import("dayjs").UnitType) => number;
|
|
343
|
-
add:
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
subtract: {
|
|
348
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
349
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
350
|
-
};
|
|
351
|
-
startOf: {
|
|
352
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
353
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
354
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
355
|
-
};
|
|
356
|
-
endOf: {
|
|
357
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
358
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
359
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
360
|
-
};
|
|
255
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
256
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
257
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
258
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
361
259
|
format: (template?: string) => string;
|
|
362
260
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
363
261
|
valueOf: () => number;
|
|
@@ -368,43 +266,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
368
266
|
toISOString: () => string;
|
|
369
267
|
toString: () => string;
|
|
370
268
|
utcOffset: () => number;
|
|
371
|
-
isBefore:
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
375
|
-
};
|
|
376
|
-
isSame: {
|
|
377
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
378
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
379
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
380
|
-
};
|
|
381
|
-
isAfter: {
|
|
382
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
383
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
384
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
385
|
-
};
|
|
269
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
270
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
271
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
386
272
|
locale: {
|
|
387
273
|
(): string;
|
|
388
274
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
389
275
|
};
|
|
390
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
391
|
-
week: {
|
|
392
|
-
(): number;
|
|
393
|
-
(value: number): import("dayjs").Dayjs;
|
|
394
|
-
};
|
|
395
|
-
isoWeekYear: () => number;
|
|
396
|
-
isoWeek: {
|
|
397
|
-
(): number;
|
|
398
|
-
(value: number): import("dayjs").Dayjs;
|
|
399
|
-
};
|
|
400
|
-
isoWeekday: {
|
|
401
|
-
(): number;
|
|
402
|
-
(value: number): import("dayjs").Dayjs;
|
|
403
|
-
};
|
|
404
|
-
quarter: {
|
|
405
|
-
(): number;
|
|
406
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
407
|
-
};
|
|
408
276
|
} | undefined, import("dayjs").Dayjs | {
|
|
409
277
|
clone: () => import("dayjs").Dayjs;
|
|
410
278
|
isValid: () => boolean;
|
|
@@ -442,24 +310,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
442
310
|
};
|
|
443
311
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
444
312
|
get: (unit: import("dayjs").UnitType) => number;
|
|
445
|
-
add:
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
subtract: {
|
|
450
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
451
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
452
|
-
};
|
|
453
|
-
startOf: {
|
|
454
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
455
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
456
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
457
|
-
};
|
|
458
|
-
endOf: {
|
|
459
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
460
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
461
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
462
|
-
};
|
|
313
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
314
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
315
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
316
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
463
317
|
format: (template?: string) => string;
|
|
464
318
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
465
319
|
valueOf: () => number;
|
|
@@ -470,43 +324,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
470
324
|
toISOString: () => string;
|
|
471
325
|
toString: () => string;
|
|
472
326
|
utcOffset: () => number;
|
|
473
|
-
isBefore:
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
477
|
-
};
|
|
478
|
-
isSame: {
|
|
479
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
480
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
481
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
482
|
-
};
|
|
483
|
-
isAfter: {
|
|
484
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
485
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
486
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
487
|
-
};
|
|
327
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
328
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
329
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
488
330
|
locale: {
|
|
489
331
|
(): string;
|
|
490
332
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
491
333
|
};
|
|
492
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
493
|
-
week: {
|
|
494
|
-
(): number;
|
|
495
|
-
(value: number): import("dayjs").Dayjs;
|
|
496
|
-
};
|
|
497
|
-
isoWeekYear: () => number;
|
|
498
|
-
isoWeek: {
|
|
499
|
-
(): number;
|
|
500
|
-
(value: number): import("dayjs").Dayjs;
|
|
501
|
-
};
|
|
502
|
-
isoWeekday: {
|
|
503
|
-
(): number;
|
|
504
|
-
(value: number): import("dayjs").Dayjs;
|
|
505
|
-
};
|
|
506
|
-
quarter: {
|
|
507
|
-
(): number;
|
|
508
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
509
|
-
};
|
|
510
334
|
} | undefined>;
|
|
511
335
|
moveMonth: (delta: number) => void;
|
|
512
336
|
goToday: () => void;
|
|
@@ -683,24 +507,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
683
507
|
};
|
|
684
508
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
685
509
|
get: (unit: import("dayjs").UnitType) => number;
|
|
686
|
-
add:
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
subtract: {
|
|
691
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
692
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
693
|
-
};
|
|
694
|
-
startOf: {
|
|
695
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
696
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
697
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
698
|
-
};
|
|
699
|
-
endOf: {
|
|
700
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
701
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
702
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
703
|
-
};
|
|
510
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
511
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
512
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
513
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
704
514
|
format: (template?: string) => string;
|
|
705
515
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
706
516
|
valueOf: () => number;
|
|
@@ -711,43 +521,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
711
521
|
toISOString: () => string;
|
|
712
522
|
toString: () => string;
|
|
713
523
|
utcOffset: () => number;
|
|
714
|
-
isBefore:
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
718
|
-
};
|
|
719
|
-
isSame: {
|
|
720
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
721
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
722
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
723
|
-
};
|
|
724
|
-
isAfter: {
|
|
725
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
726
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
727
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
728
|
-
};
|
|
524
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
525
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
526
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
729
527
|
locale: {
|
|
730
528
|
(): string;
|
|
731
529
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
732
530
|
};
|
|
733
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
734
|
-
week: {
|
|
735
|
-
(): number;
|
|
736
|
-
(value: number): import("dayjs").Dayjs;
|
|
737
|
-
};
|
|
738
|
-
isoWeekYear: () => number;
|
|
739
|
-
isoWeek: {
|
|
740
|
-
(): number;
|
|
741
|
-
(value: number): import("dayjs").Dayjs;
|
|
742
|
-
};
|
|
743
|
-
isoWeekday: {
|
|
744
|
-
(): number;
|
|
745
|
-
(value: number): import("dayjs").Dayjs;
|
|
746
|
-
};
|
|
747
|
-
quarter: {
|
|
748
|
-
(): number;
|
|
749
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
750
|
-
};
|
|
751
531
|
}, import("dayjs").Dayjs | {
|
|
752
532
|
clone: () => import("dayjs").Dayjs;
|
|
753
533
|
isValid: () => boolean;
|
|
@@ -785,24 +565,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
785
565
|
};
|
|
786
566
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
787
567
|
get: (unit: import("dayjs").UnitType) => number;
|
|
788
|
-
add:
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
subtract: {
|
|
793
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
794
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
795
|
-
};
|
|
796
|
-
startOf: {
|
|
797
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
798
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
799
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
800
|
-
};
|
|
801
|
-
endOf: {
|
|
802
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
803
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
804
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
805
|
-
};
|
|
568
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
569
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
570
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
571
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
806
572
|
format: (template?: string) => string;
|
|
807
573
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
808
574
|
valueOf: () => number;
|
|
@@ -813,43 +579,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
813
579
|
toISOString: () => string;
|
|
814
580
|
toString: () => string;
|
|
815
581
|
utcOffset: () => number;
|
|
816
|
-
isBefore:
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
820
|
-
};
|
|
821
|
-
isSame: {
|
|
822
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
823
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
824
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
825
|
-
};
|
|
826
|
-
isAfter: {
|
|
827
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
828
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
829
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
830
|
-
};
|
|
582
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
583
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
584
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
831
585
|
locale: {
|
|
832
586
|
(): string;
|
|
833
587
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
834
588
|
};
|
|
835
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
836
|
-
week: {
|
|
837
|
-
(): number;
|
|
838
|
-
(value: number): import("dayjs").Dayjs;
|
|
839
|
-
};
|
|
840
|
-
isoWeekYear: () => number;
|
|
841
|
-
isoWeek: {
|
|
842
|
-
(): number;
|
|
843
|
-
(value: number): import("dayjs").Dayjs;
|
|
844
|
-
};
|
|
845
|
-
isoWeekday: {
|
|
846
|
-
(): number;
|
|
847
|
-
(value: number): import("dayjs").Dayjs;
|
|
848
|
-
};
|
|
849
|
-
quarter: {
|
|
850
|
-
(): number;
|
|
851
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
852
|
-
};
|
|
853
589
|
}>;
|
|
854
590
|
selectedDate: import("vue").Ref<{
|
|
855
591
|
clone: () => import("dayjs").Dayjs;
|
|
@@ -888,24 +624,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
888
624
|
};
|
|
889
625
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
890
626
|
get: (unit: import("dayjs").UnitType) => number;
|
|
891
|
-
add:
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
subtract: {
|
|
896
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
897
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
898
|
-
};
|
|
899
|
-
startOf: {
|
|
900
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
901
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
902
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
903
|
-
};
|
|
904
|
-
endOf: {
|
|
905
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
906
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
907
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
908
|
-
};
|
|
627
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
628
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
629
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
630
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
909
631
|
format: (template?: string) => string;
|
|
910
632
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
911
633
|
valueOf: () => number;
|
|
@@ -916,43 +638,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
916
638
|
toISOString: () => string;
|
|
917
639
|
toString: () => string;
|
|
918
640
|
utcOffset: () => number;
|
|
919
|
-
isBefore:
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
923
|
-
};
|
|
924
|
-
isSame: {
|
|
925
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
926
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
927
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
928
|
-
};
|
|
929
|
-
isAfter: {
|
|
930
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
931
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
932
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
933
|
-
};
|
|
641
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
642
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
643
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
934
644
|
locale: {
|
|
935
645
|
(): string;
|
|
936
646
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
937
647
|
};
|
|
938
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
939
|
-
week: {
|
|
940
|
-
(): number;
|
|
941
|
-
(value: number): import("dayjs").Dayjs;
|
|
942
|
-
};
|
|
943
|
-
isoWeekYear: () => number;
|
|
944
|
-
isoWeek: {
|
|
945
|
-
(): number;
|
|
946
|
-
(value: number): import("dayjs").Dayjs;
|
|
947
|
-
};
|
|
948
|
-
isoWeekday: {
|
|
949
|
-
(): number;
|
|
950
|
-
(value: number): import("dayjs").Dayjs;
|
|
951
|
-
};
|
|
952
|
-
quarter: {
|
|
953
|
-
(): number;
|
|
954
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
955
|
-
};
|
|
956
648
|
} | undefined, import("dayjs").Dayjs | {
|
|
957
649
|
clone: () => import("dayjs").Dayjs;
|
|
958
650
|
isValid: () => boolean;
|
|
@@ -990,24 +682,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
990
682
|
};
|
|
991
683
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
992
684
|
get: (unit: import("dayjs").UnitType) => number;
|
|
993
|
-
add:
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
subtract: {
|
|
998
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
999
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
1000
|
-
};
|
|
1001
|
-
startOf: {
|
|
1002
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1003
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1004
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1005
|
-
};
|
|
1006
|
-
endOf: {
|
|
1007
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1008
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1009
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1010
|
-
};
|
|
685
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
686
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
687
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
688
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
1011
689
|
format: (template?: string) => string;
|
|
1012
690
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
1013
691
|
valueOf: () => number;
|
|
@@ -1018,43 +696,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1018
696
|
toISOString: () => string;
|
|
1019
697
|
toString: () => string;
|
|
1020
698
|
utcOffset: () => number;
|
|
1021
|
-
isBefore:
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1025
|
-
};
|
|
1026
|
-
isSame: {
|
|
1027
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1028
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1029
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1030
|
-
};
|
|
1031
|
-
isAfter: {
|
|
1032
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1033
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1034
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1035
|
-
};
|
|
699
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
700
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
701
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1036
702
|
locale: {
|
|
1037
703
|
(): string;
|
|
1038
704
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
1039
705
|
};
|
|
1040
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
1041
|
-
week: {
|
|
1042
|
-
(): number;
|
|
1043
|
-
(value: number): import("dayjs").Dayjs;
|
|
1044
|
-
};
|
|
1045
|
-
isoWeekYear: () => number;
|
|
1046
|
-
isoWeek: {
|
|
1047
|
-
(): number;
|
|
1048
|
-
(value: number): import("dayjs").Dayjs;
|
|
1049
|
-
};
|
|
1050
|
-
isoWeekday: {
|
|
1051
|
-
(): number;
|
|
1052
|
-
(value: number): import("dayjs").Dayjs;
|
|
1053
|
-
};
|
|
1054
|
-
quarter: {
|
|
1055
|
-
(): number;
|
|
1056
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
1057
|
-
};
|
|
1058
706
|
} | undefined>;
|
|
1059
707
|
moveMonth: (delta: number) => void;
|
|
1060
708
|
goToday: () => void;
|
|
@@ -1219,24 +867,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1219
867
|
};
|
|
1220
868
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
1221
869
|
get: (unit: import("dayjs").UnitType) => number;
|
|
1222
|
-
add:
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
subtract: {
|
|
1227
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
1228
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
1229
|
-
};
|
|
1230
|
-
startOf: {
|
|
1231
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1232
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1233
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1234
|
-
};
|
|
1235
|
-
endOf: {
|
|
1236
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1237
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1238
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1239
|
-
};
|
|
870
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
871
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
872
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
873
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
1240
874
|
format: (template?: string) => string;
|
|
1241
875
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
1242
876
|
valueOf: () => number;
|
|
@@ -1247,43 +881,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1247
881
|
toISOString: () => string;
|
|
1248
882
|
toString: () => string;
|
|
1249
883
|
utcOffset: () => number;
|
|
1250
|
-
isBefore:
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1254
|
-
};
|
|
1255
|
-
isSame: {
|
|
1256
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1257
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1258
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1259
|
-
};
|
|
1260
|
-
isAfter: {
|
|
1261
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1262
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1263
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1264
|
-
};
|
|
884
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
885
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
886
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1265
887
|
locale: {
|
|
1266
888
|
(): string;
|
|
1267
889
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
1268
890
|
};
|
|
1269
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
1270
|
-
week: {
|
|
1271
|
-
(): number;
|
|
1272
|
-
(value: number): import("dayjs").Dayjs;
|
|
1273
|
-
};
|
|
1274
|
-
isoWeekYear: () => number;
|
|
1275
|
-
isoWeek: {
|
|
1276
|
-
(): number;
|
|
1277
|
-
(value: number): import("dayjs").Dayjs;
|
|
1278
|
-
};
|
|
1279
|
-
isoWeekday: {
|
|
1280
|
-
(): number;
|
|
1281
|
-
(value: number): import("dayjs").Dayjs;
|
|
1282
|
-
};
|
|
1283
|
-
quarter: {
|
|
1284
|
-
(): number;
|
|
1285
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
1286
|
-
};
|
|
1287
891
|
}, import("dayjs").Dayjs | {
|
|
1288
892
|
clone: () => import("dayjs").Dayjs;
|
|
1289
893
|
isValid: () => boolean;
|
|
@@ -1321,24 +925,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1321
925
|
};
|
|
1322
926
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
1323
927
|
get: (unit: import("dayjs").UnitType) => number;
|
|
1324
|
-
add:
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
subtract: {
|
|
1329
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
1330
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
1331
|
-
};
|
|
1332
|
-
startOf: {
|
|
1333
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1334
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1335
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1336
|
-
};
|
|
1337
|
-
endOf: {
|
|
1338
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1339
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1340
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1341
|
-
};
|
|
928
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
929
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
930
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
931
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
1342
932
|
format: (template?: string) => string;
|
|
1343
933
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
1344
934
|
valueOf: () => number;
|
|
@@ -1349,43 +939,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1349
939
|
toISOString: () => string;
|
|
1350
940
|
toString: () => string;
|
|
1351
941
|
utcOffset: () => number;
|
|
1352
|
-
isBefore:
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1356
|
-
};
|
|
1357
|
-
isSame: {
|
|
1358
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1359
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1360
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1361
|
-
};
|
|
1362
|
-
isAfter: {
|
|
1363
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1364
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1365
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1366
|
-
};
|
|
942
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
943
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
944
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1367
945
|
locale: {
|
|
1368
946
|
(): string;
|
|
1369
947
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
1370
948
|
};
|
|
1371
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
1372
|
-
week: {
|
|
1373
|
-
(): number;
|
|
1374
|
-
(value: number): import("dayjs").Dayjs;
|
|
1375
|
-
};
|
|
1376
|
-
isoWeekYear: () => number;
|
|
1377
|
-
isoWeek: {
|
|
1378
|
-
(): number;
|
|
1379
|
-
(value: number): import("dayjs").Dayjs;
|
|
1380
|
-
};
|
|
1381
|
-
isoWeekday: {
|
|
1382
|
-
(): number;
|
|
1383
|
-
(value: number): import("dayjs").Dayjs;
|
|
1384
|
-
};
|
|
1385
|
-
quarter: {
|
|
1386
|
-
(): number;
|
|
1387
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
1388
|
-
};
|
|
1389
949
|
}>;
|
|
1390
950
|
selectedDate: import("vue").Ref<{
|
|
1391
951
|
clone: () => import("dayjs").Dayjs;
|
|
@@ -1424,24 +984,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1424
984
|
};
|
|
1425
985
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
1426
986
|
get: (unit: import("dayjs").UnitType) => number;
|
|
1427
|
-
add:
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
subtract: {
|
|
1432
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
1433
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
1434
|
-
};
|
|
1435
|
-
startOf: {
|
|
1436
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1437
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1438
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1439
|
-
};
|
|
1440
|
-
endOf: {
|
|
1441
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1442
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1443
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1444
|
-
};
|
|
987
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
988
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
989
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
990
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
1445
991
|
format: (template?: string) => string;
|
|
1446
992
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
1447
993
|
valueOf: () => number;
|
|
@@ -1452,43 +998,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1452
998
|
toISOString: () => string;
|
|
1453
999
|
toString: () => string;
|
|
1454
1000
|
utcOffset: () => number;
|
|
1455
|
-
isBefore:
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1459
|
-
};
|
|
1460
|
-
isSame: {
|
|
1461
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1462
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1463
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1464
|
-
};
|
|
1465
|
-
isAfter: {
|
|
1466
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1467
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1468
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1469
|
-
};
|
|
1001
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1002
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1003
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1470
1004
|
locale: {
|
|
1471
1005
|
(): string;
|
|
1472
1006
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
1473
1007
|
};
|
|
1474
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
1475
|
-
week: {
|
|
1476
|
-
(): number;
|
|
1477
|
-
(value: number): import("dayjs").Dayjs;
|
|
1478
|
-
};
|
|
1479
|
-
isoWeekYear: () => number;
|
|
1480
|
-
isoWeek: {
|
|
1481
|
-
(): number;
|
|
1482
|
-
(value: number): import("dayjs").Dayjs;
|
|
1483
|
-
};
|
|
1484
|
-
isoWeekday: {
|
|
1485
|
-
(): number;
|
|
1486
|
-
(value: number): import("dayjs").Dayjs;
|
|
1487
|
-
};
|
|
1488
|
-
quarter: {
|
|
1489
|
-
(): number;
|
|
1490
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
1491
|
-
};
|
|
1492
1008
|
} | undefined, import("dayjs").Dayjs | {
|
|
1493
1009
|
clone: () => import("dayjs").Dayjs;
|
|
1494
1010
|
isValid: () => boolean;
|
|
@@ -1526,24 +1042,10 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1526
1042
|
};
|
|
1527
1043
|
set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
|
|
1528
1044
|
get: (unit: import("dayjs").UnitType) => number;
|
|
1529
|
-
add:
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
subtract: {
|
|
1534
|
-
(value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
|
|
1535
|
-
(value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
|
|
1536
|
-
};
|
|
1537
|
-
startOf: {
|
|
1538
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1539
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1540
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1541
|
-
};
|
|
1542
|
-
endOf: {
|
|
1543
|
-
(unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1544
|
-
(unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
|
|
1545
|
-
(unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
|
|
1546
|
-
};
|
|
1045
|
+
add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
1046
|
+
subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
|
|
1047
|
+
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
1048
|
+
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
1547
1049
|
format: (template?: string) => string;
|
|
1548
1050
|
diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
|
|
1549
1051
|
valueOf: () => number;
|
|
@@ -1554,43 +1056,13 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
1554
1056
|
toISOString: () => string;
|
|
1555
1057
|
toString: () => string;
|
|
1556
1058
|
utcOffset: () => number;
|
|
1557
|
-
isBefore:
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1561
|
-
};
|
|
1562
|
-
isSame: {
|
|
1563
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1564
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1565
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1566
|
-
};
|
|
1567
|
-
isAfter: {
|
|
1568
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
|
|
1569
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
|
|
1570
|
-
(date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
|
|
1571
|
-
};
|
|
1059
|
+
isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1060
|
+
isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1061
|
+
isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
|
|
1572
1062
|
locale: {
|
|
1573
1063
|
(): string;
|
|
1574
1064
|
(preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
|
|
1575
1065
|
};
|
|
1576
|
-
isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
|
|
1577
|
-
week: {
|
|
1578
|
-
(): number;
|
|
1579
|
-
(value: number): import("dayjs").Dayjs;
|
|
1580
|
-
};
|
|
1581
|
-
isoWeekYear: () => number;
|
|
1582
|
-
isoWeek: {
|
|
1583
|
-
(): number;
|
|
1584
|
-
(value: number): import("dayjs").Dayjs;
|
|
1585
|
-
};
|
|
1586
|
-
isoWeekday: {
|
|
1587
|
-
(): number;
|
|
1588
|
-
(value: number): import("dayjs").Dayjs;
|
|
1589
|
-
};
|
|
1590
|
-
quarter: {
|
|
1591
|
-
(): number;
|
|
1592
|
-
(quarter: number): import("dayjs").Dayjs;
|
|
1593
|
-
};
|
|
1594
1066
|
} | undefined>;
|
|
1595
1067
|
moveMonth: (delta: number) => void;
|
|
1596
1068
|
goToday: () => void;
|