@pisell/materials 6.4.19 → 6.4.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 +7 -7
- package/build/lowcode/preview.js +143 -143
- package/build/lowcode/render/default/view.js +21 -21
- package/build/lowcode/view.js +22 -22
- package/es/components/appVersionControl/index.d.ts +5 -0
- package/es/components/auto-complete-number/index.d.ts +0 -1
- package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
- package/es/components/auto-resize-text/index.d.ts +6 -0
- package/es/components/badge/index.d.ts +0 -1
- package/es/components/batch-editor/fields/index.d.ts +0 -1
- package/es/components/calendar/index.d.ts +0 -1
- package/es/components/cardPro/index.d.ts +3 -0
- package/es/components/checkbox/index.d.ts +0 -1
- package/es/components/classicLayout/index.d.ts +0 -1
- package/es/components/colorPicker/index.d.ts +0 -1
- package/es/components/config-provider/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
- package/es/components/drag-sort-tree/index.d.ts +4 -0
- 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/iconfont/index.js +1 -1
- package/es/components/keyboard/index.d.ts +22 -0
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/page/index.d.ts +5 -0
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisell-config-provider/index.d.ts +13 -0
- package/es/components/pisell-config-provider/index.js +0 -1
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellCard/index.d.ts +0 -1
- package/es/components/pisellCardList/index.d.ts +4 -0
- package/es/components/pisellCardList/index.js +5 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- 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/pisellQrcode/index.d.ts +10 -0
- package/es/components/pisellText/components/Amount/index.d.ts +20 -0
- package/es/components/pisellToast/index.d.ts +17 -0
- package/es/components/pisellToast/squareToast/index.d.ts +15 -0
- package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
- package/es/components/pisellToast/squareToast/toast.d.ts +25 -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 +4 -0
- package/es/components/pisellWalletPassCard/index.js +17 -4
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
- package/es/components/productCard/components/Action/index.d.ts +3 -0
- package/es/components/productCard/components/Divider/index.d.ts +0 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/index.d.ts +3 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/productCard/components/Time/index.d.ts +4 -0
- package/es/components/productCard/locales.d.ts +84 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +84 -0
- package/es/components/radio/index.d.ts +0 -1
- package/es/components/segmented/index.d.ts +0 -1
- package/es/components/select-time/RightPanel/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/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/ExportImport/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/index.d.ts +1 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Gallery/index.d.ts +5 -0
- package/es/components/table/Summary/index.d.ts +0 -1
- package/es/components/table/Table/AddFieldModal/index.d.ts +4 -0
- package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Sort/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/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Sort/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/Sort/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/Sort/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/pSwitch/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Sort/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/search/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Sort/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/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Sort/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/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +161 -0
- package/es/components/table/hooks/useTableSetting.d.ts +21 -0
- package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
- package/es/components/table/types.d.ts +268 -0
- package/es/components/time-picker/index.d.ts +0 -1
- package/es/components/translation/index.d.ts +14 -0
- package/es/components/upload/index.d.ts +0 -1
- package/es/components/versionModal/index.d.ts +23 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
- package/es/components/virtual-keyboard/index.d.ts +25 -0
- package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
- package/es/components/virtualInput/index.d.ts +24 -0
- package/es/components/walletCard/Guest/index.d.ts +0 -1
- package/es/components/walletCard/Guide/index.d.ts +0 -1
- package/es/locales/en-US.d.ts +1 -0
- package/es/locales/en-US.js +1 -0
- package/es/locales/zh-CN.d.ts +1 -0
- package/es/locales/zh-CN.js +1 -0
- package/es/locales/zh-TW.d.ts +1 -0
- package/es/locales/zh-TW.js +1 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/appVersionControl/index.d.ts +5 -0
- package/lib/components/auto-complete-number/index.d.ts +0 -1
- package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
- package/lib/components/auto-resize-text/index.d.ts +6 -0
- package/lib/components/badge/index.d.ts +0 -1
- package/lib/components/batch-editor/fields/index.d.ts +0 -1
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/cardPro/index.d.ts +3 -0
- 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/BaseForm.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
- package/lib/components/drag-sort-tree/index.d.ts +4 -0
- 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/iconfont/index.js +1 -1
- package/lib/components/keyboard/index.d.ts +22 -0
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/page/index.d.ts +5 -0
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisell-config-provider/index.d.ts +13 -0
- package/lib/components/pisell-config-provider/index.js +0 -1
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellCard/index.d.ts +0 -1
- package/lib/components/pisellCardList/index.d.ts +4 -0
- package/lib/components/pisellCardList/index.js +5 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- 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/pisellQrcode/index.d.ts +10 -0
- package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
- package/lib/components/pisellToast/index.d.ts +17 -0
- package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
- package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
- package/lib/components/pisellToast/squareToast/toast.d.ts +25 -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 +4 -0
- package/lib/components/pisellWalletPassCard/index.js +12 -2
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
- package/lib/components/productCard/components/Action/index.d.ts +3 -0
- package/lib/components/productCard/components/Divider/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/index.d.ts +3 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +4 -0
- package/lib/components/productCard/locales.d.ts +84 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +84 -0
- package/lib/components/radio/index.d.ts +0 -1
- package/lib/components/segmented/index.d.ts +0 -1
- package/lib/components/select-time/RightPanel/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/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/ExportImport/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Gallery/index.d.ts +5 -0
- package/lib/components/table/Summary/index.d.ts +0 -1
- package/lib/components/table/Table/AddFieldModal/index.d.ts +4 -0
- package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Sort/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/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Sort/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/Sort/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/Sort/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/pSwitch/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Sort/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/search/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Sort/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/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Sort/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/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +161 -0
- package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
- package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
- package/lib/components/table/types.d.ts +268 -0
- package/lib/components/time-picker/index.d.ts +0 -1
- package/lib/components/translation/index.d.ts +14 -0
- package/lib/components/upload/index.d.ts +0 -1
- package/lib/components/versionModal/index.d.ts +23 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
- package/lib/components/virtual-keyboard/index.d.ts +25 -0
- package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
- package/lib/components/virtualInput/index.d.ts +24 -0
- package/lib/components/walletCard/Guest/index.d.ts +0 -1
- package/lib/components/walletCard/Guide/index.d.ts +0 -1
- package/lib/locales/en-US.d.ts +1 -0
- package/lib/locales/en-US.js +1 -0
- package/lib/locales/zh-CN.d.ts +1 -0
- package/lib/locales/zh-CN.js +1 -0
- package/lib/locales/zh-TW.d.ts +1 -0
- package/lib/locales/zh-TW.js +1 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
- package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
- package/es/components/pisellQRScanner/index.d.ts +0 -24
- package/es/components/sortableList/index.d.ts +0 -11
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
- package/es/components/table/serve.d.ts +0 -13
- package/es/components/tabs/index.d.ts +0 -17
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
- package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
- package/lib/components/pisellQRScanner/index.d.ts +0 -24
- package/lib/components/sortableList/index.d.ts +0 -11
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
- package/lib/components/table/serve.d.ts +0 -13
- package/lib/components/tabs/index.d.ts +0 -17
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Presets.less';
|
|
3
|
+
export declare type PresetsItem = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onClick?: (item: PresetsItem, _next: () => void) => void;
|
|
8
|
+
render?: (item: PresetsItem) => React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export interface PresetsProps {
|
|
11
|
+
presets?: PresetsItem[];
|
|
12
|
+
onChange: (val: string) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const Presets: (props: PresetsProps) => JSX.Element | null;
|
|
15
|
+
export default Presets;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface NumberProps {
|
|
2
|
+
max?: number;
|
|
3
|
+
min?: number;
|
|
4
|
+
doneText?: string;
|
|
5
|
+
resetText: string;
|
|
6
|
+
defaultValue?: string | number;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
value?: string | number;
|
|
9
|
+
onChange?: (val: string | number) => void;
|
|
10
|
+
onEnter?: (val: string | number) => void;
|
|
11
|
+
defaultSelect?: boolean;
|
|
12
|
+
selectType?: 'light' | 'dark';
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
containerBackgroundColor?: string;
|
|
15
|
+
buttonBackgroundColor?: string;
|
|
16
|
+
textColor?: string;
|
|
17
|
+
resetButtonBackgroundColor?: string;
|
|
18
|
+
resetButtonTextColor?: string;
|
|
19
|
+
isDoneButtonFollowTheme?: boolean;
|
|
20
|
+
doneButtonBackgroundColor?: string;
|
|
21
|
+
doneButtonTextColor?: string;
|
|
22
|
+
keyboardBackgroundColor?: string;
|
|
23
|
+
keyboardButtonBackgroundColor?: string;
|
|
24
|
+
keyboardButtonTextColor?: string;
|
|
25
|
+
keyboardButtonHoverColor?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { KeyboardProps } from "./Keyboard";
|
|
3
|
+
import { VirtualKeyInputProps } from "./VirtualKeyInput";
|
|
4
|
+
import "./index.less";
|
|
5
|
+
interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
keyboardProps?: KeyboardProps;
|
|
7
|
+
virtualKeyInputProps?: VirtualKeyInputProps;
|
|
8
|
+
rightPanel?: React.ReactNode;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
onChange?: (value?: any) => void;
|
|
11
|
+
value?: string;
|
|
12
|
+
selectType?: 'light' | 'dark';
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
containerBackgroundColor?: string;
|
|
15
|
+
buttonBackgroundColor?: string;
|
|
16
|
+
textColor?: string;
|
|
17
|
+
keyboardBackgroundColor?: string;
|
|
18
|
+
keyboardButtonBackgroundColor?: string;
|
|
19
|
+
keyboardButtonTextColor?: string;
|
|
20
|
+
keyboardButtonHoverColor?: string;
|
|
21
|
+
primaryButtonBackgroundColor?: string;
|
|
22
|
+
primaryButtonTextColor?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
|
|
25
|
+
export default VirtualKeyboard;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface BaseVirtualInputProps {
|
|
4
|
+
/** 输入值 */
|
|
5
|
+
value?: string | React.ReactNode;
|
|
6
|
+
/** 占位符 */
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
/** 是否自动聚焦 */
|
|
9
|
+
autoFocus?: boolean;
|
|
10
|
+
/** 是否禁用 */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** 组件高度,默认60px */
|
|
13
|
+
height?: number | string;
|
|
14
|
+
/** 字体大小,默认48px,如果不设置会根据高度自动计算 */
|
|
15
|
+
fontSize?: number | string;
|
|
16
|
+
/** 聚焦回调 */
|
|
17
|
+
onFocus?: () => void;
|
|
18
|
+
/** 失焦回调 */
|
|
19
|
+
onBlur?: () => void;
|
|
20
|
+
/** 文字位置 */
|
|
21
|
+
textAlign?: 'start' | 'center' | 'end';
|
|
22
|
+
/** 自定义样式 */
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
/** 自定义类名 */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** showCursor */
|
|
27
|
+
showCursor?: boolean;
|
|
28
|
+
/** 防止失焦的元素选择器或ref */
|
|
29
|
+
preventBlurElements?: Array<string | React.RefObject<HTMLElement>>;
|
|
30
|
+
/** 是否聚焦(受控模式) */
|
|
31
|
+
focused?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface BaseVirtualInputRef {
|
|
34
|
+
/** 手动聚焦 */
|
|
35
|
+
focus: () => void;
|
|
36
|
+
/** 手动失焦 */
|
|
37
|
+
blur: () => void;
|
|
38
|
+
}
|
|
39
|
+
declare const BaseVirtualInput: React.ForwardRefExoticComponent<BaseVirtualInputProps & React.RefAttributes<BaseVirtualInputRef>>;
|
|
40
|
+
export default BaseVirtualInput;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseVirtualInputProps, BaseVirtualInputRef } from './BaseVirtualInput';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export { BaseVirtualInputProps, BaseVirtualInputRef } from './BaseVirtualInput';
|
|
5
|
+
export interface VirtualInputProps extends BaseVirtualInputProps {
|
|
6
|
+
/** 在VirtualInput上方显示的额外内容 */
|
|
7
|
+
topContent?: React.ReactNode;
|
|
8
|
+
/** 在VirtualInput下方显示的额外内容 */
|
|
9
|
+
bottomContent?: React.ReactNode;
|
|
10
|
+
/** wrapper class */
|
|
11
|
+
wrapperClassName?: string;
|
|
12
|
+
/** 虚拟输入框包装器的样式 */
|
|
13
|
+
wrapperStyle?: React.CSSProperties;
|
|
14
|
+
/** 是否允许清除输入框中的内容 */
|
|
15
|
+
allowClear?: boolean;
|
|
16
|
+
/** 清除输入框内容的回调函数 */
|
|
17
|
+
onClear?: () => void;
|
|
18
|
+
/** 自定义清除按钮的样式 */
|
|
19
|
+
clearButtonStyle?: React.CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export interface VirtualInputRef extends BaseVirtualInputRef {
|
|
22
|
+
}
|
|
23
|
+
declare const VirtualInput: React.ForwardRefExoticComponent<VirtualInputProps & React.RefAttributes<VirtualInputRef>>;
|
|
24
|
+
export default VirtualInput;
|
package/lib/locales/en-US.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ declare const _default: {
|
|
|
124
124
|
'pisell-wallet-pass-card-redeem': string;
|
|
125
125
|
'pisell-wallet-pass-card-code': string;
|
|
126
126
|
'pisell-wallet-pass-card-valid-to': string;
|
|
127
|
+
'pisell-wallet-pass-card-valid': string;
|
|
127
128
|
'pisell-wallet-pass-card-confirm': string;
|
|
128
129
|
'pisell-wallet-pass-card-cancel': string;
|
|
129
130
|
'pisell-wallet-pass-card-required': string;
|
package/lib/locales/en-US.js
CHANGED
|
@@ -156,6 +156,7 @@ var en_US_default = {
|
|
|
156
156
|
"pisell-wallet-pass-card-redeem": "use",
|
|
157
157
|
"pisell-wallet-pass-card-code": "Code",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "Valid to",
|
|
159
|
+
"pisell-wallet-pass-card-valid": "Valid",
|
|
159
160
|
"pisell-wallet-pass-card-confirm": "Confirm",
|
|
160
161
|
"pisell-wallet-pass-card-cancel": "Cancel",
|
|
161
162
|
"pisell-wallet-pass-card-required": "This field is required",
|
package/lib/locales/zh-CN.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ declare const _default: {
|
|
|
124
124
|
'pisell-wallet-pass-card-redeem': string;
|
|
125
125
|
'pisell-wallet-pass-card-code': string;
|
|
126
126
|
'pisell-wallet-pass-card-valid-to': string;
|
|
127
|
+
'pisell-wallet-pass-card-valid': string;
|
|
127
128
|
'pisell-wallet-pass-card-confirm': string;
|
|
128
129
|
'pisell-wallet-pass-card-cancel': string;
|
|
129
130
|
'pisell-wallet-pass-card-required': string;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -156,6 +156,7 @@ var zh_CN_default = {
|
|
|
156
156
|
"pisell-wallet-pass-card-redeem": "使用",
|
|
157
157
|
"pisell-wallet-pass-card-code": "识别码编号",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "有效期至",
|
|
159
|
+
"pisell-wallet-pass-card-valid": "有效期",
|
|
159
160
|
"pisell-wallet-pass-card-confirm": "确认",
|
|
160
161
|
"pisell-wallet-pass-card-cancel": "取消",
|
|
161
162
|
"pisell-wallet-pass-card-required": "此字段必填",
|
package/lib/locales/zh-TW.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ declare const _default: {
|
|
|
124
124
|
'pisell-wallet-pass-card-redeem': string;
|
|
125
125
|
'pisell-wallet-pass-card-code': string;
|
|
126
126
|
'pisell-wallet-pass-card-valid-to': string;
|
|
127
|
+
'pisell-wallet-pass-card-valid': string;
|
|
127
128
|
'pisell-wallet-pass-card-confirm': string;
|
|
128
129
|
'pisell-wallet-pass-card-cancel': string;
|
|
129
130
|
'pisell-wallet-pass-card-required': string;
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -156,6 +156,7 @@ var zh_TW_default = {
|
|
|
156
156
|
"pisell-wallet-pass-card-redeem": "使用",
|
|
157
157
|
"pisell-wallet-pass-card-code": "識別碼編號",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "有效期至",
|
|
159
|
+
"pisell-wallet-pass-card-valid": "有效期",
|
|
159
160
|
"pisell-wallet-pass-card-confirm": "確認",
|
|
160
161
|
"pisell-wallet-pass-card-cancel": "取消",
|
|
161
162
|
"pisell-wallet-pass-card-required": "此欄位為必填",
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.20",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"vod-js-sdk-v6": "^1.4.11",
|
|
77
77
|
"react-camera-pro": "1.4.0",
|
|
78
78
|
"@pisell/date-picker": "3.0.7",
|
|
79
|
-
"@pisell/
|
|
80
|
-
"@pisell/
|
|
79
|
+
"@pisell/utils": "3.0.2",
|
|
80
|
+
"@pisell/icon": "0.0.11"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"react": "^18.0.0",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取nocobase数据列表
|
|
3
|
-
*/
|
|
4
|
-
export declare const getCountryDataList: () => Promise<any>;
|
|
5
|
-
export interface Country {
|
|
6
|
-
id: number;
|
|
7
|
-
name: {
|
|
8
|
-
en: string;
|
|
9
|
-
'zh-CN': string;
|
|
10
|
-
'zh-HK': string;
|
|
11
|
-
original: string;
|
|
12
|
-
};
|
|
13
|
-
code: string;
|
|
14
|
-
calling_code: string;
|
|
15
|
-
currency_code: string;
|
|
16
|
-
sort: number;
|
|
17
|
-
status: string;
|
|
18
|
-
created_at: string;
|
|
19
|
-
updated_at: string;
|
|
20
|
-
prefix: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const useCountries: () => {
|
|
23
|
-
data: Country[];
|
|
24
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取nocobase数据列表
|
|
3
|
-
*/
|
|
4
|
-
export declare const getCountryDataList: () => Promise<any>;
|
|
5
|
-
export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
|
|
6
|
-
export interface Country {
|
|
7
|
-
id: number;
|
|
8
|
-
name: {
|
|
9
|
-
en: string;
|
|
10
|
-
'zh-CN': string;
|
|
11
|
-
'zh-HK': string;
|
|
12
|
-
original: string;
|
|
13
|
-
};
|
|
14
|
-
code: string;
|
|
15
|
-
calling_code: string;
|
|
16
|
-
currency_code: string;
|
|
17
|
-
sort: number;
|
|
18
|
-
status: string;
|
|
19
|
-
created_at: string;
|
|
20
|
-
updated_at: string;
|
|
21
|
-
prefix: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const useCountries: () => {
|
|
24
|
-
data: Country[];
|
|
25
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellQRScannerProps {
|
|
4
|
-
/** 是否可见 */
|
|
5
|
-
visible: boolean;
|
|
6
|
-
/** 是否显示上传图片按钮 */
|
|
7
|
-
showUpload?: boolean;
|
|
8
|
-
/** 关闭回调 */
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
/** 扫码成功回调 */
|
|
11
|
-
onScan: (value: string) => void;
|
|
12
|
-
/**
|
|
13
|
-
* 样式属性,可选
|
|
14
|
-
* 注意: 不应传入renderMode等不必要属性
|
|
15
|
-
*/
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
/** 类名,可选 */
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* 二维码扫描组件
|
|
22
|
-
*/
|
|
23
|
-
declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
|
|
24
|
-
export default PisellQRScanner;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Props } from "../DragSortList";
|
|
3
|
-
export interface SortableListProps<T> {
|
|
4
|
-
dataSource: Props<T>["list"];
|
|
5
|
-
onChange: Props<T>["onChange"];
|
|
6
|
-
rowKey: Props<T>["rowKey"];
|
|
7
|
-
renderItem?: (item: T, index: number) => React.ReactNode;
|
|
8
|
-
activationConstraint?: Props<T>["activationConstraint"];
|
|
9
|
-
}
|
|
10
|
-
declare const SortableList: React.FC<SortableListProps<any>>;
|
|
11
|
-
export default SortableList;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare type exportParams = {
|
|
2
|
-
ids?: Array<string | number>;
|
|
3
|
-
file_name?: string;
|
|
4
|
-
form_id?: string | number;
|
|
5
|
-
code?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const exportData: (params: exportParams) => Promise<any>;
|
|
9
|
-
export declare const batchImport: (params: any) => Promise<any>;
|
|
10
|
-
export declare const importTemplate: (params: exportParams) => Promise<any>;
|
|
11
|
-
export declare const getExportFile: (params: any) => Promise<any>;
|
|
12
|
-
export declare const getImportLog: (params: any) => Promise<any>;
|
|
13
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { TabsProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare class Tabs extends Component<any> {
|
|
5
|
-
state: {
|
|
6
|
-
activeKey: any;
|
|
7
|
-
};
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentDidUpdate(prevProps: Readonly<any>): void;
|
|
10
|
-
private _handleChange;
|
|
11
|
-
setActiveKey: (key: string) => void;
|
|
12
|
-
getActiveKey: () => any;
|
|
13
|
-
renderIconLabelTabBar: TabsProps['renderTabBar'];
|
|
14
|
-
filterHiddenTabs: (tabs: any[]) => any[];
|
|
15
|
-
render(): JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
export default Tabs;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取nocobase数据列表
|
|
3
|
-
*/
|
|
4
|
-
export declare const getCountryDataList: () => Promise<any>;
|
|
5
|
-
export interface Country {
|
|
6
|
-
id: number;
|
|
7
|
-
name: {
|
|
8
|
-
en: string;
|
|
9
|
-
'zh-CN': string;
|
|
10
|
-
'zh-HK': string;
|
|
11
|
-
original: string;
|
|
12
|
-
};
|
|
13
|
-
code: string;
|
|
14
|
-
calling_code: string;
|
|
15
|
-
currency_code: string;
|
|
16
|
-
sort: number;
|
|
17
|
-
status: string;
|
|
18
|
-
created_at: string;
|
|
19
|
-
updated_at: string;
|
|
20
|
-
prefix: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const useCountries: () => {
|
|
23
|
-
data: Country[];
|
|
24
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取nocobase数据列表
|
|
3
|
-
*/
|
|
4
|
-
export declare const getCountryDataList: () => Promise<any>;
|
|
5
|
-
export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
|
|
6
|
-
export interface Country {
|
|
7
|
-
id: number;
|
|
8
|
-
name: {
|
|
9
|
-
en: string;
|
|
10
|
-
'zh-CN': string;
|
|
11
|
-
'zh-HK': string;
|
|
12
|
-
original: string;
|
|
13
|
-
};
|
|
14
|
-
code: string;
|
|
15
|
-
calling_code: string;
|
|
16
|
-
currency_code: string;
|
|
17
|
-
sort: number;
|
|
18
|
-
status: string;
|
|
19
|
-
created_at: string;
|
|
20
|
-
updated_at: string;
|
|
21
|
-
prefix: string;
|
|
22
|
-
}
|
|
23
|
-
export declare const useCountries: () => {
|
|
24
|
-
data: Country[];
|
|
25
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellQRScannerProps {
|
|
4
|
-
/** 是否可见 */
|
|
5
|
-
visible: boolean;
|
|
6
|
-
/** 是否显示上传图片按钮 */
|
|
7
|
-
showUpload?: boolean;
|
|
8
|
-
/** 关闭回调 */
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
/** 扫码成功回调 */
|
|
11
|
-
onScan: (value: string) => void;
|
|
12
|
-
/**
|
|
13
|
-
* 样式属性,可选
|
|
14
|
-
* 注意: 不应传入renderMode等不必要属性
|
|
15
|
-
*/
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
/** 类名,可选 */
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* 二维码扫描组件
|
|
22
|
-
*/
|
|
23
|
-
declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
|
|
24
|
-
export default PisellQRScanner;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Props } from "../DragSortList";
|
|
3
|
-
export interface SortableListProps<T> {
|
|
4
|
-
dataSource: Props<T>["list"];
|
|
5
|
-
onChange: Props<T>["onChange"];
|
|
6
|
-
rowKey: Props<T>["rowKey"];
|
|
7
|
-
renderItem?: (item: T, index: number) => React.ReactNode;
|
|
8
|
-
activationConstraint?: Props<T>["activationConstraint"];
|
|
9
|
-
}
|
|
10
|
-
declare const SortableList: React.FC<SortableListProps<any>>;
|
|
11
|
-
export default SortableList;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare type exportParams = {
|
|
2
|
-
ids?: Array<string | number>;
|
|
3
|
-
file_name?: string;
|
|
4
|
-
form_id?: string | number;
|
|
5
|
-
code?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const exportData: (params: exportParams) => Promise<any>;
|
|
9
|
-
export declare const batchImport: (params: any) => Promise<any>;
|
|
10
|
-
export declare const importTemplate: (params: exportParams) => Promise<any>;
|
|
11
|
-
export declare const getExportFile: (params: any) => Promise<any>;
|
|
12
|
-
export declare const getImportLog: (params: any) => Promise<any>;
|
|
13
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { TabsProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare class Tabs extends Component<any> {
|
|
5
|
-
state: {
|
|
6
|
-
activeKey: any;
|
|
7
|
-
};
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentDidUpdate(prevProps: Readonly<any>): void;
|
|
10
|
-
private _handleChange;
|
|
11
|
-
setActiveKey: (key: string) => void;
|
|
12
|
-
getActiveKey: () => any;
|
|
13
|
-
renderIconLabelTabBar: TabsProps['renderTabBar'];
|
|
14
|
-
filterHiddenTabs: (tabs: any[]) => any[];
|
|
15
|
-
render(): JSX.Element;
|
|
16
|
-
}
|
|
17
|
-
export default Tabs;
|