@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.
@@ -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;
@@ -1,3 +1,4 @@
1
1
  export type AvatarCropperToolbarPosition = 'top' | 'bottom';
2
2
  export type AvatarCropperSizeType = 'original' | 'compressed';
3
3
  export type AvatarCropperSourceType = 'album' | 'camera';
4
+ export type AvatarCropperShape = 'square' | 'round';
@@ -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;
@@ -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.7";
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",