@pisell/materials 3.2.1 → 3.2.3
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/render/default/view.js +9 -9
- package/build/lowcode/view.js +9 -9
- package/es/components/DragSortList/index.js +6 -6
- package/es/components/auto-complete-number/index.d.ts +0 -1
- package/es/components/batch-editor/fields/Image/index.d.ts +7 -0
- package/es/components/batch-editor/fields/Price/index.d.ts +7 -0
- package/es/components/batch-editor/fields/Text/index.d.ts +6 -0
- package/es/components/batch-editor/fields/index.d.ts +6 -0
- package/es/components/batch-editor/index.d.ts +1 -0
- package/es/components/button/index.d.ts +9 -0
- package/es/components/calendar/index.d.ts +0 -1
- package/es/components/classicLayout/index.d.ts +0 -1
- package/es/components/classicLayout/index.js +4 -5
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/date-picker/datePickerCpt.d.ts +1 -0
- package/es/components/drag-sort-tree/types.d.ts +24 -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/icon/index.js +5 -5
- package/es/components/input-number-range/index.d.ts +15 -0
- package/es/components/list/index.d.ts +1 -0
- package/es/components/list/index.js +6 -6
- package/es/components/lowCodePage/index.d.ts +1 -0
- package/es/components/pisell-config-provider/context.d.ts +20 -0
- package/es/components/pisell-config-provider/hooks/usePisellConfig.d.ts +5 -0
- package/es/components/pisellAlert/index.d.ts +22 -0
- package/es/components/pisellCheckboxGroup/mock.d.ts +4 -0
- package/es/components/pisellContainer/components/Portal/index.d.ts +10 -0
- package/es/components/pisellCountdown/index.d.ts +24 -0
- package/es/components/pisellCountdown/utils.d.ts +7 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +21 -0
- package/es/components/pisellDatePicker/index.d.ts +2 -0
- package/es/components/pisellFloatingPanel/index.d.ts +17 -0
- package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +8 -0
- package/es/components/pisellInformationEntry/utils.d.ts +4 -0
- package/es/components/pisellInput/components/BankCard/index.d.ts +10 -0
- package/es/components/pisellInput/components/BankCard/utils.d.ts +11 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +11 -0
- package/es/components/pisellLoading/index.d.ts +1 -0
- package/es/components/pisellMessage/index.d.ts +4 -0
- package/es/components/pisellModal/components/functions/index.d.ts +30 -0
- package/es/components/pisellModal/constants.d.ts +6 -0
- package/es/components/pisellScan/index.d.ts +23 -0
- package/es/components/pisellTooltip/index.d.ts +9 -0
- package/es/components/pisellWalletPassCard/index.d.ts +1 -0
- package/es/components/qrcode/index.d.ts +1 -0
- package/es/components/qrcode/index.js +1 -1
- package/es/components/segmented/index.d.ts +4 -0
- package/es/components/select-time/RightPanel/index.d.ts +8 -0
- package/es/components/select-time/utils.d.ts +9 -0
- package/es/components/skeleton/index.d.ts +0 -1
- package/es/components/slider/index.d.ts +0 -1
- package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
- package/es/components/sort/components/InlineMenu/index.js +1 -1
- package/es/components/sort/types.d.ts +20 -0
- package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/utils/date.d.ts +8 -0
- package/es/components/table/Actions/component/ExportImport/utils/download.d.ts +3 -0
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/BasicTable/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
- package/es/components/table/Gallery/constant.d.ts +4 -0
- package/es/components/table/Header/Buttons/index.js +5 -5
- package/es/components/table/Summary/index.d.ts +0 -1
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
- 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/image/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
- 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 +2 -0
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +3 -0
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -0
- 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/pSwitch/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Edit/index.d.ts +4 -0
- package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
- package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
- package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
- package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/table/hooks/useGenScroll.d.ts +22 -0
- package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
- package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
- package/es/components/table/hooks/useTransFilterSetting.js +5 -5
- package/es/components/table/serve.d.ts +13 -0
- package/es/components/time-picker/index.d.ts +0 -1
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/upload/index.d.ts +0 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +11 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +9 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +11 -0
- package/es/components/virtual-keyboard/index.d.ts +14 -0
- package/es/components/walletCard/index.js +22 -5
- package/es/hooks/useCssVariables.d.ts +8 -0
- package/es/hooks/useResponsive.js +2 -2
- package/es/locales/en-US.js +1 -1
- package/es/locales/zh-CN.js +1 -1
- package/es/locales/zh-TW.js +1 -1
- package/es/utils/hoc.js +1 -1
- package/es/utils/locale.d.ts +1 -0
- package/es/utils/miniRedux.js +8 -9
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/auto-complete-number/index.d.ts +0 -1
- package/lib/components/batch-editor/fields/Image/index.d.ts +7 -0
- package/lib/components/batch-editor/fields/Price/index.d.ts +7 -0
- package/lib/components/batch-editor/fields/Text/index.d.ts +6 -0
- package/lib/components/batch-editor/fields/index.d.ts +6 -0
- package/lib/components/batch-editor/index.d.ts +1 -0
- package/lib/components/button/index.d.ts +9 -0
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/classicLayout/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
- package/lib/components/drag-sort-tree/types.d.ts +24 -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/input-number-range/index.d.ts +15 -0
- package/lib/components/list/index.d.ts +1 -0
- package/lib/components/lowCodePage/index.d.ts +1 -0
- package/lib/components/lowCodePage/index.js +1 -2
- package/lib/components/pisell-config-provider/context.d.ts +20 -0
- package/lib/components/pisell-config-provider/hooks/usePisellConfig.d.ts +5 -0
- package/lib/components/pisellAlert/index.d.ts +22 -0
- package/lib/components/pisellCheckboxGroup/mock.d.ts +4 -0
- package/lib/components/pisellContainer/components/Portal/index.d.ts +10 -0
- package/lib/components/pisellCountdown/index.d.ts +24 -0
- package/lib/components/pisellCountdown/utils.d.ts +7 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +21 -0
- package/lib/components/pisellDatePicker/index.d.ts +2 -0
- package/lib/components/pisellFloatingPanel/index.d.ts +17 -0
- package/lib/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +8 -0
- package/lib/components/pisellInformationEntry/utils.d.ts +4 -0
- package/lib/components/pisellInput/components/BankCard/index.d.ts +10 -0
- package/lib/components/pisellInput/components/BankCard/utils.d.ts +11 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +11 -0
- package/lib/components/pisellLoading/index.d.ts +1 -0
- package/lib/components/pisellMessage/index.d.ts +4 -0
- package/lib/components/pisellModal/components/functions/index.d.ts +30 -0
- package/lib/components/pisellModal/constants.d.ts +6 -0
- package/lib/components/pisellScan/index.d.ts +23 -0
- package/lib/components/pisellTooltip/index.d.ts +9 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
- package/lib/components/qrcode/index.d.ts +1 -0
- package/lib/components/segmented/index.d.ts +4 -0
- package/lib/components/select-time/RightPanel/index.d.ts +8 -0
- package/lib/components/select-time/utils.d.ts +9 -0
- 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/sort/types.d.ts +20 -0
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/utils/date.d.ts +8 -0
- package/lib/components/table/Actions/component/ExportImport/utils/download.d.ts +3 -0
- package/lib/components/table/BasicTable/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/lib/components/table/Gallery/constant.d.ts +4 -0
- package/lib/components/table/Summary/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
- 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/image/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
- 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 +2 -0
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +3 -0
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -0
- 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/pSwitch/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Edit/index.d.ts +4 -0
- 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/index.d.ts +1 -0
- 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/index.d.ts +1 -0
- package/lib/components/table/Table/fields/utils/index.js +1 -2
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/table/hooks/useGenScroll.d.ts +22 -0
- package/lib/components/table/serve.d.ts +13 -0
- package/lib/components/time-picker/index.d.ts +0 -1
- package/lib/components/upload/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +11 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +9 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +11 -0
- package/lib/components/virtual-keyboard/index.d.ts +14 -0
- package/lib/components/walletCard/index.js +13 -5
- package/lib/hooks/useCssVariables.d.ts +8 -0
- package/lib/hooks/useResponsive.js +3 -6
- package/lib/locales/en-US.js +1 -1
- package/lib/locales/zh-CN.js +1 -1
- package/lib/locales/zh-TW.js +1 -1
- package/lib/utils/locale.d.ts +1 -0
- package/lib/utils/platform.d.ts +1 -1
- package/package.json +3 -3
- package/dist/umd/materials.min.css +0 -1
- package/dist/umd/materials.min.js +0 -1
- package/dist/umd/static/DotsSix.57d66266.svg +0 -1
- package/dist/umd/static/arrow-left.e542294f.svg +0 -1
- package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
- package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
- package/dist/umd/static/help-circle.31c9be40.svg +0 -1
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
- package/es/components/customSelect/index.d.ts +0 -17
- package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/InputNumber/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/es/components/date-picker/constants.d.ts +0 -39
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/pisellAppCard/index.d.ts +0 -3
- package/es/components/pisellDropSort/PisellDropSort.d.ts +0 -5
- package/es/components/pisellDropSort/index.d.ts +0 -3
- package/es/components/pisellModal/components/Information/index.d.ts +0 -21
- package/es/components/pisellNavigationMenu/index.d.ts +0 -3
- package/es/components/pisellQRScanner/index.d.ts +0 -37
- package/es/components/pisellQrcode/index.d.ts +0 -10
- package/es/components/pisellViewGrid/index.d.ts +0 -16
- package/es/components/profileMenu/index.d.ts +0 -26
- package/es/components/select/index.d.ts +0 -9
- package/es/components/typography/index.d.ts +0 -2
- package/es/components/versionModal/index.d.ts +0 -23
- package/lib/components/customSelect/index.d.ts +0 -17
- package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/lib/components/date-picker/constants.d.ts +0 -39
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/pisellAppCard/index.d.ts +0 -3
- package/lib/components/pisellDropSort/PisellDropSort.d.ts +0 -5
- package/lib/components/pisellDropSort/index.d.ts +0 -3
- package/lib/components/pisellModal/components/Information/index.d.ts +0 -21
- package/lib/components/pisellNavigationMenu/index.d.ts +0 -3
- package/lib/components/pisellQRScanner/index.d.ts +0 -37
- package/lib/components/pisellQrcode/index.d.ts +0 -10
- package/lib/components/pisellViewGrid/index.d.ts +0 -16
- package/lib/components/profileMenu/index.d.ts +0 -26
- package/lib/components/select/index.d.ts +0 -9
- package/lib/components/typography/index.d.ts +0 -2
- package/lib/components/versionModal/index.d.ts +0 -23
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.707 4.293a1 1 0 0 1 0 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l5.293 5.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-5.293-5.293a1 1 0 0 1 0-1.414Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11.258-3.976a2 2 0 0 0-2.225 1.308 1 1 0 1 1-1.886-.664 4 4 0 0 1 7.773 1.333c0 1.53-1.135 2.54-1.945 3.081a8.044 8.044 0 0 1-1.686.848l-.035.013-.011.003-.004.002h-.002L11.92 13l.316.949a1 1 0 0 1-.633-1.897l.016-.006.074-.027a6.051 6.051 0 0 0 1.172-.6c.69-.46 1.055-.95 1.055-1.419v-.001a2 2 0 0 0-1.662-1.975ZM11 17a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.293 3.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L8 6.414V20a1 1 0 1 1-2 0V6.414L3.707 8.707a1 1 0 0 1-1.414-1.414l4-4ZM16 17.586V4a1 1 0 1 1 2 0v13.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L16 17.586Z"/></svg>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SelectProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface BaseOption {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string | number;
|
|
7
|
-
}
|
|
8
|
-
export interface CustomSelectProps<T extends BaseOption> extends Omit<SelectProps<T['value']>, 'options' | 'value' | 'onChange'> {
|
|
9
|
-
options: T[];
|
|
10
|
-
value?: T['value'];
|
|
11
|
-
onChange?: (value: T['value']) => void;
|
|
12
|
-
renderItem?: (option: T) => React.ReactNode;
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
declare const CustomSelect: <T extends BaseOption>(props: CustomSelectProps<T>) => JSX.Element;
|
|
17
|
-
export default CustomSelect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatNumberWithUnit: (value: number, precision?: number, previewFormatter?: 'none' | 'thousand' | 'million' | 'billion') => string;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const presetDetailMap: {
|
|
3
|
-
today: {
|
|
4
|
-
getValue: () => dayjs.Dayjs;
|
|
5
|
-
label: () => any;
|
|
6
|
-
};
|
|
7
|
-
yesterday: {
|
|
8
|
-
getValue: () => dayjs.Dayjs;
|
|
9
|
-
label: () => any;
|
|
10
|
-
};
|
|
11
|
-
tomorrow: {
|
|
12
|
-
getValue: () => dayjs.Dayjs;
|
|
13
|
-
label: () => any;
|
|
14
|
-
};
|
|
15
|
-
next_monday: {
|
|
16
|
-
getValue: () => dayjs.Dayjs;
|
|
17
|
-
label: () => any;
|
|
18
|
-
};
|
|
19
|
-
last_friday: {
|
|
20
|
-
getValue: () => dayjs.Dayjs;
|
|
21
|
-
label: () => any;
|
|
22
|
-
};
|
|
23
|
-
first_day_of_this_month: {
|
|
24
|
-
getValue: () => dayjs.Dayjs;
|
|
25
|
-
label: () => any;
|
|
26
|
-
};
|
|
27
|
-
last_day_of_this_month: {
|
|
28
|
-
getValue: () => dayjs.Dayjs;
|
|
29
|
-
label: () => any;
|
|
30
|
-
};
|
|
31
|
-
first_day_of_next_month: {
|
|
32
|
-
getValue: () => dayjs.Dayjs;
|
|
33
|
-
label: () => any;
|
|
34
|
-
};
|
|
35
|
-
last_day_of_last_month: {
|
|
36
|
-
getValue: () => dayjs.Dayjs;
|
|
37
|
-
label: () => any;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* loginAndRegister组件的属性接口
|
|
5
|
-
*/
|
|
6
|
-
export interface loginAndRegisterProps {
|
|
7
|
-
/** Logo相关配置 */
|
|
8
|
-
showLogo?: boolean;
|
|
9
|
-
logo?: string;
|
|
10
|
-
logoPosition?: 'left' | 'center' | 'right';
|
|
11
|
-
logoSize?: {
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
};
|
|
15
|
-
/** 标题相关配置 */
|
|
16
|
-
title?: string;
|
|
17
|
-
showTitle?: boolean;
|
|
18
|
-
titleAlign?: 'left' | 'center' | 'right';
|
|
19
|
-
/** 副标题相关配置 */
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
showSubtitle?: boolean;
|
|
22
|
-
subtitleAlign?: 'left' | 'center' | 'right';
|
|
23
|
-
/** 登录方式配置 */
|
|
24
|
-
loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
|
|
25
|
-
defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
|
|
26
|
-
/** 表单配置 */
|
|
27
|
-
emailLabel?: string;
|
|
28
|
-
passwordLabel?: string;
|
|
29
|
-
emailPlaceholder?: string;
|
|
30
|
-
passwordPlaceholder?: string;
|
|
31
|
-
emailRules?: any[];
|
|
32
|
-
buttonText?: string;
|
|
33
|
-
rememberMeText?: string;
|
|
34
|
-
forgotPasswordText?: string;
|
|
35
|
-
showRememberMe?: boolean;
|
|
36
|
-
showForgotPassword?: boolean;
|
|
37
|
-
/** 社交登录配置 */
|
|
38
|
-
socialLoginTexts?: {
|
|
39
|
-
google?: string;
|
|
40
|
-
facebook?: string;
|
|
41
|
-
apple?: string;
|
|
42
|
-
};
|
|
43
|
-
/** 底部配置 */
|
|
44
|
-
showFooter?: boolean;
|
|
45
|
-
showSignUp?: boolean;
|
|
46
|
-
signUpText?: string;
|
|
47
|
-
signUpLink?: string;
|
|
48
|
-
signUpPosition?: 'left' | 'center' | 'right';
|
|
49
|
-
otherLinks?: Array<{
|
|
50
|
-
text: string;
|
|
51
|
-
url: string;
|
|
52
|
-
}>;
|
|
53
|
-
otherLinksPosition?: 'left' | 'center' | 'right';
|
|
54
|
-
/** 登录/注册切换配置 */
|
|
55
|
-
showTabs?: boolean;
|
|
56
|
-
loginTabText?: string;
|
|
57
|
-
registerTabText?: string;
|
|
58
|
-
/** 注册表单配置 */
|
|
59
|
-
registerEmailPlaceholder?: string;
|
|
60
|
-
registerPasswordPlaceholder?: string;
|
|
61
|
-
registerButtonText?: string;
|
|
62
|
-
/** 事件回调 */
|
|
63
|
-
onLogin?: (values: {
|
|
64
|
-
email: string;
|
|
65
|
-
loginMethod: string;
|
|
66
|
-
}) => void;
|
|
67
|
-
onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
|
|
68
|
-
onSignUp?: () => void;
|
|
69
|
-
onRegister?: (values: {
|
|
70
|
-
email: string;
|
|
71
|
-
password: string;
|
|
72
|
-
}) => void;
|
|
73
|
-
/** 新增背景图片属性 */
|
|
74
|
-
backgroundImage?: string;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Saas登录组件
|
|
78
|
-
* @param props - 组件属性
|
|
79
|
-
* @returns React组件
|
|
80
|
-
*/
|
|
81
|
-
declare const loginAndRegister: React.FC<loginAndRegisterProps>;
|
|
82
|
-
export default loginAndRegister;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellModalProps } from '../../index';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface InformationProps extends PisellModalProps {
|
|
5
|
-
/** 标题 */
|
|
6
|
-
title: string;
|
|
7
|
-
/** 描述 */
|
|
8
|
-
describe: string;
|
|
9
|
-
/** 取消按钮是否展示 */
|
|
10
|
-
cancelVisible?: boolean;
|
|
11
|
-
/** 确认按钮是否展示 */
|
|
12
|
-
okVisible?: boolean;
|
|
13
|
-
/** 确认按钮文字 */
|
|
14
|
-
okText: React.ReactNode;
|
|
15
|
-
/** 取消按钮文字 */
|
|
16
|
-
cancelText: React.ReactNode;
|
|
17
|
-
/** 右上角关闭按钮是否展示 */
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const Information: (props: InformationProps) => JSX.Element;
|
|
21
|
-
export default Information;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
import type { DetailedHTMLProps, HTMLAttributes, VideoHTMLAttributes, InputHTMLAttributes } from 'react';
|
|
4
|
-
declare type ExtendedDetailedHTMLProps<T extends HTMLAttributes<E>, E extends HTMLElement> = DetailedHTMLProps<T, E> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
div: ExtendedDetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
11
|
-
video: DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
|
|
12
|
-
input: DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export interface PisellQRScannerProps {
|
|
17
|
-
/** 是否可见 */
|
|
18
|
-
visible: boolean;
|
|
19
|
-
/** 是否显示上传图片按钮 */
|
|
20
|
-
showUpload?: boolean;
|
|
21
|
-
/** 关闭回调 */
|
|
22
|
-
onClose: () => void;
|
|
23
|
-
/** 扫码成功回调 */
|
|
24
|
-
onScan: (value: string) => void;
|
|
25
|
-
/**
|
|
26
|
-
* 样式属性,可选
|
|
27
|
-
* 注意: 不应传入renderMode等不必要属性
|
|
28
|
-
*/
|
|
29
|
-
style?: React.CSSProperties;
|
|
30
|
-
/** 类名,可选 */
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* 二维码扫描组件
|
|
35
|
-
*/
|
|
36
|
-
declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
|
|
37
|
-
export default PisellQRScanner;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellQrcodeProps {
|
|
4
|
-
size?: number;
|
|
5
|
-
platform: 'pc' | 'h5' | 'ipad';
|
|
6
|
-
value: string;
|
|
7
|
-
className: string;
|
|
8
|
-
}
|
|
9
|
-
declare const PisellQrcode: React.FC<PisellQrcodeProps>;
|
|
10
|
-
export default PisellQrcode;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellViewGridProps {
|
|
4
|
-
columns?: number;
|
|
5
|
-
horizontalGap?: number;
|
|
6
|
-
verticalGap?: number;
|
|
7
|
-
singleRow?: boolean;
|
|
8
|
-
dataSource?: any[];
|
|
9
|
-
renderItem?: (item: any, index: number) => React.ReactNode;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
}
|
|
15
|
-
declare const PisellViewGrid: React.FC<PisellViewGridProps>;
|
|
16
|
-
export default PisellViewGrid;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { MenuProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface AvatarConfig {
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
}
|
|
8
|
-
interface ProfileMenuProps {
|
|
9
|
-
menuIcon?: React.ReactNode;
|
|
10
|
-
userName?: string;
|
|
11
|
-
email?: string;
|
|
12
|
-
isShowUserName?: boolean;
|
|
13
|
-
isShowEmail?: boolean;
|
|
14
|
-
isShowUserInfo?: boolean;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
avatar?: AvatarConfig;
|
|
17
|
-
className?: string;
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
menuItems?: MenuProps['items'];
|
|
20
|
-
placement?: 'bottomLeft' | 'bottomCenter' | 'bottomRight' | 'topLeft' | 'topCenter' | 'topRight';
|
|
21
|
-
trigger?: ('click' | 'hover')[];
|
|
22
|
-
showBadge?: boolean;
|
|
23
|
-
badgeCount?: number;
|
|
24
|
-
}
|
|
25
|
-
declare const ProfileMenu: React.FC<ProfileMenuProps>;
|
|
26
|
-
export default ProfileMenu;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Select as OriginalSelect } from 'antd';
|
|
3
|
-
import type { SelectProps } from 'antd';
|
|
4
|
-
import './index.less';
|
|
5
|
-
interface CompoundedComponent extends React.ForwardRefExoticComponent<SelectProps> {
|
|
6
|
-
Option: typeof OriginalSelect.Option;
|
|
7
|
-
}
|
|
8
|
-
declare const Select: CompoundedComponent;
|
|
9
|
-
export default Select;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Version } from '../versionSelect';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface PublishVersionModalProps {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
currentVersion: string;
|
|
7
|
-
onCancel: () => void;
|
|
8
|
-
onConfirm: (data: VersionData) => void;
|
|
9
|
-
isShowNote?: boolean;
|
|
10
|
-
confirmLoading?: boolean;
|
|
11
|
-
versions?: Version[];
|
|
12
|
-
isShowBasedOn?: boolean;
|
|
13
|
-
isShowCurrentVersion?: boolean;
|
|
14
|
-
isValidateVersion?: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface VersionData {
|
|
17
|
-
version: string;
|
|
18
|
-
note: string;
|
|
19
|
-
baseVersion?: string;
|
|
20
|
-
versionType?: string;
|
|
21
|
-
}
|
|
22
|
-
declare const PublishVersionModal: React.FC<PublishVersionModalProps>;
|
|
23
|
-
export default PublishVersionModal;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SelectProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface BaseOption {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string | number;
|
|
7
|
-
}
|
|
8
|
-
export interface CustomSelectProps<T extends BaseOption> extends Omit<SelectProps<T['value']>, 'options' | 'value' | 'onChange'> {
|
|
9
|
-
options: T[];
|
|
10
|
-
value?: T['value'];
|
|
11
|
-
onChange?: (value: T['value']) => void;
|
|
12
|
-
renderItem?: (option: T) => React.ReactNode;
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
declare const CustomSelect: <T extends BaseOption>(props: CustomSelectProps<T>) => JSX.Element;
|
|
17
|
-
export default CustomSelect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatNumberWithUnit: (value: number, precision?: number, previewFormatter?: 'none' | 'thousand' | 'million' | 'billion') => string;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const presetDetailMap: {
|
|
3
|
-
today: {
|
|
4
|
-
getValue: () => dayjs.Dayjs;
|
|
5
|
-
label: () => any;
|
|
6
|
-
};
|
|
7
|
-
yesterday: {
|
|
8
|
-
getValue: () => dayjs.Dayjs;
|
|
9
|
-
label: () => any;
|
|
10
|
-
};
|
|
11
|
-
tomorrow: {
|
|
12
|
-
getValue: () => dayjs.Dayjs;
|
|
13
|
-
label: () => any;
|
|
14
|
-
};
|
|
15
|
-
next_monday: {
|
|
16
|
-
getValue: () => dayjs.Dayjs;
|
|
17
|
-
label: () => any;
|
|
18
|
-
};
|
|
19
|
-
last_friday: {
|
|
20
|
-
getValue: () => dayjs.Dayjs;
|
|
21
|
-
label: () => any;
|
|
22
|
-
};
|
|
23
|
-
first_day_of_this_month: {
|
|
24
|
-
getValue: () => dayjs.Dayjs;
|
|
25
|
-
label: () => any;
|
|
26
|
-
};
|
|
27
|
-
last_day_of_this_month: {
|
|
28
|
-
getValue: () => dayjs.Dayjs;
|
|
29
|
-
label: () => any;
|
|
30
|
-
};
|
|
31
|
-
first_day_of_next_month: {
|
|
32
|
-
getValue: () => dayjs.Dayjs;
|
|
33
|
-
label: () => any;
|
|
34
|
-
};
|
|
35
|
-
last_day_of_last_month: {
|
|
36
|
-
getValue: () => dayjs.Dayjs;
|
|
37
|
-
label: () => any;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* loginAndRegister组件的属性接口
|
|
5
|
-
*/
|
|
6
|
-
export interface loginAndRegisterProps {
|
|
7
|
-
/** Logo相关配置 */
|
|
8
|
-
showLogo?: boolean;
|
|
9
|
-
logo?: string;
|
|
10
|
-
logoPosition?: 'left' | 'center' | 'right';
|
|
11
|
-
logoSize?: {
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
};
|
|
15
|
-
/** 标题相关配置 */
|
|
16
|
-
title?: string;
|
|
17
|
-
showTitle?: boolean;
|
|
18
|
-
titleAlign?: 'left' | 'center' | 'right';
|
|
19
|
-
/** 副标题相关配置 */
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
showSubtitle?: boolean;
|
|
22
|
-
subtitleAlign?: 'left' | 'center' | 'right';
|
|
23
|
-
/** 登录方式配置 */
|
|
24
|
-
loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
|
|
25
|
-
defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
|
|
26
|
-
/** 表单配置 */
|
|
27
|
-
emailLabel?: string;
|
|
28
|
-
passwordLabel?: string;
|
|
29
|
-
emailPlaceholder?: string;
|
|
30
|
-
passwordPlaceholder?: string;
|
|
31
|
-
emailRules?: any[];
|
|
32
|
-
buttonText?: string;
|
|
33
|
-
rememberMeText?: string;
|
|
34
|
-
forgotPasswordText?: string;
|
|
35
|
-
showRememberMe?: boolean;
|
|
36
|
-
showForgotPassword?: boolean;
|
|
37
|
-
/** 社交登录配置 */
|
|
38
|
-
socialLoginTexts?: {
|
|
39
|
-
google?: string;
|
|
40
|
-
facebook?: string;
|
|
41
|
-
apple?: string;
|
|
42
|
-
};
|
|
43
|
-
/** 底部配置 */
|
|
44
|
-
showFooter?: boolean;
|
|
45
|
-
showSignUp?: boolean;
|
|
46
|
-
signUpText?: string;
|
|
47
|
-
signUpLink?: string;
|
|
48
|
-
signUpPosition?: 'left' | 'center' | 'right';
|
|
49
|
-
otherLinks?: Array<{
|
|
50
|
-
text: string;
|
|
51
|
-
url: string;
|
|
52
|
-
}>;
|
|
53
|
-
otherLinksPosition?: 'left' | 'center' | 'right';
|
|
54
|
-
/** 登录/注册切换配置 */
|
|
55
|
-
showTabs?: boolean;
|
|
56
|
-
loginTabText?: string;
|
|
57
|
-
registerTabText?: string;
|
|
58
|
-
/** 注册表单配置 */
|
|
59
|
-
registerEmailPlaceholder?: string;
|
|
60
|
-
registerPasswordPlaceholder?: string;
|
|
61
|
-
registerButtonText?: string;
|
|
62
|
-
/** 事件回调 */
|
|
63
|
-
onLogin?: (values: {
|
|
64
|
-
email: string;
|
|
65
|
-
loginMethod: string;
|
|
66
|
-
}) => void;
|
|
67
|
-
onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
|
|
68
|
-
onSignUp?: () => void;
|
|
69
|
-
onRegister?: (values: {
|
|
70
|
-
email: string;
|
|
71
|
-
password: string;
|
|
72
|
-
}) => void;
|
|
73
|
-
/** 新增背景图片属性 */
|
|
74
|
-
backgroundImage?: string;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Saas登录组件
|
|
78
|
-
* @param props - 组件属性
|
|
79
|
-
* @returns React组件
|
|
80
|
-
*/
|
|
81
|
-
declare const loginAndRegister: React.FC<loginAndRegisterProps>;
|
|
82
|
-
export default loginAndRegister;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellModalProps } from '../../index';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface InformationProps extends PisellModalProps {
|
|
5
|
-
/** 标题 */
|
|
6
|
-
title: string;
|
|
7
|
-
/** 描述 */
|
|
8
|
-
describe: string;
|
|
9
|
-
/** 取消按钮是否展示 */
|
|
10
|
-
cancelVisible?: boolean;
|
|
11
|
-
/** 确认按钮是否展示 */
|
|
12
|
-
okVisible?: boolean;
|
|
13
|
-
/** 确认按钮文字 */
|
|
14
|
-
okText: React.ReactNode;
|
|
15
|
-
/** 取消按钮文字 */
|
|
16
|
-
cancelText: React.ReactNode;
|
|
17
|
-
/** 右上角关闭按钮是否展示 */
|
|
18
|
-
closable?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const Information: (props: InformationProps) => JSX.Element;
|
|
21
|
-
export default Information;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
import type { DetailedHTMLProps, HTMLAttributes, VideoHTMLAttributes, InputHTMLAttributes } from 'react';
|
|
4
|
-
declare type ExtendedDetailedHTMLProps<T extends HTMLAttributes<E>, E extends HTMLElement> = DetailedHTMLProps<T, E> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
div: ExtendedDetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
11
|
-
video: DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
|
|
12
|
-
input: DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export interface PisellQRScannerProps {
|
|
17
|
-
/** 是否可见 */
|
|
18
|
-
visible: boolean;
|
|
19
|
-
/** 是否显示上传图片按钮 */
|
|
20
|
-
showUpload?: boolean;
|
|
21
|
-
/** 关闭回调 */
|
|
22
|
-
onClose: () => void;
|
|
23
|
-
/** 扫码成功回调 */
|
|
24
|
-
onScan: (value: string) => void;
|
|
25
|
-
/**
|
|
26
|
-
* 样式属性,可选
|
|
27
|
-
* 注意: 不应传入renderMode等不必要属性
|
|
28
|
-
*/
|
|
29
|
-
style?: React.CSSProperties;
|
|
30
|
-
/** 类名,可选 */
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* 二维码扫描组件
|
|
35
|
-
*/
|
|
36
|
-
declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
|
|
37
|
-
export default PisellQRScanner;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellQrcodeProps {
|
|
4
|
-
size?: number;
|
|
5
|
-
platform: 'pc' | 'h5' | 'ipad';
|
|
6
|
-
value: string;
|
|
7
|
-
className: string;
|
|
8
|
-
}
|
|
9
|
-
declare const PisellQrcode: React.FC<PisellQrcodeProps>;
|
|
10
|
-
export default PisellQrcode;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellViewGridProps {
|
|
4
|
-
columns?: number;
|
|
5
|
-
horizontalGap?: number;
|
|
6
|
-
verticalGap?: number;
|
|
7
|
-
singleRow?: boolean;
|
|
8
|
-
dataSource?: any[];
|
|
9
|
-
renderItem?: (item: any, index: number) => React.ReactNode;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
}
|
|
15
|
-
declare const PisellViewGrid: React.FC<PisellViewGridProps>;
|
|
16
|
-
export default PisellViewGrid;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { MenuProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface AvatarConfig {
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
}
|
|
8
|
-
interface ProfileMenuProps {
|
|
9
|
-
menuIcon?: React.ReactNode;
|
|
10
|
-
userName?: string;
|
|
11
|
-
email?: string;
|
|
12
|
-
isShowUserName?: boolean;
|
|
13
|
-
isShowEmail?: boolean;
|
|
14
|
-
isShowUserInfo?: boolean;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
avatar?: AvatarConfig;
|
|
17
|
-
className?: string;
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
menuItems?: MenuProps['items'];
|
|
20
|
-
placement?: 'bottomLeft' | 'bottomCenter' | 'bottomRight' | 'topLeft' | 'topCenter' | 'topRight';
|
|
21
|
-
trigger?: ('click' | 'hover')[];
|
|
22
|
-
showBadge?: boolean;
|
|
23
|
-
badgeCount?: number;
|
|
24
|
-
}
|
|
25
|
-
declare const ProfileMenu: React.FC<ProfileMenuProps>;
|
|
26
|
-
export default ProfileMenu;
|