yc-design-vue 2.2.2 → 2.2.3
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/index.umd.js +1 -1
- package/dist/lang-es/zh-cn.js +26 -26
- package/dist/style.css +1 -1
- package/es/Anchor/hooks/useContext.d.ts +1 -1
- package/es/Anchor/hooks/useContext.js +5 -9
- package/es/Carousel/hooks/useContext.d.ts +11 -2
- package/es/Carousel/hooks/useContext.js +4 -4
- package/es/Cascader/hooks/useContext.d.ts +69 -8
- package/es/Cascader/hooks/useContext.js +5 -13
- package/es/Cascader/index.css +1 -1
- package/es/ColorPicker/hooks/useContext.d.ts +12 -1
- package/es/ColorPicker/hooks/useContext.js +5 -5
- package/es/DatePicker/PickerRange.vue.d.ts +2 -0
- package/es/DatePicker/PickerRange.vue.js +15 -0
- package/es/DatePicker/PickerRange.vue2.js +4 -0
- package/es/DatePicker/YcDatePicker.vue.d.ts +2 -0
- package/es/DatePicker/YcDatePicker.vue.js +15 -0
- package/es/DatePicker/YcDatePicker.vue2.js +4 -0
- package/es/DatePicker/YcMonthPicker.vue.d.ts +64 -0
- package/es/DatePicker/YcMonthPicker.vue.js +234 -0
- package/es/DatePicker/YcMonthPicker.vue3.js +5 -0
- package/es/DatePicker/YcWeekPicker.vue.d.ts +65 -0
- package/es/DatePicker/YcWeekPicker.vue.js +7 -0
- package/es/DatePicker/YcWeekPicker.vue2.js +319 -0
- package/es/DatePicker/YcYearPicker.vue.d.ts +63 -0
- package/es/DatePicker/YcYearPicker.vue.js +200 -0
- package/es/DatePicker/YcYearPicker.vue3.js +5 -0
- package/es/DatePicker/component/PickerCell.vue.d.ts +36 -0
- package/es/DatePicker/component/PickerCell.vue.js +7 -0
- package/es/DatePicker/component/PickerCell.vue2.js +41 -0
- package/es/DatePicker/component/PickerInput.vue.d.ts +297 -0
- package/es/DatePicker/component/PickerInput.vue.js +7 -0
- package/es/DatePicker/component/PickerInput.vue2.js +125 -0
- package/es/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/es/DatePicker/component/PickerPanel.vue.js +108 -0
- package/es/DatePicker/component/PickerPanel.vue3.js +5 -0
- package/es/DatePicker/hooks/useContext.d.ts +19 -0
- package/es/DatePicker/hooks/useContext.js +37 -0
- package/es/DatePicker/hooks/userPicker.d.ts +44 -0
- package/es/DatePicker/hooks/userPicker.js +221 -0
- package/es/DatePicker/index.css +3 -0
- package/es/DatePicker/index.d.ts +38 -0
- package/es/DatePicker/index.js +23 -0
- package/es/DatePicker/type.d.ts +104 -0
- package/es/Drawer/DrawerService.vue.js +1 -1
- package/es/Grid/hooks/useContext.d.ts +6 -2
- package/es/Grid/hooks/useContext.js +5 -7
- package/es/Menu/hooks/useContext.d.ts +17 -2
- package/es/Menu/hooks/useContext.js +5 -7
- package/es/Message/Message.vue.js +1 -1
- package/es/Modal/ModalService.vue.js +2 -2
- package/es/Notification/Notification.vue.js +2 -2
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useSelectOptions.d.ts +2 -2
- package/es/Slider/hooks/useContext.d.ts +12 -6
- package/es/Slider/hooks/useContext.js +5 -12
- package/es/Statistic/Statistic.vue.js +3 -3
- package/es/Steps/hooks/useContext.d.ts +9 -1
- package/es/Steps/hooks/useContext.js +3 -6
- package/es/Tabs/hooks/useContext.d.ts +9 -2
- package/es/Tabs/hooks/useContext.js +5 -9
- package/es/TimePicker/TimePicker.vue.js +1 -1
- package/es/TimePicker/hooks/useContext.d.ts +17 -7
- package/es/TimePicker/hooks/useContext.js +4 -9
- package/es/Timeline/hooks/useContext.d.ts +4 -2
- package/es/Timeline/hooks/useContext.js +3 -6
- package/es/Transfer/TransferPanel.vue.js +1 -1
- package/es/Transfer/hooks/useContext.d.ts +1 -6
- package/es/Transfer/hooks/useContext.js +3 -7
- package/es/Typography/TypographyBase.vue.js +2 -2
- package/es/Upload/Upload.vue.js +6 -4
- package/es/Upload/UploadFileList.vue.js +129 -5
- package/es/Upload/UploadFileList.vue3.js +5 -0
- package/es/Upload/UploadPictureCard.vue.js +135 -5
- package/es/Upload/UploadPictureCard.vue3.js +5 -0
- package/es/_shared/icons/IconCalendar.vue.d.ts +2 -0
- package/es/_shared/icons/IconCalendar.vue.js +4 -0
- package/es/_shared/icons/IconCalendar.vue2.js +31 -0
- package/es/_shared/icons/IconCopy.vue.js +1 -28
- package/es/_shared/icons/IconCopy.vue2.js +28 -1
- package/es/_shared/icons/IconDelete.vue.js +1 -28
- package/es/_shared/icons/IconDelete.vue2.js +28 -1
- package/es/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleLeft.vue.js +31 -0
- package/es/_shared/icons/IconDoubleLeft.vue2.js +4 -0
- package/es/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleRight.vue.js +31 -0
- package/es/_shared/icons/IconDoubleRight.vue2.js +4 -0
- package/es/_shared/icons/IconEdit.vue.js +1 -28
- package/es/_shared/icons/IconEdit.vue2.js +28 -1
- package/es/_shared/icons/index.d.ts +3 -0
- package/es/_shared/type/index.d.ts +1 -1
- package/es/_shared/utils/hooks.js +1 -1
- package/es/_shared/utils/time.d.ts +0 -1
- package/es/_shared/utils/time.js +0 -4
- package/es/_shared/utils/vue-utils.d.ts +1 -1
- package/es/_virtual/isoWeek.js +4 -0
- package/es/index.d.ts +295 -1
- package/es/index.js +42 -33
- package/es/lang-es/zh-cn.js +26 -26
- package/es/node_modules/dayjs/plugin/isoWeek.js +33 -0
- package/es/src/lang/lang-es/zh-cn.js +26 -26
- package/es/style.css +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +11 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/hooks/useContext.d.ts +69 -8
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.css +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +12 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/DatePicker/PickerRange.vue.d.ts +2 -0
- package/lib/DatePicker/PickerRange.vue.js +1 -0
- package/lib/DatePicker/PickerRange.vue2.js +1 -0
- package/lib/DatePicker/YcDatePicker.vue.d.ts +2 -0
- package/lib/DatePicker/YcDatePicker.vue.js +1 -0
- package/lib/DatePicker/YcDatePicker.vue2.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue.d.ts +64 -0
- package/lib/DatePicker/YcMonthPicker.vue.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue3.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue.d.ts +65 -0
- package/lib/DatePicker/YcWeekPicker.vue.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue2.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue.d.ts +63 -0
- package/lib/DatePicker/YcYearPicker.vue.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue3.js +1 -0
- package/lib/DatePicker/component/PickerCell.vue.d.ts +36 -0
- package/lib/DatePicker/component/PickerCell.vue.js +1 -0
- package/lib/DatePicker/component/PickerCell.vue2.js +1 -0
- package/lib/DatePicker/component/PickerInput.vue.d.ts +297 -0
- package/lib/DatePicker/component/PickerInput.vue.js +1 -0
- package/lib/DatePicker/component/PickerInput.vue2.js +1 -0
- package/lib/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/lib/DatePicker/component/PickerPanel.vue.js +1 -0
- package/lib/DatePicker/component/PickerPanel.vue3.js +1 -0
- package/lib/DatePicker/hooks/useContext.d.ts +19 -0
- package/lib/DatePicker/hooks/useContext.js +1 -0
- package/lib/DatePicker/hooks/userPicker.d.ts +44 -0
- package/lib/DatePicker/hooks/userPicker.js +1 -0
- package/lib/DatePicker/index.css +3 -0
- package/lib/DatePicker/index.d.ts +38 -0
- package/lib/DatePicker/index.js +1 -0
- package/lib/DatePicker/type.d.ts +104 -0
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Grid/hooks/useContext.d.ts +6 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +17 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
- package/lib/Slider/hooks/useContext.d.ts +12 -6
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +9 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +9 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +17 -7
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +4 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +1 -6
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Upload/Upload.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue3.js +1 -0
- package/lib/Upload/UploadPictureCard.vue.js +1 -1
- package/lib/Upload/UploadPictureCard.vue3.js +1 -0
- package/lib/_shared/icons/IconCalendar.vue.d.ts +2 -0
- package/lib/_shared/icons/IconCalendar.vue.js +1 -0
- package/lib/_shared/icons/IconCalendar.vue2.js +1 -0
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDoubleLeft.vue.js +1 -0
- package/lib/_shared/icons/IconDoubleLeft.vue2.js +1 -0
- package/lib/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDoubleRight.vue.js +1 -0
- package/lib/_shared/icons/IconDoubleRight.vue2.js +1 -0
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/index.d.ts +3 -0
- package/lib/_shared/type/index.d.ts +1 -1
- package/lib/_shared/utils/hooks.js +1 -1
- package/lib/_shared/utils/time.d.ts +0 -1
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +1 -1
- package/lib/_virtual/isoWeek.js +1 -0
- package/lib/index.d.ts +295 -1
- package/lib/index.js +1 -1
- package/lib/lang-es/zh-cn.js +26 -26
- package/lib/node_modules/dayjs/plugin/isoWeek.js +1 -0
- package/lib/src/lang/lang-es/zh-cn.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Upload/UploadFileList.vue2.js +0 -131
- package/es/Upload/UploadPictureCard.vue2.js +0 -137
- package/lib/Upload/UploadFileList.vue2.js +0 -1
- package/lib/Upload/UploadPictureCard.vue2.js +0 -1
package/es/index.d.ts
CHANGED
@@ -18,6 +18,7 @@ import { default as Cascader } from './Cascader';
|
|
18
18
|
import { default as Comment } from './Comment';
|
19
19
|
import { default as ConfigProvider } from './ConfigProvider';
|
20
20
|
import { default as Descriptions } from './Descriptions';
|
21
|
+
import { default as DatePicker } from './DatePicker';
|
21
22
|
import { default as Divider } from './Divider';
|
22
23
|
import { default as Drawer } from './Drawer';
|
23
24
|
import { default as Dropdown } from './Dropdown';
|
@@ -136,7 +137,7 @@ export * from './Tabs';
|
|
136
137
|
export * from './Upload';
|
137
138
|
export * from './VerificationCode';
|
138
139
|
export * from './Watermark';
|
139
|
-
export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, Upload, VerificationCode, Watermark, };
|
140
|
+
export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, DatePicker, Divider, Drawer, Dropdown, Empty, Grid, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, Upload, VerificationCode, Watermark, };
|
140
141
|
export declare const components: Record<string, Plugin>;
|
141
142
|
declare const YcDesignVue: {
|
142
143
|
AnchorLink: {
|
@@ -487,6 +488,299 @@ declare const YcDesignVue: {
|
|
487
488
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
488
489
|
$slots: Readonly<import('./Descriptions').DescriptionsItemSlots> & import('./Descriptions').DescriptionsItemSlots;
|
489
490
|
});
|
491
|
+
YearPicker: {
|
492
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
|
493
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
494
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
495
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
496
|
+
onClear?: (() => any) | undefined;
|
497
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
498
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
499
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
500
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
501
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
502
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
503
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
504
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
505
|
+
"update:popupVisible": (value: boolean) => any;
|
506
|
+
"popup-visible-change": (visible: boolean) => any;
|
507
|
+
clear: () => any;
|
508
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
509
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
510
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
511
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
512
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
513
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
514
|
+
}, import('vue').PublicProps, {
|
515
|
+
error: boolean;
|
516
|
+
size: import('./_shared/type').Size;
|
517
|
+
popupVisible: boolean;
|
518
|
+
defaultPopupVisible: boolean;
|
519
|
+
disabled: boolean;
|
520
|
+
position: import('./DatePicker').DatePickerPosition;
|
521
|
+
unmountOnClose: boolean;
|
522
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
523
|
+
placeholder: string;
|
524
|
+
locale: Record<string, any>;
|
525
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
526
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
527
|
+
allowClear: boolean;
|
528
|
+
readonly: boolean;
|
529
|
+
triggerProps: import('./Trigger').TriggerProps;
|
530
|
+
hideTrigger: boolean;
|
531
|
+
format: string;
|
532
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
533
|
+
showConfirmBtn: boolean;
|
534
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
535
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
536
|
+
previewShortcut: boolean;
|
537
|
+
disabledInput: boolean;
|
538
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
539
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
540
|
+
P: {};
|
541
|
+
B: {};
|
542
|
+
D: {};
|
543
|
+
C: {};
|
544
|
+
M: {};
|
545
|
+
Defaults: {};
|
546
|
+
}, Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
|
547
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
548
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
549
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
550
|
+
onClear?: (() => any) | undefined;
|
551
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
552
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
553
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
554
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
555
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
556
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
557
|
+
}>, {}, {}, {}, {}, {
|
558
|
+
error: boolean;
|
559
|
+
size: import('./_shared/type').Size;
|
560
|
+
popupVisible: boolean;
|
561
|
+
defaultPopupVisible: boolean;
|
562
|
+
disabled: boolean;
|
563
|
+
position: import('./DatePicker').DatePickerPosition;
|
564
|
+
unmountOnClose: boolean;
|
565
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
566
|
+
placeholder: string;
|
567
|
+
locale: Record<string, any>;
|
568
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
569
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
570
|
+
allowClear: boolean;
|
571
|
+
readonly: boolean;
|
572
|
+
triggerProps: import('./Trigger').TriggerProps;
|
573
|
+
hideTrigger: boolean;
|
574
|
+
format: string;
|
575
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
576
|
+
showConfirmBtn: boolean;
|
577
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
578
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
579
|
+
previewShortcut: boolean;
|
580
|
+
disabledInput: boolean;
|
581
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
582
|
+
}>;
|
583
|
+
__isFragment?: never;
|
584
|
+
__isTeleport?: never;
|
585
|
+
__isSuspense?: never;
|
586
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
|
587
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
588
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
589
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
590
|
+
onClear?: (() => any) | undefined;
|
591
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
592
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
593
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
594
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
595
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
596
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
597
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
598
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
599
|
+
"update:popupVisible": (value: boolean) => any;
|
600
|
+
"popup-visible-change": (visible: boolean) => any;
|
601
|
+
clear: () => any;
|
602
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
603
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
604
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
605
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
606
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
607
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
608
|
+
}, string, {
|
609
|
+
error: boolean;
|
610
|
+
size: import('./_shared/type').Size;
|
611
|
+
popupVisible: boolean;
|
612
|
+
defaultPopupVisible: boolean;
|
613
|
+
disabled: boolean;
|
614
|
+
position: import('./DatePicker').DatePickerPosition;
|
615
|
+
unmountOnClose: boolean;
|
616
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
617
|
+
placeholder: string;
|
618
|
+
locale: Record<string, any>;
|
619
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
620
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
621
|
+
allowClear: boolean;
|
622
|
+
readonly: boolean;
|
623
|
+
triggerProps: import('./Trigger').TriggerProps;
|
624
|
+
hideTrigger: boolean;
|
625
|
+
format: string;
|
626
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
627
|
+
showConfirmBtn: boolean;
|
628
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
629
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
630
|
+
previewShortcut: boolean;
|
631
|
+
disabledInput: boolean;
|
632
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
633
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
634
|
+
$slots: any;
|
635
|
+
});
|
636
|
+
MonthPicker: {
|
637
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
|
638
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
639
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
640
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
641
|
+
onClear?: (() => any) | undefined;
|
642
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
643
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
644
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
645
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
646
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
647
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
648
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
649
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
650
|
+
"update:popupVisible": (value: boolean) => any;
|
651
|
+
"popup-visible-change": (visible: boolean) => any;
|
652
|
+
clear: () => any;
|
653
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
654
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
655
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
656
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
657
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
658
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
659
|
+
}, import('vue').PublicProps, {
|
660
|
+
error: boolean;
|
661
|
+
size: import('./_shared/type').Size;
|
662
|
+
popupVisible: boolean;
|
663
|
+
defaultPopupVisible: boolean;
|
664
|
+
disabled: boolean;
|
665
|
+
position: import('./DatePicker').DatePickerPosition;
|
666
|
+
unmountOnClose: boolean;
|
667
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
668
|
+
placeholder: string;
|
669
|
+
locale: Record<string, any>;
|
670
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
671
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
672
|
+
allowClear: boolean;
|
673
|
+
readonly: boolean;
|
674
|
+
triggerProps: import('./Trigger').TriggerProps;
|
675
|
+
hideTrigger: boolean;
|
676
|
+
format: string;
|
677
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
678
|
+
showConfirmBtn: boolean;
|
679
|
+
abbreviation: boolean;
|
680
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
681
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
682
|
+
previewShortcut: boolean;
|
683
|
+
disabledInput: boolean;
|
684
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
685
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
686
|
+
P: {};
|
687
|
+
B: {};
|
688
|
+
D: {};
|
689
|
+
C: {};
|
690
|
+
M: {};
|
691
|
+
Defaults: {};
|
692
|
+
}, Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
|
693
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
694
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
695
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
696
|
+
onClear?: (() => any) | undefined;
|
697
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
698
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
699
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
700
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
701
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
702
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
703
|
+
}>, {}, {}, {}, {}, {
|
704
|
+
error: boolean;
|
705
|
+
size: import('./_shared/type').Size;
|
706
|
+
popupVisible: boolean;
|
707
|
+
defaultPopupVisible: boolean;
|
708
|
+
disabled: boolean;
|
709
|
+
position: import('./DatePicker').DatePickerPosition;
|
710
|
+
unmountOnClose: boolean;
|
711
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
712
|
+
placeholder: string;
|
713
|
+
locale: Record<string, any>;
|
714
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
715
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
716
|
+
allowClear: boolean;
|
717
|
+
readonly: boolean;
|
718
|
+
triggerProps: import('./Trigger').TriggerProps;
|
719
|
+
hideTrigger: boolean;
|
720
|
+
format: string;
|
721
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
722
|
+
showConfirmBtn: boolean;
|
723
|
+
abbreviation: boolean;
|
724
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
725
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
726
|
+
previewShortcut: boolean;
|
727
|
+
disabledInput: boolean;
|
728
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
729
|
+
}>;
|
730
|
+
__isFragment?: never;
|
731
|
+
__isTeleport?: never;
|
732
|
+
__isSuspense?: never;
|
733
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
|
734
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
735
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
736
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
737
|
+
onClear?: (() => any) | undefined;
|
738
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
739
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
740
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
741
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
742
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
743
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
744
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
745
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
746
|
+
"update:popupVisible": (value: boolean) => any;
|
747
|
+
"popup-visible-change": (visible: boolean) => any;
|
748
|
+
clear: () => any;
|
749
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
750
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
751
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
752
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
753
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
754
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
755
|
+
}, string, {
|
756
|
+
error: boolean;
|
757
|
+
size: import('./_shared/type').Size;
|
758
|
+
popupVisible: boolean;
|
759
|
+
defaultPopupVisible: boolean;
|
760
|
+
disabled: boolean;
|
761
|
+
position: import('./DatePicker').DatePickerPosition;
|
762
|
+
unmountOnClose: boolean;
|
763
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
764
|
+
placeholder: string;
|
765
|
+
locale: Record<string, any>;
|
766
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
767
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
768
|
+
allowClear: boolean;
|
769
|
+
readonly: boolean;
|
770
|
+
triggerProps: import('./Trigger').TriggerProps;
|
771
|
+
hideTrigger: boolean;
|
772
|
+
format: string;
|
773
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
774
|
+
showConfirmBtn: boolean;
|
775
|
+
abbreviation: boolean;
|
776
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
777
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
778
|
+
previewShortcut: boolean;
|
779
|
+
disabledInput: boolean;
|
780
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
781
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
782
|
+
$slots: any;
|
783
|
+
});
|
490
784
|
DropdownButton: {
|
491
785
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Dropdown').DropdownButtonProps> & Readonly<{
|
492
786
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
package/es/index.js
CHANGED
@@ -17,6 +17,7 @@ import Cascader from "./Cascader/index.js";
|
|
17
17
|
import Comment from "./Comment/index.js";
|
18
18
|
import ConfigProvider from "./ConfigProvider/index.js";
|
19
19
|
import Descriptions from "./Descriptions/index.js";
|
20
|
+
import DatePicker from "./DatePicker/index.js";
|
20
21
|
import Divider from "./Divider/index.js";
|
21
22
|
import Drawer from "./Drawer/index.js";
|
22
23
|
import Dropdown from "./Dropdown/index.js";
|
@@ -122,25 +123,29 @@ import _sfc_main$r from "./Dropdown/Dgroup.vue.js";
|
|
122
123
|
import _sfc_main$s from "./Dropdown/Doption.vue.js";
|
123
124
|
/* empty css */
|
124
125
|
import _sfc_main$t from "./Dropdown/DropdownButton.vue.js";
|
125
|
-
import _sfc_main$u from "./
|
126
|
-
|
127
|
-
import _sfc_main$
|
126
|
+
import _sfc_main$u from "./DatePicker/YcMonthPicker.vue.js";
|
127
|
+
/* empty css */
|
128
|
+
import _sfc_main$v from "./DatePicker/YcYearPicker.vue.js";
|
129
|
+
/* empty css */
|
130
|
+
import _sfc_main$w from "./Descriptions/DescriptionsItem.vue.js";
|
131
|
+
import _sfc_main$x from "./Statistic/Countdown.vue.js";
|
132
|
+
import _sfc_main$y from "./Collapse/CollapseItem.vue.js";
|
128
133
|
/* empty css */
|
129
|
-
import _sfc_main$
|
134
|
+
import _sfc_main$z from "./Checkbox/CheckboxGroup.vue.js";
|
130
135
|
/* empty css */
|
131
|
-
import _sfc_main$
|
136
|
+
import _sfc_main$A from "./Carousel/CarouselItem.vue.js";
|
132
137
|
/* empty css */
|
133
|
-
import _sfc_main$
|
138
|
+
import _sfc_main$B from "./Card/CardMeta.vue.js";
|
134
139
|
/* empty css */
|
135
|
-
import _sfc_main$
|
140
|
+
import _sfc_main$C from "./Card/CardGrid.vue.js";
|
136
141
|
/* empty css */
|
137
|
-
import _sfc_main$
|
142
|
+
import _sfc_main$D from "./Breadcrumb/BreadcrumbItem.vue.js";
|
138
143
|
/* empty css */
|
139
|
-
import _sfc_main$
|
144
|
+
import _sfc_main$E from "./Button/ButtonGroup.vue.js";
|
140
145
|
/* empty css */
|
141
|
-
import _sfc_main$
|
146
|
+
import _sfc_main$F from "./Avatar/AvatarGroup.vue.js";
|
142
147
|
/* empty css */
|
143
|
-
import _sfc_main$
|
148
|
+
import _sfc_main$G from "./Anchor/AnchorLink.vue.js";
|
144
149
|
/* empty css */
|
145
150
|
import { default as default2 } from "./Cascader/CascaderDataPanel.vue.js";
|
146
151
|
import { default as default3 } from "./Input/InputGroup.vue.js";
|
@@ -167,6 +172,7 @@ const components = {
|
|
167
172
|
Comment,
|
168
173
|
ConfigProvider,
|
169
174
|
Descriptions,
|
175
|
+
DatePicker,
|
170
176
|
Divider,
|
171
177
|
Drawer,
|
172
178
|
Dropdown,
|
@@ -219,17 +225,19 @@ const components = {
|
|
219
225
|
};
|
220
226
|
const YcDesignVue = {
|
221
227
|
...components,
|
222
|
-
AnchorLink: _sfc_main$
|
223
|
-
AvatarGroup: _sfc_main$
|
224
|
-
ButtonGroup: _sfc_main$
|
225
|
-
BreadcrumbItem: _sfc_main$
|
226
|
-
CardGrid: _sfc_main$
|
227
|
-
CardMeta: _sfc_main$
|
228
|
-
CarouselItem: _sfc_main$
|
229
|
-
CheckboxGroup: _sfc_main$
|
230
|
-
CollapseItem: _sfc_main$
|
231
|
-
Countdown: _sfc_main$
|
232
|
-
DescriptionsItem: _sfc_main$
|
228
|
+
AnchorLink: _sfc_main$G,
|
229
|
+
AvatarGroup: _sfc_main$F,
|
230
|
+
ButtonGroup: _sfc_main$E,
|
231
|
+
BreadcrumbItem: _sfc_main$D,
|
232
|
+
CardGrid: _sfc_main$C,
|
233
|
+
CardMeta: _sfc_main$B,
|
234
|
+
CarouselItem: _sfc_main$A,
|
235
|
+
CheckboxGroup: _sfc_main$z,
|
236
|
+
CollapseItem: _sfc_main$y,
|
237
|
+
Countdown: _sfc_main$x,
|
238
|
+
DescriptionsItem: _sfc_main$w,
|
239
|
+
YearPicker: _sfc_main$v,
|
240
|
+
MonthPicker: _sfc_main$u,
|
233
241
|
DropdownButton: _sfc_main$t,
|
234
242
|
Doption: _sfc_main$s,
|
235
243
|
Dgroup: _sfc_main$r,
|
@@ -270,34 +278,35 @@ export {
|
|
270
278
|
Affix,
|
271
279
|
Alert,
|
272
280
|
Anchor,
|
273
|
-
_sfc_main$
|
281
|
+
_sfc_main$G as AnchorLink,
|
274
282
|
AutoComplete,
|
275
283
|
Avatar,
|
276
|
-
_sfc_main$
|
284
|
+
_sfc_main$F as AvatarGroup,
|
277
285
|
BackTop,
|
278
286
|
Badge,
|
279
287
|
Breadcrumb,
|
280
|
-
_sfc_main$
|
288
|
+
_sfc_main$D as BreadcrumbItem,
|
281
289
|
Button,
|
282
|
-
_sfc_main$
|
290
|
+
_sfc_main$E as ButtonGroup,
|
283
291
|
Calendar,
|
284
292
|
Card,
|
285
|
-
_sfc_main$
|
286
|
-
_sfc_main$
|
293
|
+
_sfc_main$C as CardGrid,
|
294
|
+
_sfc_main$B as CardMeta,
|
287
295
|
Carousel,
|
288
|
-
_sfc_main$
|
296
|
+
_sfc_main$A as CarouselItem,
|
289
297
|
Cascader,
|
290
298
|
default2 as CascaderPanel,
|
291
299
|
Checkbox,
|
292
|
-
_sfc_main$
|
300
|
+
_sfc_main$z as CheckboxGroup,
|
293
301
|
Collapse,
|
294
|
-
_sfc_main$
|
302
|
+
_sfc_main$y as CollapseItem,
|
295
303
|
ColorPicker,
|
296
304
|
Comment,
|
297
305
|
ConfigProvider,
|
298
|
-
_sfc_main$
|
306
|
+
_sfc_main$x as Countdown,
|
307
|
+
DatePicker,
|
299
308
|
Descriptions,
|
300
|
-
_sfc_main$
|
309
|
+
_sfc_main$w as DescriptionsItem,
|
301
310
|
_sfc_main$r as Dgroup,
|
302
311
|
Divider,
|
303
312
|
_sfc_main$s as Doption,
|
package/es/lang-es/zh-cn.js
CHANGED
@@ -84,10 +84,6 @@ const lang = {
|
|
84
84
|
countPerPage: '条/页',
|
85
85
|
total: '共 {0} 条',
|
86
86
|
},
|
87
|
-
table: {
|
88
|
-
okText: '确定',
|
89
|
-
resetText: '重置',
|
90
|
-
},
|
91
87
|
upload: {
|
92
88
|
start: '开始',
|
93
89
|
cancel: '取消',
|
@@ -100,6 +96,29 @@ const lang = {
|
|
100
96
|
error: '上传失败',
|
101
97
|
},
|
102
98
|
calendar: calendarLang,
|
99
|
+
image: {
|
100
|
+
loading: '加载中',
|
101
|
+
},
|
102
|
+
imagePreview: {
|
103
|
+
fullScreen: '全屏',
|
104
|
+
rotateRight: '向右旋转',
|
105
|
+
rotateLeft: '向左旋转',
|
106
|
+
zoomIn: '放大',
|
107
|
+
zoomOut: '缩小',
|
108
|
+
originalSize: '原始尺寸',
|
109
|
+
},
|
110
|
+
typography: {
|
111
|
+
copied: '已复制',
|
112
|
+
copy: '复制',
|
113
|
+
expand: '展开',
|
114
|
+
collapse: '折叠',
|
115
|
+
edit: '编辑',
|
116
|
+
},
|
117
|
+
colorPicker: {
|
118
|
+
history: '最近使用颜色',
|
119
|
+
preset: '系统预设颜色',
|
120
|
+
empty: '暂无',
|
121
|
+
},
|
103
122
|
datePicker: {
|
104
123
|
view: calendarLang.view,
|
105
124
|
month: calendarLang.month,
|
@@ -125,23 +144,9 @@ const lang = {
|
|
125
144
|
now: '此刻',
|
126
145
|
ok: '确定',
|
127
146
|
},
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
imagePreview: {
|
132
|
-
fullScreen: '全屏',
|
133
|
-
rotateRight: '向右旋转',
|
134
|
-
rotateLeft: '向左旋转',
|
135
|
-
zoomIn: '放大',
|
136
|
-
zoomOut: '缩小',
|
137
|
-
originalSize: '原始尺寸',
|
138
|
-
},
|
139
|
-
typography: {
|
140
|
-
copied: '已复制',
|
141
|
-
copy: '复制',
|
142
|
-
expand: '展开',
|
143
|
-
collapse: '折叠',
|
144
|
-
edit: '编辑',
|
147
|
+
table: {
|
148
|
+
okText: '确定',
|
149
|
+
resetText: '重置',
|
145
150
|
},
|
146
151
|
form: {
|
147
152
|
validateMessages: {
|
@@ -191,10 +196,5 @@ const lang = {
|
|
191
196
|
},
|
192
197
|
},
|
193
198
|
},
|
194
|
-
colorPicker: {
|
195
|
-
history: '最近使用颜色',
|
196
|
-
preset: '系统预设颜色',
|
197
|
-
empty: '暂无',
|
198
|
-
},
|
199
199
|
};
|
200
200
|
export { lang as default };
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { commonjsGlobal, getDefaultExportFromCjs } from "../../../_virtual/_commonjsHelpers.js";
|
2
|
+
import { __module as isoWeek$1 } from "../../../_virtual/isoWeek.js";
|
3
|
+
(function(module, exports) {
|
4
|
+
!function(e, t) {
|
5
|
+
module.exports = t();
|
6
|
+
}(commonjsGlobal, function() {
|
7
|
+
var e = "day";
|
8
|
+
return function(t, i, s) {
|
9
|
+
var a = function(t2) {
|
10
|
+
return t2.add(4 - t2.isoWeekday(), e);
|
11
|
+
}, d = i.prototype;
|
12
|
+
d.isoWeekYear = function() {
|
13
|
+
return a(this).year();
|
14
|
+
}, d.isoWeek = function(t2) {
|
15
|
+
if (!this.$utils().u(t2)) return this.add(7 * (t2 - this.isoWeek()), e);
|
16
|
+
var i2, d2, n2, o, r = a(this), u = (i2 = this.isoWeekYear(), d2 = this.$u, n2 = (d2 ? s.utc : s)().year(i2).startOf("year"), o = 4 - n2.isoWeekday(), n2.isoWeekday() > 4 && (o += 7), n2.add(o, e));
|
17
|
+
return r.diff(u, "week") + 1;
|
18
|
+
}, d.isoWeekday = function(e2) {
|
19
|
+
return this.$utils().u(e2) ? this.day() || 7 : this.day(this.day() % 7 ? e2 : e2 - 7);
|
20
|
+
};
|
21
|
+
var n = d.startOf;
|
22
|
+
d.startOf = function(e2, t2) {
|
23
|
+
var i2 = this.$utils(), s2 = !!i2.u(t2) || t2;
|
24
|
+
return "isoweek" === i2.p(e2) ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n.bind(this)(e2, t2);
|
25
|
+
};
|
26
|
+
};
|
27
|
+
});
|
28
|
+
})(isoWeek$1);
|
29
|
+
var isoWeekExports = isoWeek$1.exports;
|
30
|
+
const isoWeek = /* @__PURE__ */ getDefaultExportFromCjs(isoWeekExports);
|
31
|
+
export {
|
32
|
+
isoWeek as default
|
33
|
+
};
|
@@ -84,10 +84,6 @@ const lang = {
|
|
84
84
|
countPerPage: "条/页",
|
85
85
|
total: "共 {0} 条"
|
86
86
|
},
|
87
|
-
table: {
|
88
|
-
okText: "确定",
|
89
|
-
resetText: "重置"
|
90
|
-
},
|
91
87
|
upload: {
|
92
88
|
start: "开始",
|
93
89
|
cancel: "取消",
|
@@ -100,6 +96,29 @@ const lang = {
|
|
100
96
|
error: "上传失败"
|
101
97
|
},
|
102
98
|
calendar: calendarLang,
|
99
|
+
image: {
|
100
|
+
loading: "加载中"
|
101
|
+
},
|
102
|
+
imagePreview: {
|
103
|
+
fullScreen: "全屏",
|
104
|
+
rotateRight: "向右旋转",
|
105
|
+
rotateLeft: "向左旋转",
|
106
|
+
zoomIn: "放大",
|
107
|
+
zoomOut: "缩小",
|
108
|
+
originalSize: "原始尺寸"
|
109
|
+
},
|
110
|
+
typography: {
|
111
|
+
copied: "已复制",
|
112
|
+
copy: "复制",
|
113
|
+
expand: "展开",
|
114
|
+
collapse: "折叠",
|
115
|
+
edit: "编辑"
|
116
|
+
},
|
117
|
+
colorPicker: {
|
118
|
+
history: "最近使用颜色",
|
119
|
+
preset: "系统预设颜色",
|
120
|
+
empty: "暂无"
|
121
|
+
},
|
103
122
|
datePicker: {
|
104
123
|
view: calendarLang.view,
|
105
124
|
month: calendarLang.month,
|
@@ -125,23 +144,9 @@ const lang = {
|
|
125
144
|
now: "此刻",
|
126
145
|
ok: "确定"
|
127
146
|
},
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
imagePreview: {
|
132
|
-
fullScreen: "全屏",
|
133
|
-
rotateRight: "向右旋转",
|
134
|
-
rotateLeft: "向左旋转",
|
135
|
-
zoomIn: "放大",
|
136
|
-
zoomOut: "缩小",
|
137
|
-
originalSize: "原始尺寸"
|
138
|
-
},
|
139
|
-
typography: {
|
140
|
-
copied: "已复制",
|
141
|
-
copy: "复制",
|
142
|
-
expand: "展开",
|
143
|
-
collapse: "折叠",
|
144
|
-
edit: "编辑"
|
147
|
+
table: {
|
148
|
+
okText: "确定",
|
149
|
+
resetText: "重置"
|
145
150
|
},
|
146
151
|
form: {
|
147
152
|
validateMessages: {
|
@@ -190,11 +195,6 @@ const lang = {
|
|
190
195
|
false: "期望是 `false`"
|
191
196
|
}
|
192
197
|
}
|
193
|
-
},
|
194
|
-
colorPicker: {
|
195
|
-
history: "最近使用颜色",
|
196
|
-
preset: "系统预设颜色",
|
197
|
-
empty: "暂无"
|
198
198
|
}
|
199
199
|
};
|
200
200
|
export {
|