@pisell/materials 6.0.19 → 6.0.21
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 +146 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +55 -32
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +52 -29
- package/es/components/DragSortList/index.d.ts +1 -1
- package/es/components/DragSortList/index.js +6 -6
- package/es/components/MultipleContainersSortList/index.d.ts +1 -1
- package/es/components/MultipleContainersSortList/index.js +11 -13
- package/es/components/Pagination/index.d.ts +3 -3
- package/es/components/Pagination/index.js +1 -1
- package/es/components/appVersionControl/index.d.ts +1 -2
- package/es/components/appVersionControl/index.js +5 -5
- package/es/components/auto-complete-number/index.d.ts +1 -2
- package/es/components/badge/index.d.ts +7 -0
- package/es/components/badge/index.js +44 -0
- package/es/components/badge/index.less +2 -0
- 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 -3
- package/es/components/batch-editor/index.d.ts +1 -2
- package/es/components/batch-editor/index.js +12 -12
- package/es/components/browserSelect/index.d.ts +1 -1
- package/es/components/browserSelect/index.js +6 -6
- package/es/components/buttonGroupEdit/index.d.ts +8 -0
- package/es/components/buttonGroupEdit/index.js +408 -0
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/buttonGroupPreview/index.js +74 -0
- package/es/components/calendar/index.d.ts +1 -2
- package/es/components/cardMetricItem/index.d.ts +12 -0
- package/es/components/cardMetricItem/index.js +39 -0
- package/es/components/cardMetricItem/index.less +39 -0
- package/es/components/cardPro/index.d.ts +3 -0
- package/es/components/cardPro/index.js +66 -0
- package/es/components/cardPro/index.less +55 -0
- package/es/components/checkbox/index.d.ts +1 -2
- package/es/components/classicLayout/index.d.ts +1 -2
- package/es/components/classicLayout/index.js +4 -5
- package/es/components/colorPicker/index.d.ts +1 -2
- package/es/components/config-provider/index.d.ts +1 -2
- package/es/components/cropPhoto/index.d.ts +3 -0
- package/es/components/cropPhoto/index.js +72 -0
- package/es/components/cropPhoto/index.less +15 -0
- package/es/components/customSelect/index.d.ts +1 -1
- package/es/components/customSelect/index.js +5 -5
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +11 -11
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -2
- package/es/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +5 -5
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +7 -7
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +8 -8
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +10 -10
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -2
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +14 -4
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -2
- package/es/components/dataSourceComponents/dataSourceMenu/index.js +2 -2
- 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/dataSourceShow/utils.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -2
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +2 -3
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.js +14 -14
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +5 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +5 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +12 -12
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +9 -9
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +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/DatePicker/WithMode.js +5 -5
- 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/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +4 -5
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +37 -9
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +4 -4
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +37 -9
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +7 -7
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.js +2 -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/Input.Url/ReadPretty.less +2 -0
- 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/TimePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +7 -7
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +131 -170
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Upload/WithMode.js +6 -3
- package/es/components/dataSourceComponents/fields/Upload/serve.js +17 -7
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.js +396 -0
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.js +20 -5
- package/es/components/dataSourceComponents/fields/index.d.ts +9 -10
- package/es/components/dataSourceComponents/fields/utils.js +4 -4
- package/es/components/dataSourceComponents/hooks/useActions.js +12 -12
- package/es/components/dataSourceComponents/hooks/useParseActionsVariable.js +6 -6
- package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
- package/es/components/dataSourceComponents/hooks/usePlatform.js +12 -0
- package/es/components/dataSourceComponents/provider/actions/ActionsProvider.js +5 -5
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +5 -5
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +8 -8
- package/es/components/dataSourceComponents/provider/variables/utils.js +3 -3
- package/es/components/date-picker/datePickerCpt.d.ts +1 -2
- package/es/components/date-picker/datePickerCpt.js +10 -10
- package/es/components/date-picker/hooks/useMediaQuery.js +1 -1
- package/es/components/date-picker/index.d.ts +1 -2
- package/es/components/div/index.d.ts +1 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -2
- package/es/components/drag-sort-tree/TreeItem/index.js +10 -10
- package/es/components/drag-sort-tree/index.d.ts +1 -2
- package/es/components/drag-sort-tree/index.js +6 -6
- package/es/components/drawer/index.js +6 -6
- package/es/components/dropdown/index.d.ts +1 -2
- package/es/components/filter/components/Dropdown/index.js +10 -10
- package/es/components/filter/components/FilterButton/index.js +7 -7
- package/es/components/filter/components/items/index.d.ts +6 -7
- package/es/components/filter/components/items/text/Editor/index.d.ts +1 -2
- package/es/components/filter/components/items/text/Preview/index.d.ts +1 -2
- package/es/components/filter/components/items/text/index.d.ts +2 -3
- package/es/components/filter/index.d.ts +1 -2
- package/es/components/filter/index.js +1 -1
- package/es/components/form/index.js +3 -3
- package/es/components/icon/index.js +5 -5
- package/es/components/iconSelect/index.js +2 -2
- package/es/components/iconSelect/utils.js +2 -2
- package/es/components/iconfont/index.js +0 -1
- package/es/components/input-number-range/index.js +6 -6
- package/es/components/list/index.d.ts +1 -2
- package/es/components/list/index.js +6 -6
- package/es/components/login-and-register/index.js +33 -31
- package/es/components/login-and-register/index.less +7 -7
- package/es/components/lowCodePage/index.d.ts +1 -2
- package/es/components/organizationTenantSwitcher/index.js +1 -1
- package/es/components/page/index.d.ts +1 -2
- package/es/components/page/index.js +33 -69
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisell-config-provider/context.js +3 -3
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.js +2 -2
- package/es/components/pisellAdjustPrice/index.d.ts +1 -2
- package/es/components/pisellAdjustPrice/index.js +6 -6
- package/es/components/pisellAlert/index.d.ts +1 -1
- package/es/components/pisellAlert/index.js +2 -2
- package/es/components/pisellAnchor/index.d.ts +23 -0
- package/es/components/pisellAnchor/index.js +303 -0
- package/es/components/pisellAnchor/index.less +197 -0
- package/es/components/pisellAvatar/index.js +5 -5
- package/es/components/pisellCard/index.d.ts +1 -2
- package/es/components/pisellCardList/index.d.ts +1 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/es/components/pisellCheckboxGroup/index.js +9 -7
- package/es/components/pisellCountdown/index.d.ts +1 -1
- package/es/components/pisellCountdown/index.js +8 -8
- package/es/components/pisellCountdown/utils.js +1 -1
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -2
- package/es/components/pisellDatePicker/datePickerCpt.js +4 -4
- package/es/components/pisellDatePicker/index.d.ts +1 -2
- package/es/components/pisellDraggable/components/Action/Action.js +5 -5
- package/es/components/pisellDraggable/components/Remove/Remove.d.ts +2 -2
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +2 -2
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +5 -5
- package/es/components/pisellDraggable/components/TreeItem/TreeItem.js +5 -5
- package/es/components/pisellDraggable/index.d.ts +2 -2
- package/es/components/pisellDraggable/index.js +10 -10
- package/es/components/pisellDraggable/utilities.js +5 -5
- package/es/components/pisellDropSort/PisellDropSort.js +1 -1
- package/es/components/pisellDropSort/components/SortableItem/index.d.ts +1 -1
- package/es/components/pisellDropSort/components/SortableItem/index.js +5 -5
- package/es/components/pisellEmpty/index.d.ts +1 -1
- package/es/components/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellFloatingPanel/index.js +6 -6
- package/es/components/pisellInformationEntry/Input/index.d.ts +1 -1
- package/es/components/pisellInformationEntry/Input/index.js +1 -1
- package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -2
- package/es/components/pisellInformationEntry/Scan/index.js +2 -2
- package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.js +5 -5
- package/es/components/pisellInformationEntry/index.d.ts +1 -1
- package/es/components/pisellInformationEntry/index.js +6 -6
- package/es/components/pisellInformationEntry/utils.js +2 -2
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -2
- package/es/components/pisellInput/components/BankCard/index.js +5 -5
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -2
- package/es/components/pisellInput/components/Copy/index.js +5 -5
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -2
- package/es/components/pisellInput/components/SecurityCode/index.js +2 -2
- package/es/components/pisellInput/index.d.ts +4 -5
- package/es/components/pisellLayout/content.js +7 -7
- package/es/components/pisellLayout/footer.js +5 -5
- package/es/components/pisellLayout/header.js +5 -5
- package/es/components/pisellLayout/sider.js +2 -2
- package/es/components/pisellLoading/index.d.ts +1 -2
- package/es/components/pisellMenu/PisellMenu.d.ts +1 -1
- 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/MobileModal/index.js +3 -3
- package/es/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/es/components/pisellModal/components/PcModal/index.js +7 -7
- package/es/components/pisellModal/components/functions/index.js +5 -5
- package/es/components/pisellModal/components/index.d.ts +3 -4
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +26 -10
- package/es/components/pisellQRScanner/index.js +15 -7
- package/es/components/pisellQrcode/index.d.ts +10 -0
- package/es/components/pisellQrcode/index.js +70 -0
- package/es/components/pisellQrcode/index.less +41 -0
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellRow/index.js +5 -5
- package/es/components/pisellScan/index.js +6 -6
- package/es/components/pisellStatisticList/index.d.ts +4 -1
- package/es/components/pisellStatisticList/index.js +17 -5
- package/es/components/pisellStatisticList/index.less +1 -1
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellTags/index.js +9 -5
- package/es/components/pisellText/components/Amount/index.d.ts +3 -1
- package/es/components/pisellText/components/Amount/index.js +3 -2
- 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/pisellViewGrid/index.js +5 -5
- package/es/components/pisellWalletPassCard/index.d.ts +5 -6
- package/es/components/pisellWalletPassCard/index.js +28 -12
- package/es/components/pisellWalletPassCard/index.less +26 -4
- package/es/components/profileMenu/index.js +6 -6
- package/es/components/qrcode/index.d.ts +1 -2
- package/es/components/qrcode/index.js +1 -1
- package/es/components/radio/index.d.ts +1 -2
- package/es/components/record-view/index.d.ts +13 -5
- package/es/components/record-view/index.js +82 -31
- package/es/components/record-view/index.less +37 -2
- package/es/components/segmented/index.d.ts +1 -2
- package/es/components/select/index.js +6 -6
- package/es/components/select-time/RightPanel/index.d.ts +1 -2
- package/es/components/select-time/index.d.ts +1 -2
- package/es/components/select-time/index.js +2 -2
- package/es/components/skeleton/index.d.ts +1 -2
- package/es/components/slider/index.d.ts +1 -2
- package/es/components/sort/components/InlineMenu/index.d.ts +1 -2
- package/es/components/sort/components/InlineMenu/index.js +1 -1
- package/es/components/sort/index.js +5 -5
- package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.js +7 -7
- 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/ExportFile/index.js +8 -8
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +9 -9
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.js +1 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/Detail.js +5 -5
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -2
- package/es/components/table/Actions/component/ExportImport/index.js +3 -3
- 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/PopoverContent.js +2 -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/component/ViewMode/index.js +1 -1
- package/es/components/table/Actions/index.d.ts +1 -2
- package/es/components/table/BasicTable/index.d.ts +1 -2
- package/es/components/table/BasicTable/index.js +9 -9
- 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/RenderFields/index.js +4 -5
- 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/components/VirtualGrid/index.js +5 -5
- package/es/components/table/Gallery/index.d.ts +1 -1
- package/es/components/table/Gallery/index.js +1 -1
- package/es/components/table/Header/Buttons/index.js +5 -5
- 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/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.d.ts +1 -2
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- 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 -4
- 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 +77 -78
- package/es/components/table/Table/fields/link/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- 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/Edit/index.js +7 -7
- 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/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +3 -4
- 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/Edit/index.js +7 -7
- 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/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +3 -4
- package/es/components/table/Table/fields/search/Config/index.d.ts +1 -2
- package/es/components/table/Table/fields/search/Edit/index.js +2 -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/filterUtil/index.js +0 -1
- 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 -4
- 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/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -2
- package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
- package/es/components/table/Table/fields/text/index.d.ts +3 -4
- 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 -4
- package/es/components/table/Table/index.js +11 -11
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -2
- 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/body/index.js +6 -6
- package/es/components/table/Table/tableConfig/header/index.js +5 -5
- 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/Table/utils.js +13 -8
- package/es/components/table/TableFilter/SortIcon.d.ts +1 -2
- package/es/components/table/TableFilter/numberFilter.js +7 -7
- package/es/components/table/TableFilter/selectFilter.js +1 -1
- package/es/components/table/Tabs/index.js +5 -5
- package/es/components/table/View/index.d.ts +1 -2
- package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
- package/es/components/table/hooks/useTableSetting.js +13 -13
- package/es/components/table/hooks/useTransColumns.js +9 -9
- package/es/components/table/hooks/useTransDataSource.js +1 -1
- package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
- package/es/components/table/hooks/useTransFilterSetting.js +5 -5
- package/es/components/table/hooks/useTransSortSetting.js +5 -5
- package/es/components/table/hooks/useTriggerValuesChange.js +2 -2
- package/es/components/table/index.js +13 -13
- package/es/components/table/model.d.ts +1 -1
- package/es/components/table/model.js +5 -5
- package/es/components/table/serve.js +9 -9
- package/es/components/table/utils.js +3 -3
- package/es/components/tabs/index.d.ts +3 -2
- package/es/components/tabs/index.js +32 -12
- package/es/components/tabs/index.less +5 -5
- package/es/components/time-picker/index.d.ts +1 -2
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/upload/index.d.ts +1 -2
- package/es/components/versionModal/index.js +1 -1
- package/es/components/versionSelect/index.d.ts +1 -2
- package/es/components/versionSelect/index.js +1 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Amount/index.js +1 -1
- 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/BaseNumberKeyboard/index.js +3 -3
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Keyboard/index.js +8 -8
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -2
- package/es/components/virtual-keyboard/Number/index.js +1 -1
- package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Time/index.js +4 -4
- package/es/components/virtual-keyboard/Time/utils.d.ts +1 -2
- package/es/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/es/components/virtual-keyboard/VirtualInput/index.js +1 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -2
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +4 -4
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/components/walletCard/Guest/index.d.ts +3 -0
- package/es/components/walletCard/Guest/index.js +83 -0
- package/es/components/walletCard/Guest/index.less +71 -0
- package/es/components/walletCard/index.d.ts +65 -0
- package/es/components/walletCard/index.js +402 -0
- package/es/components/walletCard/index.less +267 -0
- package/es/hooks/useCssVariables.js +1 -1
- package/es/hooks/useEngineContext.js +5 -5
- package/es/hooks/useResponsive.js +2 -2
- package/es/hooks/useSetRequest.js +2 -2
- package/es/hooks/useTranslationOriginal.js +2 -2
- package/es/index.d.ts +10 -1
- package/es/index.js +10 -1
- package/es/locales/en-US.d.ts +38 -2
- package/es/locales/en-US.js +55 -10
- package/es/locales/index.js +4 -2
- package/es/locales/zh-CN.d.ts +36 -0
- package/es/locales/zh-CN.js +41 -1
- package/es/locales/zh-TW.d.ts +36 -0
- package/es/locales/zh-TW.js +41 -1
- package/es/utils/hoc.d.ts +5 -5
- package/es/utils/hoc.js +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +3 -0
- package/es/utils/mergeWith.js +1 -1
- package/es/utils/miniRedux.d.ts +1 -1
- package/es/utils/miniRedux.js +8 -9
- 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 +3 -3
- package/lib/components/appVersionControl/index.d.ts +1 -2
- package/lib/components/appVersionControl/utils.js +4 -8
- package/lib/components/auto-complete-number/index.d.ts +1 -2
- package/lib/components/badge/index.d.ts +7 -0
- package/lib/components/badge/index.js +70 -0
- package/lib/components/badge/index.less +2 -0
- 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 -3
- package/lib/components/batch-editor/index.d.ts +1 -2
- package/lib/components/browserSelect/index.d.ts +1 -1
- package/lib/components/buttonGroupEdit/index.d.ts +8 -0
- package/lib/components/buttonGroupEdit/index.js +317 -0
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/buttonGroupPreview/index.js +79 -0
- package/lib/components/calendar/index.d.ts +1 -2
- package/lib/components/cardMetricItem/index.d.ts +12 -0
- package/lib/components/cardMetricItem/index.js +75 -0
- package/lib/components/cardMetricItem/index.less +39 -0
- package/lib/components/cardPro/index.d.ts +3 -0
- package/lib/components/cardPro/index.js +98 -0
- package/lib/components/cardPro/index.less +55 -0
- package/lib/components/checkbox/index.d.ts +1 -2
- 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/cropPhoto/index.d.ts +3 -0
- package/lib/components/cropPhoto/index.js +70 -0
- package/lib/components/cropPhoto/index.less +15 -0
- 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/dataSourceForm/utils.js +3 -6
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -2
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +12 -3
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -2
- 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/useColumns.js +2 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +1 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +5 -5
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/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/DatePicker/ReadPretty.js +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.Mobile/ReadPretty.js +2 -4
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.js +37 -3
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +2 -4
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +37 -3
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- 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/Input.Url/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +2 -0
- package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +2 -4
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +2 -4
- 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/TimePicker/WithMode.js +4 -8
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +51 -81
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/WithMode.js +11 -9
- package/lib/components/dataSourceComponents/fields/Upload/serve.js +11 -2
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +247 -0
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.js +24 -18
- package/lib/components/dataSourceComponents/fields/index.d.ts +9 -10
- package/lib/components/dataSourceComponents/hooks/useActions.js +3 -6
- package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +1 -2
- package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
- package/lib/components/dataSourceComponents/hooks/usePlatform.js +51 -0
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +1 -2
- package/lib/components/dataSourceComponents/provider/variables/utils.js +2 -4
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -2
- package/lib/components/date-picker/datePickerCpt.js +1 -2
- package/lib/components/date-picker/index.d.ts +1 -2
- package/lib/components/div/index.d.ts +1 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -2
- package/lib/components/drag-sort-tree/TreeItem/index.js +1 -2
- package/lib/components/drag-sort-tree/index.d.ts +1 -2
- package/lib/components/drag-sort-tree/index.js +1 -2
- package/lib/components/dropdown/index.d.ts +1 -2
- package/lib/components/filter/components/items/index.d.ts +6 -7
- package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -2
- package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -2
- package/lib/components/filter/components/items/text/index.d.ts +2 -3
- package/lib/components/filter/index.d.ts +1 -2
- package/lib/components/filter/index.js +1 -2
- package/lib/components/form/index.js +1 -4
- package/lib/components/iconSelect/index.js +1 -2
- package/lib/components/iconSelect/utils.js +1 -2
- package/lib/components/list/index.d.ts +1 -2
- package/lib/components/login-and-register/index.js +23 -21
- package/lib/components/login-and-register/index.less +7 -7
- package/lib/components/lowCodePage/index.d.ts +1 -2
- package/lib/components/lowCodePage/index.js +1 -2
- package/lib/components/page/index.d.ts +1 -2
- package/lib/components/page/index.js +37 -65
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisell-config-provider/context.js +1 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -2
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellAnchor/index.d.ts +23 -0
- package/lib/components/pisellAnchor/index.js +251 -0
- package/lib/components/pisellAnchor/index.less +197 -0
- package/lib/components/pisellCard/index.d.ts +1 -2
- package/lib/components/pisellCardList/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.js +1 -2
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -2
- package/lib/components/pisellDatePicker/datePickerCpt.js +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 +2 -2
- package/lib/components/pisellDraggable/index.d.ts +2 -2
- package/lib/components/pisellDraggable/index.js +3 -6
- 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/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/pisellMenu/PisellMenu.d.ts +1 -1
- 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/pisellNavigationMenu/PisellNavigationMenu.js +24 -3
- package/lib/components/pisellQRScanner/index.js +9 -18
- package/lib/components/pisellQrcode/index.d.ts +10 -0
- package/lib/components/pisellQrcode/index.js +82 -0
- package/lib/components/pisellQrcode/index.less +41 -0
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellStatisticList/index.d.ts +4 -1
- package/lib/components/pisellStatisticList/index.js +35 -15
- package/lib/components/pisellStatisticList/index.less +1 -1
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/components/Amount/index.d.ts +3 -1
- package/lib/components/pisellText/components/Amount/index.js +2 -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 +5 -6
- package/lib/components/pisellWalletPassCard/index.js +17 -9
- package/lib/components/pisellWalletPassCard/index.less +26 -4
- package/lib/components/profileMenu/index.js +1 -2
- package/lib/components/qrcode/index.d.ts +1 -2
- package/lib/components/radio/index.d.ts +1 -2
- package/lib/components/record-view/index.d.ts +13 -5
- package/lib/components/record-view/index.js +63 -11
- package/lib/components/record-view/index.less +37 -2
- package/lib/components/segmented/index.d.ts +1 -2
- package/lib/components/select/index.js +2 -4
- 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 -2
- 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/PopoverContent.js +1 -2
- 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/ExportImport/index.js +2 -4
- 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/filterUtil/index.js +3 -6
- package/lib/components/table/Table/fields/date/index.d.ts +3 -4
- 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 +77 -78
- 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/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +3 -4
- 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/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +3 -4
- 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 -4
- 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 -4
- 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 -4
- package/lib/components/table/Table/fields/utils/index.js +1 -2
- 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/Table/utils.js +10 -17
- 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/useTransColumns.js +1 -2
- package/lib/components/table/model.d.ts +1 -1
- package/lib/components/table/utils.js +7 -7
- package/lib/components/tabs/index.d.ts +3 -2
- package/lib/components/tabs/index.js +69 -61
- package/lib/components/tabs/index.less +5 -5
- package/lib/components/time-picker/index.d.ts +1 -2
- package/lib/components/upload/index.d.ts +1 -2
- package/lib/components/versionModal/index.js +2 -4
- package/lib/components/versionSelect/index.d.ts +1 -2
- package/lib/components/versionSelect/index.js +6 -12
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -1
- 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/BaseNumberKeyboard/index.js +2 -4
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -2
- package/lib/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/components/walletCard/Guest/index.d.ts +3 -0
- package/lib/components/walletCard/Guest/index.js +138 -0
- package/lib/components/walletCard/Guest/index.less +71 -0
- package/lib/components/walletCard/index.d.ts +65 -0
- package/lib/components/walletCard/index.js +374 -0
- package/lib/components/walletCard/index.less +267 -0
- package/lib/hooks/useCssVariables.js +1 -2
- package/lib/hooks/useResponsive.js +3 -6
- package/lib/index.d.ts +10 -1
- package/lib/index.js +26 -1
- package/lib/locales/en-US.d.ts +38 -2
- package/lib/locales/en-US.js +41 -3
- package/lib/locales/index.js +4 -2
- package/lib/locales/zh-CN.d.ts +36 -0
- package/lib/locales/zh-CN.js +41 -1
- package/lib/locales/zh-TW.d.ts +36 -0
- package/lib/locales/zh-TW.js +41 -1
- package/lib/utils/hoc.d.ts +5 -5
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +6 -1
- package/lib/utils/miniRedux.d.ts +1 -1
- package/lowcode/badge/meta.ts +20 -11
- package/lowcode/badge/snippets.ts +2 -0
- package/lowcode/button/meta.ts +2 -6
- package/lowcode/button-group/meta.ts +198 -0
- package/lowcode/button-group/snippets.ts +68 -0
- package/lowcode/button-group-edit/meta.ts +32 -0
- package/lowcode/button-group-edit/snippets.ts +98 -0
- package/lowcode/button-group-preview/meta.ts +55 -0
- package/lowcode/button-group-preview/snippets.ts +57 -0
- package/lowcode/card/snippets.ts +55 -55
- package/lowcode/card-metric-item/meta.ts +83 -0
- package/lowcode/card-metric-item/snippets.ts +13 -0
- package/lowcode/card-pro/meta.ts +338 -0
- package/lowcode/card-pro/snippe.ts +39 -0
- package/lowcode/crop-photo/meta.ts +77 -0
- package/lowcode/crop-photo/snippe.ts +12 -0
- package/lowcode/form-item-upload/meta.ts +11 -0
- package/lowcode/pisell-anchor/meta.ts +118 -0
- package/lowcode/pisell-anchor/snippets.ts +26 -0
- package/lowcode/pisell-card/meta.ts +63 -27
- package/lowcode/pisell-card/snippets.ts +6 -0
- package/lowcode/pisell-modal.information/meta.ts +8 -0
- package/lowcode/pisell-qrcode/__screenshots__/upload-1.png +0 -0
- package/lowcode/pisell-qrcode/meta.ts +46 -0
- package/lowcode/pisell-qrcode/snippets.ts +13 -0
- package/lowcode/pisell-tooltip/meta.ts +1 -1
- package/lowcode/record-view/meta.ts +20 -0
- package/lowcode/section-footers/meta.ts +66 -0
- package/lowcode/section-footers/snippe.ts +21 -0
- package/lowcode/spin/meta.ts +9 -0
- package/lowcode/tag/meta.ts +6 -0
- package/lowcode/timeline/meta.ts +32 -9
- package/lowcode/timeline/snippets.ts +12 -2
- package/lowcode/timeline.item/meta.ts +1 -1
- package/lowcode/wallet-card/meta.ts +283 -0
- package/lowcode/wallet-card/snippets.ts +44 -0
- package/package.json +6 -2
- 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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["picker", "onChange", "value", "format", "defaultValue", "showTime"];
|
|
3
3
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
function _toPropertyKey(
|
|
5
|
-
function _toPrimitive(
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
6
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
9
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
|
-
function _iterableToArrayLimit(
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14
14
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -85,7 +85,7 @@ var DatePickerCpt = function DatePickerCpt(props) {
|
|
|
85
85
|
}, [value]);
|
|
86
86
|
useEffect(function () {
|
|
87
87
|
var _value$format;
|
|
88
|
-
setValueStr((_value === null || _value === void 0
|
|
88
|
+
setValueStr((_value === null || _value === void 0 || (_value$format = _value.format) === null || _value$format === void 0 ? void 0 : _value$format.call(_value, format || 'YYYY-MM-DD')) || '');
|
|
89
89
|
}, [_value]);
|
|
90
90
|
var customPresetItems = useMemo(function () {
|
|
91
91
|
var preset = [{
|
|
@@ -154,7 +154,7 @@ var DatePickerCpt = function DatePickerCpt(props) {
|
|
|
154
154
|
setTimeout(function () {
|
|
155
155
|
var _ref$current;
|
|
156
156
|
setPopupOpen(visible);
|
|
157
|
-
(_ref$current = ref.current) === null || _ref$current === void 0
|
|
157
|
+
(_ref$current = ref.current) === null || _ref$current === void 0 || _ref$current.blur();
|
|
158
158
|
});
|
|
159
159
|
return;
|
|
160
160
|
}
|
|
@@ -167,7 +167,7 @@ var DatePickerCpt = function DatePickerCpt(props) {
|
|
|
167
167
|
if (returnValue !== null) {
|
|
168
168
|
returnValue = returnValue || _value;
|
|
169
169
|
}
|
|
170
|
-
onChange === null || onChange === void 0
|
|
170
|
+
onChange === null || onChange === void 0 || onChange(returnValue, (_returnValue = returnValue) === null || _returnValue === void 0 ? void 0 : _returnValue.format('YYYY-MM-DD'));
|
|
171
171
|
handleOpenChange(false);
|
|
172
172
|
};
|
|
173
173
|
var handleChange = function handleChange(val, valStr, isNotChange) {
|
|
@@ -214,8 +214,8 @@ var DatePickerCpt = function DatePickerCpt(props) {
|
|
|
214
214
|
};
|
|
215
215
|
var handleTimeChange = function handleTimeChange(val) {
|
|
216
216
|
setValue(function (preVal) {
|
|
217
|
-
var _preVal$set
|
|
218
|
-
return (preVal === null || preVal === void 0
|
|
217
|
+
var _preVal$set;
|
|
218
|
+
return (preVal === null || preVal === void 0 || (_preVal$set = preVal.set('hour', (val === null || val === void 0 ? void 0 : val.get('hour')) || 0)) === null || _preVal$set === void 0 || (_preVal$set = _preVal$set.set('minute', (val === null || val === void 0 ? void 0 : val.get('minute')) || 0)) === null || _preVal$set === void 0 ? void 0 : _preVal$set.set('second', (val === null || val === void 0 ? void 0 : val.get('second')) || 0)) || null;
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
221
|
var timeInputProps = useMemo(function () {
|
|
@@ -235,7 +235,7 @@ var DatePickerCpt = function DatePickerCpt(props) {
|
|
|
235
235
|
var val = e.target.value;
|
|
236
236
|
handleTimeChange(window.dayjs(val, _format));
|
|
237
237
|
},
|
|
238
|
-
value: _value === null || _value === void 0
|
|
238
|
+
value: _value === null || _value === void 0 || (_value$format2 = _value.format) === null || _value$format2 === void 0 ? void 0 : _value$format2.call(_value, _format)
|
|
239
239
|
};
|
|
240
240
|
}, [showTime, _value]);
|
|
241
241
|
if (!picker || picker === 'date') {
|
|
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
-
function _iterableToArrayLimit(
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { useEffect, useState } from 'react';
|
|
8
8
|
var useMediaQuery = function useMediaQuery(query) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
import { ValueProps, SortType } from '../types';
|
|
4
3
|
declare type IdType = string | number;
|
|
@@ -15,5 +14,5 @@ declare type TreeItemProps = {
|
|
|
15
14
|
onSelectKeys?: (ids: IdType) => void;
|
|
16
15
|
onChange?: (value: any[]) => void;
|
|
17
16
|
};
|
|
18
|
-
declare const TreeItem: (props: TreeItemProps) =>
|
|
17
|
+
declare const TreeItem: (props: TreeItemProps) => JSX.Element;
|
|
19
18
|
export default TreeItem;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4
4
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
5
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
6
6
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
7
|
-
function ownKeys(
|
|
8
|
-
function _objectSpread(
|
|
7
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
-
function _toPropertyKey(
|
|
11
|
-
function _toPrimitive(
|
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
12
12
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
13
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
14
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
15
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
-
function _iterableToArrayLimit(
|
|
16
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
17
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
18
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
19
19
|
import { useSortable } from '@dnd-kit/sortable';
|
|
@@ -65,11 +65,11 @@ var TreeItem = function TreeItem(props) {
|
|
|
65
65
|
if (!over || !active || !lists.length) return;
|
|
66
66
|
try {
|
|
67
67
|
var _active$id, _over$id;
|
|
68
|
-
var _active$id$split = active === null || active === void 0
|
|
68
|
+
var _active$id$split = active === null || active === void 0 || (_active$id = active.id) === null || _active$id === void 0 ? void 0 : _active$id.split('-'),
|
|
69
69
|
_active$id$split2 = _slicedToArray(_active$id$split, 2),
|
|
70
70
|
activeParentId = _active$id$split2[0],
|
|
71
71
|
activeId = _active$id$split2[1];
|
|
72
|
-
var _over$id$split = over === null || over === void 0
|
|
72
|
+
var _over$id$split = over === null || over === void 0 || (_over$id = over.id) === null || _over$id === void 0 ? void 0 : _over$id.split('-'),
|
|
73
73
|
_over$id$split2 = _slicedToArray(_over$id$split, 2),
|
|
74
74
|
overParentId = _over$id$split2[0],
|
|
75
75
|
overId = _over$id$split2[1];
|
|
@@ -113,7 +113,7 @@ var TreeItem = function TreeItem(props) {
|
|
|
113
113
|
});
|
|
114
114
|
if (index !== -1) {
|
|
115
115
|
lists[index].show = !lists[index].show;
|
|
116
|
-
onChange === null || onChange === void 0
|
|
116
|
+
onChange === null || onChange === void 0 || onChange(_toConsumableArray(lists));
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
var onSelect = function onSelect() {
|
|
@@ -125,7 +125,7 @@ var TreeItem = function TreeItem(props) {
|
|
|
125
125
|
};
|
|
126
126
|
var renderChildren = useMemo(function () {
|
|
127
127
|
var _item$children2;
|
|
128
|
-
var showChildren = (item === null || item === void 0
|
|
128
|
+
var showChildren = (item === null || item === void 0 || (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length) > 0 && (expandedKeys === null || expandedKeys === void 0 ? void 0 : expandedKeys.includes(item[rowKey]));
|
|
129
129
|
var _isAvailableTab = (childrenProps === null || childrenProps === void 0 ? void 0 : childrenProps.tabKey) === 'available';
|
|
130
130
|
return showChildren && /*#__PURE__*/React.createElement(SortableContext, {
|
|
131
131
|
items: item.children.map(function (child) {
|
|
@@ -6,7 +6,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
6
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7
7
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
8
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
9
|
-
function _iterableToArrayLimit(
|
|
9
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
11
|
import React, { useEffect, useState } from 'react';
|
|
12
12
|
import { DndContext, useSensor, useSensors, PointerSensor } from '@dnd-kit/core';
|
|
@@ -48,9 +48,9 @@ var DragSortTree = function DragSortTree(props) {
|
|
|
48
48
|
}
|
|
49
49
|
}));
|
|
50
50
|
var handleDragStart = function handleDragStart(event) {
|
|
51
|
-
var _active$id
|
|
51
|
+
var _active$id;
|
|
52
52
|
var active = event.active;
|
|
53
|
-
var activeId = active === null || active === void 0
|
|
53
|
+
var activeId = active === null || active === void 0 || (_active$id = active.id) === null || _active$id === void 0 || (_active$id = _active$id.split('-')) === null || _active$id === void 0 ? void 0 : _active$id[1];
|
|
54
54
|
var _keys = expandedKeys === null || expandedKeys === void 0 ? void 0 : expandedKeys.filter(function (key) {
|
|
55
55
|
return key != activeId;
|
|
56
56
|
});
|
|
@@ -61,9 +61,9 @@ var DragSortTree = function DragSortTree(props) {
|
|
|
61
61
|
over = event.over;
|
|
62
62
|
if (!over || !active) return;
|
|
63
63
|
try {
|
|
64
|
-
var _active$id2,
|
|
65
|
-
var activeId = active === null || active === void 0
|
|
66
|
-
var overId = over === null || over === void 0
|
|
64
|
+
var _active$id2, _over$id;
|
|
65
|
+
var activeId = active === null || active === void 0 || (_active$id2 = active.id) === null || _active$id2 === void 0 || (_active$id2 = _active$id2.split('-')) === null || _active$id2 === void 0 ? void 0 : _active$id2[1];
|
|
66
|
+
var overId = over === null || over === void 0 || (_over$id = over.id) === null || _over$id === void 0 || (_over$id = _over$id.split('-')) === null || _over$id === void 0 ? void 0 : _over$id[1];
|
|
67
67
|
if (activeId !== overId) {
|
|
68
68
|
// 如果没有自动点击折叠则拖动结束再次打开
|
|
69
69
|
if (!(hiddenKeys !== null && hiddenKeys !== void 0 && hiddenKeys.includes(Number(activeId)))) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var _excluded = ["others"];
|
|
2
|
-
function _typeof(
|
|
2
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
-
function ownKeys(
|
|
5
|
-
function _objectSpread(
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
7
7
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
8
8
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
9
9
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
10
|
-
function _iterableToArrayLimit(
|
|
10
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
13
13
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
14
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
-
function _toPropertyKey(
|
|
16
|
-
function _toPrimitive(
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
17
|
import React, { useLayoutEffect, useMemo } from 'react';
|
|
18
18
|
import { Drawer as OriginalDrawer } from 'antd';
|
|
19
19
|
import { useControllableValue, useUpdateEffect } from 'ahooks';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
-
function ownKeys(
|
|
4
|
-
function _objectSpread(
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(
|
|
7
|
-
function _toPrimitive(
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
import React, { useCallback, useMemo } from 'react';
|
|
9
9
|
import DotsSix from '@pisell/icon/es/DotsSix';
|
|
10
10
|
import HelpCircle from '@pisell/icon/es/HelpCircle';
|
|
@@ -58,7 +58,7 @@ var Dropdown = function Dropdown(props) {
|
|
|
58
58
|
};
|
|
59
59
|
}, [quickFilter, otherFilter]);
|
|
60
60
|
var handleSortChange = function handleSortChange(list) {
|
|
61
|
-
onChange === null || onChange === void 0
|
|
61
|
+
onChange === null || onChange === void 0 || onChange(list);
|
|
62
62
|
};
|
|
63
63
|
var renderContainer = useCallback(function (_ref) {
|
|
64
64
|
var children = _ref.children,
|
|
@@ -116,13 +116,13 @@ var Dropdown = function Dropdown(props) {
|
|
|
116
116
|
other: _objectSpread(_objectSpread({}, item.other), {}, {
|
|
117
117
|
onOpen: function onOpen() {
|
|
118
118
|
var _item$other, _item$other$onOpen;
|
|
119
|
-
(_item$other = item.other) === null || _item$other === void 0
|
|
120
|
-
_onOpen === null || _onOpen === void 0
|
|
119
|
+
(_item$other = item.other) === null || _item$other === void 0 || (_item$other$onOpen = _item$other.onOpen) === null || _item$other$onOpen === void 0 || _item$other$onOpen.call(_item$other);
|
|
120
|
+
_onOpen === null || _onOpen === void 0 || _onOpen();
|
|
121
121
|
},
|
|
122
122
|
onClose: function onClose() {
|
|
123
123
|
var _item$other2, _item$other2$onClose;
|
|
124
|
-
(_item$other2 = item.other) === null || _item$other2 === void 0
|
|
125
|
-
_onClose === null || _onClose === void 0
|
|
124
|
+
(_item$other2 = item.other) === null || _item$other2 === void 0 || (_item$other2$onClose = _item$other2.onClose) === null || _item$other2$onClose === void 0 || _item$other2$onClose.call(_item$other2);
|
|
125
|
+
_onClose === null || _onClose === void 0 || _onClose();
|
|
126
126
|
},
|
|
127
127
|
style: _objectSpread(_objectSpread({}, ((_item$other3 = item.other) === null || _item$other3 === void 0 ? void 0 : _item$other3.style) || {}), {}, {
|
|
128
128
|
width: '100%'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
9
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
|
-
function _iterableToArrayLimit(
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import React, { useMemo, useRef, useState } from 'react';
|
|
14
14
|
import { Button, Popover } from 'antd';
|
|
@@ -39,7 +39,7 @@ var Filter = function Filter(_ref) {
|
|
|
39
39
|
return (value === null || value === void 0 ? void 0 : value.otherFilter) || [];
|
|
40
40
|
}, [value === null || value === void 0 ? void 0 : value.otherFilter]);
|
|
41
41
|
var handleChange = function handleChange(newVal) {
|
|
42
|
-
onChange === null || onChange === void 0
|
|
42
|
+
onChange === null || onChange === void 0 || onChange(_objectSpread(_objectSpread({}, value), newVal));
|
|
43
43
|
};
|
|
44
44
|
var content = useMemo(function () {
|
|
45
45
|
return /*#__PURE__*/React.createElement(Dropdown, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const fieldMaps: {
|
|
3
2
|
text: {
|
|
4
3
|
field: {
|
|
@@ -7,8 +6,8 @@ export declare const fieldMaps: {
|
|
|
7
6
|
field_type: string;
|
|
8
7
|
default_value: string;
|
|
9
8
|
};
|
|
10
|
-
Preview: (props: any) =>
|
|
11
|
-
Editor: () =>
|
|
9
|
+
Preview: (props: any) => JSX.Element;
|
|
10
|
+
Editor: () => JSX.Element;
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
13
|
export declare const fieldList: {
|
|
@@ -24,8 +23,8 @@ export declare const getFieldByType: (type: string) => {
|
|
|
24
23
|
field_type: string;
|
|
25
24
|
default_value: string;
|
|
26
25
|
};
|
|
27
|
-
Preview: (props: any) =>
|
|
28
|
-
Editor: () =>
|
|
26
|
+
Preview: (props: any) => JSX.Element;
|
|
27
|
+
Editor: () => JSX.Element;
|
|
29
28
|
};
|
|
30
29
|
declare const _default: {
|
|
31
30
|
text: {
|
|
@@ -35,8 +34,8 @@ declare const _default: {
|
|
|
35
34
|
field_type: string;
|
|
36
35
|
default_value: string;
|
|
37
36
|
};
|
|
38
|
-
Preview: (props: any) =>
|
|
39
|
-
Editor: () =>
|
|
37
|
+
Preview: (props: any) => JSX.Element;
|
|
38
|
+
Editor: () => JSX.Element;
|
|
40
39
|
};
|
|
41
40
|
};
|
|
42
41
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const _default: {
|
|
3
2
|
field: {
|
|
4
3
|
field_icon: string;
|
|
@@ -6,7 +5,7 @@ declare const _default: {
|
|
|
6
5
|
field_type: string;
|
|
7
6
|
default_value: string;
|
|
8
7
|
};
|
|
9
|
-
Preview: (props: any) =>
|
|
10
|
-
Editor: () =>
|
|
8
|
+
Preview: (props: any) => JSX.Element;
|
|
9
|
+
Editor: () => JSX.Element;
|
|
11
10
|
};
|
|
12
11
|
export default _default;
|
|
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
-
function _iterableToArrayLimit(
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React, { useEffect, useMemo } from "react";
|
|
8
8
|
import { Form } from "antd";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["values"],
|
|
2
2
|
_excluded2 = ["children"];
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
5
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
6
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -15,8 +15,8 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
15
15
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
16
16
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
|
-
function _toPropertyKey(
|
|
19
|
-
function _toPrimitive(
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
20
|
import React, { Component, createRef } from 'react';
|
|
21
21
|
import { Form as OriginalForm } from 'antd';
|
|
22
22
|
import { withSingleFunctionChild } from "../../utils/hoc";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["type", "size", "color"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
-
function ownKeys(
|
|
5
|
-
function _objectSpread(
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
9
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
10
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
11
|
import React, { forwardRef } from 'react';
|
|
@@ -3,7 +3,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
3
3
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
4
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5
5
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
|
-
function _iterableToArrayLimit(
|
|
6
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
8
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -161,7 +161,7 @@ var IconSelect = function IconSelect(props) {
|
|
|
161
161
|
}));
|
|
162
162
|
}, [selectedGroup, search, groups]);
|
|
163
163
|
var handleChange = function handleChange(icon) {
|
|
164
|
-
onChange === null || onChange === void 0
|
|
164
|
+
onChange === null || onChange === void 0 || onChange(icon);
|
|
165
165
|
hide();
|
|
166
166
|
};
|
|
167
167
|
var triggerNode = /*#__PURE__*/React.createElement("div", {
|
|
@@ -2,7 +2,7 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableTo
|
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
4
4
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
5
|
-
function _typeof(
|
|
5
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
6
6
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
7
7
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
8
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
@@ -69,7 +69,7 @@ export function getAntdIconList() {
|
|
|
69
69
|
if (_typeof(item) !== 'object') {
|
|
70
70
|
return null;
|
|
71
71
|
}
|
|
72
|
-
var name = (_ref = (_item$displayName = item === null || item === void 0 ? void 0 : item.displayName) !== null && _item$displayName !== void 0 ? _item$displayName : item === null || item === void 0
|
|
72
|
+
var name = (_ref = (_item$displayName = item === null || item === void 0 ? void 0 : item.displayName) !== null && _item$displayName !== void 0 ? _item$displayName : item === null || item === void 0 || (_item$render = item.render) === null || _item$render === void 0 ? void 0 : _item$render.displayName) !== null && _ref !== void 0 ? _ref : key;
|
|
73
73
|
var group = 'outlined';
|
|
74
74
|
var lowercaseName = name.toLowerCase();
|
|
75
75
|
if (/outlined$/.test(lowercaseName)) {
|
|
@@ -4,7 +4,6 @@ import React from 'react';
|
|
|
4
4
|
var MyIcon = createFromIconfontCN({
|
|
5
5
|
scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.3.js' // 在 iconfont.cn 上生成
|
|
6
6
|
});
|
|
7
|
-
|
|
8
7
|
var IconFont = function IconFont(props) {
|
|
9
8
|
return /*#__PURE__*/React.createElement(MyIcon, _extends({}, props, {
|
|
10
9
|
className: props.className
|