@pisell/materials 3.2.1 → 3.2.2
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/package.json +1 -1
- package/es/components/appVersionControl/index.d.ts +0 -4
- package/es/components/buttonGroupEdit/index.d.ts +0 -8
- package/es/components/cardMetricItem/index.d.ts +0 -12
- package/es/components/customSelect/index.d.ts +0 -17
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -2
- package/es/components/dataSourceComponents/dataSourceForm/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.d.ts +0 -7
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +0 -10
- package/es/components/dataSourceComponents/dataSourceShow/utils.d.ts +0 -6
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -27
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -7
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.d.ts +0 -11
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.d.ts +0 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -97
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
- package/es/components/dataSourceComponents/dataSourceTable/index.d.ts +0 -6
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Checkbox/ReadPretty.d.ts +0 -8
- package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -7
- package/es/components/dataSourceComponents/fields/Checkbox/index.d.ts +0 -6
- package/es/components/dataSourceComponents/fields/ColorPicker/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/ColorPicker/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/DateRangePicker/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/DateRangePicker/index.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/IconSelect/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/IconSelect/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Input/index.d.ts +0 -22
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.d.ts +0 -6
- package/es/components/dataSourceComponents/fields/Input.Email/index.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Json/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -10
- package/es/components/dataSourceComponents/fields/Input.Mobile/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Input.Password/WithMode.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Phone/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -10
- package/es/components/dataSourceComponents/fields/Input.Phone/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.d.ts +0 -13
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +0 -12
- package/es/components/dataSourceComponents/fields/Input.TextArea/WithMode.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Input.Url/WithMode.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/InputNumber/WithMode.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/InputNumber/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/InputNumber/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Radio/ReadPretty.d.ts +0 -7
- package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -7
- package/es/components/dataSourceComponents/fields/Radio/index.d.ts +0 -6
- package/es/components/dataSourceComponents/fields/Select/ReadPretty.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Select/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -11
- package/es/components/dataSourceComponents/fields/TimePicker/WithMode.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/TimePicker/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Translation/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Translation/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Upload/WithMode.d.ts +0 -4
- package/es/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +0 -56
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
- package/es/components/dataSourceComponents/fields/index.d.ts +0 -102
- package/es/components/dataSourceComponents/fields/type.d.ts +0 -19
- package/es/components/dataSourceComponents/fields/utils.d.ts +0 -3
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/es/components/dataSourceComponents/hooks/useValueMap.d.ts +0 -8
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.d.ts +0 -8
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/date-picker/constants.d.ts +0 -39
- package/es/components/date-picker/datePickerCpt.d.ts +0 -8
- package/es/components/date-picker/index.d.ts +0 -3
- package/es/components/filter/components/Dropdown/index.d.ts +0 -9
- package/es/components/filter/components/FilterButton/index.d.ts +0 -4
- package/es/components/filter/components/FilterButton/types.d.ts +0 -13
- package/es/components/form/index.d.ts +0 -2
- package/es/components/iconSelect/index.d.ts +0 -10
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/page/index.d.ts +0 -5
- package/es/components/pisellAppCard/PisellAppCard.d.ts +0 -5
- package/es/components/pisellAppCard/index.d.ts +0 -3
- package/es/components/pisellAvatar/index.d.ts +0 -19
- package/es/components/pisellDropSort/PisellDropSort.d.ts +0 -5
- package/es/components/pisellDropSort/index.d.ts +0 -3
- package/es/components/pisellEmpty/index.d.ts +0 -18
- package/es/components/pisellModal/components/Information/index.d.ts +0 -21
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -9
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/es/components/pisellNavigationMenu/index.d.ts +0 -3
- package/es/components/pisellQRScanner/index.d.ts +0 -37
- package/es/components/pisellQrcode/index.d.ts +0 -10
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellViewGrid/index.d.ts +0 -16
- package/es/components/pisellWalletPassCard/index.d.ts +0 -55
- package/es/components/profileMenu/index.d.ts +0 -26
- package/es/components/record-view/index.d.ts +0 -37
- package/es/components/select/index.d.ts +0 -9
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Actions/index.d.ts +0 -18
- package/es/components/table/Gallery/index.d.ts +0 -5
- package/es/components/table/Header/index.d.ts +0 -11
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/Table/utils.d.ts +0 -161
- package/es/components/table/hooks/useTransDataSource.d.ts +0 -11
- package/es/components/table/hooks/useTriggerValuesChange.d.ts +0 -16
- package/es/components/table/index.d.ts +0 -4
- package/es/components/table/model.d.ts +0 -30
- package/es/components/table/types.d.ts +0 -251
- package/es/components/typography/index.d.ts +0 -2
- package/es/components/versionModal/index.d.ts +0 -23
- package/es/components/versionSelect/index.d.ts +0 -18
- package/es/components/walletCard/index.d.ts +0 -65
- package/es/hooks/useTranslationOriginal.d.ts +0 -2
- package/es/index.d.ts +0 -131
- package/es/locales/en-US.d.ts +0 -240
- package/es/locales/index.d.ts +0 -1
- package/es/locales/zh-CN.d.ts +0 -235
- package/es/locales/zh-TW.d.ts +0 -235
- package/es/utils/index.d.ts +0 -4
- package/lib/components/appVersionControl/index.d.ts +0 -4
- package/lib/components/buttonGroupEdit/index.d.ts +0 -8
- package/lib/components/cardMetricItem/index.d.ts +0 -12
- package/lib/components/customSelect/index.d.ts +0 -17
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -2
- package/lib/components/dataSourceComponents/dataSourceForm/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.d.ts +0 -7
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +0 -10
- package/lib/components/dataSourceComponents/dataSourceShow/utils.d.ts +0 -6
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -27
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -7
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.d.ts +0 -11
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -5
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.d.ts +0 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +0 -48
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -97
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
- package/lib/components/dataSourceComponents/dataSourceTable/index.d.ts +0 -6
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.d.ts +0 -8
- package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -7
- package/lib/components/dataSourceComponents/fields/Checkbox/index.d.ts +0 -6
- package/lib/components/dataSourceComponents/fields/ColorPicker/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/ColorPicker/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/DateRangePicker/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/DateRangePicker/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/IconSelect/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/IconSelect/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Input/index.d.ts +0 -22
- package/lib/components/dataSourceComponents/fields/Input.Email/WithMode.d.ts +0 -6
- package/lib/components/dataSourceComponents/fields/Input.Email/index.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Json/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -10
- package/lib/components/dataSourceComponents/fields/Input.Mobile/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Input.Password/WithMode.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -10
- package/lib/components/dataSourceComponents/fields/Input.Phone/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/WithMode.d.ts +0 -13
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +0 -12
- package/lib/components/dataSourceComponents/fields/Input.TextArea/WithMode.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Input.Url/WithMode.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/InputNumber/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Radio/ReadPretty.d.ts +0 -7
- package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -7
- package/lib/components/dataSourceComponents/fields/Radio/index.d.ts +0 -6
- package/lib/components/dataSourceComponents/fields/Select/ReadPretty.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Select/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -11
- package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/TimePicker/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Translation/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Translation/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Upload/WithMode.d.ts +0 -4
- package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +0 -56
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
- package/lib/components/dataSourceComponents/fields/index.d.ts +0 -102
- package/lib/components/dataSourceComponents/fields/type.d.ts +0 -19
- package/lib/components/dataSourceComponents/fields/utils.d.ts +0 -3
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/lib/components/dataSourceComponents/hooks/useValueMap.d.ts +0 -8
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.d.ts +0 -8
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/date-picker/constants.d.ts +0 -39
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -8
- package/lib/components/date-picker/index.d.ts +0 -3
- package/lib/components/filter/components/Dropdown/index.d.ts +0 -9
- package/lib/components/filter/components/FilterButton/index.d.ts +0 -4
- package/lib/components/filter/components/FilterButton/types.d.ts +0 -13
- package/lib/components/form/index.d.ts +0 -2
- package/lib/components/iconSelect/index.d.ts +0 -10
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/page/index.d.ts +0 -5
- package/lib/components/pisellAppCard/PisellAppCard.d.ts +0 -5
- package/lib/components/pisellAppCard/index.d.ts +0 -3
- package/lib/components/pisellAvatar/index.d.ts +0 -19
- package/lib/components/pisellDropSort/PisellDropSort.d.ts +0 -5
- package/lib/components/pisellDropSort/index.d.ts +0 -3
- package/lib/components/pisellEmpty/index.d.ts +0 -18
- package/lib/components/pisellModal/components/Information/index.d.ts +0 -21
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -9
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/lib/components/pisellNavigationMenu/index.d.ts +0 -3
- package/lib/components/pisellQRScanner/index.d.ts +0 -37
- package/lib/components/pisellQrcode/index.d.ts +0 -10
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellViewGrid/index.d.ts +0 -16
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -55
- package/lib/components/profileMenu/index.d.ts +0 -26
- package/lib/components/record-view/index.d.ts +0 -37
- package/lib/components/select/index.d.ts +0 -9
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Actions/index.d.ts +0 -18
- package/lib/components/table/Gallery/index.d.ts +0 -5
- package/lib/components/table/Header/index.d.ts +0 -11
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/Table/utils.d.ts +0 -161
- package/lib/components/table/hooks/useTransDataSource.d.ts +0 -11
- package/lib/components/table/hooks/useTriggerValuesChange.d.ts +0 -16
- package/lib/components/table/index.d.ts +0 -4
- package/lib/components/table/model.d.ts +0 -30
- package/lib/components/table/types.d.ts +0 -251
- package/lib/components/typography/index.d.ts +0 -2
- package/lib/components/versionModal/index.d.ts +0 -23
- package/lib/components/versionSelect/index.d.ts +0 -18
- package/lib/components/walletCard/index.d.ts +0 -65
- package/lib/hooks/useTranslationOriginal.d.ts +0 -2
- package/lib/index.d.ts +0 -131
- package/lib/locales/en-US.d.ts +0 -240
- package/lib/locales/index.d.ts +0 -1
- package/lib/locales/zh-CN.d.ts +0 -235
- package/lib/locales/zh-TW.d.ts +0 -235
- package/lib/utils/index.d.ts +0 -4
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { RcFile } from 'antd/es/upload';
|
|
2
|
-
export declare const filetypes: Record<string, any>;
|
|
3
|
-
/**
|
|
4
|
-
* @Title: 获取 阿里云 Signature
|
|
5
|
-
* @Describe:
|
|
6
|
-
* @Author: Wzw
|
|
7
|
-
*/
|
|
8
|
-
export declare const getPolicy: () => Promise<any>;
|
|
9
|
-
export declare const getPolicyFile: () => Promise<any>;
|
|
10
|
-
/**
|
|
11
|
-
* @Title: 获取图片尺寸
|
|
12
|
-
* @Describe:
|
|
13
|
-
* @Author: Wzw
|
|
14
|
-
* @param {*} async
|
|
15
|
-
*/
|
|
16
|
-
export declare const getImageWidth: (file: any) => Promise<{
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* @Title: 重新生成文件名
|
|
22
|
-
* @Describe:
|
|
23
|
-
* @Author: Wzw
|
|
24
|
-
* @param {string} file
|
|
25
|
-
*/
|
|
26
|
-
export declare const formatFileName: (file?: any) => Promise<string>;
|
|
27
|
-
export declare const uploadFileAli: (file: any) => Promise<any>;
|
|
28
|
-
/**
|
|
29
|
-
* @Title: base64转file
|
|
30
|
-
* @Describe:
|
|
31
|
-
* @Author: Wzw
|
|
32
|
-
* @param {any} dataurl
|
|
33
|
-
* @param {string} filename
|
|
34
|
-
*/
|
|
35
|
-
export declare const dataURLtoFile: (dataurl: any, filename: string) => File;
|
|
36
|
-
/**
|
|
37
|
-
* @Title: 获取视频封面
|
|
38
|
-
* @Describe:
|
|
39
|
-
* @Author: Wzw
|
|
40
|
-
* @param {any} file
|
|
41
|
-
*/
|
|
42
|
-
export declare const getVideoCover: (file: any) => Promise<unknown>;
|
|
43
|
-
/**
|
|
44
|
-
* @Title: 获取腾讯云 Signature
|
|
45
|
-
* @Describe:
|
|
46
|
-
* @Author: Wzw
|
|
47
|
-
*/
|
|
48
|
-
export declare const getSignature: () => Promise<any>;
|
|
49
|
-
/**
|
|
50
|
-
* @Title: 上传到腾讯云
|
|
51
|
-
* @Describe:
|
|
52
|
-
* @Author: Wzw
|
|
53
|
-
* @param {any} file
|
|
54
|
-
*/
|
|
55
|
-
export declare const uploadFileTencent: (file: any) => Promise<unknown>;
|
|
56
|
-
export declare const uploadFile: (file: RcFile) => Promise<any>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RcFile, UploadFile } from 'antd/es/upload/interface';
|
|
2
|
-
import type { MediaMetadata, FileCountValidation, ValidationResult, MultilingualFile, FileListOptions, UploadValue, SingleMultilingualValue } from './types';
|
|
3
|
-
export declare const generateUid: () => string;
|
|
4
|
-
export declare const getSuffix: (name: string) => string;
|
|
5
|
-
export declare const getPointSuffix: (name: string) => string;
|
|
6
|
-
export declare const getFileType: (name: string) => string;
|
|
7
|
-
export declare const getFileName: (url: string) => string;
|
|
8
|
-
export declare const checkFileCount: ({ multiple, minCount, maxCount, valueLength, }: FileCountValidation) => ValidationResult;
|
|
9
|
-
export declare const getMediaMetadata: (file: RcFile) => Promise<MediaMetadata | null>;
|
|
10
|
-
export declare const genFileListByString: (value: string) => UploadFile[];
|
|
11
|
-
export declare const createMultilingualData: (value: string) => SingleMultilingualValue;
|
|
12
|
-
export declare const createMultilingualFileList: (value: string) => Record<string, UploadFile<any>[]>;
|
|
13
|
-
export declare const getDefaultFileList: (value: UploadValue | undefined, options: FileListOptions) => MultilingualFile[];
|
|
14
|
-
export declare const getFileMetadataParams: (file: RcFile & {
|
|
15
|
-
metadata?: MediaMetadata;
|
|
16
|
-
}) => Record<string, any>;
|
|
17
|
-
export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
|
|
18
|
-
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const formFieldMap: {
|
|
3
|
-
FormItemCheckbox: import("react").FC<{}> & {
|
|
4
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
5
|
-
} & {
|
|
6
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
7
|
-
};
|
|
8
|
-
FormItemColorPicker: import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
9
|
-
FormItemDatePicker: import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
10
|
-
FormItemInput: import("react").FC<import("./Input/type").InputProps> & {
|
|
11
|
-
JSON: import("react").FC<any>;
|
|
12
|
-
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
13
|
-
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
14
|
-
URL: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
15
|
-
Email: import("react").FC<import("antd").InputProps & {
|
|
16
|
-
onChange: (value: string) => void;
|
|
17
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
18
|
-
Phone: import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
19
|
-
Mobile: import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
20
|
-
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
21
|
-
onChange: (value: string) => void;
|
|
22
|
-
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
23
|
-
rootDomain: "custom" | "xzero" | "saas";
|
|
24
|
-
customDomain?: string | undefined;
|
|
25
|
-
value?: string | undefined;
|
|
26
|
-
tenantId: string;
|
|
27
|
-
name?: string | undefined;
|
|
28
|
-
fieldKey?: string | undefined;
|
|
29
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
30
|
-
};
|
|
31
|
-
FormItemRadio: import("react").FC<{}> & {
|
|
32
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
33
|
-
} & {
|
|
34
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
35
|
-
};
|
|
36
|
-
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
|
-
options?: any;
|
|
38
|
-
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
39
|
-
labelField: string;
|
|
40
|
-
valueField: string;
|
|
41
|
-
extraParams?: Record<string, any> | undefined;
|
|
42
|
-
} & {
|
|
43
|
-
dataSource?: any;
|
|
44
|
-
}) => JSX.Element;
|
|
45
|
-
FormItemInputNumber: import("react").FC<any>;
|
|
46
|
-
FormItemPercent: import("react").FC<any>;
|
|
47
|
-
FormItemTimePicker: import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
48
|
-
'FormItemInput.JSON': import("react").FC<any>;
|
|
49
|
-
'FormItemInput.Phone': import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
50
|
-
'FormItemInput.Mobile': import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
51
|
-
'FormItemInput.Email': import("react").FC<import("antd").InputProps & {
|
|
52
|
-
onChange: (value: string) => void;
|
|
53
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
54
|
-
'FormItemInput.URL': import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
55
|
-
'FormItemInput.Password': import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
56
|
-
'FormItemRadio.Group': import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
57
|
-
'FormItemCheckbox.Group': import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
58
|
-
FormItemDateRangePicker: import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
59
|
-
FormItemUpload: import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
60
|
-
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
|
-
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
|
-
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
|
|
64
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
65
|
-
} & {
|
|
66
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
67
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
68
|
-
JSON: import("react").FC<any>;
|
|
69
|
-
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
70
|
-
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
71
|
-
URL: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
72
|
-
Email: import("react").FC<import("antd").InputProps & {
|
|
73
|
-
onChange: (value: string) => void;
|
|
74
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
75
|
-
Phone: import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
76
|
-
Mobile: import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
77
|
-
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
78
|
-
onChange: (value: string) => void;
|
|
79
|
-
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
80
|
-
rootDomain: "custom" | "xzero" | "saas";
|
|
81
|
-
customDomain?: string | undefined;
|
|
82
|
-
value?: string | undefined;
|
|
83
|
-
tenantId: string;
|
|
84
|
-
name?: string | undefined;
|
|
85
|
-
fieldKey?: string | undefined;
|
|
86
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
87
|
-
}) | (import("react").FC<{}> & {
|
|
88
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
89
|
-
} & {
|
|
90
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
91
|
-
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
92
|
-
options?: any;
|
|
93
|
-
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
94
|
-
labelField: string;
|
|
95
|
-
valueField: string;
|
|
96
|
-
extraParams?: Record<string, any> | undefined;
|
|
97
|
-
} & {
|
|
98
|
-
dataSource?: any;
|
|
99
|
-
}) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
100
|
-
onChange: (value: string) => void;
|
|
101
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
|
-
export { getFieldComponent, formFieldMap };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Field } from '../provider/dataSource/DataSourceContext';
|
|
2
|
-
import { formFieldMap } from './index';
|
|
3
|
-
export declare type FormFieldComponentType = keyof typeof formFieldMap;
|
|
4
|
-
export declare type FilterFunctionReturnType = {
|
|
5
|
-
$eq?: any;
|
|
6
|
-
$includes?: string;
|
|
7
|
-
$in?: (string | number)[];
|
|
8
|
-
$anyOf?: (string | number)[];
|
|
9
|
-
$isTruly?: boolean;
|
|
10
|
-
$isFalsy?: boolean;
|
|
11
|
-
$dateAfter?: string;
|
|
12
|
-
$dateBefore?: string;
|
|
13
|
-
$and?: Array<{
|
|
14
|
-
$dateAfter?: string;
|
|
15
|
-
$dateBefore?: string;
|
|
16
|
-
}>;
|
|
17
|
-
};
|
|
18
|
-
export declare type FilterFunction = (value: any, field: Field) => FilterFunctionReturnType | null;
|
|
19
|
-
export declare type FormFieldFilterFuncMapType = Record<FormFieldComponentType, FilterFunction>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DataSourceType } from '../provider/dataSource/DataSourceContext';
|
|
2
|
-
export interface UseActionsParams {
|
|
3
|
-
dataSource?: DataSourceType;
|
|
4
|
-
currentValue?: 'server' | 'local';
|
|
5
|
-
__designMode?: string;
|
|
6
|
-
extraParams?: Record<string, any>;
|
|
7
|
-
}
|
|
8
|
-
declare const useActions: ({ dataSource: propsDataSource, currentValue: propsCurrentValue, __designMode, extraParams: propsExtraParams, }?: UseActionsParams) => {
|
|
9
|
-
create: (values: Record<string, any>) => Promise<any>;
|
|
10
|
-
get: () => Promise<any>;
|
|
11
|
-
update: (values: Record<string, any>) => Promise<any>;
|
|
12
|
-
list: (params: {
|
|
13
|
-
page: number;
|
|
14
|
-
pageSize: number;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
destroy: (id: string) => Promise<any>;
|
|
17
|
-
};
|
|
18
|
-
export default useActions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataSourceContextProps } from './DataSourceContext';
|
|
3
|
-
/**
|
|
4
|
-
* @title: DataSource Provider
|
|
5
|
-
* @description: 提供页面配置的数据源,支持外部传入Promise接口、自动调用配置和直接数据
|
|
6
|
-
*/
|
|
7
|
-
declare const DataSourceProvider: React.FC<DataSourceContextProps>;
|
|
8
|
-
export default DataSourceProvider;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const presetDetailMap: {
|
|
3
|
-
today: {
|
|
4
|
-
getValue: () => dayjs.Dayjs;
|
|
5
|
-
label: () => any;
|
|
6
|
-
};
|
|
7
|
-
yesterday: {
|
|
8
|
-
getValue: () => dayjs.Dayjs;
|
|
9
|
-
label: () => any;
|
|
10
|
-
};
|
|
11
|
-
tomorrow: {
|
|
12
|
-
getValue: () => dayjs.Dayjs;
|
|
13
|
-
label: () => any;
|
|
14
|
-
};
|
|
15
|
-
next_monday: {
|
|
16
|
-
getValue: () => dayjs.Dayjs;
|
|
17
|
-
label: () => any;
|
|
18
|
-
};
|
|
19
|
-
last_friday: {
|
|
20
|
-
getValue: () => dayjs.Dayjs;
|
|
21
|
-
label: () => any;
|
|
22
|
-
};
|
|
23
|
-
first_day_of_this_month: {
|
|
24
|
-
getValue: () => dayjs.Dayjs;
|
|
25
|
-
label: () => any;
|
|
26
|
-
};
|
|
27
|
-
last_day_of_this_month: {
|
|
28
|
-
getValue: () => dayjs.Dayjs;
|
|
29
|
-
label: () => any;
|
|
30
|
-
};
|
|
31
|
-
first_day_of_next_month: {
|
|
32
|
-
getValue: () => dayjs.Dayjs;
|
|
33
|
-
label: () => any;
|
|
34
|
-
};
|
|
35
|
-
last_day_of_last_month: {
|
|
36
|
-
getValue: () => dayjs.Dayjs;
|
|
37
|
-
label: () => any;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface DatePickerCptProps extends PickerDateProps<Dayjs> {
|
|
5
|
-
showTime: any;
|
|
6
|
-
}
|
|
7
|
-
declare const DatePickerCpt: (props: DatePickerCptProps) => JSX.Element;
|
|
8
|
-
export default DatePickerCpt;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
import { DropdownProps } from './types';
|
|
4
|
-
declare const Dropdown: React.FC<DropdownProps & {
|
|
5
|
-
onOpen: () => void;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
renderItem?: (item: any, otherProps?: any) => React.ReactNode;
|
|
8
|
-
}>;
|
|
9
|
-
export default Dropdown;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FilterItemProps } from "../../types";
|
|
3
|
-
export declare type FilterValueType = {
|
|
4
|
-
quickFilter: FilterItemProps[];
|
|
5
|
-
otherFilter: FilterItemProps[];
|
|
6
|
-
};
|
|
7
|
-
export declare type FilterListProps = {
|
|
8
|
-
value?: FilterValueType;
|
|
9
|
-
onChange?: (value: FilterValueType) => void;
|
|
10
|
-
quickFilterMaxLength: number;
|
|
11
|
-
formFiltersPrefix: string;
|
|
12
|
-
renderItem?: (item: any, otherProps?: any) => React.ReactNode;
|
|
13
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface IconSelectProps {
|
|
4
|
-
value?: string;
|
|
5
|
-
onChange?: (value: string) => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
defaultValue?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const IconSelect: React.FC<IconSelectProps>;
|
|
10
|
-
export default IconSelect;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* loginAndRegister组件的属性接口
|
|
5
|
-
*/
|
|
6
|
-
export interface loginAndRegisterProps {
|
|
7
|
-
/** Logo相关配置 */
|
|
8
|
-
showLogo?: boolean;
|
|
9
|
-
logo?: string;
|
|
10
|
-
logoPosition?: 'left' | 'center' | 'right';
|
|
11
|
-
logoSize?: {
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
};
|
|
15
|
-
/** 标题相关配置 */
|
|
16
|
-
title?: string;
|
|
17
|
-
showTitle?: boolean;
|
|
18
|
-
titleAlign?: 'left' | 'center' | 'right';
|
|
19
|
-
/** 副标题相关配置 */
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
showSubtitle?: boolean;
|
|
22
|
-
subtitleAlign?: 'left' | 'center' | 'right';
|
|
23
|
-
/** 登录方式配置 */
|
|
24
|
-
loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
|
|
25
|
-
defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
|
|
26
|
-
/** 表单配置 */
|
|
27
|
-
emailLabel?: string;
|
|
28
|
-
passwordLabel?: string;
|
|
29
|
-
emailPlaceholder?: string;
|
|
30
|
-
passwordPlaceholder?: string;
|
|
31
|
-
emailRules?: any[];
|
|
32
|
-
buttonText?: string;
|
|
33
|
-
rememberMeText?: string;
|
|
34
|
-
forgotPasswordText?: string;
|
|
35
|
-
showRememberMe?: boolean;
|
|
36
|
-
showForgotPassword?: boolean;
|
|
37
|
-
/** 社交登录配置 */
|
|
38
|
-
socialLoginTexts?: {
|
|
39
|
-
google?: string;
|
|
40
|
-
facebook?: string;
|
|
41
|
-
apple?: string;
|
|
42
|
-
};
|
|
43
|
-
/** 底部配置 */
|
|
44
|
-
showFooter?: boolean;
|
|
45
|
-
showSignUp?: boolean;
|
|
46
|
-
signUpText?: string;
|
|
47
|
-
signUpLink?: string;
|
|
48
|
-
signUpPosition?: 'left' | 'center' | 'right';
|
|
49
|
-
otherLinks?: Array<{
|
|
50
|
-
text: string;
|
|
51
|
-
url: string;
|
|
52
|
-
}>;
|
|
53
|
-
otherLinksPosition?: 'left' | 'center' | 'right';
|
|
54
|
-
/** 登录/注册切换配置 */
|
|
55
|
-
showTabs?: boolean;
|
|
56
|
-
loginTabText?: string;
|
|
57
|
-
registerTabText?: string;
|
|
58
|
-
/** 注册表单配置 */
|
|
59
|
-
registerEmailPlaceholder?: string;
|
|
60
|
-
registerPasswordPlaceholder?: string;
|
|
61
|
-
registerButtonText?: string;
|
|
62
|
-
/** 事件回调 */
|
|
63
|
-
onLogin?: (values: {
|
|
64
|
-
email: string;
|
|
65
|
-
loginMethod: string;
|
|
66
|
-
}) => void;
|
|
67
|
-
onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
|
|
68
|
-
onSignUp?: () => void;
|
|
69
|
-
onRegister?: (values: {
|
|
70
|
-
email: string;
|
|
71
|
-
password: string;
|
|
72
|
-
}) => void;
|
|
73
|
-
/** 新增背景图片属性 */
|
|
74
|
-
backgroundImage?: string;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Saas登录组件
|
|
78
|
-
* @param props - 组件属性
|
|
79
|
-
* @returns React组件
|
|
80
|
-
*/
|
|
81
|
-
declare const loginAndRegister: React.FC<loginAndRegisterProps>;
|
|
82
|
-
export default loginAndRegister;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { AvatarProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
5
|
-
export interface PisellAvatarProps extends Omit<AvatarProps, 'size' | 'shape'> {
|
|
6
|
-
shape?: 'circle' | 'square';
|
|
7
|
-
size?: AvatarSize;
|
|
8
|
-
src?: string;
|
|
9
|
-
alt?: string;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
useTextAvatar?: boolean;
|
|
15
|
-
borderRadius?: number;
|
|
16
|
-
onError?: () => boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const PisellAvatar: React.FC<PisellAvatarProps>;
|
|
19
|
-
export default PisellAvatar;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EmptyProps } from 'antd';
|
|
3
|
-
import { PisellContextType } from "../pisell-config-provider/context";
|
|
4
|
-
import './index.less';
|
|
5
|
-
export interface PisellEmptyProps extends EmptyProps {
|
|
6
|
-
/** 平台 */
|
|
7
|
-
platform?: PisellContextType['platform'];
|
|
8
|
-
/** 额外内容描述 */
|
|
9
|
-
extraDescription?: React.ReactNode;
|
|
10
|
-
/** 额外内容描述 */
|
|
11
|
-
icon?: React.ReactNode;
|
|
12
|
-
/** 自定义底部额外操作区域 */
|
|
13
|
-
footer?: React.ReactNode;
|
|
14
|
-
/** 最大宽度 */
|
|
15
|
-
maxWidth?: number;
|
|
16
|
-
}
|
|
17
|
-
declare const PisellEmpty: (props: PisellEmptyProps) => JSX.Element;
|
|
18
|
-
export default PisellEmpty;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellModalProps } from '../../index';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface InformationProps extends PisellModalProps {
|
|
5
|
-
/** 标题 */
|
|
6
|
-
title: string;
|
|
7
|
-
/** 描述 */
|
|
8
|
-
describe: string;
|
|
9
|
-
/** 取消按钮是否展示 */
|
|
10
|
-
cancelVisible?: boolean;
|
|
11
|
-
/** 确认按钮是否展示 */
|
|
12
|
-
okVisible?: boolean;
|
|
13
|
-
/** 确认按钮文字 */
|
|
14
|
-
okText: React.ReactNode;
|
|
15
|
-
/** 取消按钮文字 */
|
|
16
|
-
cancelText: React.ReactNode;
|
|
17
|
-
/** 右上角关闭按钮是否展示 */
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const Information: (props: InformationProps) => JSX.Element;
|
|
21
|
-
export default Information;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PcModalProps } from '../PcModal';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface MobileModalProps extends PcModalProps {
|
|
5
|
-
/** 移动端展示时弹窗高度 默认null 在移动端全屏 */
|
|
6
|
-
mobileModalHeight?: string | number;
|
|
7
|
-
}
|
|
8
|
-
declare const MobileModal: (props: MobileModalProps) => JSX.Element;
|
|
9
|
-
export default MobileModal;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
import type { DetailedHTMLProps, HTMLAttributes, VideoHTMLAttributes, InputHTMLAttributes } from 'react';
|
|
4
|
-
declare type ExtendedDetailedHTMLProps<T extends HTMLAttributes<E>, E extends HTMLElement> = DetailedHTMLProps<T, E> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
div: ExtendedDetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
11
|
-
video: DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
|
|
12
|
-
input: DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export interface PisellQRScannerProps {
|
|
17
|
-
/** 是否可见 */
|
|
18
|
-
visible: boolean;
|
|
19
|
-
/** 是否显示上传图片按钮 */
|
|
20
|
-
showUpload?: boolean;
|
|
21
|
-
/** 关闭回调 */
|
|
22
|
-
onClose: () => void;
|
|
23
|
-
/** 扫码成功回调 */
|
|
24
|
-
onScan: (value: string) => void;
|
|
25
|
-
/**
|
|
26
|
-
* 样式属性,可选
|
|
27
|
-
* 注意: 不应传入renderMode等不必要属性
|
|
28
|
-
*/
|
|
29
|
-
style?: React.CSSProperties;
|
|
30
|
-
/** 类名,可选 */
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* 二维码扫描组件
|
|
35
|
-
*/
|
|
36
|
-
declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
|
|
37
|
-
export default PisellQRScanner;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellQrcodeProps {
|
|
4
|
-
size?: number;
|
|
5
|
-
platform: 'pc' | 'h5' | 'ipad';
|
|
6
|
-
value: string;
|
|
7
|
-
className: string;
|
|
8
|
-
}
|
|
9
|
-
declare const PisellQrcode: React.FC<PisellQrcodeProps>;
|
|
10
|
-
export default PisellQrcode;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../../../pisell-config-provider/context';
|
|
3
|
-
export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
4
|
-
/** 平台 */
|
|
5
|
-
platform?: PisellContextType['platform'];
|
|
6
|
-
/** 当前数值 */
|
|
7
|
-
value?: number | string;
|
|
8
|
-
/** 小数点后位数 默认是小数点后2位 */
|
|
9
|
-
precision?: number;
|
|
10
|
-
/** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
|
|
11
|
-
showCurrencySymbol?: boolean;
|
|
12
|
-
/** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
|
|
13
|
-
useThousandsSeparator?: boolean;
|
|
14
|
-
/** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
|
|
15
|
-
hideDecimalForWholeNumbers?: boolean;
|
|
16
|
-
/** 货币符号 */
|
|
17
|
-
symbol?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const Amount: (props: AmountProps) => JSX.Element;
|
|
20
|
-
export default Amount;
|