@pisell/materials 1.8.38 → 1.8.41
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 +3 -3
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +216 -51
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +216 -51
- package/es/components/Pagination/index.js +9 -43
- package/es/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-dev.md +5 -2
- package/es/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-test.md +169 -171
- package/es/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.md +87 -27
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +18 -7
- package/es/components/PisellCards/components/TextCard/TextCard.js +2 -3
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.js +20 -6
- package/es/components/PisellCards/components/TextCard/components/TextContent.js +3 -1
- package/es/components/PisellCards/components/TextCard/docs/TextCard.$tab-dev.md +36 -5
- package/es/components/PisellCards/components/TextCard/docs/TextCard.$tab-test.md +2434 -258
- package/es/components/PisellCards/components/TextCard/docs/TextCard.md +78 -13
- package/es/components/PisellCards/index.d.ts +3 -0
- package/es/components/PisellCards/index.js +3 -1
- package/es/components/PisellContactBrief/PisellContactBrief.d.ts +34 -0
- package/es/components/PisellContactBrief/PisellContactBrief.js +156 -0
- package/es/components/PisellContactBrief/PisellContactBrief.less +192 -0
- package/es/components/PisellContactBrief/components/ContactFormModal.js +140 -0
- package/es/components/PisellContactBrief/docs/PisellContactBrief.$tab-design.md +109 -0
- package/es/components/PisellContactBrief/docs/PisellContactBrief.$tab-dev.md +106 -0
- package/es/components/PisellContactBrief/docs/PisellContactBrief.$tab-test.md +125 -0
- package/es/components/PisellContactBrief/docs/PisellContactBrief.md +129 -0
- package/es/components/PisellContactBrief/index.d.ts +2 -0
- package/es/components/PisellContactBrief/locales.js +57 -0
- package/es/components/PisellContactBrief/types.d.ts +86 -0
- package/es/components/PisellLayouts/index.d.ts +1 -1
- package/es/components/PisellProcedure/components/ProcedureHeader.js +1 -1
- package/es/components/PisellTabbar/PisellTabbar.js +1 -1
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +1 -1
- package/es/components/Template/[ComponentName].less +1 -0
- package/es/components/Template/docs/[ComponentName].$tab-design.md +7 -0
- package/es/components/Template/docs/[ComponentName].$tab-dev.md +1137 -0
- package/es/components/Template/docs/[ComponentName].$tab-test.md +7 -0
- package/es/components/Template/docs/[ComponentName].md +510 -0
- package/es/components/appVersionControl/index.js +3 -2
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +4 -4
- package/es/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +3 -3
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +3 -3
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceSubForm/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +3 -2
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +1 -1
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +4 -0
- package/es/components/dataSourceComponents/fields/IconSelect/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +4 -1
- package/es/components/dataSourceComponents/fields/Radio/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/TimePicker/WithMode.js +1 -1
- package/es/components/dataSourceComponents/hooks/useActions.js +1 -1
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +1 -1
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.js +0 -1
- package/es/components/drawer/index.js +7 -6
- package/es/components/filter/components/FilterItem/index.js +1 -3
- package/es/components/filter/components/QuickFilter/index.js +2 -3
- package/es/components/hardwareErrorTip/errorCard/index.d.ts +25 -0
- package/es/components/hardwareErrorTip/errorCard/index.js +68 -0
- package/es/components/hardwareErrorTip/errorCard/index.less +137 -0
- package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +10 -0
- package/es/components/hardwareErrorTip/errorTipStatistics/index.js +31 -0
- package/es/components/hardwareErrorTip/errorTipStatistics/index.less +34 -0
- package/es/components/hardwareErrorTip/index.d.ts +20 -0
- package/es/components/hardwareErrorTip/index.js +151 -0
- package/es/components/hardwareErrorTip/index.less +95 -0
- package/es/components/hardwareErrorTip/logCard/index.d.ts +25 -0
- package/es/components/hardwareErrorTip/logCard/index.js +72 -0
- package/es/components/hardwareErrorTip/logCard/index.less +121 -0
- package/es/components/hardwareErrorTip/readme.md +309 -0
- package/es/components/hardwareErrorTip/types.js +54 -0
- package/es/components/iconfont/index.js +1 -1
- package/es/components/login-and-register/index.js +4 -5
- package/es/components/page/index.js +1 -1
- package/es/components/pisellActionPanel/PisellActionPanel.d.ts +24 -0
- package/es/components/pisellActionPanel/PisellActionPanel.js +68 -0
- package/es/components/pisellActionPanel/PisellActionPanel.less +69 -0
- package/es/components/pisellActionPanel/docs/pisellActionPanel.$tab-design.md +148 -0
- package/es/components/pisellActionPanel/docs/pisellActionPanel.$tab-dev.md +53 -0
- package/es/components/pisellActionPanel/docs/pisellActionPanel.$tab-test.md +64 -0
- package/es/components/pisellActionPanel/docs/pisellActionPanel.md +160 -0
- package/es/components/pisellActionPanel/index.d.ts +2 -0
- package/es/components/pisellActionPanel/types.d.ts +87 -0
- package/es/components/pisellAppCard/PisellAppCard.js +1 -1
- package/es/components/pisellBaseCard/PisellBaseCard.d.ts +20 -0
- package/es/components/pisellBaseCard/PisellBaseCard.js +73 -0
- package/es/components/pisellBaseCard/PisellBaseCard.less +25 -0
- package/es/components/pisellBaseCard/docs/pisellBaseCard.$tab-design.md +144 -0
- package/es/components/pisellBaseCard/docs/pisellBaseCard.$tab-dev.md +92 -0
- package/es/components/pisellBaseCard/docs/pisellBaseCard.$tab-test.md +86 -0
- package/es/components/pisellBaseCard/docs/pisellBaseCard.md +165 -0
- package/es/components/pisellBaseCard/index.d.ts +2 -0
- package/es/components/pisellBaseCard/types.d.ts +49 -0
- package/es/components/pisellCardList/index.js +1 -1
- package/es/components/pisellCurrency/PisellCurrency.js +13 -6
- package/es/components/pisellCurrency/PisellCurrency.less +0 -123
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +57 -0
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.js +92 -0
- package/es/components/pisellCustomerBrief/PisellCustomerBrief.less +8 -0
- package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-design.md +115 -0
- package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-dev.md +73 -0
- package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-test.md +66 -0
- package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.md +132 -0
- package/es/components/pisellCustomerBrief/index.d.ts +2 -0
- package/es/components/pisellCustomerBrief/types.d.ts +86 -0
- package/es/components/pisellDataSourceContainer/components/Pagination/index.js +3 -9
- package/es/components/pisellDataSourceContainer/docs/PisellDataSourceContainer.md +189 -240
- package/es/components/pisellDataSourceContainer/type.d.ts +1 -1
- package/es/components/pisellDateTimeDisplay/docs/pisellDateTimeDisplay.md +556 -556
- package/es/components/pisellEmail/PisellEmail.js +13 -6
- package/es/components/pisellEmail/PisellEmail.less +0 -92
- package/es/components/pisellEmpty/index.d.ts +1 -1
- package/es/components/pisellEntityCard/PisellEntityCard.d.ts +47 -0
- package/es/components/pisellEntityCard/PisellEntityCard.js +315 -0
- package/es/components/pisellEntityCard/PisellEntityCard.less +362 -0
- package/es/components/pisellEntityCard/docs/pisellEntityCard.$tab-design.md +209 -0
- package/es/components/pisellEntityCard/docs/pisellEntityCard.$tab-dev.md +82 -0
- package/es/components/pisellEntityCard/docs/pisellEntityCard.$tab-test.md +122 -0
- package/es/components/pisellEntityCard/docs/pisellEntityCard.md +176 -0
- package/es/components/pisellEntityCard/index.d.ts +2 -0
- package/es/components/pisellEntityCard/types.d.ts +148 -0
- package/es/components/pisellExport/PisellExport.d.ts +11 -0
- package/es/components/pisellExport/PisellExport.js +44 -0
- package/es/components/pisellExport/PisellExport.less +141 -0
- package/es/components/pisellExport/docs/pisellExport.$tab-design.md +116 -0
- package/es/components/pisellExport/docs/pisellExport.$tab-dev.md +132 -0
- package/es/components/pisellExport/docs/pisellExport.$tab-test.md +61 -0
- package/es/components/pisellExport/docs/pisellExport.md +162 -0
- package/es/components/pisellExport/index.d.ts +2 -0
- package/es/components/pisellExport/types.d.ts +67 -0
- package/es/components/pisellFilter/docs/PisellFilter.md +2 -2
- package/es/components/pisellFind/docs/pisellFind.md +2 -2
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +1 -2
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +51 -230
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +0 -22
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +2 -3
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +74 -209
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +5 -40
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +12 -131
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +1 -9
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +3 -24
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +4 -97
- package/es/components/pisellFloorMapLayout/components/ItemLayer.js +9 -29
- package/es/components/pisellFloorMapLayout/components/ItemLayer.less +2 -19
- package/es/components/pisellFloorMapLayout/components/ViewControls.js +65 -119
- package/es/components/pisellFloorMapLayout/components/ViewControls.less +44 -208
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +0 -4
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +1 -3
- package/es/components/pisellFloorMapLayout/docs/pisellFloorMapLayout.md +194 -559
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +16 -82
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +36 -369
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -1
- package/es/components/pisellFloorMapLayout/locales-ja.js +1 -21
- package/es/components/pisellFloorMapLayout/locales-pt.js +1 -21
- package/es/components/pisellFloorMapLayout/locales.js +3 -63
- package/es/components/pisellFloorMapLayout/types.d.ts +9 -70
- package/es/components/pisellGoodPassCard/index.less +0 -1
- package/es/components/pisellGridPro/GridView/docs/GridView.md +48 -47
- package/es/components/pisellGridPro/ToolBar/docs/ToolBar.$tab-dev.md +2 -4
- package/es/components/pisellGridPro/ToolBar/docs/ToolBar.md +81 -95
- package/es/components/pisellGridPro/ToolBar/index.less +4 -5
- package/es/components/pisellGridPro/docs/PisellGridPro.md +262 -173
- package/es/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-dev.md +6 -3
- package/es/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-test.md +4 -3
- package/es/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.md +2 -1
- package/es/components/pisellImport/PisellImport.d.ts +11 -0
- package/es/components/pisellImport/PisellImport.js +81 -0
- package/es/components/pisellImport/PisellImport.less +141 -0
- package/es/components/pisellImport/docs/pisellImport.$tab-design.md +121 -0
- package/es/components/pisellImport/docs/pisellImport.$tab-dev.md +137 -0
- package/es/components/pisellImport/docs/pisellImport.$tab-test.md +69 -0
- package/es/components/pisellImport/docs/pisellImport.md +174 -0
- package/es/components/pisellImport/index.d.ts +2 -0
- package/es/components/pisellImport/types.d.ts +89 -0
- package/es/components/pisellLongText/PisellLongText.js +13 -6
- package/es/components/pisellLongText/PisellLongText.less +0 -67
- package/es/components/pisellLookup/PisellLookup.less +1 -1
- package/es/components/pisellLookup/components/LookupTrigger.js +8 -6
- package/es/components/pisellLookup/docs/pisellLookup.md +1 -1
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.js +7 -5
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +18 -139
- package/es/components/pisellMultipleSelect/components/EditView.js +1 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +4 -0
- package/es/components/pisellNumber/PisellNumber.js +13 -6
- package/es/components/pisellNumber/PisellNumber.less +0 -103
- package/es/components/pisellPhone/PisellPhone.js +13 -6
- package/es/components/pisellPhone/PisellPhone.less +0 -119
- package/es/components/pisellPhone/components/EditView.js +37 -19
- package/es/components/pisellPhone/constants/countryCodes.js +26 -25
- package/es/components/pisellPhone/types.d.ts +2 -2
- package/es/components/pisellPhone/utils/countryCodeHelper.js +2 -2
- package/es/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.md +1 -1
- package/es/components/pisellRating/PisellRating.js +5 -3
- package/es/components/pisellRecordBoard/PisellRecordBoard.js +10 -26
- package/es/components/pisellRecordBoard/README.md +0 -12
- package/es/components/pisellRecordBoard/docs/PisellRecordBoard.md +70 -716
- package/es/components/pisellRecordBoard/docs/ShellFrame.md +44 -62
- package/es/components/pisellRecordBoard/index.d.ts +1 -7
- package/es/components/pisellRecordBoard/index.js +0 -4
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +9 -147
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.less +0 -31
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +3811 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -5
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +8 -10
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +1 -2
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +1 -7
- package/es/components/pisellRecordBoard/shellFrame/Search/index.js +1 -1
- package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +1 -5
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +65 -143
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +13 -181
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +2 -10
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +2 -9
- package/es/components/pisellRecordBoard/shellFrame/index.js +19 -73
- package/es/components/pisellRecordBoard/types.d.ts +8 -374
- package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +0 -16
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.js +15 -67
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.less +0 -23
- package/es/components/pisellReservationSchedule/locales.js +3 -21
- package/es/components/pisellReservationSchedule/types.d.ts +0 -5
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +2 -2
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +4 -37
- package/es/components/pisellReservationScheduleBand/types.d.ts +0 -4
- package/es/components/pisellShellFrame/PisellShellFrame.js +2 -2
- package/es/components/pisellShellFrame/PisellShellFrame.less +2 -18
- package/es/components/pisellShellFrame/types.d.ts +0 -6
- package/es/components/pisellSingleLineText/PisellSingleLineText.js +21 -14
- package/es/components/pisellSingleLineText/PisellSingleLineText.less +0 -143
- package/es/components/pisellSingleLineText/docs/pisellSingleLineText.md +256 -256
- package/es/components/pisellSingleSelect/PisellSingleSelect.js +7 -4
- package/es/components/pisellSingleSelect/PisellSingleSelect.less +5 -106
- package/es/components/pisellSingleSelect/docs/pisellSingleSelect.md +525 -428
- package/es/components/pisellSort/docs/PisellSort.md +67 -131
- package/es/components/pisellStatisticList/index.js +1 -0
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +37 -151
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +13 -126
- package/es/components/pisellTimeNavigator/components/CursorLayer.js +2 -2
- package/es/components/pisellTimeNavigator/components/GestureLayer.js +3 -12
- package/es/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-dev.md +42 -26
- package/es/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-test.md +5 -5
- package/es/components/pisellTimeNavigator/index.d.ts +1 -1
- package/es/components/pisellTimeNavigator/utils/index.d.ts +3 -9
- package/es/components/pisellTimeNavigator/utils/index.js +6 -15
- package/es/components/pisellTimeRangeDisplay/docs/pisellTimeRangeDisplay.md +227 -226
- package/es/components/pisellUrl/PisellUrl.js +13 -6
- package/es/components/pisellWalletPassCard/index.js +11 -5
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -65
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -80
- package/es/components/productCard/cartSkuCard/components/holders/index.js +1 -1
- package/es/components/productCard/cartSkuCard/components/packages/index.js +9 -24
- package/es/components/productCard/cartSkuCard/components/specs/index.js +7 -22
- package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -11
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
- package/es/components/productCard/cartSkuCard/index.js +8 -68
- package/es/components/productCard/cartSkuCard/locales.js +5 -40
- package/es/components/productCard/components/Header/Actions/index.less +15 -0
- package/es/components/productCard/components/Header/DeleteButton/index.js +2 -2
- package/es/components/productCard/components/Header/DeleteButton/index.less +2 -1
- package/es/components/productCard/components/Header/EditButton/index.js +1 -2
- package/es/components/productCard/components/Header/index.less +1 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.js +3 -2
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.js +2 -2
- package/es/components/productCard/components/Time/components/SelectResource/index.js +6 -3
- package/es/components/productCard/components/Time/index.js +3 -2
- package/es/components/productCard/status.js +0 -3
- package/es/components/productCard/types.d.ts +0 -10
- package/es/components/productCard/utils.js +1 -1
- package/es/components/select-time/index.js +0 -1
- package/es/components/table/Actions/component/ExportImport/index.js +3 -4
- package/es/components/table/Actions/component/GallerySetting/index.js +10 -9
- package/es/components/table/Actions/component/ViewMode/index.js +4 -3
- package/es/components/table/Actions/index.js +1 -1
- package/es/components/table/BasicTable/index.js +4 -3
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.less +1 -1
- package/es/components/table/Gallery/components/GalleryItem/index.js +12 -4
- package/es/components/table/Gallery/components/GalleryItem/index.less +1 -0
- package/es/components/table/Gallery/index.js +11 -3
- package/es/components/table/Table/fields/text/Show/index.js +1 -1
- package/es/components/table/Table/index.js +2 -1
- package/es/components/table/Table/tableConfig/header/index.js +1 -1
- package/es/components/table/Table/utils.js +5 -1
- package/es/components/table/hooks/useTableSetting.js +3 -0
- package/es/components/table/hooks/useTransDataSource.js +4 -3
- package/es/components/table/index.js +1 -1
- package/es/components/tabs/index.less +1 -1
- package/es/components/translation/index.d.ts +1 -0
- package/es/components/translation/index.js +36 -10
- package/es/components/translation/index.less +12 -0
- package/es/components/versionModal/index.d.ts +1 -0
- package/es/components/versionModal/index.js +2 -2
- package/es/components/versionSelect/index.js +1 -1
- package/es/components/virtual-keyboard/Amount/index.js +2 -1
- package/es/components/virtual-keyboard/Amount/types.d.ts +1 -0
- package/es/index.d.ts +105 -94
- package/es/index.js +92 -90
- package/es/locales/en-US.js +69 -191
- package/es/locales/ja.js +12 -192
- package/es/locales/pt.js +12 -192
- package/es/locales/zh-CN.js +63 -185
- package/es/locales/zh-TW.js +68 -190
- package/es/pisell-materials.tw.css +1 -2414
- package/es/tailwind-input.css +1 -3
- package/es/theme/pisell-components.js +76 -0
- package/lib/components/Pagination/index.js +8 -42
- package/lib/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-dev.md +5 -2
- package/lib/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-test.md +169 -171
- package/lib/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.md +87 -27
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +18 -7
- package/lib/components/PisellCards/components/TextCard/TextCard.js +2 -3
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.js +20 -6
- package/lib/components/PisellCards/components/TextCard/components/TextContent.js +3 -1
- package/lib/components/PisellCards/components/TextCard/docs/TextCard.$tab-dev.md +36 -5
- package/lib/components/PisellCards/components/TextCard/docs/TextCard.$tab-test.md +2434 -258
- package/lib/components/PisellCards/components/TextCard/docs/TextCard.md +78 -13
- package/lib/components/PisellCards/index.d.ts +3 -0
- package/lib/components/PisellCards/index.js +3 -1
- package/lib/components/PisellContactBrief/PisellContactBrief.d.ts +34 -0
- package/lib/components/PisellContactBrief/PisellContactBrief.js +158 -0
- package/lib/components/PisellContactBrief/PisellContactBrief.less +192 -0
- package/lib/components/PisellContactBrief/components/ContactFormModal.js +139 -0
- package/lib/components/PisellContactBrief/docs/PisellContactBrief.$tab-design.md +109 -0
- package/lib/components/PisellContactBrief/docs/PisellContactBrief.$tab-dev.md +106 -0
- package/lib/components/PisellContactBrief/docs/PisellContactBrief.$tab-test.md +125 -0
- package/lib/components/PisellContactBrief/docs/PisellContactBrief.md +129 -0
- package/lib/components/PisellContactBrief/index.d.ts +2 -0
- package/lib/components/PisellContactBrief/locales.js +57 -0
- package/lib/components/PisellContactBrief/types.d.ts +86 -0
- package/lib/components/PisellLayouts/index.d.ts +1 -1
- package/lib/components/PisellProcedure/components/ProcedureHeader.js +1 -1
- package/lib/components/PisellTabbar/PisellTabbar.js +6 -6
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +6 -6
- package/lib/components/Template/[ComponentName].less +1 -0
- package/lib/components/Template/docs/[ComponentName].$tab-design.md +7 -0
- package/lib/components/Template/docs/[ComponentName].$tab-dev.md +1137 -0
- package/lib/components/Template/docs/[ComponentName].$tab-test.md +7 -0
- package/lib/components/Template/docs/[ComponentName].md +510 -0
- package/lib/components/appVersionControl/index.js +12 -11
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -6
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/index.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +3 -3
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +3 -3
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +3 -2
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +1 -1
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.js +4 -0
- package/lib/components/dataSourceComponents/fields/IconSelect/WithMode.js +1 -1
- package/lib/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +4 -1
- package/lib/components/dataSourceComponents/fields/Radio/WithMode.js +1 -1
- package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +4 -4
- package/lib/components/dataSourceComponents/hooks/useActions.js +1 -1
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +1 -1
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.js +0 -1
- package/lib/components/drawer/index.js +7 -6
- package/lib/components/filter/components/FilterItem/index.js +1 -3
- package/lib/components/filter/components/QuickFilter/index.js +2 -3
- package/lib/components/hardwareErrorTip/errorCard/index.d.ts +25 -0
- package/lib/components/hardwareErrorTip/errorCard/index.js +71 -0
- package/lib/components/hardwareErrorTip/errorCard/index.less +137 -0
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +10 -0
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.js +34 -0
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.less +34 -0
- package/lib/components/hardwareErrorTip/index.d.ts +20 -0
- package/lib/components/hardwareErrorTip/index.js +153 -0
- package/lib/components/hardwareErrorTip/index.less +95 -0
- package/lib/components/hardwareErrorTip/logCard/index.d.ts +25 -0
- package/lib/components/hardwareErrorTip/logCard/index.js +75 -0
- package/lib/components/hardwareErrorTip/logCard/index.less +121 -0
- package/lib/components/hardwareErrorTip/readme.md +309 -0
- package/lib/components/hardwareErrorTip/types.js +57 -0
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/login-and-register/index.js +4 -5
- package/lib/components/page/index.js +1 -1
- package/lib/components/pisellActionPanel/PisellActionPanel.d.ts +24 -0
- package/lib/components/pisellActionPanel/PisellActionPanel.js +71 -0
- package/lib/components/pisellActionPanel/PisellActionPanel.less +69 -0
- package/lib/components/pisellActionPanel/docs/pisellActionPanel.$tab-design.md +148 -0
- package/lib/components/pisellActionPanel/docs/pisellActionPanel.$tab-dev.md +53 -0
- package/lib/components/pisellActionPanel/docs/pisellActionPanel.$tab-test.md +64 -0
- package/lib/components/pisellActionPanel/docs/pisellActionPanel.md +160 -0
- package/lib/components/pisellActionPanel/index.d.ts +2 -0
- package/lib/components/pisellActionPanel/types.d.ts +87 -0
- package/lib/components/pisellAppCard/PisellAppCard.js +7 -7
- package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +20 -0
- package/lib/components/pisellBaseCard/PisellBaseCard.js +76 -0
- package/lib/components/pisellBaseCard/PisellBaseCard.less +25 -0
- package/lib/components/pisellBaseCard/docs/pisellBaseCard.$tab-design.md +144 -0
- package/lib/components/pisellBaseCard/docs/pisellBaseCard.$tab-dev.md +92 -0
- package/lib/components/pisellBaseCard/docs/pisellBaseCard.$tab-test.md +86 -0
- package/lib/components/pisellBaseCard/docs/pisellBaseCard.md +165 -0
- package/lib/components/pisellBaseCard/index.d.ts +2 -0
- package/lib/components/pisellBaseCard/types.d.ts +49 -0
- package/lib/components/pisellCardList/index.js +6 -6
- package/lib/components/pisellCurrency/PisellCurrency.js +13 -6
- package/lib/components/pisellCurrency/PisellCurrency.less +0 -123
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +57 -0
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.js +94 -0
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.less +8 -0
- package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-design.md +115 -0
- package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-dev.md +73 -0
- package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-test.md +66 -0
- package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.md +132 -0
- package/lib/components/pisellCustomerBrief/index.d.ts +2 -0
- package/lib/components/pisellCustomerBrief/types.d.ts +86 -0
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.js +3 -9
- package/lib/components/pisellDataSourceContainer/docs/PisellDataSourceContainer.md +189 -240
- package/lib/components/pisellDataSourceContainer/type.d.ts +1 -1
- package/lib/components/pisellDateTimeDisplay/docs/pisellDateTimeDisplay.md +556 -556
- package/lib/components/pisellEmail/PisellEmail.js +13 -6
- package/lib/components/pisellEmail/PisellEmail.less +0 -92
- package/lib/components/pisellEmpty/index.d.ts +1 -1
- package/lib/components/pisellEntityCard/PisellEntityCard.d.ts +47 -0
- package/lib/components/pisellEntityCard/PisellEntityCard.js +318 -0
- package/lib/components/pisellEntityCard/PisellEntityCard.less +362 -0
- package/lib/components/pisellEntityCard/docs/pisellEntityCard.$tab-design.md +209 -0
- package/lib/components/pisellEntityCard/docs/pisellEntityCard.$tab-dev.md +82 -0
- package/lib/components/pisellEntityCard/docs/pisellEntityCard.$tab-test.md +122 -0
- package/lib/components/pisellEntityCard/docs/pisellEntityCard.md +176 -0
- package/lib/components/pisellEntityCard/index.d.ts +2 -0
- package/lib/components/pisellEntityCard/types.d.ts +148 -0
- package/lib/components/pisellExport/PisellExport.d.ts +11 -0
- package/lib/components/pisellExport/PisellExport.js +47 -0
- package/lib/components/pisellExport/PisellExport.less +141 -0
- package/lib/components/pisellExport/docs/pisellExport.$tab-design.md +116 -0
- package/lib/components/pisellExport/docs/pisellExport.$tab-dev.md +132 -0
- package/lib/components/pisellExport/docs/pisellExport.$tab-test.md +61 -0
- package/lib/components/pisellExport/docs/pisellExport.md +162 -0
- package/lib/components/pisellExport/index.d.ts +2 -0
- package/lib/components/pisellExport/types.d.ts +67 -0
- package/lib/components/pisellFilter/docs/PisellFilter.md +2 -2
- package/lib/components/pisellFind/docs/pisellFind.md +2 -2
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +1 -2
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +51 -230
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +0 -22
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +2 -3
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +74 -209
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +4 -39
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +11 -130
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +1 -9
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +2 -23
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +4 -97
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +9 -29
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.less +2 -19
- package/lib/components/pisellFloorMapLayout/components/ViewControls.js +64 -118
- package/lib/components/pisellFloorMapLayout/components/ViewControls.less +44 -208
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +0 -4
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +1 -3
- package/lib/components/pisellFloorMapLayout/docs/pisellFloorMapLayout.md +194 -559
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +16 -82
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +36 -369
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -1
- package/lib/components/pisellFloorMapLayout/locales-ja.js +1 -21
- package/lib/components/pisellFloorMapLayout/locales-pt.js +1 -21
- package/lib/components/pisellFloorMapLayout/locales.js +3 -63
- package/lib/components/pisellFloorMapLayout/types.d.ts +9 -70
- package/lib/components/pisellGoodPassCard/index.less +0 -1
- package/lib/components/pisellGridPro/GridView/docs/GridView.md +48 -47
- package/lib/components/pisellGridPro/ToolBar/docs/ToolBar.$tab-dev.md +2 -4
- package/lib/components/pisellGridPro/ToolBar/docs/ToolBar.md +81 -95
- package/lib/components/pisellGridPro/ToolBar/index.less +4 -5
- package/lib/components/pisellGridPro/docs/PisellGridPro.md +262 -173
- package/lib/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-dev.md +6 -3
- package/lib/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-test.md +4 -3
- package/lib/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.md +2 -1
- package/lib/components/pisellImport/PisellImport.d.ts +11 -0
- package/lib/components/pisellImport/PisellImport.js +84 -0
- package/lib/components/pisellImport/PisellImport.less +141 -0
- package/lib/components/pisellImport/docs/pisellImport.$tab-design.md +121 -0
- package/lib/components/pisellImport/docs/pisellImport.$tab-dev.md +137 -0
- package/lib/components/pisellImport/docs/pisellImport.$tab-test.md +69 -0
- package/lib/components/pisellImport/docs/pisellImport.md +174 -0
- package/lib/components/pisellImport/index.d.ts +2 -0
- package/lib/components/pisellImport/types.d.ts +89 -0
- package/lib/components/pisellLongText/PisellLongText.js +13 -6
- package/lib/components/pisellLongText/PisellLongText.less +0 -67
- package/lib/components/pisellLookup/PisellLookup.less +1 -1
- package/lib/components/pisellLookup/components/LookupTrigger.js +8 -6
- package/lib/components/pisellLookup/docs/pisellLookup.md +1 -1
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.js +6 -4
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +18 -139
- package/lib/components/pisellMultipleSelect/components/EditView.js +1 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +4 -0
- package/lib/components/pisellNumber/PisellNumber.js +13 -6
- package/lib/components/pisellNumber/PisellNumber.less +0 -103
- package/lib/components/pisellPhone/PisellPhone.js +13 -6
- package/lib/components/pisellPhone/PisellPhone.less +0 -119
- package/lib/components/pisellPhone/components/EditView.js +37 -19
- package/lib/components/pisellPhone/constants/countryCodes.js +26 -25
- package/lib/components/pisellPhone/types.d.ts +2 -2
- package/lib/components/pisellPhone/utils/countryCodeHelper.js +2 -2
- package/lib/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.md +1 -1
- package/lib/components/pisellRating/PisellRating.js +4 -2
- package/lib/components/pisellRecordBoard/PisellRecordBoard.js +10 -26
- package/lib/components/pisellRecordBoard/README.md +0 -12
- package/lib/components/pisellRecordBoard/docs/PisellRecordBoard.md +70 -716
- package/lib/components/pisellRecordBoard/docs/ShellFrame.md +44 -62
- package/lib/components/pisellRecordBoard/index.d.ts +1 -7
- package/lib/components/pisellRecordBoard/index.js +0 -4
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +8 -146
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.less +0 -31
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +3813 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -5
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +8 -11
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +1 -2
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +1 -7
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.js +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +1 -5
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +78 -156
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +13 -181
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +2 -10
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +2 -9
- package/lib/components/pisellRecordBoard/shellFrame/index.js +19 -73
- package/lib/components/pisellRecordBoard/types.d.ts +8 -374
- package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +0 -16
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.js +15 -67
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.less +0 -23
- package/lib/components/pisellReservationSchedule/locales.js +3 -21
- package/lib/components/pisellReservationSchedule/types.d.ts +0 -5
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +2 -2
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +4 -37
- package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -4
- package/lib/components/pisellShellFrame/PisellShellFrame.js +2 -2
- package/lib/components/pisellShellFrame/PisellShellFrame.less +2 -18
- package/lib/components/pisellShellFrame/types.d.ts +0 -6
- package/lib/components/pisellSingleLineText/PisellSingleLineText.js +21 -14
- package/lib/components/pisellSingleLineText/PisellSingleLineText.less +0 -143
- package/lib/components/pisellSingleLineText/docs/pisellSingleLineText.md +256 -256
- package/lib/components/pisellSingleSelect/PisellSingleSelect.js +7 -4
- package/lib/components/pisellSingleSelect/PisellSingleSelect.less +5 -106
- package/lib/components/pisellSingleSelect/docs/pisellSingleSelect.md +525 -428
- package/lib/components/pisellSort/docs/PisellSort.md +67 -131
- package/lib/components/pisellStatisticList/index.js +1 -0
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +38 -152
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +13 -126
- package/lib/components/pisellTimeNavigator/components/CursorLayer.js +2 -2
- package/lib/components/pisellTimeNavigator/components/GestureLayer.js +3 -12
- package/lib/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-dev.md +42 -26
- package/lib/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-test.md +5 -5
- package/lib/components/pisellTimeNavigator/index.d.ts +1 -1
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +3 -9
- package/lib/components/pisellTimeNavigator/utils/index.js +5 -16
- package/lib/components/pisellTimeRangeDisplay/docs/pisellTimeRangeDisplay.md +227 -226
- package/lib/components/pisellUrl/PisellUrl.js +13 -6
- package/lib/components/pisellWalletPassCard/index.js +11 -5
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +8 -69
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -80
- package/lib/components/productCard/cartSkuCard/components/holders/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/packages/index.js +11 -26
- package/lib/components/productCard/cartSkuCard/components/specs/index.js +8 -23
- package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -11
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
- package/lib/components/productCard/cartSkuCard/index.js +8 -68
- package/lib/components/productCard/cartSkuCard/locales.js +5 -40
- package/lib/components/productCard/components/Header/Actions/index.less +15 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.js +2 -2
- package/lib/components/productCard/components/Header/DeleteButton/index.less +2 -1
- package/lib/components/productCard/components/Header/EditButton/index.js +1 -2
- package/lib/components/productCard/components/Header/index.less +1 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.js +3 -2
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +5 -5
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.js +2 -2
- package/lib/components/productCard/components/Time/components/SelectResource/index.js +6 -3
- package/lib/components/productCard/components/Time/index.js +3 -2
- package/lib/components/productCard/status.js +0 -3
- package/lib/components/productCard/types.d.ts +0 -10
- package/lib/components/productCard/utils.js +1 -1
- package/lib/components/select-time/index.js +0 -1
- package/lib/components/table/Actions/component/ExportImport/index.js +3 -4
- package/lib/components/table/Actions/component/GallerySetting/index.js +12 -11
- package/lib/components/table/Actions/component/ViewMode/index.js +6 -5
- package/lib/components/table/Actions/index.js +1 -1
- package/lib/components/table/BasicTable/index.js +4 -3
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.less +1 -1
- package/lib/components/table/Gallery/components/GalleryItem/index.js +17 -9
- package/lib/components/table/Gallery/components/GalleryItem/index.less +1 -0
- package/lib/components/table/Gallery/index.js +11 -3
- package/lib/components/table/Table/fields/text/Show/index.js +1 -1
- package/lib/components/table/Table/index.js +2 -1
- package/lib/components/table/Table/tableConfig/header/index.js +2 -2
- package/lib/components/table/Table/utils.js +5 -1
- package/lib/components/table/hooks/useTableSetting.js +3 -0
- package/lib/components/table/hooks/useTransDataSource.js +4 -3
- package/lib/components/table/index.js +1 -1
- package/lib/components/tabs/index.less +1 -1
- package/lib/components/translation/index.d.ts +1 -0
- package/lib/components/translation/index.js +35 -9
- package/lib/components/translation/index.less +12 -0
- package/lib/components/versionModal/index.d.ts +1 -0
- package/lib/components/versionModal/index.js +2 -2
- package/lib/components/versionSelect/index.js +4 -4
- package/lib/components/virtual-keyboard/Amount/index.js +5 -4
- package/lib/components/virtual-keyboard/Amount/types.d.ts +1 -0
- package/lib/index.d.ts +105 -94
- package/lib/index.js +298 -299
- package/lib/locales/en-US.js +69 -191
- package/lib/locales/ja.js +12 -192
- package/lib/locales/pt.js +12 -192
- package/lib/locales/zh-CN.js +63 -185
- package/lib/locales/zh-TW.js +68 -190
- package/lib/pisell-materials.tw.css +1 -2414
- package/lib/tailwind-input.css +1 -3
- package/lib/theme/pisell-components.js +76 -0
- package/lowcode/pisell-time-navigator/meta.ts +10 -0
- package/package.json +3 -2
- package/es/components/SafeAreaTop/index.d.ts +0 -6
- package/es/components/SafeAreaTop/index.js +0 -112
- package/es/components/SafeAreaTop/index.less +0 -11
- package/es/components/SafeAreaTop/types.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -4
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +0 -22
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.js +0 -64
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.js +0 -7
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +0 -47
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +0 -95
- package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -52
- package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +0 -61
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +0 -758
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +0 -313
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +0 -191
- package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +0 -22
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +0 -39
- package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.js +0 -74
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.js +0 -61
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.js +0 -26
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +0 -79
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +0 -48
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +0 -37
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +0 -20
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +0 -532
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.js +0 -17
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +0 -31
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +0 -583
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.js +0 -41
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +0 -111
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.js +0 -612
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +0 -162
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.js +0 -33
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.js +0 -37
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.js +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.js +0 -33
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.js +0 -29
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +0 -43
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +0 -436
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -11
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.js +0 -9
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +0 -179
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +0 -62
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +0 -57
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +0 -45
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +0 -91
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +0 -218
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +0 -339
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallMarquee.less +0 -52
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +0 -153
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -32
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +0 -170
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +0 -11
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +0 -56
- package/es/components/pisellRecordBoard/types.js +0 -12
- package/es/components/pisellTimeNavigator/timeNavigatorConstants.js +0 -7
- package/es/components/productCard/cartSkuCard/components/Gift/index.js +0 -34
- package/es/components/productCard/cartSkuCard/components/Gift/index.less +0 -84
- package/es/components/productCard/cartSkuCard/components/Promotion/index.js +0 -23
- package/es/components/productCard/cartSkuCard/components/Promotion/index.less +0 -16
- package/es/components/productCard/cartSkuCard/components/weighing/index.js +0 -27
- package/es/components/productCard/cartSkuCard/components/weighing/index.less +0 -25
- package/lib/components/SafeAreaTop/index.d.ts +0 -6
- package/lib/components/SafeAreaTop/index.js +0 -115
- package/lib/components/SafeAreaTop/index.less +0 -11
- package/lib/components/SafeAreaTop/types.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -4
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +0 -22
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.js +0 -67
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.js +0 -7
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +0 -52
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +0 -96
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -52
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +0 -64
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +0 -760
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +0 -313
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +0 -197
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +0 -23
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +0 -44
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.js +0 -75
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.js +0 -63
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.js +0 -28
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +0 -81
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +0 -50
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +0 -39
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +0 -21
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +0 -562
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.js +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +0 -33
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +0 -585
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.js +0 -43
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +0 -113
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.js +0 -614
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +0 -164
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.js +0 -34
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.js +0 -38
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.js +0 -19
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.js +0 -34
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.js +0 -30
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +0 -45
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +0 -439
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -11
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.js +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +0 -181
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +0 -64
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +0 -57
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +0 -45
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +0 -93
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +0 -220
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +0 -339
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallMarquee.less +0 -52
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +0 -153
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -32
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +0 -181
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +0 -63
- package/lib/components/pisellRecordBoard/types.js +0 -12
- package/lib/components/pisellTimeNavigator/timeNavigatorConstants.js +0 -7
- package/lib/components/productCard/cartSkuCard/components/Gift/index.js +0 -36
- package/lib/components/productCard/cartSkuCard/components/Gift/index.less +0 -84
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.js +0 -25
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.less +0 -16
- package/lib/components/productCard/cartSkuCard/components/weighing/index.js +0 -29
- package/lib/components/productCard/cartSkuCard/components/weighing/index.less +0 -25
- /package/es/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.$tab-design.md +0 -0
- /package/es/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.$tab-dev.md +0 -0
- /package/es/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.$tab-test.md +0 -0
- /package/lib/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.$tab-design.md +0 -0
- /package/lib/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.$tab-dev.md +0 -0
- /package/lib/components/pisellQuickFilter/{docs → doc}/PisellQuickFilter.$tab-test.md +0 -0
|
@@ -16,14 +16,6 @@ var locales_default = {
|
|
|
16
16
|
"pisell-floor-map-layout.edit-top-bar.unsaved": "Unsaved",
|
|
17
17
|
"pisell-floor-map-layout.edit-top-bar.save": "Save",
|
|
18
18
|
"pisell-floor-map-layout.edit-top-bar.saving": "Saving…",
|
|
19
|
-
"pisell-floor-map-layout.edit-top-bar.undo": "Undo",
|
|
20
|
-
"pisell-floor-map-layout.edit-top-bar.redo": "Redo",
|
|
21
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-edit": "Cancel",
|
|
22
|
-
"pisell-floor-map-layout.edit-top-bar.finish-edit": "Done",
|
|
23
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "Unsaved changes",
|
|
24
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "If you leave this page, any unsaved changes will be lost.",
|
|
25
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "OK",
|
|
26
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "Cancel",
|
|
27
19
|
"pisell-floor-map-layout.canvas-tabs.empty": "No canvas",
|
|
28
20
|
"pisell-floor-map-layout.canvas-tabs.add": "+ Add floor",
|
|
29
21
|
"pisell-floor-map-layout.canvas-tabs.add-title": "Add floor",
|
|
@@ -53,8 +45,6 @@ var locales_default = {
|
|
|
53
45
|
"pisell-floor-map-layout.edit-panel.label-name-stage": "Display name (on canvas)",
|
|
54
46
|
"pisell-floor-map-layout.edit-panel.ph-name-stage": "e.g. stage, DJ booth, dance floor",
|
|
55
47
|
"pisell-floor-map-layout.edit-panel.ph-name": "Element name",
|
|
56
|
-
"pisell-floor-map-layout.edit-panel.label-name-as-title": "Use this name as the resource title",
|
|
57
|
-
"pisell-floor-map-layout.edit-panel.tip-name-as-title": "When enabled, this name overrides the bound record title in cards on the canvas.",
|
|
58
48
|
"pisell-floor-map-layout.edit-panel.label-image-url": "Image URL",
|
|
59
49
|
"pisell-floor-map-layout.edit-panel.extra-image-url": "Use a network image URL; lower layer to place under tables.",
|
|
60
50
|
"pisell-floor-map-layout.edit-panel.ph-https": "https://...",
|
|
@@ -95,8 +85,6 @@ var locales_default = {
|
|
|
95
85
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "Layout changed — click Save to persist.",
|
|
96
86
|
"pisell-floor-map-layout.toolbar.save": "Save",
|
|
97
87
|
"pisell-floor-map-layout.toolbar.saving": "Saving…",
|
|
98
|
-
"pisell-floor-map-layout.toolbar.collapse": "Collapse panel",
|
|
99
|
-
"pisell-floor-map-layout.toolbar.expand": "Expand panel",
|
|
100
88
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "Zoom out",
|
|
101
89
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "Zoom in",
|
|
102
90
|
"pisell-floor-map-layout.view-controls.reset-aria": "Reset view",
|
|
@@ -107,8 +95,6 @@ var locales_default = {
|
|
|
107
95
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "Exit fullscreen",
|
|
108
96
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "Show more view tools",
|
|
109
97
|
"pisell-floor-map-layout.view-controls.collapse-tools-aria": "Hide extra view tools",
|
|
110
|
-
"pisell-floor-map-layout.view-controls.viewport-lock-aria": "Lock viewport (disable pan and zoom)",
|
|
111
|
-
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "Unlock viewport",
|
|
112
98
|
"pisell-floor-map-layout.image-element.default-name": "Image",
|
|
113
99
|
"pisell-floor-map-layout.placement.fallback-image-name": "Background",
|
|
114
100
|
"pisell-floor-map-layout.image-element.hint-no-url": "Enter the image URL in the sidebar; lower the layer to place under tables.",
|
|
@@ -126,13 +112,7 @@ var locales_default = {
|
|
|
126
112
|
"pisell-floor-map-layout.figma-card.kind-square-table": "Table",
|
|
127
113
|
"pisell-floor-map-layout.figma-card.default-table": "Table",
|
|
128
114
|
"pisell-floor-map-layout.figma-card.capacity-seats": "Seats {n}",
|
|
129
|
-
"pisell-floor-map-layout.figma-card.guests-count": "{n} guests"
|
|
130
|
-
"pisell-floor-map-layout.figma-card.status-available": "Available",
|
|
131
|
-
"pisell-floor-map-layout.figma-card.status-reserved": "Reserved",
|
|
132
|
-
"pisell-floor-map-layout.figma-card.status-waiting": "Waiting",
|
|
133
|
-
"pisell-floor-map-layout.figma-card.status-dining": "Dining",
|
|
134
|
-
"pisell-floor-map-layout.figma-card.status-billed": "Billed",
|
|
135
|
-
"pisell-floor-map-layout.figma-card.status-availableSoon": "Soon"
|
|
115
|
+
"pisell-floor-map-layout.figma-card.guests-count": "{n} guests"
|
|
136
116
|
},
|
|
137
117
|
"zh-CN": {
|
|
138
118
|
"pisell-floor-map-layout.loading": "加载中…",
|
|
@@ -145,14 +125,6 @@ var locales_default = {
|
|
|
145
125
|
"pisell-floor-map-layout.edit-top-bar.unsaved": "未保存",
|
|
146
126
|
"pisell-floor-map-layout.edit-top-bar.save": "保存",
|
|
147
127
|
"pisell-floor-map-layout.edit-top-bar.saving": "保存中…",
|
|
148
|
-
"pisell-floor-map-layout.edit-top-bar.undo": "撤销",
|
|
149
|
-
"pisell-floor-map-layout.edit-top-bar.redo": "重做",
|
|
150
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-edit": "取消",
|
|
151
|
-
"pisell-floor-map-layout.edit-top-bar.finish-edit": "完成",
|
|
152
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "未保存的更改",
|
|
153
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "如果退出此页面,任何未保存的更改都将丢失。",
|
|
154
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "确定",
|
|
155
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "取消",
|
|
156
128
|
"pisell-floor-map-layout.canvas-tabs.empty": "暂无画布",
|
|
157
129
|
"pisell-floor-map-layout.canvas-tabs.add": "+ 添加楼层",
|
|
158
130
|
"pisell-floor-map-layout.canvas-tabs.add-title": "添加楼层",
|
|
@@ -182,8 +154,6 @@ var locales_default = {
|
|
|
182
154
|
"pisell-floor-map-layout.edit-panel.label-name-stage": "显示名称(画布上)",
|
|
183
155
|
"pisell-floor-map-layout.edit-panel.ph-name-stage": "如:舞台、DJ 台、舞池",
|
|
184
156
|
"pisell-floor-map-layout.edit-panel.ph-name": "图元名称",
|
|
185
|
-
"pisell-floor-map-layout.edit-panel.label-name-as-title": "将此名称作为资源标题",
|
|
186
|
-
"pisell-floor-map-layout.edit-panel.tip-name-as-title": "勾选后画布卡片标题以此名称为准,覆盖绑定的业务字段。",
|
|
187
157
|
"pisell-floor-map-layout.edit-panel.label-image-url": "图片地址(URL)",
|
|
188
158
|
"pisell-floor-map-layout.edit-panel.extra-image-url": "可填网络图片地址;将层级调低可铺在桌位下方作底图。",
|
|
189
159
|
"pisell-floor-map-layout.edit-panel.ph-https": "https://...",
|
|
@@ -224,8 +194,6 @@ var locales_default = {
|
|
|
224
194
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "布局已修改,请点击「保存」持久化。",
|
|
225
195
|
"pisell-floor-map-layout.toolbar.save": "保存",
|
|
226
196
|
"pisell-floor-map-layout.toolbar.saving": "保存中…",
|
|
227
|
-
"pisell-floor-map-layout.toolbar.collapse": "收起面板",
|
|
228
|
-
"pisell-floor-map-layout.toolbar.expand": "展开面板",
|
|
229
197
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "缩小",
|
|
230
198
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "放大",
|
|
231
199
|
"pisell-floor-map-layout.view-controls.reset-aria": "复位",
|
|
@@ -236,8 +204,6 @@ var locales_default = {
|
|
|
236
204
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "退出全屏",
|
|
237
205
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "展开更多操作",
|
|
238
206
|
"pisell-floor-map-layout.view-controls.collapse-tools-aria": "收起更多操作",
|
|
239
|
-
"pisell-floor-map-layout.view-controls.viewport-lock-aria": "锁定视图(禁止拖拽和缩放)",
|
|
240
|
-
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "解锁视图",
|
|
241
207
|
"pisell-floor-map-layout.image-element.default-name": "图片图元",
|
|
242
208
|
"pisell-floor-map-layout.placement.fallback-image-name": "底图",
|
|
243
209
|
"pisell-floor-map-layout.image-element.hint-no-url": "在侧栏填写图片地址;可调层级置于桌位下方作底图",
|
|
@@ -255,13 +221,7 @@ var locales_default = {
|
|
|
255
221
|
"pisell-floor-map-layout.figma-card.kind-square-table": "餐桌",
|
|
256
222
|
"pisell-floor-map-layout.figma-card.default-table": "餐桌",
|
|
257
223
|
"pisell-floor-map-layout.figma-card.capacity-seats": "可坐 {n} 人",
|
|
258
|
-
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人"
|
|
259
|
-
"pisell-floor-map-layout.figma-card.status-available": "空闲",
|
|
260
|
-
"pisell-floor-map-layout.figma-card.status-reserved": "已预订",
|
|
261
|
-
"pisell-floor-map-layout.figma-card.status-waiting": "等待",
|
|
262
|
-
"pisell-floor-map-layout.figma-card.status-dining": "用餐中",
|
|
263
|
-
"pisell-floor-map-layout.figma-card.status-billed": "已结账",
|
|
264
|
-
"pisell-floor-map-layout.figma-card.status-availableSoon": "即将可用"
|
|
224
|
+
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人"
|
|
265
225
|
},
|
|
266
226
|
"zh-HK": {
|
|
267
227
|
"pisell-floor-map-layout.loading": "載入中…",
|
|
@@ -274,14 +234,6 @@ var locales_default = {
|
|
|
274
234
|
"pisell-floor-map-layout.edit-top-bar.unsaved": "未儲存",
|
|
275
235
|
"pisell-floor-map-layout.edit-top-bar.save": "儲存",
|
|
276
236
|
"pisell-floor-map-layout.edit-top-bar.saving": "儲存中…",
|
|
277
|
-
"pisell-floor-map-layout.edit-top-bar.undo": "復原",
|
|
278
|
-
"pisell-floor-map-layout.edit-top-bar.redo": "取消復原",
|
|
279
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-edit": "取消",
|
|
280
|
-
"pisell-floor-map-layout.edit-top-bar.finish-edit": "完成",
|
|
281
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-title": "未儲存的變更",
|
|
282
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-content": "如果退出此頁面,任何未儲存的變更都將遺失。",
|
|
283
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok": "確定",
|
|
284
|
-
"pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel": "取消",
|
|
285
237
|
"pisell-floor-map-layout.canvas-tabs.empty": "暫無畫布",
|
|
286
238
|
"pisell-floor-map-layout.canvas-tabs.add": "+ 添加樓層",
|
|
287
239
|
"pisell-floor-map-layout.canvas-tabs.add-title": "添加樓層",
|
|
@@ -311,8 +263,6 @@ var locales_default = {
|
|
|
311
263
|
"pisell-floor-map-layout.edit-panel.label-name-stage": "顯示名稱(畫布上)",
|
|
312
264
|
"pisell-floor-map-layout.edit-panel.ph-name-stage": "如:舞台、DJ 台、舞池",
|
|
313
265
|
"pisell-floor-map-layout.edit-panel.ph-name": "圖元名稱",
|
|
314
|
-
"pisell-floor-map-layout.edit-panel.label-name-as-title": "將此名稱作為資源標題",
|
|
315
|
-
"pisell-floor-map-layout.edit-panel.tip-name-as-title": "勾選後畫布卡片標題以此名稱為準,覆蓋綁定的業務欄位。",
|
|
316
266
|
"pisell-floor-map-layout.edit-panel.label-image-url": "圖片地址(URL)",
|
|
317
267
|
"pisell-floor-map-layout.edit-panel.extra-image-url": "可填網絡圖片地址;將層級調低可鋪在桌位下方作底圖。",
|
|
318
268
|
"pisell-floor-map-layout.edit-panel.ph-https": "https://...",
|
|
@@ -353,8 +303,6 @@ var locales_default = {
|
|
|
353
303
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "佈局已修改,請點擊「儲存」持久化。",
|
|
354
304
|
"pisell-floor-map-layout.toolbar.save": "儲存",
|
|
355
305
|
"pisell-floor-map-layout.toolbar.saving": "儲存中…",
|
|
356
|
-
"pisell-floor-map-layout.toolbar.collapse": "收起面板",
|
|
357
|
-
"pisell-floor-map-layout.toolbar.expand": "展開面板",
|
|
358
306
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "縮小",
|
|
359
307
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "放大",
|
|
360
308
|
"pisell-floor-map-layout.view-controls.reset-aria": "復位",
|
|
@@ -365,8 +313,6 @@ var locales_default = {
|
|
|
365
313
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "退出全螢幕",
|
|
366
314
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "展開更多操作",
|
|
367
315
|
"pisell-floor-map-layout.view-controls.collapse-tools-aria": "收起更多操作",
|
|
368
|
-
"pisell-floor-map-layout.view-controls.viewport-lock-aria": "鎖定視圖(禁止拖曳和縮放)",
|
|
369
|
-
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "解鎖視圖",
|
|
370
316
|
"pisell-floor-map-layout.image-element.default-name": "圖片圖元",
|
|
371
317
|
"pisell-floor-map-layout.placement.fallback-image-name": "底圖",
|
|
372
318
|
"pisell-floor-map-layout.image-element.hint-no-url": "在側欄填寫圖片地址;可調層級置於桌位下方作底圖",
|
|
@@ -384,13 +330,7 @@ var locales_default = {
|
|
|
384
330
|
"pisell-floor-map-layout.figma-card.kind-square-table": "餐桌",
|
|
385
331
|
"pisell-floor-map-layout.figma-card.default-table": "餐桌",
|
|
386
332
|
"pisell-floor-map-layout.figma-card.capacity-seats": "可坐 {n} 人",
|
|
387
|
-
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人"
|
|
388
|
-
"pisell-floor-map-layout.figma-card.status-available": "空閒",
|
|
389
|
-
"pisell-floor-map-layout.figma-card.status-reserved": "已預訂",
|
|
390
|
-
"pisell-floor-map-layout.figma-card.status-waiting": "等待",
|
|
391
|
-
"pisell-floor-map-layout.figma-card.status-dining": "用餐中",
|
|
392
|
-
"pisell-floor-map-layout.figma-card.status-billed": "已結帳",
|
|
393
|
-
"pisell-floor-map-layout.figma-card.status-availableSoon": "即將可用"
|
|
333
|
+
"pisell-floor-map-layout.figma-card.guests-count": "{n} 人"
|
|
394
334
|
},
|
|
395
335
|
ja: require_locales_ja.default,
|
|
396
336
|
pt: require_locales_pt.default
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { FloorMapAppearanceMode } from "./appearance/floorMapAppearance.js";
|
|
2
1
|
import { CSSProperties, MouseEvent, ReactNode } from "react";
|
|
3
2
|
|
|
4
3
|
//#region src/components/pisellFloorMapLayout/types.d.ts
|
|
@@ -52,10 +51,7 @@ interface FloorMapItemBase {
|
|
|
52
51
|
interface FloorMapLayerConfig {
|
|
53
52
|
/** 背景类型 */
|
|
54
53
|
backgroundType?: FloorMapBackgroundType;
|
|
55
|
-
/**
|
|
56
|
-
* 纯色背景时的显式颜色(backgroundType 为 color 时有效)。
|
|
57
|
-
* 一旦配置,应优先于 `appearanceMode` 提供的画布背景兜底色。
|
|
58
|
-
*/
|
|
54
|
+
/** 纯色背景时的颜色(backgroundType 为 color 时有效) */
|
|
59
55
|
backgroundColor?: string;
|
|
60
56
|
/** 图片背景 URL(backgroundType 为 image 时有效) */
|
|
61
57
|
backgroundImage?: string;
|
|
@@ -120,11 +116,6 @@ interface FloorMapControlsConfig {
|
|
|
120
116
|
* 是否显示网格开关(写入当前画布 draft 的 mapLayer.showGrid),默认 false
|
|
121
117
|
*/
|
|
122
118
|
showGridToggle?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* 是否显示「视口锁定」按钮:锁定后画布的位置 / 缩放不允许通过任何用户交互(拖拽、滚轮、触摸缩放、缩放按钮、适配视口)改变,
|
|
125
|
-
* 防止误触改变视图。默认 false;平面图模式下由 PisellFloorMapLayout 默认置 true(与是否持久化视口到本地无关)。显式传 false 可隐藏。
|
|
126
|
-
*/
|
|
127
|
-
showViewportLock?: boolean;
|
|
128
119
|
/**
|
|
129
120
|
* 悬浮控件条水平位置:`start` 左下(默认),`end` 右下
|
|
130
121
|
*/
|
|
@@ -281,15 +272,6 @@ interface FloorMapElementKindConfig {
|
|
|
281
272
|
defaultImageUrl?: string;
|
|
282
273
|
/** 无绑定或行缺失时的说明向展示 */
|
|
283
274
|
defaultPresentation?: FloorMapElementDefaultPresentation;
|
|
284
|
-
/**
|
|
285
|
-
* 是否允许该 kind 的图元在编辑面板里勾选「将图元名作为资源标题」。
|
|
286
|
-
* 缺省 false:新增 kind 默认不显示该选项,需业务显式开启,向前兼容。
|
|
287
|
-
*
|
|
288
|
-
* 勾选效果(业务展示侧统一通过 {@link resolveSceneElementDisplayTitle} 接入):
|
|
289
|
-
* `el.name` 非空时优先于业务字段(如预约页的 `row.main_field`/`row.code`)作为标题;
|
|
290
|
-
* 未勾选保持现状(业务字段为主,`el.name` 仅作兜底)。
|
|
291
|
-
*/
|
|
292
|
-
nameAsTitleConfigurable?: boolean;
|
|
293
275
|
}
|
|
294
276
|
/**
|
|
295
277
|
* 画布/编辑器层能力:新建图元、布局与画布 Tab 的编辑权限
|
|
@@ -322,11 +304,6 @@ interface FloorMapViewConfig {
|
|
|
322
304
|
/** 阅读态 renderItem 可选第三参数 */
|
|
323
305
|
interface FloorMapRenderOptions {
|
|
324
306
|
textSlotValues?: Record<string, string>;
|
|
325
|
-
/**
|
|
326
|
-
* 平面图画布当前缩放(如 TransformWrapper 的 scale)。
|
|
327
|
-
* 用于房间内卡片等需按「视觉短边」降级密度时与布局像素相乘。
|
|
328
|
-
*/
|
|
329
|
-
viewportScale?: number;
|
|
330
307
|
}
|
|
331
308
|
/** 数据源记录表单列配置(用于编辑面板中的「数据源记录」区块) */
|
|
332
309
|
interface DataSourceFormColumn {
|
|
@@ -385,7 +362,7 @@ type FloorMapFullscreenMode = 'toggle' | 'locked' | 'disabled';
|
|
|
385
362
|
* 平面图 Layout 注入上下文:数据、保存、侧栏表单与状态等(不包含 renderItem/mapLayer 等展示向 props)。
|
|
386
363
|
* 由 `FloorMapLayoutProvider` / RecordBoard `floorMapLayoutContext` 提供,与 `PisellFloorMapLayout` props 按 `??` 合并,props 优先。
|
|
387
364
|
*/
|
|
388
|
-
type FloorMapLayoutContextValue = Partial<Pick<PisellFloorMapLayoutProps<FloorMapItemBase>, 'floorMapConfig' | 'dataSources' | 'onSave' | 'onDataSourceRecordSave' | 'dataSourceLabels' | 'dataSourceFormColumns' | 'dataSourceRecordForm' | 'loading' | 'saveError' | 'onElementRenderError' | 'toolbarShowSave' | 'floorMapFullscreenMode' | '
|
|
365
|
+
type FloorMapLayoutContextValue = Partial<Pick<PisellFloorMapLayoutProps<FloorMapItemBase>, 'floorMapConfig' | 'dataSources' | 'onSave' | 'onDataSourceRecordSave' | 'dataSourceLabels' | 'dataSourceFormColumns' | 'dataSourceRecordForm' | 'loading' | 'saveError' | 'onElementRenderError' | 'toolbarShowSave' | 'floorMapFullscreenMode' | 'showDataSourceRecordFormBlock' | 'viewportDockTrailing'>>;
|
|
389
366
|
/**
|
|
390
367
|
* PisellFloorMapLayout 组件 Props
|
|
391
368
|
* @template T - 资源项类型,需继承 FloorMapItemBase 或兼容 id/x/y
|
|
@@ -457,30 +434,10 @@ interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMapItemBas
|
|
|
457
434
|
* 视图控制按钮显隐
|
|
458
435
|
*/
|
|
459
436
|
controls?: FloorMapControlsConfig;
|
|
460
|
-
/**
|
|
461
|
-
* 视口(画布位置 + 缩放百分比)持久化开关,默认 `true`。
|
|
462
|
-
* 设为 `false` 时完全不读不写 localStorage,始终走 autoFit / 初始对齐行为。
|
|
463
|
-
*
|
|
464
|
-
* 仅在平面图模式(有 `floorMapConfig`)下生效;其它模式没有「画布」概念。
|
|
465
|
-
*/
|
|
466
|
-
viewportPersist?: boolean;
|
|
467
|
-
/**
|
|
468
|
-
* 视口持久化的业务命名空间(建议传入店铺 / floor plan 维度的稳定标识,如 floor plan code)。
|
|
469
|
-
*
|
|
470
|
-
* 存储 key 形如 `pisell-floor-map-layout.viewport:<namespace>:<canvasId>`;
|
|
471
|
-
* 不传时 fallback 为仅用 `<canvasId>`,同一 `canvasId` 在跨业务场景(不同店铺 / 不同平面图)会共享视角,
|
|
472
|
-
* 若 `canvasId` 存在全局冲突(例如业务里使用固定常量作 canvasId),务必传入此字段做隔离。
|
|
473
|
-
*/
|
|
474
|
-
viewportPersistNamespace?: string;
|
|
475
437
|
/**
|
|
476
438
|
* 是否开启 hover 高亮或 hover 事件,默认 true
|
|
477
439
|
*/
|
|
478
440
|
enableHover?: boolean;
|
|
479
|
-
/**
|
|
480
|
-
* 阅读态(`mode === 'read'`):与 {@link rowKey} 解析出的图元 id 相等时,外层容器加选中描边(如详情弹层打开时锚定画布上的桌位)。
|
|
481
|
-
* 传 `null` / `undefined` / 空字符串时不展示选中外圈。
|
|
482
|
-
*/
|
|
483
|
-
readModeSelectedItemId?: string | null;
|
|
484
441
|
/**
|
|
485
442
|
* 资源项点击回调
|
|
486
443
|
*/
|
|
@@ -495,12 +452,6 @@ interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMapItemBas
|
|
|
495
452
|
onItemLeave?: (item: T, index: number, event: MouseEvent<HTMLElement>) => void;
|
|
496
453
|
/** 编辑态全屏按钮与顶栏形态,见 {@link FloorMapFullscreenMode} */
|
|
497
454
|
floorMapFullscreenMode?: FloorMapFullscreenMode;
|
|
498
|
-
/**
|
|
499
|
-
* FloorMap 外观模式;当前仅提供画布背景兜底色。
|
|
500
|
-
* 若当前画布或根级 `mapLayer.backgroundColor` 显式传入颜色,应优先使用显式背景色。
|
|
501
|
-
* @default 'light'
|
|
502
|
-
*/
|
|
503
|
-
appearanceMode?: FloorMapAppearanceMode;
|
|
504
455
|
/**
|
|
505
456
|
* 模式:read 仅展示,edit 可编辑;与 floorMapConfig 同时使用时生效
|
|
506
457
|
*/
|
|
@@ -515,14 +466,6 @@ interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMapItemBas
|
|
|
515
466
|
dataSources?: FloorMapDataSources;
|
|
516
467
|
/** 保存平面图配置,由上层调接口持久化 */
|
|
517
468
|
onSave?: (config: FloorMapViewConfig) => void;
|
|
518
|
-
/**
|
|
519
|
-
* 退出编辑模式回调(不保存)。
|
|
520
|
-
* 传入后编辑态顶栏会展示「取消编辑」+「完成」两个按钮:
|
|
521
|
-
* - 取消编辑 → `onExitEdit()`(业务层负责把 `mode` 切回 `read`)
|
|
522
|
-
* - 完成 → 先 `onSave(config)` 再 `onExitEdit()`
|
|
523
|
-
* 不传则保持旧版「保存」按钮行为(仅保存,不退出)。
|
|
524
|
-
*/
|
|
525
|
-
onExitEdit?: () => void;
|
|
526
469
|
/** 保存单条数据源记录 */
|
|
527
470
|
onDataSourceRecordSave?: (dataSourceKey: string, id: string, newData: Record<string, unknown>) => void;
|
|
528
471
|
/** 数据源展示名,key 为 dataSourceKey */
|
|
@@ -555,10 +498,6 @@ interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMapItemBas
|
|
|
555
498
|
* 传入且阅读态仅单画布时仍会显示顶栏以便放置该插槽;全屏入口在左下 Dock(`viewportDockTrailing` 亦放 Dock,不占顶栏)。
|
|
556
499
|
*/
|
|
557
500
|
canvasTabsBarTrailing?: ReactNode;
|
|
558
|
-
/**
|
|
559
|
-
* 视口左下角 Dock 展开区内、与缩放/网格等工具按钮平级的业务按钮插槽。
|
|
560
|
-
*/
|
|
561
|
-
viewportDockToolButtons?: ReactNode;
|
|
562
501
|
/**
|
|
563
502
|
* 视口左下角 Dock 展开区业务插槽(与缩放/全屏同条),不占用顶栏 Tab 行;平面图模式推荐放「编辑画布」等。
|
|
564
503
|
*/
|
|
@@ -587,19 +526,19 @@ type FloorMapViewportOverlayRenderArgs<T extends FloorMapItemBase = FloorMapItem
|
|
|
587
526
|
mode: 'read' | 'edit';
|
|
588
527
|
};
|
|
589
528
|
/**
|
|
590
|
-
*
|
|
591
|
-
*
|
|
529
|
+
* PisellFloorMapLayout Ref 方法
|
|
530
|
+
* @description 供外部调用缩放、复位、区域定位等
|
|
592
531
|
*/
|
|
593
532
|
interface PisellFloorMapLayoutRef {
|
|
594
|
-
/**
|
|
533
|
+
/** 放大 */
|
|
595
534
|
zoomIn: () => void;
|
|
596
|
-
/**
|
|
535
|
+
/** 缩小 */
|
|
597
536
|
zoomOut: () => void;
|
|
598
|
-
/**
|
|
537
|
+
/** 复位到默认缩放与位置 */
|
|
599
538
|
reset: () => void;
|
|
600
|
-
/**
|
|
539
|
+
/** 区域定位:使所有 items 落在视口内 */
|
|
601
540
|
fitBounds: () => void;
|
|
602
|
-
/**
|
|
541
|
+
/** 提交当前布局草稿(与顶栏/侧栏「保存」一致) */
|
|
603
542
|
saveLayout: () => void;
|
|
604
543
|
}
|
|
605
544
|
//#endregion
|
|
@@ -3,18 +3,21 @@ nav:
|
|
|
3
3
|
title: 组件
|
|
4
4
|
order: 1
|
|
5
5
|
group:
|
|
6
|
-
title:
|
|
6
|
+
title: 基础组件
|
|
7
7
|
order: 1
|
|
8
|
-
title: GridView
|
|
8
|
+
title: GridView (PisellGridView)
|
|
9
9
|
order: 10
|
|
10
10
|
category: pro
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# GridView - 网格视图容器组件
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
GridView(对外导出为 **PisellGridView**)是 PisellGridPro 的视图区域组件,提供带滚动的内容展示区域,通常与 Header、ToolBar、Footer 等配合使用,也可单独使用。
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 何时使用
|
|
18
|
+
|
|
19
|
+
- 需要可滚动的主内容区,且与 PisellGridPro 一起构成标准页面布局
|
|
20
|
+
- 单独需要一块「占满剩余高度并内部滚动」的容器时
|
|
18
21
|
|
|
19
22
|
## 特性
|
|
20
23
|
|
|
@@ -26,36 +29,33 @@ GridView 是 PisellGridPro 的视图区域组件,提供带滚动功能的内
|
|
|
26
29
|
|
|
27
30
|
## 基础用法
|
|
28
31
|
|
|
32
|
+
从 `@pisell/materials` 引入 **PisellGridView** 使用,与 PisellGridPro、PisellToolBar 等组合构成完整页面布局。
|
|
33
|
+
|
|
29
34
|
```tsx
|
|
30
|
-
import
|
|
35
|
+
import React from 'react';
|
|
36
|
+
import { PisellGridView } from '@pisell/materials';
|
|
31
37
|
|
|
32
38
|
export default () => (
|
|
33
|
-
<
|
|
39
|
+
<PisellGridView>
|
|
34
40
|
<div>内容区域 1</div>
|
|
35
41
|
<div>内容区域 2</div>
|
|
36
42
|
<div>内容区域 3</div>
|
|
37
|
-
</
|
|
43
|
+
</PisellGridView>
|
|
38
44
|
);
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
## 与 PisellGridPro 配合使用
|
|
42
48
|
|
|
43
49
|
```tsx
|
|
44
|
-
import
|
|
50
|
+
import React from 'react';
|
|
51
|
+
import { PisellGridPro, PisellToolBar, PisellGridView } from '@pisell/materials';
|
|
45
52
|
|
|
46
53
|
export default () => (
|
|
47
54
|
<PisellGridPro>
|
|
48
|
-
{
|
|
49
|
-
<
|
|
50
|
-
<div>工具栏</div>
|
|
51
|
-
</PisellGridPro.ToolBar>
|
|
52
|
-
|
|
53
|
-
{/* 视图区域 */}
|
|
54
|
-
<GridView>
|
|
55
|
+
<PisellToolBar topLeft={<div>工具栏</div>} />
|
|
56
|
+
<PisellGridView>
|
|
55
57
|
<div>主要内容区域</div>
|
|
56
|
-
</
|
|
57
|
-
|
|
58
|
-
{/* 底部区域 */}
|
|
58
|
+
</PisellGridView>
|
|
59
59
|
<PisellGridPro.Footer>
|
|
60
60
|
<div>底部信息</div>
|
|
61
61
|
</PisellGridPro.Footer>
|
|
@@ -65,23 +65,24 @@ export default () => (
|
|
|
65
65
|
|
|
66
66
|
## API
|
|
67
67
|
|
|
68
|
-
### GridView Props
|
|
68
|
+
### GridView (PisellGridView) Props
|
|
69
69
|
|
|
70
|
-
| 参数 | 说明 | 类型 | 默认值 |
|
|
70
|
+
| 参数 | 说明 | 类型 | 默认值 | 必填 |
|
|
71
71
|
| --------- | ---------- | ----------------- | ------ | ---- |
|
|
72
|
-
| children | 子元素内容 | `React.ReactNode` | - |
|
|
73
|
-
| className | 自定义类名 | `string` | - |
|
|
74
|
-
| style | 自定义样式 | `CSSProperties` | - |
|
|
72
|
+
| children | 子元素内容 | `React.ReactNode` | - | ✅ |
|
|
73
|
+
| className | 自定义类名 | `string` | - | ❌ |
|
|
74
|
+
| style | 自定义样式 | `CSSProperties` | - | ❌ |
|
|
75
75
|
|
|
76
76
|
## 进阶用法
|
|
77
77
|
|
|
78
78
|
### 自定义样式
|
|
79
79
|
|
|
80
80
|
```tsx
|
|
81
|
-
import
|
|
81
|
+
import React from 'react';
|
|
82
|
+
import { PisellGridView } from '@pisell/materials';
|
|
82
83
|
|
|
83
84
|
export default () => (
|
|
84
|
-
<
|
|
85
|
+
<PisellGridView
|
|
85
86
|
className="custom-grid-view"
|
|
86
87
|
style={{
|
|
87
88
|
backgroundColor: '#f5f5f5',
|
|
@@ -89,18 +90,19 @@ export default () => (
|
|
|
89
90
|
}}
|
|
90
91
|
>
|
|
91
92
|
<div>自定义样式的内容区域</div>
|
|
92
|
-
</
|
|
93
|
+
</PisellGridView>
|
|
93
94
|
);
|
|
94
95
|
```
|
|
95
96
|
|
|
96
97
|
### 嵌套布局
|
|
97
98
|
|
|
98
99
|
```tsx
|
|
99
|
-
import
|
|
100
|
+
import React from 'react';
|
|
101
|
+
import { PisellGridView } from '@pisell/materials';
|
|
100
102
|
import { Row, Col } from 'antd';
|
|
101
103
|
|
|
102
104
|
export default () => (
|
|
103
|
-
<
|
|
105
|
+
<PisellGridView>
|
|
104
106
|
<Row gutter={16}>
|
|
105
107
|
<Col span={8}>
|
|
106
108
|
<div>列 1</div>
|
|
@@ -112,14 +114,15 @@ export default () => (
|
|
|
112
114
|
<div>列 3</div>
|
|
113
115
|
</Col>
|
|
114
116
|
</Row>
|
|
115
|
-
</
|
|
117
|
+
</PisellGridView>
|
|
116
118
|
);
|
|
117
119
|
```
|
|
118
120
|
|
|
119
121
|
### 包含数据卡片
|
|
120
122
|
|
|
121
123
|
```tsx
|
|
122
|
-
import
|
|
124
|
+
import React from 'react';
|
|
125
|
+
import { PisellGridView } from '@pisell/materials';
|
|
123
126
|
import { Card } from 'antd';
|
|
124
127
|
|
|
125
128
|
const dataList = [
|
|
@@ -129,35 +132,35 @@ const dataList = [
|
|
|
129
132
|
];
|
|
130
133
|
|
|
131
134
|
export default () => (
|
|
132
|
-
<
|
|
135
|
+
<PisellGridView>
|
|
133
136
|
{dataList.map((item) => (
|
|
134
137
|
<Card key={item.id} title={item.title} style={{ marginBottom: 16 }}>
|
|
135
138
|
{item.content}
|
|
136
139
|
</Card>
|
|
137
140
|
))}
|
|
138
|
-
</
|
|
141
|
+
</PisellGridView>
|
|
139
142
|
);
|
|
140
143
|
```
|
|
141
144
|
|
|
142
145
|
### 完整的 GridPro 布局示例
|
|
143
146
|
|
|
144
147
|
```tsx
|
|
145
|
-
import
|
|
148
|
+
import React from 'react';
|
|
149
|
+
import { PisellGridPro, PisellToolBar, PisellGridView } from '@pisell/materials';
|
|
146
150
|
import { Button, Space } from 'antd';
|
|
147
151
|
|
|
148
152
|
export default () => (
|
|
149
153
|
<PisellGridPro style={{ height: '100vh' }}>
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
<GridView>
|
|
154
|
+
<PisellToolBar
|
|
155
|
+
topLeft={
|
|
156
|
+
<Space>
|
|
157
|
+
<Button type="primary">新建</Button>
|
|
158
|
+
<Button>刷新</Button>
|
|
159
|
+
<Button>导出</Button>
|
|
160
|
+
</Space>
|
|
161
|
+
}
|
|
162
|
+
/>
|
|
163
|
+
<PisellGridView>
|
|
161
164
|
{Array.from({ length: 20 }).map((_, index) => (
|
|
162
165
|
<div
|
|
163
166
|
key={index}
|
|
@@ -171,9 +174,7 @@ export default () => (
|
|
|
171
174
|
内容项 {index + 1}
|
|
172
175
|
</div>
|
|
173
176
|
))}
|
|
174
|
-
</
|
|
175
|
-
|
|
176
|
-
{/* 底部 */}
|
|
177
|
+
</PisellGridView>
|
|
177
178
|
<PisellGridPro.Footer>
|
|
178
179
|
<div style={{ textAlign: 'center' }}>共 20 条数据</div>
|
|
179
180
|
</PisellGridPro.Footer>
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
## title: 开发文档
|
|
4
|
-
|
|
2
|
+
title: 开发文档
|
|
5
3
|
order: 3
|
|
6
4
|
category: sub-component
|
|
5
|
+
---
|
|
7
6
|
|
|
8
7
|
# ToolBar 开发文档
|
|
9
8
|
|
|
@@ -351,4 +350,3 @@ A: 根据 Figma 设计稿,左侧区域使用 8px 间距,右侧区域使用 1
|
|
|
351
350
|
- 支持 tabs、topLeft、topRight、bottomLeft、bottomRight 六个插槽
|
|
352
351
|
- 支持自定义 className 和 style
|
|
353
352
|
- 基于 Figma 设计稿实现
|
|
354
|
-
|