@pisell/materials 6.0.19 → 6.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +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,17 +1,17 @@
|
|
|
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 = ["index", "__is_group", "children", "__is_drag_sort"],
|
|
3
3
|
_excluded2 = ["title", "editable", "children", "dataIndex", "field_type", "record", "handleSave", "lock", "render"];
|
|
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
|
-
function ownKeys(
|
|
6
|
-
function _objectSpread(
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
7
|
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; }
|
|
8
|
-
function _toPropertyKey(
|
|
9
|
-
function _toPrimitive(
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
|
+
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); }
|
|
10
10
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
11
11
|
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."); }
|
|
12
12
|
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); }
|
|
13
13
|
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; }
|
|
14
|
-
function _iterableToArrayLimit(
|
|
14
|
+
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; } }
|
|
15
15
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
16
|
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; }
|
|
17
17
|
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; }
|
|
@@ -1,12 +1,12 @@
|
|
|
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 = ["index"],
|
|
3
3
|
_excluded2 = ["onResize", "width", "field_type", "lock", "editable", "dataIndex", "position"];
|
|
4
4
|
var _templateObject;
|
|
5
|
-
function ownKeys(
|
|
6
|
-
function _objectSpread(
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
7
|
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; }
|
|
8
|
-
function _toPropertyKey(
|
|
9
|
-
function _toPrimitive(
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
|
+
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); }
|
|
10
10
|
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; }
|
|
11
11
|
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; }
|
|
12
12
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("view_mode" | "
|
|
158
|
+
}) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _excluded = ["view_mode"];
|
|
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 _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; }
|
|
4
4
|
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; }
|
|
5
5
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
@@ -8,11 +8,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
8
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
9
9
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
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 ownKeys(
|
|
12
|
-
function _objectSpread(
|
|
11
|
+
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; }
|
|
12
|
+
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; }
|
|
13
13
|
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; }
|
|
14
|
-
function _toPropertyKey(
|
|
15
|
-
function _toPrimitive(
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15
|
+
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); }
|
|
16
16
|
import React from "react";
|
|
17
17
|
import dayjs from "dayjs";
|
|
18
18
|
import { isBoolean, isFunction, isJson, isNumber, isString } from "@pisell/utils";
|
|
@@ -248,6 +248,11 @@ export var groupDataSource = function groupDataSource(dataSource, group, rowKey)
|
|
|
248
248
|
}, {}));
|
|
249
249
|
return newDataSource;
|
|
250
250
|
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* 本地存储的表格设置对象
|
|
254
|
+
*/
|
|
255
|
+
|
|
251
256
|
/**
|
|
252
257
|
* 将表格设置保存到本地存储
|
|
253
258
|
* @param tableId 表格id
|
|
@@ -325,7 +330,7 @@ export var setFormValuesToLocalStorage = function setFormValuesToLocalStorage(_r
|
|
|
325
330
|
currentSettingHash = _ref5.currentSettingHash;
|
|
326
331
|
if (!tableId) return;
|
|
327
332
|
var obj = {};
|
|
328
|
-
keys === null || keys === void 0
|
|
333
|
+
keys === null || keys === void 0 || keys.forEach(function (key) {
|
|
329
334
|
obj[key] = allValues === null || allValues === void 0 ? void 0 : allValues[key];
|
|
330
335
|
});
|
|
331
336
|
setTableSettingToLocalStorage({
|
|
@@ -383,8 +388,8 @@ export var mergeFilterSetting = function mergeFilterSetting(_ref6) {
|
|
|
383
388
|
if (!tableId || !quickFilter || !otherFilter) {
|
|
384
389
|
var _sortList$slice, _sortList$slice2;
|
|
385
390
|
return {
|
|
386
|
-
quickFilter: (sortList === null || sortList === void 0
|
|
387
|
-
otherFilter: (sortList === null || sortList === void 0
|
|
391
|
+
quickFilter: (sortList === null || sortList === void 0 || (_sortList$slice = sortList.slice) === null || _sortList$slice === void 0 ? void 0 : _sortList$slice.call(sortList, 0, quickFilterMaxLength)) || [],
|
|
392
|
+
otherFilter: (sortList === null || sortList === void 0 || (_sortList$slice2 = sortList.slice) === null || _sortList$slice2 === void 0 ? void 0 : _sortList$slice2.call(sortList, quickFilterMaxLength)) || [],
|
|
388
393
|
notSortFilter: notSortList
|
|
389
394
|
};
|
|
390
395
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import React from "react";
|
|
8
8
|
import { Button, InputNumber, Space } from "antd";
|
|
9
9
|
// import { FilterFunnel01, FilterFunnel01Fill } from "@pisell/icon/es";
|
|
@@ -30,7 +30,7 @@ var getColumnNumberProps = function getColumnNumberProps(_ref) {
|
|
|
30
30
|
split: "-",
|
|
31
31
|
className: "pisell-table-filter-dropdown-top"
|
|
32
32
|
}, /*#__PURE__*/React.createElement(InputNumber, {
|
|
33
|
-
value: selectedKeys === null || selectedKeys === void 0
|
|
33
|
+
value: selectedKeys === null || selectedKeys === void 0 || (_selectedKeys$ = selectedKeys[0]) === null || _selectedKeys$ === void 0 ? void 0 : _selectedKeys$.min,
|
|
34
34
|
onChange: function onChange(value) {
|
|
35
35
|
var newVal = _objectSpread(_objectSpread({}, (selectedKeys === null || selectedKeys === void 0 ? void 0 : selectedKeys[0]) || {}), {}, {
|
|
36
36
|
min: value
|
|
@@ -45,7 +45,7 @@ var getColumnNumberProps = function getColumnNumberProps(_ref) {
|
|
|
45
45
|
width: 105
|
|
46
46
|
}
|
|
47
47
|
}), /*#__PURE__*/React.createElement(InputNumber, {
|
|
48
|
-
value: selectedKeys === null || selectedKeys === void 0
|
|
48
|
+
value: selectedKeys === null || selectedKeys === void 0 || (_selectedKeys$2 = selectedKeys[0]) === null || _selectedKeys$2 === void 0 ? void 0 : _selectedKeys$2.max,
|
|
49
49
|
placeholder: getText("table-filter-max"),
|
|
50
50
|
onChange: function onChange(value) {
|
|
51
51
|
var newVal = _objectSpread(_objectSpread({}, (selectedKeys === null || selectedKeys === void 0 ? void 0 : selectedKeys[0]) || {}), {}, {
|
|
@@ -7,7 +7,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
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
|
import React, { useEffect, useMemo, useState } from "react";
|
|
13
13
|
import { Button, Checkbox, Space, Menu } from "antd";
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import React, { useCallback, useMemo } from 'react';
|
|
8
8
|
import OriginTabs from "../../tabs";
|
|
9
9
|
var Tabs = function Tabs(_ref) {
|
|
@@ -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, useMemo, useState } from "react";
|
|
8
8
|
import { useMemoizedFn } from "ahooks";
|
|
@@ -59,5 +59,4 @@ var useMergeColumnSetting = function useMergeColumnSetting(params) {
|
|
|
59
59
|
// sortColumns,
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
-
|
|
63
62
|
export default useMergeColumnSetting;
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import { useMemo } from "react";
|
|
8
8
|
import { getSettingKeyArrByMode, getTableSettingByCurrentViewMode, getTableSettingFromLocalStorage, mergeColumnSetting, mergeFilterSetting, setFormValuesToLocalStorage } from "../Table/utils";
|
|
9
9
|
import { useMemoizedFn } from "ahooks";
|
|
@@ -31,7 +31,7 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
31
31
|
return propsColumns;
|
|
32
32
|
} else if (currentViewMode === "gallery") {
|
|
33
33
|
var _gallery$content;
|
|
34
|
-
return ((gallery === null || gallery === void 0
|
|
34
|
+
return ((gallery === null || gallery === void 0 || (_gallery$content = gallery.content) === null || _gallery$content === void 0 ? void 0 : _gallery$content.fields) || []).filter(function (item) {
|
|
35
35
|
return item.show;
|
|
36
36
|
}).map(function (item) {
|
|
37
37
|
return columnsMap.get(item.columnKey);
|
|
@@ -46,10 +46,10 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
46
46
|
var defaultGalleryCoverSetting = useMemo(function () {
|
|
47
47
|
var _gallery$cover, _columns$find;
|
|
48
48
|
return {
|
|
49
|
-
coverObjectFit: gallery === null || gallery === void 0
|
|
49
|
+
coverObjectFit: gallery === null || gallery === void 0 || (_gallery$cover = gallery.cover) === null || _gallery$cover === void 0 ? void 0 : _gallery$cover.objectFit,
|
|
50
50
|
coverField: (_columns$find = columns.find(function (column) {
|
|
51
|
-
var _gallery$cover2
|
|
52
|
-
return column.key === (gallery === null || gallery === void 0
|
|
51
|
+
var _gallery$cover2;
|
|
52
|
+
return column.key === (gallery === null || gallery === void 0 || (_gallery$cover2 = gallery.cover) === null || _gallery$cover2 === void 0 || (_gallery$cover2 = _gallery$cover2.fields) === null || _gallery$cover2 === void 0 ? void 0 : _gallery$cover2[0]);
|
|
53
53
|
})) === null || _columns$find === void 0 ? void 0 : _columns$find.dataIndex,
|
|
54
54
|
compactMode: "default",
|
|
55
55
|
isShowLabel: true
|
|
@@ -112,10 +112,10 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
112
112
|
var _mergedSetting$item, _mergedSetting$item2, _mergedSetting$item3, _mergedSetting$item$i, _mergedSetting$item4;
|
|
113
113
|
setting[item] = _objectSpread(_objectSpread({}, mergedSetting === null || mergedSetting === void 0 ? void 0 : mergedSetting[item]), {}, {
|
|
114
114
|
// 本地没有默认封面效果时取配置中的
|
|
115
|
-
coverObjectFit: (mergedSetting === null || mergedSetting === void 0
|
|
116
|
-
coverField: (mergedSetting === null || mergedSetting === void 0
|
|
117
|
-
compactMode: (mergedSetting === null || mergedSetting === void 0
|
|
118
|
-
isShowLabel: (_mergedSetting$item$i = mergedSetting === null || mergedSetting === void 0
|
|
115
|
+
coverObjectFit: (mergedSetting === null || mergedSetting === void 0 || (_mergedSetting$item = mergedSetting[item]) === null || _mergedSetting$item === void 0 ? void 0 : _mergedSetting$item.coverObjectFit) || defaultGalleryCoverSetting.coverObjectFit,
|
|
116
|
+
coverField: (mergedSetting === null || mergedSetting === void 0 || (_mergedSetting$item2 = mergedSetting[item]) === null || _mergedSetting$item2 === void 0 ? void 0 : _mergedSetting$item2.coverField) || defaultGalleryCoverSetting.coverField,
|
|
117
|
+
compactMode: (mergedSetting === null || mergedSetting === void 0 || (_mergedSetting$item3 = mergedSetting[item]) === null || _mergedSetting$item3 === void 0 ? void 0 : _mergedSetting$item3.compactMode) || defaultGalleryCoverSetting.compactMode,
|
|
118
|
+
isShowLabel: (_mergedSetting$item$i = mergedSetting === null || mergedSetting === void 0 || (_mergedSetting$item4 = mergedSetting[item]) === null || _mergedSetting$item4 === void 0 ? void 0 : _mergedSetting$item4.isShowLabel) !== null && _mergedSetting$item$i !== void 0 ? _mergedSetting$item$i : defaultGalleryCoverSetting.isShowLabel
|
|
119
119
|
});
|
|
120
120
|
} else {
|
|
121
121
|
setting[item] = mergedSetting === null || mergedSetting === void 0 ? void 0 : mergedSetting[item];
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import React, { useCallback, useMemo } from "react";
|
|
8
8
|
import { Form } from "antd";
|
|
9
9
|
import { isBoolean } from "@pisell/utils";
|
|
@@ -57,7 +57,7 @@ var useTransColumns = function useTransColumns(params) {
|
|
|
57
57
|
form: form,
|
|
58
58
|
preserve: true
|
|
59
59
|
});
|
|
60
|
-
var groupField = group === null || group === void 0
|
|
60
|
+
var groupField = group === null || group === void 0 || (_group$ = group[0]) === null || _group$ === void 0 ? void 0 : _group$.field;
|
|
61
61
|
var groupFieldRender = useCallback(function (text, record) {
|
|
62
62
|
if (!groupField) return undefined;
|
|
63
63
|
var children = record.children;
|
|
@@ -87,7 +87,7 @@ var useTransColumns = function useTransColumns(params) {
|
|
|
87
87
|
});
|
|
88
88
|
|
|
89
89
|
// 分组后不展示拖拽排序
|
|
90
|
-
if (dragSort && !groupField && (newColumns === null || newColumns === void 0
|
|
90
|
+
if (dragSort && !groupField && (newColumns === null || newColumns === void 0 || (_newColumns$ = newColumns[0]) === null || _newColumns$ === void 0 ? void 0 : _newColumns$.key) !== "__sort") {
|
|
91
91
|
newColumns.unshift({
|
|
92
92
|
key: "__sort",
|
|
93
93
|
width: 60,
|
|
@@ -115,7 +115,7 @@ var useTransColumns = function useTransColumns(params) {
|
|
|
115
115
|
if (record.__is_group) {
|
|
116
116
|
return null;
|
|
117
117
|
}
|
|
118
|
-
return (col === null || col === void 0
|
|
118
|
+
return (col === null || col === void 0 || (_col$render = col.render) === null || _col$render === void 0 ? void 0 : _col$render.call(col, text, record)) || text;
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -128,7 +128,7 @@ var useTransColumns = function useTransColumns(params) {
|
|
|
128
128
|
if (record.__is_group && groupFieldRender) {
|
|
129
129
|
return groupFieldRender(text, record);
|
|
130
130
|
}
|
|
131
|
-
return (col === null || col === void 0
|
|
131
|
+
return (col === null || col === void 0 || (_col$render2 = col.render) === null || _col$render2 === void 0 ? void 0 : _col$render2.call(col, text, record)) || text;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
@@ -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 { useMemo } from "react";
|
|
8
8
|
import { isArr } from "@pisell/utils";
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import { useMemo } from "react";
|
|
8
8
|
var useTransDataSourceGroupSetting = function useTransDataSourceGroupSetting(params) {
|
|
9
9
|
var dataSourceGroup = params.dataSourceGroup,
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import { useMemo } from "react";
|
|
8
8
|
import { isMobile } from "../../../utils/platform";
|
|
9
9
|
var useTransFilterSetting = function useTransFilterSetting(params) {
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
import { useMemo } from "react";
|
|
8
8
|
import { isBoolean } from "@pisell/utils";
|
|
9
9
|
var useTransSortSetting = function useTransSortSetting(params) {
|
|
@@ -43,9 +43,9 @@ var useTriggerValuesChange = function useTriggerValuesChange(params) {
|
|
|
43
43
|
*/
|
|
44
44
|
if (changedKey === "order_by") {
|
|
45
45
|
if (sortShow && sortList !== null && sortList !== void 0 && sortList.length) {
|
|
46
|
-
var _value$split
|
|
46
|
+
var _value$split;
|
|
47
47
|
var value = changedValues[changedKey];
|
|
48
|
-
var sortField = (value === null || value === void 0
|
|
48
|
+
var sortField = (value === null || value === void 0 || (_value$split = value.split) === null || _value$split === void 0 || (_value$split = _value$split.call(value, ":")) === null || _value$split === void 0 ? void 0 : _value$split[0]) || "";
|
|
49
49
|
var remoteSortKeys = sortList.filter(function (item) {
|
|
50
50
|
return !item.localFilter;
|
|
51
51
|
}).map(function (item) {
|