@pisell/materials 3.3.86 → 3.3.88
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/index.js +1 -1
- package/build/lowcode/meta.js +4 -4
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +25 -25
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +15 -15
- package/es/components/PisellLayouts/index.d.ts +0 -1
- package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
- package/es/components/PisellProcedure/index.d.ts +5 -0
- package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/index.js +274 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/index.less +19 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +544 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/schema-simple-example.json +174 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
- package/es/components/dataSourceComponents/dataSourceSubForm/types.js +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.js +61 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +176 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.js +11 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/type.js +1 -0
- package/es/components/dataSourceComponents/fields/Tabs/ReadPretty.d.ts +9 -0
- package/es/components/dataSourceComponents/fields/Tabs/ReadPretty.js +16 -0
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.js +93 -0
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.less +64 -0
- package/es/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
- package/es/components/dataSourceComponents/fields/Tabs/WithMode.js +9 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +12 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.js +18 -0
- package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
- package/es/components/dataSourceComponents/fields/Tabs/type.js +1 -0
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +40 -2
- package/es/components/dataSourceComponents/fields/index.js +5 -1
- package/es/components/dataSourceComponents/fields/utils.js +3 -0
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/PisellLookup.js +8 -1
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellWalletPassCard/index.js +1 -1
- package/es/components/productCard/components/Packages/utils.d.ts +2 -2
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/index.d.ts +4 -0
- package/es/index.js +3 -0
- package/lib/components/PisellLayouts/index.d.ts +0 -1
- package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
- package/lib/components/PisellProcedure/index.d.ts +5 -0
- package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +229 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.less +19 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +544 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/schema-simple-example.json +174 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
- package/lib/components/dataSourceComponents/dataSourceSubForm/types.js +17 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.js +64 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +157 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.js +40 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/Tabs/ReadPretty.d.ts +9 -0
- package/lib/components/dataSourceComponents/fields/Tabs/ReadPretty.js +45 -0
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.js +95 -0
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.less +64 -0
- package/lib/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
- package/lib/components/dataSourceComponents/fields/Tabs/WithMode.js +39 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +12 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.js +40 -0
- package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
- package/lib/components/dataSourceComponents/fields/Tabs/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +40 -2
- package/lib/components/dataSourceComponents/fields/index.js +5 -1
- package/lib/components/dataSourceComponents/fields/utils.js +3 -0
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/PisellLookup.js +5 -1
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellWalletPassCard/index.js +9 -2
- package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
- package/lib/components/table/Table/fields/select/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.js +9 -0
- package/lowcode/auto-resize-text/meta.ts +9 -9
- package/lowcode/data-source-form/constants.ts +3 -0
- package/lowcode/data-source-form/utils.ts +31 -5
- package/lowcode/data-source-sub-form/meta.ts +259 -0
- package/lowcode/data-source-sub-form/snippets.ts +21 -0
- package/lowcode/form-item-record-list-wrapper/meta.ts +180 -0
- package/lowcode/form-item-record-list-wrapper/snippets.ts +18 -0
- package/lowcode/form-item-tabs/meta.ts +172 -0
- package/package.json +1 -1
- package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +0 -5
- package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +0 -27
- package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +0 -5
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +0 -15
- package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +0 -18
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
- package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +0 -19
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
- package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +0 -17
- package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
- package/es/components/PisellCards/components/TextCard/components/index.d.ts +0 -6
- package/es/components/PisellCards/components/TextCard/index.d.ts +0 -5
- package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
- package/es/components/PisellCards/index.d.ts +0 -15
- package/es/components/config-provider/index.d.ts +0 -10
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
- package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +0 -9
- package/es/components/drag-sort-tree/index.d.ts +0 -5
- package/es/components/filter/components/Dropdown/types.d.ts +0 -13
- package/es/components/filter/components/FilterButton/types.d.ts +0 -24
- package/es/components/filter/types.d.ts +0 -48
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
- package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/es/components/pisellFilter/type.d.ts +0 -5
- package/es/components/pisellGridPro/index.d.ts +0 -4
- package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/es/components/pisellPhone/components/EditView.d.ts +0 -19
- package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
- package/es/components/pisellPhone/types.d.ts +0 -209
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/es/components/pisellQuickFilter/type.d.ts +0 -12
- package/es/components/pisellRating/PisellRating.d.ts +0 -31
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/es/components/table/types.d.ts +0 -268
- package/es/components/translation/index.d.ts +0 -17
- package/es/components/translation/utils.d.ts +0 -9
- package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +0 -5
- package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +0 -27
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +0 -5
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +0 -15
- package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +0 -18
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
- package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +0 -19
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
- package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +0 -17
- package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
- package/lib/components/PisellCards/components/TextCard/components/index.d.ts +0 -6
- package/lib/components/PisellCards/components/TextCard/index.d.ts +0 -5
- package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
- package/lib/components/PisellCards/index.d.ts +0 -15
- package/lib/components/config-provider/index.d.ts +0 -10
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
- package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +0 -9
- package/lib/components/drag-sort-tree/index.d.ts +0 -5
- package/lib/components/filter/components/Dropdown/types.d.ts +0 -13
- package/lib/components/filter/components/FilterButton/types.d.ts +0 -24
- package/lib/components/filter/types.d.ts +0 -48
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
- package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/lib/components/pisellFilter/type.d.ts +0 -5
- package/lib/components/pisellGridPro/index.d.ts +0 -4
- package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
- package/lib/components/pisellPhone/types.d.ts +0 -209
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/lib/components/pisellQuickFilter/type.d.ts +0 -12
- package/lib/components/pisellRating/PisellRating.d.ts +0 -31
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -19
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/lib/components/table/types.d.ts +0 -268
- package/lib/components/translation/index.d.ts +0 -17
- package/lib/components/translation/utils.d.ts +0 -9
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ColumnType } from 'antd/es/table';
|
|
3
|
-
import { LocalSettingsType } from '../../table/types';
|
|
4
|
-
import { DataSourceType } from '../provider/dataSource/DataSourceContext';
|
|
5
|
-
export declare type OperationItem = {
|
|
6
|
-
label?: string;
|
|
7
|
-
openMode: 'modal' | 'drawer' | 'custom';
|
|
8
|
-
openContentSize: 'small' | 'middle' | 'large';
|
|
9
|
-
openTitle: string;
|
|
10
|
-
actionType: 'detail' | 'edit' | 'delete' | 'custom';
|
|
11
|
-
key: string;
|
|
12
|
-
buttonProps?: any;
|
|
13
|
-
onClick?: (record: any) => void;
|
|
14
|
-
afterClose?: () => void;
|
|
15
|
-
};
|
|
16
|
-
export interface DataSourceTableProps {
|
|
17
|
-
__id?: string;
|
|
18
|
-
currentComponentId?: string;
|
|
19
|
-
currentSettingKey?: string;
|
|
20
|
-
title?: string | React.ReactNode | (() => React.ReactNode);
|
|
21
|
-
subTitle?: string | React.ReactNode | (() => React.ReactNode);
|
|
22
|
-
titleButtons?: {
|
|
23
|
-
show: boolean;
|
|
24
|
-
maxCount: number;
|
|
25
|
-
items: OperationItem[];
|
|
26
|
-
};
|
|
27
|
-
tableButtons?: {
|
|
28
|
-
show: boolean;
|
|
29
|
-
maxCount: number;
|
|
30
|
-
items: OperationItem[];
|
|
31
|
-
};
|
|
32
|
-
buttons?: any[];
|
|
33
|
-
operation?: {
|
|
34
|
-
show: boolean;
|
|
35
|
-
title: string;
|
|
36
|
-
width: number;
|
|
37
|
-
align: 'left' | 'center' | 'right';
|
|
38
|
-
fixed: 'left' | 'right' | false;
|
|
39
|
-
type: 'link' | 'button';
|
|
40
|
-
items: OperationItem[];
|
|
41
|
-
};
|
|
42
|
-
operationContent?: {
|
|
43
|
-
[key: string]: React.ReactNode;
|
|
44
|
-
};
|
|
45
|
-
dataSource: DataSourceType;
|
|
46
|
-
columns: ColumnType<any>[];
|
|
47
|
-
filter: any;
|
|
48
|
-
search?: {
|
|
49
|
-
show: boolean;
|
|
50
|
-
placeholder: string;
|
|
51
|
-
};
|
|
52
|
-
__designMode: string;
|
|
53
|
-
componentId: string;
|
|
54
|
-
clickToDetail?: {
|
|
55
|
-
show: boolean;
|
|
56
|
-
useCustomAction: boolean;
|
|
57
|
-
actionType: string;
|
|
58
|
-
openMode: 'modal' | 'drawer';
|
|
59
|
-
openContentSize: 'small' | 'middle' | 'large';
|
|
60
|
-
openTitle: string;
|
|
61
|
-
key: string;
|
|
62
|
-
};
|
|
63
|
-
onRow?: any;
|
|
64
|
-
filterBy?: Record<string, any>;
|
|
65
|
-
sortBy: string;
|
|
66
|
-
tabs?: {
|
|
67
|
-
show: boolean;
|
|
68
|
-
type: string;
|
|
69
|
-
items: {
|
|
70
|
-
name: string;
|
|
71
|
-
filterBy: Record<string, any>;
|
|
72
|
-
sortBy: string;
|
|
73
|
-
}[];
|
|
74
|
-
};
|
|
75
|
-
onValuesChange?: (changedValues: any, values: any) => void;
|
|
76
|
-
extraParams?: {
|
|
77
|
-
list?: Record<string, any>;
|
|
78
|
-
get?: Record<string, any>;
|
|
79
|
-
update?: Record<string, any>;
|
|
80
|
-
create?: Record<string, any>;
|
|
81
|
-
destroy?: Record<string, any>;
|
|
82
|
-
};
|
|
83
|
-
localSettings?: LocalSettingsType;
|
|
84
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取nocobase数据列表
|
|
3
|
-
*/
|
|
4
|
-
export declare const getCountryDataList: () => Promise<any>;
|
|
5
|
-
export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
|
|
6
|
-
export interface Country {
|
|
7
|
-
id: number;
|
|
8
|
-
name: {
|
|
9
|
-
en: string;
|
|
10
|
-
'zh-CN': string;
|
|
11
|
-
'zh-HK': string;
|
|
12
|
-
'ja': string;
|
|
13
|
-
'pt': string;
|
|
14
|
-
original: string;
|
|
15
|
-
};
|
|
16
|
-
code: string;
|
|
17
|
-
calling_code: string;
|
|
18
|
-
currency_code: string;
|
|
19
|
-
sort: number;
|
|
20
|
-
status: string;
|
|
21
|
-
created_at: string;
|
|
22
|
-
updated_at: string;
|
|
23
|
-
prefix: string;
|
|
24
|
-
}
|
|
25
|
-
export declare const useCountries: () => {
|
|
26
|
-
data: Country[];
|
|
27
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const SUPPORTED_LANGUAGES: readonly ["original", "en", "zh-CN", "zh-HK", "ja", "pt"];
|
|
2
|
-
export declare const DEFAULT_MAX_COUNT = 9;
|
|
3
|
-
export declare const DEFAULT_UID = "-1";
|
|
4
|
-
export declare const MEDIA_TYPES: {
|
|
5
|
-
readonly VIDEO: "video/";
|
|
6
|
-
readonly AUDIO: "audio/";
|
|
7
|
-
};
|
|
8
|
-
export declare const IMAGE_QUALITY = 0.8;
|
|
9
|
-
export declare const IMAGE_TYPE = "image/jpeg";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FilterItemProps } from '../../types';
|
|
2
|
-
export interface DropdownProps {
|
|
3
|
-
quickFilter: FilterItemProps[];
|
|
4
|
-
otherFilter: FilterItemProps[];
|
|
5
|
-
hiddenQuickFilter?: boolean;
|
|
6
|
-
hiddenOtherFilter?: boolean;
|
|
7
|
-
onChange: (list: {
|
|
8
|
-
quickFilter: FilterItemProps[];
|
|
9
|
-
otherFilter: FilterItemProps[];
|
|
10
|
-
}) => void;
|
|
11
|
-
quickFilterMaxLength: number;
|
|
12
|
-
formFiltersPrefix: string;
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FilterItemProps } from '../../types';
|
|
3
|
-
export declare type FilterValueType = {
|
|
4
|
-
quickFilter: FilterItemProps[];
|
|
5
|
-
otherFilter: FilterItemProps[];
|
|
6
|
-
/** 筛选项表单值,字段名 -> 值,与 Form 的 values 一致 */
|
|
7
|
-
values?: Record<string, any>;
|
|
8
|
-
};
|
|
9
|
-
export declare type FilterListProps = {
|
|
10
|
-
value?: FilterValueType;
|
|
11
|
-
hiddenQuickFilter?: boolean;
|
|
12
|
-
hiddenOtherFilter?: boolean;
|
|
13
|
-
onChange?: (value: FilterValueType) => void;
|
|
14
|
-
quickFilterMaxLength: number;
|
|
15
|
-
formFiltersPrefix: string;
|
|
16
|
-
renderItem?: (item: any, otherProps?: any) => React.ReactNode;
|
|
17
|
-
placement?: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
18
|
-
/** 筛选按钮尺寸,与 antd Button size 一致 */
|
|
19
|
-
size?: 'small' | 'middle' | 'large';
|
|
20
|
-
/** 筛选触发按钮的 className,用于定制样式(如与设计系统对齐) */
|
|
21
|
-
buttonClassName?: string;
|
|
22
|
-
/** 筛选按钮文案,不传则使用 materials 内置多语言 */
|
|
23
|
-
buttonText?: string;
|
|
24
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ModeType } from "../table/types";
|
|
2
|
-
/**
|
|
3
|
-
* 筛选总配置
|
|
4
|
-
*/
|
|
5
|
-
export declare type FilterType = {
|
|
6
|
-
/** 筛选是否展示 */
|
|
7
|
-
show: boolean;
|
|
8
|
-
/** 筛选项排序按钮是否展示 */
|
|
9
|
-
sortButtonShow: boolean;
|
|
10
|
-
/** 筛选列表 */
|
|
11
|
-
list: FilterItemProps[];
|
|
12
|
-
items?: string[];
|
|
13
|
-
/** 快速筛选最大长度 */
|
|
14
|
-
quickFilterMaxLength: number;
|
|
15
|
-
/** 配置存储模式 */
|
|
16
|
-
storageMode: "" | "localStorage";
|
|
17
|
-
/** 筛选列表项dom */
|
|
18
|
-
dom?: any;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* 筛选列表项配置
|
|
22
|
-
* - type 为 single/input/rangePicker 等时使用内置或映射组件
|
|
23
|
-
* - type 为 "custom" 时使用 other.component,组件接收 value/onChange(由 Form 注入)
|
|
24
|
-
*/
|
|
25
|
-
export declare type FilterItemProps = {
|
|
26
|
-
type: "single" | "input" | "datePicker" | "rangePicker" | "rangePickerNew" | "search" | "custom";
|
|
27
|
-
name?: string | string[];
|
|
28
|
-
key: string;
|
|
29
|
-
props?: object;
|
|
30
|
-
label?: string;
|
|
31
|
-
sort?: boolean;
|
|
32
|
-
localFilter?: boolean;
|
|
33
|
-
other: Record<string, any>;
|
|
34
|
-
isCustom?: boolean;
|
|
35
|
-
columnKey?: string;
|
|
36
|
-
isHidden?: boolean;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* 筛选组件属性
|
|
40
|
-
*/
|
|
41
|
-
export interface FilterProps {
|
|
42
|
-
filter: FilterType;
|
|
43
|
-
isRenderFormContent: boolean;
|
|
44
|
-
onValuesChange?: () => void;
|
|
45
|
-
tableId?: string;
|
|
46
|
-
viewMode?: ModeType;
|
|
47
|
-
isMobile?: boolean;
|
|
48
|
-
}
|
|
@@ -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,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellCurrencyProps } from './types';
|
|
3
|
-
import './PisellCurrency.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellCurrency 货币组件
|
|
6
|
-
*
|
|
7
|
-
* 基于 PisellNumber 派生,专门处理货币数据。
|
|
8
|
-
* 默认启用千分位和2位小数,符合财务规范。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 受控模式
|
|
14
|
-
* const [price, setPrice] = useState(0);
|
|
15
|
-
* <PisellCurrency
|
|
16
|
-
* value={price}
|
|
17
|
-
* onChange={setPrice}
|
|
18
|
-
* currencySymbol="¥"
|
|
19
|
-
* />
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 非受控模式
|
|
23
|
-
* <PisellCurrency
|
|
24
|
-
* defaultValue={100}
|
|
25
|
-
* currencySymbol="$"
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* // 只读态
|
|
30
|
-
* <PisellCurrency
|
|
31
|
-
* mode="read"
|
|
32
|
-
* value={1234.56}
|
|
33
|
-
* currencySymbol="¥"
|
|
34
|
-
* />
|
|
35
|
-
* // 显示: ¥1,234.56
|
|
36
|
-
*/
|
|
37
|
-
export declare const PisellCurrency: React.FC<PisellCurrencyProps>;
|
|
38
|
-
declare const MemoizedPisellCurrency: React.NamedExoticComponent<PisellCurrencyProps>;
|
|
39
|
-
export default MemoizedPisellCurrency;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
export declare type RelativeDay = 'today' | 'yesterday' | 'tomorrow';
|
|
3
|
-
/**
|
|
4
|
-
* 判断日期相对于参考日期是今天、昨天还是明天
|
|
5
|
-
*
|
|
6
|
-
* @param date 要展示的日期
|
|
7
|
-
* @param reference 参考日期(通常为「当前」dayjs())
|
|
8
|
-
* @returns 'today' | 'yesterday' | 'tomorrow' | null
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* getRelativeDay(dayjs(), dayjs()) // => 'today'
|
|
12
|
-
* getRelativeDay(dayjs().add(1,'day'), dayjs()) // => 'tomorrow'
|
|
13
|
-
* getRelativeDay(dayjs().subtract(1,'day'), dayjs()) // => 'yesterday'
|
|
14
|
-
*/
|
|
15
|
-
export declare function getRelativeDay(date: Dayjs, reference: Dayjs): RelativeDay | null;
|
|
16
|
-
/**
|
|
17
|
-
* 根据 locale 返回相对日期的展示文案
|
|
18
|
-
* 未传 locale 时使用 getDayjsLocale()(与 locales.getLocale 同源)
|
|
19
|
-
*
|
|
20
|
-
* @param day 'today' | 'yesterday' | 'tomorrow'
|
|
21
|
-
* @param locale dayjs locale,如 'zh-cn'、'en'
|
|
22
|
-
* @returns 如 '今天'、'Today'
|
|
23
|
-
*/
|
|
24
|
-
export declare function getRelativeDayLabel(day: RelativeDay, locale?: string): string;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellEmailProps } from './types';
|
|
3
|
-
import './PisellEmail.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellEmail 邮箱地址组件
|
|
6
|
-
*
|
|
7
|
-
* 邮箱地址输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design AutoComplete 和 Input 组件开发,提供邮箱格式校验、域名智能补全、
|
|
9
|
-
* mailto 邮件发送和域名隐藏功能。
|
|
10
|
-
*
|
|
11
|
-
* @param props 组件 Props
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* // 编辑态(邮箱输入)
|
|
15
|
-
* <PisellEmail
|
|
16
|
-
* placeholder="请输入邮箱地址"
|
|
17
|
-
* required
|
|
18
|
-
* />
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // 只读态(可发邮件)
|
|
22
|
-
* <PisellEmail
|
|
23
|
-
* mode="read"
|
|
24
|
-
* value="user@example.com"
|
|
25
|
-
* enableMailto
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* // 域名补全
|
|
30
|
-
* <PisellEmail
|
|
31
|
-
* enableAutoComplete
|
|
32
|
-
* autoCompleteDomains={['gmail.com', 'company.com']}
|
|
33
|
-
* />
|
|
34
|
-
*/
|
|
35
|
-
export declare const PisellEmail: React.FC<PisellEmailProps>;
|
|
36
|
-
declare const _default: React.NamedExoticComponent<PisellEmailProps>;
|
|
37
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellLongTextProps } from './types';
|
|
3
|
-
import './PisellLongText.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellLongText 长文本/多行文本组件
|
|
6
|
-
*
|
|
7
|
-
* 多行文本输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design TextArea 组件开发,提供展开/折叠功能和完整的校验框架。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 编辑态
|
|
14
|
-
* <PisellLongText
|
|
15
|
-
* placeholder="请输入内容"
|
|
16
|
-
* rows={3}
|
|
17
|
-
* maxLength={500}
|
|
18
|
-
* showCount
|
|
19
|
-
* />
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 只读态(展开折叠)
|
|
23
|
-
* <PisellLongText
|
|
24
|
-
* mode="read"
|
|
25
|
-
* value={longText}
|
|
26
|
-
* maxLines={3}
|
|
27
|
-
* enableExpand
|
|
28
|
-
* />
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // 自动高度
|
|
32
|
-
* <PisellLongText
|
|
33
|
-
* autoSize={{ minRows: 3, maxRows: 10 }}
|
|
34
|
-
* placeholder="自动调整高度"
|
|
35
|
-
* />
|
|
36
|
-
*/
|
|
37
|
-
export declare const PisellLongText: React.FC<PisellLongTextProps>;
|
|
38
|
-
declare const _default: React.NamedExoticComponent<PisellLongTextProps>;
|
|
39
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMultipleSelect - 多选下拉组件
|
|
3
|
-
* 基于 Ant Design Select 封装,提供符合 Pisell 设计规范的多选功能
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { PisellMultipleSelectProps, MultipleSelectRef } from './types';
|
|
7
|
-
import './PisellMultipleSelect.less';
|
|
8
|
-
declare const PisellMultipleSelect: React.ForwardRefExoticComponent<PisellMultipleSelectProps<string | number> & React.RefAttributes<MultipleSelectRef<string | number>>>;
|
|
9
|
-
export default PisellMultipleSelect;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMultipleSelect - EditView (编辑态视图)
|
|
3
|
-
* 正常可编辑状态下的渲染
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { EditViewProps } from '../types';
|
|
7
|
-
declare const EditView: React.ForwardRefExoticComponent<EditViewProps<string | number> & React.RefAttributes<any>>;
|
|
8
|
-
export default EditView;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellNumberProps } from './types';
|
|
3
|
-
import './PisellNumber.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellNumber 数值组件
|
|
6
|
-
*
|
|
7
|
-
* 通用的数值输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design InputNumber 组件开发,提供完整的校验框架。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 受控模式
|
|
14
|
-
* const [value, setValue] = useState(0);
|
|
15
|
-
* <PisellNumber
|
|
16
|
-
* value={value}
|
|
17
|
-
* onChange={setValue}
|
|
18
|
-
* min={0}
|
|
19
|
-
* max={100}
|
|
20
|
-
* />
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* // 非受控模式
|
|
24
|
-
* <PisellNumber
|
|
25
|
-
* defaultValue={10}
|
|
26
|
-
* min={0}
|
|
27
|
-
* max={999}
|
|
28
|
-
* step={10}
|
|
29
|
-
* />
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* // 只读态
|
|
33
|
-
* <PisellNumber
|
|
34
|
-
* mode="read"
|
|
35
|
-
* value={1234.567}
|
|
36
|
-
* precision={2}
|
|
37
|
-
* useGrouping
|
|
38
|
-
* />
|
|
39
|
-
*/
|
|
40
|
-
export declare const PisellNumber: React.FC<PisellNumberProps>;
|
|
41
|
-
declare const MemoizedPisellNumber: React.NamedExoticComponent<PisellNumberProps>;
|
|
42
|
-
export default MemoizedPisellNumber;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellPhoneProps } from './types';
|
|
3
|
-
import './PisellPhone.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellPhone 电话号码组件
|
|
6
|
-
*
|
|
7
|
-
* 电话号码输入/展示组件,支持只读、编辑、禁用三种状态。
|
|
8
|
-
* 基于 Ant Design Input 和 Select 组件开发,提供国家码选择、自动格式化、格式校验和拨号功能。
|
|
9
|
-
*
|
|
10
|
-
* @param props 组件 Props
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 编辑态(中国手机号)
|
|
14
|
-
* <PisellPhone
|
|
15
|
-
* placeholder="请输入手机号"
|
|
16
|
-
* required
|
|
17
|
-
* />
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // 只读态(可拨号)
|
|
21
|
-
* <PisellPhone
|
|
22
|
-
* mode="read"
|
|
23
|
-
* value="13800000000"
|
|
24
|
-
* countryCode="+86"
|
|
25
|
-
* />
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* // 国家码选择
|
|
29
|
-
* <PisellPhone
|
|
30
|
-
* showCountrySelector
|
|
31
|
-
* availableCountryCodes={['+86', '+1', '+44']}
|
|
32
|
-
* />
|
|
33
|
-
*/
|
|
34
|
-
export declare const PisellPhone: React.FC<PisellPhoneProps>;
|
|
35
|
-
declare const _default: React.NamedExoticComponent<PisellPhoneProps>;
|
|
36
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellPhoneProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* PisellPhone 编辑态视图组件
|
|
5
|
-
*
|
|
6
|
-
* 负责渲染编辑态的电话号码输入,包含国家码选择器和号码输入框
|
|
7
|
-
*
|
|
8
|
-
* 功能:
|
|
9
|
-
* - 国家码选择器(下拉,支持搜索)
|
|
10
|
-
* - 电话号码输入(只保留数字)
|
|
11
|
-
* - 自动格式化(根据国家码)
|
|
12
|
-
* - 动态设置最大长度(根据国家码)
|
|
13
|
-
* - 实时或失焦校验
|
|
14
|
-
* - 错误提示展示
|
|
15
|
-
*
|
|
16
|
-
* @param props 组件 Props
|
|
17
|
-
*/
|
|
18
|
-
declare const EditView: React.FC<PisellPhoneProps>;
|
|
19
|
-
export default EditView;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { CountryCode } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* 预设的国家码列表(24个常见国家)
|
|
4
|
-
*
|
|
5
|
-
* 包含:
|
|
6
|
-
* - 亚洲:中国、香港、澳门、台湾、日本、韩国、新加坡、马来西亚、泰国、印度
|
|
7
|
-
* - 欧洲:英国、法国、德国、意大利、西班牙、俄罗斯
|
|
8
|
-
* - 美洲:美国、加拿大、墨西哥、巴西
|
|
9
|
-
* - 大洋洲:澳大利亚、新西兰
|
|
10
|
-
* - 中东:阿联酋、沙特阿拉伯
|
|
11
|
-
*/
|
|
12
|
-
export declare const PRESET_COUNTRY_CODES: CountryCode[];
|
|
13
|
-
/**
|
|
14
|
-
* 默认国家码
|
|
15
|
-
*/
|
|
16
|
-
export declare const DEFAULT_COUNTRY_CODE = "+86";
|
|
17
|
-
/**
|
|
18
|
-
* 常用国家码(可作为默认的 commonCountryCodes)
|
|
19
|
-
*/
|
|
20
|
-
export declare const COMMON_COUNTRY_CODES: string[];
|