@pisell/materials 6.3.19 → 6.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +4 -4
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +145 -145
- package/build/lowcode/render/default/view.js +45 -31
- package/build/lowcode/view.js +38 -24
- package/es/components/DragSortList/index.d.ts +1 -1
- package/es/components/MultipleContainersSortList/index.d.ts +1 -1
- package/es/components/Pagination/index.d.ts +2 -2
- package/es/components/appVersionControl/index.d.ts +1 -2
- package/es/components/auto-complete-number/index.d.ts +1 -2
- package/es/components/badge/index.d.ts +1 -2
- package/es/components/batch-editor/fields/Image/index.d.ts +1 -1
- package/es/components/batch-editor/fields/Text/index.d.ts +1 -1
- package/es/components/batch-editor/fields/index.d.ts +2 -2
- package/es/components/batch-editor/index.d.ts +1 -2
- package/es/components/browserSelect/index.d.ts +1 -1
- package/es/components/calendar/index.d.ts +1 -1
- package/es/components/cardMetricItem/index.d.ts +1 -1
- package/es/components/cardPro/index.d.ts +1 -2
- package/es/components/checkbox/index.d.ts +1 -1
- package/es/components/classicLayout/index.d.ts +1 -2
- package/es/components/colorPicker/index.d.ts +1 -2
- package/es/components/config-provider/index.d.ts +1 -2
- package/es/components/customSelect/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -2
- package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceShow/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -2
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +2 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -36
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +5 -5
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/index.d.ts +4 -5
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +5 -5
- package/es/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +3 -8
- package/es/components/date-picker/datePickerCpt.d.ts +1 -2
- package/es/components/date-picker/index.d.ts +1 -2
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -2
- package/es/components/dropdown/index.d.ts +1 -2
- package/es/components/filter/components/items/index.d.ts +6 -6
- package/es/components/filter/components/items/text/Editor/index.d.ts +1 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +1 -1
- package/es/components/filter/components/items/text/index.d.ts +2 -2
- package/es/components/filter/index.d.ts +1 -2
- package/es/components/list/index.d.ts +1 -2
- package/es/components/lowCodePage/index.d.ts +1 -2
- package/es/components/page/index.d.ts +1 -2
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
- package/es/components/pisellAdjustPrice/index.d.ts +1 -2
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAlert/index.d.ts +1 -1
- package/es/components/pisellCard/index.d.ts +1 -2
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/es/components/pisellCountdown/index.d.ts +1 -1
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -2
- package/es/components/pisellDatePicker/index.d.ts +1 -2
- package/es/components/pisellDraggable/components/Remove/Remove.d.ts +2 -2
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +1 -1
- package/es/components/pisellDraggable/index.d.ts +2 -2
- package/es/components/pisellDropSort/components/SortableItem/index.d.ts +1 -1
- package/es/components/pisellEmpty/index.d.ts +1 -1
- package/es/components/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellGoodPassCard/index.d.ts +1 -1
- package/es/components/pisellInformationEntry/Input/index.d.ts +1 -1
- package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -2
- package/es/components/pisellInformationEntry/index.d.ts +1 -1
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -2
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -2
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -2
- package/es/components/pisellInput/index.d.ts +4 -5
- package/es/components/pisellLoading/index.d.ts +1 -2
- package/es/components/pisellModal/components/Information/index.d.ts +1 -1
- package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -2
- package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -2
- package/es/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/es/components/pisellModal/components/index.d.ts +3 -4
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellStatisticList/index.d.ts +1 -1
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellText/components/Amount/index.d.ts +1 -1
- package/es/components/pisellText/index.d.ts +2 -2
- package/es/components/pisellTooltip/index.d.ts +1 -2
- package/es/components/pisellUpload/index.d.ts +1 -2
- package/es/components/pisellWalletPassCard/index.d.ts +1 -2
- package/es/components/productCard/components/Action/index.d.ts +1 -2
- package/es/components/productCard/components/AmountFooter/index.d.ts +1 -2
- package/es/components/productCard/components/Divider/index.d.ts +1 -2
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -2
- package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -2
- package/es/components/productCard/components/Header/index.d.ts +1 -2
- package/es/components/productCard/components/MultiDay/index.d.ts +1 -2
- package/es/components/productCard/components/Note/index.d.ts +1 -2
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -2
- package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -2
- package/es/components/productCard/components/Packages/index.d.ts +1 -2
- package/es/components/productCard/components/Sales/index.d.ts +1 -2
- package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -2
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -2
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -2
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -2
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -2
- package/es/components/productCard/components/Time/index.d.ts +1 -2
- package/es/components/qrcode/index.d.ts +1 -2
- package/es/components/radio/index.d.ts +1 -1
- package/es/components/section-footers/index.d.ts +1 -1
- package/es/components/segmented/index.d.ts +1 -2
- package/es/components/select-time/RightPanel/index.d.ts +1 -2
- package/es/components/select-time/index.d.ts +1 -2
- package/es/components/skeleton/index.d.ts +1 -1
- package/es/components/slider/index.d.ts +1 -2
- package/es/components/sort/components/InlineMenu/index.d.ts +1 -2
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -2
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -2
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -2
- package/es/components/table/Actions/component/Group/index.d.ts +1 -2
- package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -2
- package/es/components/table/Actions/index.d.ts +1 -2
- package/es/components/table/BasicTable/index.d.ts +1 -2
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -2
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -2
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -2
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +1 -1
- package/es/components/table/Gallery/components/VirtualGrid/index.d.ts +1 -1
- package/es/components/table/Gallery/index.d.ts +1 -1
- package/es/components/table/Header/index.d.ts +1 -1
- package/es/components/table/Summary/index.d.ts +1 -2
- package/es/components/table/Table/SelectField/index.d.ts +1 -2
- package/es/components/table/Table/fields/date/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/date/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/date/index.d.ts +3 -3
- package/es/components/table/Table/fields/image/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/image/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/image/index.d.ts +3 -4
- package/es/components/table/Table/fields/index.d.ts +75 -75
- package/es/components/table/Table/fields/link/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/link/index.d.ts +3 -4
- package/es/components/table/Table/fields/number/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/number/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/number/index.d.ts +3 -4
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/numberRange/index.d.ts +3 -4
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +3 -3
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/pSwitch/index.d.ts +3 -4
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/rangePicker/index.d.ts +3 -3
- package/es/components/table/Table/fields/search/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/search/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/search/index.d.ts +3 -4
- package/es/components/table/Table/fields/select/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/select/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/select/index.d.ts +3 -3
- package/es/components/table/Table/fields/text/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/text/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/text/index.d.ts +3 -3
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -2
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/treeSelect/index.d.ts +3 -3
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -2
- package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -2
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/TableFilter/SortIcon.d.ts +1 -2
- package/es/components/table/View/index.d.ts +1 -2
- package/es/components/table/hooks/useMergeColumnSetting.d.ts +1 -1
- package/es/components/table/hooks/useTableSetting.d.ts +1 -1
- package/es/components/table/model.d.ts +1 -1
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +1 -1
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/versionSelect/index.d.ts +1 -2
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -2
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -2
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -2
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Time/utils.d.ts +1 -1
- package/es/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/components/walletCard/Guest/index.d.ts +1 -2
- package/es/components/walletCard/Guide/index.d.ts +1 -2
- package/es/utils/hoc.d.ts +5 -5
- package/es/utils/miniRedux.d.ts +1 -1
- package/lib/components/DragSortList/index.d.ts +1 -1
- package/lib/components/MultipleContainersSortList/index.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +2 -2
- package/lib/components/appVersionControl/index.d.ts +1 -2
- package/lib/components/auto-complete-number/index.d.ts +1 -2
- package/lib/components/badge/index.d.ts +1 -2
- package/lib/components/batch-editor/fields/Image/index.d.ts +1 -1
- package/lib/components/batch-editor/fields/Text/index.d.ts +1 -1
- package/lib/components/batch-editor/fields/index.d.ts +2 -2
- package/lib/components/batch-editor/index.d.ts +1 -2
- package/lib/components/browserSelect/index.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +1 -1
- package/lib/components/cardMetricItem/index.d.ts +1 -1
- package/lib/components/cardPro/index.d.ts +1 -2
- package/lib/components/checkbox/index.d.ts +1 -1
- package/lib/components/classicLayout/index.d.ts +1 -2
- package/lib/components/colorPicker/index.d.ts +1 -2
- package/lib/components/config-provider/index.d.ts +1 -2
- package/lib/components/customSelect/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -2
- package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceShow/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +2 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -36
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +5 -5
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/index.d.ts +4 -5
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +5 -5
- package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +3 -8
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -2
- package/lib/components/date-picker/index.d.ts +1 -2
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -2
- package/lib/components/dropdown/index.d.ts +1 -2
- package/lib/components/filter/components/items/index.d.ts +6 -6
- package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -1
- package/lib/components/filter/components/items/text/index.d.ts +2 -2
- package/lib/components/filter/index.d.ts +1 -2
- package/lib/components/list/index.d.ts +1 -2
- package/lib/components/lowCodePage/index.d.ts +1 -2
- package/lib/components/page/index.d.ts +1 -2
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -2
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellCard/index.d.ts +1 -2
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -2
- package/lib/components/pisellDatePicker/index.d.ts +1 -2
- package/lib/components/pisellDraggable/components/Remove/Remove.d.ts +2 -2
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +1 -1
- package/lib/components/pisellDraggable/index.d.ts +2 -2
- package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +1 -1
- package/lib/components/pisellEmpty/index.d.ts +1 -1
- package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
- package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
- package/lib/components/pisellInformationEntry/Input/index.d.ts +1 -1
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -2
- package/lib/components/pisellInformationEntry/index.d.ts +1 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -2
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -2
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -2
- package/lib/components/pisellInput/index.d.ts +4 -5
- package/lib/components/pisellLoading/index.d.ts +1 -2
- package/lib/components/pisellModal/components/Information/index.d.ts +1 -1
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -2
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -2
- package/lib/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/lib/components/pisellModal/components/index.d.ts +3 -4
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellStatisticList/index.d.ts +1 -1
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/components/Amount/index.d.ts +1 -1
- package/lib/components/pisellText/index.d.ts +2 -2
- package/lib/components/pisellTooltip/index.d.ts +1 -2
- package/lib/components/pisellUpload/index.d.ts +1 -2
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -2
- package/lib/components/productCard/components/Action/index.d.ts +1 -2
- package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -2
- package/lib/components/productCard/components/Divider/index.d.ts +1 -2
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -2
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -2
- package/lib/components/productCard/components/Header/index.d.ts +1 -2
- package/lib/components/productCard/components/MultiDay/index.d.ts +1 -2
- package/lib/components/productCard/components/Note/index.d.ts +1 -2
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -2
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -2
- package/lib/components/productCard/components/Packages/index.d.ts +1 -2
- package/lib/components/productCard/components/Sales/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -2
- package/lib/components/productCard/components/Time/index.d.ts +1 -2
- package/lib/components/qrcode/index.d.ts +1 -2
- package/lib/components/radio/index.d.ts +1 -1
- package/lib/components/section-footers/index.d.ts +1 -1
- package/lib/components/segmented/index.d.ts +1 -2
- package/lib/components/select-time/RightPanel/index.d.ts +1 -2
- package/lib/components/select-time/index.d.ts +1 -2
- package/lib/components/skeleton/index.d.ts +1 -1
- package/lib/components/slider/index.d.ts +1 -2
- package/lib/components/sort/components/InlineMenu/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -2
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -2
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -2
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -2
- package/lib/components/table/Actions/index.d.ts +1 -2
- package/lib/components/table/BasicTable/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +1 -1
- package/lib/components/table/Gallery/components/VirtualGrid/index.d.ts +1 -1
- package/lib/components/table/Gallery/index.d.ts +1 -1
- package/lib/components/table/Header/index.d.ts +1 -1
- package/lib/components/table/Summary/index.d.ts +1 -2
- package/lib/components/table/Table/SelectField/index.d.ts +1 -2
- package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/date/index.d.ts +3 -3
- package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/image/index.d.ts +3 -4
- package/lib/components/table/Table/fields/index.d.ts +75 -75
- package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/link/index.d.ts +3 -4
- package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/number/index.d.ts +3 -4
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/numberRange/index.d.ts +3 -4
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +3 -3
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +3 -4
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +3 -3
- package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/search/index.d.ts +3 -4
- package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/select/index.d.ts +3 -3
- package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/text/index.d.ts +3 -3
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -2
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -2
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -2
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +3 -3
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -2
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -2
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/TableFilter/SortIcon.d.ts +1 -2
- package/lib/components/table/View/index.d.ts +1 -2
- package/lib/components/table/hooks/useMergeColumnSetting.d.ts +1 -1
- package/lib/components/table/hooks/useTableSetting.d.ts +1 -1
- package/lib/components/table/model.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +1 -1
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/versionSelect/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -2
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/components/walletCard/Guest/index.d.ts +1 -2
- package/lib/components/walletCard/Guide/index.d.ts +1 -2
- package/lib/utils/hoc.d.ts +5 -5
- package/lib/utils/miniRedux.d.ts +1 -1
- package/package.json +3 -3
|
@@ -40,16 +40,16 @@ export declare const withFormItem: <P extends object>(WrappedComponent: React.Co
|
|
|
40
40
|
} | undefined) => React.FC<P & WithFormItemProps>;
|
|
41
41
|
export declare const withDataSource: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
42
42
|
dataSource?: any;
|
|
43
|
-
}) =>
|
|
43
|
+
}) => JSX.Element;
|
|
44
44
|
export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
45
45
|
options?: any;
|
|
46
46
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
47
47
|
labelField: string;
|
|
48
48
|
valueField: string;
|
|
49
49
|
extraParams?: Record<string, any> | undefined;
|
|
50
|
-
}) =>
|
|
50
|
+
}) => JSX.Element;
|
|
51
51
|
export declare const getNestedValue: (obj: Record<string, any>, path: string) => Record<string, any>;
|
|
52
|
-
export declare const renderValueWithMap: (value: any, valueMap?: Record<string, string>, renderMode?: ModeType) =>
|
|
52
|
+
export declare const renderValueWithMap: (value: any, valueMap?: Record<string, string>, renderMode?: ModeType) => JSX.Element | null;
|
|
53
53
|
export declare function toArr(str: string | number | (string | number)[]): (string | number)[];
|
|
54
54
|
export declare const filterSystemFields: (params: Record<string, any>) => Record<string, any>;
|
|
55
55
|
export declare const transformFormObjToArrayWithUntouched: (obj: Record<string, any>) => any[];
|
|
@@ -4,5 +4,5 @@ import { PisellMenuProps } from '../../pisellMenu/types';
|
|
|
4
4
|
* @title: 数据源表单组件
|
|
5
5
|
* @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
|
|
6
6
|
*/
|
|
7
|
-
declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) =>
|
|
7
|
+
declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) => JSX.Element;
|
|
8
8
|
export default DataSourceMenu;
|
|
@@ -4,7 +4,7 @@ interface DataSourceTypographyProps {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
declare const DataSourceTypography: {
|
|
7
|
-
(props: DataSourceTypographyProps):
|
|
8
|
-
Text: (props: import("../utils").ParsedProps) =>
|
|
7
|
+
(props: DataSourceTypographyProps): JSX.Element;
|
|
8
|
+
Text: (props: import("../utils").ParsedProps) => JSX.Element;
|
|
9
9
|
};
|
|
10
10
|
export default DataSourceTypography;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
export interface ParsedProps {
|
|
3
3
|
[key: string]: unknown;
|
|
4
4
|
}
|
|
5
|
-
declare const withParseVariables: <P extends ParsedProps>(Component: React.ComponentType<P>, keys: string[]) => (props: P) =>
|
|
5
|
+
declare const withParseVariables: <P extends ParsedProps>(Component: React.ComponentType<P>, keys: string[]) => (props: P) => JSX.Element;
|
|
6
6
|
export default withParseVariables;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
interface BaseFilterItem {
|
|
4
3
|
name?: string;
|
|
@@ -24,5 +23,5 @@ interface FilterProps {
|
|
|
24
23
|
};
|
|
25
24
|
getInitialValues?: () => Record<string, any>;
|
|
26
25
|
}
|
|
27
|
-
declare const Filter: (props: FilterProps) =>
|
|
26
|
+
declare const Filter: (props: FilterProps) => JSX.Element;
|
|
28
27
|
export default Filter;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { FilterItemProps } from '../../../filter/types';
|
|
3
2
|
import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
|
|
4
3
|
export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
|
|
5
|
-
export declare const field2Cpt: (field: Field, item: any, otherProps?: any) =>
|
|
6
|
-
export declare const genFilterItems: (list: FilterItemProps[], dataSource?: DataSourceType) => (
|
|
4
|
+
export declare const field2Cpt: (field: Field, item: any, otherProps?: any) => JSX.Element | null;
|
|
5
|
+
export declare const genFilterItems: (list: FilterItemProps[], dataSource?: DataSourceType) => (JSX.Element | null)[];
|
|
7
6
|
export declare const getStoredFilterOrder: (componentId: string) => any;
|
|
8
7
|
export declare const saveFilterOrder: (componentId: string, order: any) => void;
|
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Drawer } from 'antd';
|
|
3
|
-
import { OperationItem } from '../type';
|
|
4
1
|
declare const useDrawerState: (operationContent?: {
|
|
5
2
|
[key: string]: import("react").ReactNode;
|
|
6
|
-
} | undefined) =>
|
|
7
|
-
drawerVisible: boolean;
|
|
8
|
-
setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
9
|
-
openDrawer: (item: OperationItem) => void;
|
|
10
|
-
closeDrawer: () => void;
|
|
11
|
-
drawerContent: import("react").ReactNode;
|
|
12
|
-
Container: {
|
|
13
|
-
(props: import("../../../pisellModal").PisellModalProps): import("react").JSX.Element;
|
|
14
|
-
confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
|
|
15
|
-
destroy: () => void;
|
|
16
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
17
|
-
};
|
|
18
|
-
info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
|
|
19
|
-
destroy: () => void;
|
|
20
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
21
|
-
};
|
|
22
|
-
error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
|
|
23
|
-
destroy: () => void;
|
|
24
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
25
|
-
};
|
|
26
|
-
warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
|
|
27
|
-
warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
|
|
28
|
-
destroy: () => void;
|
|
29
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
30
|
-
};
|
|
31
|
-
success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
|
|
32
|
-
destroy: () => void;
|
|
33
|
-
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
34
|
-
};
|
|
35
|
-
Information: (props: import("../../../pisellModal/components/Information").InformationProps) => import("react").JSX.Element;
|
|
36
|
-
} | typeof Drawer;
|
|
37
|
-
containerProps: {};
|
|
38
|
-
};
|
|
3
|
+
} | undefined) => any;
|
|
39
4
|
export default useDrawerState;
|
|
@@ -41,8 +41,8 @@ export declare type FilterCondition = {
|
|
|
41
41
|
[key: string]: FilterConditionValue;
|
|
42
42
|
} | AndFilterValue;
|
|
43
43
|
declare const useFormat: ({ dataSourceKey, fields }: UseFormatParams) => {
|
|
44
|
-
formatListResult: (
|
|
45
|
-
formatListParams: (
|
|
46
|
-
formatCreateUpdateParams: (
|
|
44
|
+
formatListResult: (res: FormatListResultParams) => ListResult;
|
|
45
|
+
formatListParams: (params: any) => any;
|
|
46
|
+
formatCreateUpdateParams: (params: any) => any;
|
|
47
47
|
};
|
|
48
48
|
export default useFormat;
|
|
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
|
|
|
19
19
|
*/
|
|
20
20
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
21
21
|
currentComponentId: any;
|
|
22
|
-
title: number | boolean |
|
|
22
|
+
title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
23
23
|
pagination: {
|
|
24
24
|
total: number;
|
|
25
25
|
current: number;
|
|
@@ -28,13 +28,13 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
28
28
|
showSizeChanger: boolean;
|
|
29
29
|
};
|
|
30
30
|
columns: import("./useColumns").Column[];
|
|
31
|
-
subTitle: number | boolean |
|
|
31
|
+
subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
32
32
|
buttons: any[] | null;
|
|
33
33
|
filter: {
|
|
34
34
|
dom: any;
|
|
35
35
|
items: any;
|
|
36
36
|
} | null;
|
|
37
|
-
onRow: (
|
|
37
|
+
onRow: (record: any) => any;
|
|
38
38
|
actionButtons: any[] | null;
|
|
39
39
|
__id?: string | undefined;
|
|
40
40
|
currentSettingKey?: string | undefined;
|
|
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
52
52
|
show: boolean;
|
|
53
53
|
title: string;
|
|
54
54
|
width: number;
|
|
55
|
-
align: "
|
|
55
|
+
align: "center" | "left" | "right";
|
|
56
56
|
fixed: false | "left" | "right";
|
|
57
57
|
type: "link" | "button";
|
|
58
58
|
items: OperationItem[];
|
|
@@ -24,10 +24,10 @@ declare const useTableQuery: (props: DataSourceTableProps, currentSettingHash: s
|
|
|
24
24
|
filter: Record<string, any>;
|
|
25
25
|
sort: string;
|
|
26
26
|
}>>;
|
|
27
|
-
handleValuesChange: (
|
|
28
|
-
refreshData: (
|
|
29
|
-
handleFilterChange: (
|
|
30
|
-
refreshCurrentPage: (
|
|
31
|
-
getInitialValues: (
|
|
27
|
+
handleValuesChange: (params: Params, allParams: Params) => void;
|
|
28
|
+
refreshData: () => void;
|
|
29
|
+
handleFilterChange: (changedFields: any, allFields: any) => void;
|
|
30
|
+
refreshCurrentPage: () => void;
|
|
31
|
+
getInitialValues: () => Record<string, any>;
|
|
32
32
|
};
|
|
33
33
|
export default useTableQuery;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
|
|
3
|
-
declare const DataSourceWrapper: (props: DataSourceContextProps) =>
|
|
2
|
+
declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
|
|
4
3
|
export default DataSourceWrapper;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ColorPickerProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const ColorPickerReadPretty: (props: ColorPickerProps) =>
|
|
3
|
+
declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
|
|
5
4
|
export default ColorPickerReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DateRangePickerProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const DateRangePickerReadPretty: (props: DateRangePickerProps) =>
|
|
3
|
+
declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
|
|
5
4
|
export default DateRangePickerReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconSelectProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const IconSelectReadPretty: (props: IconSelectProps) =>
|
|
3
|
+
declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
|
|
5
4
|
export default IconSelectReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { InputProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const InputReadPretty: (props: InputProps) =>
|
|
3
|
+
declare const InputReadPretty: (props: InputProps) => JSX.Element;
|
|
5
4
|
export default InputReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { InputProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const InputReadPretty: (props: InputProps) =>
|
|
3
|
+
declare const InputReadPretty: (props: InputProps) => JSX.Element;
|
|
5
4
|
export default InputReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { JsonProps } from "./type";
|
|
3
2
|
import "./ReadPretty.less";
|
|
4
|
-
declare const JsonReadPretty: (props: JsonProps) =>
|
|
3
|
+
declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
|
|
5
4
|
export default JsonReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { PasswordProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const PasswordReadPretty: (props: PasswordProps) =>
|
|
3
|
+
declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
|
|
5
4
|
export default PasswordReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { InputProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const InputReadPretty: (props: InputProps) =>
|
|
3
|
+
declare const InputReadPretty: (props: InputProps) => JSX.Element;
|
|
5
4
|
export default InputReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TextAreaProps } from "./type";
|
|
3
2
|
import "./ReadPretty.less";
|
|
4
|
-
declare const TextAreaReadPretty: (props: TextAreaProps) =>
|
|
3
|
+
declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
|
|
5
4
|
export default TextAreaReadPretty;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { UrlProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
3
|
export declare const formatUrl: (url: string) => string;
|
|
5
|
-
declare const UrlReadPretty: (props: UrlProps) =>
|
|
4
|
+
declare const UrlReadPretty: (props: UrlProps) => JSX.Element;
|
|
6
5
|
export default UrlReadPretty;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
2
|
options?: any;
|
|
4
3
|
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
@@ -7,5 +6,5 @@ declare const SelectWithDataSource: (props: import("antd").SelectProps<any, impo
|
|
|
7
6
|
extraParams?: Record<string, any> | undefined;
|
|
8
7
|
} & {
|
|
9
8
|
dataSource?: any;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => JSX.Element;
|
|
11
10
|
export default SelectWithDataSource;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TimePickerProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const TimePickerReadPretty: (props: TimePickerProps) =>
|
|
3
|
+
declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
|
|
5
4
|
export default TimePickerReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TranslationProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const TranslationReadPretty: (props: TranslationProps) =>
|
|
3
|
+
declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
|
|
5
4
|
export default TranslationReadPretty;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { UploadProps } from './type';
|
|
3
2
|
import './ReadPretty.less';
|
|
4
|
-
declare const UploadReadPretty: (props: UploadProps) =>
|
|
3
|
+
declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
|
|
5
4
|
export default UploadReadPretty;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const formFieldMap: {
|
|
3
2
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
4
3
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -41,7 +40,7 @@ declare const formFieldMap: {
|
|
|
41
40
|
extraParams?: Record<string, any> | undefined;
|
|
42
41
|
} & {
|
|
43
42
|
dataSource?: any;
|
|
44
|
-
}) =>
|
|
43
|
+
}) => JSX.Element;
|
|
45
44
|
FormItemInputNumber: import("react").FC<any>;
|
|
46
45
|
FormItemPercent: import("react").FC<any>;
|
|
47
46
|
FormItemTimePicker: import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -60,11 +59,11 @@ declare const formFieldMap: {
|
|
|
60
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
61
|
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
64
63
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
65
64
|
} & {
|
|
66
65
|
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> |
|
|
66
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
68
67
|
JSON: import("react").FC<any>;
|
|
69
68
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
70
69
|
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>;
|
|
@@ -96,7 +95,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
96
95
|
extraParams?: Record<string, any> | undefined;
|
|
97
96
|
} & {
|
|
98
97
|
dataSource?: any;
|
|
99
|
-
}) =>
|
|
98
|
+
}) => JSX.Element) | 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
99
|
onChange: (value: string) => void;
|
|
101
100
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
101
|
export { getFieldComponent, formFieldMap };
|
|
@@ -6,13 +6,13 @@ export interface UseActionsParams {
|
|
|
6
6
|
extraParams?: Record<string, any>;
|
|
7
7
|
}
|
|
8
8
|
declare const useActions: ({ dataSource: propsDataSource, currentValue: propsCurrentValue, __designMode, extraParams: propsExtraParams, }?: UseActionsParams) => {
|
|
9
|
-
create: (
|
|
10
|
-
get: (
|
|
11
|
-
update: (
|
|
12
|
-
list: (
|
|
9
|
+
create: (values: Record<string, any>) => Promise<any>;
|
|
10
|
+
get: () => Promise<any>;
|
|
11
|
+
update: (values: Record<string, any>) => Promise<any>;
|
|
12
|
+
list: (params: {
|
|
13
13
|
page: number;
|
|
14
14
|
pageSize: number;
|
|
15
15
|
}) => Promise<any>;
|
|
16
|
-
destroy: (
|
|
16
|
+
destroy: (id: string) => Promise<any>;
|
|
17
17
|
};
|
|
18
18
|
export default useActions;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Collection } from '../dataSourceForm/serve';
|
|
2
|
+
declare type Actions = Collection['actions'];
|
|
2
3
|
declare const useParseActionsVariable: () => {
|
|
3
|
-
parseActions: (
|
|
4
|
-
get: ActionsItem;
|
|
5
|
-
update: ActionsItem;
|
|
6
|
-
create: ActionsItem;
|
|
7
|
-
delete: ActionsItem;
|
|
8
|
-
list: ActionsItem;
|
|
9
|
-
}, localVariables: Record<string, any>) => Record<string, any>;
|
|
4
|
+
parseActions: (actions: Actions, localVariables: Record<string, any>) => Record<string, any>;
|
|
10
5
|
};
|
|
11
6
|
export default useParseActionsVariable;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
|
|
3
2
|
import { Dayjs } from 'dayjs';
|
|
4
3
|
import './index.less';
|
|
5
4
|
interface DatePickerCptProps extends PickerDateProps<Dayjs> {
|
|
6
5
|
showTime: any;
|
|
7
6
|
}
|
|
8
|
-
declare const DatePickerCpt: (props: DatePickerCptProps) =>
|
|
7
|
+
declare const DatePickerCpt: (props: DatePickerCptProps) => JSX.Element;
|
|
9
8
|
export default DatePickerCpt;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
import { ValueProps, SortType } from '../types';
|
|
3
|
+
declare type IdType = string | number;
|
|
4
|
+
declare type TreeItemProps = {
|
|
5
|
+
id: string | number;
|
|
6
|
+
key: string | number;
|
|
7
|
+
item: ValueProps | any;
|
|
8
|
+
depth: number;
|
|
9
|
+
lists: any[];
|
|
10
|
+
childrenProps?: SortType;
|
|
11
|
+
sensors?: any;
|
|
12
|
+
expandedKeys?: IdType[];
|
|
13
|
+
setExpandedKeys?: any;
|
|
14
|
+
onSelectKeys?: (ids: IdType) => void;
|
|
15
|
+
onChange?: (value: any[]) => void;
|
|
16
|
+
};
|
|
17
|
+
declare const TreeItem: (props: TreeItemProps) => JSX.Element;
|
|
18
|
+
export default TreeItem;
|
|
@@ -6,8 +6,8 @@ export declare const fieldMaps: {
|
|
|
6
6
|
field_type: string;
|
|
7
7
|
default_value: string;
|
|
8
8
|
};
|
|
9
|
-
Preview: (props: any) =>
|
|
10
|
-
Editor: () =>
|
|
9
|
+
Preview: (props: any) => JSX.Element;
|
|
10
|
+
Editor: () => JSX.Element;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export declare const fieldList: {
|
|
@@ -23,8 +23,8 @@ export declare const getFieldByType: (type: string) => {
|
|
|
23
23
|
field_type: string;
|
|
24
24
|
default_value: string;
|
|
25
25
|
};
|
|
26
|
-
Preview: (props: any) =>
|
|
27
|
-
Editor: () =>
|
|
26
|
+
Preview: (props: any) => JSX.Element;
|
|
27
|
+
Editor: () => JSX.Element;
|
|
28
28
|
};
|
|
29
29
|
declare const _default: {
|
|
30
30
|
text: {
|
|
@@ -34,8 +34,8 @@ declare const _default: {
|
|
|
34
34
|
field_type: string;
|
|
35
35
|
default_value: string;
|
|
36
36
|
};
|
|
37
|
-
Preview: (props: any) =>
|
|
38
|
-
Editor: () =>
|
|
37
|
+
Preview: (props: any) => JSX.Element;
|
|
38
|
+
Editor: () => JSX.Element;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Text: () =>
|
|
1
|
+
declare const Text: () => JSX.Element;
|
|
2
2
|
export default Text;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Text: (props: any) =>
|
|
1
|
+
declare const Text: (props: any) => JSX.Element;
|
|
2
2
|
export default Text;
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
field_type: string;
|
|
6
6
|
default_value: string;
|
|
7
7
|
};
|
|
8
|
-
Preview: (props: any) =>
|
|
9
|
-
Editor: () =>
|
|
8
|
+
Preview: (props: any) => JSX.Element;
|
|
9
|
+
Editor: () => JSX.Element;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ConfigProviderProps } from '../config-provider';
|
|
3
2
|
interface PageProps extends ConfigProviderProps {
|
|
4
3
|
}
|
|
5
|
-
declare const Page: (props: PageProps) =>
|
|
4
|
+
declare const Page: (props: PageProps) => JSX.Element;
|
|
6
5
|
export default Page;
|
|
@@ -10,5 +10,5 @@ interface PageHeaderProps {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
style?: React.CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
declare const PageHeader: (props: PageHeaderProps) =>
|
|
13
|
+
declare const PageHeader: (props: PageHeaderProps) => JSX.Element | null;
|
|
14
14
|
export default PageHeader;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { InputNumberProps } from 'antd/es/input-number';
|
|
3
2
|
export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
|
|
4
3
|
value?: number;
|
|
@@ -6,5 +5,5 @@ export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps
|
|
|
6
5
|
defaultValue?: number;
|
|
7
6
|
onChange?: (val: number) => void;
|
|
8
7
|
}
|
|
9
|
-
declare const PisellAdjustPriceInputNumber: (props: PisellAdjustPriceInputNumberProps) =>
|
|
8
|
+
declare const PisellAdjustPriceInputNumber: (props: PisellAdjustPriceInputNumberProps) => JSX.Element;
|
|
10
9
|
export default PisellAdjustPriceInputNumber;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
import { PisellAdjustPriceProps } from './type';
|
|
4
|
-
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) =>
|
|
3
|
+
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
|
|
5
4
|
export default PisellAdjustPrice;
|