@pisell/materials 6.2.36 → 6.3.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/index.js +1 -1
- package/build/lowcode/meta.js +3 -3
- package/build/lowcode/preview.js +164 -148
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +39 -25
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +39 -25
- 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/useDrawerState.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +11 -10
- package/es/components/date-picker/index.d.ts +1 -0
- package/es/components/filter/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/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/es/components/pisellCardList/index.js +3 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
- package/es/components/pisellCheckboxGroup/index.js +15 -1
- package/es/components/pisellGoodPassCard/index.d.ts +0 -1
- package/es/components/pisellGoodPassCard/index.js +5 -17
- 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 +0 -3
- package/es/components/pisellWalletPassCard/index.d.ts +1 -0
- package/es/components/productCard/components/Action/index.js +1 -14
- package/es/components/productCard/components/Action/index.less +0 -3
- package/es/components/productCard/components/Header/index.js +8 -23
- package/es/components/productCard/components/Header/index.less +1 -16
- package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/es/components/productCard/components/Sales/index.js +2 -2
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -3
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +0 -3
- package/es/components/productCard/index.d.ts +1 -3
- package/es/components/productCard/index.js +2 -5
- package/es/components/productCard/index.less +0 -6
- package/es/components/productCard/locales.js +0 -3
- 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/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/text/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/versionSelect/index.d.ts +1 -0
- package/es/components/virtual-keyboard/index.d.ts +0 -11
- package/es/components/virtual-keyboard/index.js +3 -88
- package/es/components/virtual-keyboard/index.less +1 -33
- package/es/components/walletCard/Guide/index.js +12 -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/useDrawerState.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +11 -10
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/filter/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/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/lib/components/pisellCardList/index.js +3 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
- package/lib/components/pisellCheckboxGroup/index.js +16 -0
- package/lib/components/pisellGoodPassCard/index.d.ts +0 -1
- package/lib/components/pisellGoodPassCard/index.js +4 -31
- 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 +0 -3
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
- package/lib/components/productCard/components/Action/index.js +0 -9
- package/lib/components/productCard/components/Action/index.less +0 -3
- package/lib/components/productCard/components/Header/index.js +11 -21
- package/lib/components/productCard/components/Header/index.less +1 -16
- package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/lib/components/productCard/components/Sales/index.js +2 -2
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +0 -3
- package/lib/components/productCard/index.d.ts +1 -3
- package/lib/components/productCard/index.js +2 -6
- package/lib/components/productCard/index.less +0 -6
- package/lib/components/productCard/locales.js +3 -12
- 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/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/text/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/index.d.ts +0 -11
- package/lib/components/virtual-keyboard/index.js +2 -60
- package/lib/components/virtual-keyboard/index.less +1 -33
- package/lib/components/walletCard/Guide/index.js +11 -1
- package/lowcode/_setters/antd-icon-setter/index.tsx +2 -3
- package/lowcode/virtual-keyboard/meta.ts +0 -131
- package/package.json +4 -6
- package/dist/umd/materials.min.css +0 -1
- package/dist/umd/materials.min.js +0 -1
- package/dist/umd/static/DotsSix.57d66266.svg +0 -1
- package/dist/umd/static/arrow-left.e542294f.svg +0 -1
- package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
- package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
- package/dist/umd/static/help-circle.31c9be40.svg +0 -1
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/pisellAdjustPrice/type.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +0 -76
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +0 -75
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +0 -82
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +0 -31
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +0 -56
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/Note/index.js +0 -29
- package/es/components/productCard/cartSkuCard/components/Note/index.less +0 -27
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +0 -93
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -117
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/es/components/productCard/cartSkuCard/components/discountReason/index.js +0 -51
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/holders/index.js +0 -32
- package/es/components/productCard/cartSkuCard/components/holders/index.less +0 -32
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/components/packages/index.js +0 -52
- package/es/components/productCard/cartSkuCard/components/packages/index.less +0 -22
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/packages/utils.js +0 -40
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/resources/index.js +0 -39
- package/es/components/productCard/cartSkuCard/components/resources/index.less +0 -19
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/sales/index.js +0 -57
- package/es/components/productCard/cartSkuCard/components/sales/index.less +0 -22
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/specs/index.js +0 -44
- package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -34
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +0 -292
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +0 -35
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +0 -54
- package/es/components/productCard/cartSkuCard/components/timeRange/index.less +0 -38
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/index.js +0 -203
- package/es/components/productCard/cartSkuCard/index.less +0 -33
- package/es/components/productCard/cartSkuCard/locales.d.ts +0 -96
- package/es/components/productCard/cartSkuCard/locales.js +0 -30
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/es/components/walletCard/Guide/index.d.ts +0 -3
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +0 -80
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +0 -75
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +0 -71
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +0 -31
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +0 -77
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/Note/index.js +0 -56
- package/lib/components/productCard/cartSkuCard/components/Note/index.less +0 -27
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +0 -82
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -117
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +0 -70
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/holders/index.js +0 -52
- package/lib/components/productCard/cartSkuCard/components/holders/index.less +0 -32
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/components/packages/index.js +0 -73
- package/lib/components/productCard/cartSkuCard/components/packages/index.less +0 -22
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/packages/utils.js +0 -44
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/resources/index.js +0 -71
- package/lib/components/productCard/cartSkuCard/components/resources/index.less +0 -19
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/sales/index.js +0 -77
- package/lib/components/productCard/cartSkuCard/components/sales/index.less +0 -22
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/specs/index.js +0 -66
- package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -34
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +0 -339
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +0 -35
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +0 -68
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +0 -38
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/index.js +0 -239
- package/lib/components/productCard/cartSkuCard/index.less +0 -33
- package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -96
- package/lib/components/productCard/cartSkuCard/locales.js +0 -61
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/lib/components/walletCard/Guide/index.d.ts +0 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const fieldMaps: {
|
|
2
3
|
text: {
|
|
3
4
|
field: {
|
|
@@ -197,12 +198,12 @@ export declare const fieldList: ({
|
|
|
197
198
|
field_icon: string;
|
|
198
199
|
field_name: string;
|
|
199
200
|
field_type: string;
|
|
200
|
-
default_value:
|
|
201
|
+
default_value: string;
|
|
201
202
|
} | {
|
|
202
203
|
field_icon: string;
|
|
203
204
|
field_name: string;
|
|
204
205
|
field_type: string;
|
|
205
|
-
default_value:
|
|
206
|
+
default_value: boolean;
|
|
206
207
|
} | {
|
|
207
208
|
field_icon: string;
|
|
208
209
|
field_name: string;
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("
|
|
158
|
+
}) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
|
@@ -9,17 +9,6 @@ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
onChange?: (value?: any) => void;
|
|
11
11
|
value?: string;
|
|
12
|
-
selectType?: 'light' | 'dark';
|
|
13
|
-
backgroundColor?: string;
|
|
14
|
-
containerBackgroundColor?: string;
|
|
15
|
-
buttonBackgroundColor?: string;
|
|
16
|
-
textColor?: string;
|
|
17
|
-
keyboardBackgroundColor?: string;
|
|
18
|
-
keyboardButtonBackgroundColor?: string;
|
|
19
|
-
keyboardButtonTextColor?: string;
|
|
20
|
-
keyboardButtonHoverColor?: string;
|
|
21
|
-
primaryButtonBackgroundColor?: string;
|
|
22
|
-
primaryButtonTextColor?: string;
|
|
23
12
|
}
|
|
24
13
|
declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
|
|
25
14
|
export default VirtualKeyboard;
|
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["virtualKeyInputProps", "style", "className", "keyboardProps", "onChange", "value", "rightPanel", "selectType"];
|
|
3
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
-
|
|
5
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
14
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
-
import React, { useEffect, useMemo } from "react";
|
|
2
|
+
import React, { useEffect } from "react";
|
|
18
3
|
import Keyboard from "./Keyboard";
|
|
19
4
|
import VirtualKeyInput from "./VirtualKeyInput";
|
|
20
5
|
import "./index.less";
|
|
21
6
|
import classNames from "classnames";
|
|
22
|
-
import { setTheme } from '@pisell/utils';
|
|
23
|
-
import usePisellConfig from "../pisell-config-provider/hooks/usePisellConfig";
|
|
24
7
|
var items = [{
|
|
25
8
|
value: 1,
|
|
26
9
|
label: "1",
|
|
@@ -77,33 +60,6 @@ var items = [{
|
|
|
77
60
|
disabled: false,
|
|
78
61
|
type: "primary"
|
|
79
62
|
}];
|
|
80
|
-
// 默认主题配置
|
|
81
|
-
var virtualKeyboardThemeConfig = {
|
|
82
|
-
dark: {
|
|
83
|
-
backgroundColor: 'rgba(0, 0, 0, 0.70)',
|
|
84
|
-
containerBackgroundColor: 'rgba(0, 0, 0, 0.40)',
|
|
85
|
-
buttonBackgroundColor: '#ffffff',
|
|
86
|
-
textColor: '#000000',
|
|
87
|
-
keyboardBackgroundColor: 'rgba(0, 0, 0, 0.40)',
|
|
88
|
-
keyboardButtonBackgroundColor: '#ffffff',
|
|
89
|
-
keyboardButtonTextColor: '#000000',
|
|
90
|
-
keyboardButtonHoverColor: '#f5f5f5',
|
|
91
|
-
primaryButtonBackgroundColor: '#4ca30d',
|
|
92
|
-
primaryButtonTextColor: '#ffffff'
|
|
93
|
-
},
|
|
94
|
-
light: {
|
|
95
|
-
backgroundColor: '#ffffff',
|
|
96
|
-
containerBackgroundColor: '#d0d5dd',
|
|
97
|
-
buttonBackgroundColor: '#ffffff',
|
|
98
|
-
textColor: '#000000',
|
|
99
|
-
keyboardBackgroundColor: '#f9f9f9',
|
|
100
|
-
keyboardButtonBackgroundColor: '#ffffff',
|
|
101
|
-
keyboardButtonTextColor: '#000000',
|
|
102
|
-
keyboardButtonHoverColor: '#f5f5f5',
|
|
103
|
-
primaryButtonBackgroundColor: '#4ca30d',
|
|
104
|
-
primaryButtonTextColor: '#ffffff'
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
63
|
var VirtualKeyboard = function VirtualKeyboard(props) {
|
|
108
64
|
var virtualKeyInputProps = props.virtualKeyInputProps,
|
|
109
65
|
style = props.style,
|
|
@@ -111,53 +67,12 @@ var VirtualKeyboard = function VirtualKeyboard(props) {
|
|
|
111
67
|
keyboardProps = props.keyboardProps,
|
|
112
68
|
onChange = props.onChange,
|
|
113
69
|
value = props.value,
|
|
114
|
-
rightPanel = props.rightPanel
|
|
115
|
-
_props$selectType = props.selectType,
|
|
116
|
-
selectType = _props$selectType === void 0 ? 'light' : _props$selectType,
|
|
117
|
-
others = _objectWithoutProperties(props, _excluded);
|
|
118
|
-
var config = usePisellConfig();
|
|
70
|
+
rightPanel = props.rightPanel;
|
|
119
71
|
useEffect(function () {
|
|
120
72
|
document.body.id = "body";
|
|
121
73
|
}, []);
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* 配置颜色
|
|
125
|
-
* 根据 props 和 selectType 生成最终的配置颜色
|
|
126
|
-
*/
|
|
127
|
-
var configColor = useMemo(function () {
|
|
128
|
-
var currentConfig = virtualKeyboardThemeConfig[selectType];
|
|
129
|
-
|
|
130
|
-
// 过滤出有效的 props 并合并到默认配置中
|
|
131
|
-
var validProps = Object.entries(props).reduce(function (acc, _ref) {
|
|
132
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
|
133
|
-
key = _ref2[0],
|
|
134
|
-
value = _ref2[1];
|
|
135
|
-
if (value !== undefined && key in currentConfig) {
|
|
136
|
-
acc[key] = value;
|
|
137
|
-
}
|
|
138
|
-
return acc;
|
|
139
|
-
}, {});
|
|
140
|
-
return _objectSpread(_objectSpread({}, currentConfig), validProps);
|
|
141
|
-
}, [selectType, props]);
|
|
142
|
-
useEffect(function () {
|
|
143
|
-
setTheme({
|
|
144
|
-
'--virtual-keyboard-background-color': configColor.backgroundColor,
|
|
145
|
-
'--virtual-keyboard-container-background-color': configColor.containerBackgroundColor,
|
|
146
|
-
'--virtual-keyboard-button-background-color': configColor.buttonBackgroundColor,
|
|
147
|
-
'--virtual-keyboard-text-color': configColor.textColor,
|
|
148
|
-
'--virtual-keyboard-keyboard-background-color': configColor.keyboardBackgroundColor,
|
|
149
|
-
'--virtual-keyboard-keyboard-button-background-color': configColor.keyboardButtonBackgroundColor,
|
|
150
|
-
'--virtual-keyboard-keyboard-button-text-color': configColor.keyboardButtonTextColor,
|
|
151
|
-
'--virtual-keyboard-keyboard-button-hover-color': configColor.keyboardButtonHoverColor,
|
|
152
|
-
'--virtual-keyboard-primary-button-background-color': configColor.primaryButtonBackgroundColor,
|
|
153
|
-
'--virtual-keyboard-primary-button-text-color': configColor.primaryButtonTextColor
|
|
154
|
-
});
|
|
155
|
-
}, [configColor]);
|
|
156
74
|
return /*#__PURE__*/React.createElement("div", {
|
|
157
|
-
className: classNames("virtual-keyboard-component", className,
|
|
158
|
-
'virtual-keyboard-component-dark': selectType === 'dark',
|
|
159
|
-
'virtual-keyboard-component-light': selectType === 'light'
|
|
160
|
-
}),
|
|
75
|
+
className: classNames("virtual-keyboard-component", className),
|
|
161
76
|
style: style
|
|
162
77
|
}, /*#__PURE__*/React.createElement("div", {
|
|
163
78
|
className: classNames("virtual-keyboard-component-left")
|
|
@@ -2,46 +2,14 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 20px;
|
|
5
|
-
background-color: var(--virtual-keyboard-background-color, #ffffff);
|
|
6
|
-
|
|
7
|
-
&.virtual-keyboard-component-dark {
|
|
8
|
-
background-color: var(--virtual-keyboard-background-color, rgba(0, 0, 0, 0.70));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&.virtual-keyboard-component-light {
|
|
12
|
-
background-color: var(--virtual-keyboard-background-color, #ffffff);
|
|
13
|
-
}
|
|
14
5
|
}
|
|
15
6
|
|
|
16
7
|
.virtual-keyboard-component-left {
|
|
17
8
|
padding: 10px;
|
|
18
9
|
width: 380px;
|
|
19
10
|
border-radius: 10px;
|
|
20
|
-
background: var(--
|
|
11
|
+
background: var(--Gray-300, #D0D5DD);
|
|
21
12
|
backdrop-filter: blur(50px);
|
|
22
|
-
|
|
23
|
-
.pisell-virtual-keyboard-input {
|
|
24
|
-
background-color: var(--virtual-keyboard-button-background-color, #ffffff);
|
|
25
|
-
color: var(--virtual-keyboard-text-color, #000000);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.pisell-keyboard {
|
|
29
|
-
background-color: var(--virtual-keyboard-keyboard-background-color, #f9f9f9);
|
|
30
|
-
|
|
31
|
-
.pisell-keyboard-item {
|
|
32
|
-
background-color: var(--virtual-keyboard-keyboard-button-background-color, #ffffff);
|
|
33
|
-
color: var(--virtual-keyboard-keyboard-button-text-color, #000000);
|
|
34
|
-
|
|
35
|
-
&:hover {
|
|
36
|
-
background-color: var(--virtual-keyboard-keyboard-button-hover-color, #f5f5f5);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.pisell-keyboard-item-primary {
|
|
40
|
-
background-color: var(--virtual-keyboard-primary-button-background-color, #4ca30d);
|
|
41
|
-
color: var(--virtual-keyboard-primary-button-text-color, #ffffff);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
13
|
}
|
|
46
14
|
|
|
47
15
|
.virtual-keyboard-component-right {
|
|
@@ -37,9 +37,20 @@ var Guide = function Guide(props) {
|
|
|
37
37
|
* @Date: 2025-06-09 14:36
|
|
38
38
|
*/
|
|
39
39
|
var handleClick = function handleClick(e) {
|
|
40
|
-
var _setting$skipLink;
|
|
40
|
+
var _setting$skipLink, _utils$interaction, _utils$interaction$is;
|
|
41
41
|
e.stopPropagation();
|
|
42
42
|
if (!(_setting !== null && _setting !== void 0 && (_setting$skipLink = _setting.skipLink) !== null && _setting$skipLink !== void 0 && _setting$skipLink.page)) return;
|
|
43
|
+
if (utils !== null && utils !== void 0 && (_utils$interaction = utils.interaction) !== null && _utils$interaction !== void 0 && (_utils$interaction = _utils$interaction.utils) !== null && _utils$interaction !== void 0 && (_utils$interaction$is = _utils$interaction.isAppEnv) !== null && _utils$interaction$is !== void 0 && _utils$interaction$is.call(_utils$interaction)) {
|
|
44
|
+
var _utils$interaction2, _utils$interaction2$p;
|
|
45
|
+
utils === null || utils === void 0 || (_utils$interaction2 = utils.interaction) === null || _utils$interaction2 === void 0 || (_utils$interaction2 = _utils$interaction2.utils) === null || _utils$interaction2 === void 0 || (_utils$interaction2$p = _utils$interaction2.postMessageToApp) === null || _utils$interaction2$p === void 0 || _utils$interaction2$p.call(_utils$interaction2, {
|
|
46
|
+
module: 'global',
|
|
47
|
+
key: 'openNative',
|
|
48
|
+
data: {
|
|
49
|
+
link: _setting === null || _setting === void 0 ? void 0 : _setting.skipLink
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
43
54
|
utils === null || utils === void 0 || utils.jumpPageByLink(_setting === null || _setting === void 0 ? void 0 : _setting.skipLink);
|
|
44
55
|
};
|
|
45
56
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -8,7 +8,7 @@ declare const useDrawerState: (operationContent?: {
|
|
|
8
8
|
openDrawer: (item: OperationItem) => void;
|
|
9
9
|
closeDrawer: () => void;
|
|
10
10
|
drawerContent: import("react").ReactNode;
|
|
11
|
-
Container: {
|
|
11
|
+
Container: typeof Drawer | {
|
|
12
12
|
(props: import("../../../pisellModal").PisellModalProps): JSX.Element;
|
|
13
13
|
confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
|
|
14
14
|
destroy: () => void;
|
|
@@ -32,7 +32,7 @@ declare const useDrawerState: (operationContent?: {
|
|
|
32
32
|
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
33
33
|
};
|
|
34
34
|
Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
|
|
35
|
-
}
|
|
35
|
+
};
|
|
36
36
|
containerProps: {};
|
|
37
37
|
};
|
|
38
38
|
export default useDrawerState;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
declare const Subdomain: React.FC<import("antd").InputProps & {
|
|
3
3
|
onChange: (value: string) => void;
|
|
4
4
|
onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
5
|
-
rootDomain: "custom" | "
|
|
5
|
+
rootDomain: "custom" | "saas" | "xzero";
|
|
6
6
|
customDomain?: string | undefined;
|
|
7
7
|
value?: string | undefined;
|
|
8
8
|
tenantId: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
2
3
|
options?: any;
|
|
3
4
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const formFieldMap: {
|
|
2
3
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
3
4
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -19,7 +20,7 @@ declare const formFieldMap: {
|
|
|
19
20
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
20
21
|
onChange: (value: string) => void;
|
|
21
22
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
22
|
-
rootDomain: "custom" | "
|
|
23
|
+
rootDomain: "custom" | "saas" | "xzero";
|
|
23
24
|
customDomain?: string | undefined;
|
|
24
25
|
value?: string | undefined;
|
|
25
26
|
tenantId: string;
|
|
@@ -59,9 +60,11 @@ declare const formFieldMap: {
|
|
|
59
60
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
60
61
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
62
|
};
|
|
62
|
-
declare const getFieldComponent: (fieldComponent: string) =>
|
|
63
|
-
|
|
64
|
-
} &
|
|
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> & {
|
|
65
68
|
JSON: import("react").FC<any>;
|
|
66
69
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
67
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>;
|
|
@@ -74,7 +77,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
74
77
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
75
78
|
onChange: (value: string) => void;
|
|
76
79
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
77
|
-
rootDomain: "custom" | "
|
|
80
|
+
rootDomain: "custom" | "saas" | "xzero";
|
|
78
81
|
customDomain?: string | undefined;
|
|
79
82
|
value?: string | undefined;
|
|
80
83
|
tenantId: string;
|
|
@@ -82,10 +85,6 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
82
85
|
fieldKey?: string | undefined;
|
|
83
86
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
84
87
|
}) | (import("react").FC<{}> & {
|
|
85
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
86
|
-
} & {
|
|
87
|
-
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
88
|
-
}) | 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<{}> & {
|
|
89
88
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
90
89
|
} & {
|
|
91
90
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -97,5 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
97
96
|
extraParams?: Record<string, any> | undefined;
|
|
98
97
|
} & {
|
|
99
98
|
dataSource?: any;
|
|
100
|
-
}) => JSX.Element) | import("react").FC<
|
|
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>;
|
|
101
102
|
export { getFieldComponent, formFieldMap };
|
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
|
|
|
35
35
|
var import_icons = require("@ant-design/icons");
|
|
36
36
|
var import_react = __toESM(require("react"));
|
|
37
37
|
var MyIcon = (0, import_icons.createFromIconfontCN)({
|
|
38
|
-
scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.
|
|
38
|
+
scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.4.js"
|
|
39
39
|
// 在 iconfont.cn 上生成
|
|
40
40
|
});
|
|
41
41
|
var IconFont = (props) => {
|
|
@@ -62,7 +62,8 @@ var PisellCardList = (props) => {
|
|
|
62
62
|
showValidDate,
|
|
63
63
|
empty,
|
|
64
64
|
showEmpty,
|
|
65
|
-
showBalanceSymbol
|
|
65
|
+
showBalanceSymbol,
|
|
66
|
+
onChangeDebounce
|
|
66
67
|
} = props;
|
|
67
68
|
return data.length ? /* @__PURE__ */ import_react.default.createElement(
|
|
68
69
|
import_pisellCheckboxGroup.default,
|
|
@@ -76,6 +77,7 @@ var PisellCardList = (props) => {
|
|
|
76
77
|
onChange,
|
|
77
78
|
iconPosition: "hide",
|
|
78
79
|
fullWidth,
|
|
80
|
+
onChangeDebounce,
|
|
79
81
|
renderOption: (item, active, index) => {
|
|
80
82
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
81
83
|
import_pisellWalletPassCard.default,
|
|
@@ -23,6 +23,7 @@ export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivEl
|
|
|
23
23
|
iconPosition?: 'left' | 'right' | 'hide';
|
|
24
24
|
optionClassName?: string;
|
|
25
25
|
optionActiveClassName?: string;
|
|
26
|
+
onChangeDebounce?: boolean;
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
29
|
* @title: PisellCheckboxGroup
|