@pisell/materials 6.0.22 → 6.1.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 +7 -7
- package/build/lowcode/preview.js +149 -145
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +36 -27
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +41 -32
- package/dist/umd/materials.min.css +1 -0
- package/dist/umd/materials.min.js +1 -0
- package/dist/umd/static/DotsSix.57d66266.svg +1 -0
- package/dist/umd/static/arrow-left.e542294f.svg +1 -0
- package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
- package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
- package/dist/umd/static/help-circle.31c9be40.svg +1 -0
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
- package/es/components/DragSortList/index.js +6 -6
- package/es/components/auto-complete-number/index.d.ts +0 -1
- package/es/components/badge/index.d.ts +0 -1
- package/es/components/batch-editor/fields/index.d.ts +0 -1
- package/es/components/batch-editor/index.d.ts +0 -1
- package/es/components/calendar/index.d.ts +0 -1
- package/es/components/cardMetricItem/index.less +0 -1
- package/es/components/cardPro/index.d.ts +0 -1
- package/es/components/checkbox/index.d.ts +0 -1
- package/es/components/classicLayout/index.d.ts +0 -1
- package/es/components/classicLayout/index.js +5 -4
- package/es/components/colorPicker/index.d.ts +0 -1
- package/es/components/config-provider/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +6 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +5 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +1 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +12 -4
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/utils.js +5 -0
- package/es/components/date-picker/datePickerCpt.d.ts +0 -1
- package/es/components/date-picker/datePickerCpt.js +1 -1
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/div/index.d.ts +13 -2
- package/es/components/div/index.js +45 -8
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
- package/es/components/drag-sort-tree/TreeItem/index.js +2 -1
- package/es/components/dropdown/index.d.ts +0 -1
- package/es/components/filter/components/items/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/es/components/filter/components/items/text/index.d.ts +0 -1
- package/es/components/filter/index.d.ts +0 -1
- package/es/components/icon/index.js +5 -5
- package/es/components/iconfont/index.js +1 -1
- package/es/components/list/index.d.ts +0 -1
- package/es/components/list/index.js +6 -6
- package/es/components/login-and-register/index.js +22 -18
- package/es/components/lowCodePage/index.d.ts +0 -1
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisell-config-provider/index.js +3 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/es/components/pisellAdjustPrice/index.d.ts +1 -7
- package/es/components/pisellAdjustPrice/index.js +64 -8
- package/es/components/pisellAdjustPrice/index.less +35 -6
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAdjustPrice/status.js +32 -0
- package/es/components/pisellAdjustPrice/type.d.ts +20 -0
- package/es/components/pisellAdjustPrice/type.js +1 -0
- package/es/components/pisellAnchor/index.less +1 -2
- package/es/components/pisellAvatar/index.js +1 -1
- package/es/components/pisellCard/index.d.ts +0 -1
- package/es/components/pisellCardList/index.d.ts +31 -1
- package/es/components/pisellCardList/index.js +29 -19
- package/es/components/pisellCardList/index.less +75 -75
- package/es/components/pisellCheckboxGroup/index.d.ts +3 -1
- package/es/components/pisellCheckboxGroup/index.js +32 -8
- package/es/components/pisellCheckboxGroup/index.less +1 -0
- package/es/components/pisellCustomCheckboxGroup/index.js +3 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- package/es/components/pisellDatePicker/index.d.ts +0 -1
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +3 -3
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +4 -3
- package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +1 -0
- package/es/components/pisellDraggable/components/TreeItem/index.d.ts +1 -1
- package/es/components/pisellDraggable/components/TreeItem/index.js +1 -1
- package/es/components/pisellDraggable/index.d.ts +5 -2
- package/es/components/pisellDraggable/index.js +165 -127
- package/es/components/pisellDropSort/PisellDropSort.js +10 -3
- package/es/components/pisellDropSort/components/SortableItem/index.d.ts +1 -0
- package/es/components/pisellDropSort/components/SortableItem/index.js +6 -1
- package/es/components/pisellDropSort/components/SortableItem/index.less +0 -1
- package/es/components/pisellDropSort/types.d.ts +6 -0
- package/es/components/pisellGoodPassCard/index.d.ts +49 -0
- package/es/components/pisellGoodPassCard/index.js +122 -0
- package/es/components/pisellGoodPassCard/index.less +58 -0
- package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
- package/es/components/pisellInformationEntry/hooks/useNativeScanner.js +35 -0
- package/es/components/pisellInformationEntry/index.d.ts +2 -0
- package/es/components/pisellInformationEntry/index.js +16 -2
- package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/pisellLoading/index.d.ts +0 -1
- package/es/components/pisellMenu/PisellMenu.d.ts +6 -4
- package/es/components/pisellMenu/PisellMenu.js +1 -0
- package/es/components/pisellMenu/types.d.ts +1 -0
- package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/index.d.ts +0 -1
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +79 -11
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.less +14 -0
- package/es/components/pisellNavigationMenu/types.d.ts +21 -0
- package/es/components/pisellQrcode/index.less +0 -2
- package/es/components/pisellText/components/Amount/index.js +1 -1
- package/es/components/pisellToast/index.js +3 -0
- package/es/components/pisellTooltip/index.d.ts +0 -1
- package/es/components/pisellUpload/index.d.ts +0 -1
- package/es/components/pisellWalletPassCard/index.d.ts +30 -2
- package/es/components/pisellWalletPassCard/index.js +452 -47
- package/es/components/pisellWalletPassCard/index.less +154 -28
- 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 +3 -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 +3 -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 +6 -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 +96 -0
- package/es/components/productCard/cartSkuCard/locales.js +30 -0
- package/es/components/productCard/components/Action/index.d.ts +0 -1
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/components/AmountFooter/index.js +22 -6
- package/es/components/productCard/components/AmountFooter/index.less +28 -1
- package/es/components/productCard/components/Divider/index.d.ts +0 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
- package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/EditButton/index.js +22 -0
- package/es/components/productCard/components/Header/EditButton/index.less +26 -0
- package/es/components/productCard/components/Header/index.d.ts +0 -1
- package/es/components/productCard/components/Header/index.js +34 -8
- package/es/components/productCard/components/Header/index.less +5 -1
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/components/MultiDay/index.js +2 -1
- package/es/components/productCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/index.less +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +6 -4
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.less +3 -2
- package/es/components/productCard/components/Packages/index.d.ts +0 -1
- package/es/components/productCard/components/Sales/index.d.ts +0 -1
- package/es/components/productCard/components/Sales/index.js +4 -3
- package/es/components/productCard/components/Time/components/Like/index.d.ts +2 -2
- package/es/components/productCard/components/Time/components/Like/index.js +16 -12
- package/es/components/productCard/components/Time/components/Like/index.less +25 -4
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.js +143 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.less +62 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +157 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +39 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.js +144 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.js +119 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.less +20 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -2
- package/es/components/productCard/components/Time/index.js +114 -20
- package/es/components/productCard/components/Time/index.less +21 -0
- package/es/components/productCard/components/Warning/index.d.ts +7 -0
- package/es/components/productCard/components/Warning/index.js +48 -0
- package/es/components/productCard/index.d.ts +3 -1
- package/es/components/productCard/index.js +32 -12
- package/es/components/productCard/locales.d.ts +39 -0
- package/es/components/productCard/locales.js +72 -3
- package/es/components/productCard/status.js +4 -1
- package/es/components/productCard/types.d.ts +6 -0
- package/es/components/productCard/utils.js +57 -2
- package/es/components/profileMenu/index.less +2 -5
- package/es/components/qrcode/index.d.ts +0 -1
- package/es/components/qrcode/index.js +1 -1
- package/es/components/radio/index.d.ts +0 -1
- package/es/components/record-view/index.less +0 -2
- package/es/components/segmented/index.d.ts +0 -1
- package/es/components/select-time/RightPanel/index.d.ts +0 -1
- package/es/components/select-time/index.d.ts +0 -1
- package/es/components/skeleton/index.d.ts +0 -1
- package/es/components/slider/index.d.ts +0 -1
- package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
- package/es/components/sort/components/InlineMenu/index.js +1 -1
- package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
- package/es/components/table/Actions/component/Group/index.d.ts +0 -1
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/Actions/index.d.ts +0 -1
- package/es/components/table/BasicTable/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/es/components/table/Header/Buttons/index.js +5 -5
- package/es/components/table/Summary/index.d.ts +0 -1
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
- package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
- package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
- package/es/components/table/View/index.d.ts +0 -1
- package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
- package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
- package/es/components/table/hooks/useTransFilterSetting.js +5 -5
- package/es/components/tabs/index.js +6 -1
- package/es/components/time-picker/index.d.ts +0 -1
- package/es/components/translation/index.d.ts +4 -3
- package/es/components/translation/index.js +24 -22
- package/es/components/translation/utils.js +5 -5
- package/es/components/upload/index.d.ts +0 -1
- package/es/components/versionSelect/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +3 -20
- package/es/components/virtual-keyboard/Amount/index.js +79 -7
- package/es/components/virtual-keyboard/Amount/index.less +39 -0
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Amount/themeConfig.js +32 -0
- package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
- package/es/components/virtual-keyboard/Amount/types.js +1 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +3 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +38 -10
- package/es/components/virtual-keyboard/Keyboard/index.js +2 -2
- package/es/components/virtual-keyboard/Number/index.d.ts +3 -12
- package/es/components/virtual-keyboard/Number/index.js +77 -7
- package/es/components/virtual-keyboard/Number/index.less +39 -0
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/themeConfig.js +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +25 -0
- package/es/components/virtual-keyboard/Number/types.js +1 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +2 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +10 -3
- package/es/components/virtual-keyboard/index.d.ts +11 -0
- package/es/components/virtual-keyboard/index.js +88 -3
- package/es/components/virtual-keyboard/index.less +33 -1
- package/es/components/walletCard/Guest/index.d.ts +0 -1
- package/es/components/walletCard/Guide/index.d.ts +3 -0
- package/es/components/walletCard/Guide/index.js +87 -0
- package/es/components/walletCard/Guide/index.less +71 -0
- package/es/components/walletCard/index.d.ts +2 -0
- package/es/components/walletCard/index.js +87 -50
- package/es/components/walletCard/index.less +3 -5
- package/es/hooks/useResponsive.js +2 -2
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/locales/en-US.d.ts +16 -1
- package/es/locales/en-US.js +18 -2
- package/es/locales/zh-CN.d.ts +16 -1
- package/es/locales/zh-CN.js +18 -2
- package/es/locales/zh-TW.d.ts +16 -1
- package/es/locales/zh-TW.js +17 -2
- package/es/utils/hoc.js +1 -1
- package/es/utils/miniRedux.js +9 -8
- package/lib/components/auto-complete-number/index.d.ts +0 -1
- package/lib/components/badge/index.d.ts +0 -1
- package/lib/components/batch-editor/fields/index.d.ts +0 -1
- package/lib/components/batch-editor/index.d.ts +0 -1
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/cardMetricItem/index.less +0 -1
- package/lib/components/cardPro/index.d.ts +0 -1
- package/lib/components/checkbox/index.d.ts +0 -1
- package/lib/components/classicLayout/index.d.ts +0 -1
- package/lib/components/colorPicker/index.d.ts +0 -1
- package/lib/components/config-provider/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +6 -2
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +5 -5
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +15 -7
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/utils.js +5 -0
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
- package/lib/components/date-picker/datePickerCpt.js +1 -1
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/div/index.d.ts +13 -2
- package/lib/components/div/index.js +33 -3
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
- package/lib/components/dropdown/index.d.ts +0 -1
- package/lib/components/filter/components/items/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/index.d.ts +0 -1
- package/lib/components/filter/index.d.ts +0 -1
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/login-and-register/index.js +2 -2
- package/lib/components/lowCodePage/index.d.ts +0 -1
- package/lib/components/lowCodePage/index.js +2 -1
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisell-config-provider/index.js +3 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -7
- package/lib/components/pisellAdjustPrice/index.js +119 -57
- package/lib/components/pisellAdjustPrice/index.less +35 -6
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAdjustPrice/status.js +60 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +20 -0
- package/lib/components/pisellAdjustPrice/type.js +17 -0
- package/lib/components/pisellAnchor/index.less +1 -2
- package/lib/components/pisellAvatar/index.js +1 -1
- package/lib/components/pisellCard/index.d.ts +0 -1
- package/lib/components/pisellCardList/index.d.ts +31 -1
- package/lib/components/pisellCardList/index.js +48 -43
- package/lib/components/pisellCardList/index.less +75 -75
- package/lib/components/pisellCheckboxGroup/index.d.ts +3 -1
- package/lib/components/pisellCheckboxGroup/index.js +30 -7
- package/lib/components/pisellCheckboxGroup/index.less +1 -0
- package/lib/components/pisellCustomCheckboxGroup/index.js +1 -1
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- package/lib/components/pisellDatePicker/index.d.ts +0 -1
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +3 -3
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +4 -7
- package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +1 -0
- package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +1 -1
- package/lib/components/pisellDraggable/components/TreeItem/index.js +12 -2
- package/lib/components/pisellDraggable/index.d.ts +5 -2
- package/lib/components/pisellDraggable/index.js +114 -80
- package/lib/components/pisellDropSort/PisellDropSort.js +9 -3
- package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +1 -0
- package/lib/components/pisellDropSort/components/SortableItem/index.js +5 -0
- package/lib/components/pisellDropSort/components/SortableItem/index.less +0 -1
- package/lib/components/pisellDropSort/types.d.ts +6 -0
- package/lib/components/pisellGoodPassCard/index.d.ts +49 -0
- package/lib/components/pisellGoodPassCard/index.js +111 -0
- package/lib/components/pisellGoodPassCard/index.less +58 -0
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
- package/lib/components/pisellInformationEntry/hooks/useNativeScanner.js +75 -0
- package/lib/components/pisellInformationEntry/index.d.ts +2 -0
- package/lib/components/pisellInformationEntry/index.js +14 -9
- package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/pisellLoading/index.d.ts +0 -1
- package/lib/components/pisellMenu/PisellMenu.d.ts +6 -4
- package/lib/components/pisellMenu/PisellMenu.js +1 -0
- package/lib/components/pisellMenu/types.d.ts +1 -0
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/index.d.ts +0 -1
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +64 -9
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.less +14 -0
- package/lib/components/pisellNavigationMenu/types.d.ts +21 -0
- package/lib/components/pisellQrcode/index.less +0 -2
- package/lib/components/pisellText/components/Amount/index.js +2 -1
- package/lib/components/pisellToast/index.js +3 -0
- package/lib/components/pisellTooltip/index.d.ts +0 -1
- package/lib/components/pisellUpload/index.d.ts +0 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +30 -2
- package/lib/components/pisellWalletPassCard/index.js +397 -23
- package/lib/components/pisellWalletPassCard/index.less +154 -28
- 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 +3 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.js +52 -0
- 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 +3 -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 +6 -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 +96 -0
- package/lib/components/productCard/cartSkuCard/locales.js +61 -0
- package/lib/components/productCard/components/Action/index.d.ts +0 -1
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/components/AmountFooter/index.js +16 -6
- package/lib/components/productCard/components/AmountFooter/index.less +28 -1
- package/lib/components/productCard/components/Divider/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/EditButton/index.js +62 -0
- package/lib/components/productCard/components/Header/EditButton/index.less +26 -0
- package/lib/components/productCard/components/Header/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/index.js +30 -6
- package/lib/components/productCard/components/Header/index.less +5 -1
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/components/MultiDay/index.js +3 -2
- package/lib/components/productCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.less +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +6 -5
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.less +3 -2
- package/lib/components/productCard/components/Packages/index.d.ts +0 -1
- package/lib/components/productCard/components/Sales/index.d.ts +0 -1
- package/lib/components/productCard/components/Sales/index.js +4 -3
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +2 -2
- package/lib/components/productCard/components/Time/components/Like/index.js +21 -13
- package/lib/components/productCard/components/Time/components/Like/index.less +25 -4
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.js +162 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.less +62 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +177 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +39 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.js +152 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.js +124 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.less +20 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/index.js +151 -15
- package/lib/components/productCard/components/Time/index.less +21 -0
- package/lib/components/productCard/components/Warning/index.d.ts +7 -0
- package/lib/components/productCard/components/Warning/index.js +68 -0
- package/lib/components/productCard/index.d.ts +3 -1
- package/lib/components/productCard/index.js +24 -14
- package/lib/components/productCard/locales.d.ts +39 -0
- package/lib/components/productCard/locales.js +42 -3
- package/lib/components/productCard/status.js +4 -1
- package/lib/components/productCard/types.d.ts +6 -0
- package/lib/components/productCard/utils.js +48 -4
- package/lib/components/profileMenu/index.less +2 -5
- package/lib/components/qrcode/index.d.ts +0 -1
- package/lib/components/radio/index.d.ts +0 -1
- package/lib/components/record-view/index.less +0 -2
- package/lib/components/segmented/index.d.ts +0 -1
- package/lib/components/select-time/RightPanel/index.d.ts +0 -1
- package/lib/components/select-time/index.d.ts +0 -1
- package/lib/components/skeleton/index.d.ts +0 -1
- package/lib/components/slider/index.d.ts +0 -1
- package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/lib/components/table/Actions/index.d.ts +0 -1
- package/lib/components/table/BasicTable/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/lib/components/table/Summary/index.d.ts +0 -1
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
- package/lib/components/table/Table/fields/date/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/lib/components/table/Table/fields/utils/index.js +2 -1
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
- package/lib/components/table/View/index.d.ts +0 -1
- package/lib/components/tabs/index.js +1 -0
- package/lib/components/time-picker/index.d.ts +0 -1
- package/lib/components/translation/index.d.ts +4 -3
- package/lib/components/translation/index.js +1 -0
- package/lib/components/upload/index.d.ts +0 -1
- package/lib/components/versionSelect/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Amount/index.d.ts +3 -20
- package/lib/components/virtual-keyboard/Amount/index.js +72 -16
- package/lib/components/virtual-keyboard/Amount/index.less +39 -0
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Amount/themeConfig.js +60 -0
- package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
- package/lib/components/virtual-keyboard/Amount/types.js +17 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +3 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +31 -8
- package/lib/components/virtual-keyboard/Keyboard/index.js +2 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +3 -12
- package/lib/components/virtual-keyboard/Number/index.js +65 -11
- package/lib/components/virtual-keyboard/Number/index.less +39 -0
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/themeConfig.js +60 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +25 -0
- package/lib/components/virtual-keyboard/Number/types.js +17 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +34 -20
- package/lib/components/virtual-keyboard/index.d.ts +11 -0
- package/lib/components/virtual-keyboard/index.js +60 -2
- package/lib/components/virtual-keyboard/index.less +33 -1
- package/lib/components/walletCard/Guest/index.d.ts +0 -1
- package/lib/components/walletCard/Guide/index.d.ts +3 -0
- package/lib/components/walletCard/Guide/index.js +136 -0
- package/lib/components/walletCard/Guide/index.less +71 -0
- package/lib/components/walletCard/index.d.ts +2 -0
- package/lib/components/walletCard/index.js +46 -7
- package/lib/components/walletCard/index.less +3 -5
- package/lib/hooks/useResponsive.js +6 -3
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/locales/en-US.d.ts +16 -1
- package/lib/locales/en-US.js +18 -2
- package/lib/locales/zh-CN.d.ts +16 -1
- package/lib/locales/zh-CN.js +18 -2
- package/lib/locales/zh-TW.d.ts +16 -1
- package/lib/locales/zh-TW.js +17 -2
- package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
- package/lowcode/div/meta.ts +39 -4
- package/lowcode/pisell-adjust-price/meta.ts +168 -0
- package/lowcode/pisell-adjust-price/snippets.ts +1 -0
- package/lowcode/pisell-card-list/meta.ts +222 -136
- package/lowcode/pisell-good-pass-card/meta.ts +38 -0
- package/lowcode/pisell-good-pass-card/snippets.ts +9 -0
- package/lowcode/pisell-navigation-menu/meta.ts +12 -0
- package/lowcode/pisell-number-keyboard/meta.ts +167 -0
- package/lowcode/pisell-price-keyboard/meta.ts +167 -0
- package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +217 -0
- package/lowcode/pisell-wallet-pass-card/meta.ts +178 -129
- package/lowcode/product-card/meta.ts +53 -0
- package/lowcode/product-card/snippets.ts +14 -1
- package/lowcode/virtual-keyboard/meta.ts +131 -0
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
var _excluded = ["type", "size", "color"];
|
|
3
3
|
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
|
-
function ownKeys(
|
|
5
|
-
function _objectSpread(
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
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(
|
|
8
|
-
function _toPrimitive(
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
9
|
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; }
|
|
10
10
|
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; }
|
|
11
11
|
import React, { forwardRef } from 'react';
|
|
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
import { createFromIconfontCN } from '@ant-design/icons';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
var MyIcon = createFromIconfontCN({
|
|
5
|
-
scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.
|
|
5
|
+
scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.6.js' // 在 iconfont.cn 上生成
|
|
6
6
|
});
|
|
7
7
|
var IconFont = function IconFont(props) {
|
|
8
8
|
return /*#__PURE__*/React.createElement(MyIcon, _extends({}, props, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
var _excluded = ["className", "paginationType", "pagination", "footer", "header", "listHeight", "loadMoreData", "arrow"];
|
|
3
3
|
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; }
|
|
4
|
-
function _toPropertyKey(
|
|
5
|
-
function _toPrimitive(
|
|
4
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
5
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
6
|
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); }
|
|
7
7
|
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; }
|
|
8
8
|
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; }
|
|
@@ -47,7 +47,7 @@ var List = function List(props) {
|
|
|
47
47
|
var position = useScroll(listRef);
|
|
48
48
|
var isShowDownArrow = useMemo(function () {
|
|
49
49
|
var _listRef$current, _listRef$current2;
|
|
50
|
-
return arrow && (listRef === null || listRef === void 0 ? void 0 : listRef.current) && ((position === null || position === void 0 ? void 0 : position.top) || 0) + (listRef === null || listRef === void 0
|
|
50
|
+
return arrow && (listRef === null || listRef === void 0 ? void 0 : listRef.current) && ((position === null || position === void 0 ? void 0 : position.top) || 0) + (listRef === null || listRef === void 0 ? void 0 : (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.clientHeight) < ((_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.scrollHeight);
|
|
51
51
|
}, [position, arrow]);
|
|
52
52
|
var isShowUpArrow = useMemo(function () {
|
|
53
53
|
return arrow && ((position === null || position === void 0 ? void 0 : position.top) || 0) > 0;
|
|
@@ -90,13 +90,13 @@ var List = function List(props) {
|
|
|
90
90
|
}),
|
|
91
91
|
scrollableTarget: scrollListId
|
|
92
92
|
}, /*#__PURE__*/React.createElement(AntList, _extends({}, others, {
|
|
93
|
-
className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0
|
|
93
|
+
className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0 ? void 0 : (_props$grid = props.grid) === null || _props$grid === void 0 ? void 0 : _props$grid.oneLine))
|
|
94
94
|
}))), isShowDownArrow && downArrow), _footer && /*#__PURE__*/React.createElement("div", {
|
|
95
95
|
className: "".concat(prefix, "scroll-footer-wrap")
|
|
96
96
|
}, _footer));
|
|
97
97
|
}
|
|
98
98
|
return /*#__PURE__*/React.createElement(AntList, _extends({}, props, {
|
|
99
|
-
className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0
|
|
99
|
+
className: classNames(className, _defineProperty({}, "".concat(prefix, "list-one-line-wrap"), props === null || props === void 0 ? void 0 : (_props$grid2 = props.grid) === null || _props$grid2 === void 0 ? void 0 : _props$grid2.oneLine))
|
|
100
100
|
}));
|
|
101
101
|
}, [props, _footer, isShowDownArrow, isShowUpArrow, scrollListId]);
|
|
102
102
|
return list;
|
|
@@ -151,24 +151,26 @@ var loginAndRegister = function loginAndRegister(_ref) {
|
|
|
151
151
|
return form.validateFields();
|
|
152
152
|
case 4:
|
|
153
153
|
_values = _context.sent;
|
|
154
|
-
|
|
154
|
+
_context.next = 7;
|
|
155
|
+
return onLogin === null || onLogin === void 0 ? void 0 : onLogin(_objectSpread(_objectSpread({}, _values), {}, {
|
|
155
156
|
loginMethod: 'email'
|
|
156
157
|
}));
|
|
157
|
-
|
|
158
|
+
case 7:
|
|
159
|
+
_context.next = 12;
|
|
158
160
|
break;
|
|
159
|
-
case
|
|
160
|
-
_context.prev =
|
|
161
|
+
case 9:
|
|
162
|
+
_context.prev = 9;
|
|
161
163
|
_context.t0 = _context["catch"](0);
|
|
162
164
|
console.error('Validation failed:', _context.t0);
|
|
163
|
-
case
|
|
164
|
-
_context.prev =
|
|
165
|
+
case 12:
|
|
166
|
+
_context.prev = 12;
|
|
165
167
|
setLoading(false);
|
|
166
|
-
return _context.finish(
|
|
167
|
-
case
|
|
168
|
+
return _context.finish(12);
|
|
169
|
+
case 15:
|
|
168
170
|
case "end":
|
|
169
171
|
return _context.stop();
|
|
170
172
|
}
|
|
171
|
-
}, _callee, null, [[0,
|
|
173
|
+
}, _callee, null, [[0, 9, 12, 15]]);
|
|
172
174
|
}));
|
|
173
175
|
return function handleEmailLogin() {
|
|
174
176
|
return _ref2.apply(this, arguments);
|
|
@@ -198,22 +200,24 @@ var loginAndRegister = function loginAndRegister(_ref) {
|
|
|
198
200
|
return form.validateFields();
|
|
199
201
|
case 4:
|
|
200
202
|
_values2 = _context2.sent;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
+
_context2.next = 7;
|
|
204
|
+
return onRegister === null || onRegister === void 0 ? void 0 : onRegister(_values2);
|
|
205
|
+
case 7:
|
|
206
|
+
_context2.next = 12;
|
|
203
207
|
break;
|
|
204
|
-
case
|
|
205
|
-
_context2.prev =
|
|
208
|
+
case 9:
|
|
209
|
+
_context2.prev = 9;
|
|
206
210
|
_context2.t0 = _context2["catch"](0);
|
|
207
211
|
console.error('Validation failed:', _context2.t0);
|
|
208
|
-
case
|
|
209
|
-
_context2.prev =
|
|
212
|
+
case 12:
|
|
213
|
+
_context2.prev = 12;
|
|
210
214
|
setLoading(false);
|
|
211
|
-
return _context2.finish(
|
|
212
|
-
case
|
|
215
|
+
return _context2.finish(12);
|
|
216
|
+
case 15:
|
|
213
217
|
case "end":
|
|
214
218
|
return _context2.stop();
|
|
215
219
|
}
|
|
216
|
-
}, _callee2, null, [[0,
|
|
220
|
+
}, _callee2, null, [[0, 9, 12, 15]]);
|
|
217
221
|
}));
|
|
218
222
|
return function handleRegister() {
|
|
219
223
|
return _ref3.apply(this, arguments);
|
|
@@ -25,8 +25,10 @@ var PisellConfigProvider = function PisellConfigProvider(props) {
|
|
|
25
25
|
platform: propsPlatform || platformMap[platform],
|
|
26
26
|
// 设置符号,优先使用父组件传入的,如果没有则从主项目获取
|
|
27
27
|
symbol: propsSymbol || (getSymbolic === null || getSymbolic === void 0 ? void 0 : getSymbolic()) || '',
|
|
28
|
-
locale: locale || 'en'
|
|
28
|
+
locale: locale || 'en',
|
|
29
|
+
getSymbolic: getSymbolic
|
|
29
30
|
};
|
|
31
|
+
console.log(config, 'config');
|
|
30
32
|
var staticFunction = App.useApp();
|
|
31
33
|
setMessage(staticFunction.message);
|
|
32
34
|
setModal(staticFunction.modal);
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import './index.less';
|
|
3
|
-
|
|
4
|
-
value?: number;
|
|
5
|
-
originValue: number;
|
|
6
|
-
defaultValue?: number;
|
|
7
|
-
onChange?: (val: number) => void;
|
|
8
|
-
}
|
|
2
|
+
import { PisellAdjustPriceProps } from './type';
|
|
9
3
|
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
|
|
10
4
|
export default PisellAdjustPrice;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
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 = ["value", "onChange", "defaultValue", "originValue"];
|
|
2
|
+
var _excluded = ["value", "onChange", "defaultValue", "originValue", "selectType"];
|
|
3
|
+
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
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
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; }
|
|
3
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; }
|
|
4
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
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); }
|
|
6
|
-
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); }
|
|
7
9
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
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."); }
|
|
9
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); }
|
|
@@ -15,16 +17,20 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
15
17
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
16
18
|
import { Segmented } from 'antd';
|
|
17
19
|
import classNames from 'classnames';
|
|
20
|
+
import { setTheme } from '@pisell/utils';
|
|
18
21
|
import PisellText from "../pisellText";
|
|
19
22
|
import Amount from "../virtual-keyboard/Amount";
|
|
20
23
|
import { getText } from "../../locales";
|
|
21
24
|
import "./index.less";
|
|
22
25
|
import usePisellConfig from "../pisell-config-provider/hooks/usePisellConfig";
|
|
26
|
+
import { defaultConfig } from "./status";
|
|
23
27
|
var PisellAdjustPrice = function PisellAdjustPrice(props) {
|
|
24
28
|
var value = props.value,
|
|
25
29
|
onChange = props.onChange,
|
|
26
30
|
defaultValue = props.defaultValue,
|
|
27
31
|
originValue = props.originValue,
|
|
32
|
+
_props$selectType = props.selectType,
|
|
33
|
+
selectType = _props$selectType === void 0 ? 'light' : _props$selectType,
|
|
28
34
|
others = _objectWithoutProperties(props, _excluded);
|
|
29
35
|
var config = usePisellConfig();
|
|
30
36
|
var _useState = useState(value || 0),
|
|
@@ -47,6 +53,30 @@ var PisellAdjustPrice = function PisellAdjustPrice(props) {
|
|
|
47
53
|
useEffect(function () {
|
|
48
54
|
document.body.id = 'body';
|
|
49
55
|
}, []);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @title: 配置颜色
|
|
59
|
+
* @description: 根据 props 和 selectType 生成最终的配置颜色
|
|
60
|
+
* @param {*} useMemo
|
|
61
|
+
* @return {*}
|
|
62
|
+
* @Author: WangHan
|
|
63
|
+
* @Date: 2025-08-04 18:36
|
|
64
|
+
*/
|
|
65
|
+
var configColor = useMemo(function () {
|
|
66
|
+
var currentConfig = defaultConfig[selectType];
|
|
67
|
+
|
|
68
|
+
// 过滤出有效的 props 并合并到默认配置中
|
|
69
|
+
var validProps = Object.entries(props).reduce(function (acc, _ref) {
|
|
70
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
71
|
+
key = _ref2[0],
|
|
72
|
+
value = _ref2[1];
|
|
73
|
+
if (value !== undefined && key in currentConfig) {
|
|
74
|
+
acc[key] = value;
|
|
75
|
+
}
|
|
76
|
+
return acc;
|
|
77
|
+
}, {});
|
|
78
|
+
return _objectSpread(_objectSpread({}, currentConfig), validProps);
|
|
79
|
+
}, [selectType, props]);
|
|
50
80
|
var handleEnter = function handleEnter() {
|
|
51
81
|
if (isDiscountError) {
|
|
52
82
|
return;
|
|
@@ -93,8 +123,21 @@ var PisellAdjustPrice = function PisellAdjustPrice(props) {
|
|
|
93
123
|
return "".concat(v, "%");
|
|
94
124
|
}
|
|
95
125
|
};
|
|
126
|
+
useEffect(function () {
|
|
127
|
+
setTheme({
|
|
128
|
+
'--pisell-adjust-price-text-color': configColor.textColor,
|
|
129
|
+
'--pisell-adjust-price-background-color': configColor.backgroundColor,
|
|
130
|
+
'--pisell-adjust-price-container-background-color': configColor.containerBackgroundColor,
|
|
131
|
+
'--pisell-adjust-price-button-background-color': configColor.buttonBackgroundColor,
|
|
132
|
+
'--pisell-adjust-price-main-text-color': configColor.mainTextColor,
|
|
133
|
+
'--pisell-adjust-price-sub-text-color': configColor.subTextColor
|
|
134
|
+
});
|
|
135
|
+
}, [configColor]);
|
|
96
136
|
return /*#__PURE__*/React.createElement("div", {
|
|
97
|
-
className:
|
|
137
|
+
className: classNames('pisell-lowcode-adjust-price-wrap', {
|
|
138
|
+
'pisell-lowcode-adjust-price-dark': selectType === 'dark',
|
|
139
|
+
'pisell-lowcode-adjust-price-light': selectType === 'light'
|
|
140
|
+
})
|
|
98
141
|
}, /*#__PURE__*/React.createElement(Segmented, {
|
|
99
142
|
size: "large",
|
|
100
143
|
options: [{
|
|
@@ -125,6 +168,7 @@ var PisellAdjustPrice = function PisellAdjustPrice(props) {
|
|
|
125
168
|
}), /*#__PURE__*/React.createElement("div", {
|
|
126
169
|
className: "pisell-lowcode-adjust-price-amount-wrap"
|
|
127
170
|
}, /*#__PURE__*/React.createElement(Amount, _extends({}, others, {
|
|
171
|
+
selectType: selectType || 'light',
|
|
128
172
|
inputFormat: inputFormat,
|
|
129
173
|
defaultValue: updateMode === 'priceOverride' ? defaultValue : '',
|
|
130
174
|
key: updateMode,
|
|
@@ -132,17 +176,29 @@ var PisellAdjustPrice = function PisellAdjustPrice(props) {
|
|
|
132
176
|
defaultSelect: updateMode === 'priceOverride',
|
|
133
177
|
onChange: handleChange,
|
|
134
178
|
onEnter: handleEnter,
|
|
135
|
-
placeholder: discountMode === 'amount' ? '0' : '%'
|
|
136
|
-
|
|
179
|
+
placeholder: discountMode === 'amount' ? '0' : '%',
|
|
180
|
+
rightItemsStyle: {
|
|
181
|
+
buttonBackgroundColor: configColor.buttonBackgroundColor,
|
|
182
|
+
textColor: configColor.textColor,
|
|
183
|
+
resetButtonBackgroundColor: configColor.resetButtonBackgroundColor,
|
|
184
|
+
resetButtonTextColor: configColor.resetButtonTextColor,
|
|
185
|
+
isDoneButtonFollowTheme: configColor.isDoneButtonFollowTheme,
|
|
186
|
+
doneButtonBackgroundColor: configColor.doneButtonBackgroundColor,
|
|
187
|
+
doneButtonTextColor: configColor.doneButtonTextColor
|
|
188
|
+
}
|
|
189
|
+
}))), updateMode === 'discount' && /*#__PURE__*/React.createElement("div", null, configColor.isShowMainText ? /*#__PURE__*/React.createElement("div", {
|
|
137
190
|
className: "pisell-low-code-adjust-price-total"
|
|
138
191
|
}, isDiscountError ? /*#__PURE__*/React.createElement(PisellText.Amount, {
|
|
139
192
|
value: originValue
|
|
140
193
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null, newValue && getText('pisell-adjust-price-total-after-discount'), /*#__PURE__*/React.createElement(PisellText.Amount, {
|
|
141
194
|
value: totalAfterDiscount
|
|
142
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
195
|
+
}))) : null, configColor.isShowSubText ? /*#__PURE__*/React.createElement("div", {
|
|
143
196
|
className: classNames('pisell-low-code-adjust-price-amount-desc', _defineProperty({}, 'pisell-low-code-adjust-price-amount-desc-error', isDiscountError))
|
|
144
197
|
}, getText('pisell-adjust-price-discount-can-be-maximum'), ' ', discountMode === 'amount' ? /*#__PURE__*/React.createElement(PisellText.Amount, {
|
|
145
|
-
value: originValue
|
|
146
|
-
|
|
198
|
+
value: originValue,
|
|
199
|
+
style: {
|
|
200
|
+
color: configColor.subTextColor
|
|
201
|
+
}
|
|
202
|
+
}) : '100%') : null));
|
|
147
203
|
};
|
|
148
204
|
export default PisellAdjustPrice;
|
|
@@ -1,30 +1,59 @@
|
|
|
1
1
|
.pisell-lowcode-adjust-price-wrap {
|
|
2
2
|
width: 380px;
|
|
3
3
|
border-radius: 10px;
|
|
4
|
-
background-color:
|
|
4
|
+
background-color: var(--pisell-adjust-price-background-color);
|
|
5
5
|
padding: 10px;
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
gap: 10px;
|
|
9
|
+
transition: all 0.3s ease;
|
|
10
|
+
|
|
11
|
+
// 浅色模式样式
|
|
12
|
+
&.pisell-lowcode-adjust-price-light {
|
|
13
|
+
.pisell-lowcode-segmented-item-label {
|
|
14
|
+
color: #667085;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// 深色模式样式
|
|
19
|
+
&.pisell-lowcode-adjust-price-dark {
|
|
20
|
+
.pisell-lowcode-segmented-item-label {
|
|
21
|
+
color: #d0d5dd;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pisell-lowcode-segmented {
|
|
26
|
+
background: var(--pisell-adjust-price-container-background-color);
|
|
27
|
+
:hover {
|
|
28
|
+
color: var(--pisell-adjust-price-text-color);
|
|
29
|
+
}
|
|
30
|
+
.pisell-lowcode-segmented-item-selected {
|
|
31
|
+
background: var(--pisell-adjust-price-button-background-color);
|
|
32
|
+
.pisell-lowcode-segmented-item-label {
|
|
33
|
+
color: var(--pisell-adjust-price-text-color) !important;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
9
38
|
.pisell-lowcode-adjust-price-amount-wrap {
|
|
10
39
|
padding: 10px;
|
|
11
40
|
border-radius: 10px;
|
|
12
|
-
background: var(--
|
|
41
|
+
background: var(--pisell-adjust-price-container-background-color);
|
|
13
42
|
}
|
|
14
43
|
.pisell-low-code-adjust-price-total {
|
|
15
|
-
color: var(--
|
|
44
|
+
color: var(--pisell-adjust-price-main-text-color);
|
|
16
45
|
font-size: 20px;
|
|
17
46
|
font-weight: 600;
|
|
18
47
|
line-height: 30px; /* 150% */
|
|
19
48
|
}
|
|
20
49
|
.pisell-low-code-adjust-price-amount-desc {
|
|
21
|
-
color: var(--
|
|
50
|
+
color: var(--pisell-adjust-price-sub-text-color);
|
|
22
51
|
font-size: 16px;
|
|
23
52
|
font-style: normal;
|
|
24
53
|
font-weight: 400;
|
|
25
54
|
line-height: 24px; /* 150% */
|
|
26
55
|
}
|
|
27
56
|
.pisell-low-code-adjust-price-amount-desc-error {
|
|
28
|
-
color: var(--Error-600, #
|
|
57
|
+
color: var(--Error-600, #d92d20);
|
|
29
58
|
}
|
|
30
|
-
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const defaultConfig: {
|
|
2
|
+
dark: {
|
|
3
|
+
backgroundColor: string;
|
|
4
|
+
containerBackgroundColor: string;
|
|
5
|
+
buttonBackgroundColor: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
resetButtonBackgroundColor: string;
|
|
8
|
+
resetButtonTextColor: string;
|
|
9
|
+
isDoneButtonFollowTheme: boolean;
|
|
10
|
+
doneButtonBackgroundColor: string;
|
|
11
|
+
doneButtonTextColor: string;
|
|
12
|
+
isShowMainText: boolean;
|
|
13
|
+
mainTextColor: string;
|
|
14
|
+
isShowSubText: boolean;
|
|
15
|
+
subTextColor: string;
|
|
16
|
+
};
|
|
17
|
+
light: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
containerBackgroundColor: string;
|
|
20
|
+
buttonBackgroundColor: string;
|
|
21
|
+
textColor: string;
|
|
22
|
+
resetButtonBackgroundColor: string;
|
|
23
|
+
resetButtonTextColor: string;
|
|
24
|
+
isDoneButtonFollowTheme: boolean;
|
|
25
|
+
doneButtonBackgroundColor: string;
|
|
26
|
+
doneButtonTextColor: string;
|
|
27
|
+
isShowMainText: boolean;
|
|
28
|
+
mainTextColor: string;
|
|
29
|
+
isShowSubText: boolean;
|
|
30
|
+
subTextColor: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export var defaultConfig = {
|
|
2
|
+
dark: {
|
|
3
|
+
backgroundColor: 'rgba(0, 0, 0, 0.70)',
|
|
4
|
+
containerBackgroundColor: 'rgba(0, 0, 0, 0.40)',
|
|
5
|
+
buttonBackgroundColor: '#ffffff',
|
|
6
|
+
textColor: '#000000',
|
|
7
|
+
resetButtonBackgroundColor: '#ffffff',
|
|
8
|
+
resetButtonTextColor: '#d92d20',
|
|
9
|
+
isDoneButtonFollowTheme: true,
|
|
10
|
+
doneButtonBackgroundColor: '#4ca30d',
|
|
11
|
+
doneButtonTextColor: '#ffffff',
|
|
12
|
+
isShowMainText: true,
|
|
13
|
+
mainTextColor: '#ffffff',
|
|
14
|
+
isShowSubText: true,
|
|
15
|
+
subTextColor: '#d0d5dd'
|
|
16
|
+
},
|
|
17
|
+
light: {
|
|
18
|
+
backgroundColor: '#ffffff',
|
|
19
|
+
containerBackgroundColor: '#d0d5dd',
|
|
20
|
+
buttonBackgroundColor: '#ffffff',
|
|
21
|
+
textColor: '#000000',
|
|
22
|
+
resetButtonBackgroundColor: '#ffffff',
|
|
23
|
+
resetButtonTextColor: '#d92d20',
|
|
24
|
+
isDoneButtonFollowTheme: true,
|
|
25
|
+
doneButtonBackgroundColor: '#4ca30d',
|
|
26
|
+
doneButtonTextColor: '#ffffff',
|
|
27
|
+
isShowMainText: true,
|
|
28
|
+
mainTextColor: '#101828',
|
|
29
|
+
isShowSubText: true,
|
|
30
|
+
subTextColor: '#667085'
|
|
31
|
+
}
|
|
32
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface PisellAdjustPriceProps {
|
|
2
|
+
value?: number;
|
|
3
|
+
originValue: number;
|
|
4
|
+
defaultValue?: number;
|
|
5
|
+
onChange?: (val: number) => void;
|
|
6
|
+
selectType?: 'light' | 'dark';
|
|
7
|
+
backgroundColor?: string;
|
|
8
|
+
containerBackgroundColor?: string;
|
|
9
|
+
buttonBackgroundColor?: string;
|
|
10
|
+
textColor?: string;
|
|
11
|
+
resetButtonBackgroundColor?: string;
|
|
12
|
+
resetButtonTextColor?: string;
|
|
13
|
+
isDoneButtonFollowTheme?: boolean;
|
|
14
|
+
doneButtonBackgroundColor?: string;
|
|
15
|
+
doneButtonTextColor?: string;
|
|
16
|
+
isShowMainText?: boolean;
|
|
17
|
+
mainTextColor?: string;
|
|
18
|
+
isShowSubText?: boolean;
|
|
19
|
+
subTextColor?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
|
|
26
26
|
&-title {
|
|
27
27
|
color: var(--Gray-900, #101828);
|
|
28
|
-
font-family: Inter;
|
|
29
28
|
font-size: 16px;
|
|
30
29
|
font-weight: 600;
|
|
31
30
|
line-height: 40px;
|
|
@@ -114,7 +113,7 @@
|
|
|
114
113
|
display: flex;
|
|
115
114
|
align-items: center;
|
|
116
115
|
justify-content: center;
|
|
117
|
-
background:none;
|
|
116
|
+
background: none;
|
|
118
117
|
cursor: pointer;
|
|
119
118
|
transition: width 300ms ease;
|
|
120
119
|
user-select: none;
|
|
@@ -54,7 +54,7 @@ var PisellAvatar = function PisellAvatar(_ref) {
|
|
|
54
54
|
var mergedStyle = _objectSpread(_objectSpread({}, style), {}, {
|
|
55
55
|
width: sizeMap[size],
|
|
56
56
|
height: sizeMap[size],
|
|
57
|
-
fontSize:
|
|
57
|
+
fontSize: fontSizeMap[size],
|
|
58
58
|
lineHeight: "".concat(sizeMap[size], "px"),
|
|
59
59
|
borderRadius: shape === 'square' ? "".concat(borderRadius, "px") : '50%'
|
|
60
60
|
});
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { PisellCheckboxGroupProps } from '../pisellCheckboxGroup';
|
|
3
3
|
import { PisellContextType } from '../pisell-config-provider/context';
|
|
4
4
|
import { PisellWalletPassCardProps } from '../pisellWalletPassCard';
|
|
5
|
+
import './index.less';
|
|
5
6
|
export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'options'> {
|
|
6
7
|
platform?: PisellContextType['platform'];
|
|
7
8
|
/** 当用户查看完所有记录时,底部会显示此消息 */
|
|
@@ -38,6 +39,35 @@ export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'opt
|
|
|
38
39
|
showCover?: boolean;
|
|
39
40
|
/** 是否余额货币单位 */
|
|
40
41
|
showBalanceSymbol?: boolean;
|
|
42
|
+
/** 卡片大小 */
|
|
43
|
+
type?: 'default' | 'mini';
|
|
44
|
+
/** 展示操作按钮 */
|
|
45
|
+
showActions?: boolean;
|
|
46
|
+
/** 操作按钮配置 */
|
|
47
|
+
actions?: {
|
|
48
|
+
/** 按钮展示方式 */
|
|
49
|
+
layout: 'expanded' | 'collapsed';
|
|
50
|
+
/** detail 按钮配置 */
|
|
51
|
+
detail?: {
|
|
52
|
+
visible: boolean;
|
|
53
|
+
iconColor: string;
|
|
54
|
+
};
|
|
55
|
+
/** edit按钮配置 */
|
|
56
|
+
edit?: {
|
|
57
|
+
visible: boolean;
|
|
58
|
+
iconColor: string;
|
|
59
|
+
dialogTitle: string;
|
|
60
|
+
enableDialog: boolean;
|
|
61
|
+
fields: {
|
|
62
|
+
name: string;
|
|
63
|
+
label: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
/** 编辑编辑按钮后,弹窗展示之前 */
|
|
68
|
+
beforeEdit?: (value: any, index: number) => Promise<any> | boolean | void;
|
|
69
|
+
/** 编辑弹窗点击提交 */
|
|
70
|
+
onConfirmEdit?: (value: any, index: number) => void;
|
|
41
71
|
}
|
|
42
|
-
declare const _default: React.
|
|
72
|
+
declare const _default: React.NamedExoticComponent<PisellCardListProps>;
|
|
43
73
|
export default _default;
|