@pisell/materials 2.2.81 → 2.2.82
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 +2 -2
- package/build/lowcode/preview.js +145 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +41 -31
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +37 -27
- package/es/components/batch-editor/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +7 -6
- package/es/components/date-picker/index.d.ts +1 -0
- package/es/components/iconfont/index.js +1 -1
- package/es/components/page/index.d.ts +1 -0
- package/es/components/pisellInput/index.d.ts +1 -0
- package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/index.d.ts +1 -0
- package/es/components/pisellToast/index.js +3 -0
- package/es/components/pisellWalletPassCard/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +61 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.js +44 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.less +20 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.js +55 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.js +43 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.less +28 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +7 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +53 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +8 -0
- package/es/components/productCard/cartSkuCard/index.js +195 -0
- package/es/components/productCard/cartSkuCard/index.less +69 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +93 -0
- package/es/components/{pisellVHFix/index.js → productCard/cartSkuCard/locales.js} +21 -30
- package/es/components/productCard/components/Packages/utils.d.ts +2 -2
- package/es/components/productCard/index.d.ts +3 -1
- package/es/components/productCard/index.js +2 -0
- package/es/components/productCard/utils.js +8 -6
- package/es/components/select-time/index.d.ts +1 -0
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/index.d.ts +1 -0
- package/es/components/table/Actions/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Table/SelectField/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +3 -2
- package/es/components/table/Table/fields/link/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/versionSelect/index.d.ts +1 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/batch-editor/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +7 -6
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/pisellInput/index.d.ts +1 -0
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/index.d.ts +1 -0
- package/lib/components/pisellToast/index.js +3 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +71 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
- package/lib/components/{pisellVHFix → productCard/cartSkuCard/components/holders}/index.js +19 -23
- package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.js +73 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.less +20 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.js +76 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.js +65 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.less +28 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +7 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +67 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +8 -0
- package/lib/components/productCard/cartSkuCard/index.js +216 -0
- package/lib/components/productCard/cartSkuCard/index.less +69 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +93 -0
- package/lib/components/productCard/cartSkuCard/locales.js +58 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
- package/lib/components/productCard/index.d.ts +3 -1
- package/lib/components/productCard/index.js +2 -0
- package/lib/components/productCard/utils.js +7 -6
- package/lib/components/select-time/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
- package/lib/components/table/Actions/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Table/SelectField/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +3 -2
- package/lib/components/table/Table/fields/link/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +8 -1
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
- package/package.json +1 -1
- package/es/components/appVersionControl/index.d.ts +0 -4
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/es/components/drag-sort-tree/index.d.ts +0 -4
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/media/index.d.ts +0 -18
- package/es/components/media/index.js +0 -340
- package/es/components/media/index.less +0 -100
- package/es/components/pisell-config-provider/index.d.ts +0 -12
- package/es/components/pisellAdjustPrice/index.d.ts +0 -9
- package/es/components/pisellEmpty/index.d.ts +0 -19
- package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +0 -8
- package/es/components/pisellVHFix/index.d.ts +0 -13
- package/es/components/pisellVHFix/index.less +0 -10
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
- package/es/components/productCard/components/Time/index.d.ts +0 -3
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/hooks/useTableSetting.d.ts +0 -22
- package/es/components/table/types.d.ts +0 -251
- package/es/components/versionModal/index.d.ts +0 -23
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -22
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/walletCard/index.d.ts +0 -67
- package/es/locales/en-US.d.ts +0 -278
- package/es/locales/zh-CN.d.ts +0 -273
- package/es/locales/zh-TW.d.ts +0 -273
- package/lib/components/appVersionControl/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/lib/components/drag-sort-tree/index.d.ts +0 -4
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/media/index.d.ts +0 -18
- package/lib/components/media/index.js +0 -265
- package/lib/components/media/index.less +0 -100
- package/lib/components/pisell-config-provider/index.d.ts +0 -12
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -9
- package/lib/components/pisellEmpty/index.d.ts +0 -19
- package/lib/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +0 -8
- package/lib/components/pisellVHFix/index.d.ts +0 -13
- package/lib/components/pisellVHFix/index.less +0 -10
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/index.d.ts +0 -3
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
- package/lib/components/table/types.d.ts +0 -251
- package/lib/components/versionModal/index.d.ts +0 -23
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -22
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/walletCard/index.d.ts +0 -67
- package/lib/locales/en-US.d.ts +0 -278
- package/lib/locales/zh-CN.d.ts +0 -273
- package/lib/locales/zh-TW.d.ts +0 -273
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
.pisell-media {
|
|
2
|
-
.pisell-media-current-files {
|
|
3
|
-
margin-top: 8px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-wrap: wrap;
|
|
6
|
-
gap: 8px;
|
|
7
|
-
|
|
8
|
-
.pisell-media-file-item {
|
|
9
|
-
position: relative;
|
|
10
|
-
border: 1px solid #d9d9d9;
|
|
11
|
-
border-radius: 6px;
|
|
12
|
-
padding: 4px;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
gap: 8px;
|
|
16
|
-
|
|
17
|
-
.pisell-media-file-actions {
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: 4px;
|
|
20
|
-
right: 4px;
|
|
21
|
-
opacity: 0;
|
|
22
|
-
transition: opacity 0.2s;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:hover .pisell-media-file-actions {
|
|
26
|
-
opacity: 1;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.pisell-media-modal {
|
|
32
|
-
.pisell-media-upload {
|
|
33
|
-
margin-bottom: 16px;
|
|
34
|
-
padding-bottom: 16px;
|
|
35
|
-
border-bottom: 1px solid #f0f0f0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.pisell-media-list {
|
|
39
|
-
display: grid;
|
|
40
|
-
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
|
41
|
-
gap: 12px;
|
|
42
|
-
max-height: 400px;
|
|
43
|
-
overflow-y: auto;
|
|
44
|
-
|
|
45
|
-
.pisell-media-item {
|
|
46
|
-
border: 2px solid transparent;
|
|
47
|
-
border-radius: 8px;
|
|
48
|
-
padding: 8px;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
background: #fafafa;
|
|
51
|
-
transition: all 0.2s;
|
|
52
|
-
display: flex;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
align-items: center;
|
|
55
|
-
text-align: center;
|
|
56
|
-
min-height: 120px;
|
|
57
|
-
|
|
58
|
-
&:hover {
|
|
59
|
-
border-color: #1890ff;
|
|
60
|
-
background: #f0f8ff;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.selected {
|
|
64
|
-
border-color: #1890ff;
|
|
65
|
-
background: #e6f7ff;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.pisell-media-item-info {
|
|
69
|
-
margin-top: 8px;
|
|
70
|
-
width: 100%;
|
|
71
|
-
|
|
72
|
-
.pisell-media-item-name {
|
|
73
|
-
font-size: 12px;
|
|
74
|
-
color: #333;
|
|
75
|
-
margin-bottom: 4px;
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
text-overflow: ellipsis;
|
|
78
|
-
white-space: nowrap;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.pisell-media-item-size {
|
|
82
|
-
font-size: 10px;
|
|
83
|
-
color: #999;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.pisell-media-selected {
|
|
90
|
-
margin-top: 16px;
|
|
91
|
-
padding: 8px 12px;
|
|
92
|
-
background: #f6ffed;
|
|
93
|
-
border: 1px solid #b7eb8f;
|
|
94
|
-
border-radius: 6px;
|
|
95
|
-
color: #52c41a;
|
|
96
|
-
font-size: 14px;
|
|
97
|
-
text-align: center;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from './context';
|
|
3
|
-
interface PisellConfigProviderType {
|
|
4
|
-
platform?: PisellContextType['platform'];
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
/** 货币符号 */
|
|
7
|
-
symbol?: string;
|
|
8
|
-
/** 当前语言环境 */
|
|
9
|
-
locale?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
|
|
12
|
-
export default PisellConfigProvider;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
export interface PisellAdjustPriceProps {
|
|
3
|
-
value?: number;
|
|
4
|
-
originValue: number;
|
|
5
|
-
defaultValue?: number;
|
|
6
|
-
onChange?: (val: number) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
|
|
9
|
-
export default PisellAdjustPrice;
|
|
@@ -1,19 +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
|
-
[key: string]: any;
|
|
15
|
-
/** 最大宽度 */
|
|
16
|
-
maxWidth?: number;
|
|
17
|
-
}
|
|
18
|
-
declare const PisellEmpty: (props: PisellEmptyProps) => JSX.Element;
|
|
19
|
-
export default PisellEmpty;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare type Peripherals = {
|
|
2
|
-
scanner: 'none' | 'connected' | 'disconnect';
|
|
3
|
-
nfc: 'none' | 'connected' | 'disconnect';
|
|
4
|
-
};
|
|
5
|
-
declare const useTerminalPeripherals: (onChange?: ((val: string) => void) | undefined) => {
|
|
6
|
-
peripheralsStatus: Peripherals;
|
|
7
|
-
};
|
|
8
|
-
export default useTerminalPeripherals;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellVHFixProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
height?: number;
|
|
8
|
-
minHeight?: boolean;
|
|
9
|
-
maxHeight?: boolean;
|
|
10
|
-
minusPixels?: number;
|
|
11
|
-
}
|
|
12
|
-
declare const PisellVHFix: React.FC<PisellVHFixProps>;
|
|
13
|
-
export default PisellVHFix;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
3
|
-
export default Time;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FilterType } from "../../filter/types";
|
|
2
|
-
import { ColumnSettingType, DataSourceGroupType, GallerySettingType, GridViewType, ModeType, SortType, ExportImportModeType } from "../types";
|
|
3
|
-
declare type UseTableSettingProps = {
|
|
4
|
-
tableId?: string;
|
|
5
|
-
filter: FilterType;
|
|
6
|
-
columns: Record<string, any>[];
|
|
7
|
-
columnSetting?: ColumnSettingType;
|
|
8
|
-
dataSourceGroup?: DataSourceGroupType;
|
|
9
|
-
sort?: SortType;
|
|
10
|
-
view: GridViewType;
|
|
11
|
-
currentViewMode: ModeType;
|
|
12
|
-
gallery?: GallerySettingType;
|
|
13
|
-
currentSettingHash: string;
|
|
14
|
-
exportImport?: ExportImportModeType;
|
|
15
|
-
};
|
|
16
|
-
declare const useTableSetting: (params: UseTableSettingProps) => {
|
|
17
|
-
setTableSetting: (values: Record<string, any>) => void;
|
|
18
|
-
tableSetting: {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default useTableSetting;
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import { FilterType } from "../filter/types";
|
|
2
|
-
import { SortItemProps } from "../sort/types";
|
|
3
|
-
import React from "react";
|
|
4
|
-
export declare type StorageMode = "" | "localStorage";
|
|
5
|
-
/**
|
|
6
|
-
* 排序总配置
|
|
7
|
-
*/
|
|
8
|
-
export declare type SortType = {
|
|
9
|
-
/** 排序是否展示 */
|
|
10
|
-
show: boolean;
|
|
11
|
-
/** 排序存储模式 */
|
|
12
|
-
storageMode: StorageMode;
|
|
13
|
-
list: SortItemProps[];
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* 列展示总配置
|
|
17
|
-
*/
|
|
18
|
-
export declare type ColumnSettingType = {
|
|
19
|
-
/** 列设置是否展示 */
|
|
20
|
-
show: boolean;
|
|
21
|
-
/** 列设置存储模式 */
|
|
22
|
-
storageMode: StorageMode;
|
|
23
|
-
};
|
|
24
|
-
declare type DataSourceListItemType = {
|
|
25
|
-
isCustom: boolean;
|
|
26
|
-
columnKey?: string;
|
|
27
|
-
label?: string;
|
|
28
|
-
name?: string | string[];
|
|
29
|
-
isHidden?: boolean;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* 数据源分组总配置
|
|
33
|
-
*/
|
|
34
|
-
export declare type DataSourceGroupType = {
|
|
35
|
-
/** 分组设置是否展示 */
|
|
36
|
-
show: boolean;
|
|
37
|
-
/** 分组设置存储模式 */
|
|
38
|
-
storageMode: StorageMode;
|
|
39
|
-
/** */
|
|
40
|
-
list: DataSourceListItemType[];
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Gallery封面总配置
|
|
44
|
-
*/
|
|
45
|
-
declare type GalleryCoverType = {
|
|
46
|
-
/** 封面是否展示 */
|
|
47
|
-
show: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* 封面图片可以使用的字段
|
|
50
|
-
*/
|
|
51
|
-
fields: string[];
|
|
52
|
-
/**
|
|
53
|
-
* 封面高度
|
|
54
|
-
*/
|
|
55
|
-
height: number;
|
|
56
|
-
/** 图片裁剪方式 */
|
|
57
|
-
objectFit: "fill" | "cover";
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Gallery标题总配置
|
|
61
|
-
*/
|
|
62
|
-
declare type GalleryTitleType = {
|
|
63
|
-
/** 标题使用的字段 */
|
|
64
|
-
field: string;
|
|
65
|
-
/** 标题行数 */
|
|
66
|
-
line: number;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Gallery头部区域总配置
|
|
70
|
-
*/
|
|
71
|
-
declare type GalleryHeaderType = {
|
|
72
|
-
/** 头部区域插槽 */
|
|
73
|
-
slot?: (record: Record<string, any>, index: number) => React.ReactNode;
|
|
74
|
-
/** 头部区域其他字段设置 */
|
|
75
|
-
fields: {
|
|
76
|
-
/** 头部区域其他字段是否展示 */
|
|
77
|
-
show: boolean;
|
|
78
|
-
/** 头部区域其他字段 */
|
|
79
|
-
list: string[];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Gallery内容区域总配置
|
|
84
|
-
*/
|
|
85
|
-
declare type GalleryContentType = {
|
|
86
|
-
/** 内容区域字段配置 */
|
|
87
|
-
fields: {
|
|
88
|
-
columnKey: string;
|
|
89
|
-
show: boolean;
|
|
90
|
-
}[];
|
|
91
|
-
};
|
|
92
|
-
export declare type GallerySettingValueType = {
|
|
93
|
-
coverField: string | "noCover";
|
|
94
|
-
coverObjectFit: "fill" | "cover";
|
|
95
|
-
compactMode: "default" | "compact";
|
|
96
|
-
isShowLabel: boolean;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* Gallery底部区域总配置
|
|
100
|
-
*/
|
|
101
|
-
declare type GalleryFooterType = {
|
|
102
|
-
/** 底部区域自定义渲染 */
|
|
103
|
-
render: (record: Record<string, any>, index: number) => React.ReactNode;
|
|
104
|
-
/** 底部区域高度 */
|
|
105
|
-
height: number;
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Gallery模式总配置
|
|
109
|
-
*/
|
|
110
|
-
export declare type GallerySettingType = {
|
|
111
|
-
/** 卡片最小宽度 */
|
|
112
|
-
cardMinWidth: number;
|
|
113
|
-
/** 卡片最大宽度 */
|
|
114
|
-
cardMaxWidth: number;
|
|
115
|
-
/** 水平间隔 */
|
|
116
|
-
horizontalGutter: number;
|
|
117
|
-
/** 垂直间隔 */
|
|
118
|
-
verticalGutter: number;
|
|
119
|
-
/** 封面配置 */
|
|
120
|
-
cover: GalleryCoverType;
|
|
121
|
-
/** 标题配置 */
|
|
122
|
-
title: GalleryTitleType;
|
|
123
|
-
/** 头部区域 */
|
|
124
|
-
header: GalleryHeaderType;
|
|
125
|
-
/** 内容区域 */
|
|
126
|
-
content: GalleryContentType;
|
|
127
|
-
/** 固定高度 */
|
|
128
|
-
fixedHeight: boolean;
|
|
129
|
-
/** 固定的卡片高度 */
|
|
130
|
-
cardHeight: number;
|
|
131
|
-
/** 固定顶部 */
|
|
132
|
-
fixedHeader: boolean;
|
|
133
|
-
/** 固定底部 */
|
|
134
|
-
fixedFooter: boolean;
|
|
135
|
-
/** 底部区域 */
|
|
136
|
-
footer: GalleryFooterType;
|
|
137
|
-
/** 卡片点击时间 */
|
|
138
|
-
onItem: (record: Record<string, any>, index: number) => void;
|
|
139
|
-
};
|
|
140
|
-
/** 视图模式 */
|
|
141
|
-
export declare type ModeType = "grid" | "gallery" | "kanban";
|
|
142
|
-
/**
|
|
143
|
-
* 视图模式总配置
|
|
144
|
-
*/
|
|
145
|
-
export declare type GridViewType = {
|
|
146
|
-
/** 默认视图模式 */
|
|
147
|
-
defaultViewMode: ModeType;
|
|
148
|
-
/** 开启多视图模式可进行页面内转换 */
|
|
149
|
-
multiple: boolean;
|
|
150
|
-
/** 当前可用的视图模式列表 */
|
|
151
|
-
modeList: ModeType[];
|
|
152
|
-
};
|
|
153
|
-
declare type SortDetail = {
|
|
154
|
-
fromIndex: number;
|
|
155
|
-
toIndex: number;
|
|
156
|
-
dataSource: Record<string, any>[];
|
|
157
|
-
fromId: number | string;
|
|
158
|
-
toId: number | string;
|
|
159
|
-
fromItem: Record<string, any>;
|
|
160
|
-
toItem: Record<string, any>;
|
|
161
|
-
};
|
|
162
|
-
/** 导入导出模式 */
|
|
163
|
-
export declare type ExportImportModeType = "import" | "export" | "export_file" | "import_log";
|
|
164
|
-
/**
|
|
165
|
-
* @title: 导出导入api
|
|
166
|
-
* @description:
|
|
167
|
-
* @return {*}
|
|
168
|
-
* @Author: WangHan
|
|
169
|
-
* @Date: 2024-09-11 15:44
|
|
170
|
-
*/
|
|
171
|
-
export declare type ApiProps = {
|
|
172
|
-
export?: string;
|
|
173
|
-
import?: string;
|
|
174
|
-
export_file: string;
|
|
175
|
-
import_log?: string;
|
|
176
|
-
template?: string;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* 导入导出配置
|
|
180
|
-
*/
|
|
181
|
-
export declare type ExportImportType = {
|
|
182
|
-
/** 是否展示 */
|
|
183
|
-
show: boolean;
|
|
184
|
-
/** 当前所选项 */
|
|
185
|
-
selectLists: string[];
|
|
186
|
-
/** 导入模版链接 */
|
|
187
|
-
templateFileUrl: string;
|
|
188
|
-
/** 标题 */
|
|
189
|
-
title: string;
|
|
190
|
-
hiddenKeys?: string[];
|
|
191
|
-
apiUrl?: ApiProps;
|
|
192
|
-
otherParams?: any;
|
|
193
|
-
};
|
|
194
|
-
export declare type GridViewProps = {
|
|
195
|
-
columns: any;
|
|
196
|
-
dataSource: any[];
|
|
197
|
-
dispatch: any;
|
|
198
|
-
/**
|
|
199
|
-
* 画册模式的配置
|
|
200
|
-
*/
|
|
201
|
-
gallery: GallerySettingType;
|
|
202
|
-
/**
|
|
203
|
-
* 视图设置
|
|
204
|
-
*/
|
|
205
|
-
view: GridViewType;
|
|
206
|
-
style: React.CSSProperties;
|
|
207
|
-
pagination: any;
|
|
208
|
-
filter: FilterType;
|
|
209
|
-
buttons: React.ReactNode | any[];
|
|
210
|
-
actionButtons: any;
|
|
211
|
-
sort: SortType;
|
|
212
|
-
title?: React.ReactNode | (() => React.ReactNode);
|
|
213
|
-
showTitle?: boolean;
|
|
214
|
-
subTitle?: React.ReactNode | (() => React.ReactNode);
|
|
215
|
-
showSubTitle?: boolean;
|
|
216
|
-
exportImport: ExportImportType;
|
|
217
|
-
onValuesChange: (changedValues: any, values: any) => void;
|
|
218
|
-
summary: any;
|
|
219
|
-
utils: any;
|
|
220
|
-
rowKey: ((record: Record<string, any>) => string) | string;
|
|
221
|
-
columnSetting?: ColumnSettingType;
|
|
222
|
-
dataSourceGroup?: DataSourceGroupType;
|
|
223
|
-
loading: boolean;
|
|
224
|
-
dragSort: boolean;
|
|
225
|
-
onSortChange?: (detail: SortDetail) => boolean;
|
|
226
|
-
__id?: string;
|
|
227
|
-
__designMode?: "design";
|
|
228
|
-
/**
|
|
229
|
-
* 当前本地配置的key 用此hash是否改变用来判断是否清空本地配置 不填默认使用columns数据生成hash
|
|
230
|
-
*/
|
|
231
|
-
currentSettingKey?: string;
|
|
232
|
-
/**
|
|
233
|
-
* 当前本地配置的唯一值, 不填默认使用currentSettingKey
|
|
234
|
-
*/
|
|
235
|
-
currentComponentId?: string;
|
|
236
|
-
/**
|
|
237
|
-
* 当前表格中数据发生变化事件 包含本地筛选和外部传入数据变化
|
|
238
|
-
* @param currentDataSource
|
|
239
|
-
*/
|
|
240
|
-
onDataSourceChange?: (currentDataSource: Record<string, any>[]) => void;
|
|
241
|
-
tabs: {
|
|
242
|
-
show: boolean;
|
|
243
|
-
type: 'default' | 'button' | 'buttonGroup' | 'dropdown';
|
|
244
|
-
items: {
|
|
245
|
-
name: string;
|
|
246
|
-
filterBy?: Record<string, any>;
|
|
247
|
-
sortBy?: string;
|
|
248
|
-
}[];
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Version } from '../versionSelect';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface PublishVersionModalProps {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
currentVersion: string;
|
|
7
|
-
onCancel: () => void;
|
|
8
|
-
onConfirm: (data: VersionData) => void;
|
|
9
|
-
isShowNote?: boolean;
|
|
10
|
-
confirmLoading?: boolean;
|
|
11
|
-
versions?: Version[];
|
|
12
|
-
isShowBasedOn?: boolean;
|
|
13
|
-
isShowCurrentVersion?: boolean;
|
|
14
|
-
isValidateVersion?: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface VersionData {
|
|
17
|
-
version: string;
|
|
18
|
-
note: string;
|
|
19
|
-
baseVersion?: string;
|
|
20
|
-
versionType?: string;
|
|
21
|
-
}
|
|
22
|
-
declare const PublishVersionModal: React.FC<PublishVersionModalProps>;
|
|
23
|
-
export default PublishVersionModal;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseNumberKeyboardProps } from '../BaseNumberKeyboard';
|
|
3
|
-
export interface AmountProps {
|
|
4
|
-
max?: number;
|
|
5
|
-
min?: number;
|
|
6
|
-
doneText?: string;
|
|
7
|
-
resetText?: string;
|
|
8
|
-
defaultValue?: string | number;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
amountProps?: {
|
|
11
|
-
showCurrencySymbol: boolean;
|
|
12
|
-
useThousandsSeparator: boolean;
|
|
13
|
-
};
|
|
14
|
-
presets?: BaseNumberKeyboardProps['presets'];
|
|
15
|
-
value?: string | number;
|
|
16
|
-
onChange?: (val: string | number) => void;
|
|
17
|
-
onEnter?: (val: string | number) => void;
|
|
18
|
-
defaultSelect?: boolean;
|
|
19
|
-
inputFormat?: (_v: string) => React.ReactNode | null;
|
|
20
|
-
}
|
|
21
|
-
declare const Amount: (props: AmountProps) => JSX.Element;
|
|
22
|
-
export default Amount;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ItemValue = string | number;
|
|
4
|
-
export interface Item {
|
|
5
|
-
value: ItemValue;
|
|
6
|
-
label: React.ReactNode;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
type: 'text' | 'primary';
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
size?: number;
|
|
11
|
-
}
|
|
12
|
-
export interface KeyboardProps {
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
onChange?: (value?: ItemValue) => void;
|
|
16
|
-
items?: Item[];
|
|
17
|
-
rightItems?: Item[];
|
|
18
|
-
keydown?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
|
|
21
|
-
export default _default;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare global {
|
|
4
|
-
namespace JSX {
|
|
5
|
-
interface IntrinsicElements {
|
|
6
|
-
[elemName: string]: any;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export interface WalletCardItem {
|
|
11
|
-
key: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
hidden?: boolean;
|
|
14
|
-
value?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface WalletCardProps {
|
|
17
|
-
/** 二维码弹窗适配平台 */
|
|
18
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
19
|
-
/** 卡片主题 */
|
|
20
|
-
mode?: 'dark' | 'light';
|
|
21
|
-
/** 默认还是完整显示code */
|
|
22
|
-
cardStyle?: 'normal' | 'full';
|
|
23
|
-
/** 条形码还是二维码 */
|
|
24
|
-
codeType?: 'barCode' | 'orCode';
|
|
25
|
-
/** 二维码方向 */
|
|
26
|
-
codeDirection?: 'bottom' | 'top';
|
|
27
|
-
/** 自定义背景图 */
|
|
28
|
-
customBackgroundImage?: string;
|
|
29
|
-
/** 图标:可以是React组件或图片URL */
|
|
30
|
-
showIcon?: boolean;
|
|
31
|
-
showWalletName?: boolean;
|
|
32
|
-
iconImg?: string;
|
|
33
|
-
/** 钱包名称 */
|
|
34
|
-
walletName?: string;
|
|
35
|
-
/** 店铺名称 */
|
|
36
|
-
shopName?: string;
|
|
37
|
-
/** 是否显示店铺名称 */
|
|
38
|
-
showShopName?: boolean;
|
|
39
|
-
/** 卡号 */
|
|
40
|
-
cardNo?: string;
|
|
41
|
-
/** 是否显示卡号 */
|
|
42
|
-
showCardNo?: boolean;
|
|
43
|
-
/** 是否显示二维码 */
|
|
44
|
-
showCode?: boolean;
|
|
45
|
-
/** 点击二维码/条形码的回调 */
|
|
46
|
-
onCodeClick?: () => void;
|
|
47
|
-
/** 货币符号 */
|
|
48
|
-
symbol: string;
|
|
49
|
-
/** 点击卡片的回调 */
|
|
50
|
-
onClick?: () => void;
|
|
51
|
-
/** 自定义类名 */
|
|
52
|
-
className?: string;
|
|
53
|
-
items: WalletCardItem[];
|
|
54
|
-
/** 自定义样式 */
|
|
55
|
-
style?: React.CSSProperties;
|
|
56
|
-
title?: string;
|
|
57
|
-
subTitle?: string;
|
|
58
|
-
align?: 'left' | 'center';
|
|
59
|
-
buttonText?: string;
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
/** 是否已登录 */
|
|
62
|
-
isLogin?: boolean;
|
|
63
|
-
/** 是否是引导页 */
|
|
64
|
-
isGuide?: boolean;
|
|
65
|
-
}
|
|
66
|
-
declare const WalletCard: React.FC<WalletCardProps>;
|
|
67
|
-
export default WalletCard;
|