@nutui/nutui-react-taro 2.0.0-alpha.14 → 2.0.0-alpha.16
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 +28 -0
- package/dist/esm/Address.js +2 -2
- package/dist/esm/Audio.js +2 -2
- package/dist/esm/Avatar.js +3 -3
- package/dist/esm/Calendar.js +3 -3
- package/dist/esm/CalendarItem.js +2 -2
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Card.js +2 -4
- package/dist/esm/ConfigProvider.js +2 -2
- package/dist/esm/CountDown.js +2 -2
- package/dist/esm/DatePicker.js +3 -3
- package/dist/esm/Dialog/style/index.js +1 -0
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +2 -2
- package/dist/esm/Empty.js +2 -2
- package/dist/esm/FixedNav.js +2 -2
- package/dist/esm/Grid.js +3 -3
- package/dist/esm/GridItem.js +2 -2
- package/dist/esm/Image.js +2 -2
- package/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/InfiniteLoading/style/style.css +1 -0
- package/dist/esm/InfiniteLoading.js +10 -0
- package/dist/esm/Input.js +2 -2
- package/dist/esm/Menu/style/style.css +1 -1
- package/dist/esm/MenuItem/style/style.css +1 -1
- package/dist/esm/MenuItem.js +1 -1
- package/dist/esm/NoticeBar.js +1 -1
- package/dist/esm/NumberKeyboard.js +2 -2
- package/dist/esm/Pagination.js +2 -2
- package/dist/esm/Picker.js +2 -2
- package/dist/esm/PullToRefresh.js +2 -2
- package/dist/esm/SearchBar.js +2 -2
- package/dist/esm/ShortPassword.js +2 -2
- package/dist/esm/Signature/style/index.js +1 -1
- package/dist/esm/Signature/style/style.css +1 -1
- package/dist/esm/Signature.js +1 -7
- package/dist/esm/Skeleton.js +4 -4
- package/dist/esm/Table.js +2 -2
- package/dist/esm/Tag/style/style.css +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TextArea.js +2 -2
- package/dist/esm/TimeDetail/style/style.css +1 -1
- package/dist/esm/TimeDetail.js +3 -4
- package/dist/esm/TimeSelect/style/index.js +0 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +4 -7
- package/dist/esm/Uploader.js +2 -2
- package/dist/esm/WaterMark.js +2 -2
- package/dist/esm/{address.taro-1a8ab3f1.js → address.taro-cc879a1d.js} +1 -1
- package/dist/esm/{audio.taro-73011657.js → audio.taro-64b15071.js} +1 -1
- package/dist/esm/{avatar.taro-01536aff.js → avatar.taro-8a26cd6c.js} +1 -1
- package/dist/esm/{calendar.taro-10a6cb11.js → calendar.taro-02195ddb.js} +2 -2
- package/dist/esm/{calendaritem.taro-3e5f114e.js → calendaritem.taro-4230e5c4.js} +1 -1
- package/dist/esm/card.taro-92fe9733.js +64 -0
- package/dist/esm/{configprovider.taro-25758d9f.js → configprovider.taro-372b1525.js} +1 -1
- package/dist/esm/{countdown.taro-c399cc08.js → countdown.taro-8f19d21b.js} +1 -1
- package/dist/esm/{datepicker.taro-6304d59d.js → datepicker.taro-b480d072.js} +44 -46
- package/dist/esm/{dialog.taro-290eb9a6.js → dialog.taro-e5c2cb03.js} +1 -1
- package/dist/esm/{empty.taro-ca792f57.js → empty.taro-8345ac72.js} +1 -1
- package/dist/esm/{fixednav.taro-b9ecf0d5.js → fixednav.taro-6c69ad79.js} +1 -1
- package/dist/esm/{grid.taro-fbbd8618.js → grid.taro-9b63aca5.js} +1 -1
- package/dist/esm/{griditem.taro-b0c37077.js → griditem.taro-48971911.js} +1 -1
- package/dist/esm/{image.taro-767aa000.js → image.taro-fde6e649.js} +1 -1
- package/dist/esm/{imagepreview.taro-daa5a84f.js → imagepreview.taro-cfe0a4cc.js} +3 -2
- package/dist/esm/{infiniteloading.taro-f8f23ac6.js → infiniteloading.taro-53eeb1ec.js} +17 -33
- package/dist/esm/{input.taro-27d686c9.js → input.taro-69c08268.js} +1 -1
- package/dist/esm/{menuitem.taro-6aa35a00.js → menuitem.taro-7f8c12cf.js} +11 -8
- package/dist/esm/{noticebar.taro-8d496dd6.js → noticebar.taro-dc895cc5.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-ad8afaf9.js → numberkeyboard.taro-18879f04.js} +1 -1
- package/dist/esm/nutui-react.es.js +39 -41
- package/dist/esm/{pagination.taro-63607c3b.js → pagination.taro-592bca05.js} +1 -1
- package/dist/esm/{picker.taro-8ba4624c.js → picker.taro-3781a455.js} +2 -2
- package/dist/esm/{pulltorefresh.taro-5b36a881.js → pulltorefresh.taro-3719fdfb.js} +1 -1
- package/dist/esm/{searchbar.taro-09468fff.js → searchbar.taro-39351331.js} +1 -1
- package/dist/esm/{shortpassword.taro-eabbde1b.js → shortpassword.taro-cff61e4e.js} +1 -1
- package/dist/esm/{signature.taro-6e75a1ac.js → signature.taro-4f68516a.js} +19 -20
- package/dist/esm/{skeleton.taro-0552c2ec.js → skeleton.taro-ce714b06.js} +1 -1
- package/dist/esm/{table.taro-15a55c5d.js → table.taro-a20f15f2.js} +1 -1
- package/dist/esm/tag.taro-614758eb.js +76 -0
- package/dist/esm/{textarea.taro-c110565e.js → textarea.taro-593cd471.js} +1 -1
- package/dist/esm/timedetail.taro-d7aa4c1b.js +48 -0
- package/dist/esm/timeselect.taro-9e37e648.js +114 -0
- package/dist/esm/types/src/locales/base.d.ts +1 -1
- package/dist/esm/types/src/packages/card/card.d.ts +8 -9
- package/dist/esm/types/src/packages/card/card.taro.d.ts +8 -9
- package/dist/esm/types/src/packages/card/index.d.ts +1 -0
- package/dist/esm/types/src/packages/card/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/datepicker/datepicker.d.ts +11 -17
- package/dist/esm/types/src/packages/datepicker/datepicker.taro.d.ts +11 -17
- package/dist/esm/types/src/packages/datepicker/index.d.ts +1 -0
- package/dist/esm/types/src/packages/datepicker/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/imagepreview/imagepreview.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/infiniteloading/demo.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/infiniteloading/index.d.ts +3 -2
- package/dist/esm/types/src/packages/infiniteloading/index.taro.d.ts +3 -2
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +9 -14
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +8 -12
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +2 -3
- package/dist/esm/types/src/packages/nutui.react.d.ts +2 -4
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +0 -1
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +2 -4
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +0 -1
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +2 -3
- package/dist/esm/types/src/packages/signature/index.d.ts +1 -0
- package/dist/esm/types/src/packages/signature/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/signature/signature.d.ts +10 -8
- package/dist/esm/types/src/packages/signature/signature.taro.d.ts +7 -12
- package/dist/esm/types/src/packages/tag/index.d.ts +1 -0
- package/dist/esm/types/src/packages/tag/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/tag/tag.d.ts +4 -6
- package/dist/esm/types/src/packages/tag/tag.taro.d.ts +4 -6
- package/dist/esm/types/src/packages/timedetail/index.d.ts +1 -2
- package/dist/esm/types/src/packages/timedetail/timedetail.d.ts +9 -11
- package/dist/esm/types/src/packages/timedetail/timedetail.taro.d.ts +9 -11
- package/dist/esm/types/src/packages/timeselect/demo.taro.d.ts +0 -4
- package/dist/esm/types/src/packages/timeselect/index.d.ts +1 -0
- package/dist/esm/types/src/packages/timeselect/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/timeselect/timeselect.d.ts +25 -20
- package/dist/esm/types/src/packages/timeselect/timeselect.taro.d.ts +25 -20
- package/dist/esm/types/src/packages/toast/Notification.d.ts +4 -1
- package/dist/esm/{uploader.taro-fbd05e20.js → uploader.taro-5ad88f83.js} +1 -1
- package/dist/esm/{watermark.taro-e2245bb1.js → watermark.taro-b6b1ae18.js} +1 -1
- package/dist/locales/base.d.ts +1 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +2 -2
- package/dist/locales/id-ID.js +2 -2
- package/dist/locales/tr-TR.js +2 -2
- package/dist/locales/zh-CN.js +2 -2
- package/dist/locales/zh-TW.js +2 -2
- package/dist/locales/zh-UG.js +2 -2
- package/dist/nutui.react.es.js +693 -730
- package/dist/nutui.react.umd.js +692 -729
- package/dist/packages/card/card.scss +8 -14
- package/dist/packages/infiniteloading/infiniteloading.scss +2 -25
- package/dist/packages/menuitem/menuitem.scss +1 -1
- package/dist/packages/noticebar/noticebar.scss +0 -3
- package/dist/packages/signature/signature.scss +1 -18
- package/dist/packages/tag/tag.scss +10 -17
- package/dist/packages/timedetail/timedetail.scss +12 -37
- package/dist/packages/timeselect/timeselect.scss +15 -44
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/themes/default.scss +0 -1
- package/dist/styles/variables-jmapp.scss +50 -97
- package/dist/styles/variables.scss +51 -98
- package/dist/types/index.d.ts +2 -3
- package/dist/types/locales/base.d.ts +1 -1
- package/dist/types/packages/card/card.taro.d.ts +57 -14
- package/dist/types/packages/card/index.taro.d.ts +1 -0
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/datepicker/datepicker.taro.d.ts +11 -17
- package/dist/types/packages/datepicker/index.taro.d.ts +1 -0
- package/dist/types/packages/imagepreview/imagepreview.taro.d.ts +5 -0
- package/dist/types/packages/infiniteloading/index.taro.d.ts +3 -2
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +52 -16
- package/dist/types/packages/picker/index.d.ts +4 -0
- package/dist/types/packages/picker/picker.d.ts +18 -0
- package/dist/types/packages/picker/pickerpanel.d.ts +15 -0
- package/dist/types/packages/popup/index.d.ts +3 -0
- package/dist/types/packages/popup/popup.d.ts +22 -0
- package/dist/types/packages/signature/index.taro.d.ts +1 -0
- package/dist/types/packages/signature/signature.taro.d.ts +32 -17
- package/dist/types/packages/tag/index.taro.d.ts +1 -0
- package/dist/types/packages/tag/tag.taro.d.ts +52 -14
- package/dist/types/packages/timedetail/timedetail.taro.d.ts +9 -11
- package/dist/types/packages/timeselect/index.taro.d.ts +1 -0
- package/dist/types/packages/timeselect/timeselect.taro.d.ts +62 -21
- package/dist/types/packages/toast/toast.taro.d.ts +60 -12
- package/package.json +1 -1
- package/dist/esm/Infiniteloading/style/style.css +0 -1
- package/dist/esm/Infiniteloading.js +0 -12
- package/dist/esm/TimePannel/style/css.js +0 -1
- package/dist/esm/TimePannel/style/index.js +0 -2
- package/dist/esm/TimePannel/style/style.css +0 -1
- package/dist/esm/TimePannel.js +0 -8
- package/dist/esm/card.taro-2080f4d2.js +0 -51
- package/dist/esm/tag.taro-1b4134a5.js +0 -92
- package/dist/esm/timedetail.taro-8d2acbbf.js +0 -41
- package/dist/esm/timepannel.taro-ee4c5dfa.js +0 -22
- package/dist/esm/timeselect.taro-069deedd.js +0 -133
- package/dist/esm/types/src/packages/timedetail/demo.d.ts +0 -3
- package/dist/esm/types/src/packages/timedetail/demo.taro.d.ts +0 -3
- package/dist/esm/types/src/packages/timepannel/demo.d.ts +0 -3
- package/dist/esm/types/src/packages/timepannel/demo.taro.d.ts +0 -3
- package/dist/esm/types/src/packages/timepannel/index.d.ts +0 -2
- package/dist/esm/types/src/packages/timepannel/index.taro.d.ts +0 -2
- package/dist/esm/types/src/packages/timepannel/timepannel.d.ts +0 -8
- package/dist/esm/types/src/packages/timepannel/timepannel.taro.d.ts +0 -8
- package/dist/packages/timepannel/timepannel.scss +0 -17
- package/dist/types/packages/timepannel/index.taro.d.ts +0 -2
- package/dist/types/packages/timepannel/timepannel.taro.d.ts +0 -8
- /package/dist/esm/{Infiniteloading → InfiniteLoading}/style/css.js +0 -0
- /package/dist/esm/{Infiniteloading → InfiniteLoading}/style/index.js +0 -0
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
3
4
|
export interface TagProps extends BasicComponent {
|
|
4
5
|
type: TagType;
|
|
6
|
+
background: string;
|
|
5
7
|
color: string;
|
|
6
|
-
textColor: string;
|
|
7
8
|
plain: boolean;
|
|
8
9
|
round: boolean;
|
|
9
10
|
mark: boolean;
|
|
10
11
|
closeable: boolean;
|
|
11
|
-
closeIcon:
|
|
12
|
-
prefixCls: string;
|
|
12
|
+
closeIcon: ReactNode;
|
|
13
13
|
onClick: (e: MouseEvent) => void;
|
|
14
14
|
onClose: (e?: any) => void;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
15
|
}
|
|
17
|
-
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
18
16
|
export declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
3
4
|
export interface TagProps extends BasicComponent {
|
|
4
5
|
type: TagType;
|
|
6
|
+
background: string;
|
|
5
7
|
color: string;
|
|
6
|
-
textColor: string;
|
|
7
8
|
plain: boolean;
|
|
8
9
|
round: boolean;
|
|
9
10
|
mark: boolean;
|
|
10
11
|
closeable: boolean;
|
|
11
|
-
closeIcon:
|
|
12
|
-
prefixCls: string;
|
|
12
|
+
closeIcon: ReactNode;
|
|
13
13
|
onClick: (e: MouseEvent) => void;
|
|
14
14
|
onClose: (e?: any) => void;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
15
|
}
|
|
17
|
-
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
18
16
|
export declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
import { TimeType, DateType, OptionKeyType } from '@/packages/timeselect';
|
|
4
|
+
export interface TimeDetailProps extends BasicComponent {
|
|
5
|
+
activeDate: string;
|
|
6
|
+
activeTime: DateType[];
|
|
7
|
+
options: DateType[];
|
|
8
|
+
optionKey: OptionKeyType;
|
|
9
|
+
onSelect: (time: TimeType) => void;
|
|
5
10
|
}
|
|
6
|
-
export
|
|
7
|
-
className?: string;
|
|
8
|
-
currentKey: string | number;
|
|
9
|
-
currentTime: TimeType[];
|
|
10
|
-
times: TimeType[];
|
|
11
|
-
select: (time: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
11
|
+
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
import { TimeType, DateType, OptionKeyType } from '@/packages/timeselect/index.taro';
|
|
4
|
+
export interface TimeDetailProps extends BasicComponent {
|
|
5
|
+
activeDate: string;
|
|
6
|
+
activeTime: DateType[];
|
|
7
|
+
options: DateType[];
|
|
8
|
+
optionKey: OptionKeyType;
|
|
9
|
+
onSelect: (time: TimeType) => void;
|
|
5
10
|
}
|
|
6
|
-
export
|
|
7
|
-
className?: string;
|
|
8
|
-
currentKey: string | number;
|
|
9
|
-
currentTime: TimeType[];
|
|
10
|
-
times: TimeType[];
|
|
11
|
-
select: (time: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
11
|
+
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>>;
|
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface TimeType {
|
|
4
|
+
value?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
[prop: string]: any;
|
|
7
|
+
}
|
|
3
8
|
export interface DateType {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
value?: string;
|
|
10
|
+
text?: string;
|
|
11
|
+
children?: TimeType[];
|
|
12
|
+
[prop: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface OptionKeyType {
|
|
15
|
+
valueKey: string;
|
|
16
|
+
textKey: string;
|
|
17
|
+
childrenKey: string;
|
|
6
18
|
}
|
|
7
|
-
export interface TimeSelectProps {
|
|
8
|
-
|
|
9
|
-
style: React.CSSProperties;
|
|
10
|
-
visible?: boolean;
|
|
11
|
-
height?: string;
|
|
19
|
+
export interface TimeSelectProps extends BasicComponent {
|
|
20
|
+
visible: boolean;
|
|
12
21
|
multiple?: boolean;
|
|
13
|
-
title?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
timeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
21
|
-
onSelect?: (selectTimeData: TimeType[]) => void;
|
|
22
|
-
onPannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
23
|
-
onTimeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
22
|
+
title?: ReactNode;
|
|
23
|
+
defaultValue: DateType[];
|
|
24
|
+
options: DateType[];
|
|
25
|
+
optionKey: OptionKeyType;
|
|
26
|
+
onSelect?: (value: DateType[]) => void;
|
|
27
|
+
onDateChange?: (date: DateType, value: DateType[]) => void;
|
|
28
|
+
onTimeChange?: (time: TimeType, value: DateType[]) => void;
|
|
24
29
|
}
|
|
25
30
|
export declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface TimeType {
|
|
4
|
+
value?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
[prop: string]: any;
|
|
7
|
+
}
|
|
3
8
|
export interface DateType {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
value?: string;
|
|
10
|
+
text?: string;
|
|
11
|
+
children?: TimeType[];
|
|
12
|
+
[prop: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface OptionKeyType {
|
|
15
|
+
valueKey: string;
|
|
16
|
+
textKey: string;
|
|
17
|
+
childrenKey: string;
|
|
6
18
|
}
|
|
7
|
-
export interface TimeSelectProps {
|
|
8
|
-
|
|
9
|
-
style: React.CSSProperties;
|
|
10
|
-
visible?: boolean;
|
|
11
|
-
height?: string;
|
|
19
|
+
export interface TimeSelectProps extends BasicComponent {
|
|
20
|
+
visible: boolean;
|
|
12
21
|
multiple?: boolean;
|
|
13
|
-
title?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
timeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
21
|
-
onSelect?: (selectTimeData: TimeType[]) => void;
|
|
22
|
-
onPannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
23
|
-
onTimeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
22
|
+
title?: ReactNode;
|
|
23
|
+
defaultValue: DateType[];
|
|
24
|
+
options: DateType[];
|
|
25
|
+
optionKey: OptionKeyType;
|
|
26
|
+
onSelect?: (value: DateType[]) => void;
|
|
27
|
+
onDateChange?: (date: DateType, value: DateType[]) => void;
|
|
28
|
+
onTimeChange?: (time: TimeType, value: DateType[]) => void;
|
|
24
29
|
}
|
|
25
30
|
export declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
@@ -13,7 +13,10 @@ export interface NotificationProps extends BasicComponent {
|
|
|
13
13
|
contentStyle?: React.CSSProperties;
|
|
14
14
|
onClose: () => void;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
16
|
+
export interface NotificationState {
|
|
17
|
+
show: boolean;
|
|
18
|
+
}
|
|
19
|
+
export default class Notification extends React.PureComponent<NotificationProps, NotificationState> {
|
|
17
20
|
static newInstance: (properties: NotificationProps, callback: any) => void;
|
|
18
21
|
private closeTimer;
|
|
19
22
|
constructor(props: NotificationProps);
|
|
@@ -11,7 +11,7 @@ import { Failure, Loading, Link, Del, Photograph } from "@nutui/icons-react-taro
|
|
|
11
11
|
import { Image } from "@tarojs/components";
|
|
12
12
|
import { B as Button } from "./button.taro-01eae688.js";
|
|
13
13
|
import { P as Progress } from "./progress.taro-437b9f6a.js";
|
|
14
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
14
|
+
import { u as useConfig } from "./configprovider.taro-372b1525.js";
|
|
15
15
|
import { i as isPromise } from "./index-0a89a47b.js";
|
|
16
16
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
17
17
|
class UploadOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect } from "react";
|
|
2
2
|
import { getSystemInfo, createOffscreenCanvas } from "@tarojs/taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
4
|
+
import { u as useConfig } from "./configprovider.taro-372b1525.js";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
package/dist/locales/base.d.ts
CHANGED
package/dist/locales/base.js
CHANGED
package/dist/locales/en-US.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.0.0-alpha.
|
|
2
|
+
* @nutui/nutui-react-taro v2.0.0-alpha.16 Fri Jun 09 2023 18:38:57 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -67,7 +67,7 @@ const o = {
|
|
|
67
67
|
},
|
|
68
68
|
signature: {
|
|
69
69
|
reSign: "Re Sign",
|
|
70
|
-
|
|
70
|
+
unsupported: "Sorry, the current browser doesn't support canvas, so we can't use this control!"
|
|
71
71
|
},
|
|
72
72
|
ecard: {
|
|
73
73
|
chooseText: "Select",
|
package/dist/locales/id-ID.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.0.0-alpha.
|
|
2
|
+
* @nutui/nutui-react-taro v2.0.0-alpha.16 Fri Jun 09 2023 18:38:57 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -67,7 +67,7 @@ const n = {
|
|
|
67
67
|
},
|
|
68
68
|
signature: {
|
|
69
69
|
reSign: "Masuk Kembali",
|
|
70
|
-
|
|
70
|
+
unsupported: "Maaf, browser Anda saat ini tidak mendukung Canvas, sehingga kita tidak dapat menggunakan kontrol ini!"
|
|
71
71
|
},
|
|
72
72
|
ecard: {
|
|
73
73
|
chooseText: "Pilih",
|
package/dist/locales/tr-TR.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.0.0-alpha.
|
|
2
|
+
* @nutui/nutui-react-taro v2.0.0-alpha.16 Fri Jun 09 2023 18:38:57 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -75,7 +75,7 @@ const i = {
|
|
|
75
75
|
},
|
|
76
76
|
signature: {
|
|
77
77
|
reSign: "Yeniden imzala",
|
|
78
|
-
|
|
78
|
+
unsupported: "Üzgünüz, mevcut tarayıcı Canvas'ı desteklemiyor ve bu kontrol kullanılamıyor!"
|
|
79
79
|
},
|
|
80
80
|
ecard: {
|
|
81
81
|
chooseText: "Lütfen eCard değerini seçin",
|
package/dist/locales/zh-CN.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.0.0-alpha.
|
|
2
|
+
* @nutui/nutui-react-taro v2.0.0-alpha.16 Fri Jun 09 2023 18:38:57 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -69,7 +69,7 @@ const a = {
|
|
|
69
69
|
},
|
|
70
70
|
signature: {
|
|
71
71
|
reSign: "重签",
|
|
72
|
-
|
|
72
|
+
unsupported: "对不起,当前浏览器不支持Canvas,无法使用本控件!"
|
|
73
73
|
},
|
|
74
74
|
ecard: {
|
|
75
75
|
chooseText: "请选择电子卡面值",
|
package/dist/locales/zh-TW.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.0.0-alpha.
|
|
2
|
+
* @nutui/nutui-react-taro v2.0.0-alpha.16 Fri Jun 09 2023 18:38:57 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -67,7 +67,7 @@ const a = {
|
|
|
67
67
|
},
|
|
68
68
|
signature: {
|
|
69
69
|
reSign: "重簽",
|
|
70
|
-
|
|
70
|
+
unsupported: "對不起,當前瀏覽器不支持Canvas,無法使用本控制項!"
|
|
71
71
|
},
|
|
72
72
|
ecard: {
|
|
73
73
|
chooseText: "請選擇電子卡面值",
|
package/dist/locales/zh-UG.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui-react-taro v2.0.0-alpha.
|
|
2
|
+
* @nutui/nutui-react-taro v2.0.0-alpha.16 Fri Jun 09 2023 18:38:57 GMT+0800 (China Standard Time)
|
|
3
3
|
* (c) 2023 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -67,7 +67,7 @@ const a = {
|
|
|
67
67
|
},
|
|
68
68
|
signature: {
|
|
69
69
|
reSign: "قايتا",
|
|
70
|
-
|
|
70
|
+
unsupported: "كەچۈرۈڭ، بۇ توركۆرگۈچ Canvas قوللىمايدىكەن"
|
|
71
71
|
},
|
|
72
72
|
ecard: {
|
|
73
73
|
chooseText: "قىممەتنى تاللاڭ",
|