@pisell/materials 1.0.656 → 1.0.657
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 +5 -5
- package/build/lowcode/preview.js +154 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +50 -28
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +50 -28
- 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 +13 -11
- package/es/components/Pagination/index.d.ts +2 -2
- package/es/components/Pagination/index.js +1 -1
- package/es/components/TimeResourceSelector/index.js +3 -3
- package/es/components/appVersionControl/index.d.ts +2 -1
- package/es/components/appVersionControl/index.js +5 -5
- package/es/components/auto-complete-number/index.d.ts +2 -1
- package/es/components/badge/index.d.ts +2 -1
- package/es/components/badge/index.js +5 -5
- 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 +3 -2
- package/es/components/batch-editor/index.d.ts +2 -1
- 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.js +7 -6
- package/es/components/buttonGroupPreview/index.js +7 -8
- package/es/components/calendar/index.d.ts +2 -1
- package/es/components/cardMetricItem/index.d.ts +1 -1
- package/es/components/cardPro/index.d.ts +2 -1
- package/es/components/checkbox/index.d.ts +2 -1
- package/es/components/classicLayout/index.d.ts +2 -1
- package/es/components/classicLayout/index.js +5 -4
- package/es/components/collapse/index.js +5 -5
- package/es/components/colorPicker/index.d.ts +2 -1
- package/es/components/config-provider/index.d.ts +2 -1
- package/es/components/cropPhoto/index.js +5 -5
- 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 +2 -1
- 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.js +2 -2
- package/es/components/dataSourceComponents/dataSourceMenu/index.js +2 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -1
- 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 +2 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +3 -2
- 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 +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +3 -2
- 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 +3 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +12 -12
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- 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 +2 -1
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +5 -4
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +2 -1
- 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 +8 -8
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +7 -7
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +2 -1
- 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 +2 -1
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +48 -47
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Upload/index.js +1 -1
- package/es/components/dataSourceComponents/fields/Upload/serve.js +4 -4
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.js +9 -9
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.js +3 -3
- package/es/components/dataSourceComponents/fields/index.d.ts +4 -3
- 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.js +2 -2
- 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 +2 -1
- 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 +2 -1
- package/es/components/div/index.d.ts +1 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +2 -1
- package/es/components/drag-sort-tree/TreeItem/index.js +10 -10
- package/es/components/drag-sort-tree/index.d.ts +2 -1
- 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 +2 -1
- 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 +7 -6
- package/es/components/filter/components/items/text/Editor/index.d.ts +2 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +2 -1
- package/es/components/filter/components/items/text/index.d.ts +3 -2
- package/es/components/filter/index.d.ts +2 -1
- 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 +1 -0
- package/es/components/input-number-range/index.js +6 -6
- package/es/components/list/index.d.ts +2 -1
- package/es/components/list/index.js +6 -6
- package/es/components/login-and-register/index.js +10 -10
- package/es/components/lowCodePage/index.d.ts +2 -1
- package/es/components/organizationTenantSwitcher/index.js +1 -1
- package/es/components/page/index.d.ts +2 -1
- package/es/components/page/index.js +13 -11
- 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 +2 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.js +2 -2
- package/es/components/pisellAdjustPrice/index.d.ts +2 -1
- 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.js +6 -6
- package/es/components/pisellAvatar/index.js +5 -5
- package/es/components/pisellCard/index.d.ts +2 -1
- package/es/components/pisellCard/index.js +5 -5
- package/es/components/pisellCardList/index.d.ts +1 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/es/components/pisellCheckboxGroup/index.js +7 -9
- 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/pisellCustomCheckboxGroup/index.js +1 -1
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +2 -1
- package/es/components/pisellDatePicker/datePickerCpt.js +4 -4
- package/es/components/pisellDatePicker/index.d.ts +2 -1
- 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/pisellHeaderProgressBar/index.js +5 -5
- package/es/components/pisellImageCarousels/index.js +5 -5
- 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 +2 -1
- 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 +2 -1
- package/es/components/pisellInput/components/BankCard/index.js +5 -5
- package/es/components/pisellInput/components/Copy/index.d.ts +2 -1
- package/es/components/pisellInput/components/Copy/index.js +5 -5
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +2 -1
- package/es/components/pisellInput/components/SecurityCode/index.js +2 -2
- package/es/components/pisellInput/index.d.ts +5 -4
- 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/pisellList01/index.js +4 -4
- package/es/components/pisellLoading/index.d.ts +2 -1
- 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 +2 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +2 -1
- 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 +4 -3
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +8 -8
- package/es/components/pisellQrcode/index.js +1 -1
- 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/pisellSectionHeaders/index.js +5 -5
- package/es/components/pisellStatisticList/index.d.ts +1 -1
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellTags/index.js +5 -9
- package/es/components/pisellText/components/Amount/index.d.ts +1 -1
- package/es/components/pisellText/index.d.ts +2 -2
- package/es/components/pisellTooltip/index.d.ts +2 -1
- package/es/components/pisellUpload/index.d.ts +2 -1
- package/es/components/pisellViewGrid/index.js +5 -5
- package/es/components/pisellWalletPassCard/index.d.ts +2 -1
- package/es/components/pisellWalletPassCard/index.js +5 -5
- package/es/components/productCard/components/Action/index.d.ts +2 -1
- package/es/components/productCard/components/AmountFooter/index.d.ts +2 -1
- package/es/components/productCard/components/Divider/index.d.ts +2 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +2 -1
- package/es/components/productCard/components/Header/index.d.ts +2 -1
- package/es/components/productCard/components/MultiDay/index.d.ts +2 -1
- package/es/components/productCard/components/MultiDay/index.js +7 -7
- package/es/components/productCard/components/MultiDay/utils.js +5 -7
- package/es/components/productCard/components/Note/index.d.ts +2 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +1 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +2 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +2 -2
- package/es/components/productCard/components/Packages/components/options/index.d.ts +2 -1
- package/es/components/productCard/components/Packages/index.d.ts +2 -1
- package/es/components/productCard/components/Packages/index.js +5 -5
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +2 -1
- package/es/components/productCard/components/Sales/index.js +5 -5
- package/es/components/productCard/components/Time/components/Like/index.d.ts +2 -1
- package/es/components/productCard/components/Time/components/Like/index.js +1 -1
- package/es/components/productCard/components/Time/index.d.ts +2 -1
- package/es/components/productCard/components/Time/index.js +5 -5
- package/es/components/productCard/hooks/useOpenNote.js +1 -1
- package/es/components/productCard/index.js +11 -11
- package/es/components/productCard/utils.js +3 -3
- package/es/components/profileMenu/index.js +6 -6
- package/es/components/qrcode/index.d.ts +2 -1
- package/es/components/qrcode/index.js +1 -1
- package/es/components/radio/index.d.ts +2 -1
- package/es/components/record-view/index.js +1 -1
- package/es/components/section-footers/index.d.ts +1 -1
- package/es/components/segmented/index.d.ts +2 -1
- package/es/components/select/index.js +6 -6
- package/es/components/select-time/RightPanel/index.d.ts +2 -1
- package/es/components/select-time/index.d.ts +2 -1
- package/es/components/select-time/index.js +2 -2
- package/es/components/skeleton/index.d.ts +2 -1
- package/es/components/slider/index.d.ts +2 -1
- package/es/components/sort/components/InlineMenu/index.d.ts +2 -1
- 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 +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/index.d.ts +2 -1
- package/es/components/table/Actions/component/ExportImport/index.js +3 -3
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +2 -1
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +2 -1
- package/es/components/table/Actions/component/Group/PopoverContent.js +2 -2
- package/es/components/table/Actions/component/Group/index.d.ts +2 -1
- package/es/components/table/Actions/component/ViewMode/index.d.ts +2 -1
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/Actions/index.d.ts +2 -1
- package/es/components/table/BasicTable/index.d.ts +2 -1
- package/es/components/table/BasicTable/index.js +9 -9
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +2 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +2 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +2 -1
- 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 +2 -1
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.d.ts +2 -1
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/date/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/date/index.d.ts +4 -3
- package/es/components/table/Table/fields/image/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/image/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/image/index.d.ts +4 -3
- package/es/components/table/Table/fields/index.d.ts +76 -75
- package/es/components/table/Table/fields/link/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/link/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/link/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/link/index.d.ts +4 -3
- package/es/components/table/Table/fields/number/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/number/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/number/index.d.ts +4 -3
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/numberRange/index.d.ts +4 -3
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/oldRangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/oldRangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +4 -3
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +4 -3
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/rangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +4 -3
- package/es/components/table/Table/fields/search/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/search/Edit/index.js +2 -2
- package/es/components/table/Table/fields/search/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/search/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +4 -3
- package/es/components/table/Table/fields/select/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/select/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/select/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/select/index.d.ts +4 -3
- package/es/components/table/Table/fields/text/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +4 -3
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +4 -3
- package/es/components/table/Table/index.js +11 -11
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +2 -1
- 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 +2 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/Table/utils.js +8 -13
- package/es/components/table/TableFilter/SortIcon.d.ts +2 -1
- 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 +2 -1
- package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
- package/es/components/table/hooks/useTableSetting.js +14 -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 +2 -2
- package/es/components/tabs/index.js +5 -7
- package/es/components/time-picker/index.d.ts +2 -1
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/upload/index.d.ts +2 -1
- package/es/components/versionModal/index.js +1 -1
- package/es/components/versionSelect/index.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- 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 +2 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +4 -4
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/components/walletCard/index.js +1 -4
- package/es/components/walletCard/index.less +10 -1
- 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/locales/en-US.js +5 -5
- package/es/locales/index.js +1 -1
- package/es/locales/zh-CN.js +5 -5
- package/es/locales/zh-TW.js +5 -5
- package/es/utils/hoc.d.ts +5 -5
- package/es/utils/hoc.js +1 -1
- package/es/utils/mergeWith.js +1 -1
- package/es/utils/miniRedux.d.ts +1 -1
- package/es/utils/miniRedux.js +9 -8
- package/lib/components/DragSortList/index.d.ts +1 -1
- package/lib/components/MultipleContainersSortList/index.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +2 -2
- package/lib/components/appVersionControl/index.d.ts +2 -1
- package/lib/components/appVersionControl/utils.js +8 -4
- package/lib/components/auto-complete-number/index.d.ts +2 -1
- package/lib/components/badge/index.d.ts +2 -1
- 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 +3 -2
- package/lib/components/batch-editor/index.d.ts +2 -1
- package/lib/components/browserSelect/index.d.ts +1 -1
- package/lib/components/buttonGroupEdit/index.js +14 -7
- package/lib/components/calendar/index.d.ts +2 -1
- package/lib/components/cardMetricItem/index.d.ts +1 -1
- package/lib/components/cardPro/index.d.ts +2 -1
- package/lib/components/checkbox/index.d.ts +2 -1
- package/lib/components/classicLayout/index.d.ts +2 -1
- package/lib/components/colorPicker/index.d.ts +2 -1
- package/lib/components/config-provider/index.d.ts +2 -1
- package/lib/components/customSelect/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +2 -1
- 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 +6 -3
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -1
- 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 +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +3 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +4 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +3 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +2 -1
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +4 -2
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +4 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +2 -1
- package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +4 -2
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +4 -2
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +8 -4
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +8 -4
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/index.js +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.js +22 -11
- package/lib/components/dataSourceComponents/fields/index.d.ts +4 -3
- package/lib/components/dataSourceComponents/hooks/useActions.js +6 -3
- package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +2 -1
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +2 -1
- package/lib/components/dataSourceComponents/provider/variables/utils.js +4 -2
- package/lib/components/date-picker/datePickerCpt.d.ts +2 -1
- package/lib/components/date-picker/datePickerCpt.js +2 -1
- package/lib/components/date-picker/index.d.ts +2 -1
- package/lib/components/div/index.d.ts +1 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +2 -1
- package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
- package/lib/components/drag-sort-tree/index.d.ts +2 -1
- package/lib/components/drag-sort-tree/index.js +2 -1
- package/lib/components/dropdown/index.d.ts +2 -1
- package/lib/components/filter/components/items/index.d.ts +7 -6
- package/lib/components/filter/components/items/text/Editor/index.d.ts +2 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +2 -1
- package/lib/components/filter/components/items/text/index.d.ts +3 -2
- package/lib/components/filter/index.d.ts +2 -1
- package/lib/components/filter/index.js +2 -1
- package/lib/components/form/index.js +4 -1
- package/lib/components/iconSelect/index.js +2 -1
- package/lib/components/iconSelect/utils.js +2 -1
- package/lib/components/list/index.d.ts +2 -1
- package/lib/components/lowCodePage/index.d.ts +2 -1
- package/lib/components/lowCodePage/index.js +2 -1
- package/lib/components/page/index.d.ts +2 -1
- 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 +2 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +2 -1
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellAnchor/index.js +6 -3
- package/lib/components/pisellCard/index.d.ts +2 -1
- package/lib/components/pisellCardList/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.js +2 -1
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +2 -1
- package/lib/components/pisellDatePicker/datePickerCpt.js +2 -1
- package/lib/components/pisellDatePicker/index.d.ts +2 -1
- 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 +6 -3
- 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 +2 -1
- package/lib/components/pisellInformationEntry/index.d.ts +1 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +2 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +2 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +2 -1
- package/lib/components/pisellInput/index.d.ts +5 -4
- package/lib/components/pisellLoading/index.d.ts +2 -1
- 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 +2 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +2 -1
- package/lib/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/lib/components/pisellModal/components/index.d.ts +4 -3
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellStatisticList/index.d.ts +1 -1
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/components/Amount/index.d.ts +1 -1
- package/lib/components/pisellText/index.d.ts +2 -2
- package/lib/components/pisellTooltip/index.d.ts +2 -1
- package/lib/components/pisellUpload/index.d.ts +2 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +2 -1
- package/lib/components/productCard/components/Action/index.d.ts +2 -1
- package/lib/components/productCard/components/AmountFooter/index.d.ts +2 -1
- package/lib/components/productCard/components/AmountFooter/index.js +2 -1
- package/lib/components/productCard/components/Divider/index.d.ts +2 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +2 -1
- package/lib/components/productCard/components/Header/index.d.ts +2 -1
- package/lib/components/productCard/components/MultiDay/index.d.ts +2 -1
- package/lib/components/productCard/components/MultiDay/index.js +2 -1
- package/lib/components/productCard/components/Note/index.d.ts +2 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +2 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +2 -1
- package/lib/components/productCard/components/Packages/index.d.ts +2 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +2 -1
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +2 -1
- package/lib/components/productCard/components/Time/index.d.ts +2 -1
- package/lib/components/productCard/utils.js +2 -1
- package/lib/components/profileMenu/index.js +2 -1
- package/lib/components/qrcode/index.d.ts +2 -1
- package/lib/components/radio/index.d.ts +2 -1
- package/lib/components/section-footers/index.d.ts +1 -1
- package/lib/components/segmented/index.d.ts +2 -1
- package/lib/components/select/index.js +4 -2
- package/lib/components/select-time/RightPanel/index.d.ts +2 -1
- package/lib/components/select-time/index.d.ts +2 -1
- package/lib/components/skeleton/index.d.ts +2 -1
- package/lib/components/slider/index.d.ts +2 -1
- package/lib/components/sort/components/InlineMenu/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.js +2 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/index.js +2 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +2 -1
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +2 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +2 -1
- package/lib/components/table/Actions/index.d.ts +2 -1
- package/lib/components/table/BasicTable/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +2 -1
- 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 +2 -1
- package/lib/components/table/Table/SelectField/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
- package/lib/components/table/Table/fields/date/index.d.ts +4 -3
- package/lib/components/table/Table/fields/image/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/image/index.d.ts +4 -3
- package/lib/components/table/Table/fields/index.d.ts +76 -75
- package/lib/components/table/Table/fields/link/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/link/index.d.ts +4 -3
- package/lib/components/table/Table/fields/number/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/number/index.d.ts +4 -3
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/numberRange/index.d.ts +4 -3
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/oldRangePicker/filterUtil/index.js +8 -4
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +4 -3
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +4 -3
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +4 -3
- package/lib/components/table/Table/fields/search/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/search/index.d.ts +4 -3
- package/lib/components/table/Table/fields/select/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/select/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/select/index.d.ts +4 -3
- package/lib/components/table/Table/fields/text/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/text/index.d.ts +4 -3
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +4 -3
- package/lib/components/table/Table/fields/utils/index.js +2 -1
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +2 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +2 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/Table/utils.js +17 -10
- package/lib/components/table/TableFilter/SortIcon.d.ts +2 -1
- package/lib/components/table/View/index.d.ts +2 -1
- package/lib/components/table/hooks/useTransColumns.js +2 -1
- package/lib/components/table/model.d.ts +1 -1
- package/lib/components/table/utils.js +7 -7
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/index.js +62 -59
- package/lib/components/time-picker/index.d.ts +2 -1
- package/lib/components/upload/index.d.ts +2 -1
- package/lib/components/versionModal/index.js +4 -2
- package/lib/components/versionSelect/index.d.ts +2 -1
- package/lib/components/versionSelect/index.js +12 -6
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +2 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +4 -2
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Time/utils.d.ts +2 -1
- package/lib/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/components/walletCard/index.less +10 -1
- package/lib/hooks/useCssVariables.js +2 -1
- package/lib/hooks/useResponsive.js +6 -3
- package/lib/utils/hoc.d.ts +5 -5
- package/lib/utils/miniRedux.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
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(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
9
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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) } })); }
|
|
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
167
167
|
sort?: SortType | undefined;
|
|
168
168
|
mode: "" | "localStorage" | "remote";
|
|
169
169
|
currentViewMode: ModeType;
|
|
170
|
-
}) => ("
|
|
170
|
+
}) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
|
|
171
171
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
172
172
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
173
173
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _excluded = ["view_mode"];
|
|
2
|
-
function _typeof(
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
16
16
|
import React from "react";
|
|
17
17
|
import dayjs from "dayjs";
|
|
18
18
|
import { isBoolean, isFunction, isJson, isNumber, isString } from "@pisell/utils";
|
|
@@ -248,11 +248,6 @@ export var groupDataSource = function groupDataSource(dataSource, group, rowKey)
|
|
|
248
248
|
}, {}));
|
|
249
249
|
return newDataSource;
|
|
250
250
|
};
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* 本地存储的表格设置对象
|
|
254
|
-
*/
|
|
255
|
-
|
|
256
251
|
/**
|
|
257
252
|
* 将表格设置保存到本地存储
|
|
258
253
|
* @param tableId 表格id
|
|
@@ -334,7 +329,7 @@ export var setFormValuesToLocalStorage = function setFormValuesToLocalStorage(_r
|
|
|
334
329
|
currentSettingHash = _ref5.currentSettingHash;
|
|
335
330
|
if (!tableId) return;
|
|
336
331
|
var obj = {};
|
|
337
|
-
keys === null || keys === void 0
|
|
332
|
+
keys === null || keys === void 0 ? void 0 : keys.forEach(function (key) {
|
|
338
333
|
obj[key] = allValues === null || allValues === void 0 ? void 0 : allValues[key];
|
|
339
334
|
});
|
|
340
335
|
return setTableSettingToLocalStorage({
|
|
@@ -392,8 +387,8 @@ export var mergeFilterSetting = function mergeFilterSetting(_ref6) {
|
|
|
392
387
|
if (!tableId || !quickFilter || !otherFilter) {
|
|
393
388
|
var _sortList$slice, _sortList$slice2;
|
|
394
389
|
return {
|
|
395
|
-
quickFilter: (sortList === null || sortList === void 0
|
|
396
|
-
otherFilter: (sortList === null || sortList === void 0
|
|
390
|
+
quickFilter: (sortList === null || sortList === void 0 ? void 0 : (_sortList$slice = sortList.slice) === null || _sortList$slice === void 0 ? void 0 : _sortList$slice.call(sortList, 0, quickFilterMaxLength)) || [],
|
|
391
|
+
otherFilter: (sortList === null || sortList === void 0 ? void 0 : (_sortList$slice2 = sortList.slice) === null || _sortList$slice2 === void 0 ? void 0 : _sortList$slice2.call(sortList, quickFilterMaxLength)) || [],
|
|
397
392
|
notSortFilter: notSortList
|
|
398
393
|
};
|
|
399
394
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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 ? 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 ? 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(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
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(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
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,4 +59,5 @@ var useMergeColumnSetting = function useMergeColumnSetting(params) {
|
|
|
59
59
|
// sortColumns,
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
+
|
|
62
63
|
export default useMergeColumnSetting;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { getSettingKeyArrByMode, getTableSettingByCurrentViewMode, getTableSettingFromLocalStorage, mergeColumnSetting, mergeFilterSetting, setFormValuesToLocalStorage } from "../Table/utils";
|
|
9
9
|
import useEngineContext from "../../../hooks/useEngineContext";
|
|
@@ -37,7 +37,7 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
37
37
|
return propsColumns;
|
|
38
38
|
} else if (currentViewMode === "gallery") {
|
|
39
39
|
var _gallery$content;
|
|
40
|
-
return ((gallery === null || gallery === void 0
|
|
40
|
+
return ((gallery === null || gallery === void 0 ? void 0 : (_gallery$content = gallery.content) === null || _gallery$content === void 0 ? void 0 : _gallery$content.fields) || []).filter(function (item) {
|
|
41
41
|
return item.show;
|
|
42
42
|
}).map(function (item) {
|
|
43
43
|
return columnsMap.get(item.columnKey);
|
|
@@ -52,10 +52,10 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
52
52
|
var defaultGalleryCoverSetting = useMemo(function () {
|
|
53
53
|
var _gallery$cover, _columns$find;
|
|
54
54
|
return {
|
|
55
|
-
coverObjectFit: gallery === null || gallery === void 0
|
|
55
|
+
coverObjectFit: gallery === null || gallery === void 0 ? void 0 : (_gallery$cover = gallery.cover) === null || _gallery$cover === void 0 ? void 0 : _gallery$cover.objectFit,
|
|
56
56
|
coverField: (_columns$find = columns.find(function (column) {
|
|
57
|
-
var _gallery$cover2;
|
|
58
|
-
return column.key === (gallery === null || gallery === void 0
|
|
57
|
+
var _gallery$cover2, _gallery$cover2$field;
|
|
58
|
+
return column.key === (gallery === null || gallery === void 0 ? void 0 : (_gallery$cover2 = gallery.cover) === null || _gallery$cover2 === void 0 ? void 0 : (_gallery$cover2$field = _gallery$cover2.fields) === null || _gallery$cover2$field === void 0 ? void 0 : _gallery$cover2$field[0]);
|
|
59
59
|
})) === null || _columns$find === void 0 ? void 0 : _columns$find.dataIndex,
|
|
60
60
|
compactMode: "default",
|
|
61
61
|
isShowLabel: true
|
|
@@ -118,10 +118,10 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
118
118
|
var _mergedSetting$item, _mergedSetting$item2, _mergedSetting$item3, _mergedSetting$item$i, _mergedSetting$item4;
|
|
119
119
|
setting[item] = _objectSpread(_objectSpread({}, mergedSetting === null || mergedSetting === void 0 ? void 0 : mergedSetting[item]), {}, {
|
|
120
120
|
// 本地没有默认封面效果时取配置中的
|
|
121
|
-
coverObjectFit: (mergedSetting === null || mergedSetting === void 0
|
|
122
|
-
coverField: (mergedSetting === null || mergedSetting === void 0
|
|
123
|
-
compactMode: (mergedSetting === null || mergedSetting === void 0
|
|
124
|
-
isShowLabel: (_mergedSetting$item$i = mergedSetting === null || mergedSetting === void 0
|
|
121
|
+
coverObjectFit: (mergedSetting === null || mergedSetting === void 0 ? void 0 : (_mergedSetting$item = mergedSetting[item]) === null || _mergedSetting$item === void 0 ? void 0 : _mergedSetting$item.coverObjectFit) || defaultGalleryCoverSetting.coverObjectFit,
|
|
122
|
+
coverField: (mergedSetting === null || mergedSetting === void 0 ? void 0 : (_mergedSetting$item2 = mergedSetting[item]) === null || _mergedSetting$item2 === void 0 ? void 0 : _mergedSetting$item2.coverField) || defaultGalleryCoverSetting.coverField,
|
|
123
|
+
compactMode: (mergedSetting === null || mergedSetting === void 0 ? void 0 : (_mergedSetting$item3 = mergedSetting[item]) === null || _mergedSetting$item3 === void 0 ? void 0 : _mergedSetting$item3.compactMode) || defaultGalleryCoverSetting.compactMode,
|
|
124
|
+
isShowLabel: (_mergedSetting$item$i = mergedSetting === null || mergedSetting === void 0 ? 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
|
|
125
125
|
});
|
|
126
126
|
} else {
|
|
127
127
|
setting[item] = mergedSetting === null || mergedSetting === void 0 ? void 0 : mergedSetting[item];
|
|
@@ -186,6 +186,7 @@ var useTableSetting = function useTableSetting(params) {
|
|
|
186
186
|
}
|
|
187
187
|
*/
|
|
188
188
|
});
|
|
189
|
+
|
|
189
190
|
var tableSetting = useMemo(function () {
|
|
190
191
|
return _objectSpread(_objectSpread({}, tableLocalSetting), defaultTableSetting);
|
|
191
192
|
}, [tableLocalSetting, defaultTableSetting]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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 ? 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 ? 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 ? 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 ? 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(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
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(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
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, _value$split$call;
|
|
47
47
|
var value = changedValues[changedKey];
|
|
48
|
-
var sortField = (value === null || value === void 0
|
|
48
|
+
var sortField = (value === null || value === void 0 ? void 0 : (_value$split = value.split) === null || _value$split === void 0 ? void 0 : (_value$split$call = _value$split.call(value, ":")) === null || _value$split$call === void 0 ? void 0 : _value$split$call[0]) || "";
|
|
49
49
|
var remoteSortKeys = sortList.filter(function (item) {
|
|
50
50
|
return !item.localFilter;
|
|
51
51
|
}).map(function (item) {
|