@nutui/nutui 4.2.7 → 4.2.8
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/CHANGELOG.md +15 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +964 -949
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/avatar/index.css +1 -1
- package/dist/packages/avatar/index.scss +1 -1
- package/dist/packages/avatarcropper/AvatarCropper.js +7 -3
- package/dist/packages/avatarcropper/index.css +1 -1
- package/dist/packages/avatarcropper/index.scss +3 -0
- package/dist/packages/calendar/Calendar.js +18 -4
- package/dist/packages/calendaritem/CalendarItem.js +1 -1
- package/dist/packages/datepicker/DatePicker.js +31 -30
- package/dist/packages/datepicker/index.css +1 -1
- package/dist/packages/dialog/index.css +1 -1
- package/dist/packages/dialog/index.scss +0 -3
- package/dist/packages/{index-NLe0VBkN.js → index-kWulbKuH.js} +4 -2
- package/dist/packages/picker/index.css +1 -1
- package/dist/packages/picker/index.scss +2 -0
- package/dist/packages/skeleton/index.css +1 -1
- package/dist/smartips/web-types.json +10 -1
- package/dist/style.css +1 -1
- package/dist/types/__VUE/avatarcropper/index.vue.d.ts +10 -1
- package/dist/types/__VUE/avatarcropper/types.d.ts +1 -0
- package/dist/types/__VUE/calendar/index.vue.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref, PropType } from 'vue';
|
|
2
|
-
import type { AvatarCropperToolbarPosition } from './types';
|
|
2
|
+
import type { AvatarCropperToolbarPosition, AvatarCropperShape } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
@@ -29,6 +29,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
29
29
|
type: StringConstructor;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
shape: {
|
|
33
|
+
type: PropType<AvatarCropperShape>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
32
36
|
}, {
|
|
33
37
|
cropperPopupRef: Ref<HTMLElement>;
|
|
34
38
|
canvasRef: Ref<HTMLCanvasElement>;
|
|
@@ -80,11 +84,16 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
80
84
|
type: StringConstructor;
|
|
81
85
|
default: string;
|
|
82
86
|
};
|
|
87
|
+
shape: {
|
|
88
|
+
type: PropType<AvatarCropperShape>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
83
91
|
}>> & {
|
|
84
92
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
85
93
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
86
94
|
}, {
|
|
87
95
|
space: number;
|
|
96
|
+
shape: AvatarCropperShape;
|
|
88
97
|
maxZoom: number;
|
|
89
98
|
toolbarPosition: AvatarCropperToolbarPosition;
|
|
90
99
|
editText: string;
|
|
@@ -74,7 +74,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
74
74
|
};
|
|
75
75
|
disabledDate: FunctionConstructor;
|
|
76
76
|
}, {
|
|
77
|
+
visible: import("vue").WritableComputedRef<boolean>;
|
|
77
78
|
closePopup: () => void;
|
|
79
|
+
opened: () => void;
|
|
78
80
|
update: () => void;
|
|
79
81
|
close: () => void;
|
|
80
82
|
select: (param: any) => void;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
110
110
|
import Invoice from './__VUE/invoice/index.vue';
|
|
111
111
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
112
112
|
declare function install(app: App): void;
|
|
113
|
-
declare const version = "4.2.
|
|
113
|
+
declare const version = "4.2.8";
|
|
114
114
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
115
115
|
declare const _default: {
|
|
116
116
|
install: typeof install;
|