@pisell/materials 6.11.24 → 6.11.26
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +5 -5
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +4 -4
- package/es/components/PisellLayouts/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +0 -1
- package/es/components/pisellFilter/index.js +4 -2
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +4 -1
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +6 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +10 -1
- package/es/components/pisellFloorMapLayout/components/ViewControls.js +8 -4
- package/es/components/pisellFloorMapLayout/components/ViewControls.less +14 -0
- package/es/components/pisellFloorMapLayout/types.d.ts +12 -0
- package/es/components/pisellLookup/PisellLookup.less +13 -0
- package/es/components/pisellLookup/components/LookupTrigger.js +2 -1
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +1 -1
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +16 -5
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.less +13 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +6 -5
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +71 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +16 -10
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +38 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +19 -0
- package/es/components/pisellRecordBoard/types.d.ts +5 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +11 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +59 -8
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.js +13 -0
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.less +17 -0
- package/es/components/pisellReservationSchedule/types.d.ts +5 -0
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +2 -1
- package/lib/components/PisellLayouts/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +0 -1
- package/lib/components/pisellFilter/index.js +4 -0
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +20 -6
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +6 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +1 -1
- package/lib/components/pisellFloorMapLayout/components/ViewControls.js +7 -3
- package/lib/components/pisellFloorMapLayout/components/ViewControls.less +14 -0
- package/lib/components/pisellFloorMapLayout/types.d.ts +12 -0
- package/lib/components/pisellLookup/PisellLookup.less +13 -0
- package/lib/components/pisellLookup/components/LookupTrigger.js +4 -1
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +1 -1
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +10 -2
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.less +13 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +6 -5
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +71 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +12 -8
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +38 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +19 -0
- package/lib/components/pisellRecordBoard/types.d.ts +5 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +11 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.js +45 -8
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.js +22 -0
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.less +17 -0
- package/lib/components/pisellReservationSchedule/types.d.ts +5 -0
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +2 -1
- package/lowcode/render-figma-style-table-card/meta.ts +1 -1
- package/package.json +1 -1
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/es/components/PisellSuperTabs/types.d.ts +0 -212
- package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/es/components/PisellTabbar/constants.d.ts +0 -47
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/es/components/PisellTabbar/types.d.ts +0 -90
- package/es/components/PisellTabbar/utils/index.d.ts +0 -69
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/page/index.d.ts +0 -9
- package/es/components/pisell-config-provider/context.d.ts +0 -22
- package/es/components/pisell-config-provider/index.d.ts +0 -13
- package/es/components/pisellAdjustPrice/index.d.ts +0 -5
- package/es/components/pisellAdjustPrice/status.d.ts +0 -32
- package/es/components/pisellAdjustPrice/type.d.ts +0 -22
- package/es/components/pisellCardList/index.d.ts +0 -107
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/es/components/pisellFilter/type.d.ts +0 -7
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -113
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -113
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -551
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/es/components/pisellGoodPassCard/index.d.ts +0 -50
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/es/components/pisellModal/index.d.ts +0 -62
- package/es/components/pisellReservationSchedule/locales.d.ts +0 -25
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -25
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -33
- package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/es/components/pisellTimeNavigator/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/es/components/pisellTimeNavigator/types.d.ts +0 -160
- package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -30
- package/es/components/pisellToast/index.d.ts +0 -17
- package/es/components/pisellToast/squareToast/index.d.ts +0 -15
- package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/es/components/pisellWalletPassCard/index.d.ts +0 -146
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -11
- package/es/components/productCard/cartSkuCard/locales.d.ts +0 -178
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -4
- package/es/components/productCard/components/Header/index.d.ts +0 -4
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
- package/es/components/productCard/index.d.ts +0 -7
- package/es/components/productCard/locales.d.ts +0 -138
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -95
- package/es/components/productCard/utils.d.ts +0 -33
- package/es/components/select-time/index.d.ts +0 -14
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/es/components/table/index.d.ts +0 -4
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/es/components/virtual-keyboard/index.d.ts +0 -25
- package/es/index.d.ts +0 -251
- package/es/locales/en-US.d.ts +0 -387
- package/es/locales/ja.d.ts +0 -356
- package/es/locales/pt.d.ts +0 -356
- package/es/locales/zh-CN.d.ts +0 -382
- package/es/locales/zh-TW.d.ts +0 -382
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
- package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
- package/lib/components/PisellSuperTabs/types.d.ts +0 -212
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/lib/components/PisellTabbar/constants.d.ts +0 -47
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
- package/lib/components/PisellTabbar/types.d.ts +0 -90
- package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/page/index.d.ts +0 -9
- package/lib/components/pisell-config-provider/context.d.ts +0 -22
- package/lib/components/pisell-config-provider/index.d.ts +0 -13
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
- package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
- package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
- package/lib/components/pisellCardList/index.d.ts +0 -107
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
- package/lib/components/pisellFilter/type.d.ts +0 -7
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -113
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -113
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -551
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
- package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
- package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
- package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
- package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
- package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
- package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
- package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
- package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
- package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
- package/lib/components/pisellModal/index.d.ts +0 -62
- package/lib/components/pisellReservationSchedule/locales.d.ts +0 -25
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -25
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -33
- package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
- package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
- package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -30
- package/lib/components/pisellToast/index.d.ts +0 -17
- package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
- package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
- package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -11
- package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -178
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/index.d.ts +0 -4
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
- package/lib/components/productCard/index.d.ts +0 -7
- package/lib/components/productCard/locales.d.ts +0 -138
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -95
- package/lib/components/productCard/utils.d.ts +0 -33
- package/lib/components/select-time/index.d.ts +0 -14
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/lib/components/table/index.d.ts +0 -4
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
- package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/index.d.ts +0 -251
- package/lib/locales/en-US.d.ts +0 -387
- package/lib/locales/ja.d.ts +0 -356
- package/lib/locales/pt.d.ts +0 -356
- package/lib/locales/zh-CN.d.ts +0 -382
- package/lib/locales/zh-TW.d.ts +0 -382
|
@@ -135,12 +135,64 @@ function isEmptyValue(v) {
|
|
|
135
135
|
return v == null || v === '';
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
/**
|
|
139
|
+
* 同值列总结栏不展示的内容:null/undefined、空串、纯空白、占位「-」。
|
|
140
|
+
* 列仍可折叠;仅用于不生成总结栏条目(避免「-」、空白等占位)。
|
|
141
|
+
*/
|
|
142
|
+
export function isTrivialUniformSummaryDisplayValue(v) {
|
|
143
|
+
if (v == null) return true;
|
|
144
|
+
if (typeof v === 'string') {
|
|
145
|
+
var t = v.trim();
|
|
146
|
+
return t === '' || t === '-';
|
|
147
|
+
}
|
|
148
|
+
if (typeof v === 'number' && Number.isNaN(v)) return true;
|
|
149
|
+
return false;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 总结区实际渲染的 React 节点是否视为无展示价值(与 {@link isTrivialUniformSummaryDisplayValue} 对齐,含一层子节点)。
|
|
154
|
+
*/
|
|
155
|
+
export function isTrivialUniformSummaryReactContent(node) {
|
|
156
|
+
if (node == null || node === false) return true;
|
|
157
|
+
if (typeof node === 'string') {
|
|
158
|
+
var t = node.trim();
|
|
159
|
+
return t === '' || t === '-';
|
|
160
|
+
}
|
|
161
|
+
if (typeof node === 'number') {
|
|
162
|
+
return Number.isNaN(node);
|
|
163
|
+
}
|
|
164
|
+
if (Array.isArray(node)) {
|
|
165
|
+
return node.length === 0 || node.every(function (n) {
|
|
166
|
+
return isTrivialUniformSummaryReactContent(n);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
if ( /*#__PURE__*/React.isValidElement(node)) {
|
|
170
|
+
var ch = node.props.children;
|
|
171
|
+
if (ch == null || ch === false) return true;
|
|
172
|
+
if (typeof ch === 'string') {
|
|
173
|
+
var _t = ch.trim();
|
|
174
|
+
return _t === '' || _t === '-';
|
|
175
|
+
}
|
|
176
|
+
if (typeof ch === 'number') return Number.isNaN(ch);
|
|
177
|
+
if (Array.isArray(ch)) {
|
|
178
|
+
return ch.length === 0 || ch.every(function (c) {
|
|
179
|
+
return isTrivialUniformSummaryReactContent(c);
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
if ( /*#__PURE__*/React.isValidElement(ch)) {
|
|
183
|
+
return isTrivialUniformSummaryReactContent(ch);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
|
|
138
189
|
/** 是否可直接用 === 比较(string / number) */
|
|
139
190
|
function isComparablePrimitive(v) {
|
|
140
191
|
return typeof v === 'string' || typeof v === 'number';
|
|
141
192
|
}
|
|
142
193
|
/**
|
|
143
194
|
* 根据当前页 data 计算:哪些列「全列同值」或「全空」应隐藏,以及总结区展示项。
|
|
195
|
+
* 折叠列与总结项可不一一对应:全空、整列「-」/空白等同值仍折叠,但不生成无信息总结项。
|
|
144
196
|
* 仅当 grid.collapseUniformColumns 为 true 时使用。
|
|
145
197
|
*/
|
|
146
198
|
export function computeUniformColumnSummary(data, columns) {
|
|
@@ -171,18 +223,12 @@ export function computeUniformColumnSummary(data, columns) {
|
|
|
171
223
|
// 仅当 dataIndex 取值为 number 或 string 时才参与合并;undefined/null 的列不参与
|
|
172
224
|
if (first === undefined || first === null) return 0; // continue
|
|
173
225
|
var cellValue = getRecordValue(data[0], Array.isArray(dataIndex) ? dataIndex : dataIndex);
|
|
226
|
+
|
|
227
|
+
// 全列空:仍折叠列,但不进入总结栏(无信息占位不展示)
|
|
174
228
|
if (values.every(function (v) {
|
|
175
229
|
return isEmptyValue(v);
|
|
176
230
|
})) {
|
|
177
231
|
uniformHiddenColumnKeys.push(columnKey);
|
|
178
|
-
summaryItems.push({
|
|
179
|
-
columnKey: columnKey,
|
|
180
|
-
title: getColumnLabel(column),
|
|
181
|
-
type: 'empty',
|
|
182
|
-
value: undefined,
|
|
183
|
-
cellValue: cellValue,
|
|
184
|
-
record: data[0]
|
|
185
|
-
});
|
|
186
232
|
return 0; // continue
|
|
187
233
|
}
|
|
188
234
|
var comparable = isComparablePrimitive(first);
|
|
@@ -192,6 +238,11 @@ export function computeUniformColumnSummary(data, columns) {
|
|
|
192
238
|
});
|
|
193
239
|
if (!allSame) return 0; // continue
|
|
194
240
|
uniformHiddenColumnKeys.push(columnKey);
|
|
241
|
+
|
|
242
|
+
// 整列同为「-」、空白等:仍折叠,但不生成总结项
|
|
243
|
+
if (isTrivialUniformSummaryDisplayValue(first)) {
|
|
244
|
+
return 0; // continue
|
|
245
|
+
}
|
|
195
246
|
summaryItems.push({
|
|
196
247
|
columnKey: columnKey,
|
|
197
248
|
title: getColumnLabel(column),
|
|
@@ -43,6 +43,8 @@ export function PisellReservationSchedule(props) {
|
|
|
43
43
|
maxDateProp = props.maxDate,
|
|
44
44
|
_props$navigationLock = props.navigationLocked,
|
|
45
45
|
navigationLocked = _props$navigationLock === void 0 ? false : _props$navigationLock,
|
|
46
|
+
_props$navigationLock2 = props.navigationLockedDisplay,
|
|
47
|
+
navigationLockedDisplay = _props$navigationLock2 === void 0 ? 'full' : _props$navigationLock2,
|
|
46
48
|
className = props.className,
|
|
47
49
|
style = props.style;
|
|
48
50
|
var context = useEngineContext();
|
|
@@ -91,6 +93,17 @@ export function PisellReservationSchedule(props) {
|
|
|
91
93
|
parts.push(weekStr);
|
|
92
94
|
return parts.join(djLoc === 'en' ? ' · ' : ' · ');
|
|
93
95
|
}, [value, today, engineLocale]);
|
|
96
|
+
|
|
97
|
+
/** 场控等场景:不要整套只读导航条,仅展示日期文案 */
|
|
98
|
+
if (navigationLocked && navigationLockedDisplay === 'labelOnly') {
|
|
99
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
100
|
+
className: classNames('pisell-reservation-schedule', 'pisell-reservation-schedule--label-only', className),
|
|
101
|
+
style: style
|
|
102
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
103
|
+
className: "pisell-reservation-schedule-label pisell-reservation-schedule-label--static",
|
|
104
|
+
"aria-label": centerLabel
|
|
105
|
+
}, centerLabel));
|
|
106
|
+
}
|
|
94
107
|
return /*#__PURE__*/React.createElement("div", {
|
|
95
108
|
className: classNames('pisell-reservation-schedule', className),
|
|
96
109
|
style: style
|
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
width: 100%;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 仅日期文案:无深色 inner 条与箭头(场控顶栏等)。
|
|
9
|
+
* 与预约页 `.pisell-reservation-page-title`(17px)对齐,避免旁侧标题大而日期仍 11px。
|
|
10
|
+
*/
|
|
11
|
+
&--label-only {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
|
|
14
|
+
.pisell-reservation-schedule-label {
|
|
15
|
+
flex: none;
|
|
16
|
+
text-align: left;
|
|
17
|
+
font-size: 17px;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
line-height: 1.35;
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
6
23
|
}
|
|
7
24
|
|
|
8
25
|
.pisell-reservation-schedule-inner {
|
|
@@ -39,4 +39,9 @@ export interface PisellReservationScheduleProps {
|
|
|
39
39
|
* @default false
|
|
40
40
|
*/
|
|
41
41
|
navigationLocked?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* `navigationLocked` 时的展示形态:`full` 保留左右箭头占位;`labelOnly` 仅展示中间日期文案(如场控页)。
|
|
44
|
+
* @default 'full'
|
|
45
|
+
*/
|
|
46
|
+
navigationLockedDisplay?: 'full' | 'labelOnly';
|
|
42
47
|
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* <Content />
|
|
14
14
|
* </PisellLayouts.ScrollView>
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
declare const PisellLayouts: {
|
|
17
18
|
BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => import("react").JSX.Element;
|
|
18
19
|
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
|
|
@@ -44,6 +44,8 @@ var PisellFilter = (props) => {
|
|
|
44
44
|
hiddenOtherFilter = false,
|
|
45
45
|
hasForm = true,
|
|
46
46
|
onChange,
|
|
47
|
+
/** 只作用于筛选触发按钮;勿传入 Form,否则会盖住弹层内 large 表单 */
|
|
48
|
+
size,
|
|
47
49
|
...otherProps
|
|
48
50
|
} = props;
|
|
49
51
|
const [form] = import_antd.Form.useForm();
|
|
@@ -118,6 +120,7 @@ var PisellFilter = (props) => {
|
|
|
118
120
|
import_FilterButton.default,
|
|
119
121
|
{
|
|
120
122
|
...otherProps,
|
|
123
|
+
size,
|
|
121
124
|
onChange: handleChange,
|
|
122
125
|
value: {
|
|
123
126
|
quickFilter: value.quickFilter,
|
|
@@ -131,6 +134,7 @@ var PisellFilter = (props) => {
|
|
|
131
134
|
);
|
|
132
135
|
}, [
|
|
133
136
|
value,
|
|
137
|
+
size,
|
|
134
138
|
hiddenQuickFilter,
|
|
135
139
|
hiddenOtherFilter,
|
|
136
140
|
quickFilterMaxLength,
|
|
@@ -97,6 +97,8 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
97
97
|
floorMapFullscreenMode,
|
|
98
98
|
showDataSourceRecordFormBlock,
|
|
99
99
|
floorMapViewportOverlay,
|
|
100
|
+
viewportOverlayPlacement = "top-start",
|
|
101
|
+
viewportOverlayClassName,
|
|
100
102
|
canvasTabsBarTrailing,
|
|
101
103
|
viewportDockTrailing
|
|
102
104
|
} = p;
|
|
@@ -720,12 +722,24 @@ function PisellFloorMapLayoutInner(props, ref) {
|
|
|
720
722
|
dockExpandedTrailing: viewportDockTrailing,
|
|
721
723
|
autoCollapseDockMs: 1e4
|
|
722
724
|
}
|
|
723
|
-
), isFloorMapView && floorMapViewportOverlay != null ? /* @__PURE__ */ import_react.default.createElement(
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
725
|
+
), isFloorMapView && floorMapViewportOverlay != null ? /* @__PURE__ */ import_react.default.createElement(
|
|
726
|
+
"div",
|
|
727
|
+
{
|
|
728
|
+
className: (0, import_classnames.default)(
|
|
729
|
+
`${PREFIX}-viewport-overlay`,
|
|
730
|
+
{
|
|
731
|
+
[`${PREFIX}-viewport-overlay--bottom-start`]: viewportOverlayPlacement === "bottom-start"
|
|
732
|
+
},
|
|
733
|
+
viewportOverlayClassName
|
|
734
|
+
)
|
|
735
|
+
},
|
|
736
|
+
typeof floorMapViewportOverlay === "function" ? floorMapViewportOverlay({
|
|
737
|
+
items,
|
|
738
|
+
dataSources,
|
|
739
|
+
currentCanvasId,
|
|
740
|
+
mode
|
|
741
|
+
}) : floorMapViewportOverlay
|
|
742
|
+
) : null, isFloorMapView && mode === "edit" && editPanelParams && config && dataSources && /* @__PURE__ */ import_react.default.createElement(
|
|
729
743
|
"div",
|
|
730
744
|
{
|
|
731
745
|
className: (0, import_classnames.default)(
|
|
@@ -281,7 +281,7 @@ function FloorMapEditPanel(props) {
|
|
|
281
281
|
const isDragScrollSurface = (0, import_react.useCallback)((target) => {
|
|
282
282
|
if (!(target instanceof Element)) return false;
|
|
283
283
|
return !target.closest(
|
|
284
|
-
'input,textarea,button,select,.ant-select,.ant-input,[contenteditable="true"]'
|
|
284
|
+
'input,textarea,button,select,.ant-select,.ant-select-dropdown,.pisell-lowcode-select-dropdown,.rc-select-dropdown,.ant-input,[contenteditable="true"]'
|
|
285
285
|
);
|
|
286
286
|
}, []);
|
|
287
287
|
const handlePanelPointerDown = (0, import_react.useCallback)(
|
|
@@ -58,6 +58,8 @@ function ViewControls(props) {
|
|
|
58
58
|
const showFitBounds = config.showFitBounds === true;
|
|
59
59
|
const showFullscreen = config.showFullscreen === true;
|
|
60
60
|
const showGridToggle = config.showGridToggle === true && typeof onToggleMapGrid === "function";
|
|
61
|
+
const horizontalAlign = config.horizontalAlign ?? "start";
|
|
62
|
+
const isDockAlignEnd = horizontalAlign === "end";
|
|
61
63
|
const scalePercent = Math.round(scale * 100);
|
|
62
64
|
const showTools = showReset || showFitBounds || showFullscreen || showGridToggle;
|
|
63
65
|
const hasTrailingSlot = dockExpandedTrailing != null && dockExpandedTrailing !== false;
|
|
@@ -197,7 +199,7 @@ function ViewControls(props) {
|
|
|
197
199
|
"aria-expanded": dockExpanded,
|
|
198
200
|
"aria-label": import_utils.locales.getText(`${I18N_VC}.collapse-tools-aria`)
|
|
199
201
|
},
|
|
200
|
-
/* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null)
|
|
202
|
+
isDockAlignEnd ? /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null) : /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null)
|
|
201
203
|
));
|
|
202
204
|
if (!showBar) {
|
|
203
205
|
return null;
|
|
@@ -209,6 +211,7 @@ function ViewControls(props) {
|
|
|
209
211
|
className: (0, import_classnames.default)(
|
|
210
212
|
`${PREFIX}-view-controls`,
|
|
211
213
|
`${PREFIX}-view-controls--dock`,
|
|
214
|
+
horizontalAlign === "end" && `${PREFIX}-view-controls--align-end`,
|
|
212
215
|
className
|
|
213
216
|
)
|
|
214
217
|
},
|
|
@@ -225,7 +228,7 @@ function ViewControls(props) {
|
|
|
225
228
|
tabIndex: dockExpanded ? -1 : 0,
|
|
226
229
|
"aria-label": import_utils.locales.getText(`${I18N_VC}.expand-tools-aria`)
|
|
227
230
|
},
|
|
228
|
-
/* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null)
|
|
231
|
+
isDockAlignEnd ? /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null) : /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null)
|
|
229
232
|
), dockPanelMounted ? /* @__PURE__ */ import_react.default.createElement(
|
|
230
233
|
"div",
|
|
231
234
|
{
|
|
@@ -256,7 +259,8 @@ function ViewControls(props) {
|
|
|
256
259
|
"div",
|
|
257
260
|
{
|
|
258
261
|
className: (0, import_classnames.default)(`${PREFIX}-view-controls`, className, {
|
|
259
|
-
[`${PREFIX}-view-controls--dock`]: dockChrome
|
|
262
|
+
[`${PREFIX}-view-controls--dock`]: dockChrome,
|
|
263
|
+
[`${PREFIX}-view-controls--align-end`]: horizontalAlign === "end"
|
|
260
264
|
})
|
|
261
265
|
},
|
|
262
266
|
/* @__PURE__ */ import_react.default.createElement(
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
left: 12px;
|
|
10
10
|
bottom: 12px;
|
|
11
11
|
z-index: 20;
|
|
12
|
+
|
|
13
|
+
&--align-end {
|
|
14
|
+
left: auto;
|
|
15
|
+
right: 12px;
|
|
16
|
+
}
|
|
12
17
|
pointer-events: auto;
|
|
13
18
|
display: flex;
|
|
14
19
|
flex-direction: row;
|
|
@@ -128,6 +133,15 @@
|
|
|
128
133
|
left: 14px;
|
|
129
134
|
bottom: 14px;
|
|
130
135
|
|
|
136
|
+
&.pisell-floor-map-layout-view-controls--align-end {
|
|
137
|
+
left: auto;
|
|
138
|
+
right: 14px;
|
|
139
|
+
|
|
140
|
+
.pisell-floor-map-layout-view-controls-dock-row {
|
|
141
|
+
flex-direction: row-reverse;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
131
145
|
/** 折叠键与可伸缩展开区同一行 */
|
|
132
146
|
|
|
133
147
|
.pisell-floor-map-layout-view-controls-dock-row {
|
|
@@ -114,6 +114,10 @@ export interface FloorMapControlsConfig {
|
|
|
114
114
|
* 是否显示网格开关(写入当前画布 draft 的 mapLayer.showGrid),默认 false
|
|
115
115
|
*/
|
|
116
116
|
showGridToggle?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* 悬浮控件条水平位置:`start` 左下(默认),`end` 右下
|
|
119
|
+
*/
|
|
120
|
+
horizontalAlign?: 'start' | 'end';
|
|
117
121
|
}
|
|
118
122
|
/**
|
|
119
123
|
* 布局模式(规则网格 vs 完全自由坐标)
|
|
@@ -559,6 +563,14 @@ export interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMap
|
|
|
559
563
|
* 视口左下角 Dock 展开区业务插槽(与缩放/全屏同条),不占用顶栏 Tab 行;平面图模式推荐放「编辑画布」等。
|
|
560
564
|
*/
|
|
561
565
|
viewportDockTrailing?: ReactNode;
|
|
566
|
+
/**
|
|
567
|
+
* 平面图模式:`floorMapViewportOverlay` 锚点;默认左上,预约 HUD 等可用左下。
|
|
568
|
+
*/
|
|
569
|
+
viewportOverlayPlacement?: 'top-start' | 'bottom-start';
|
|
570
|
+
/**
|
|
571
|
+
* 视口悬浮层容器额外类名(如场控抽屉打开时需叠在固定层之上)。
|
|
572
|
+
*/
|
|
573
|
+
viewportOverlayClassName?: string;
|
|
562
574
|
/**
|
|
563
575
|
* 平面图模式:在地图视口内悬浮层(不随画布缩放平移),如状态统计。
|
|
564
576
|
* 传入函数时可拿到当前画布合并后的 items 与数据源。
|
|
@@ -172,8 +172,21 @@
|
|
|
172
172
|
// 小号输入框(同时匹配 ant- / pisell-lowcode-)
|
|
173
173
|
&-trigger-input.pisell-lowcode-input-affix-wrapper-sm,
|
|
174
174
|
&-trigger-input.ant-input-affix-wrapper-sm {
|
|
175
|
+
// 覆盖上方通用 affix 的 min-height:50px,否则 size=small 仍被撑成大号
|
|
176
|
+
min-height: 36px;
|
|
175
177
|
padding: 2px 2px 2px 12px;
|
|
176
178
|
|
|
179
|
+
.pisell-lowcode-input,
|
|
180
|
+
.ant-input {
|
|
181
|
+
font-size: 14px;
|
|
182
|
+
line-height: 22px;
|
|
183
|
+
|
|
184
|
+
&::placeholder {
|
|
185
|
+
font-size: 14px;
|
|
186
|
+
line-height: 22px;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
177
190
|
.pisell-lookup-input-clear {
|
|
178
191
|
.anticon {
|
|
179
192
|
font-size: 18px;
|
|
@@ -156,12 +156,15 @@ var LookupTriggerComponent = (0, import_react.forwardRef)(
|
|
|
156
156
|
className: "pisell-lookup-input-scan",
|
|
157
157
|
type: "pisell2-scan",
|
|
158
158
|
onClick: handleScanClick,
|
|
159
|
-
style: {
|
|
159
|
+
style: {
|
|
160
|
+
fontSize: size === "small" ? 18 : size === "large" ? 26 : 24
|
|
161
|
+
}
|
|
160
162
|
}
|
|
161
163
|
), showConfirmButton && /* @__PURE__ */ import_react.default.createElement(
|
|
162
164
|
import_antd.Button,
|
|
163
165
|
{
|
|
164
166
|
type: "primary",
|
|
167
|
+
size,
|
|
165
168
|
onClick: handleConfirm,
|
|
166
169
|
className: "pisell-lookup-input-confirm"
|
|
167
170
|
},
|
|
@@ -1402,7 +1402,7 @@ var GridLayoutWithCollapseUniformColumns = {
|
|
|
1402
1402
|
parameters: {
|
|
1403
1403
|
docs: {
|
|
1404
1404
|
description: {
|
|
1405
|
-
story: "grid.collapseUniformColumns: true
|
|
1405
|
+
story: "grid.collapseUniformColumns: true 时,当前页某列全部同值或全部为空则隐藏该列;总结栏仅展示有意义文案,全空、「-」、空白及 render 为无信息等不展示对应总结项。本示例「支付状态」均已支付、「备注」均为空,两列均折叠,总结区仅出现支付状态。"
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
},
|
|
@@ -124,13 +124,21 @@ var RecordBoardGridView = (props) => {
|
|
|
124
124
|
}
|
|
125
125
|
const processedAllVisible = (0, import_recordBoardColumns.processColumnsForGrid)(visibleByUser);
|
|
126
126
|
const { uniformHiddenColumnKeys, summaryItems: items } = (0, import_recordBoardColumns.computeUniformColumnSummary)(data, visibleByUser);
|
|
127
|
+
const finalSummaryItems = items.filter((item) => {
|
|
128
|
+
const processedCol = processedAllVisible.find(
|
|
129
|
+
(c) => (0, import_recordBoardColumns.getRecordBoardColumnKey)(c) === item.columnKey
|
|
130
|
+
);
|
|
131
|
+
const useRender = typeof (processedCol == null ? void 0 : processedCol.render) === "function";
|
|
132
|
+
const content = useRender ? processedCol.render(item.cellValue, item.record ?? {}, 0) : item.type === "empty" ? (0, import_locales.getText)("record-board-uniform-summary-empty") : item.displayValue ?? (0, import_locales.getText)("record-board-uniform-summary-same");
|
|
133
|
+
return !(0, import_recordBoardColumns.isTrivialUniformSummaryReactContent)(content);
|
|
134
|
+
});
|
|
127
135
|
const columnsForTable = processedAllVisible.filter(
|
|
128
136
|
(col) => !uniformHiddenColumnKeys.includes((0, import_recordBoardColumns.getRecordBoardColumnKey)(col))
|
|
129
137
|
);
|
|
130
138
|
return {
|
|
131
139
|
columns: columnsForTable,
|
|
132
|
-
uniformSummaryItems:
|
|
133
|
-
processedColumnsForSummary:
|
|
140
|
+
uniformSummaryItems: finalSummaryItems,
|
|
141
|
+
processedColumnsForSummary: finalSummaryItems.length > 0 ? processedAllVisible : void 0
|
|
134
142
|
};
|
|
135
143
|
}, [
|
|
136
144
|
rawColumns,
|
|
@@ -45,6 +45,11 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
// iOS/WebKit:列表到达边界时不把弹性回弹传给外层(橡皮筋);fillHeight 时外层或表体内层其一滚动
|
|
49
|
+
.pisell-record-board-scroll-body {
|
|
50
|
+
overscroll-behavior: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
48
53
|
// 纯 CSS 占满高度:滚动发生在 .pisell-record-board-scroll-body,表头 sticky 固定;高度传到 table
|
|
49
54
|
.pisell-record-board-scroll-body .pisell-lowcode-record-board-grid {
|
|
50
55
|
height: 100%;
|
|
@@ -94,6 +99,14 @@
|
|
|
94
99
|
}
|
|
95
100
|
}
|
|
96
101
|
|
|
102
|
+
// scroll.y / autoCalc 时表体容器滚动;无 scroll-body 时亦同。统一关闭 iOS 弹性回弹
|
|
103
|
+
.pisell-record-board-root .pisell-lowcode-record-board-grid {
|
|
104
|
+
.pisell-lowcode-table-body,
|
|
105
|
+
.ant-table-body {
|
|
106
|
+
overscroll-behavior: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
97
110
|
// 行状态样式示例(如 grid.rowClassName 返回 'pisell-record-board-row-cancelled')
|
|
98
111
|
.pisell-record-board-row-cancelled {
|
|
99
112
|
background: #fff1f0;
|
|
@@ -40,9 +40,10 @@ var import_recordBoardColumns = require("../../utils/recordBoardColumns");
|
|
|
40
40
|
var import_ColumnSettingPopover = __toESM(require("./ColumnSettingPopover"));
|
|
41
41
|
var import_index = require("./index.less");
|
|
42
42
|
var RecordBoardColumnSetting = () => {
|
|
43
|
-
var _a, _b;
|
|
43
|
+
var _a, _b, _c, _d;
|
|
44
44
|
const ctx = (0, import_useRecordBoardContext.useRecordBoardContext)();
|
|
45
|
-
const
|
|
45
|
+
const compactToolbar = ((_b = (_a = ctx.childComponentProps) == null ? void 0 : _a.toolBar) == null ? void 0 : _b.toolbarDensity) === "compact";
|
|
46
|
+
const gridColumns = (_d = (_c = ctx.childComponentProps) == null ? void 0 : _c.grid) == null ? void 0 : _d.columns;
|
|
46
47
|
const columnVisibility = ctx.columnVisibility ?? {};
|
|
47
48
|
const onColumnVisibilityChange = ctx.onColumnVisibilityChange;
|
|
48
49
|
const columnOrder = ctx.columnOrder ?? null;
|
|
@@ -91,14 +92,14 @@ var RecordBoardColumnSetting = () => {
|
|
|
91
92
|
display: "inline-flex",
|
|
92
93
|
alignItems: "center",
|
|
93
94
|
justifyContent: "center",
|
|
94
|
-
width: 32,
|
|
95
|
-
height: 32,
|
|
95
|
+
width: compactToolbar ? 28 : 32,
|
|
96
|
+
height: compactToolbar ? 28 : 32,
|
|
96
97
|
cursor: "pointer",
|
|
97
98
|
borderRadius: 6,
|
|
98
99
|
color: hasHiddenColumns ? "var(--color-primary, #1890ff)" : void 0
|
|
99
100
|
}
|
|
100
101
|
},
|
|
101
|
-
/* @__PURE__ */ import_react.default.createElement(import_icons.EyeOutlined, { style: { fontSize: 18 } })
|
|
102
|
+
/* @__PURE__ */ import_react.default.createElement(import_icons.EyeOutlined, { style: { fontSize: compactToolbar ? 15 : 18 } })
|
|
102
103
|
)
|
|
103
104
|
);
|
|
104
105
|
};
|
|
@@ -171,3 +171,74 @@
|
|
|
171
171
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* 紧凑工具栏:介于默认 50px 与 antd small 之间(约 38px),覆盖 Figma 的 !important
|
|
177
|
+
* Find:antd Input size=middle 时 affix 无 -sm 后缀,仍会吃到 PisellLookup 全局 min-height:50px,此处对 find 容器单独压高度
|
|
178
|
+
*/
|
|
179
|
+
.pisell-grid-pro-toolbar.pisell-record-board-toolbar--compact {
|
|
180
|
+
.record-board-toolbar-filter-btn {
|
|
181
|
+
height: auto !important;
|
|
182
|
+
min-height: 38px !important;
|
|
183
|
+
padding: 6px 14px !important;
|
|
184
|
+
font-size: 15px !important;
|
|
185
|
+
font-weight: 600 !important;
|
|
186
|
+
line-height: 22px !important;
|
|
187
|
+
|
|
188
|
+
.anticon {
|
|
189
|
+
font-size: 15px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.pisell-lowcode-btn-lg {
|
|
193
|
+
height: auto !important;
|
|
194
|
+
min-height: 38px !important;
|
|
195
|
+
padding: 6px 14px !important;
|
|
196
|
+
font-size: 15px !important;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.record-board-toolbar-find-wrap {
|
|
201
|
+
.pisell-lookup-trigger-input.ant-input-affix-wrapper,
|
|
202
|
+
.pisell-lookup-trigger-input.pisell-lowcode-input-affix-wrapper {
|
|
203
|
+
min-height: 38px !important;
|
|
204
|
+
padding: 3px 6px 3px 12px !important;
|
|
205
|
+
|
|
206
|
+
.ant-input,
|
|
207
|
+
.pisell-lowcode-input {
|
|
208
|
+
font-size: 15px !important;
|
|
209
|
+
line-height: 22px !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ant-input::placeholder,
|
|
213
|
+
.pisell-lowcode-input::placeholder {
|
|
214
|
+
font-size: 15px !important;
|
|
215
|
+
line-height: 22px !important;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.pisell-lookup-trigger-input-no-confirm {
|
|
220
|
+
> .ant-input-affix-wrapper,
|
|
221
|
+
> .pisell-lowcode-input-affix-wrapper {
|
|
222
|
+
min-height: 38px !important;
|
|
223
|
+
padding: 3px 6px 3px 12px !important;
|
|
224
|
+
|
|
225
|
+
.ant-input,
|
|
226
|
+
.pisell-lowcode-input {
|
|
227
|
+
font-size: 15px !important;
|
|
228
|
+
line-height: 22px !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.ant-input::placeholder,
|
|
232
|
+
.pisell-lowcode-input::placeholder {
|
|
233
|
+
font-size: 15px !important;
|
|
234
|
+
line-height: 22px !important;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.pisell-lookup-input-confirm.pisell-lowcode-btn,
|
|
240
|
+
.pisell-lookup-input-confirm.ant-btn {
|
|
241
|
+
font-size: 14px !important;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|